CN117193887B - Sound console distributed control method and device and readable storage medium - Google Patents
Sound console distributed control method and device and readable storage medium Download PDFInfo
- Publication number
- CN117193887B CN117193887B CN202311463601.1A CN202311463601A CN117193887B CN 117193887 B CN117193887 B CN 117193887B CN 202311463601 A CN202311463601 A CN 202311463601A CN 117193887 B CN117193887 B CN 117193887B
- Authority
- CN
- China
- Prior art keywords
- file
- program file
- data
- console
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003860 storage Methods 0.000 title claims abstract description 86
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000004891 communication Methods 0.000 claims abstract description 42
- 230000007246 mechanism Effects 0.000 claims abstract description 33
- 230000002093 peripheral effect Effects 0.000 claims description 38
- 230000006870 function Effects 0.000 claims description 23
- 238000012953 risk communication Methods 0.000 claims description 11
- 230000002159 abnormal effect Effects 0.000 claims description 8
- 230000005856 abnormality Effects 0.000 claims description 5
- 238000004458 analytical method Methods 0.000 claims description 5
- 238000012216 screening Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 208000019300 CLIPPERS Diseases 0.000 description 3
- 208000021930 chronic lymphocytic inflammation with pontine perivascular enhancement responsive to steroids Diseases 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000004075 alteration Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Stored Programmes (AREA)
Abstract
The application discloses a distributed control method and device for a sound console and a readable storage medium, wherein the method comprises the following steps: receiving a start data request when the first MCU module is powered on, and acquiring the power-on condition of the DSP module; acquiring a communication interface state in a preset time of a power-on condition, downloading a BOOT file to a DSP module, analyzing the BOOT file and generating an associated initialization program file, a memory management program file and an external device according to a configuration program file and an application loading program file, when a data execution instruction sent by a first MCU module is received, operating a target operating mechanism execution program and data parameters according to the data execution instruction, driving a tuning console to enter a default working mode, uploading scene data after a system-level computer is started, solving the technical problems of slow starting and poor reliability, and achieving the most basic control when a touch screen computer is dead, thereby ensuring safety, having the advantages of rapidness and high efficiency and solving industry pain points.
Description
Technical Field
The present disclosure relates to the field of electronic communications technologies, and in particular, to a distributed control method and apparatus for a sound console, and a readable storage medium.
Background
At present, the starting data of the sound console are all placed in a system-level control computer, and the complexity causes a plurality of unstable factors, such as low starting speed, low reliability, easy interference in other aspects, too much dependence on an operating system and also suffers from foreign suppliers.
Disclosure of Invention
According to the distributed control method and device for the sound mixing console and the readable storage medium, the starting mode of the DSP module is changed, a single chip microcomputer is used for replacing the operation of a system-level computer, the control force of the system-level computer on the whole key part is weakened, the technical problems of slow starting and poor reliability are solved, the starting time is reduced from original 30s to 3s, and the most basic control can be completed when the touch screen computer is halted, so that the technical effect of safety is guaranteed.
The embodiment of the application provides a distributed control method for a sound mixing console, which comprises the following steps:
receiving a start data request when the first MCU module is powered on, and acquiring the power-on condition of the DSP module;
acquiring a communication interface state in a preset time of a power-on condition, and acquiring a corresponding BOOT file according to the starting data request;
downloading the BOOT file to a DSP module, analyzing the BOOT file and generating an associated data file to be stored, wherein the data file to be stored comprises an initialization program file, a memory management program file, a peripheral configuration program file and an application loading program file;
storing the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file into a readable storage space of a DSP module according to a preset distributed rule;
analyzing each part of the associated initializing program file, memory management program file, peripheral configuration program file and application loading program file, and starting a corresponding target running mechanism;
and when a data execution instruction sent by the first MCU module is received, operating the target operating mechanism execution program and the data parameters according to the data execution instruction, driving the sound console to enter a default working mode, and uploading scene data after the system-level computer is started.
Optionally, the step of obtaining the communication interface state within the preset time for obtaining the power-on condition includes:
counting whether the communication interface is in a normal state or not, and taking the communication interface in an abnormal state as a risk communication point;
outputting communication abnormality prompt information related to the risk communication points to a control interface of the system level computer;
and when the states of the communication interfaces are normal, acquiring the corresponding BOOT file according to the starting data request.
Optionally, the step of downloading the BOOT file to a DSP module, parsing the BOOT file and generating an associated data file to be stored includes:
converting the BOOT file into different function codes to obtain a function executable program file;
and encapsulating the function executable program file according to a program association structure to obtain the data file to be stored.
Optionally, the step of storing the associated initialization program file, the memory management program file, the peripheral configuration program file and the application loader file in the readable storage space of the DSP module according to a preset distributed rule includes:
dividing the readable storage space into a plurality of storage layers according to a preset distributed rule, wherein each storage layer comprises a plurality of storage units;
encoding each of the storage layer mark layers;
setting a unit address code for a storage unit of each storage layer;
and storing the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file into a readable storage space of the DSP module according to the layer code and the unit address code.
Optionally, the step of parsing each of the associated initialization program file, memory management program file, peripheral configuration program file and application loader file, and starting the corresponding target running mechanism includes:
traversing the readable storage space by adopting a traversing algorithm;
acquiring and screening the initializing program file, the memory management program file, the peripheral configuration program file and the application loading program file which are related to the control sound console;
and analyzing and starting the corresponding target running mechanism.
Optionally, the step of executing the target running mechanism execution program and the data parameter according to the data execution instruction includes:
analyzing the data execution instruction to obtain access control information in the data execution instruction;
and controlling the target running mechanism to execute programs and data parameters according to the access control information.
Optionally, when receiving the data execution instruction sent by the first MCU module, the step of running the target running mechanism execution program and the data parameter according to the data execution instruction further includes:
when an electric push control instruction sent by a second MCU module is received, controlling a plurality of electric pushers according to the electric push control instruction, and further controlling corresponding volume and volume balance;
when an indication control instruction sent by the third MCU module is received, all switch keys and indication LED lamps are controlled according to the indication control instruction.
In addition, the application also provides a sound console distributed control device, which comprises a first receiving module, a second receiving module and a control module, wherein the first receiving module is used for receiving a starting data request when the first MCU module is electrified, and acquiring the electrification condition of the DSP module;
the first analysis module is used for downloading the BOOT file to the DSP module, analyzing the BOOT file and generating an associated data file to be stored;
the loading storage module is used for storing the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file into a readable storage space of the DSP module according to a preset distributed rule;
the second analysis module is used for analyzing each part of the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file and starting a corresponding target running mechanism;
the execution module is used for running the execution program and the data parameters of the target running mechanism according to the data execution instruction when receiving the data execution instruction sent by the first MCU module, driving the sound console to enter a default working mode, and uploading scene data after the system-level computer is started
Optionally, the mixing console distributed control device includes a memory, a processor, and a mixing console distributed control program stored on the memory and capable of running on the processor, where the steps of the mixing console distributed control method described above are implemented when the processor executes the mixing console distributed control program.
In addition, the application further provides a readable storage medium, wherein the readable storage medium stores a sound mixing console distributed control program, and the sound mixing console distributed control program realizes the steps of the sound mixing console distributed control method when being executed by a processor.
One or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
the distributed control method of the sound mixing console comprises the steps of receiving a start data request when a first MCU module is electrified, and obtaining the electrification condition of a DSP module; acquiring a communication interface state in a preset time of a power-on condition, and acquiring a corresponding BOOT file according to the starting data request; downloading the BOOT file to a DSP module, analyzing the BOOT file and generating an associated data file to be stored, wherein the data file to be stored comprises an initialization program file, a memory management program file, a peripheral configuration program file and an application loading program file; storing the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file into a readable storage space of a DSP module according to a preset distributed rule; analyzing each part of the associated initializing program file, memory management program file, peripheral configuration program file and application loading program file, and starting a corresponding target running mechanism; when a data execution instruction sent by a first MCU module is received, running the execution program and the data parameters of the target running mechanism according to the data execution instruction, driving a sound console to enter a default working mode, and uploading scene data after a system-level computer is started; when an electric push control instruction sent by a second MCU module is received, controlling a plurality of electric pushers according to the electric push control instruction, and further controlling corresponding volume and volume balance;
when an indication control instruction sent by the third MCU module is received, all switch keys and indication LED lamps are controlled according to the indication control instruction. The starting mode of the DSP module is changed, a singlechip replaces the operation of a system-level computer, the control force of the system-level computer on the whole key part is weakened, the technical problems of slow starting and poor reliability are solved, the starting time is reduced to 3s from the original 30s, the most basic control can be completed when the touch screen computer is dead, the technical effect of safety is ensured, and the tuning console started by the MCU module is independent of an operating system and has the advantages of rapidness, high efficiency and capability of solving the pain point of the industry.
Drawings
Fig. 1 is a schematic flow chart of a first embodiment of a distributed control method for a sound console of the present application;
FIG. 2 is a further flow chart of step S200 in the embodiment of the present application;
FIG. 3 is a further flow chart of step S300 according to the embodiment of the present application;
FIG. 4 is a further flow chart of step S400 according to the embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a further flow chart after step S40 and before step S500 according to the embodiment of the present application;
FIG. 6 is a further flow chart of a step S600 according to an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure related to an embodiment of a console distributed control device in the present application;
fig. 8 is a block diagram of modules involved in an embodiment of a distributed console control program of the present application.
Detailed Description
In order to better understand the above technical solution, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1
An embodiment of the application discloses a distributed control method for a sound mixing console, referring to fig. 1, the distributed control method for the sound mixing console includes:
step S100, receiving a start data request when the first MCU module is powered on, and acquiring the power-on condition of the DSP module;
in this embodiment, the distributed control method for a sound mixing console includes a plurality of MCU modules, wherein the MCU modules mainly include a first MCU module, a second MCU module, and a third MCU module, and each MCU module communicates a processing result with other MCU modules using UART interfaces. Further, each MCU module is also connected with a DSP module respectively and is integrated on a complete machine device, and the first MCU module is used as a core control module of the complete machine device, has the advantages of small volume and complete and independent functions, and weakens the control force of the start data of the sound console in the system level computer.
Specifically, when the first MCU module and other MCU modules perform data interaction, the first MCU module is also connected with an external display control interface, so that information interaction is realized.
When the first MCU module is electrified, the first MCU module receives a power-on starting data request and acquires the power-on condition of the DSP module.
Step S200, obtaining a communication interface state in a preset time of a power-on condition, and obtaining a corresponding BOOT file according to the starting data request;
in some embodiments, the preset time may be 0.1ms-1s, specifically, may be 0.1ms, 0.2ms, 0.3ms, 0.5ms, 1ms, 2ms.
Further, referring to fig. 2, step S200 further includes:
step S201, counting whether the state of the communication interface is normal, and taking the communication interface with abnormal state as a risk communication point;
the communication interface state is a factor affecting whether the sound console can be effectively controlled, whether the conditions of the communication interface states are normal or not is counted and judged, when abnormal level signals are detected, the communication interface is judged to be abnormal, and at the moment, the first MCU module can automatically mark the communication interface as a risk communication point according to preset marking behaviors.
Step S202, outputting communication abnormality prompt information related to the risk communication points to a control interface of a system level computer;
because the abnormal communication interface is detected through statistics and the tracking mark is a risk communication point, communication abnormality prompt information related to the risk communication point needs to be output and fed back to the control interface of the system level computer, so that a user can perform previous pretreatment on the abnormal communication interface before controlling the sound console, and effective guarantee is provided for the follow-up accurate control of the sound console.
Step S203, when the states of the communication interfaces are all normal, acquiring the corresponding BOOT file according to the start data request.
When it is counted that all the communication interfaces are in normal states, for example, it is counted that level signals fed back by all the communication interfaces are valid, it is judged that all the communication interfaces are in a state capable of working normally, and at this time, the first MCU module obtains a BOOT file transmitted from the communication interfaces according to a start data request.
Step S300, downloading the BOOT file to a DSP module, analyzing the BOOT file and generating an associated data file to be stored, wherein the data file to be stored comprises an initialization program file, a memory management program file, a peripheral configuration program file and an application loader file;
further, referring to fig. 3, step S300 specifically further includes:
step S301, converting the BOOT file into different function codes to obtain a function executable program file;
specifically, the BOOT file is executed when the first MCU module is powered on, the hardware needs to be initialized in advance and a stack is prepared, and then the kernel is loaded and necessary parameters are transferred to the kernel, so that the kernel is convenient to start, and therefore, the BOOT file needs to be converted into different functional codes to obtain a functional executable program file.
Step S302, the function executable program file is packaged according to the program association structure to obtain the data file to be stored.
In some embodiments, the function executable program files are provided with a preset program association structure, so that the function executable program files are independently packaged, and the function executable program files are packaged through the program association structure to obtain the data files to be stored in consideration of accurate operation and maintenance when the function executable program files encounter a bug in operation. The data files to be stored comprise an initialization program file, a memory management program file, a peripheral configuration program file and an application loader file.
Step S400, storing the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file into a readable storage space of a DSP module according to a preset distributed rule;
further, referring to fig. 4, step S400 specifically further includes:
step S401, dividing the readable storage space into a plurality of storage layers according to a preset distributed rule, wherein each storage layer comprises a plurality of storage units;
step S402, coding each storage layer marking layer;
step S403, setting a unit address code for a storage unit of each storage layer;
in some alternative embodiments, in order to improve the processing efficiency of the DSP module, the readable storage space may be divided according to a preset distributed rule, where the unit address code of each storage unit has uniqueness. Specifically, the readable storage space is divided into a plurality of storage layers, each storage layer includes a plurality of storage units, each storage layer is provided with a layer code according to a coding rule, for example, the layer code of a first storage layer may be set to a, the layer code of a second storage layer may be set to B, and the layer code of a third storage layer may be set to C. The cell address code is then set according to the memory cells of each memory layer, e.g., the cell address code of the first memory cell of each memory layer may be set to 1, the cell address code of the second memory cell of each memory layer may be set to 2, and the cell address code of the third memory cell of each memory layer may be set to 3. Finally, a file storage path can be determined according to the layer code and the unit address code, for example, the storage units of the first storage layer can be A1, A2 and A3 respectively in sequence; the storage units of the second storage layer may be B1, B2, and B3, respectively, and the storage units of the third storage layer may be C1, C2, and C3, respectively.
Step S404, according to the layer code and the unit address code, storing the associated initialization program file, memory management program file, peripheral configuration program file and application loader file into a readable storage space of the DSP module.
And storing the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file into a readable storage space of the DSP module according to the layer code and the unit address code.
Step S500, analyzing each part of the associated initializing program file, memory management program file, peripheral configuration program file and application loading program file, and starting a corresponding target running mechanism;
further, referring to fig. 5, after step S404, before step S500, the method further includes:
step S501, traversing the readable storage space by adopting a traversing algorithm;
in this embodiment, because the preset distributed rule stores the associated initialization program file, memory management program file, peripheral configuration program file and application loader file in any storage unit in the readable storage space of the DSP module, before the analysis operation, the readable storage space needs to be traversed.
Specifically, after traversing, step S502 is performed, and the initialization program file, the memory management program file, the peripheral configuration program file and the application loading program file related to the console are obtained and screened;
step S503, analyzing and starting the corresponding target running mechanism.
Specifically, after the screening is obtained, each related initializing program file, memory management program file, peripheral configuration program file and application loading program file are analyzed, and a corresponding target running mechanism is started.
And step S600, when a data execution instruction sent by the first MCU module is received, the target running mechanism execution program and the data parameters are run according to the data execution instruction, the sound console is driven to enter a default working mode, and scene data is uploaded after the system-level computer is started. Specifically, the mixing console may be a digital mixing console.
Further, referring to fig. 6, step S600 further includes:
step S601, analyzing the data execution instruction to obtain access control information in the data execution instruction;
step S602, controlling the target running mechanism to execute a program and data parameters according to the access control information.
In some optional embodiments, when the step is ready to run, after receiving a data execution instruction sent by the first MCU module, reading and analyzing access control information carried by the data execution instruction, specifically, when the access control information may access the initialization program file, the memory management program file, the peripheral configuration program file and the application loader file associated in the storage unit, and control the target operating mechanism to execute a program and data parameters according to the access control information, so as to drive the tuning console to enter a default working mode, and upload scene data after the system-level computer is started.
In some embodiments, the step S600 further includes, while being executed:
step S700, when an electric push control instruction sent by a second MCU module is received, controlling a plurality of electric clippers according to the electric push control instruction, and further controlling corresponding volume and volume balance;
in some alternative embodiments, the second MCU module is configured to control the movement of the position of the electric clipper and detect the current position of the electric clipper, obtain information of the current position, generate a proportional value, send the proportional value to the first MCU module to generate a gain value, and then output the gain value to control the DSP module to make a corresponding driving signal, so as to control the corresponding volume and volume balance.
Step S800, when receiving an indication control instruction sent by the third MCU module, controlling all switch keys and indication LED lamps according to the indication control instruction.
In some alternative embodiments, the third MCU module is not only used to detect the state of a key, for example, to send an instruction to turn on an LED light by pressing a switch key, but also to send display information to an associated display module, for example, a control interface of an external system level computer, or an OLED display screen, etc.
In other words, each MCU module executes a section of function code, and different MCU modules execute different function codes; the plurality of MCU modules synchronously execute the functional codes.
In summary, the technical solution provided in the first embodiment of the present application has at least the following beneficial effects:
receiving a start data request when the first MCU module is powered on, and acquiring the power-on condition of the DSP module; acquiring a communication interface state in a preset time of a power-on condition, and acquiring a corresponding BOOT file according to the starting data request; and downloading the BOOT file to a DSP module, driving the sound console to enter a default working mode, uploading scene data after the system-level computer is started, and at the moment, not interrupting the operation of the sound console, wherein the starting time is reduced to 3s from the original 30 s. That is to say, by changing the starting mode of the DSP module, a single chip microcomputer replaces the operation of a system level computer, weakens the control force of the system level computer on the whole key part, solves the technical problems of slow starting and poor reliability, and realizes the most basic control when the touch screen computer is halted, thereby ensuring the technical effect of safety.
Embodiment two:
the application further provides a sound mixing console distributed control device, and referring to fig. 7, fig. 7 is a schematic structural diagram of the sound mixing console distributed control device of a hardware running environment according to an embodiment of the application.
As shown in fig. 7, the mixing console distributed control apparatus may include: a processor 1001, a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a display, an input unit such as a keyboard, and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface. The memory 1005 may be a high-speed random access memory or a stable nonvolatile memory such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the configuration shown in fig. 7 does not constitute a limitation of the console distributed control apparatus, and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
Optionally, the memory 1005 is electrically connected to the processor 1001, and the processor 1001 may be configured to control operation of the memory 1005, and may also read data in the memory 1005 to implement distributed console control.
Alternatively, as shown in fig. 7, a network communication module, a user interface module, and a console distributed control program may be included in the work memory 1005.
Further, referring to fig. 8, the console distributed control program includes:
the first receiving module 10 is configured to receive a start data request when the first MCU module is powered on, and obtain a power-on condition of the DSP module;
the first parsing module 20 is configured to download the BOOT file to the DSP module, parse the BOOT file, and generate an associated data file to be stored;
the load storage module 30 is configured to store the associated initialization program file, memory management program file, peripheral configuration program file and application load program file into a readable storage space of the DSP module according to a preset distributed rule;
a second parsing module 40, configured to parse each of the associated initialization program file, memory management program file, peripheral configuration program file, and application loader file, and start a corresponding target operating mechanism;
and the execution module 50 is used for running the execution program and the data parameters of the target running mechanism according to the data execution instruction when receiving the data execution instruction sent by the first MCU module, driving the sound console to enter a default working mode, and uploading scene data after the system-level computer is started.
Optionally, in the console distributed control device shown in fig. 7, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the console distributed control device of the present application may be provided in the console distributed control device.
As shown in fig. 7, the console distributed control device invokes, through the processor 1001, a console distributed control program stored in the memory 1005, and performs the related step operations of the console distributed control method provided in the embodiment of the present application:
receiving a start data request when the first MCU module is powered on, and acquiring the power-on condition of the DSP module;
acquiring a communication interface state in a preset time of a power-on condition, and acquiring a corresponding BOOT file according to the starting data request;
downloading the BOOT file to a DSP module, analyzing the BOOT file and generating an associated data file to be stored, wherein the data file to be stored comprises an initialization program file, a memory management program file, a peripheral configuration program file and an application loading program file;
storing the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file into a readable storage space of a DSP module according to a preset distributed rule;
analyzing each part of the associated initializing program file, memory management program file, peripheral configuration program file and application loading program file, and starting a corresponding target running mechanism;
and when a data execution instruction sent by the first MCU module is received, operating the target operating mechanism execution program and the data parameters according to the data execution instruction, driving the sound console to enter a default working mode, and uploading scene data after the system-level computer is started.
Alternatively, the processor 1001 may call the console distributed control program stored in the memory 1005, and also perform the following operations:
counting whether the communication interface is in a normal state or not, and taking the communication interface in an abnormal state as a risk communication point;
outputting communication abnormality prompt information related to the risk communication points to a control interface of the system level computer;
and when the states of the communication interfaces are normal, acquiring the corresponding BOOT file according to the starting data request.
Alternatively, the processor 1001 may call the console distributed control program stored in the memory 1005, and also perform the following operations:
converting the BOOT file into different function codes to obtain a function executable program file;
and encapsulating the function executable program file according to a program association structure to obtain the data file to be stored.
Alternatively, the processor 1001 may call the console distributed control program stored in the memory 1005, and also perform the following operations:
dividing the readable storage space into a plurality of storage layers according to a preset distributed rule, wherein each storage layer comprises a plurality of storage units;
encoding each of the storage layer mark layers;
setting a unit address code for a storage unit of each storage layer;
and storing the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file into a readable storage space of the DSP module according to the layer code and the unit address code.
Alternatively, the processor 1001 may call the console distributed control program stored in the memory 1005, and also perform the following operations:
traversing the readable storage space by adopting a traversing algorithm;
acquiring and screening the initializing program file, the memory management program file, the peripheral configuration program file and the application loading program file which are related to the control sound console;
and analyzing and starting the corresponding target running mechanism.
Alternatively, the processor 1001 may call the console distributed control program stored in the memory 1005, and also perform the following operations:
analyzing the data execution instruction to obtain access control information in the data execution instruction;
and controlling the target running mechanism to execute programs and data parameters according to the access control information.
Alternatively, the processor 1001 may call the console distributed control program stored in the memory 1005, and also perform the following operations:
when an electric push control instruction sent by a second MCU module is received, controlling a plurality of electric pushers according to the electric push control instruction, and further controlling corresponding volume and volume balance;
when an indication control instruction sent by the third MCU module is received, all switch keys and indication LED lamps are controlled according to the indication control instruction.
Embodiment III:
in addition, the embodiment of the application further provides a readable storage medium, wherein the readable storage medium stores a sound console distributed control program, and when the sound console distributed control program is executed by a processor, the relevant steps of any embodiment of the sound console distributed control method are realized.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.
Claims (10)
1. A distributed control method for a sound mixing console, comprising the steps of:
receiving a start data request when the first MCU module is powered on, and acquiring the power-on condition of the DSP module;
acquiring a communication interface state in a preset time of a power-on condition, and acquiring a corresponding BOOT file according to the starting data request;
downloading the BOOT file to a DSP module, analyzing the BOOT file and generating an associated data file to be stored, wherein the data file to be stored comprises an initialization program file, a memory management program file, a peripheral configuration program file and an application loading program file;
storing the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file into a readable storage space of a DSP module according to a preset distributed rule;
analyzing each part of the associated initializing program file, memory management program file, peripheral configuration program file and application loading program file, and starting a corresponding target running mechanism;
and when a data execution instruction sent by the first MCU module is received, operating the target operating mechanism execution program and the data parameters according to the data execution instruction, driving the sound console to enter a default working mode, and uploading scene data after the system-level computer is started.
2. The distributed control method of sound mixing console as set forth in claim 1, wherein the step of obtaining the state of the communication interface within the preset time of the power-on condition includes:
counting whether the communication interface is in a normal state or not, and taking the communication interface in an abnormal state as a risk communication point;
outputting communication abnormality prompt information related to the risk communication points to a control interface of the system level computer;
and when the states of the communication interfaces are normal, acquiring the corresponding BOOT file according to the starting data request.
3. The distributed console control method of claim 1, wherein the step of downloading the BOOT file to a DSP module, parsing the BOOT file and generating an associated data file to be stored comprises:
converting the BOOT file into different function codes to obtain a function executable program file;
and encapsulating the function executable program file according to a program association structure to obtain the data file to be stored.
4. The distributed control method of a mixing console according to claim 1, wherein the step of storing the associated initialization program file, memory management program file, peripheral configuration program file and application loader file in a readable storage space of a DSP module according to a preset distributed rule comprises:
dividing the readable storage space into a plurality of storage layers according to a preset distributed rule, wherein each storage layer comprises a plurality of storage units;
encoding each of the storage layer mark layers;
setting a unit address code for a storage unit of each storage layer;
and storing the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file into a readable storage space of the DSP module according to the layer code and the unit address code.
5. The distributed control method of a sound mixing console as set forth in claim 4, wherein the step of parsing each of the associated initializer file, memory manager file, peripheral configurator file and application loader file to start the corresponding target operating mechanism includes:
traversing the readable storage space by adopting a traversing algorithm;
acquiring and screening the initializing program file, the memory management program file, the peripheral configuration program file and the application loading program file which are related to the control sound console;
and analyzing and starting the corresponding target running mechanism.
6. The distributed control method of sound mixing console as set forth in claim 1, wherein when receiving a data execution instruction sent by the first MCU module, the step of executing the target running mechanism execution program and the data parameters according to the data execution instruction includes:
analyzing the data execution instruction to obtain access control information in the data execution instruction;
and controlling the target running mechanism to execute programs and data parameters according to the access control information.
7. The distributed control method of sound mixing console as set forth in claim 6, wherein when receiving a data execution instruction sent by the first MCU module, the step of executing the target running mechanism execution program and the data parameters according to the data execution instruction further includes:
when an electric push control instruction sent by a second MCU module is received, controlling a plurality of electric pushers according to the electric push control instruction, and further controlling corresponding volume and volume balance;
when an indication control instruction sent by the third MCU module is received, all switch keys and indication LED lamps are controlled according to the indication control instruction.
8. A mixing console distributed control device, characterized by comprising a memory, a processor and a mixing console distributed control program stored on the memory and running on the processor, wherein the steps of the mixing console distributed control method according to any one of claims 1 to 7 are realized when the processor executes the mixing console distributed control program.
9. The mixing console distributed control apparatus of claim 8, wherein the mixing console distributed control program comprises:
the first receiving module is used for receiving a start data request when the first MCU module is powered on and obtaining the power-on condition of the DSP module;
the first analysis module is used for downloading the BOOT file to the DSP module, analyzing the BOOT file and generating an associated data file to be stored;
the loading storage module is used for storing the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file into a readable storage space of the DSP module according to a preset distributed rule;
the second analysis module is used for analyzing each part of the associated initialization program file, memory management program file, peripheral configuration program file and application loading program file and starting a corresponding target running mechanism;
and the execution module is used for running the execution program and the data parameters of the target running mechanism according to the data execution instruction when receiving the data execution instruction sent by the first MCU module, driving the sound console to enter a default working mode, and uploading scene data after the system-level computer is started.
10. A readable storage medium, wherein a console distributed control program is stored on the readable storage medium, and when executed by a processor, the console distributed control program implements the steps of the console distributed control method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311463601.1A CN117193887B (en) | 2023-11-06 | 2023-11-06 | Sound console distributed control method and device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311463601.1A CN117193887B (en) | 2023-11-06 | 2023-11-06 | Sound console distributed control method and device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117193887A CN117193887A (en) | 2023-12-08 |
CN117193887B true CN117193887B (en) | 2024-03-15 |
Family
ID=88987202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311463601.1A Active CN117193887B (en) | 2023-11-06 | 2023-11-06 | Sound console distributed control method and device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117193887B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118301818A (en) * | 2024-03-20 | 2024-07-05 | 深圳市拓视达科技有限公司 | Light source autonomous positioning measurement method, device and computer readable storage medium |
CN118555291A (en) * | 2024-04-12 | 2024-08-27 | 浙江小亿智能科技有限公司 | Enhanced data transmission method and device for Internet of things and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101286342A (en) * | 2007-04-10 | 2008-10-15 | 炬力集成电路设计有限公司 | MCU +DSP structural system digital multimedia coding-decoding method and corresponding system |
CN108255104A (en) * | 2018-01-10 | 2018-07-06 | 吴配云 | A kind of control method of the sound system device of embedded system control |
CN108471571A (en) * | 2018-02-26 | 2018-08-31 | 深圳市易科声光科技有限公司 | A kind of audio frequency power amplifier and audio system |
CN111857785A (en) * | 2019-04-29 | 2020-10-30 | 深圳市优必选科技有限公司 | MCU starting method and device and terminal equipment |
CN115373720A (en) * | 2022-08-24 | 2022-11-22 | 中车青岛四方车辆研究所有限公司 | Method and device for starting and online upgrading of multiple C2000 DSPs |
CN115542808A (en) * | 2022-09-29 | 2022-12-30 | 中国铁道科学研究院集团有限公司 | Controller with FPGA chip, operation method thereof and rail transit equipment |
CN116932054A (en) * | 2022-04-08 | 2023-10-24 | 华为技术有限公司 | System starting method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11113403B2 (en) * | 2019-04-09 | 2021-09-07 | Cisco Technology, Inc. | Split chain of trust for secure device boot |
EP3933631B1 (en) * | 2020-06-30 | 2023-04-12 | NXP USA, Inc. | Fast and versatile multicore soc secure boot method |
-
2023
- 2023-11-06 CN CN202311463601.1A patent/CN117193887B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101286342A (en) * | 2007-04-10 | 2008-10-15 | 炬力集成电路设计有限公司 | MCU +DSP structural system digital multimedia coding-decoding method and corresponding system |
CN108255104A (en) * | 2018-01-10 | 2018-07-06 | 吴配云 | A kind of control method of the sound system device of embedded system control |
CN108471571A (en) * | 2018-02-26 | 2018-08-31 | 深圳市易科声光科技有限公司 | A kind of audio frequency power amplifier and audio system |
CN111857785A (en) * | 2019-04-29 | 2020-10-30 | 深圳市优必选科技有限公司 | MCU starting method and device and terminal equipment |
CN116932054A (en) * | 2022-04-08 | 2023-10-24 | 华为技术有限公司 | System starting method and device |
CN115373720A (en) * | 2022-08-24 | 2022-11-22 | 中车青岛四方车辆研究所有限公司 | Method and device for starting and online upgrading of multiple C2000 DSPs |
CN115542808A (en) * | 2022-09-29 | 2022-12-30 | 中国铁道科学研究院集团有限公司 | Controller with FPGA chip, operation method thereof and rail transit equipment |
Also Published As
Publication number | Publication date |
---|---|
CN117193887A (en) | 2023-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN117193887B (en) | Sound console distributed control method and device and readable storage medium | |
CN111158741B (en) | Method and device for monitoring dependency relationship change of service module on third party class library | |
CN112416318B (en) | Micro-service development method and device, storage medium and electronic equipment | |
CN107239309B (en) | Patch generation method and device, updating method, electronic device and storage medium | |
CN111399840A (en) | Module development method and device | |
CN110795353B (en) | Quick application debugging method, device, equipment and storage medium | |
WO2017052528A1 (en) | Selecting and loading firmware volumes | |
CN111459812A (en) | Interface test case generation method, electronic device and storage medium | |
CN106598647B (en) | Intelligent device development platform | |
CN115686631B (en) | Random instruction generation method and device based on knowledge base and storage medium | |
CN115509765B (en) | Super-fusion cloud computing method and system, computer equipment and storage medium | |
CN113590593B (en) | Data table information generation method and device, storage medium and electronic device | |
CN112486492A (en) | Page generation method and device, storage medium and electronic equipment | |
CN116049293B (en) | Method, device, equipment and medium for realizing analysis of CSV file based on database configuration | |
CN110806891B (en) | Method and device for generating software version of embedded device | |
CN116560801B (en) | Cross-container counter system credit migration method and equipment | |
CN116107524B (en) | Low-code application log processing method, medium, device and computing equipment | |
CN117348919A (en) | Information configuration method, information configuration device, computer equipment and storage medium | |
CN115080113A (en) | Item code detection method and device, readable storage medium and electronic equipment | |
CN118301818A (en) | Light source autonomous positioning measurement method, device and computer readable storage medium | |
CN109614656B (en) | TLM (transport layer management Module) system for OpenGL (open graphics library) display list calling | |
CN112612474A (en) | Product transplanting method and device, storage medium and electronic equipment | |
CN110764997B (en) | Database interface conformance testing method and device | |
CN113590166B (en) | Application program updating method and device and computer readable storage medium | |
CN114780157B (en) | System identification method and device, embedded controller and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |