Information processing method and device, computer device and storage medium
By storing instruction information for multiple processing modes in the database of electronic devices, and activating the corresponding modules according to the target mode, the problem of resource waste in electronic devices under different information processing scenarios is solved, and flexible control and efficiency improvement are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 伟光有限公司(CN)
- Filing Date
- 2021-09-22
- Publication Date
- 2026-07-14
AI Technical Summary
Existing electronic devices lack flexible control methods in different information processing scenarios, resulting in resource waste and inefficiency.
By storing instruction information corresponding to multiple processing modes in the database, the corresponding instruction information is read according to the target processing mode, and only the necessary processing modules are activated to process the information.
It enables flexible control of the information processing module, saves resources, and improves processing efficiency and boot speed.
Smart Images

Figure CN115878179B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to an information processing method, apparatus, computer equipment, and storage medium. Background Technology
[0002] Current electronic devices use the same set of instructions and multiple processing modules when processing the same type of information. These instructions activate and control each module. However, considering the varying processing requirements across different scenarios, electronic devices can input different processing parameters into the instructions to control these modules to use different parameters. Nevertheless, activating each module individually is still necessary for different processing scenarios, making the control method inflexible. Summary of the Invention
[0003] This application provides an information processing method, apparatus, computer equipment, and storage medium, which can flexibly control the information processing module. The technical solution is as follows:
[0004] According to one aspect of the embodiments of this application, an information processing method is provided, the method comprising:
[0005] In response to a target processing instruction, target instruction information corresponding to a target processing mode is read from the database. The target processing instruction indicates that information is processed in the target processing mode. The target instruction information includes a start instruction for the target processing module and an instruction to process information through the target processing module.
[0006] The target instruction information is executed to start the target processing module and to process information through the target processing module;
[0007] The database stores instruction information corresponding to various processing modes, and the target processing mode is any one of the various processing modes.
[0008] According to another aspect of the embodiments of this application, an information processing apparatus is provided, the apparatus comprising:
[0009] The instruction information reading unit is used to read target instruction information corresponding to the target processing mode from the database in response to the target processing instruction. The target processing instruction indicates that information is processed in the target processing mode. The target instruction information includes a start instruction for the target processing module and an instruction to process information through the target processing module.
[0010] The instruction information execution unit is used to execute the target instruction information to start the target processing module and process information through the target processing module;
[0011] The database stores instruction information corresponding to various processing modes, and the target processing mode is any one of the various processing modes.
[0012] According to another aspect of the embodiments of this application, a computer device is provided, the computer device including a processor and a memory; the memory stores at least one piece of program code, the at least one piece of program code being executed by the processor to implement the information processing method as described above.
[0013] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided, the storage medium storing at least one piece of program code, the at least one piece of program code being executed by a processor to implement the information processing method as described above.
[0014] According to another aspect of the embodiments of this application, a computer program product is provided, which stores at least one piece of program code, said at least one piece of program code being loaded and executed by a processor to implement the information processing method described above.
[0015] According to another aspect of the embodiments of this application, a chip is provided, the chip including programmable logic circuits and / or program instructions, which, when the chip is run on a computer device, is used to implement the information processing method described above.
[0016] In this embodiment of the application, considering that the requirements for information processing effects are different under different information processing modes, the information processing modules that need to be controlled and used under different information processing modes will be different. Using the same set of instruction information cannot reflect this difference. Therefore, different instruction information is developed for different information processing modes. By using the instruction information corresponding to the information processing mode, the processing module required by the processing mode can be started to perform information processing. This avoids starting unnecessary information processing modules. On the one hand, the control method of information processing modules is more flexible, and on the other hand, information processing resources can be saved. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A schematic diagram of an implementation environment provided by an exemplary embodiment of this application is shown;
[0019] Figure 2 A flowchart illustrating an information processing method provided in an exemplary embodiment of this application is shown;
[0020] Figure 3 A flowchart illustrating an information processing method provided in an exemplary embodiment of this application is shown;
[0021] Figure 4 A flowchart illustrating an information processing method provided in an exemplary embodiment of this application is shown;
[0022] Figure 5 A flowchart illustrating an information processing method provided in an exemplary embodiment of this application is shown;
[0023] Figure 6 A schematic diagram of a database provided in an exemplary embodiment of this application is shown;
[0024] Figure 7 A schematic diagram of an image processing procedure provided by an exemplary embodiment of this application is shown;
[0025] Figure 8 A flowchart illustrating an information processing method provided in an exemplary embodiment of this application is shown;
[0026] Figure 9 A flowchart illustrating an information processing method provided in an exemplary embodiment of this application is shown;
[0027] Figure 10 A block diagram of an information processing apparatus provided in an exemplary embodiment of this application is shown;
[0028] Figure 11 This invention provides a structural block diagram of a terminal according to an exemplary embodiment of the present application.
[0029] Figure 12 The diagram shows a structural block diagram of a server provided in an exemplary embodiment of this application. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0031] In this article, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0032] This application provides an information processing method, executed by a computer device. The computer device can flexibly control processing modules and save information processing resources through the information processing method provided. In some embodiments, the computer device is a terminal, such as a mobile phone, camera, desktop computer, laptop computer, tablet computer, smartwatch, smart speaker, smart TV, vehicle terminal, and other types of terminals. Optionally, the terminal includes multiple information processing modules for processing a certain type of information, such as image information, voice information, multimedia information, etc. Optionally, the terminal includes multiple image processing modules, multiple voice processing modules, and multiple multimedia display modules. The terminal processes the corresponding type of information through any type of information processing module. For example, image information is processed through an image processing module, voice information is processed through a voice processing module, and multimedia information is processed and displayed through a multimedia display module. Optionally, when processing a certain type of information, the terminal activates all or some of the information processing modules for that type of information, and processes the information through the activated information processing modules. For example, all or some of the image processing modules are activated to process images. In some embodiments, the computer device is a server, for example, a backend server or a cloud server providing services such as cloud computing and cloud storage. The server can utilize the information processing method provided in this application to achieve flexible control over the processing modules within the server, thereby saving information processing resources.
[0033] In some embodiments, such as Figure 1 As shown, the implementation environment includes a server 101 and a terminal 102. The computer device is the terminal 102. The server 101 sends information to be processed to the terminal 102, and the terminal 102 stores the information in a database. Then, upon receiving a target processing instruction, the terminal 102 reads the information from the database and processes the information using the information processing method provided in this application.
[0034] Optionally, a target application provided by server 101 is installed on terminal 102, enabling terminal 102 to perform functions such as data transmission and message interaction. Optionally, the target application is an application within the operating system of terminal 102, or an application provided by a third party. The target application may have functions for capturing and processing images, or it may have functions for capturing and processing voice, or it may have functions for processing and displaying multimedia information. Of course, the target application may also have other functions, such as information sharing and voice calls; this embodiment does not limit these functions. Optionally, the target application may be a short video application, a photography application, a shopping application, a chat application, or other applications.
[0035] The information processing method provided in this application can be applied to image processing scenarios. For example, the terminal's database stores instruction information corresponding to various image processing modes. In response to an instruction to process an image in a target image processing mode, the terminal reads the target instruction information corresponding to the target image processing mode from the database, runs the target instruction information, starts the target image processing module to acquire an image, and processes the acquired image.
[0036] The information processing method provided in this application embodiment can also be applied to scenarios involving voice processing. For example, the terminal's database stores instruction information corresponding to various voice processing modes. In response to a processing instruction indicating that voice is processed in a target voice processing mode, the terminal reads the target instruction information corresponding to the target voice processing mode from the database, runs the target instruction information, and starts the target voice processing module to collect voice and process the collected voice.
[0037] The information processing method provided in this application can also be applied to scenarios involving the display of multimedia information. For example, the terminal's database stores instruction information corresponding to various multimedia display modes. In response to a processing instruction that indicates displaying target multimedia information in a target display mode, the terminal reads the target instruction information and target multimedia information corresponding to the target display mode from the database, executes the target instruction information, and processes and displays the target multimedia information.
[0038] The above scenarios are merely illustrative examples. The methods provided in this application embodiment can also be applied to other scenarios, and this application embodiment does not impose any limitations on them.
[0039] Figure 2 A flowchart illustrating an information processing method provided in an exemplary embodiment of this application is shown. This method is executed by a computer device. See also... Figure 2 The method includes:
[0040] 201. In response to the target processing instruction, read the target instruction information corresponding to the target processing mode from the database.
[0041] The target processing instructions specify how to process information in the target processing mode. The target instruction information includes start instructions for the target processing module and instructions for processing information through the target processing module. The target processing module includes one or more processing modules. Optionally, the processing module is a hardware processing module, such as a chip.
[0042] The database stores instruction information corresponding to various processing modes, with the target processing mode being any one of these modes. Optionally, the various processing modes stored in the database can process at least one type of information. For example, the database stores five processing modes, two of which are used for image processing, and the other three for speech processing. Alternatively, the database may store five processing modes, all of which are used for image processing. Because different processing modes have different requirements for processing effects, the processing modules activated may differ when processing any type of information under different processing modes. For example, the database stores three different image processing modes. The image processing modules in the computer device include processing module 1, processing module 2, and processing module 3. In these multiple image processing modes, the first image processing mode is used to activate processing modules 1 and 2, the second image processing mode is used to activate processing modules 2 and 3, and the third image processing mode is used to activate processing modules 2 and 3.
[0043] The database stores various processing modes capable of handling any type of information, including image information, voice information, and multimedia information; however, this application embodiment does not impose any limitations on this.
[0044] Optionally, the instruction information corresponding to the processing mode can be called firmware, where firmware is compiled instruction information that a computer device can run. Optionally, the database is a memory database, for example, SRAM (Static Random-Access Memory). Because memory databases have high read and write efficiency, they can be used to store instruction information, thereby improving the efficiency of instruction information retrieval.
[0045] 202. Run the target instruction information to start the target processing module and process the information through the target processing module.
[0046] Since the target instruction information includes a start instruction for the target processing module and an instruction for processing information through the target processing module, the start instruction instructs the target processing module to start, and the instruction for processing information through the target processing module instructs how to process information through the target processing module. Therefore, when a computer device runs the target instruction information, it can start the target processing module and process information through the target processing module.
[0047] In this embodiment of the application, considering that the requirements for information processing effects are different under different information processing modes, the information processing modules that need to be controlled and used under different information processing modes will be different. Using the same set of instruction information cannot reflect this difference. Therefore, different instruction information is developed for different information processing modes. By using the instruction information corresponding to the information processing mode, the processing module required by the processing mode can be started to perform information processing. This avoids starting unnecessary information processing modules. On the one hand, the control method of information processing modules is more flexible, and on the other hand, information processing resources can be saved.
[0048] Figure 3 A flowchart illustrating an information processing method provided in an exemplary embodiment of this application is shown. See also: Figure 3 The method includes:
[0049] 300. The terminal receives the target processing instruction.
[0050] The target processing instruction indicates how to process information in the target processing mode. Depending on the needs of the information processing scenario, the target processing instruction can be any instruction.
[0051] Optionally, in image processing scenarios, the target processing instruction is a power-on instruction, a camera switching instruction, a camera shutdown instruction, etc. The power-on instruction, camera switching instruction, and camera shutdown instruction respectively indicate image processing in their respective processing modes. Optionally, in voice processing scenarios, the target processing instruction is a power-on instruction, a target application launch instruction, a recording instruction, etc. The power-on instruction, target application launch instruction, and recording instruction respectively indicate voice processing in their respective processing modes. Optionally, in multimedia display scenarios, the target processing instruction is a power-on instruction, an unlock instruction, a screen-off instruction, etc. The power-on instruction, unlock instruction, and screen-off instruction respectively indicate multimedia information processing and display in their respective display modes. Of course, in the above-mentioned various information processing scenarios, the target processing instruction can also be other instructions, and this application embodiment does not limit this.
[0052] 301. The terminal responds to the target processing instruction and determines the address information corresponding to the target processing mode. This address information indicates the storage address of the target instruction information in the database.
[0053] The target instruction information includes the start instruction for the target processing module and the instructions for processing information through the target processing module.
[0054] Optionally, after storing the target instruction information in the database, the terminal generates address information based on the storage address of the target instruction information in the database, records the address information, and then retrieves the address information when a target processing instruction is received, thereby querying the target instruction information in the database based on the address information.
[0055] 302. The terminal reads the target instruction information from the database based on the address information.
[0056] After the terminal obtains the address information, it queries the database according to the address information and can find the target instruction information. Then, it reads the target instruction information from the database.
[0057] The steps 301-302 described above are only one implementation of the terminal responding to the target processing instruction and reading the target instruction information corresponding to the target processing mode from the database. In other embodiments, the target instruction information can also be read from the database in other ways.
[0058] In one possible implementation, the target processing mode is a boot-up processing mode, and the target processing instruction is a boot instruction. Accordingly, in response to the target processing instruction, the terminal reads the target instruction information corresponding to the target processing mode from the database, including: in response to the boot instruction, the terminal loads the highest-priority target instruction information into the database according to the priority of instruction information corresponding to various processing modes; and then reads the target instruction information corresponding to that target processing mode from the database.
[0059] In this embodiment of the application, considering that the target processing mode is the boot-up processing mode, the priority of the target processing mode is set to the highest priority processing mode among multiple processing modes. In response to the boot command, the target instruction information corresponding to the target processing mode is first loaded into the database, ensuring that the target processing mode can be started immediately after boot.
[0060] In one possible implementation, after the terminal has booted up, it also loads the instruction information (excluding the target instruction information) from the instruction information corresponding to various processing modes into the database. Optionally, the instruction information corresponding to the various processing modes is loaded into different addresses in the database.
[0061] In this embodiment, in response to a power-on command, only the target instruction information corresponding to the target processing mode that is started during power-on is loaded into the database. Only after power-on is complete are the instruction information corresponding to other processing modes loaded into the database. This not only ensures immediate entry into the target processing mode after power-on but also reduces the operations performed during the power-on process, improving power-on speed. Furthermore, by loading the instruction information corresponding to other processing modes into the database, the system can then switch from the target processing mode to other processing modes based on the instruction information corresponding to those other processing modes in the database.
[0062] 303. The terminal responds to the target processing instruction and obtains the processing parameters corresponding to the target processing module in the target processing mode.
[0063] Optionally, the terminal sets different processing parameters for different processing modes and stores the processing parameters corresponding to different processing modes. Upon receiving a target processing instruction, the terminal retrieves the stored processing parameters corresponding to the target processing mode.
[0064] In cases where the target processing module includes multiple processing modules, the terminal acquires the processing parameters corresponding to each of the multiple processing modules under the target processing mode. These processing parameters are arbitrary. For example, in an image processing scenario, the target processing module is the image processing module, and the processing parameters corresponding to the image processing module include white balance parameters, denoising parameters, jitter reduction parameters, and resolution. Similarly, in a speech processing scenario, the target processing module is the speech processing module, and the processing parameters corresponding to the speech processing module include denoising parameters, echo cancellation parameters, and speech gain parameters. In a multimedia display scenario, the target processing module is the multimedia display module, and the processing parameters corresponding to the multimedia display module include resolution, interface refresh rate, and display size. These processing parameters are merely illustrative and are not intended to limit the scope of this application.
[0065] This application embodiment does not restrict the execution order of steps 301 and 302-303. Optionally, when the terminal receives the target processing instruction, steps 303 and 301 are executed in parallel. In this way, the terminal obtains the processing parameters corresponding to the target processing module while obtaining the target instruction information, thereby reducing the time spent processing information in the target processing mode.
[0066] 304. The terminal runs the target instruction information based on the processing parameters to start the target processing module, and the target processing module processes the information according to the processing parameters.
[0067] Optionally, the terminal can input the processing parameters into the target instruction information and then run the target instruction information to start the target processing module and process the information according to the processing parameters through the target processing module.
[0068] In one possible implementation, in step 303, the terminal responds to the target processing instruction and obtains the processing parameters corresponding to the target processing module in the target processing mode, including: the terminal responds to the target processing instruction and obtains the acquisition parameters and processing parameters corresponding to the target processing module in the target processing mode. The acquisition parameters indicate the method of acquiring information, i.e., how to acquire information. Correspondingly, in step 304, the terminal runs the target instruction information based on the processing parameters to start the target processing module, and processes the information according to the processing parameters through the target processing module, including: the terminal runs the target instruction information based on the acquisition parameters and the processing parameters to start the target processing module, acquires information according to the acquisition parameters through the target processing module, and processes the acquired information according to the processing parameters.
[0069] The acquisition parameters are arbitrary. Taking an image processing scenario as an example, the target processing module is the image processing module, and the acquisition parameters corresponding to the image processing module include the frame rate and resolution of image acquisition. Taking a speech processing scenario as an example, the target processing module is the speech processing module, and the acquisition parameters corresponding to the speech processing module include the speech sampling frequency and the frequency range of the acquired speech. The above acquisition parameters are merely illustrative examples, and the embodiments of this application do not impose any limitations on them.
[0070] Optionally, when the target processing module includes multiple processing modules, some of the processing modules are used to collect information, while others are used to process the collected information. In other embodiments, some of the processing modules are used for both collecting and processing information. Furthermore, some of these processing modules may have the same function; for example, if the target processing module includes 10 processing modules, two of which are used to remove noise from the information. Alternatively, each of these processing modules may have a different function than the others; this embodiment does not impose any limitations on this.
[0071] In this embodiment, multiple sets of instruction information are used to completely separate different processing modes at the software level. Different instruction information is adapted for multiple processing modes and compiled separately. Each set of instruction information focuses only on implementing the relevant functions required for its own scenario, and only the processing modules necessary to implement the function are activated, thereby reducing the waste of processing resources and reducing terminal power consumption.
[0072] In addition, since each processing mode has its own set of instruction information, compared to multiple processing modes using the same set of instruction information, the amount of instruction information for each processing mode is greatly reduced because the function it performs is singular. Therefore, the loading and running efficiency is greatly improved.
[0073] Furthermore, a set of instruction information is developed specifically for each processing mode. Different processing modes are implemented through different instruction information, which allows developers to focus only on the functions of each processing mode, reducing the difficulty of software development.
[0074] In this embodiment of the application, considering that the requirements for information processing effects are different under different information processing modes, the information processing modules that need to be controlled and used under different information processing modes will be different. Using the same set of instruction information cannot reflect this difference. Therefore, different instruction information is developed for different information processing modes. By using the instruction information corresponding to the information processing mode, the processing module required by the processing mode can be started to perform information processing. This avoids starting unnecessary information processing modules. On the one hand, the control method of information processing modules is more flexible, and on the other hand, information processing resources can be saved.
[0075] Figure 4 A flowchart illustrating an information processing method provided in an exemplary embodiment of this application is shown. See also: Figure 4 In this embodiment, the information processing process is described from the perspective of the interaction between the information processing service and the operating system. The method includes:
[0076] 401. The terminal receives the target processing instruction through the information processing service, and in response to the target processing instruction, sends an instruction read notification to the operating system.
[0077] The target processing instruction indicates how to process information in the target processing mode. Optionally, the information processing service is an application in the terminal used for information processing. Taking an image processing scenario as an example, the information processing service is an image processing application; taking a voice processing scenario as an example, the information processing service is a voice processing application; taking a multimedia display scenario as an example, the information processing service is a multimedia display application.
[0078] Optionally, the instruction read notification includes the address information of the target instruction information corresponding to the target processing mode in the database. Accordingly, the operating system can read the target instruction information from the database based on this address information.
[0079] In one possible implementation, the terminal responds to the target processing instruction by obtaining the processing parameters corresponding to the target processing module in the target processing mode through the information processing service, and then sending the processing parameters to the operating system.
[0080] Optionally, the terminal sends an instruction read notification to the operating system and obtains processing parameters through the information processing service; these two operations are performed in parallel. Since the time required to obtain processing parameters through the information processing service and send them to the operating system is longer than the time required to send the instruction read notification to the operating system and read the target instruction information from the operating system, obtaining the processing parameters through the information processing service simultaneously with sending the instruction read notification to the operating system ensures that the operating system has already completed reading the target instruction information by the time it obtains the processing parameters. This ensures that reading the target instruction information does not increase the time spent on information processing.
[0081] 402. The terminal receives an instruction read notification through the operating system and, in response to the instruction read notification, reads the target instruction information from the database.
[0082] The target instruction information includes the start instruction for the target processing module and the instructions for processing information through the target processing module.
[0083] Optionally, the instruction read notification includes the address information of the target instruction corresponding to the target processing mode in the database. Accordingly, after receiving the instruction read notification, the operating system queries and reads the target instruction information from the database based on the address information in the instruction read notification.
[0084] The database stores instruction information corresponding to various processing modes, with the target processing mode being any one of these modes. In this embodiment, a separate set of instruction information is developed for each processing mode. This allows for the differentiation of the information processing modules controlled and used by different processing modes through different instruction information. Each instruction information is used only to activate the information processing module required for its corresponding processing mode, without activating other processing modules. This provides greater flexibility in controlling the information processing modules and also saves information processing resources.
[0085] 403. The terminal runs target instruction information through the operating system to start the target processing module and process information through the target processing module.
[0086] In one possible implementation, the terminal executes target instruction information to start a target processing module, and processes information through the target processing module, including: the terminal receiving processing parameters through the operating system, executing target instruction information based on the processing parameters to start the target processing module, and processing information through the target processing module according to the processing parameters.
[0087] In one possible implementation, in step 401, the terminal, in response to the target processing instruction, obtains the processing parameters corresponding to the target processing module in the target processing mode through the information processing service, and sends the processing parameters to the operating system. This includes: the terminal, in response to the target processing instruction, obtains the acquisition parameters and processing parameters corresponding to the target processing module in the target processing mode through the information processing service, and sends the acquisition parameters and processing parameters to the operating system. Correspondingly, in step 403, the terminal, through the operating system, receives the processing parameters, runs the target instruction information based on the processing parameters to start the target processing module, and processes the information according to the processing parameters through the target processing module. This includes: the terminal, through the operating system, receives the acquisition parameters and processing parameters, runs the target instruction information based on the acquisition parameters and processing parameters to start the target processing module, acquires information according to the acquisition parameters through the target processing module, and processes the acquired information according to the processing parameters.
[0088] In this embodiment, through the cooperation between the information processing service and the operating system, when the terminal receives a processing instruction indicating that information should be processed in a certain processing mode, it can initiate that processing mode by reading the instruction information corresponding to that processing mode from the database. Furthermore, when the terminal is in one processing mode and receives a processing instruction indicating that information should be processed in another processing mode, it can flexibly switch information processing modes by switching the read instruction information.
[0089] Furthermore, while the terminal obtains processing parameters through the information processing service, it also sends an instruction read notification to the operating system. Since the operating system reads instruction information very quickly, it has already completed reading the instruction information by the time it receives the processing parameters sent by the information processing service. Therefore, compared to the solution of "developing a set of instruction information for multiple processing modes, storing only this instruction information in the database, and the operating system reading this instruction information by default regardless of the processing mode", storing multiple instruction information in the database and sending instruction read notifications to the operating system through the information processing service to instruct the operating system to read the instruction information corresponding to a certain processing mode will not add extra time consumption.
[0090] Figure 5 A flowchart illustrating an information processing method provided in an exemplary embodiment of this application is shown. See also: Figure 5 In this embodiment, the information processing process is described using an image processing scenario as an example. The method includes:
[0091] 501. In response to the target image processing instruction, the terminal reads the target instruction information corresponding to the target image processing mode from the database.
[0092] The target image processing instruction instructs the acquisition of images in the target image processing mode and the processing of the acquired images. The target instruction information includes the start instruction for the target image processing module and the instruction for processing images through the target image processing module.
[0093] For example, the target image processing instruction is a power-on instruction, which instructs the camera to acquire and process images in AON (Always On) mode. In AON mode, the camera is always on and acquires and processes images at a low frame rate and low resolution. Accordingly, the terminal responds to the power-on instruction by reading the instruction information corresponding to AON mode from the database.
[0094] For example, the target image processing instruction is a camera switching instruction, which instructs the use of a target camera to acquire and process images in normal mode. Here, the target camera is the camera used in AON mode, where the camera acquires and processes images at a high frame rate and high resolution in normal mode. Correspondingly, the terminal responds to this camera switching instruction by retrieving the instruction information for normal mode from the database.
[0095] For example, the target image processing instruction might be a camera shutdown instruction, which instructs the acquisition of images in AON mode and the processing of the acquired images. Correspondingly, the terminal responds to the camera shutdown instruction by retrieving the instruction information corresponding to AON mode from the database.
[0096] It should be noted that the above-mentioned target image processing instructions and corresponding image processing modes are merely illustrative examples, and the embodiments of this application do not impose any limitations on them.
[0097] The database stores instruction information corresponding to various image processing modes, with the target image processing mode being any one of these modes. For example, the database stores instruction information corresponding to AON mode and instruction information corresponding to normal mode. Figure 6 A schematic diagram of a database provided in an embodiment of this application, with reference to... Figure 6 The database stores various instruction information, such as first instruction information, second instruction information, and other instruction information, each of which corresponds to an image processing mode.
[0098] 502. The terminal executes the target instruction information to start the target image processing module, and acquires and processes the acquired images through the target image processing module.
[0099] For example, the target instruction information corresponds to the AON mode. Since the AON mode has lower requirements for image capture frame rate and resolution, the target image processing modules activated by the terminal using the target instruction information are only a portion of the terminal's image processing modules. For instance, the terminal includes 10 image processing modules. Image processing module 9 and image processing module 10 are used to adjust the image's white balance and brightness, respectively. Considering the lower requirements for image capture frame rate and resolution in AON mode, these two image processing modules are unnecessary. Therefore, the target instruction information developed for AON mode is only used to activate the other image processing modules besides image processing modules 9 and 10, rather than activating all image processing modules. This avoids activating unnecessary image processing modules, thereby saving image processing resources.
[0100] For example, the target instruction information is the instruction information corresponding to the normal mode. Since the normal mode has higher requirements for image acquisition frame rate and resolution, the target image processing module started by the terminal running the target instruction information is all the image processing modules in the terminal.
[0101] It should be noted that the image processing modules enabled in the various image processing modes described above are merely illustrative. In other embodiments, the target processing modules corresponding to the image processing modes may differ. For example, in AON mode, the enabled image processing modules do not include processing modules related to autofocus, auto exposure, and auto white balance.
[0102] Figure 7 This is a schematic diagram illustrating an image processing procedure provided in an embodiment of this application. (Reference) Figure 7When the user powers on the terminal, the terminal loads the instruction information corresponding to AON mode into the database. Then, it reads this instruction information from the database and executes it, thereby starting the image processing module corresponding to AON mode. This module then acquires and processes images. Since AON mode is a boot-up processing mode, loading the instruction information corresponding to AON mode into the database first during the boot process ensures that AON mode is entered immediately upon startup. Furthermore, loading the instruction information corresponding to other image processing modes into the database after the terminal has booted up, rather than during the boot process, improves boot speed. Afterward, when the user turns on the camera, the terminal, while disabling the image processing module corresponding to AON mode, reads the instruction information corresponding to normal mode from the database, executes it, and starts the image processing module corresponding to normal mode, which then acquires and processes images. Afterwards, the user turns off the camera. While the terminal disables the image processing module corresponding to the normal mode, it reads the instruction information corresponding to the AON mode from the database and executes it, thereby activating the image processing module corresponding to the AON mode. This module then acquires and processes the image. From the above image processing process, it can be seen that the terminal can flexibly control and use various image processing modules for image acquisition and processing by executing the instruction information corresponding to different image processing modes.
[0103] Figure 8 A flowchart illustrating an information processing method provided in an exemplary embodiment of this application is shown. See also: Figure 8 In this embodiment, the information processing process is described using a voice processing scenario as an example. The method includes:
[0104] 801. The terminal responds to the target speech processing command by reading the target command information corresponding to the target speech processing mode from the database.
[0105] The target speech processing instruction instructs the acquisition of speech in the target speech processing mode and the processing of the acquired speech. The target instruction information includes the start instruction for the target speech processing module and the instruction for processing speech through the target speech processing module.
[0106] For example, the target voice processing command is a power-on command, which instructs the acquisition and processing of voice data in AON mode. In AON mode, the voice acquisition device is always on and acquires and processes voice data at a low frame rate and low resolution. Correspondingly, the terminal responds to the power-on command by retrieving the command information corresponding to AON mode from the database.
[0107] For example, the target voice processing instruction might be a voice call instruction, which directs the acquisition and processing of voice data in normal mode. Normal mode refers to the voice acquisition device acquiring voice data at a high frame rate and high resolution. Correspondingly, the terminal responds to this voice call instruction by retrieving the instruction information for normal mode from the database.
[0108] For example, if the target voice processing command is a recording command, the recording command instructs the acquisition and processing of voice in normal mode. Correspondingly, the terminal responds to the recording command by retrieving the corresponding command information for normal mode from the database.
[0109] It should be noted that the above-mentioned target voice processing instructions and corresponding voice processing modes are merely illustrative examples, and the embodiments of this application do not impose any limitations on them.
[0110] The database stores instruction information corresponding to various voice processing modes, with the target voice processing mode being any one of these modes. For example, the database stores instruction information corresponding to the AON mode and the normal mode.
[0111] 802. The terminal executes the target instruction information to start the target speech processing module, and collects speech through the target speech processing module and processes the collected speech.
[0112] For example, the target instruction information corresponds to the AON mode. Since the requirements for voice acquisition frame rate and resolution are lower in AON mode, the target voice processing modules activated by the terminal using the target instruction information are only a portion of the terminal's voice processing modules. For instance, the terminal includes 10 voice processing modules. Voice processing module 9 and voice processing module 10 are used to adjust voice loudness and remove noise from the voice, respectively. Considering the lower resolution requirements in AON mode, these two voice processing modules are unnecessary. Therefore, the target instruction information developed for AON mode is only used to activate the other voice processing modules besides voice processing modules 9 and 10, rather than activating all voice processing modules. This avoids activating unnecessary voice processing modules, thereby saving voice processing resources.
[0113] For example, the target instruction information is the instruction information corresponding to the normal mode. Since the normal mode has higher requirements for the frame rate and resolution of voice acquisition, the target voice processing module started by the terminal running the target instruction information is all the voice processing modules in the terminal.
[0114] Optionally, AON mode is used for voice wake-up, while normal mode is used for voice calls, recording, etc.
[0115] It should be noted that the voice processing modules enabled in the various voice processing modes described above are merely illustrative. In other embodiments, the target processing module corresponding to the voice processing mode may differ.
[0116] Figure 9 A flowchart illustrating an information processing method provided in an exemplary embodiment of this application is shown. See also: Figure 9 In this embodiment, the information processing process is described using a multimedia display scenario as an example. The method includes:
[0117] 901. In response to the target display command, the terminal reads the target command information and target multimedia information corresponding to the target display mode from the database.
[0118] The database stores instruction information corresponding to various multimedia display modes, with the target display mode being any one of these modes. The target display instruction instructs the processing and display of target multimedia information within the target display mode. The target instruction information includes start instructions for the target display module and instructions for displaying multimedia information through the target display module. The target multimedia information includes at least one of text and image information.
[0119] For example, the target display instruction is a screen-off instruction, which instructs the processing and display of target multimedia information in a first display mode. In this first display mode, the terminal processes the target multimedia information at a low resolution and displays it at a low refresh rate. Correspondingly, in response to the screen-off instruction, the terminal reads the instruction information corresponding to the first display mode from the database.
[0120] For example, the target display instruction may be an unlock instruction, which directs the processing and display of target multimedia information in a second display mode. In this second display mode, the terminal processes the target multimedia information at a high resolution and displays it at a high refresh rate. Accordingly, in response to the unlock instruction, the terminal reads the instruction information corresponding to the second display mode from the database.
[0121] It should be noted that the above-mentioned target display instructions and corresponding multimedia display modes are merely illustrative examples, and the embodiments of this application do not impose any limitations on them.
[0122] 902. The terminal executes target instruction information to start the target display module, and processes and displays the target multimedia information through the target display module.
[0123] For example, the target instruction information corresponds to the first display mode. Since the resolution requirement for the displayed target multimedia information is low in the first display mode, the target display modules activated by the terminal running the target instruction information are only a portion of the display modules in the terminal. For instance, the terminal includes 10 display modules, of which display module 9 and display module 10 are used to adjust the white balance and brightness of the displayed target multimedia information, respectively. Considering the low resolution requirement for the displayed target multimedia information in the first display mode, these two display modules are unnecessary. Therefore, the target instruction information developed for the first display mode is only used to activate the other display modules among these 10 display modules, excluding display modules 9 and 10, rather than activating all display modules. This avoids activating unnecessary display modules, thereby saving voice processing resources.
[0124] For example, the target instruction information is the instruction information corresponding to the second display mode. Since the resolution requirement for the target multimedia information to be displayed is high under the second display mode, the target display module started by the terminal running the target instruction information is all the display modules in the terminal.
[0125] Optionally, the first display mode is used to display multimedia information in the screen-off state, and the second display mode is used to display multimedia information in the non-screen-off state.
[0126] It should be noted that the low acquisition frame rate, low resolution, high acquisition frame rate, and high resolution mentioned in the above embodiments are measured using thresholds. For example, an acquisition frame rate lower than the reference frame rate is called a low acquisition frame rate, a resolution lower than the reference resolution is called a low resolution, an acquisition frame rate higher than the reference frame rate is called a high acquisition frame rate, and a resolution higher than the reference resolution is called a high resolution.
[0127] Another point to note is that the above-described multiple method embodiments can be combined in any way, and the embodiments of this application do not impose any restrictions on this.
[0128] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0129] Please refer to Figure 10 This illustration shows a structural block diagram of an information processing apparatus provided in an exemplary embodiment of this application. The information processing apparatus is applied to a computer device and includes:
[0130] The instruction information reading unit 1001 is used to read the target instruction information corresponding to the target processing mode from the database in response to the target processing instruction. The target processing instruction indicates that information is processed in the target processing mode. The target instruction information includes the start instruction for the target processing module and the instruction for processing information through the target processing module.
[0131] The instruction information execution unit 1002 is used to execute target instruction information to start the target processing module and process information through the target processing module;
[0132] The database stores instruction information corresponding to various processing modes, and the target processing mode is any one of these processing modes.
[0133] In one possible implementation, the instruction information reading unit 1001 is used to determine the address information corresponding to the target processing mode in response to the target processing instruction, wherein the address information indicates the storage address of the target instruction information in the database; and read the target instruction information from the database based on the address information.
[0134] In one possible implementation, the target processing mode is a boot-up processing mode, the target processing instruction is a boot instruction, and the instruction information reading unit 1001 is used to respond to the boot instruction, load the highest priority target instruction information into the database according to the priority of instruction information corresponding to multiple processing modes, and read the target instruction information from the database.
[0135] In one possible implementation, the instruction information reading unit 1001 is also used to load other instruction information, excluding the target instruction information, from the instruction information corresponding to multiple processing modes into the database after the power-on is completed.
[0136] In one possible implementation, the device further includes:
[0137] The processing parameter acquisition unit is used to acquire the processing parameters corresponding to the target processing module in the target processing mode in response to the target processing instruction.
[0138] The instruction information execution unit 1002 is used to execute target instruction information based on processing parameters to start the target processing module, and to process the information according to the processing parameters through the target processing module.
[0139] In one possible implementation, the parameter acquisition unit is used to acquire the acquisition parameters and processing parameters corresponding to the target processing module in the target processing mode in response to the target processing instruction.
[0140] The instruction information execution unit 1002 is used to execute target instruction information based on the acquisition parameters and processing parameters to start the target processing module. The target processing module acquires information according to the acquisition parameters and processes the acquired information according to the processing parameters.
[0141] In one possible implementation, the instruction information reading unit 1001 is used to receive a target processing instruction through an information processing service, and in response to the target processing instruction, send an instruction reading notification to the operating system; and receive the instruction reading notification through the operating system, and in response to the instruction reading notification, read the target instruction information from the database.
[0142] In one possible implementation, the device further includes:
[0143] The processing parameter acquisition unit is used to respond to the target processing instruction by acquiring the processing parameters corresponding to the target processing module in the target processing mode through the information processing service, and sending the processing parameters to the operating system.
[0144] The instruction information execution unit 1002 is used to receive processing parameters through the operating system, execute target instruction information based on the processing parameters to start the target processing module, and process the information according to the processing parameters through the target processing module.
[0145] In one possible implementation, the instruction information reading unit 1001 is used to read target instruction information corresponding to the target image processing mode from the database in response to the target image processing instruction. The target image processing instruction indicates that an image is acquired in the target image processing mode and that the acquired image is processed. The target instruction information includes a start instruction for the target image processing module and an instruction to process the image through the target image processing module.
[0146] The instruction information execution unit 1002 is used to execute target instruction information to start the target image processing module, and to acquire images through the target image processing module and process the acquired images.
[0147] The database stores instruction information corresponding to various image processing modes, and the target image processing mode is any one of these modes.
[0148] In one possible implementation, the instruction information reading unit 1001 is used to read the target instruction information corresponding to the target speech processing mode from the database in response to the target speech processing instruction. The target speech processing instruction indicates that speech is collected in the target speech processing mode and that the collected speech is processed. The target instruction information includes a start instruction for the target speech processing module and an instruction to process speech through the target speech processing module.
[0149] The instruction information execution unit 1002 is used to execute target instruction information to start the target speech processing module, and to collect speech through the target speech processing module and process the collected speech.
[0150] The database stores instruction information corresponding to various speech processing modes, and the target speech processing mode is any one of these modes.
[0151] In one possible implementation, the instruction information reading unit 1001 is used to read target instruction information and target multimedia information corresponding to the target display mode from the database in response to the target display instruction. The target display instruction indicates that the target multimedia information is processed and displayed in the target display mode. The target instruction information includes a start instruction for the target display module and an instruction to display multimedia information through the target display module.
[0152] The instruction information execution unit 1002 is used to execute target instruction information to start the target display module, process the target multimedia information through the target display module, and display the target multimedia information.
[0153] The database stores instruction information corresponding to various multimedia display modes, and the target display mode is any one of these multimedia display modes.
[0154] In this embodiment of the application, considering that the requirements for information processing effects are different under different information processing modes, the information processing modules that need to be controlled and used under different information processing modes will be different. Using the same set of instruction information cannot reflect this difference. Therefore, different instruction information is developed for different information processing modes. By using the instruction information corresponding to the information processing mode, the processing module required by the processing mode can be started to perform information processing. This avoids starting unnecessary information processing modules. On the one hand, the control method of information processing modules is more flexible, and on the other hand, information processing resources can be saved.
[0155] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0156] This application provides a computer device including a processor and a memory; the memory stores at least one piece of program code, which is executed by the processor to implement the information processing method provided in the above-described method embodiments.
[0157] In some embodiments, the computer device is a terminal; please refer to [reference needed]. Figure 11 This diagram illustrates a structural block diagram of a terminal provided in an exemplary embodiment of this application. In some embodiments, the terminal 1100 is a smartphone, tablet, wearable device, or other terminal capable of accessing a wireless local area network as a wireless station. The terminal 1100 in this application includes at least one or more of the following components: a processor 1110, a memory 1120, and at least two wireless links 1130.
[0158] In some embodiments, processor 1110 includes one or more processing cores. Processor 1110 connects to various parts within terminal 1100 using various interfaces and lines, and performs various functions and processes data of terminal 1100 by running or executing program code stored in memory 1120 and calling data stored in memory 1120. In some embodiments, processor 1110 is implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 1110 can integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), Neural-network Processing Unit (NPU), and modem. Specifically, the CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display on the screen; the NPU is used to implement Artificial Intelligence (AI) functions; and the modem is used for wireless communication. It is understandable that the aforementioned modem could also be implemented as a separate chip without being integrated into the processor 1110.
[0159] In some embodiments, the processor 1110 is used to control the operating status of at least two wireless links 1130. Accordingly, the processor 1110 is a processor integrating a Wireless Fidelity (Wi-Fi) chip. This Wi-Fi chip is a chip with dual Wi-Fi processing capabilities. For example, the Wi-Fi chip is a dual-band dual-concurrent (DBDC) chip, or a dual-band simultaneous (DBS) chip, etc.
[0160] In some embodiments, memory 1120 includes random access memory (RAM), and in some embodiments, memory 1120 includes read-only memory (ROM). In some embodiments, memory 1120 includes non-transitory computer-readable storage medium. Memory 1120 can be used to store program code. Memory 1120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), instructions for implementing the various method embodiments described below, etc.; the data storage area may store data created based on the use of terminal 1100 (such as audio data, phonebook, etc.).
[0161] In some embodiments, the memory 1120 stores reception schemes for different wireless links 1130 receiving beacon frames, as well as identifiers of access nodes connected to different wireless links 1130, identifiers of wireless links 1130, etc.
[0162] The at least two wireless links 1130 are used to connect different access points (APs). They receive downlink data from the APs. These different access points can be access points within the same router or access points within different routers.
[0163] In some embodiments, the terminal 1100 further includes a display screen. The display screen is a display component used to display a user interface. In some embodiments, the display screen is a touch-enabled display screen, allowing users to perform touch operations on the display screen using fingers, styluses, or any suitable object. In some embodiments, the display screen is typically located on the front panel of the terminal 1100. In some embodiments, the display screen is designed as a full-screen, curved screen, irregularly shaped screen, dual-sided screen, or foldable screen. In some embodiments, the display screen is also designed as a combination of a full-screen and a curved screen, or a combination of an irregularly shaped screen and a curved screen, etc., which are not limited in this embodiment.
[0164] In addition, those skilled in the art will understand that the structure of the terminal 1100 shown in the above figures does not constitute a limitation on the terminal 1100. The terminal 1100 may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the terminal 1100 may also include components such as a microphone, speaker, input unit, sensor, audio circuit, module, power supply, and Bluetooth module, which will not be described in detail here.
[0165] In some embodiments, the computer device is a server; please refer to [reference needed]. Figure 12 This diagram illustrates a structural block diagram of a server provided in an exemplary embodiment of this application. The server 1200 can vary significantly due to different configurations or performance characteristics. It may include one or more Central Processing Units (CPUs) 1201 and one or more memories 1202. The memories 1202 store at least one computer program, which is loaded and executed by the processor 1201 to implement the methods provided in the various method embodiments described above. Of course, the server may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input / output. The server may also include other components for implementing device functions, which will not be elaborated upon here.
[0166] This application also provides a computer-readable medium storing at least one piece of program code, which is loaded and executed by the processor to implement the information processing methods shown in the above embodiments.
[0167] This application also provides a computer program product that stores at least one piece of program code, which is loaded and executed by the processor to implement the information processing methods shown in the above embodiments.
[0168] This application also provides a chip including programmable logic circuits and / or program instructions, which, when run on a computer device, are used to implement the information processing methods shown in the above embodiments.
[0169] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0170] Those skilled in the art will understand that all or part of the steps in the information processing method of the above embodiments can be implemented by hardware, or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk. The above descriptions are merely optional embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. An information processing method, characterized in that, The method includes: In response to a target processing instruction, target instruction information corresponding to a target processing mode is read from the database. The target processing instruction indicates that information is processed in the target processing mode. The target instruction information includes a start instruction for the target processing module and an instruction to process information through the target processing module. The target instruction information is executed to start the target processing module and process information through the target processing module; wherein, the database stores instruction information corresponding to multiple processing modes, and the target processing mode is any one of the multiple processing modes; The step of responding to a target processing instruction by reading target instruction information corresponding to the target processing mode from the database includes: In response to a target image processing instruction, target instruction information corresponding to a target image processing mode is read from the database. The target image processing instruction indicates that an image is acquired and processed in the target image processing mode. The target instruction information includes a start instruction for the target image processing module and an instruction to process the image through the target image processing module. The execution of the target instruction information to start the target processing module, and the processing of information by the target processing module, includes: The target instruction information is executed to start the target image processing module, and to acquire and process images through the target image processing module. The database stores instruction information corresponding to various image processing modes, and the target image processing mode is any one of the various image processing modes.
2. The method according to claim 1, characterized in that, The step of responding to a target processing instruction by reading target instruction information corresponding to the target processing mode from the database includes: In response to the target processing instruction, address information corresponding to the target processing mode is determined, and the address information indicates the storage address of the target instruction information in the database; Based on the address information, the target instruction information is read from the database.
3. The method according to claim 1, characterized in that, The target processing mode is a boot-up processing mode, the target processing instruction is a boot instruction, and the step of responding to the target processing instruction by reading the target instruction information corresponding to the target processing mode from the database includes: In response to the power-on command, the target command information with the highest priority is loaded into the database according to the priority of the command information corresponding to the multiple processing modes; Read the target instruction information from the database.
4. The method according to claim 3, characterized in that, The method further includes: Once the power-on process is complete, the instruction information other than the target instruction information from the instruction information corresponding to the various processing modes is loaded into the database.
5. The method according to claim 1, characterized in that, The method further includes: In response to the target processing instruction, the processing parameters corresponding to the target processing module in the target processing mode are obtained; The execution of the target instruction information to start the target processing module, and the processing of information by the target processing module, includes: The target instruction information is executed based on the processing parameters to start the target processing module, and the information is processed by the target processing module according to the processing parameters.
6. The method according to claim 5, characterized in that, The step of obtaining the processing parameters corresponding to the target processing module in the target processing mode in response to the target processing instruction includes: In response to the target processing instruction, the acquisition parameters and processing parameters corresponding to the target processing module are obtained in the target processing mode; The step of running the target instruction information based on the processing parameters to start the target processing module, and processing the information by the target processing module according to the processing parameters, includes: The target instruction information is executed based on the acquisition parameters and the processing parameters to start the target processing module. The target processing module acquires information according to the acquisition parameters and processes the acquired information according to the processing parameters.
7. The method according to claim 1, characterized in that, The step of responding to a target processing instruction by reading target instruction information corresponding to the target processing mode from the database includes: The system receives the target processing instruction through the information processing service and, in response to the target processing instruction, sends an instruction read notification to the operating system. The operating system receives the instruction read notification and, in response to the instruction read notification, reads the target instruction information from the database.
8. The method according to claim 7, characterized in that, The method further includes: In response to the target processing instruction, the processing parameters corresponding to the target processing module in the target processing mode are obtained through the information processing service, and the processing parameters are sent to the operating system. The execution of the target instruction information to start the target processing module, and the processing of information by the target processing module, includes: The operating system receives the processing parameters, executes the target instruction information based on the processing parameters to start the target processing module, and processes the information according to the processing parameters through the target processing module.
9. The method according to any one of claims 1-8, characterized in that, The step of responding to a target processing instruction by reading target instruction information corresponding to the target processing mode from the database includes: In response to a target speech processing instruction, target instruction information corresponding to a target speech processing mode is read from the database. The target speech processing instruction instructs the acquisition of speech and the processing of the acquired speech in the target speech processing mode. The target instruction information includes a start instruction for the target speech processing module and an instruction to process speech through the target speech processing module. The execution of the target instruction information to start the target processing module, and the processing of information by the target processing module, includes: The target instruction information is executed to start the target speech processing module, and speech is collected and processed through the target speech processing module. The database stores instruction information corresponding to various speech processing modes, and the target speech processing mode is any one of the various speech processing modes.
10. The method according to any one of claims 1-8, characterized in that, The step of responding to a target processing instruction by reading target instruction information corresponding to the target processing mode from the database includes: In response to a target display instruction, target instruction information and target multimedia information corresponding to a target display mode are read from the database. The target display instruction instructs the target multimedia information to be processed and displayed in the target display mode. The target instruction information includes a start instruction for the target display module and an instruction to display multimedia information through the target display module. The execution of the target instruction information to start the target processing module, and the processing of information by the target processing module, includes: The target instruction information is executed to start the target display module, and the target multimedia information is processed and displayed through the target display module. The database stores instruction information corresponding to various multimedia display modes, and the target display mode is any one of the various multimedia display modes.
11. An information processing device, characterized in that, The device includes: The instruction information reading unit is used to read target instruction information corresponding to the target processing mode from the database in response to the target processing instruction. The target processing instruction indicates that information is processed in the target processing mode. The target instruction information includes a start instruction for the target processing module and an instruction to process information through the target processing module. The instruction information execution unit is used to execute the target instruction information to start the target processing module and process information through the target processing module; wherein, the database stores instruction information corresponding to multiple processing modes, and the target processing mode is any one of the multiple processing modes; The instruction information reading unit is used to read target instruction information corresponding to the target image processing mode from the database in response to the target image processing instruction. The target image processing instruction indicates that an image is acquired and the acquired image is processed in the target image processing mode. The target instruction information includes a start instruction for the target image processing module and an instruction to process the image through the target image processing module. The instruction information execution unit is used to execute the target instruction information to start the target image processing module, and to acquire and process the acquired image through the target image processing module. The database stores instruction information corresponding to various image processing modes, and the target image processing mode is any one of the various image processing modes.
12. The apparatus according to claim 11, characterized in that, The instruction information reading unit is used to determine the address information corresponding to the target processing mode in response to the target processing instruction, wherein the address information indicates the storage address of the target instruction information in the database; Based on the address information, the target instruction information is read from the database.
13. The apparatus according to claim 11, characterized in that, The target processing mode is a boot-up processing mode, the target processing instruction is a boot instruction, and the instruction information reading unit is used to respond to the boot instruction, load the target instruction information with the highest priority into the database according to the priority of the instruction information corresponding to the multiple processing modes, and read the target instruction information from the database.
14. The apparatus according to claim 13, characterized in that, The instruction information reading unit is used to load the instruction information other than the target instruction information from the instruction information corresponding to the multiple processing modes into the database when the power-on is completed.
15. The apparatus according to claim 11, characterized in that, The device further includes: A processing parameter acquisition unit is used to acquire, in response to the target processing instruction, the processing parameters corresponding to the target processing module in the target processing mode; The instruction information execution unit is used to execute the target instruction information based on the processing parameters to start the target processing module, and to process the information according to the processing parameters through the target processing module.
16. The apparatus according to claim 15, characterized in that, The processing parameter acquisition unit is used to acquire, in response to the target processing instruction, the acquisition parameters and processing parameters corresponding to the target processing module in the target processing mode; The instruction information execution unit is used to execute the target instruction information based on the acquisition parameters and the processing parameters to start the target processing module, and the target processing module acquires information according to the acquisition parameters and processes the acquired information according to the processing parameters.
17. The apparatus according to claim 11, characterized in that, The instruction information reading unit is configured to receive the target processing instruction through an information processing service, and in response to the target processing instruction, send an instruction reading notification to the operating system; and receive the instruction reading notification through the operating system, and in response to the instruction reading notification, read the target instruction information from the database.
18. The apparatus according to claim 17, characterized in that, The device further includes: A processing parameter acquisition unit is used to, in response to the target processing instruction, acquire the processing parameters corresponding to the target processing module in the target processing mode through the information processing service, and send the processing parameters to the operating system; The instruction information execution unit is used to receive the processing parameters through the operating system, execute the target instruction information based on the processing parameters to start the target processing module, and process the information according to the processing parameters through the target processing module.
19. The apparatus according to any one of claims 11-18, characterized in that, The instruction information reading unit is used to read target instruction information corresponding to the target speech processing mode from the database in response to the target speech processing instruction. The target speech processing instruction indicates that speech is collected and processed in the target speech processing mode. The target instruction information includes a start instruction for the target speech processing module and an instruction to process speech through the target speech processing module. The instruction information execution unit is used to execute the target instruction information to start the target speech processing module, and to collect speech through the target speech processing module and process the collected speech. The database stores instruction information corresponding to various speech processing modes, and the target speech processing mode is any one of the various speech processing modes.
20. The apparatus according to any one of claims 11-18, characterized in that, The instruction information reading unit is used to read target instruction information and target multimedia information corresponding to the target display mode from the database in response to the target display instruction. The target display instruction instructs the target multimedia information to be processed and displayed in the target display mode. The target instruction information includes a start instruction for the target display module and an instruction to display multimedia information through the target display module. The instruction information execution unit is used to execute the target instruction information to start the target display module, and to process and display the target multimedia information through the target display module. The database stores instruction information corresponding to various multimedia display modes, and the target display mode is any one of the various multimedia display modes.
21. A computer device, characterized in that, The computer device includes a processor and a memory; the memory stores at least one piece of program code, which is executed by the processor to implement the information processing method as described in any one of claims 1 to 10.
22. A computer-readable storage medium, characterized in that, The storage medium stores at least one piece of program code, which is executed by a processor to implement the information processing method as described in any one of claims 1 to 10.
23. A chip, characterized in that, The chip includes programmable logic circuits and / or program instructions, which, when the chip is run on a computer device, are used to implement the information processing method as described in any one of claims 1 to 10.