CN117193887A - 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 PDF

Info

Publication number
CN117193887A
CN117193887A CN202311463601.1A CN202311463601A CN117193887A CN 117193887 A CN117193887 A CN 117193887A CN 202311463601 A CN202311463601 A CN 202311463601A CN 117193887 A CN117193887 A CN 117193887A
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.)
Granted
Application number
CN202311463601.1A
Other languages
Chinese (zh)
Other versions
CN117193887B (en
Inventor
黄继飞
詹德群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Uniwisdom Technologies Co ltd
Original Assignee
Shenzhen Uniwisdom Technologies Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Uniwisdom Technologies Co ltd filed Critical Shenzhen Uniwisdom Technologies Co ltd
Priority to CN202311463601.1A priority Critical patent/CN117193887B/en
Publication of CN117193887A publication Critical patent/CN117193887A/en
Application granted granted Critical
Publication of CN117193887B publication Critical patent/CN117193887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total 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 loading program file according to a configuration program file and an application, 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 digital 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 finishing the most basic control when the touch screen computer is dead, thereby ensuring the safety, having the advantages of rapidness, high efficiency and solving the industry pain point.

Description

Sound console distributed control method and device and readable storage medium
Technical Field
The present application 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 digital 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
The embodiment of the application changes the starting mode of the DSP module by providing the distributed control method and device for the sound mixing console and the readable storage medium, replaces the operation of the system-level computer by a singlechip, weakens the control force of the system-level computer on the whole key part, solves the technical problems of slow starting and poor reliability, realizes the starting time reduced from 30s to 3s, and can complete the most basic control under the condition of the dead touch of the touch screen computer, thereby ensuring the technical effect of safety.
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, running the execution program and the data parameters of the target running mechanism according to the data execution instruction, driving the digital 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 state of the communication interface within the preset time of the power-on condition includes:
counting whether the state of the communication interface is normal or not, and taking the abnormal communication interface 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 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 digital 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 also provides a readable storage medium, wherein the readable storage medium stores a sound console distributed control program, and the sound console distributed control program realizes the steps of the sound 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 digital 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 distributed control method for a sound mixing console according to an embodiment of the present application;
FIG. 2 is a further flow chart of step S200 according to an embodiment of the present application;
FIG. 3 is a further flowchart of a step S300 according to an embodiment of the present application;
FIG. 4 is a further flow chart of step S400 according to an 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 an embodiment of the present application;
FIG. 6 is a further flowchart illustrating a step S600 according to an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure involved in an embodiment of a distributed console control device according to the present application;
fig. 8 is a block diagram of modules involved in an embodiment of a distributed console control program according to 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 application to those skilled in the art.
Example 1
The embodiment of the application discloses a distributed control method for a sound mixing console, and referring to fig. 1, the distributed control method for the sound mixing console comprises the following steps:
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, 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;
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 abnormal communication interface 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, where the initializing 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 digital sound console is driven to enter a default working mode, and scene data is uploaded after the system-level computer is started.
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 digital 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 digital 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.
Example two
The application further provides a distributed control device for the sound mixing console, and referring to fig. 7, fig. 7 is a schematic structural diagram of the distributed control device for the sound mixing console in a hardware running environment according to the 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 digital 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 executes related step operations of the console distributed control method provided by 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, running the execution program and the data parameters of the target running mechanism according to the data execution instruction, driving the digital 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 state of the communication interface is normal or not, and taking the abnormal communication interface 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 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.
Example III
In addition, the embodiment of the application also provides a readable storage medium, wherein the readable storage medium is stored with a sound console distributed control program, and the sound console distributed control program realizes the relevant steps of any embodiment of the sound console distributed control method when being executed by a processor.
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 to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

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, running the execution program and the data parameters of the target running mechanism according to the data execution instruction, driving the digital 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 a preset time of the power-on condition includes:
counting whether the state of the communication interface is normal or not, and taking the abnormal communication interface 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 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 digital 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.
CN202311463601.1A 2023-11-06 2023-11-06 Sound console distributed control method and device and readable storage medium Active CN117193887B (en)

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 true CN117193887A (en) 2023-12-08
CN117193887B 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)

Citations (9)

* Cited by examiner, † Cited by third party
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
US20200327232A1 (en) * 2019-04-09 2020-10-15 Cisco Technology, Inc. Split chain of trust for secure device boot
CN111857785A (en) * 2019-04-29 2020-10-30 深圳市优必选科技有限公司 MCU starting method and device and terminal equipment
US20210406380A1 (en) * 2020-06-30 2021-12-30 Nxp Usa, Inc. Fast and versatile multicore soc secure boot method
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
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
US20200327232A1 (en) * 2019-04-09 2020-10-15 Cisco Technology, Inc. Split chain of trust for secure device boot
CN111857785A (en) * 2019-04-29 2020-10-30 深圳市优必选科技有限公司 MCU starting method and device and terminal equipment
US20210406380A1 (en) * 2020-06-30 2021-12-30 Nxp Usa, Inc. Fast and versatile multicore soc secure boot method
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
CN117193887B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN111158741B (en) Method and device for monitoring dependency relationship change of service module on third party class library
CN108132826B (en) Mirror image management method and device for cross-cloud server and server
CN105468529A (en) Accurate traversal method and apparatus for UI controls of android application
CN112416318B (en) Micro-service development method and device, storage medium and electronic equipment
CN114546738B (en) Universal test method, system, terminal and storage medium for server
US10579801B2 (en) Selecting and loading firmware volumes based on license
CN107239309B (en) Patch generation method and device, updating method, electronic device and storage medium
CN111399840A (en) Module development method and device
CN111459812A (en) Interface test case generation method, electronic device and storage medium
CN115509765A (en) Super-fusion cloud computing method and system, computer equipment and storage medium
CN116301596A (en) Software RAID construction method, device, equipment and storage medium
CN115617780A (en) Data import method, device, equipment and storage medium
CN103595769A (en) Method and device for achieving file uploading through SDK
CN117193887B (en) Sound console distributed control method and device and readable storage medium
CN112486492A (en) Page generation method and device, storage medium and electronic equipment
CN116107524B (en) Low-code application log processing method, medium, device and computing equipment
CN110806891B (en) Method and device for generating software version of embedded device
CN112732265A (en) Data processing method and related device
CN115080113A (en) Item code detection method and device, readable storage medium and electronic equipment
CN109358972B (en) Log management method and device of middleware client and computer system
US7869914B2 (en) Vehicle quality analyzing system and plural data management method
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

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