CN115407864A - Data processing method, data processing apparatus, electronic device, and readable storage medium - Google Patents

Data processing method, data processing apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
CN115407864A
CN115407864A CN202211216938.8A CN202211216938A CN115407864A CN 115407864 A CN115407864 A CN 115407864A CN 202211216938 A CN202211216938 A CN 202211216938A CN 115407864 A CN115407864 A CN 115407864A
Authority
CN
China
Prior art keywords
broadcast
data packet
packet
broadcast data
address information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211216938.8A
Other languages
Chinese (zh)
Inventor
余文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211216938.8A priority Critical patent/CN115407864A/en
Publication of CN115407864A publication Critical patent/CN115407864A/en
Priority to PCT/CN2023/122563 priority patent/WO2024067803A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a data processing method, a data processing device, an electronic device and a readable storage medium, and belongs to the technical field of data processing. The method comprises the following steps: acquiring a first broadcast data packet received by a Bluetooth chip; determining a target broadcast data packet from the first broadcast data packet according to the first information; waking up a central processing unit based on the target broadcast data packet; the first information includes at least one of: a signal strength of the first broadcast packet; data content corresponding to the first broadcast data packet; address information of the first broadcast packet.

Description

Data processing method, data processing apparatus, electronic device, and readable storage medium
Technical Field
The present application belongs to the field of data processing technology, and in particular, relates to a data processing method, a data processing apparatus, an electronic device, and a readable storage medium.
Background
With the development of distributed technology, in various use scenes such as home, office or travel, real-time communication is needed among different electronic devices to perform cooperative work. Bluetooth is an important way for networking communication between electronic devices as a mainstream short-distance communication scheme with low power consumption.
When the electronic device frequently receives broadcast data packets sent by other electronic devices through the bluetooth chip, the bluetooth chip sends all the received broadcast data packets to a Central Processing Unit (CPU) for Processing, so that the CPU is frequently awakened when the electronic device is in a screen-off state or a screen-on state, and the power consumption of the CPU is increased.
Disclosure of Invention
An object of the embodiments of the present application is to provide a data processing method, a data processing apparatus, an electronic device, and a readable storage medium, which can solve the problem that a bluetooth chip frequently reports broadcast data packets, which results in excessive power consumption of a central processing unit.
In a first aspect, an embodiment of the present application provides a data processing method, including:
acquiring a first broadcast data packet received by a Bluetooth chip;
determining a target broadcast data packet from the first broadcast data packet according to the first information;
waking up a central processor based on the target broadcast packet;
the first information includes at least one of:
a signal strength of the first broadcast packet;
data content corresponding to the first broadcast data packet;
address information of the first broadcast packet.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including:
the acquisition module is used for acquiring a first broadcast data packet received by the Bluetooth chip;
the determining module is used for determining a target broadcast data packet from the first broadcast data packet according to first information;
the awakening module is used for awakening the central processing unit based on the target broadcast data packet;
the first information includes at least one of:
a signal strength of the first broadcast packet;
data content corresponding to the first broadcast data packet;
address information of the first broadcast packet.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the target broadcast data packet is determined from the first broadcast data packet acquired by the bluetooth chip according to the first information, so that the first broadcast data packet can be filtered, and the target broadcast data packet is reported to the central processing unit, so that the frequency of awakening the central processing unit can be effectively reduced, and the influence of frequently awakening the central processing unit on the power consumption and the performance of the central processing unit is weakened.
Drawings
Fig. 1 is a schematic flowchart of a data processing method provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 4 is a second schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the related art, a CPU and a bluetooth chip of an electronic device perform bidirectional communication via a Universal Asynchronous Receiver/Transmitter (UART) or a Serial Peripheral Interface (SPI) bus.
The CPU may issue a command to the Bluetooth chip so that the Bluetooth chip may scan a specified type of broadcast packet, for example, a Bluetooth Low Energy (BLE) broadcast packet.
The CPU then determines whether or not to perform deduplication filtering. If the broadcast data packets corresponding to the same address information of the same electronic device are determined to be subjected to the duplicate removal filtering, the Bluetooth chip can report the broadcast data packets corresponding to the same address information scanned each time only once, and if the broadcast data packets corresponding to the same address information scanned each time are determined not to be subjected to the duplicate removal filtering, the Bluetooth chip can report the broadcast data packets corresponding to the same address information scanned each time. Wherein, the reporting of the broadcast data packet refers to sending the broadcast data packet to the CPU.
Due to the near field sensing capability of the electronic device, the electronic device needs to determine a Received Signal Strength (RSSI) Signal value of a nearby device, so no de-emphasis filtering is usually performed. The Bluetooth chip collects all scanned broadcast data packets to the CPU for processing, and the CPU is frequently wakened up in the screen-off state by the processing mode, so that the standby power consumption of the electronic equipment is influenced, and the load of the CPU is increased in the screen-on state.
The screen-off state is a state in which the electronic device normally turns off the backlight and the screen is off. If the electronic equipment exits the screen-off state, the electronic equipment can enter a screen-on state. The bright screen state is a state that the backlight of the electronic equipment is turned on and the electronic equipment is in normal operation.
The data processing method, the data processing apparatus, the electronic device, and the readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In the data processing method provided in the embodiment of the present application, an execution subject of the data processing method may be an electronic device or a functional module or a functional entity capable of implementing the data processing method in the electronic device, the electronic device mentioned in the embodiment of the present application includes, but is not limited to, a mobile phone, a tablet computer, a camera, a wearable device, and the like, and the data processing method provided in the embodiment of the present application is described below with the electronic device as the execution subject.
Fig. 1 is a schematic flowchart of a data processing method according to an embodiment of the present application. As shown in fig. 1, the data processing method may include step 110, step 120, and step 130.
Step 110, acquiring a first broadcast data packet received by a Bluetooth chip;
step 120, determining a target broadcast data packet from the first broadcast data packet according to the first information;
step 130, waking up the central processing unit based on the target broadcast data packet;
the first information includes at least one of:
a signal strength of the first broadcast packet;
data content corresponding to the first broadcast data packet;
address information of the first broadcast packet.
In step 110, the electronic device may obtain a first broadcast packet received by the bluetooth chip.
The first broadcast packet may be all or part of the broadcast packet scanned by the bluetooth chip at the current time. The partial broadcast packet may be acquired by setting a preset condition, for example, acquiring only a broadcast packet whose signal strength exceeds a certain threshold as the first broadcast packet, and the like.
By setting a preset condition, preliminary filtering of the first broadcast packet can be achieved.
The CPU can also issue a reading instruction to actively acquire at least part of the broadcast data packets in the first broadcast data packet, so that the CPU can acquire the required broadcast data packets in time without waiting for overlong scanning time.
In step 120, the first broadcast data packet may be further filtered according to the first information, that is, a target broadcast data packet may be screened from the first broadcast data packet, where the target broadcast data packet is a data packet reported to the CPU.
The first information is one or more of signal strength of the first broadcast data packet, data content corresponding to the first broadcast data packet and address information of the first broadcast data packet.
It should be noted that the signal strength, i.e., the strength indication value of the received signal, can be used to indicate the quality of the signal link.
The data content may be data which can be defined privately in the broadcast data packet, for example, may be proprietary protocol data of application programs corresponding to different services. The data may reflect which internet service is currently in use in the foreground or account information for the machine, etc.
The Address information may be used to identify different electronic devices, and may be, for example, media Access Control (MAC) information used by the bluetooth device during data interaction.
In this embodiment of the present application, the target broadcast packet may be determined from the first broadcast packet only by presetting the relevant condition corresponding to the first information. In the following embodiments, the respective conditions satisfied by the target broadcast packet will be described in detail from various aspects.
In step 130, after determining the target broadcast packet, the target broadcast packet may be reported to the CPU, so that the CPU may be awakened; when the CPU has a read operation, the target broadcast data packet can be sent to the CPU, and the CPU can be awakened similarly.
In the related art, the electronic device sets a resident BLE broadcast to be sent out, so as to enable the near field of the peer device to sense the local device. The resident BLE broadcast affects the power consumption and wireless performance of the electronic device, so the scanning time interval of the BLE broadcast is set to be large, for example, the BLE broadcast may be sent once at an interval of 1-2 s, and the scanning is started only when the traffic triggers. Therefore, in this scenario, after the service is triggered, the electronic device needs a period of time to scan and display the nearby devices, and generally needs 2 to 20 seconds to complete the search, which is time-consuming.
The electronic device usually sets resident type BLE scanning in a bright screen state, the influence of power consumption and performance also needs to be considered in the silent scanning, the resident type BLE scanning is a low power consumption mode, and the duty ratio is 10%; when the service application is in the foreground, the duty cycle is 100%. For reducing power consumption, in a screen-off state, the electronic device may not perform BLE scanning, which may also result in failure to acquire scanned device data in time.
Compared with the related art, the embodiment of the application can achieve the purpose of reducing the CPU load or the CPU awakening times under the condition of reducing the reporting times of the broadcast data packets, and can return the result immediately when the CPU needs the near-field equipment data without waiting for overlong scanning time.
In actual implementation, the programmable device may be configured to cache the first broadcast packet, and specifically, the CPU may set a specific command, so that the programmable device acquires the first broadcast packet received by the bluetooth chip in a screen-off or screen-on state, and caches the first broadcast packet in a data queue of the device. The device may also send the broadcast packet buffered in the data queue to the CPU based on a read instruction sent by the CPU.
The CPU may set a filter condition related to the first information in the device so that a target broadcast packet can be determined from the first broadcast packet acquired from the device. And then, the target broadcast data packet can be actively reported to the CPU based on the target broadcast data packet, or the target broadcast data packet can be sent to the CPU based on a reading instruction sent by the CPU.
Of course, the programmable device may also be implemented by other functional modules in the electronic device, and is not limited in particular herein.
According to the data processing method provided by the embodiment of the application, the target broadcast data packet is determined from the first broadcast data packet acquired by the Bluetooth chip according to the first information, so that the first broadcast data packet can be filtered, the target broadcast data packet is reported to the central processing unit, the frequency of awakening the central processing unit can be effectively reduced, and the influence of frequently awakening the central processing unit on the power consumption and the performance of the central processing unit is weakened.
In some embodiments, the target broadcast packet is a broadcast packet that satisfies a first condition;
in the case where the first information includes the signal strength of the first broadcast packet and the address information of the first broadcast packet, the first condition is:
the difference between the signal intensity of the target broadcast data packet and the signal intensity of the second broadcast data packet received at the second moment is larger than a first threshold value, the signal intensity of the target broadcast data packet is larger than the signal intensity of the second broadcast data packet, the address information of the target broadcast data packet is the same as the address information of the second broadcast data packet, the second moment is earlier than the first moment, and the first moment is the moment of receiving the target broadcast data packet.
It is understood that the first broadcast packet may include a target broadcast packet received at a first time and a second broadcast packet received at a second time, wherein the second time is earlier than the first time.
For example: the first time is 10 o' clock 9/month 1 in 2022, and the second time is 9/month 1/9 in 2022, which are only used as examples, and the present embodiment is not limited to specific times.
By comparing and analyzing broadcast data packets from the same address information received at different times, it can be determined whether the signal strength of the broadcast data packets of the same address information changes.
In the embodiment of the present application, the signal strength variation may include the following situations: the signal strength is unchanged, the signal strength becomes smaller or the signal strength increases.
The signal strength change value may be measured by a first threshold. When the signal intensity change value exceeds the first threshold value, it can be said that the signal intensity is too large, and the broadcast data packet after the signal intensity change needs to be reported, so as to inform the CPU that the broadcast data packet corresponding to the address information needs to be updated; when the signal strength variation value does not exceed the first threshold, it may be indicated that the signal strength fluctuation is small, and the reporting may not be performed.
The size of the first threshold may be set according to actual requirements, and is not particularly limited herein. For example: the first threshold may be 5db or 10db, etc., and may be set to a floating range, such as 5db to 10db, etc.
When the address information of the target broadcast packet is the same as the address information of the second broadcast packet, the signal strength of the target broadcast packet is greater than the signal strength of the second broadcast packet, and the difference between the signal strength of the target broadcast packet and the signal strength of the second broadcast packet is greater than the first threshold, the change value of the signal strength of the target broadcast packet received at the first time exceeds the first threshold compared to the second time.
In this case, the target broadcast packet may be considered as a broadcast packet satisfying the first condition.
The embodiment of the application can be applied to the following scenes:
scene one: when the tablet computer is in a screen-off state, if the function of automatically turning on and unlocking the screen when the mobile phone of the same user approaches needs to be realized, the tablet computer can always scan BLE (Low energy) broadcast of the mobile phone in the screen-off state in the related technology, so that a CPU (central processing unit) of the tablet computer can be frequently awakened, and the sleep power consumption of the tablet computer is influenced.
The scheme of the embodiment can effectively reduce the influence. Only when the signal intensity of the BLE broadcast data packet corresponding to the mobile phone is enhanced to a certain degree, the CPU of the tablet computer can be actively awakened, and therefore the awakening frequency of the CPU can be obviously reduced.
Scene two: in a crowded place, the cell phone often receives a large and frequent BLE broadcast, thereby slowing CPU performance and even affecting standby power consumption.
For example: the minimum interval defined on the protocol for bluetooth BLE broadcasting is 20ms, and the bluetooth headset sends a high frequency BLE broadcast (approximately 20 ms) after the cover is opened.
If the mobile phone in the same place conducts BLE scanning at the moment, the BLE broadcasting event brought by one Bluetooth headset is 500 times per second. Then when there are multiple bluetooth headsets nearby, there will be a high-frequency BLE broadcast report in the CPU of the handset that performs BLE scanning.
In the related art, in this scenario, a plurality of BLE broadcast events are reported by a bluetooth chip every 1ms, and a bluetooth process of a mobile phone and a related service process may also have a severe load influence.
The embodiment of the application can preprocess the high-frequency BLE broadcast, namely, after the broadcast data packets with the same address information are searched, the CPU can be awakened only under the condition that the signal intensity change value of the broadcast data packets exceeds the first threshold value, so that the awakening frequency of the CPU can be obviously reduced.
According to the data processing method provided by the embodiment of the application, the first condition is set through the signal strength and the address information of the first broadcast data packet to determine the target broadcast data packet, so that the reporting times of the broadcast data packet can be greatly reduced, the load of a central processing unit is effectively reduced, the problems that the high-frequency broadcast is disturbed and even the performance of the central processing unit is influenced due to resident scanning are solved, meanwhile, the standby power consumption in a screen-off state can be reduced, and the standby time of electronic equipment can be prolonged.
In some embodiments, the target broadcast packet is a broadcast packet satisfying a second condition;
in the case that the first information includes data content corresponding to the first broadcast packet and address information of the first broadcast packet, the second condition is:
the data content corresponding to the target broadcast data packet is different from the data content corresponding to the third broadcast data packet received at the third moment, the address information of the target broadcast data packet is the same as the address information of the third broadcast data packet, the third moment is earlier than the first moment, and the first moment is the moment of receiving the target broadcast data packet.
In an actual implementation, the first broadcast packet may include a target broadcast packet received at a first time and a third broadcast packet received at a third time, where the third time is earlier than the first time.
For example: the first time is 10 o 'clock 9/month 1 in 2022, and the third time is 30 o' clock 9/month 1 in 2022, and the above-mentioned times are merely examples, and the present embodiment is not limited to the specific times.
In the embodiment of the present application, by comparing and analyzing broadcast packets from the same address information received at different times, it may be determined whether data content corresponding to the broadcast packet of the same address information changes.
At different times, the interconnection services used by the electronic devices corresponding to the same address information in the foreground may be different, that is, the data content corresponding to the broadcast data packet may change, or the data content of other privately-defined data contents in the data content may change.
The embodiment of the application can be applied to a scenario in which a mobile phone is used for receiving a broadcast data packet sent by an opposite terminal device.
If the device name is modified by the peer device under the condition that the data content corresponding to the broadcast packet includes the device name, the device name in the broadcast packet sent by the peer device is also modified correspondingly. Before and after the opposite terminal device modifies the device name, the data content corresponding to the broadcast data packet received by the mobile phone from the same opposite terminal device is different, so that the broadcast data packet sent by the opposite terminal device after the device name modification can be determined to be a target broadcast data packet meeting the second condition, and the target broadcast data packet can be reported to the CPU of the mobile phone.
When the data content corresponding to the broadcast data packet includes the service feature identifier, and when an interconnection service scene corresponding to the peer device changes, for example, the interconnection service scene is switched from a screen-casting broadcast scene to a file sending scene, the data content corresponding to the broadcast data packet sent by the peer device changes along with the service scene, that is, the service feature identifier corresponding to the screen-casting broadcast scene changes into the service feature identifier corresponding to the file sending scene, before and after the service scene changes, the data content corresponding to the broadcast data packet received by the mobile phone from the same peer device is different, it can be determined that the broadcast data packet sent by the peer device after the service feature identifier changes is a target broadcast data packet satisfying the second condition, and the target broadcast data packet can be reported to the CPU of the mobile phone.
Under the condition that the data content corresponding to the broadcast data packet includes a hotspot name and a hotspot password, when the hotspot name or the hotspot password set by the opposite-end device changes, the data content corresponding to the broadcast data packet sent by the opposite-end device also changes, before and after the hotspot name or the hotspot password changes, the data content corresponding to the broadcast data packet received by the mobile phone from the same opposite-end device is different, the broadcast data packet sent by the opposite-end device after the hotspot name or the hotspot password changes can be determined to be a target broadcast data packet meeting a second condition, and the target broadcast data packet can be reported to a CPU of the mobile phone.
In the related art, regardless of whether the data content corresponding to the broadcast data packet received by the mobile phone changes, a large number of repeated broadcast data packets may be received by different peer devices.
The embodiment of the application can process the repeated broadcast data packets, namely after the broadcast data packets with the same address information are searched, the target broadcast data packets are reported to the CPU only under the condition that the data content corresponding to the received broadcast data packets changes, so that the awakening frequency of the CPU is effectively reduced. If the data content corresponding to the received broadcast data packet has no change, the broadcast data packet will not be reported.
Therefore, when the data content corresponding to the broadcast packet of the same address information changes at different times, the changed broadcast packet needs to be reported to the CPU to inform the CPU that the data content corresponding to the broadcast packet of the address information is updated, and if the data content does not change, the broadcast packet is not repeatedly reported.
The address information of the target broadcast data packet is the same as the address information of the third broadcast data packet, and the data content corresponding to the target broadcast data packet is different from the data content corresponding to the third broadcast data packet received at the third time, which indicates that the data content corresponding to the target broadcast data packet received at the first time is changed compared with the data content corresponding to the third broadcast data packet received at the third time.
In this case, the target broadcast packet may be considered as a broadcast packet satisfying the second condition.
According to the data processing method provided by the embodiment of the application, the second condition is set to determine the target broadcast data packet through the data content and the address information corresponding to the first broadcast data packet, and the broadcast data packet corresponding to the same address information is reported under the condition of the change of the data content, so that the reporting times of the broadcast data packet can be greatly reduced, and the load of a central processing unit is effectively reduced.
In some embodiments, the data content corresponding to the target broadcast data packet includes a service characteristic identifier, and the data content corresponding to the third broadcast data packet does not include the service characteristic identifier.
The service characteristic mark is used for indicating that the electronic equipment for Bluetooth communication has interconnection service. The interconnection service refers to interconnection between intelligent electronic devices in different service scenes. For example: the office interconnection business may be an interactive business between a mobile phone and a tablet computer or a desktop computer, and may include: screen projection, file sharing or relay switching of application data and the like; the home internet service may be an interactive service between intelligent home appliances, such as: control business between intelligent audio amplifier, intelligent light or intelligent air conditioner etc..
In actual implementation, the address information of the target broadcast data packet is the same as the address information of the third broadcast data packet received at the third time, and the data content corresponding to the target broadcast data packet includes the service feature identifier, and the data content corresponding to the third broadcast data packet does not include the service feature identifier, which indicates that the service feature identifier is added to the data content corresponding to the target broadcast data packet received at the first time, compared with the third time.
In this case, the target broadcast packet may be considered as a broadcast packet satisfying the second condition.
In actual execution, after the target broadcast packet is reported to the CPU, the CPU may determine whether to generate a target data instruction according to an actual requirement, where the target data instruction may be used to switch a screen state of the electronic device, for example: switching from a screen-off state to a screen-on state, or switching from a screen-off state to a screen-unlocked state, and the like.
According to the data processing method provided by the embodiment of the application, under the condition that the service characteristic identification in the data content corresponding to the broadcast data packet of the same address information is changed at different moments, the broadcast data packet meeting the second condition is determined to be the target broadcast data packet, so that when the electronic equipment is in a screen-off state, the target broadcast data packet meeting the second condition is only reported to the central processing unit, the central processing unit can keep the stability of the dormant standby power consumption, and the situation that the power consumption is greatly increased can not occur.
In some embodiments, the first broadcast packet is stored in a memory region corresponding to the sensing hub;
after the first broadcast data packet received by the bluetooth chip is acquired, the method further includes:
deleting a fourth broadcast data packet in a storage area corresponding to the sensing hub under the condition that the fourth broadcast data packet meeting a third condition exists in the first broadcast data packet;
the third condition includes at least one of:
receiving a broadcast data packet corresponding to first address information in a first time period, wherein the first address information is address information of a fourth broadcast data packet;
the address information of the fourth broadcast packet is the same as the address information of the fifth broadcast packet received at the fourth time, the fifth time is earlier than the fourth time, and the fifth time is the time of receiving the fourth broadcast packet.
In this embodiment of the application, the electronic device may acquire the first broadcast packet received by the bluetooth chip, and store the first broadcast packet in a storage area corresponding to the sensing hub.
In actual implementation, the sensing hub receives the first broadcast data packet sent by the bluetooth chip, caches the first broadcast data packet, and may perform deduplication filtering on broadcast data packets meeting a third condition in the first broadcast data packet according to the address information.
The third condition is explained below in two respects:
1. when the fifth broadcast packet is received at the fourth time, the address information of the fifth broadcast packet may be compared with the address information of the broadcast packet received before the fourth time.
When the address information of the fourth broadcast packet received at the fifth time is the same as the address information of the fifth broadcast packet and the fifth time is earlier than the fourth time, it is described that, in the broadcast packets of the same address information, the fifth broadcast packet is a newly acquired broadcast packet, and the fourth broadcast packet satisfies the third condition, and the fourth broadcast packet may be deleted from the first broadcast packet.
For example: the fourth time is 10 o 'clock 9/month 1 in 2022, and the fifth time is 30 o' clock 9/month 1 in 2022, and the above-mentioned times are merely examples, and the present embodiment is not limited to specific times.
2. Before the first period, the first broadcast packet may include a fourth broadcast packet corresponding to the first address information.
If the fact that the broadcast data packet corresponding to the first address information is not received in the first time period from the moment when the fourth broadcast data packet is received is found, and it can be determined that the fourth broadcast data packet meets the third condition, the fourth broadcast data packet is deleted from the first broadcast data packet, so that the broadcast data packets which are not scanned any more can be deleted at intervals, and timely updating of the first broadcast data packet is guaranteed. The first period may be, for example, 5 minutes, 10 minutes, or 20 minutes.
It is understood that, in order to reduce overhead, for broadcast packets of the same address information received at different times, if there is little or no change in data content or signal strength between broadcast packets of the same address information, only the broadcast packet at the latest time under the address information may be retained, or any one of the broadcast packets may be retained.
According to the data processing method provided by the embodiment of the application, the duplicate removal filtering is carried out based on the address information of the broadcast data packet, and a good filtering effect can be obtained.
Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
As shown in fig. 2, the electronic device may include: bluetooth chip 201, sensing hub 202 and central processing unit 203. The sensing hub 202 is disposed between the bluetooth chip 201 and the central processor 203 connection.
The Bluetooth chip 201 may include a classic Bluetooth module (BT) or a Bluetooth Low Energy (BLE).
The BT module generally refers to a module supporting the bluetooth protocol below 4.0, and is generally used for transmission with a relatively large data volume, such as: voice, music, or higher data volume transmissions, etc.
The BLE module is a module supporting a Bluetooth protocol of 4.0 or higher, and has the biggest characteristic of reducing cost and power consumption, and is applied to products with higher real-time requirements but lower data rate, such as: data transmission of sensing devices (heartbeat belt, sphygmomanometer or temperature sensor, etc.) of remote control devices (mouse or keyboard, etc.), and the like.
In this embodiment, as shown in fig. 2, a programmable device, i.e., a sensor hub (Sensorhub) 202, is added between the bluetooth chip 201 and the central processing unit 203, and the sensor hub 202 may perform direct processing on the broadcast packet under normal conditions, whereas in the embodiment of the present application, the relevant conditions corresponding to the first information may be set in the sensor hub 202, and the target broadcast packet may be determined from the first broadcast packet acquired by the bluetooth chip 201.
Wherein the first information comprises at least one of:
a signal strength of the first broadcast packet;
data content corresponding to the first broadcast data packet;
address information of the first broadcast packet.
The condition relating to the first information may include a first condition and a second condition.
The first condition may be:
the difference between the signal intensity of the target broadcast data packet and the signal intensity of the second broadcast data packet received at the second moment is larger than a first threshold value, the signal intensity of the target broadcast data packet is larger than the signal intensity of the second broadcast data packet, the address information of the target broadcast data packet is the same as the address information of the second broadcast data packet, the second moment is earlier than the first moment, and the first moment is the moment of receiving the target broadcast data packet.
The second condition may be:
the data content corresponding to the target broadcast data packet is different from the data content corresponding to the third broadcast data packet received at the third moment, the address information of the target broadcast data packet is the same as the address information of the third broadcast data packet, the third moment is earlier than the first moment, and the first moment is the moment of receiving the target broadcast data packet.
In actual implementation, the bluetooth chip 201 sends the acquired first broadcast packet to the sensing hub 202.
After receiving the first broadcast packet, the sensing hub 202 may cache the first broadcast packet, and determine a target broadcast packet from the first broadcast packet according to a relevant condition corresponding to the first information.
The sensing hub 202 obtains the target broadcast packet and sends the target broadcast packet to the central processor 203.
The central processor 203 may wake up after receiving the target broadcast packet.
In the related art, the first broadcast packet is collected and processed in the central processing unit, and in the embodiment of the present application, the first broadcast packet is processed in the sensing hub 202, so that the load of the central processing unit 203 can be reduced.
The sensing hub 202 may buffer the first broadcast packet transmitted by the bluetooth chip 201 in a data queue and process the data in the data queue.
The sensing hub 202 may perform de-duplication filtering on the first broadcast packet according to the address information.
For example: for broadcast packets of the same address information received at different times, the sensing hub 202 may delete the broadcast packets that are no longer scanned within the target duration at intervals. The target time length includes, for example: 5 minutes or 10 minutes, etc., and is not particularly limited herein.
For example: the sensing hub 202 scans the broadcast data packet corresponding to the first address information at 10 o ' clock of 9/1/2022, and if the broadcast data packet corresponding to the first address information cannot be scanned at 10 o ' clock of 9/1/2022, the broadcast data packet scanned at 10 o ' clock can be deleted.
In order to reduce the overhead, for broadcast packets of the same address information received at different times, if there is little or no change in data content or signal strength between broadcast packets of the same address information, the sensing hub 202 may only retain the broadcast packet at the latest time under the address information, or may optionally retain one of the broadcast packets.
It is understood that when the central processor 203 needs the broadcast packet in the data queue, the sensing hub 202 can directly send the needed broadcast packet to the central processor 203. When the central processing unit 203 does not need the data in the data queue, the data queue may continuously refresh the data in the queue, continuously keep the data updated, and not frequently wake up the central processing unit 203, so as to reduce the load of the central processing unit 203.
According to the electronic equipment provided by the embodiment of the application, the sensing concentrator is arranged between the Bluetooth chip and the central processing unit, the broadcast data packet is processed in the sensing concentrator, and compared with the condition that the broadcast data packet is processed by the central processing unit, the data processing can be realized with lower power consumption, the data processed in the sensing concentrator can be acquired at any time, and the scanning time which is overlong does not need to be waited, so that the waiting time of a user can be saved, and the user experience is optimized.
Fig. 3 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
As shown in fig. 3, the data processing apparatus 300 may include: an acquisition module 310, a determination module 320, and a wake-up module 330.
An obtaining module 310, configured to obtain a first broadcast data packet received by a bluetooth chip;
a determining module 320, configured to determine a target broadcast data packet from the first broadcast data packet according to the first information;
a wake-up module 330, configured to wake up a central processing unit based on the target broadcast packet;
the first information includes at least one of:
a signal strength of the first broadcast packet;
data content corresponding to the first broadcast data packet;
address information of the first broadcast packet.
According to the data processing device provided by the embodiment of the application, the target broadcast data packet is determined from the first broadcast data packet acquired by the Bluetooth chip according to the first information, so that the first broadcast data packet can be filtered, the target broadcast data packet is reported to the central processing unit, the frequency of awakening the central processing unit can be effectively reduced, and the influence of frequently awakening the central processing unit on the power consumption and the performance of the central processing unit is weakened.
In some embodiments, the target broadcast packet is a broadcast packet that satisfies a first condition;
in a case where the first information includes the signal strength of the first broadcast packet and address information of the first broadcast packet, the first condition is:
the difference between the signal intensity of the target broadcast data packet and the signal intensity of a second broadcast data packet received at a second moment is larger than a first threshold value, the signal intensity of the target broadcast data packet is larger than the signal intensity of the second broadcast data packet, the address information of the target broadcast data packet is the same as the address information of the second broadcast data packet, the second moment is earlier than the first moment, and the first moment is the moment of receiving the target broadcast data packet.
In some embodiments, the target broadcast packet is a broadcast packet satisfying a second condition;
when the first information includes data content corresponding to the first broadcast packet and address information of the first broadcast packet, the second condition is:
the data content corresponding to the target broadcast data packet is different from the data content corresponding to a third broadcast data packet received at a third moment, the address information of the target broadcast data packet is the same as the address information of the third broadcast data packet, the third moment is earlier than the first moment, and the first moment is the moment of receiving the target broadcast data packet.
In some embodiments, the data content corresponding to the target broadcast data packet is different from the data content corresponding to the third broadcast data packet received at the third time, including:
the data content corresponding to the target broadcast data packet includes a service characteristic identifier, and the data content corresponding to the third broadcast data packet does not include the service characteristic identifier.
In some embodiments, the first broadcast packet is stored in a memory area corresponding to the sensing hub;
the device further comprises:
the deleting module is used for deleting a fourth broadcast data packet in a storage area corresponding to the sensing hub under the condition that the fourth broadcast data packet meeting a third condition exists in the first broadcast data packet;
the third condition includes at least one of:
receiving no broadcast data packet corresponding to first address information in a first time period, wherein the first address information is address information of the fourth broadcast data packet;
the address information of the fourth broadcast data packet is the same as the address information of a fifth broadcast data packet received at a fourth time, a fifth time is earlier than the fourth time, and the fifth time is the time of receiving the fourth broadcast data packet.
The data processing apparatus in the embodiments of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The data processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The data processing apparatus provided in this embodiment of the present application can implement each process implemented in the method embodiment of fig. 2, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the data processing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 510 is configured to obtain a first broadcast data packet received by the bluetooth chip;
determining a target broadcast data packet from the first broadcast data packet according to the first information;
waking up a central processing unit based on the target broadcast data packet;
the first information includes at least one of:
a signal strength of the first broadcast packet;
data content corresponding to the first broadcast data packet;
address information of the first broadcast packet.
According to the electronic device provided by the embodiment of the application, the target broadcast data packet is determined from the first broadcast data packet acquired by the Bluetooth chip according to the first information, so that the first broadcast data packet can be filtered, the target broadcast data packet is reported to the central processing unit, the frequency of awakening the central processing unit can be effectively reduced, and the influence of frequently awakening the central processing unit on the power consumption and the performance of the central processing unit is weakened.
Optionally, the target broadcast packet is a broadcast packet satisfying a first condition;
in a case where the first information includes the signal strength of the first broadcast packet and address information of the first broadcast packet, the first condition is:
the difference between the signal strength of the target broadcast data packet and the signal strength of a second broadcast data packet received at a second moment is larger than a first threshold value, the signal strength of the target broadcast data packet is larger than the signal strength of the second broadcast data packet, the address information of the target broadcast data packet is the same as the address information of the second broadcast data packet, the second moment is earlier than the first moment, and the first moment is the moment of receiving the target broadcast data packet.
Optionally, the target broadcast packet is a broadcast packet satisfying a second condition;
when the first information includes data content corresponding to the first broadcast packet and address information of the first broadcast packet, the second condition is:
the data content corresponding to the target broadcast data packet is different from the data content corresponding to a third broadcast data packet received at a third moment, the address information of the target broadcast data packet is the same as the address information of the third broadcast data packet, the third moment is earlier than the first moment, and the first moment is the moment of receiving the target broadcast data packet.
Optionally, the data content corresponding to the target broadcast data packet differs from the data content corresponding to the third broadcast data packet received at the third time, and the method includes:
the data content corresponding to the target broadcast data packet includes a service feature identifier, and the data content corresponding to the third broadcast data packet does not include the service feature identifier.
Optionally, the first broadcast packet is stored in a storage area corresponding to the sensing hub;
the processor 510 is further configured to, if a fourth broadcast packet meeting a third condition exists in the first broadcast packet, delete the fourth broadcast packet in a storage area corresponding to the sensing hub;
the third condition includes at least one of:
receiving no broadcast data packet corresponding to first address information in a first time period, wherein the first address information is address information of the fourth broadcast data packet;
the address information of the fourth broadcast data packet is the same as the address information of a fifth broadcast data packet received at a fourth time, a fifth time is earlier than the fourth time, and the fifth time is the time of receiving the fourth broadcast data packet.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 509 may include volatile memory or non-volatile memory, or the memory 509 may include both volatile and non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 509 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the data processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the data processing method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A data processing method, comprising:
acquiring a first broadcast data packet received by a Bluetooth chip;
determining a target broadcast data packet from the first broadcast data packet according to the first information;
waking up a central processing unit based on the target broadcast data packet;
the first information includes at least one of:
a signal strength of the first broadcast packet;
data content corresponding to the first broadcast data packet;
address information of the first broadcast packet.
2. The data processing method of claim 1, wherein the target broadcast packet is a broadcast packet satisfying a first condition;
in a case where the first information includes the signal strength of the first broadcast packet and address information of the first broadcast packet, the first condition is:
the difference between the signal intensity of the target broadcast data packet and the signal intensity of a second broadcast data packet received at a second moment is larger than a first threshold value, the signal intensity of the target broadcast data packet is larger than the signal intensity of the second broadcast data packet, the address information of the target broadcast data packet is the same as the address information of the second broadcast data packet, the second moment is earlier than the first moment, and the first moment is the moment of receiving the target broadcast data packet.
3. The data processing method according to claim 1, wherein the target broadcast packet is a broadcast packet satisfying a second condition;
when the first information includes data content corresponding to the first broadcast packet and address information of the first broadcast packet, the second condition is:
the data content corresponding to the target broadcast data packet is different from the data content corresponding to a third broadcast data packet received at a third moment, the address information of the target broadcast data packet is the same as the address information of the third broadcast data packet, the third moment is earlier than the first moment, and the first moment is the moment of receiving the target broadcast data packet.
4. The data processing method of claim 3, wherein the data content corresponding to the target broadcast packet is different from the data content corresponding to a third broadcast packet received at a third time, and the method comprises:
the data content corresponding to the target broadcast data packet includes a service feature identifier, and the data content corresponding to the third broadcast data packet does not include the service feature identifier.
5. The data processing method according to any one of claims 1 to 4, wherein the first broadcast packet is stored in a storage area corresponding to the sensing hub;
after the first broadcast data packet received by the bluetooth chip is acquired, the method further includes:
deleting a fourth broadcast data packet in a storage area corresponding to the sensing hub under the condition that the fourth broadcast data packet meeting a third condition exists in the first broadcast data packet;
the third condition includes at least one of:
receiving no broadcast data packet corresponding to first address information in a first time period, wherein the first address information is address information of the fourth broadcast data packet;
the address information of the fourth broadcast data packet is the same as the address information of a fifth broadcast data packet received at a fourth time, a fifth time is earlier than the fourth time, and the fifth time is the time of receiving the fourth broadcast data packet.
6. A data processing apparatus, comprising:
the acquisition module is used for acquiring a first broadcast data packet received by the Bluetooth chip;
the determining module is used for determining a target broadcast data packet from the first broadcast data packet according to first information;
the awakening module is used for awakening the central processing unit based on the target broadcast data packet;
the first information includes at least one of:
a signal strength of the first broadcast packet;
data content corresponding to the first broadcast data packet;
address information of the first broadcast packet.
7. The data processing apparatus according to claim 6, wherein the target broadcast packet is a broadcast packet satisfying a first condition;
in a case where the first information includes the signal strength of the first broadcast packet and address information of the first broadcast packet, the first condition is:
the difference between the signal intensity of the target broadcast data packet and the signal intensity of a second broadcast data packet received at a second moment is larger than a first threshold value, the signal intensity of the target broadcast data packet is larger than the signal intensity of the second broadcast data packet, the address information of the target broadcast data packet is the same as the address information of the second broadcast data packet, the second moment is earlier than the first moment, and the first moment is the moment of receiving the target broadcast data packet.
8. The data processing apparatus according to claim 6, wherein the target broadcast packet is a broadcast packet satisfying a second condition;
when the first information includes data content corresponding to the first broadcast packet and address information of the first broadcast packet, the second condition is:
the data content corresponding to the target broadcast data packet is different from the data content corresponding to a third broadcast data packet received at a third moment, the address information of the target broadcast data packet is the same as the address information of the third broadcast data packet, the third moment is earlier than the first moment, and the first moment is the moment of receiving the target broadcast data packet.
9. The data processing apparatus of claim 8, wherein the data content corresponding to the target broadcast packet is different from the data content corresponding to a third broadcast packet received at a third time, and the data processing apparatus further comprises:
the data content corresponding to the target broadcast data packet includes a service characteristic identifier, and the data content corresponding to the third broadcast data packet does not include the service characteristic identifier.
10. The data processing apparatus according to any one of claims 6 to 9, wherein the first broadcast packet is stored in a storage area corresponding to the sensing hub;
the device further comprises:
the deleting module is used for deleting a fourth broadcast data packet in a storage area corresponding to the sensing hub under the condition that the fourth broadcast data packet meeting a third condition exists in the first broadcast data packet;
the third condition includes at least one of:
receiving no broadcast data packet corresponding to first address information in a first time period, wherein the first address information is address information of the fourth broadcast data packet;
the address information of the fourth broadcast data packet is the same as the address information of a fifth broadcast data packet received at a fourth time, a fifth time is earlier than the fourth time, and the fifth time is the time of receiving the fourth broadcast data packet.
11. An electronic device, comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the data processing method of any one of claims 1-5.
12. A readable storage medium, on which a program or instructions are stored, which program or instructions, when executed by a processor, carry out the steps of the data processing method according to any one of claims 1 to 5.
CN202211216938.8A 2022-09-30 2022-09-30 Data processing method, data processing apparatus, electronic device, and readable storage medium Pending CN115407864A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211216938.8A CN115407864A (en) 2022-09-30 2022-09-30 Data processing method, data processing apparatus, electronic device, and readable storage medium
PCT/CN2023/122563 WO2024067803A1 (en) 2022-09-30 2023-09-28 Data processing method, data processing apparatus, and electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211216938.8A CN115407864A (en) 2022-09-30 2022-09-30 Data processing method, data processing apparatus, electronic device, and readable storage medium

