Data processing method, device, electronic device and computer-readable storage medium

By temporarily storing wireless data on the coprocessor chip and sending it to the device memory for processing when conditions are met, the high power consumption problem caused by frequent DDR access in active mode of mobile devices is solved, resulting in better battery life and data processing efficiency.

CN116033531BActive Publication Date: 2025-10-28伟光有限公司(CN)
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211723781.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2025-10-28
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

In active mode, mobile devices receive Wi-Fi data through a coprocessor chip and forward it directly to DDR memory, resulting in frequent access to DDR, increased power consumption, and reduced battery life.

Method used

Wireless data is temporarily stored in a pre-defined storage space on the coprocessor chip, and then sent to the device memory for processing only after the preset recording conditions are met, thereby reducing the frequency of access to DDR and the communication bus.

Benefits of technology

It reduces device power consumption, improves device battery life, and ensures data processing efficiency in high-throughput scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116033531B_ABST
    Figure CN116033531B_ABST
Patent Text Reader

Abstract

This application discloses a data processing method, apparatus, electronic device, and computer-readable storage medium, which can reduce the power consumption of electronic devices and improve their battery life. The method includes: recording currently received first wireless data in a preset storage space on a coprocessor chip; and, under preset recording conditions, sending the wireless data in the preset storage space to device memory; the device memory is used to provide wireless data to a main processing chip for processing; the preset recording conditions characterize scenario conditions for recording at least one received wireless data through the preset storage space.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to a data processing method, apparatus, electronic device, and computer-readable storage medium. Background Technology

[0002] Currently, in active mode, mobile devices receive Wi-Fi network data via a coprocessor chip and forward the Wi-Fi data to the device's Double Data Rate (DDR) memory using the Peripheral Component Interconnect Express (PCIe) bus. The device's main processing chip then reads the wireless data from the DDR memory for processing. However, this processing method involves excessively frequent access to the DDR memory, leading to increased power consumption and reduced battery life. Summary of the Invention

[0003] This application aims to provide a data processing method, apparatus, electronic device, and computer-readable storage medium that can reduce device power consumption and improve device battery life.

[0004] The technical solution of this application is implemented as follows:

[0005] This application provides a method comprising:

[0006] The first wireless data received is recorded in a preset storage space on the coprocessor chip;

[0007] Under the condition that the preset recording conditions are met, the wireless data in the preset storage space is sent to the device memory; the device memory is used to provide wireless data to the main processing chip for processing; the preset recording conditions represent the scenario conditions under which at least one received wireless data is recorded through the preset storage space.

[0008] This application provides a data processing apparatus, including:

[0009] The recording module is used to record the first wireless data received at the moment in a preset storage space on the coprocessor chip;

[0010] The transmitting module is used to transmit wireless data in the preset storage space to the device memory when preset recording conditions are met; the device memory is used to provide wireless data to the main processing chip for processing; the preset recording conditions represent the scenario conditions for recording at least one received wireless data through the preset storage space.

[0011] This application provides a chip, including:

[0012] Memory, used to store executable instructions;

[0013] The processor, when executing executable instructions stored in the memory, performs the data processing method as provided in the embodiments of this application.

[0014] This application provides an electronic device, including:

[0015] Memory, used to store executable instructions;

[0016] The processor, when executing executable instructions stored in the memory, performs the data processing method as provided in the embodiments of this application.

[0017] This application provides a computer-readable storage medium storing executable instructions for inducing a processor to execute and implement the data processing method provided in this application.

[0018] This application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implement the data processing method provided in this application.

[0019] This application provides a data processing method, apparatus, electronic device, and computer-readable storage medium. Each received wireless data is temporarily stored in a preset storage space on a coprocessor chip. When preset recording conditions are met—that is, when at least one received wireless data session has been recorded in the preset storage space—the wireless data recorded in the preset storage space is then sent to the device memory. This reduces the frequency of access to the device memory and the frequency of access to the communication bus between the coprocessor chip and the device memory, thereby reducing device power consumption and improving device battery life. Attached Figure Description

[0020] Figure 1 A schematic diagram showing the connection between the main processing chip and the coprocessor chip;

[0021] Figure 2 This diagram illustrates the operating states of the DDR and PCIe buses when receiving data packets using the current technical solution.

[0022] Figure 3 A schematic flowchart of an optional data processing method provided in an embodiment of this application;

[0023] Figure 4 A schematic flowchart of an optional data processing method provided in an embodiment of this application;

[0024] Figure 5 A schematic diagram illustrating an optional process by which the coprocessor chip, as provided in an embodiment of this application, transmits wireless data to the main processing chip.

[0025] Figure 6 A schematic flowchart of an optional data processing method provided in an embodiment of this application;

[0026] Figure 7 A schematic diagram illustrating an optional process by which the coprocessor chip, as provided in an embodiment of this application, transmits wireless data to the main processing chip.

[0027] Figure 8 A schematic flowchart of an optional data processing method provided in an embodiment of this application;

[0028] Figure 9 This is a schematic diagram illustrating the process of determining the storage location of wireless data based on data traffic, provided in an embodiment of this application.

[0029] Figure 10 A schematic flowchart of an optional data processing method provided in an embodiment of this application;

[0030] Figure 11a This is a schematic diagram illustrating an optional process by which an electronic device, as provided in this application embodiment, switches power management modes through message interaction with an access point;

[0031] Figure 11b This is a schematic diagram illustrating an optional process by which an electronic device, as provided in this application embodiment, switches power management modes through message interaction with an access point;

[0032] Figure 12 A power management mode switching state diagram of a wireless data module on an electronic device provided in an embodiment of this application;

[0033] Figure 13 This is a schematic diagram illustrating an optional process for switching the current storage location based on data traffic, provided in an embodiment of this application.

[0034] Figure 14 This is a schematic diagram illustrating an optional process for processing wireless data within a coprocessor chip, as provided in an embodiment of this application.

[0035] Figure 15 A schematic flowchart of an optional data processing method provided in an embodiment of this application;

[0036] Figure 16 A schematic flowchart of an optional data processing method provided in an embodiment of this application;

[0037] Figure 17This is a schematic diagram provided by an embodiment of the present application, showing that when a preset duration threshold is reached, the amount of data in each subspace of at least one subspace is less than a link threshold.

[0038] Figure 18 A schematic flowchart of an optional data processing method provided in an embodiment of this application;

[0039] Figure 19 This is a schematic diagram illustrating the amount of data in the first subspace reaching the first link threshold when the preset duration threshold has not been reached, as provided in an embodiment of this application.

[0040] Figure 20 This is a schematic diagram provided for an embodiment of the present application, showing that when a preset time threshold is reached, the total data volume of at least one subspace is less than the preset total data volume threshold.

[0041] Figure 21 This is a schematic diagram provided for an embodiment of the present application, showing that the total data volume of at least one subspace reaches a first link threshold without reaching a preset duration threshold;

[0042] Figure 22 This is a comparison chart showing the effect of the embodiments of this application and the current technical solutions on the number of DDR accesses;

[0043] Figure 23 This is a schematic diagram of an optional structure of the data processing apparatus provided in an embodiment of this application;

[0044] Figure 24 This is a schematic diagram of an optional structure of the chip provided in an embodiment of this application. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0046] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0047] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0049] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.

[0050] 1) Coprocessor chip: A processor chip developed and used to assist the central processing unit (CPU) in performing processing tasks that it cannot perform or performs inefficiently. Coprocessor chips can be used for signal transmission between devices, management of access devices, graphics processing, audio processing, etc.

[0051] 2) Media Access Control (MAC) layer

[0052] 3) Address Resolution Protocol (ARP)

[0053] 4) Internet Control Message Protocol (ICMP)

[0054] 5) Transmission Control Protocol (TCP)

[0055] 6) User Datagram Protocol (UDP)

[0056] One of the primary uses of Wi-Fi wireless networks is to provide convenient mobility and convenience for mobile devices, which is closely related to battery life. Currently, the 802.11 protocol defines two power states for mobile devices: Awake and Doze. In Awake state, the mobile device can send and receive data with the Wi-Fi access point, and all functional modules are powered. In Doze state, the mobile device cannot receive air interface packets and consumes very little power. Accordingly, the 802.11 protocol designs two power management modes for mobile devices: Active mode and Power save mode. In Active mode, the mobile device can receive and send packets at any time and remains in Awake state; in Power save mode, the mobile device can enter Awake state to receive and send packets, and operates in sleep (Doze) state the rest of the time.

[0057] As the Wi-Fi protocol has evolved, the throughput of wireless networks has increased significantly. Most Wi-Fi device manufacturers now use coprocessor chips to handle the Wi-Fi protocol and connect the coprocessor chip to the main processing chip via the PCIe bus. This allows the coprocessor chip to directly access DDR memory. Figure 1 As shown. In this way, data packets received by the coprocessor chip are directly passed to the DDR via the PCIe bus, without needing to be temporarily stored or relayed within the coprocessor chip. This allows for a balance between throughput performance and power consumption in time-sensitive high-throughput scenarios.

[0058] based on Figure 1 When Android is operating in resume mode, all data packets received by the coprocessor chip are sent to DDR via PCIe for processing. In other words, the coprocessor chip sends data packets to DDR via PCIe for processing only when it receives them. For example, as... Figure 2 As shown, the Android system on the mobile device operates in resume mode. Every 10ms, the mobile device receives an air interface data packet sent to it from the access point. After receiving this data packet, the mobile device's coprocessor chip immediately sends it to the main processor for processing via PCIe. In other words, the mobile device's PCIe also operates every 10ms, and the DDR also operates every 10ms.

[0059] It can be seen that in low-throughput scenarios where time is not sensitive, the current technical solution sends every received data packet to DDR, which increases the DDR access frequency, leading to increased power consumption of mobile devices and reduced battery life.

[0060] This application provides a data processing method, apparatus, electronic device, and computer-readable storage medium, which can reduce device power consumption and improve device battery life. This application is applied to electronic devices; in some embodiments, it is applied to a coprocessor chip on the electronic device. In some embodiments, the electronic device can be implemented as various types of user terminals such as laptops, tablets, desktop computers, set-top boxes, and mobile devices (e.g., smartphones, tablets, laptops, desktop computers, smartwatches, mobile Wi-Fi), or as a Wi-Fi router, etc., depending on the specific circumstances; this application does not limit the implementation.

[0061] See Figure 3 , Figure 3 This is an optional flowchart illustrating the data processing method provided in the embodiments of this application, which will be combined with... Figure 3 The steps shown are explained.

[0062] S101. Record the first wireless data received at the moment in the preset storage space on the coprocessor chip.

[0063] In this embodiment, the electronic device and the wireless data access point (AP) are interconnected. Both the electronic device and its wireless data module operate in normal power consumption mode, enabling normal reception and processing of wireless data. For example, the Android system on the electronic device operates in resume mode, and the Wi-Fi module operates in active mode. Thus, the electronic device can normally receive wireless data sent by the AP through the coprocessor chip, recording the currently received wireless data as the first wireless data in the coprocessor chip's own preset storage space.

[0064] S102. If the preset recording conditions are met, the wireless data in the preset storage space is sent to the device memory.

[0065] In this embodiment, the preset recording conditions characterize the scenario conditions under which at least one received wireless data is recorded in the preset storage space. If the preset recording conditions are met, it indicates that at least one received wireless data may have been recorded in the preset storage space. The electronic device then sends the wireless data from the preset storage space to the device memory.

[0066] In some embodiments, satisfying the preset recording conditions may include: the data recording duration corresponding to the preset storage space reaching a preset duration threshold; or, the amount of data recorded in the preset storage space being greater than or equal to a preset data amount threshold. That is, when the data recording duration corresponding to the preset storage space reaches the preset duration threshold, the electronic device sends the wireless data recorded in the preset storage space to the device memory. Alternatively, when the wireless data recorded in the preset storage space reaches a preset data amount threshold, the electronic device sends the wireless data recorded in the preset storage space to the device memory. The device memory is used to provide wireless data to the main processing chip for processing.

[0067] In some embodiments, the electronic device can preset a timer for a preset storage space, using the timer duration as a preset duration threshold. The timer duration is longer than the interval between wireless data reception by the electronic device. For example, if the electronic device receives wireless data packets sent by the AP every 10ms, the timer duration can be 20ms. Thus, every 20ms, the electronic device determines that the corresponding data recording duration in the preset storage space has reached the preset duration threshold, sends the wireless data recorded in the preset storage space to the device memory, and resets the timer.

[0068] In this embodiment, a preset storage space records at least one piece of wireless data received by the electronic device at at least one moment. The at least one piece of wireless data includes first wireless data received and recorded at the current moment. When the amount of wireless data recorded in the preset storage space reaches a preset data volume threshold, the electronic device sends the wireless data recorded in the preset storage space to the device memory.

[0069] In some embodiments, the coprocessor chip is connected to the device memory via a first communication bus. Exemplarily, the first communication bus may be a PCIe bus. The coprocessor chip can transmit wireless data recorded in a preset storage space to the device memory via the first communication bus.

[0070] In this embodiment, the device memory and the main processing chip on the electronic device are connected via a second communication bus. For example, the second communication bus may be a DDR bus. The main processing chip can read wireless data from the device memory via the second communication bus and process the read wireless data using the wireless data processing capabilities configured in the main processing chip. In some embodiments, the device memory may be DDR memory on an electronic device such as a mobile phone, and the main processing chip may be an application processor on the mobile phone; the specific selection depends on the actual situation, and this embodiment does not limit the choice.

[0071] It is understood that the electronic device in this application embodiment temporarily stores each received wireless data in a preset storage space on the coprocessor chip. When preset recording conditions are met—that is, when at least one received wireless data has been recorded in the preset storage space—for example, when the data recording duration corresponding to the preset storage space reaches a preset duration threshold, or when the wireless data recorded in the preset storage space reaches a preset data volume threshold, the wireless data recorded in the preset storage space is then sent to the device memory. This reduces the frequency of access to the device memory and the frequency of access to the communication bus between the coprocessor chip and the device memory, thereby reducing device power consumption and improving device battery life.

[0072] In some embodiments, based on Figure 3 ,like Figure 4 As shown, S101 can be achieved by executing S201-S202, as follows:

[0073] S201. Upon receiving the first wireless data, determine the data flow in the receiving direction.

[0074] In S201, upon receiving the first wireless data, the electronic device first determines the data flow in the receiving direction. Based on this data flow, the electronic device can determine whether the data transmission between itself and the access point (AP) is in a high-throughput (flow) scenario or a low-throughput (flow) scenario, and utilize the different time sensitivity requirements of each scenario to determine the storage location of the wireless data.

[0075] In some embodiments, an electronic device can determine the data flow rate by accumulating the amount of data transmitted in the receiving direction within a preset unit time. For example, the electronic device can accumulate the amount of wireless data received within a preset unit time each time wireless data is received, such as the number of data packets or bytes. The electronic device can use the accumulated data amount as the current data flow rate in the receiving direction; or, it can use the ratio of the accumulated data amount to the preset unit time as the current data flow rate in the receiving direction.

[0076] S202. When the data flow in the receiving direction is less than a preset flow threshold, the first wireless data is recorded in a preset storage space.

[0077] In S202, if the data flow in the receiving direction is less than a preset flow threshold, it indicates that the data transmission between the electronic device and the AP in the receiving direction is in a low-flow scenario. Since time is not sensitive in low-flow scenarios, it is not necessary to immediately send the first wireless data received at the current moment into the device memory. The electronic device can record the first wireless data in the preset storage space of the coprocessor chip and not send it to the device memory for the time being. When the preset recording conditions in S102 are met—that is, when the data recording duration corresponding to the preset storage space reaches a preset duration threshold, or when the wireless data recorded in the preset storage space reaches a preset data volume threshold—the wireless data recorded in the preset storage space is sent to the device memory.

[0078] In some embodiments, the first wireless data may be a Presentation Protocol Data Unit (PPDU) data packet received by the coprocessor chip from the AP side; the preset storage space in the coprocessor unit is static random-access memory (SRAM) space; the device space is the DDR memory corresponding to the main processing chip. For example, as shown... Figure 5 As shown, when the data flow is less than a preset flow threshold, the coprocessor chip temporarily stores (records) the received PPDU data packets in the coprocessor chip's SRAM space; when the duration of using the SRAM space to store PPDU data packets reaches a preset duration threshold, or when the amount of PPDU data packets stored in the SRAM space is greater than or equal to a preset data amount threshold, the coprocessor chip starts the PCIE bus and transfers the PPDU data packets temporarily stored in the SRAM space to the corresponding DDR memory of the main processing chip.

[0079] It is understood that, in this embodiment, when the electronic device receives wireless data, it first determines the current data transmission scenario based on the data traffic. In low-traffic scenarios where data processing time is not sensitive, the received wireless data is temporarily stored in a preset storage space within the coprocessor chip. It is then sent to the device memory only when a preset duration threshold or a preset data volume threshold is reached. This not only reduces access to the device memory and communication bus, lowering power consumption, but also minimizes the impact on data processing response latency, ensuring efficient wireless data processing.

[0080] In some embodiments, based on Figure 4 ,like Figure 6 As shown, after S201, the electronic device can also execute S301, as follows:

[0081] S301. When the data traffic is greater than or equal to the preset traffic threshold, the first wireless data is sent to the device memory.

[0082] In S301, if the data traffic is greater than or equal to a preset traffic threshold, it indicates that the data transmission between the electronic device and the AP in the receiving direction is in a high-traffic scenario. The electronic device directly sends the first received wireless data to the device memory without caching it in the coprocessor chip, in order to ensure data processing efficiency in high-traffic scenarios.

[0083] For example, such as Figure 7 As shown, when the data flow is greater than or equal to the preset flow threshold, the coprocessor chip will directly transmit the received PPDU data packets to the corresponding DDR memory of the main processing chip through the PCIE bus, without using the SRAM space of the coprocessor chip for temporary storage.

[0084] In some embodiments, based on Figure 4 ,like Figure 8 As shown, S101 can be implemented by executing S1011-S1012, and after S1012, S401-S402 can also be executed, as follows:

[0085] S1011. Upon receiving the first wireless data, determine the current storage location of the received data.

[0086] In S1011, the electronic device can preset the storage location for received data. For example, the initial or default storage location can be a preset storage space. The electronic device can update the current storage location based on the current data traffic during wireless data reception.

[0087] S1012. If the current storage location is a preset storage space, record the first wireless data in the preset storage space.

[0088] In S1012, the electronic device records the first wireless data in a preset storage space according to the current storage location.

[0089] S401. Determine the data flow in the receiving direction.

[0090] Here, the process of determining data flow in S401 is consistent with the process description in S201, and will not be repeated here.

[0091] S402. When the data traffic is greater than or equal to the preset traffic threshold, the wireless data recorded in the preset storage space is sent to the device memory, and the current storage location is updated to the device memory.

[0092] In step S402, when the current storage location of the wireless data is a preset storage space in the coprocessor chip, and the data flow is greater than or equal to a preset flow threshold, the electronic device sends the wireless data recorded in the preset storage space to the device memory, and updates the current storage location of the wireless data from the preset storage space to the device memory. Here, the wireless data recorded in the preset storage space includes the first wireless data received at the current moment.

[0093] For example, when the data traffic is less than a preset traffic threshold, the electronic device records some wireless data using the preset storage space of the coprocessor chip; when the data traffic increases until it is greater than or equal to the preset traffic threshold, the electronic device sends the first wireless data currently received, as well as the wireless data recorded in the preset storage space, to the device memory, and updates the current storage location to the device memory.

[0094] For example, embodiments of this application can determine the storage location of wireless data received in the receiving direction based on data traffic, such as throughput. Figure 9 As shown, when the data flow is less than a preset flow threshold (e.g., when throughput is low), the wireless data received by the receiving side is temporarily stored in a preset storage space within the coprocessor chip, such as SRAM. When the data flow is greater than or equal to the preset flow threshold (e.g., when throughput is high), the coprocessor chip directly transmits the wireless data received by the receiving side to the device memory (e.g., DDR) via PCIe, where it is stored.

[0095] It is understood that the embodiments of this application determine the storage location of the received wireless data based on the data traffic. When the data traffic is greater than or equal to a preset traffic threshold, the received wireless data is directly sent to the device memory, thereby ensuring data response speed in high throughput scenarios. Combined with the methods in S201-S202 above, a balance between throughput performance and power consumption can be achieved, thereby reducing device power consumption and improving device battery life while ensuring the device's data processing performance.

[0096] In some embodiments, based on Figure 8 ,like Figure 10 As shown, S401 can be achieved by executing S4011-S4015, as follows:

[0097] S4011. When the data traffic is greater than or equal to the preset traffic threshold and the current storage location of the wireless data is the preset storage space, switch the power management mode to the first preset mode.

[0098] In S4011, when the data traffic is greater than or equal to a preset traffic threshold and the current storage location of the wireless data is a preset storage space, the electronic device first switches the power management mode of the wireless data module to a first preset mode. In the first preset mode, it sends wireless data to the device memory and switches the current storage location. The first preset mode represents the wireless data module entering low-power power management and ceasing to receive wireless data. For example, the first preset mode could be a power save mode.

[0099] In some embodiments, the electronic device can send a first request message to the access point (AP) to request that the power management mode of the wireless data module be set to a first preset mode. For example, as shown... Figure 11a As shown, the first request message can be a request message with the preset flag bit PM bit in the MAC layer header set to 1. When the AP receives a first request message containing PM bit = 1, it knows that the wireless data module on the electronic device is requesting to enter low-power mode. The AP sends a corresponding first request confirmation message ack1 to the electronic device and buffers the wireless data to be sent to the electronic device, ceasing to send wireless data to the electronic device. Upon receiving the first request confirmation message ack1 from the AP, the electronic device switches the power management mode of the wireless data module to a first preset mode, such as Powersave mode, and stops receiving wireless data.

[0100] S4012. In the first preset mode, stop receiving wireless data and send the first wireless data and the wireless data recorded in the preset storage space to the device memory.

[0101] S4013. Update the current storage location to the device memory.

[0102] In S4012 and S4013, in the first preset mode, the coprocessor chip stops receiving wireless data and begins processing the data storage location switch. The electronic device sends the first wireless data and the wireless data recorded in the preset storage space to the device memory, and updates the current storage location to the device memory.

[0103] In some embodiments, the first preset mode includes a first operating state and a second operating state. The first operating state represents the state where the wireless data module is normally transmitting and receiving data; exemplarily, the first operating state can be an Awake state. The second operating state represents the wireless data module entering a low-power sleep state; exemplarily, the second operating state can be a Doze state. The electronic device can stop receiving wireless data in the second operating state of the first preset mode.

[0104] It should be noted that, Figure 10 This is just one example of S4012 being executed before S4013. In practice, S4012 and S4013 can be executed in any order or in parallel, depending on the actual situation. This application does not limit the specific execution of S4012 and S4013.

[0105] S4014. Switch the power management mode to the second preset mode.

[0106] In S4014, when the electronic device completes the transmission of wireless data recorded in the coprocessor chip to the device memory and switches the current storage location to the device memory, the power management mode is switched from a first preset mode to a second preset mode. Here, the second preset mode indicates that the wireless data module on the electronic device has entered a normal wireless data transmission and reception mode. The power consumption of the second preset mode is higher than that of the first preset mode. For example, the second preset mode can be Active mode.

[0107] In some embodiments, the electronic device can send a second request message to the access point (AP) to request that the power management mode of the wireless data module on the electronic device be set to a second preset mode. For example, as shown... Figure 11b As shown, the second request message can be a request message with the preset flag bit PM in the MAC layer header set to 0. When the AP receives a second request message containing PM bit = 0, it knows that the electronic device's wireless data module requests to enter normal data transmission and reception mode. The AP sends a corresponding second request confirmation message ack2 to the electronic device and begins transmitting wireless data to the electronic device. Upon receiving the second request confirmation message ack2 from the AP, the electronic device switches the power management mode of its wireless data module to a second preset mode, such as Active mode, and starts receiving wireless data.

[0108] S4015. In the second preset mode, start receiving wireless data and send the received wireless data to the device memory.

[0109] In S4015, under the second preset mode, the coprocessor chip initiates the reception of wireless data. After initiating data reception, the coprocessor chip directly sends the received wireless data to the device memory corresponding to the current storage location, without recording or forwarding it internally. This continues until, based on the received first wireless data, it is determined that the data flow is less than a preset flow threshold. Then, using the same storage location switching process, the current storage location is switched to the preset storage space, and the first wireless data is recorded in the preset storage space. In other words, when the data flow is less than the preset flow threshold and the current storage location of the wireless data is the device memory, the electronic device can switch the current storage location from the device memory to the preset storage space and record the received wireless data in the preset storage space. The switching process is the same as the process of switching from the preset storage space to the device memory described above, and will not be repeated in this embodiment.

[0110] For example, combined Figure 11a and Figure 11b The power management mode switching state diagram of the wireless data module can be shown as follows: Figure 12 As shown. The electronic device switches from Active mode (second preset mode) to the Doze state in Power save mode (first preset mode) by sending a first request message (containing a request message with PM=1) to the AP, thus stopping the reception of wireless data. The electronic device switches from Power save mode (first preset mode) to Active mode (second preset mode) by sending a second request message (containing a request message with PM=0) to the AP, that is, it enters the normal data transmission and reception mode.

[0111] For example, the current storage location is a preset storage space, such as the SRAM cache in the coprocessor chip. When the electronic device receives the first wireless data, such as a PPDU data packet, the process of switching the storage location according to the data traffic can be as follows: Figure 13 As shown. The coprocessor chip in the electronic device receives PPDU data packets sent by the AP from the air interface and records them in the SRAM cache. The microcontroller unit (MCU) in the coprocessor chip detects that the number of PPDU data packets and the number of bytes within a preset unit time are greater than or equal to a preset traffic threshold, determining that the current situation is a high traffic scenario. The MCU of the coprocessor chip sends a data packet with PM=1 (first request message) to the AP, requesting a switch to Power save mode to change the wireless data storage location. Upon receiving the first request confirmation message from the AP in response to the PM=1 data packet via the air interface, the coprocessor chip sends the PPDU data packets in the SRAM cache to the device memory, that is... Figure 13The MCU of the coprocessor chip sends a stop data reception command to the MAC layer receive control unit in the coprocessor chip, stopping the reception of PPDU data packets from the AP, and switching the current storage location from the SRAM cache in the coprocessor chip to the DDR cache. After the switch is complete, the MCU sends a start data reception command to the MAC layer receive control unit and sends a data packet with PM=0 (second request message) to the AP to request a switch to Active mode. Upon receiving the second request confirmation message from the AP in response to the PM=0 data packet, the MCU begins receiving PPDU data packets from the AP and directly stores the received PPDU data packets in the DDR cache.

[0112] In some embodiments, when the electronic device operates in a low-power mode, for example, when the Android system on the electronic device is operating in suspend mode, the coprocessor chip can first process the received data packets, such as offload processing. The coprocessor chip also has certain data processing capabilities; for some protocol types of wireless data, such as ARP and ICMP protocol message data, the coprocessor can process them directly without initiating PCIe bus transmission to device memory, allowing the main processor to handle the data. Figure 14 As shown. When the received PPDU data packet belongs to a protocol type that the coprocessor chip can handle, it is processed internally by the coprocessor chip, without the need for PCIe and DDR access, nor the participation of the main processor chip. However, for data packets that require protocol stack processing, such as TCP and UDP, the coprocessor chip cannot process them internally and needs to immediately wake up Android, that is, switch the power management mode of the electronic device to normal power consumption mode. When switching to normal power consumption mode, such as waking up Android to enter resume mode, the method in this embodiment first records the received wireless data in a preset storage space. When a preset duration threshold is reached, or when the amount of data in the preset storage space is greater than or equal to a preset data amount threshold, the wireless data in the preset storage space is sent to DDR through the PCIe bus for processing by the main processor chip.

[0113] In some embodiments, based on Figure 3 ,like Figure 15 As shown, S102 can be achieved by executing S1021-S1022, as follows:

[0114] S1021. If the data recording duration reaches a preset duration threshold, determine whether there is wireless data in the preset storage space.

[0115] In S1021, when the data recording duration reaches a preset duration threshold, the coprocessing chip on the electronic device can check whether there is wireless data in the preset storage space through the microcontroller unit.

[0116] S1022. If wireless data exists, send the wireless data in the preset storage space to the device memory and restart the data recording time.

[0117] In step S1022, when the data recording duration reaches a preset duration threshold and wireless data exists in the preset storage space, the coprocessor chip in the electronic device sends the wireless data recorded in the preset storage space to the device memory. Furthermore, the electronic device resets the data recording duration, such as by resetting a timer, and restarts the accumulation of data recording time.

[0118] In some embodiments, after S1021, S1023-S1024 may also be executed, as follows:

[0119] S1023. In the absence of wireless data, determine the current power management mode.

[0120] In S1023, if the data recording duration in the preset storage space reaches the preset duration threshold, but there is no wireless data in the preset storage space, it may be because the current power management mode of the wireless data module on the electronic device is inactive, such as the Wi-Fi module's current power management mode being Power save mode, which cannot transmit or receive data. Therefore, in the absence of wireless data, the electronic device first determines the current power management mode of the wireless data module.

[0121] S1024. When the power management mode is active, restart the data recording duration.

[0122] In S1024, when the power management mode is in active mode, it indicates that the wireless data module will continue to receive wireless data. The electronic device restarts the data recording duration accumulation, such as resetting the timer, so that when the next data recording duration reaches the preset duration threshold, the methods in S1021-S1022, or S1021, S1023-S1024, are executed again.

[0123] It is understood that in this embodiment of the application, by setting a preset duration threshold for the preset storage space, when the data recording duration of the preset storage space reaches the preset duration threshold, the wireless data recorded in the preset storage space is sent to the device memory, and the data recording duration is reset. This realizes access to the device memory according to the interval of the preset duration threshold. Compared with the current method of accessing the device memory every time a data packet is received, the access frequency of the device memory is reduced, and the use of the PCIe bus is reduced, thereby reducing the power consumption of the device.

[0124] In some embodiments, based on Figure 3 ,like Figure 16 As shown, after S101, S501 can also be executed, as follows:

[0125] S501. If the data recording duration has not reached the preset duration threshold and the amount of data in the preset storage space is greater than or equal to the preset data amount threshold, the wireless data in the preset storage space is sent to the device memory and the data recording duration is restarted.

[0126] In step S501, if the data recording duration has not reached the preset duration threshold, and the amount of wireless data in the preset storage space is greater than or equal to the preset data volume threshold, the coprocessor chip sends the wireless data in the preset storage space to the device memory to transfer the wireless data in the preset storage space to the device memory, and continues recording wireless data using the preset storage space. Furthermore, the coprocessor chip resets the data recording duration and restarts the accumulation of data recording time. When the next data recording duration reaches the preset duration threshold, steps S1021-S1022, or steps S1021, S1023-S1024, are executed again. Alternatively, the method in step S501 is executed before the next data recording duration reaches the preset duration threshold.

[0127] Understandably, if the amount of data recorded in the preset storage space is greater than or equal to the preset data amount threshold before the preset duration threshold is reached, the wireless data in the preset storage space will be sent to the device memory. This can prevent data overflow and loss and improve the stability of services on electronic devices.

[0128] In some embodiments, at least one wireless data link may exist on the electronic device. For example, in a screen mirroring application, there is a wireless data link between the mobile phone and the access point (AP), and another wireless data link between the mobile phone and the display being mirrored. The electronic device can set a separate data volume threshold for each wireless data link. In some embodiments, the preset storage space includes at least one subspace corresponding to at least one wireless data link; correspondingly, the preset data volume threshold includes at least one link threshold corresponding to at least one subspace. Wherein, the at least one link threshold corresponds to at least one wireless data link. When the coprocessor chip receives first wireless data transmitted by the first wireless data link in the at least one wireless data link, it records the first wireless data in the first subspace of the preset storage space. Here, the first wireless data link is any one of the at least one wireless data links, and the first subspace is the subspace corresponding to the first wireless data link in the at least one subspace.

[0129] In some embodiments, when the data recording duration reaches a preset duration threshold, the electronic device can transmit the wireless data recorded in at least one subspace to the device memory. For example, as... Figure 17 As shown, at least one subspace includes: subspace 1, subspace 2, and subspace 3. When the data recording duration reaches a preset duration threshold, the amount of data in subspace 1, subspace 2, and subspace 3 is less than the corresponding link threshold for each of subspace 1, subspace 2, and subspace 3. The electronic device transmits the wireless data recorded in subspace 1, subspace 2, and subspace 3 to the device memory.

[0130] In some embodiments, based on Figure 3 ,like Figure 18 As shown, after S101, the electronic device can also execute S601, as follows:

[0131] S601. If the amount of data in the first subspace is greater than the first link threshold, the wireless data in the first subspace is sent to the device memory.

[0132] In S601, the first link threshold is the link threshold corresponding to the first subspace. In some embodiments, if the amount of wireless data recorded in the first subspace is greater than the first link threshold, the coprocessor chip in the electronic device can send the wireless data recorded in the first subspace to the device memory.

[0133] In some embodiments, the determination of whether to access device memory can be made by combining the data recording duration with the link threshold corresponding to the subspace. If the data recording duration does not reach the preset duration threshold and the amount of data in the first subspace is greater than or equal to the first link threshold, the electronic device can send the wireless data in the first subspace to the device memory and re-accumulate the data recording duration.

[0134] For example, such as Figure 19 As shown, if the amount of wireless data in the first subspace (subspace 1) in the preset storage space SRAM reaches the first link threshold (link threshold 1) before the data recording duration reaches the preset duration threshold, the coprocessor chip can send the wireless data recorded in the first subspace to the device memory and reset the timer corresponding to the SRAM.

[0135] In some embodiments, the preset data volume threshold further includes a preset total data volume threshold. The electronic device can determine the sum of the data volumes of wireless data in at least one subspace as the total data volume.

[0136] In some embodiments, such as Figure 20 As shown, when the data recording duration reaches a preset duration threshold, the total data volume of at least one subspace is less than the preset total data volume threshold; the electronic device sends the wireless data in the preset storage space to the device memory.

[0137] In some embodiments, an electronic device may transmit wireless data in a preset storage space, i.e. at least one subspace, to the device memory when the total data volume is greater than or equal to a preset total data volume threshold.

[0138] In some embodiments, the determination of whether to access device memory can be made by combining the data recording duration with a preset total data volume threshold. If the data recording duration does not reach the preset duration threshold, and the total data volume of wireless data in at least one subspace is greater than or equal to the preset total data volume threshold, the electronic device can send the wireless data in the preset storage space to the device memory and re-accumulate the data recording duration.

[0139] For example, such as Figure 21 As shown, if the total amount of wireless data in multiple subspaces of the preset storage space SRAM reaches the preset total data amount threshold when the data recording duration has not reached the preset duration threshold, the electronic device will send the wireless data in the preset storage space to the device memory and reset the timer corresponding to the SRAM.

[0140] Understandably, by setting a separate data volume threshold for at least one wireless data link connected to an electronic device, wireless data from data links with larger buffers can be independently sent to the device's memory based on the different data volumes on different wireless data links, and then processed by the main processor in a timely manner, thereby improving the response speed of data processing.

[0141] In some embodiments, when the data processing method of this application is applied to a mobile client such as a mobile phone, and the Android system of the mobile phone is in resume mode and the Wi-Fi module on the mobile phone is working in active mode, the access frequency of DDR and / or the usage frequency of PCIe bus of the method in this application can be determined by measuring the DDR voltage and / or the voltage on the PCIe bus on the mobile phone, based on the time interval of the high-level occurrence. For example, taking the generation of a data packet in the air interface every 10ms and the timeout value (preset duration threshold) set by the timer as 20ms, ... Figure 22 As shown, compared with the solutions of current related technologies, the data processing method in this application embodiment can reduce the number of DDR accesses by half and the number of PCIe accesses by half, thereby reducing device power consumption and improving device battery life.

[0142] Based on the implementation basis of the foregoing embodiments, such as Figure 23 As shown, this application embodiment provides a data processing apparatus 1, including:

[0143] Recording module 11 is used to record the currently received first wireless data in a preset storage space on the coprocessor chip;

[0144] The sending module 12 is used to send wireless data in the preset storage space to the device memory when the preset recording conditions are met; the device memory is used to provide wireless data to the main processing chip for processing; the preset recording conditions represent the scenario conditions of recording at least one received wireless data through the preset storage space.

[0145] In some embodiments, satisfying the preset recording conditions includes:

[0146] The data recording duration corresponding to the preset storage space reaches the preset duration threshold;

[0147] or,

[0148] The amount of data recorded in the preset storage space is greater than or equal to the preset data amount threshold.

[0149] In some embodiments, the recording module 11 is further configured to determine the data flow in the receiving direction when the first wireless data is received; and to record the first wireless data in the preset storage space when the data flow is less than a preset flow threshold.

[0150] In some embodiments, the sending module 12 is further configured to send the first wireless data to the device memory when the data traffic is greater than or equal to a preset traffic threshold.

[0151] In some embodiments, the recording module 11 is further configured to, upon receiving the first wireless data, determine the current storage location of the received data; and, if the current storage location is the preset storage space, record the first wireless data in the preset storage space.

[0152] The transmitting module 12 is further configured to determine the data flow in the receiving direction; when the data flow is greater than or equal to a preset flow threshold, to transmit the wireless data in the preset storage space to the device memory, and to update the current storage location to the device memory.

[0153] In some embodiments, the transmitting module 12 is further configured to switch the power management mode to a first preset mode; in the first preset mode, stop receiving wireless data and send the wireless data in the preset storage space to the device memory; update the current storage location to the device memory; switch the power management mode to a second preset mode; in the second preset mode, start receiving wireless data and send the received wireless data to the device memory.

[0154] In some embodiments, the sending module 12 is further configured to determine the data flow by accumulating the amount of data transmitted in the receiving direction within a preset unit time.

[0155] In some embodiments, the sending module 12 is further configured to, after recording the currently received first wireless data in a preset storage space on the coprocessor chip, if the data recording duration has not reached the preset duration threshold and the amount of data in the preset storage space is greater than or equal to the preset data amount threshold, send the wireless data in the preset storage space to the device memory and restart accumulating the data recording duration.

[0156] In some embodiments, the sending module 12 is further configured to determine whether there is wireless data in the preset storage space when the data recording duration reaches the preset duration threshold; if wireless data exists, send the wireless data in the preset storage space to the device memory and restart the accumulation of the data recording duration.

[0157] In some embodiments, the data processing device 1 further includes a timer module, which is used to determine the current power management mode when there is no wireless data; and restart the accumulation of the data recording duration when the current power management mode is an active mode.

[0158] In some embodiments, the preset storage space includes at least one subspace corresponding to at least one wireless data link; the preset data volume threshold includes at least one link threshold corresponding to the at least one subspace; the sending module 12 is further configured to send the wireless data in the first subspace to the device memory when the data volume in the first subspace is greater than or equal to the first link threshold; the first subspace is any one of the at least one subspaces; the first link threshold is the link threshold corresponding to the first subspace.

[0159] In some embodiments, the sending module 12 is further configured to send the wireless data in the first subspace to the device memory and re-accumulate the data recording duration when the data recording duration does not reach the preset duration threshold and the amount of data in the first subspace is greater than or equal to the first link threshold.

[0160] In some embodiments, the preset data volume threshold further includes: a preset total data volume threshold; the sending module 12 is further configured to send the wireless data in the preset storage space to the device memory when the total data volume of the wireless data in the at least one subspace is greater than or equal to the preset total data volume threshold.

[0161] In some embodiments, the sending module 12 is further configured to send the wireless data in the preset storage space to the device memory and re-accumulate the data recording duration when the data recording duration has not reached the preset duration threshold and the total data volume of the wireless data in the at least one subspace is greater than or equal to the preset total data volume threshold.

[0162] It should be noted that the description of the above device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects. For technical details not disclosed in the device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0163] This application also provides a chip. Figure 24 This is a schematic diagram of an optional chip structure provided in an embodiment of this application. For example... Figure 24As shown, the chip 2 includes a memory 22 and a processor 23. The memory 22 and the processor 23 are connected via a communication bus 24. The memory 22 is used to store executable instructions. The processor 23 is used to implement the data processing method provided in this application embodiment when executing the executable instructions stored in the memory 22.

[0164] In some embodiments, chip 2 may be a coprocessor chip on an electronic device such as a mobile phone.

[0165] This application also provides an electronic device in which the chip provided in the above embodiments can be integrated. (See reference...) Figure 24 As shown, the chip 2 may include a processor 23 and a memory 22 storing executable instructions of the processor; the processor 23 and the memory 22 communicate through a communication bus 24; the processor 23 can call and run executable instructions from the memory 22 to implement the data processing method provided in the embodiments of this application.

[0166] This application provides a computer-readable storage medium storing executable data instructions. When the executable data instructions are executed by a processor, the processor will execute the data processing method provided in this application.

[0167] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.

[0168] In some embodiments, executable data instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.

[0169] As an example, executable data instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborative files (e.g., a file that stores one or more modules, subroutines, or code sections).

[0170] As an example, executable data instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.

[0171] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.

[0172] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0173] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0174] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0175] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

Claims

1. A data processing method, characterized in that, include: The first wireless data received is recorded in a preset storage space on the coprocessor chip; Under the condition that the preset recording conditions are met, the wireless data in the preset storage space is sent to the device memory; The device memory is used to provide wireless data to the main processing chip for processing. The preset recording conditions characterize the scenario conditions under which at least one received wireless data is recorded through the preset storage space; The preset storage space for recording the currently received first wireless data on the coprocessor chip includes: Upon receiving the first wireless data, determine the data flow in the receiving direction; If the data traffic is less than a preset traffic threshold, the first wireless data is recorded in the preset storage space. The method further includes: If the first wireless data belongs to a protocol type that the coprocessor chip can process, the first wireless data is processed by the coprocessor chip.

2. The method according to claim 1, characterized in that, The conditions for satisfying the preset recording criteria include: The data recording duration corresponding to the preset storage space reaches the preset duration threshold; or, The amount of data recorded in the preset storage space is greater than or equal to the preset data amount threshold.

3. The method according to claim 1, characterized in that, The method further includes: If the data traffic is greater than or equal to a preset traffic threshold, the first wireless data is sent to the device memory.

4. The method according to claim 1 or 2, characterized in that, The method further includes: Upon receiving the first wireless data, determine the current storage location of the received data; If the current storage location is the preset storage space, the first wireless data is recorded in the preset storage space; Determine the data flow in the receiving direction; When the data traffic is greater than or equal to a preset traffic threshold, the wireless data in the preset storage space is sent to the device memory, and the current storage location is updated to the device memory.

5. The method according to claim 4, characterized in that, The step of sending wireless data from the preset storage space to the device memory and updating the current storage location to the device memory includes: Switch the power management mode to the first preset mode; In the first preset mode, receiving wireless data is stopped, and the wireless data in the preset storage space is sent to the device memory; Update the current storage location to the device memory; Switch the power management mode to the second preset mode; In the second preset mode, wireless data is received and sent to the device memory.

6. The method according to claim 1, characterized in that, The determination of data traffic in the receiving direction includes: The data flow rate is determined by accumulating the amount of data transmitted in the receiving direction within a preset unit time.

7. The method according to claim 2, characterized in that, After recording the currently received first wireless data in a preset storage space on the coprocessor chip, the method further includes: If the data recording duration does not reach the preset duration threshold, and the amount of data in the preset storage space is greater than or equal to the preset data amount threshold, the wireless data in the preset storage space is sent to the device memory, and the data recording duration is restarted.

8. The method according to claim 2, characterized in that, When the data recording duration corresponding to the preset storage space reaches a preset duration threshold, the wireless data in the preset storage space is sent to the device memory, including: If the data recording duration reaches the preset duration threshold, determine whether there is wireless data in the preset storage space; If wireless data is available, the wireless data in the preset storage space is sent to the device memory, and the data recording time is restarted.

9. The method according to claim 8, characterized in that, The method further includes: In the absence of wireless data, determine the current power management mode; When the current power management mode is active mode, the data recording duration will be accumulated again.

10. The method according to claim 2, characterized in that, The preset storage space includes at least one subspace corresponding to at least one wireless data link; the preset data volume threshold includes at least one link threshold corresponding to at least one subspace; the method further includes: If the amount of data in the first subspace is greater than or equal to the first link threshold, the wireless data in the first subspace is sent to the device memory; the first subspace is any one of the at least one subspaces; the first link threshold is the link threshold corresponding to the first subspace.

11. The method according to claim 10, characterized in that, The method further includes: If the data recording duration does not reach the preset duration threshold and the amount of data in the first subspace is greater than or equal to the first link threshold, the wireless data in the first subspace is sent to the device memory, and the data recording duration is re-accumulated.

12. The method according to claim 10 or 11, characterized in that, The preset data volume threshold further includes: a preset total data volume threshold; the method further includes: If the total amount of wireless data in the at least one subspace is greater than or equal to the preset total data threshold, the wireless data in the preset storage space is sent to the device memory.

13. The method according to claim 12, characterized in that, The method further includes: If the data recording duration does not reach the preset duration threshold, and the total amount of wireless data in the at least one subspace is greater than or equal to the preset total data amount threshold, the wireless data in the preset storage space is sent to the device memory, and the data recording duration is re-accumulated.

14. A data processing apparatus, characterized in that, include: The recording module is used to record the first wireless data received at the moment in a preset storage space on the coprocessor chip; The transmitting module is used to transmit wireless data in the preset storage space to the device memory when preset recording conditions are met; The device memory is used to provide wireless data to the main processing chip for processing; the preset recording conditions characterize the scenario conditions under which at least one received wireless data is recorded through the preset storage space; The recording module is further configured to determine the data flow in the receiving direction when the first wireless data is received; and to record the first wireless data in the preset storage space when the data flow is less than a preset flow threshold. The data processing device further includes a processing module, which is used to process the first wireless data through the coprocessor chip when the first wireless data belongs to a protocol type that the coprocessor chip can process.

15. A chip, characterized in that, include: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, performs the method as described in any one of claims 1 to 13.

16. An electronic device, characterized in that, include: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, implements the method of any one of claims 1 to 13.

17. A computer-readable storage medium, characterized in that, It stores executable instructions for causing a processor to execute, thereby implementing the method of any one of claims 1 to 13.

Citation Information

Patent Citations

  • Data processing method, device, system and equipment of heterogeneous computing platform and medium

    CN113704301A