Data processing method and related device
By using the cache area in the terminal device to manage service data and controlling the eMMC power-on writing data when the threshold is reached, the problem of large eMMC power consumption in the terminal device is solved, and the effect of reducing eMMC power consumption and improving equipment energy efficiency is achieved.
Patent Information
- Application Number
- CN202311341194.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-13
- Publication Date
- 2025-04-15
AI Technical Summary
The power consumption of eMMC in terminal devices is large, resulting in poor equipment energy efficiency.
By introducing a first cache area into the terminal device, service data is collected and stored, and when the data amount reaches a certain threshold, the eMMC is controlled to power on and write data to reduce the number of power on the eMMC.
It reduces the power-on time and power consumption of eMMC and improves the energy efficiency of terminal equipment.
Smart Images

Figure CN119828876A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a data processing method and related devices. Background Art
[0002] In terminal devices, embedded multi media cards (eMMC) can be used to store business data. As the business of terminal devices continues to increase, the read and write operations of eMMC become more and more frequent, and the power consumption of eMMC will increase, which in turn leads to the increasing power consumption of terminal devices.
[0003] Therefore, how to reduce the power consumption of eMMC in the terminal device is a technical problem to be solved urgently in this application. Summary of the invention
[0004] The present application provides a data processing method and related devices for solving the problem of high power consumption of eMMC in terminal devices in the prior art.
[0005] In a first aspect, the present application provides a data processing method, which is applied to a terminal device. The method includes: receiving a first instruction, the first instruction is used to instruct the collection and storage of first business data; writing the first business data into a first cache area; if the amount of business data stored in the first cache area is greater than a first data amount threshold, controlling the eMMC to power on, and writing all or part of the business data stored in the first cache area into the eMMC.
[0006] As an example, the terminal device may be an MCU product, such as a sports watch, a bracelet, etc.
[0007] In the method, the first cache area may be deployed in a first storage device of the terminal device, and the first storage device may be a storage device other than the eMMC in the terminal device. As an example, the first storage device may be a memory.
[0008] In this method, the terminal device can control the eMMC to power on through a processor. As an example, the processor of the terminal device can be an MCU.
[0009] In some embodiments, the MCU and the eMMC may be connected via a GPIO bus, which may be used to control the power on and off of the eMMC. As an example, the GPIO bus may include a 3V3 power supply bus.
[0010] In this example, when the amount of business data stored in the first cache area is greater than the first data amount threshold, the MCU can control the 3V3 power supply bus to supply power to the eMMC to control the eMMC to power on.
[0011] In this method, the number of times business data is written into the eMMC can be reduced, thereby reducing the power-on time of the eMMC, which is beneficial to reducing the power consumption of the eMMC in the terminal device.
[0012] In some possible implementations, the first cache area includes multiple sub-cache areas, and the multiple sub-cache areas correspond one-to-one to multiple services. Each sub-cache area in the multiple sub-cache areas is used to store data of the corresponding service, and the amount of service data stored in the first cache area is equal to the sum of the amount of service data stored in each of the multiple sub-cache areas.
[0013] Each of the multiple services has its own corresponding function, and different services have different corresponding functions. As an example, the blood oxygen service can be used to detect the user's blood oxygen, and the heart rate service can be used to detect the user's heart rate.
[0014] In this example, one sub-cache area can store data of one service. That is, each service can have its own corresponding sub-cache area, so that data of different services can be distinguished, which is conducive to improving the accuracy of data storage.
[0015] In some possible implementations, writing all or part of the business data stored in the first cache area into the eMMC includes: writing the business data stored in each of the multiple sub-cache areas into the eMMC.
[0016] As an example, assume that the first cache area includes three sub-cache areas: sub-cache area 1, sub-cache area 2 and sub-cache area 3, wherein sub-cache area 1 can be used to store business data 1, sub-cache area 2 can be used to store business data 2, and sub-cache area 3 can be used to store business data 3.
[0017] When the total amount of the business data stored in the three sub-cache areas exceeds a first data amount threshold, all the business data stored in the three sub-cache areas are written into the eMMC.
[0018] In this implementation, the terminal device can write the business data stored in all sub-cache areas into the eMMC at the same time, and the corresponding control method will be simpler.
[0019] In some possible implementations, the multiple sub-cache areas correspond one-to-one to multiple data volume thresholds.
[0020] Writing all or part of the business data stored in the first cache area into the eMMC includes: writing the business data stored in at least one sub-cache area of the multiple sub-cache areas into the eMMC, and the amount of business data stored in each sub-cache area of the at least one sub-cache area is greater than or equal to a data amount threshold corresponding to each sub-cache area.
[0021] As an example, assume that the first cache area includes three sub-cache areas: sub-cache area 1, sub-cache area 2 and sub-cache area 3, wherein sub-cache area 1 can be used to store business data 1, sub-cache area 2 can be used to store business data 2, and sub-cache area 3 can be used to store business data 3.
[0022] When the total amount of the business data stored in the three sub-cache areas exceeds the first data amount threshold, it is determined whether the amount of the business data stored in each of the three sub-cache areas reaches the corresponding data amount threshold.
[0023] If the data volume of the service data stored in the sub-cache area 1 reaches the data volume threshold corresponding to the cache area 1, the service data 1 stored in the sub-cache area 1 is written into the eMMC.
[0024] In this implementation, the service data stored in the sub-cache area exceeding the corresponding data volume threshold among the multiple sub-cache areas is written into the eMMC, which can improve the resource utilization of each sub-cache area.
[0025] In some possible implementations, the method further includes: after writing all or part of the business data stored in the first cache area into the eMMC, controlling the eMMC to power off.
[0026] In this method, the terminal device can control the eMMC to power off through a processor. As an example, the processor of the terminal device can be an MCU.
[0027] In some embodiments, the MCU and the eMMC may be connected via a GPIO bus, which may be used to control the power on and off of the eMMC. As an example, the GPIO bus may include a 3V3 power supply bus.
[0028] In this example, after all or part of the business data stored in the first cache area is written to the eMMC, the MCU can control the 3V3 power supply bus to stop supplying power to the eMMC to control the eMMC to power off.
[0029] In this method, after the operation of writing business data into the eMMC is completed, the eMMC is controlled to be powered off, thereby saving power consumption of the eMMC.
[0030] In some possible implementations, the method also includes: receiving a second instruction, the second instruction is used to instruct reading second business data; if the business data stored in the first cache area includes the second business data, reading the second business data from the first cache area; if the business data stored in the first cache area does not include the second business data, controlling the eMMC to power on, and reading the second business data from the eMMC.
[0031] In this method, when the first storage area stores the service data to be read, the service data stored in the first cache area can be directly read, which can reduce the number of times the service data is read from the eMMC, thereby reducing the power-on time of the eMMC, and is conducive to reducing the power consumption of the terminal device.
[0032] In a second aspect, the present application provides a data processing device, including modules or units for implementing the method in the first aspect and any possible implementation of the first aspect. It should be understood that each module or unit can implement the corresponding function by executing a computer program.
[0033] As an example, the apparatus may include a receiving module and a processing module.
[0034] The receiving module may be used to: receive a first instruction, where the first instruction is used to instruct the collection and storage of first business data.
[0035] The processing module can be used to: write the first business data into the first cache area; if the amount of business data stored in the first cache area is greater than the first data amount threshold, control the eMMC to power on, and write all or part of the business data stored in the first cache area into the eMMC.
[0036] In one possible implementation, the first cache area includes multiple sub-cache areas, and the multiple sub-cache areas correspond one-to-one to multiple services. Each sub-cache area in the multiple sub-cache areas is used to store data of the corresponding service, and the amount of service data stored in the first cache area is equal to the sum of the amount of service data stored in each sub-cache area in the multiple sub-cache areas.
[0037] In a possible implementation, when the processing module writes all or part of the business data stored in the first cache area into the eMMC, it can be specifically used to: write the business data stored in each of the multiple sub-cache areas into the eMMC.
[0038] In a possible implementation, the multiple sub-cache areas correspond one-to-one to multiple data volume thresholds.
[0039] When the processing module writes all or part of the business data stored in the first cache area into the eMMC, it can be specifically used to: write the business data stored in at least one sub-cache area among the multiple sub-cache areas into the eMMC, and the data amount of the business data stored in each sub-cache area of the at least one sub-cache area is greater than or equal to the data amount threshold corresponding to each sub-cache area.
[0040] In a possible implementation, the processing module may also be configured to: after writing all or part of the service data stored in the first cache area into the eMMC, control the eMMC to power off.
[0041] In a possible implementation, the receiving module may also be used to: receive a second instruction, where the second instruction is used to instruct to read second service data.
[0042] The processing module can also be used to: if the business data stored in the first cache area includes the second business data, read the second business data from the first cache area; if the business data stored in the first cache area does not include the second business data, control the eMMC to power on, and read the second business data from the eMMC.
[0043] In a third aspect, the present application provides a data processing device, including a processor, wherein the processor is used to execute the method described in any possible implementation manner of the first aspect.
[0044] The device may further include a memory for storing instructions and data. The memory is coupled to the processor, and when the processor executes the instructions stored in the memory, the methods described in the above aspects may be implemented. The device may further include a communication interface, and the communication interface is used for the device to communicate with other devices. Exemplarily, the communication interface may be a transceiver, circuit, bus, module or other type of communication interface.
[0045] In a fourth aspect, the present application provides a computer-readable storage medium storing a program code for execution by a data processing device, wherein the program code includes instructions for implementing the method in the first aspect.
[0046] In a fifth aspect, the present application provides a computer program product comprising instructions, and when the computer program product is executed on a data processing device, the data processing device implements the method in the first aspect.
[0047] It can be understood that the effects that can be obtained from the second to fifth aspects can be referred to the description in the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A schematic diagram of an applicable application scenario of an embodiment of the present application;
[0049] Figure 2 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0050] Figure 3 A software structure diagram of a terminal device;
[0051] Figure 4 A schematic diagram of the architecture of a terminal device;
[0052] Figure 5 A schematic diagram of an existing eMMC power-on situation;
[0053] Figure 6 A flowchart of a data processing method provided for this application;
[0054] Figure 7 A user interface diagram of a terminal device;
[0055] Figure 8 A schematic diagram of the eMMC power-on status provided for an embodiment of the present application;
[0056] Fig. 9 A schematic diagram of the structure of a data processing device provided in one embodiment of the present application;
[0057] Fig.10 A schematic diagram of the structure of a data processing device provided in another embodiment of the present application. DETAILED DESCRIPTION
[0058] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0059] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first information and the second information are only used to distinguish different information, and their order is not limited. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit them to be different.
[0060] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c; a and b; a and c; b and c; or a and b and c. Among them, a, b, c can be single or multiple.
[0061] This application can be applied to Figure 1 In the detection scenario shown in Figure 1 As shown, the terminal device can be used to perform a variety of services, such as blood oxygen, heart rate, sleep, step counting, etc.
[0062] In this application, the terminal device can be used to collect business data, store the collected business data, and read the collected business data. For example, in the screen-off scenario, the terminal device can collect, store or read some business data, such as blood oxygen data, heart rate data, sleep data, and step count.
[0063] In the present application, the terminal device may be a device that provides voice / data connectivity to users, such as a handheld device or a vehicle-mounted device with a wireless connection function. At present, some examples of terminal devices are: mobile phones, tablet computers, laptops, PDAs, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in unmanned driving, wireless terminals in remote surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks, or terminal devices in future evolved public land mobile networks (PLMNs), etc., and the embodiments of the present application are not limited to this.
[0064] As an example and not a limitation, in the embodiments of the present application, wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed by applying wearable technology to daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and independent of smartphones to achieve complete or partial functions, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
[0065] In addition, in the embodiments of the present application, the terminal device may also be a terminal device in an Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.
[0066] The various terminal devices introduced above, if located on a vehicle (eg, placed in or installed in a vehicle), can be considered as vehicle-mounted terminal devices, which are also called on-board units (OBU).
[0067] Subsequently, this application will be described using the example of a wearable device as the terminal device.
[0068] In order to better understand the embodiments of the present application, the hardware structure of the terminal device is introduced below. Figure 2 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application.
[0069] The terminal device may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.
[0070] Optionally, the above-mentioned sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.
[0071] The processor 210 may include one or more processing units. For example, the processor 210 may include an application processor (AP), a micro controller unit (MCU) processor, a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), etc. Different processing units may be independent devices or integrated into one or more processors. A memory may also be provided in the processor 210 for storing instructions and data.
[0072] The USB interface 230 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 230 can be used to connect a charger to charge the terminal device, and can also be used to transfer data between the terminal device and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.
[0073] The charging management module 240 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While the charging management module 240 is charging the battery 242, it can also charge the terminal device through the power management module 241.
[0074] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the external memory, the camera 293, the display screen 294, the audio module 270 and the wireless communication module 260. In some embodiments, the power management module 241 can also be set in the processor 210. In other embodiments, the power management module 241 and the charging management module 240 can also be set in the same device.
[0075] Optionally, in some embodiments, the power management module 241 may also be referred to as a battery management unit (PMU), and the PWU may be used to obtain status information of the battery 242 , such as the remaining power and temperature of the battery 242 .
[0076] The wireless communication function of the terminal device can be realized through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor and baseband processor.
[0077] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. The antenna in the terminal device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna.
[0078] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to terminal devices. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
[0079] The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), etc. applied to the terminal device. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0080] In some embodiments, antenna 1 of the terminal device is coupled to mobile communication module 250, and antenna 2 is coupled to wireless communication module 260, so that the mobile phone can communicate with the network and other devices through wireless communication technology.
[0081] The camera 293 is used to capture static images or videos. In some embodiments, the terminal device may include 1 or N cameras 293, where N is a positive integer greater than 1.
[0082] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. In some embodiments, the terminal device may include 1 or N display screens 294, where N is a positive integer greater than 1.
[0083] In some embodiments, a touch sensor may be provided in the display screen 294 to form a touch screen, which is not limited in the embodiments of the present application. It is understood that in some embodiments, the terminal device may include the display screen 294 or may not include the display screen 294. For example, when the terminal device is a bracelet, it may include the display screen 294 or may not include the display screen 294. When the terminal device is a watch, it may include the display screen 294.
[0084] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
[0085] The internal memory 221 can be used to store computer executable program codes, and the executable program codes include instructions. The internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area may store applications required for at least one function in the operating system (such as data display functions, etc.). The data storage area may store data (such as business data, etc.) created during the use of the terminal device.
[0086] In this application, the terminal device may include an eMMC, which can be used to store service data, such as blood oxygen data, heart rate data, sleep data, step data, etc.
[0087] The terminal device can implement audio functions such as music playing and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the earphone interface 270D, and the application processor.
[0088] The audio module 270 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The speaker 270A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The terminal device can listen to music or listen to hands-free calls through the speaker 270A. The receiver 270B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. When the terminal device answers a call or voice message, the voice can be answered by placing the receiver 270B close to the human ear. The microphone 270C, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals. The headphone jack 270D is used to connect wired headphones.
[0089] The pressure sensor 280A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 280A can be set on the display screen 294. When a touch operation acts on the display screen 294, the terminal device can detect the touch operation intensity according to the pressure sensor 280A. The terminal device can also calculate the touch position according to the detection signal of the pressure sensor 280A. There are many types of pressure sensors 280A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc., which are not limited in the embodiments of the present application. The gyroscope sensor 280B can be used to determine the motion posture of the terminal device. The air pressure sensor 280C is used to measure the air pressure. The magnetic sensor 280D includes a Hall sensor. The acceleration sensor 280E can detect the magnitude of the acceleration of the terminal device in all directions (generally three axes). Distance sensor 280F, used to measure the distance. The proximity light sensor 280G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The fingerprint sensor 280H is used to collect fingerprints. The temperature sensor 280J is used to detect the temperature. The touch sensor 280K can be set on the display screen 294, and the touch sensor 280K and the display screen 294 form a touch screen, also known as a "touch screen". The touch sensor 280K is used to detect touch operations acting on or near it. The touch sensor 280K can pass the detected touch operation to the processor 210 to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 294. In other embodiments, the touch sensor 280K can also be set on the surface of the display screen 294, which is different from the position of the display screen 294. The ambient light sensor 280L is used to sense the brightness of ambient light. The bone conduction sensor 280M can obtain vibration signals.
[0090] The button 290 includes a power button, a volume button, etc. The button 290 may be a mechanical button. It may also be a touch button. The terminal device may receive the button input and generate a key signal input related to the user settings and function control of the terminal device. The motor 291 may generate a vibration prompt. The indicator 292 may be an indicator light, which may be used to indicate the charging status, the change in power, or may be used to indicate messages, missed calls, notifications, etc. The timer 296 may be used to record time information. For example, when the terminal device records a video, the start time and end time of the video may be recorded, and the duration of the recorded video may be recorded.
[0091] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0092] In some embodiments, the terminal device may be a wearable device, such as a smart watch or a smart bracelet. The wearable device may also include a main body ( Figure 2 Not shown) and wrist strap ( Figure 2 The wristband can be fixedly connected or movably connected to the main body, and the wristband can be wrapped around the wrist, arm, leg or other parts of the body to fix the wearable device to the user. The main body may include a shell and a cover, the shell surrounds the cover, for example, the shell includes a groove arranged at the top, the cover is accommodated in the groove, and the edge of the cover is adjacent to and fixed on the groove of the shell to form the surface of the main body. The structure formed by the shell and the cover has a receiving space inside, which can accommodate Figure 2 The combination of one or more components shown and not shown can realize various functions of the wearable device. Optionally, the main body also includes an input device, and the accommodating space in the structure formed by the cover and the shell can accommodate part of the input device, and the exposed part of the input device is convenient for the user to contact.
[0093] The wearable device can pair with the wireless communication module of other terminal devices and establish a wireless connection through the wireless communication module in the wearable device, so as to realize wireless communication with other terminal devices through the wireless connection.
[0094] Optionally, different terminal devices may include different processors. For example, some terminal devices may include APs, and such terminal devices may be called AP products. AP products may include mobile phones, smart watches, etc. For another example, some terminal devices may not include APs but include MCUs, and such terminal devices may be called MCU products. MCU products may include sports watches, bracelets, etc.
[0095] In the embodiments of the present application, as an example, the software system of the terminal device can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The layered architecture can adopt an Android system, an Apple (IOS) system, or other operating systems, which are not limited in the embodiments of the present application. The following takes a layered architecture system as an example to illustrate the software structure of the terminal device.
[0096] Figure 3The software structure diagram of a terminal device is shown in FIG. The layered architecture divides the software system of the terminal device into several layers, each layer having a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the system may include an application layer, an application framework layer, an Android runtime and a system library, a hardware abstraction layer (HAL), and a kernel layer.
[0097] The application layer may include a series of application packages, and the application layer runs applications by calling the application programming interface (API) provided by the application framework layer.
[0098] For example, the application package may include blood oxygen, heart rate, sleep, step counting, calendar, call, wireless local area network (WLAN), Bluetooth, music, navigation, SMS, map and other applications. Of course, the application layer may also include third-party application packages, such as social applications, third-party music applications, third-party video applications, payment applications, shopping applications, banking applications, chat applications or financial management applications, etc., which are not limited in this application.
[0099] The application framework layer provides an application programming interface (API) and a programming framework for the application programs in the application layer. The application framework layer includes some predefined functions. For example, it may include an activity manager, a window manager, a content provider, a view system, a resource manager, and a display service, etc., and the embodiments of the present application do not impose any restrictions on this.
[0100] The Android runtime consists of a core library, a virtual machine, and a virtual machine monitor. The Android runtime is responsible for scheduling and management of the Android system. The core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0101] The system library can contain modules with multiple functions, such as: surface manager, media library, 3D graphics processing library, and file system.
[0102] The surface manager is used to manage the display subsystem and provides the fusion of two-dimensional and three-dimensional layers for multiple applications. The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as JPG, PNG, etc. The three-dimensional graphics processing library is used to implement three-dimensional graphics drawing, image rendering, synthesis and layer processing. The file system can be used to manage and store file information, and the recognition algorithm module can be used for sign language recognition, speech recognition and text semantic recognition. Among them, sign language recognition refers to recognizing speech or text as sign language, speech recognition refers to recognizing sign language or text as speech, and text semantic recognition refers to recognizing sign language or speech as text.
[0103] The HAL layer is an encapsulation of the Linux kernel driver, providing an interface to the upper layer and shielding the implementation details of the low-level hardware.
[0104] The HAL layer may include Wi-Fi HAL, audio HAL, and camera HAL.
[0105] The kernel layer is the layer between hardware and software. The kernel layer is used to drive the hardware to make it work. The kernel layer contains at least display driver, camera driver, eMMC driver, sensor driver, etc. Among them, the eMMC driver can be used to drive the eMMC to perform read and write operations.
[0106] The terminal device can write the collected business data into the eMMC, and can read the business data from the eMMC. At present, when there is a need to read and write business data, the data can be read and written through the eMMC. The eMMC can only read and write data when it is powered on.
[0107] The terminal device can control the eMMC to read and write data, as well as control the eMMC power on and off through the processor.
[0108] Figure 4 FIG. 1 is a schematic diagram of the architecture of a terminal device. Figure 4 As shown, it is assumed that the processor of the terminal device includes an MCU, and the MCU and the eMMC can be connected through a bus.
[0109] Optionally, the terminal device may be an MCU product, such as a sports watch, a bracelet, etc.
[0110] In this example, the MCU and the eMMC may be connected via a secure digital input and output (SDIO) bus, and the SDIO bus may be used to control data transmission.
[0111] MCU can control the state of eMMC through SDIO bus. When eMMC needs to read or write data, MCU can control eMMC to switch from sleep state to working state through SDIO bus.
[0112] In addition, the MCU and the eMMC may also be connected via a general purpose input and output (GPIO) bus, which may be used to control the power on and off of the eMMC. As an example, the GPIO bus may include a 3V3 power supply bus.
[0113] For example, when the eMMC needs to read or write data, the MCU can control the eMMC to power on through the GPIO bus. When the eMMC does not need to read or write data, the MCU can control the eMMC to power off through the GPIO bus.
[0114] With the continuous increase in terminal device services, the read and write operations of eMMC are becoming more and more frequent, which may cause the eMMC to be in working state all the time. The power consumption of eMMC is large, which in turn affects the power consumption of the terminal device.
[0115] For example, Figure 5 This is a schematic diagram of an existing eMMC power-on situation. In this example, it is assumed that there are four services: service 1, service 2, service 3, and service 4. The data of these four services are randomly written into the eMMC, which causes the terminal device to always control the eMMC power-on, and the power consumption of the eMMC is large.
[0116] Therefore, how to reduce the power consumption of eMMC in the terminal device is a technical problem to be solved urgently in this application.
[0117] In the technical solution of the present application, the terminal device can first write the collected business data into the first cache area. When the amount of business data stored in the first cache area is greater than the first data amount threshold, the eMMC can be controlled to power on, and all or part of the business data stored in the first cache area can be written into the eMMC.
[0118] As an example, the terminal device may be an MCU product, such as a sports watch, a bracelet, etc.
[0119] In the method, the first cache area may be deployed in a first storage device of the terminal device, and the first storage device may be a storage device other than the eMMC in the terminal device. As an example, the first storage device may be a memory.
[0120] In this method, the number of times business data is written into the eMMC can be reduced, thereby reducing the power-on time of the eMMC, which is beneficial to reducing the power consumption of the eMMC in the terminal device.
[0121] Optionally, the first cache area may include multiple sub-cache areas, and the multiple sub-cache areas may correspond to multiple services one by one, and each of the multiple sub-cache areas may be used to store data of the corresponding service.
[0122] Optionally, after the service data stored in the first cache area is written into the eMMC, the eMMC may be controlled to be powered off.
[0123] Next, this application will combine Figures 6 to 10 , the method of this application is introduced in detail.
[0124] Figure 6 A flow chart of a data processing method provided in this application. Figure 6 As shown, the data processing method may include S601 to S605.
[0125] This method can be applied to Figure 4 In the terminal device shown. As an example, the terminal device may be a wearable device, such as a sports watch, a wristband, etc.
[0126] S601, receiving a first instruction, where the first instruction is used to instruct collection and storage of first business data.
[0127] In the method, the first instruction may be an instruction to start a first service. As an example, the first service may include blood oxygen, heart rate, sleep, step counting, etc.
[0128] The first service data is data of the first service collected by the terminal device based on the first instruction. As an example, assuming that the first service includes blood oxygen, the first service data may include blood oxygen data.
[0129] Optionally, the first instruction may be input by a user. After receiving the first instruction input by the user, the terminal device may collect the first service data, and after collecting the first service data, the terminal device may store the first service data.
[0130] Taking the first service including blood oxygen as an example, assuming Figure 7 A user interface diagram of a terminal device includes a button for starting a blood oxygen service. When a user clicks the button, the terminal device can receive an instruction to start periodic blood oxygen, and collect and store first service data based on the instruction.
[0131] Optionally, the first instruction may also be sent by other terminal devices. As an example, the other terminal device may be a mobile phone.
[0132] For example, taking the first service including blood oxygen as an example, the user can input an instruction to turn on blood oxygen on other terminal devices, and after receiving the instruction to turn on blood oxygen, the other terminal devices send the first instruction to the terminal device. Correspondingly, the terminal device can receive the first instruction.
[0133] S602: Write first service data into a first cache area.
[0134] In the method, the first cache area may be deployed in a first storage device of the terminal device, and the first storage device may be a storage device other than the eMMC in the terminal device. As an example, the first storage device may be a memory.
[0135] S603, determine whether the data volume of the business data stored in the first cache area is greater than the first data volume threshold. If the data volume of the business data stored in the first cache area is greater than the first data volume threshold, execute S604; if the data volume of the business data stored in the first cache area is less than or equal to the first data volume threshold, execute S601.
[0136] Optionally, the first cache area may include multiple sub-cache areas, the multiple sub-cache areas may correspond to multiple services one by one, and each of the multiple sub-cache areas may be used to store data of the corresponding service. The amount of service data stored in the first cache area is equal to the sum of the amount of service data stored in each of the multiple sub-cache areas.
[0137] In this method, the terminal device can determine whether the total amount of service data stored in each sub-cache area is greater than a first data amount threshold, wherein the first data amount threshold can be preset in advance.
[0138] Each of the multiple services has its own corresponding function, and different services have different corresponding functions. As an example, the blood oxygen service can be used to detect the user's blood oxygen, and the heart rate service can be used to detect the user's heart rate.
[0139] In this example, one sub-cache area can store data of one service. That is, each service can have its own corresponding sub-cache area, so that data of different services can be distinguished, which is conducive to improving the accuracy of data storage.
[0140] Optionally, in some embodiments, a sub-cache area may also store data of at least one service, and the functions of the at least one service belong to the same category.
[0141] As an example, the functions of the blood oxygen service and the heart rate service both belong to the health detection function, and the data of the blood oxygen service and the data of the heart rate service can be stored in the same sub-cache area.
[0142] Optionally, the terminal device may periodically determine whether the amount of service data stored in the first cache area is greater than a first data amount threshold. For example, the terminal device may determine once every ten minutes.
[0143] As an example, a timer (or timer) may also be deployed in the terminal device, and the terminal device may use the timer to periodically determine whether the amount of business data stored in the first cache area is greater than a first data amount threshold.
[0144] S604, control the eMMC to power on.
[0145] In this method, the terminal device can control the eMMC to power on through a processor. As an example, the processor of the terminal device can be an MCU.
[0146] In some embodiments, the MCU and the eMMC may be connected via a GPIO bus, which may be used to control the power on and off of the eMMC. As an example, the GPIO bus may include a 3V3 power supply bus.
[0147] In this example, when the amount of business data stored in the first cache area is greater than the first data amount threshold, the MCU can control the 3V3 power supply bus to supply power to the eMMC to control the eMMC to power on.
[0148] Optionally, the terminal device may also control the eMMC to switch from a sleep state to a working state through a processor.
[0149] In some embodiments, the MCU and the eMMC may be connected via an SDIO bus, and the SDIO bus may be used to control the state of the eMMC.
[0150] In this example, when the amount of business data stored in the first cache area is greater than the first data amount threshold, the MCU can control the eMMC to switch from the sleep state to the working state through the SDIO bus.
[0151] Optionally, in some embodiments, the terminal device may also control the power-on of the eMMC based on the number of write times of the business data stored in the first cache area, or control the eMMC to switch from a sleep state to a working state based on the number of write times of the business data stored in the first cache area.
[0152] As an example, if the number of write times of the service data stored in the first cache area reaches a number threshold, the eMMC is controlled to be powered on, wherein the number threshold may be preset in advance.
[0153] S605: Write all or part of the service data stored in the first cache area into the eMMC.
[0154] Optionally, when the terminal device writes all or part of the business data stored in the first cache area into the eMMC, it can first write all or part of the business data stored in the first storage area into the file system, and then write the business data in the file system into the eMMC through the eMMC driver.
[0155] In a possible implementation, writing all or part of the service data stored in the first cache area into the eMMC may include: writing the service data stored in each of the multiple sub-cache areas into the eMMC.
[0156] As an example, assume that the first cache area includes three sub-cache areas: sub-cache area 1, sub-cache area 2 and sub-cache area 3, wherein sub-cache area 1 can be used to store business data 1, sub-cache area 2 can be used to store business data 2, and sub-cache area 3 can be used to store business data 3.
[0157] When the total amount of the business data stored in the three sub-cache areas exceeds a first data amount threshold, all the business data stored in the three sub-cache areas are written into the eMMC.
[0158] In this implementation, the terminal device can write the business data stored in all sub-cache areas into the eMMC at the same time, and the corresponding control method will be simpler.
[0159] In another possible implementation, the plurality of sub-cache areas correspond one-to-one to a plurality of data volume thresholds, which may be preset in advance.
[0160] Accordingly, writing all or part of the business data stored in the first cache area into the eMMC may include: writing the business data stored in at least one sub-cache area among multiple sub-cache areas into the eMMC, wherein the amount of business data stored in each sub-cache area of the at least one sub-cache area is greater than or equal to a data amount threshold corresponding to each sub-cache area.
[0161] As an example, assume that the first cache area includes three sub-cache areas: sub-cache area 1, sub-cache area 2 and sub-cache area 3, wherein sub-cache area 1 can be used to store business data 1, sub-cache area 2 can be used to store business data 2, and sub-cache area 3 can be used to store business data 3.
[0162] When the total amount of the business data stored in the three sub-cache areas exceeds the first data amount threshold, it is determined whether the amount of the business data stored in each of the three sub-cache areas reaches the corresponding data amount threshold.
[0163] If the data volume of the service data stored in the sub-cache area 1 reaches the data volume threshold corresponding to the cache area 1, the service data 1 stored in the sub-cache area 1 is written into the eMMC.
[0164] In this implementation, the service data stored in the sub-cache area exceeding the corresponding data volume threshold among the multiple sub-cache areas is written into the eMMC, which can improve the resource utilization of each sub-cache area.
[0165] In the technical solution of the present application, after all or part of the business data stored in the first cache area is written into the eMMC, the terminal device can also control the eMMC to power off, or control the eMMC to switch from a working state to a sleep state.
[0166] In this method, the terminal device can control the eMMC to power off through a processor. As an example, the processor of the terminal device can be an MCU.
[0167] In some embodiments, the MCU and the eMMC may be connected via a GPIO bus, which may be used to control the power on and off of the eMMC. As an example, the GPIO bus may include a 3V3 power supply bus.
[0168] In this example, after all or part of the business data stored in the first cache area is written to the eMMC, the MCU can control the 3V3 power supply bus to stop supplying power to the eMMC to control the eMMC to power off.
[0169] Optionally, the terminal device may also control the eMMC to switch from a sleep state to a working state through a processor.
[0170] In some embodiments, the MCU and the eMMC may be connected via an SDIO bus, and the SDIO bus may be used to control the state of the eMMC.
[0171] In this example, after all or part of the business data stored in the first cache area is written into the eMMC, the MCU can control the eMMC to switch from a working state to a sleeping state through the SDIO bus.
[0172] In this method, after the operation of writing business data into the eMMC is completed, the eMMC is controlled to be powered off, thereby saving power consumption of the eMMC.
[0173] Figure 8 A schematic diagram of eMMC power-on status is provided for an embodiment of the present application. In this example, it is assumed that there are four services: Service 1, Service 2, Service 3, and Service 4. The data of these four services can be written into the eMMC in certain specific time periods. During this time period, the terminal device can control the eMMC to power on, and during other time periods, the terminal device can control the eMMC to power off, thereby reducing the power consumption of the eMMC.
[0174] Optionally, in some embodiments, after all or part of the service data stored in the first cache area is written into the eMMC, the terminal device may further determine whether there is a need to read the service data in the eMMC. If there is a need to read the service data in the eMMC, the terminal device controls the eMMC to power off after the service data is successfully read.
[0175] In the technical solution of the present application, the terminal device can also receive a second instruction, which is used to instruct the reading of second business data; if the business data stored in the first cache area includes the second business data, the second business data is read from the first cache area; if the business data stored in the first cache area does not include the second business data, the eMMC is controlled to power on, and the second business data is read from the eMMC.
[0176] In some embodiments, the second instruction may be input by a user. For example, the user may input an operation of reading the second service data on the terminal device, and accordingly, the terminal device may receive the second instruction based on the user operation.
[0177] In other embodiments, the second instruction may also be automatically acquired. For example, the time for reading the second service data may be set on the terminal device, and when the time for reading the second service data arrives, the terminal device may automatically acquire the second instruction.
[0178] Optionally, after the terminal device successfully reads the second service data from the eMMC, the terminal device may control the eMMC to power off.
[0179] In this method, the method for the terminal device to control the power on and off of the eMMC can refer to the above-mentioned embodiment and will not be repeated here.
[0180] In this method, when the first storage area stores the service data to be read, the service data stored in the first cache area can be directly read, which can reduce the number of times the service data is read from the eMMC, thereby reducing the power-on time of the eMMC, and is conducive to reducing the power consumption of the terminal device.
[0181] In the present application, the terminal device can control the power on and off of the eMMC through a first bidirectional command and response (command, CMD) signal.
[0182] As an example, the terminal device may send a first CMD signal to the eMMC through a processor, and the first CMD signal may be used to instruct the eMMC to power on or off.
[0183] Optionally, the value of the first CMD signal may include 0 and 1. When the value of the first CMD signal is 1, the first CMD signal may be used to indicate that the eMMC is powered on. When the value of the first CMD signal is 0, the first CMD signal may be used to indicate that the eMMC is powered off.
[0184] For example, in the scenario of writing business data, if the amount of business data stored in the first cache area is greater than the first data amount threshold, the terminal device may send a first CMD signal to the eMMC through the processor, and the value of the first CMD signal may be 1. After all or part of the business data stored in the first cache area is written to the eMMC, the terminal device may send a first CMD signal to the eMMC through the processor, and the value of the first CMD signal may be 0.
[0185] For another example, in the scenario of reading business data, if the amount of business data stored in the first cache area does not include the business data to be read, the terminal device may send a first CMD signal to the eMMC through the processor, and the value of the first CMD signal may be 1. After the business data to be read is successfully read, the terminal device may send a first CMD signal to the eMMC through the processor, and the value of the first CMD signal may be 0.
[0186] In the present application, the terminal device can also control the state of the eMMC through a second CMD signal.
[0187] As an example, the terminal device may send a second CMD signal to the eMMC through the processor, and the second CMD signal may be used to indicate the status of the eMMC.
[0188] Optionally, the value of the second CMD signal may include 0 and 1. When the value of the second CMD signal is 1, the second CMD signal may be used to indicate that the eMMC switches from the sleep state to the working state. When the value of the second CMD signal is 0, the second CMD signal may be used to indicate that the eMMC switches from the working state to the sleep state.
[0189] For example, in the scenario of writing business data, if the amount of business data stored in the first cache area is greater than the first data amount threshold, the terminal device may send a second CMD signal to the eMMC through the processor, and the value of the second CMD signal may be 1. After all or part of the business data stored in the first cache area is written to the eMMC, the terminal device may send a second CMD signal to the eMMC through the processor, and the value of the second CMD signal may be 0.
[0190] For another example, in the scenario of reading business data, if the amount of business data stored in the first cache area does not include the business data to be read, the terminal device may send a second CMD signal to the eMMC through the processor, and the value of the second CMD signal may be 1. After the business data to be read is successfully read, the terminal device may send a second CMD signal to the eMMC through the processor, and the value of the second CMD signal may be 0.
[0191] Optionally, in the present application, the control logic for powering on and off the eMMC and the control logic for switching the eMMC state may be deployed in the eMMC driver.
[0192] Fig. 9 This is a schematic diagram of the structure of a data processing device provided by an embodiment of the present application. Fig. 9 As shown, the data processing device 900 may include a receiving module 901 and a processing module 902 .
[0193] As an example, the data processing device 900 may be used to implement Figure 6 The data processing method of the embodiment shown in the figure: wherein the receiving module 901 can be used to execute S601, and the processing module 902 can be used to execute S602 to S605.
[0194] Fig.10 This is a schematic diagram of the structure of a data processing device provided by another embodiment of the present application. Fig.10 As shown, the data processing device 1000 includes a processor 1001 and an interface circuit 1002. The processor 1001 and the interface circuit 1002 are coupled to each other. It can be understood that the interface circuit 1002 can be a transceiver or an input-output interface. Optionally, the data processing device 1000 can also include a memory 1003 for storing instructions executed by the processor 1001 or storing input data required by the processor 1001 to execute instructions or storing data generated after the processor 1001 executes instructions.
[0195] As an example, the processor 1001 may be used to implement the functions of the processing module 902 , and the interface circuit 1002 may be used to implement the functions of the receiving module 901 .
[0196] The data processing apparatus 1000 may be a terminal device, or may be a chip applied in the terminal device.
[0197] The method steps in the embodiments of the present application can be implemented by hardware, or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, a register, a hard disk, a mobile hard disk, a CD-ROM, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a network device or a terminal device. Of course, the processor and the storage medium can also be present in a network device or a terminal device as discrete components.
[0198] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc; it may also be a semiconductor medium, for example, a solid-state hard disk.
[0199] In the various embodiments of the present application, unless otherwise specified or provided for in any logical conflict, the terms and / or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may be combined to form new embodiments according to their inherent logical relationships.
[0200] It is understood that the various numbers involved in the embodiments of the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic.
Claims
1. A data processing method, characterized in that: Applied to a terminal device, the terminal device includes a first storage device and an embedded multimedia storage card eMMC, the first storage device is non-eMMC, the first storage device includes a first cache area, and the method includes: receiving a first instruction, wherein the first instruction is used to instruct collection and storage of first service data; Writing the first service data into the first cache area; If the data volume of the business data stored in the first cache area is greater than a first data volume threshold, the eMMC is controlled to be powered on, and all or part of the business data stored in the first cache area is written into the eMMC.
2. The method according to claim 1, characterized in that The first cache area includes multiple sub-cache areas, and the multiple sub-cache areas correspond one-to-one to multiple services. Each sub-cache area is used to store data of the corresponding service. The amount of service data stored in the first cache area is equal to the sum of the amount of service data stored in each sub-cache area of the multiple sub-cache areas.
3. The method according to claim 2, characterized in that Writing all or part of the service data stored in the first cache area into the eMMC includes: The service data stored in each of the multiple sub-cache areas is written into the eMMC.
4. The method according to claim 2, characterized in that: The multiple sub-cache areas correspond one-to-one to multiple data volume thresholds; Writing all or part of the service data stored in the first cache area into the eMMC includes: The business data stored in at least one sub-cache area among the multiple sub-cache areas is written into the eMMC, and the data volume of the business data stored in each sub-cache area among the at least one sub-cache area is greater than or equal to the data volume threshold corresponding to each sub-cache area.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: After writing all or part of the service data stored in the first cache area into the eMMC, the eMMC is controlled to be powered off.
6. The method according to claim 5, characterized in that The method further comprises: receiving a second instruction, where the second instruction is used to instruct to read second service data; If the service data stored in the first cache area includes the second service data, reading the second service data from the first cache area; If the business data stored in the first cache area does not include the second business data, control the eMMC to power on, and read the second business data from the eMMC.
7. A data processing device, characterized in that: The method comprises a functional module for implementing the method according to any one of claims 1 to 6.
8. A data processing device, characterized in that: include: Memory and processor; The memory is used to store program instructions; The processor is configured to execute program instructions in the memory to implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program code for computer execution, wherein the program code includes instructions for implementing the method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The computer program product comprises instructions for implementing the method according to any one of claims 1 to 6.