Publications (1)

Publication Number Publication Date
CN115407864A true CN115407864A (en) 2022-11-29

Family

ID=84168749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211216938.8A Pending CN115407864A (en) 2022-09-30 2022-09-30 Data processing method, data processing apparatus, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN115407864A (en)
WO (1) WO2024067803A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135719A (en) * 2023-02-27 2023-11-28 荣耀终端有限公司 Wi-Fi signal enhancement method and electronic equipment
WO2024067803A1 (en) * 2022-09-30 2024-04-04 维沃移动通信有限公司 Data processing method, data processing apparatus, and electronic device and readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102094505B1 (en) * 2013-10-04 2020-03-27 삼성전자주식회사 Method and device for broadcasting a ble packet, and method and device for adjusting operation mode of an application processor
CN108010298A (en) * 2017-12-19 2018-05-08 青岛海信移动通信技术股份有限公司 Apparatus control method and device
CN109348431B (en) * 2018-11-14 2021-09-17 Oppo广东移动通信有限公司 Bluetooth scanning method, device, equipment and storage medium
CN110881212B (en) * 2019-12-09 2023-08-25 Oppo广东移动通信有限公司 Method and device for saving power of equipment, electronic equipment and medium
CN113490191B (en) * 2020-01-14 2024-05-31 荣耀终端有限公司 Bluetooth communication method, medium and electronic device thereof
CN114050907B (en) * 2020-07-23 2023-05-02 华为技术有限公司 Network data packet filtering method, terminal device and readable storage medium
CN115407864A (en) * 2022-09-30 2022-11-29 维沃移动通信有限公司 Data processing method, data processing apparatus, electronic device, and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024067803A1 (en) * 2022-09-30 2024-04-04 维沃移动通信有限公司 Data processing method, data processing apparatus, and electronic device and readable storage medium
CN117135719A (en) * 2023-02-27 2023-11-28 荣耀终端有限公司 Wi-Fi signal enhancement method and electronic equipment

