Data Processing Method, Apparatus and Medium

By migrating software-related algorithms in the IC in the terminal device to the application processor, and only hardware-related algorithms are retained in the IC, the problem of insufficient IC storage space is solved, reducing costs and improving terminal performance.

CN113835612BActive Publication Date: 2025-05-27BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010584314.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-24
Publication Date
2025-05-27
Estimated Expiration
2040-06-24

AI Technical Summary

Technical Problem

In existing terminal devices, firmware stored in integrated circuits (ICs) occupy a large amount of storage space, resulting in increased device costs.

Method used

The storage requirements of firmware in the IC are reduced by placing the software-related algorithms in the terminal in the application processor, while only hardware-related algorithms are retained in the IC.

Benefits of technology

Saves IC storage space, reduces device costs, and improves terminal performance to meet the complex needs of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113835612B_ABST
    Figure CN113835612B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a data processing method, apparatus, and medium. The method is applied to a terminal and includes: obtaining data to be processed through an integrated circuit on the terminal; sending the data to be processed to an application processor of the terminal; and the application processor processing the data to be processed to generate result data. By adopting this method, it is not necessary to store too much firmware in the IC, saving the storage space of the IC and thus reducing the device cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of intelligent terminals, and particularly to a data processing method, apparatus, and medium. Background Art

[0002] Currently, for terminals such as mobile phones, most of their peripheral devices adopt integrated circuits (ICs) from third-party manufacturers. Taking the touch screen as an example, the whole machine manufacturers basically purchase and use the devices from suppliers. As the number of terminal users increases and the performance requirements of terminal users for terminals become higher and higher, the storage space required by IC devices becomes larger and larger. Therefore, the cost of the devices also continues to increase.

[0003] The firmware integrated by manufacturers in the IC mainly includes algorithms related to hardware and algorithms related to software. These firmware integrated in the IC occupy a large amount of storage space of the IC, thus affecting the operation of the IC. To solve this problem, it is necessary to continuously expand the storage space of the IC, which in turn increases the device cost. Summary of the Invention

[0004] To overcome the problems existing in the related art, the present disclosure provides a data processing method, apparatus, and medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a data processing method is provided. The method is applied to a terminal and includes:

[0006] Obtain data to be processed through an integrated circuit on the terminal;

[0007] Send the data to be processed to an application processor of the terminal;

[0008] The application processor processes the data to be processed to generate result data.

[0009] Wherein, the method further includes:

[0010] Set firmware related to hardware in the integrated circuit;

[0011] Set a software algorithm library in the application processor.

[0012] Wherein, the sending the data to be processed to the application processor of the terminal includes:

[0013] Send the data to be processed to a driver module on the terminal;

[0014] The driver module sends the data to be processed to the application processor.

[0015] Wherein, the obtaining the result data by the operating system of the terminal includes:

[0016] The application processor sends the result data to the driving module on the terminal;

[0017] The driving module sends the result data to the operating system application layer.

[0018] Among them, obtaining the data to be processed through the integrated circuit on the terminal includes:

[0019] Obtaining the data to be processed through the firmware related to the hardware in the integrated circuit.

[0020] Among them, the application processor processes the data to be processed and generates result data, including:

[0021] The application processor processes the data to be processed through the firmware related to the software to generate result data.

[0022] Among them, the method further includes:

[0023] The operating system sends the configuration information of the function switch to the application processor;

[0024] The application processor controls the integrated circuit to execute operations related to the configuration information of the function switch through the firmware related to the software.

[0025] According to the second aspect of the embodiments of the present disclosure, a data processing device is provided. The device is applied to a terminal and includes:

[0026] An integrated circuit configured to obtain data to be processed;

[0027] An application processor configured to receive the data to be processed, process the data to be processed, and generate result data.

[0028] Among them, hardware-related firmware is set in the integrated circuit;

[0029] A software algorithm library is set in the application processor.

[0030] Among them, the device further includes a driving module configured to:

[0031] Receive the data to be processed sent by the integrated circuit;

[0032] Send the data to be processed to the application processor.

[0033] Among them, the application processor is further configured to send the result data to the driving module in the device;

[0034] The driving module is further configured to send the result data to the operating system application layer.

[0035] Wherein, the integrated circuit is further configured to:

[0036] Obtain the data to be processed through the firmware related to the hardware in the integrated circuit.

[0037] Wherein, the application processor is further configured to:

[0038] The application processor processes the data to be processed through the firmware related to the software, and generates result data.

[0039] Wherein, the application processor is further configured to:

[0040] Receive the configuration information of the function switch sent by the operating system;

[0041] Through the firmware related to the software, control the integrated circuit to execute operations related to the configuration information of the function switch.

[0042] According to a third aspect of the embodiments of the present disclosure, there is provided a data processing device, including:

[0043] A processor;

[0044] A memory for storing processor-executable instructions;

[0045] Wherein, the processor is configured to:

[0046] Obtain the data to be processed through the integrated circuit on the terminal;

[0047] Send the data to be processed to the application processor of the terminal;

[0048] The application processor processes the data to be processed and generates result data.

[0049] According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the router, a data processing method can be executed. The method includes:

[0050] Obtain the data to be processed through the integrated circuit on the terminal;

[0051] Send the data to be processed to the application processor of the terminal;

[0052] The application processor processes the data to be processed and generates result data.

[0053] The present disclosure provides a data processing method. In this method, data to be processed is acquired through an integrated circuit on a terminal; the data to be processed is sent to an application processor of the terminal; the application processor processes the data to be processed to generate result data; and the result data is acquired by the operating system of the terminal. In the present disclosure, algorithms (firmware) related to software in the IC are set in the application processor of the terminal, and only algorithms related to hardware are retained in the IC. In this way, it is not necessary to store too much firmware in the IC, saving the storage space of the IC, thereby reducing the device cost. Since the unnecessary IC space requirements are reduced, the overall cost of the terminal is reduced. Moreover, this method is conducive to meeting the increasingly complex needs of users, improving product quality, and promoting third-party manufacturers to research more complex algorithms. In addition, this method changes the traditional black-box development to gray-box development or even complete white-box development.

[0054] By using the above method, the data to be processed is processed through the firmware set in the application processor, which not only saves the storage space in the integrated circuit but also reduces the operating burden in the integrated circuit, thereby reducing the requirements for the storage space and processing capacity of the integrated circuit, and further reducing the device cost.

[0055] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present invention, and are used together with the specification to explain the principles of the present invention.

[0057] Figure 1 is a schematic diagram of a firmware separation framework shown according to an exemplary embodiment.

[0058] Figure 2 is a flowchart of a data processing method shown according to an exemplary embodiment.

[0059] Figure 3 is a schematic diagram of a data processing process shown according to an exemplary embodiment.

[0060] Figure 4 is a flowchart of a data processing method shown according to an exemplary embodiment.

[0061] Figure 5 is a block diagram of a data processing device shown according to an exemplary embodiment.

[0062] Figure 6 is a block diagram of a device shown according to an exemplary embodiment.

[0063] Figure 7It is a block diagram of a device shown according to an exemplary embodiment. Detailed implementation

[0064] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0065] The firmware integrated by the manufacturer in the IC mainly includes algorithms related to hardware and algorithms related to software. Algorithms related to hardware are, for example, algorithms related to hardware circuits, and algorithms related to software are, for example, denoising processing, calculating the touch screen position, and algorithms related to the user's application scenario. The firmware integrated in the IC occupies a large amount of storage space of the IC, thus affecting the operation of the IC. To solve this problem, it is necessary to continuously expand the storage space of the IC, which in turn increases the device cost.

[0066] The present disclosure provides a data processing method. In this method, the data to be processed is obtained through the integrated circuit on the terminal; the data to be processed is sent to the application processor of the terminal; the application processor processes the data to be processed to generate result data; and the result data is obtained by the operating system of the terminal. In the present disclosure, the software-related algorithms (firmware) in the IC are set in the application processor of the terminal, and only the hardware-related algorithms are retained in the IC. In this way, it is not necessary to store too much firmware in the IC, saving the storage space of the IC, thereby reducing the device cost and enhancing the user product experience.

[0067] Figure 1 Shows the firmware separation framework in the data processing method of the present disclosure. The overall firmware is divided into a software algorithm part and a hardware algorithm part, that is, a software algorithm library and hardware-related firmware. Among them, the hardware-related firmware is executed on the IC side, and the software algorithm library is executed in the application processor of the terminal. The software algorithm library is responsible for data processing related to complex scenarios and denoising processing, and the hardware-related firmware is responsible for processing related to the original data, that is, data processing related to the hardware circuit.

[0068] The present disclosure provides a data processing method, which is used for a terminal. The terminal here can be a smart terminal used by a user, including a mobile phone, a tablet computer, a wearable device, etc. Figure 2 It is a flowchart of a data processing method shown according to an exemplary embodiment, including the following steps:

[0069] Step 201, obtain the data to be processed through the integrated circuit on the terminal;

[0070] Step 202: Send the data to be processed to the application processor of the terminal.

[0071] Step 203: The application processor processes the data to be processed to generate result data.

[0072] In step 201, the data to be processed is obtained through an integrated circuit on the terminal. The data to be processed here refers to data related to the user's application scenario, that is, data collected on the user's application situation. For example, when the user inputs through the touch screen, the data to be processed is the data collected related to the touch position. And the data to be processed here is data that needs to be processed by software-related firmware.

[0073] In steps 202 and 203, the collected data to be processed is sent to the application processor of the terminal, so that the application processor processes it through relevant firmware to generate result data.

[0074] Finally, the result data is obtained by the operating system of the terminal to perform relevant system operations. Specifically, for example, when the operating system is the Android system, the result data is sent to the upper layer of the Android system, that is, the application layer of the Android system.

[0075] Using the above method, the data to be processed is processed through the firmware set in the application processor, which not only saves the storage space in the integrated circuit but also reduces the operation burden in the integrated circuit, thereby reducing the requirements for the storage space and processing capacity of the integrated circuit, and further reducing the device cost.

[0076] In an alternative embodiment, the method further includes:

[0077] Set hardware-related firmware in the integrated circuit;

[0078] Set a software algorithm library in the application processor.

[0079] An algorithm (firmware) related to the hardware is set in the integrated circuit, and the data to be processed is collected through the hardware-related firmware. The algorithm (firmware) related to the software, that is, the software algorithm library, is set in the application processor (Application Processor, AP) of the terminal. The operating system, user interface, and application programs usually run in the application processor. In the present disclosure, the software algorithm library is set in the application processor, and the application processor processes the data related to the user's application scenario through the software algorithm library. The hardware-related firmware is used to process, for example, the raw data obtained by the hardware circuit, and the software algorithm library is used to perform, for example, denoising processing and setting of the user's application scenario.

[0080] By adopting this method, on the one hand, the storage space of the IC is saved because the software algorithm library is no longer stored in the IC; on the other hand, the operating burden of the IC is reduced because there is no need to perform relevant data processing in the IC.

[0081] In an alternative embodiment, the sending the data to be processed to the application processor of the terminal includes:

[0082] Sending the data to be processed to a driver module on the terminal;

[0083] The driver module sends the data to be processed to the application processor.

[0084] The driver module here is, for example, a touch screen driver program module. In this embodiment, after the IC acquires the data to be processed through the hardware-related firmware, it reports the data to be processed to the touch screen driver program module, and then the touch screen driver program module reports the data to be processed to the application processor.

[0085] In an alternative embodiment, the obtaining the result data by the operating system of the terminal includes:

[0086] The application processor sends the result data to a driver module on the terminal;

[0087] The driver module sends the result data to the operating system application layer.

[0088] The application processor processes the data to be processed through the software algorithm library set therein and obtains the result data. In some operating systems (such as the Android operating system), due to system reasons, the application processor cannot directly report the result data to the operating system application layer. Therefore, the application processor needs to send the result data to a driver module (such as a touch screen driver program module), and the driver module reports the result data to the operating system application layer. The operating system application layer here is, for example, the upper layer of the Android operating system.

[0089] In an alternative embodiment, the obtaining the data to be processed through the integrated circuit on the terminal includes:

[0090] Obtaining the data to be processed through the firmware related to the hardware in the integrated circuit.

[0091] The integrated circuit is provided with firmware related to the hardware. Through this firmware related to the hardware, the data to be processed is obtained. For example, the user touch screen position data is obtained through the firmware related to the hardware.

[0092] In an alternative embodiment, the application processor processes the data to be processed and generates the result data, including:

[0093] The application processor processes the data to be processed through the firmware related to software, and generates result data.

[0094] The application processor in the terminal usually runs multimedia function applications, such as functions for taking photos and videos, playing audio and videos, game interactions, etc. Functions such as digital cameras, MP3 players, FM radio reception, and video image playback. In this method, the software algorithm library originally set in the terminal IC is moved to the application processor, that is, the data to be processed collected by the IC is processed in the application processor, rather than processing the data to be processed in the IC. This not only saves the storage space required for storing the software algorithm library in the IC, but also reduces the processing burden of the IC running the firmware.

[0095] In an alternative embodiment, the method further includes:

[0096] The operating system sends the configuration information of the function switch to the application processor;

[0097] The application processor controls the integrated circuit to perform operations related to the configuration information of the function switch through the firmware related to software.

[0098] As Figure 3 shown, in this embodiment, the operating system application layer (such as the upper layer of the Android system) sends the configuration information of the function switch to the application processor. The function switch herein is, for example, to turn on the interface display. The application processor selects a corresponding algorithm from the dynamic algorithm library (software algorithm library) set thereon based on the received configuration information of the function switch, and then controls the IC to perform related operations through the driver module (touch screen driver program module). Here, the response operation of the IC is controlled by selecting the firmware corresponding to the configuration information of the function switch in the application processor. This response process is different from the process of directly transmitting the configuration information of the function switch from the operating system application layer to the IC for the IC to respond.

[0099] The present disclosure also provides a specific embodiment according to the above method. In this embodiment, the terminal is a mobile phone, the operating system of the mobile phone is the Android operating system, the mobile phone includes an IC and an application processor, and the data to be processed collected by the IC is the user touch screen position data. The processing process of the method in this embodiment can be referred to Figure 3 shown, where the scan control means that the software algorithm in the application processor controls the IC to work through the touch drive module. Specifically, as Figure 4 shown, this embodiment includes the following steps:

[0100] Step 401, set the hardware-related firmware in the IC and set the software algorithm library in the application processor.

[0101] Step 402: Collect the user's touch screen position data through the hardware-related firmware in the IC as the raw data to be processed.

[0102] Step 403: The IC reports the raw data to be processed to the touch screen driver module.

[0103] Step 404: The touch screen driver module reports the received raw data to be processed to the application processor.

[0104] Step 405: The application processor processes the raw data to be processed through the software algorithm library therein to obtain the result data, i.e., the reported coordinates.

[0105] Step 406: The application processor sends the result data to the touch screen driver module.

[0106] Step 407: The touch screen driver module reports the result data to the Android system application layer.

[0107] The present disclosure also provides a data processing device, as Figure 5 shown, the device includes:

[0108] An integrated circuit 501, configured to obtain the data to be processed;

[0109] An application processor 502, configured to receive the data to be processed, process the data to be processed, and generate result data.

[0110] In an alternative embodiment, hardware-related firmware is provided in the integrated circuit;

[0111] A software algorithm library is provided in the application processor.

[0112] In an alternative embodiment, the device further includes a driver module, configured to:

[0113] Receive the data to be processed sent by the integrated circuit;

[0114] Send the data to be processed to the application processor.

[0115] In an alternative embodiment, the application processor 502 is further configured to send the result data to the driver module in the device;

[0116] The driver module is further configured to send the result data to the operating system application layer.

[0117] In an alternative embodiment, the integrated circuit 501 is further configured to:

[0118] Obtain the data to be processed through the firmware related to hardware in the integrated circuit.

[0119] In an alternative embodiment, the application processor 502 is further configured to:

[0120] The application processor processes the data to be processed through the firmware related to software to generate result data.

[0121] In an alternative embodiment, the application processor 502 is further configured to:

[0122] Receive the configuration information of the function switch sent by the operating system;

[0123] Through the firmware related to software, control the integrated circuit to execute operations related to the configuration information of the function switch.

[0124] Regarding the device in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be elaborated here.

[0125] In the present disclosure, the software-related algorithms (firmware) in the IC are set in the application processor of the terminal, and only the hardware-related algorithms are retained in the IC. In this way, it is not necessary to store too much firmware in the IC, saving the storage space of the IC, thereby reducing the device cost.

[0126] By adopting the above method, the data to be processed is processed through the firmware set in the application processor, which not only saves the storage space in the integrated circuit, but also reduces the operating burden in the integrated circuit, thereby reducing the requirements for the storage space and processing capacity of the integrated circuit, and further reducing the device cost.

[0127] Figure 6 It is a block diagram of a finger occlusion image detection device 400 shown according to an exemplary embodiment.

[0128] Refer to Figure 6 , the device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.

[0129] The processing component 602 generally controls the overall operation of the device 600, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above methods. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.

[0130] The memory 604 is configured to store various types of data to support the operation of the device 600. Examples of such data include instructions for any application or method operating on the device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disks, or optical disks.

[0131] The power component 606 provides power to various components of the device 600. The power component 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 600.

[0132] The multimedia component 608 includes a screen that provides an output interface between the device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.

[0133] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), which is configured to receive external audio signals when the device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, the audio component 610 further includes a speaker for outputting audio signals.

[0134] The I / O interface 612 provides an interface between the processing component 602 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power-on button, and a lock button.

[0135] The sensor component 614 includes one or more sensors for providing status assessments of various aspects of the device 600. For example, the sensor component 614 can detect the on / off state of the device 600, the relative positioning of components, such as the display and keypad of the device 600. The sensor component 614 can also detect a change in the position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, the orientation or acceleration / deceleration of the device 600, and the temperature change of the device 600. The sensor component 614 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 614 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 614 can further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0136] The communication component 616 is configured to facilitate wired or wireless communication between the device 600 and other devices. The device 600 can access a wireless network based on communication standards, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0137] In an exemplary embodiment, the apparatus 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.

[0138] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the above instructions can be executed by a processor 620 of the apparatus 600 to complete the above method. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0139] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to execute a finger occlusion image detection method, and the method includes: obtaining data to be processed through an integrated circuit on the terminal; sending the data to be processed to an application processor of the terminal; and the application processor processes the data to be processed to generate result data.

[0140] Figure 7 is a block diagram of a finger occlusion image detection apparatus 700 shown according to an exemplary embodiment. For example, the apparatus 700 may be provided as a server. Referring to Figure 7 , the apparatus 700 includes a processing component 722, which further includes one or more processors, and memory resources represented by a memory 732 for storing instructions executable by the processing component 722, such as application programs. The application programs stored in the memory 732 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 722 is configured to execute instructions to perform the above method: obtaining data to be processed through an integrated circuit on the terminal; sending the data to be processed to an application processor of the terminal; and the application processor processes the data to be processed to generate result data.

[0141] The apparatus 700 may further include a power supply component 726 configured to perform power management of the apparatus 700, a wired or wireless network interface 750 configured to connect the apparatus 700 to a network, and an input / output (I / O) interface 758. The apparatus 700 may operate based on an operating system stored in the memory 732, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.

[0142] Other embodiments of the present invention will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following the general principles of the invention and including known common general knowledge or conventional technical means in the technical field not disclosed in this disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the invention are pointed out by the following claims.

[0143] It should be understood that the present invention is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.

Claims

1. A data processing method, which is applied to a terminal, characterized in that, the method includes: obtaining data to be processed through an integrated circuit on the terminal; sending the data to be processed to an application processor of the terminal; the application processor processes the data to be processed to generate result data; only hardware-related firmware is set in the integrated circuit; a software algorithm library is set in the application processor; wherein, the integrated circuit is used to process data related to a hardware circuit, and the data to be processed is data processed by the software algorithm library.

2. The method according to claim 1, characterized in that, the sending the data to be processed to the application processor of the terminal includes: sending the data to be processed to a driver module on the terminal; the driver module sends the data to be processed to the application processor.

3. The method according to claim 1, characterized in that, the obtaining the result data by an operating system of the terminal includes: the application processor sends the result data to a driver module on the terminal; the driver module sends the result data to an operating system application layer.

4. The method according to claim 1, characterized in that, the obtaining data to be processed through an integrated circuit on the terminal includes: obtaining the data to be processed through the firmware related to hardware in the integrated circuit.

5. The method according to claim 1, characterized in that, the application processor processes the data to be processed and generates result data, including: the application processor processes the data to be processed through the firmware related to software to generate result data.

6. The method according to claim 1, characterized in that, the method further includes: the operating system sends configuration information of a function switch to the application processor; the application processor controls the integrated circuit to execute operations related to the configuration information of the function switch through the firmware related to software.

7. A data processing device, characterized in that, the device is applied to a terminal, and the device includes: an integrated circuit, configured to obtain data to be processed; an application processor, configured to receive the data to be processed, process the data to be processed, and generate result data; only hardware-related firmware is set in the integrated circuit; a software algorithm library is set in the application processor; wherein, the integrated circuit is used to process data related to a hardware circuit, and the data to be processed is data processed by the software algorithm library.

8. The device according to claim 7, characterized in that, the device further includes a driver module, configured to: receive the data to be processed sent by the integrated circuit; send the data to be processed to the application processor.

9. The device according to claim 7, characterized in that, the application processor is further configured to send the result data to a driver module in the device; the driver module is further configured to send the result data to an operating system application layer.

10. The device according to claim 7, characterized in that, The integrated circuit is further configured to: obtain the data to be processed through the firmware related to hardware in the integrated circuit.

11. The apparatus according to claim 7, wherein, the application processor is further configured to: process the data to be processed through the firmware related to software in the application processor to generate result data.

12. The apparatus according to claim 7, wherein, the application processor is further configured to: receive configuration information of a function switch sent by the operating system; control the integrated circuit to perform operations related to the configuration information of the function switch through the firmware related to software.

13. A data processing apparatus, wherein, comprising: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to: obtain data to be processed through an integrated circuit on the terminal; send the data to be processed to an application processor of the terminal; the application processor processes the data to be processed to generate result data; only set firmware related to hardware in the integrated circuit; set a software algorithm library in the application processor; wherein, the integrated circuit is used to process data related to a hardware circuit, and the data to be processed is data processed by the software algorithm library.

14. A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a router, can execute a data processing method, the method comprising: obtain data to be processed through an integrated circuit on the terminal; send the data to be processed to an application processor of the terminal; the application processor processes the data to be processed to generate result data; only set firmware related to hardware in the integrated circuit; set a software algorithm library in the application processor; wherein, the integrated circuit is used to process data related to a hardware circuit, and the data to be processed is data processed by the software algorithm library.

Citation Information

Patent Citations

  • Mobile terminal, input processing method and user equipment

    CN105487705A

  • Method for processing data collected by touch screen and terminal equipment

    CN105700668A