Also Published As

Publication number Publication date
WO2024067803A1 (en) 2024-04-04

Similar Documents

Publication Publication Date Title
US10659200B2 (en) Companion application for activity cooperation
CN115407864A (en) Data processing method, data processing apparatus, electronic device, and readable storage medium
US20100056209A1 (en) Mobile terminal and method for switching states thereof
CN103699409B (en) Awakening state switching-in method, device and system for electronic device
WO2020024732A1 (en) Process processing method, electronic device, and computer-readable storage medium
CN104298554A (en) Multi-task application program management method and device
CN109901695B (en) Screen power-saving display method, mobile terminal and computer-readable storage medium
CN106658064B (en) Virtual gift display method and device
CN106371326B (en) Storage method and device for equipment working scene
CN111988771B (en) Wireless connection control method and device and electronic equipment
CN108270757B (en) User account switching method, device, client and system
CN109992399B (en) Resource management method, resource management device, mobile terminal and computer-readable storage medium
CN110569119A (en) Background application program management method and terminal
CN110225136B (en) Offline caching method and mobile terminal
CN112822763A (en) Electronic price tag dynamic awakening method, electronic price tag dynamic awakening equipment and computer storage medium
JP2019185771A (en) Method, device for processing data of bluetooth speaker, and bluetooth speaker
CN114125901B (en) Network measurement method, device, electronic equipment and storage medium
CN110046033B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN110930540A (en) Method and device for starting/sleeping automobile data recorder
CN107908527B (en) Application icon display method and device
CN109511139B (en) WIFI control method and device, mobile device and computer-readable storage medium
CN115985323B (en) Voice wakeup method and device, electronic equipment and readable storage medium
CN109918348B (en) Cleaning method, terminal and computer readable storage medium for application browsing record
US20190208469A1 (en) Beacon signal processing system
WO2022156572A1 (en) Control method, control apparatus, and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination