[go: up one dir, main page]

CN115696515B - Data processing method, device, equipment and storage medium - Google Patents

Data processing method, device, equipment and storage medium

Info

Publication number
CN115696515B
CN115696515B CN202110863180.6A CN202110863180A CN115696515B CN 115696515 B CN115696515 B CN 115696515B CN 202110863180 A CN202110863180 A CN 202110863180A CN 115696515 B CN115696515 B CN 115696515B
Authority
CN
China
Prior art keywords
data
broadcast
broadcast channel
determining
measurement
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.)
Active
Application number
CN202110863180.6A
Other languages
Chinese (zh)
Other versions
CN115696515A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110863180.6A priority Critical patent/CN115696515B/en
Publication of CN115696515A publication Critical patent/CN115696515A/en
Application granted granted Critical
Publication of CN115696515B publication Critical patent/CN115696515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

  • Circuits Of Receivers In General (AREA)

Abstract

本发明公开了一种数据处理方法、装置、设备及存储介质。其中,所述方法包括:监测当前的广播信道;在监测到广播信道空闲的情况下,确定得到待广播数据所需的测量总次数;按照确定的测量总次数进行测量,得到多个测量数据;将所述多个测量数据作为待广播数据发出。

The present invention discloses a data processing method, apparatus, device, and storage medium. The method comprises: monitoring a current broadcast channel; when the broadcast channel is detected to be idle, determining a total number of measurements required to obtain data to be broadcast; performing measurements according to the determined total number of measurements to obtain multiple measurement data; and sending the multiple measurement data as the data to be broadcast.

Description

Data processing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of wireless technologies, and in particular, to a data processing method, apparatus, device, and storage medium.
Background
Currently, more and more functions are supported by electronic devices, for example, one electronic device may transmit a broadcast signal to another electronic device. Generally, after the electronic device wakes up, the data to be broadcasted is loaded and sent out through the antenna, so as to complete one-time broadcasting, and after the broadcasting is finished, the electronic device enters a sleep mode to wait for the next broadcasting, and the process is repeated continuously. But the power consumption of the electronic device is relatively large during the broadcasting of data by the electronic device.
Disclosure of Invention
In view of this, the embodiments of the present invention desire to provide a data processing method, apparatus, device, and storage medium.
The technical scheme of the embodiment of the invention is realized as follows:
At least one embodiment of the present invention provides a data processing method, including:
monitoring a current broadcast channel;
under the condition that the idle broadcast channel is monitored, determining the total measurement times required by obtaining the data to be broadcast;
measuring according to the determined total measurement times to obtain a plurality of measurement data;
And sending the plurality of measurement data as data to be broadcast.
In the above scheme, the determining the total measurement times required for obtaining the data to be broadcasted under the condition that the broadcast channel is monitored to be idle includes:
Determining a waiting time length of the data to be broadcast sent out by a broadcast channel;
determining a first measurement frequency required for obtaining data to be broadcasted based on the determined waiting time length;
and determining the total measurement times required by obtaining the data to be broadcasted based on the first measurement times and the preset measurement times.
In the above scheme, the determining the waiting duration of the data to be broadcast sent out by the broadcast channel includes:
If the occupied broadcast channel is monitored when broadcasting begins, recording the initial time of the occupied broadcast channel;
if the fact that the broadcasting channel is recovered to be idle from occupied is monitored, recording the moment when the broadcasting channel is recovered to be idle;
And determining the waiting time of the broadcasting channel to send the data to be broadcasted based on the recorded moment when the broadcasting channel is restored to be idle and the initial moment when the broadcasting channel is occupied.
In the above scheme, the determining the waiting duration of the data to be broadcast sent out by the broadcast channel includes:
monitoring a broadcast channel for the nth time, and if the broadcast channel is monitored to be occupied, recording the occupied time length of the broadcast channel, wherein N=1, 2..m, m is an integer greater than 1;
and so on until the broadcast channel is restored to idle;
And accumulating the recorded time durations under the condition that the broadcast channel is restored to be idle, so as to obtain the waiting time duration of the data to be broadcast sent by the broadcast channel.
In the above scheme, the determining the total number of measurements required to obtain the data to be broadcast includes:
Determining a current working mode;
And under the condition that the working mode is a preset mode, determining the total measurement times required by obtaining the data to be broadcasted.
In the above scheme, the determining the total number of measurements required to obtain the data to be broadcast includes:
determining the type of data to be broadcast;
and under the condition that the type of the data to be broadcasted is a preset type, determining the total measurement times required by obtaining the data to be broadcasted.
In the above solution, the sending the plurality of measurement data as data to be broadcast includes:
measuring according to the determined total measurement times to obtain a plurality of measurement data;
And taking each measurement data in the plurality of measurement data as data to be broadcasted respectively.
In the above scheme, the method further comprises:
Starting a timer under the condition that each measurement data in the plurality of measurement data is broadcasted;
and if the timer is overtime, entering into dormancy.
At least one embodiment of the present invention provides a data processing apparatus including:
a first processing unit for monitoring a current broadcast channel;
The second processing unit is used for determining the total measurement times required by obtaining the data to be broadcasted under the condition that the idle broadcast channel is monitored;
And the third processing unit is used for measuring according to the determined total measurement times to obtain a plurality of measurement data, and sending the plurality of measurement data as data to be broadcasted.
At least one embodiment of the invention provides an electronic device comprising a processor and a memory for storing a computer program capable of running on the processor,
Wherein the processor is configured to perform the steps of any of the methods described above when the computer program is run.
At least one embodiment of the invention provides a computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the steps of any of the methods described above.
The data processing method, the device, the equipment and the storage medium provided by the embodiment of the invention are used for monitoring the current broadcast channel, determining the total measurement times required by obtaining the data to be broadcast under the condition that the broadcast channel is monitored to be idle, measuring according to the determined total measurement times to obtain a plurality of measurement data, and sending the plurality of measurement data as the data to be broadcast. By adopting the technical scheme of the embodiment of the invention, under the condition that the idle broadcast channel is monitored, the measurement is carried out according to the determined total measurement times to obtain a plurality of measurement data, and the plurality of measurement data are used as the data to be broadcast and sent out, so that the continuous broadcast is realized, and compared with the mode that the electronic equipment in the related art is continuously and repeatedly awakened and dormant to realize the broadcast data, the additional power consumption can be saved.
Drawings
Fig. 1 is a schematic diagram of broadcasting by an Ultra Wideband (UWB) device in the related art;
FIG. 2 is a schematic diagram of current waveforms for a single broadcast by a UWB device in the related art;
FIG. 3 is a schematic diagram of an implementation flow of a data processing method according to an embodiment of the present invention;
FIG. 4 is a flowchart of a specific implementation of a data processing method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of the duration of a broadcast channel occupied according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of broadcasting a plurality of measurement data;
FIG. 7 is a schematic diagram showing the constitution of a data processing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of the composition structure of an electronic device according to an embodiment of the present invention.
Detailed Description
Prior to introducing the technical solution of the embodiment of the present invention, a description will be given of related technology.
Fig. 1 is a schematic diagram of a related art UWB device broadcasting, and as shown in fig. 1, first, an electronic device is powered on. Then, the initialization of the micro control unit (MCU, microcontroller Unit) and UWB chip is performed. After the initialization is finished, loading data to be broadcasted to a UWB chip register through the MCU, modulating the data to a UWB carrier wave, and finally, sending out the data through an antenna to finish sending out (TX) of broadcast data once. After the TX is finished, the MCU saves the relevant setting of the UWB chip and issues a dormancy instruction to the UWB chip, and meanwhile, the MCU enters a low-power mode to save power consumption and wait for the next TX, so that periodic broadcasting is realized. Here, the broadcasting time interval depends on the set sleep time.
Fig. 2 is a schematic diagram of a current waveform of a single broadcast of a UWB device in the related art, as shown in fig. 2, an initialization time of approximately 1ms needs to be elapsed between each time of waking up the UWB device and sending out the broadcast, in which the power consumption is maintained at a milliamp level because the MCU is in a normal operating state after having been woken up from a low power consumption state, and meanwhile, extra power consumption at the milliamp level is also introduced during the waking up process of the UWB chip, and the extra power consumption caused by the waking up action accounts for approximately one half of the average power consumption of the whole machine.
In addition, when there are multiple UWB devices in the air, the UWB devices will confirm whether the channels are occupied before transmitting in order to avoid the signals from different devices from colliding in the air due to the existence of the clear channel assessment (CCA, clear Channel Assessment) mechanism. If occupied, the transmission is carried out after a random time delay. This can result in unstable TX times per unit time for UWB devices due to the CCA mechanism when multiple devices are present in the current environment.
Based on the above, in the embodiment of the invention, the current broadcast channel is monitored, the total measurement times required by the data to be broadcast are determined under the condition that the broadcast channel is monitored to be idle, the measurement is carried out according to the determined total measurement times to obtain a plurality of measurement data, and the plurality of measurement data are sent out as the data to be broadcast.
FIG. 3 is a schematic flow chart of an implementation of a data processing method according to an embodiment of the present invention, applied to an electronic device, as shown in FIG. 3, the method includes steps 301 to 304;
step 301, monitoring a current broadcast channel.
It is understood that the electronic device may refer to an electronic device having a broadcasting function. For example, a UWB device broadcasting a UWB signal, or a bluetooth device broadcasting a bluetooth signal, or a device broadcasting an ultrasonic signal, or a device broadcasting a radar signal.
It will be appreciated that when there are multiple electronic devices in the air, the electronic devices need to determine if the required broadcast channel is occupied when broadcasting data in order to avoid broadcast signals from different electronic devices colliding in the air due to the CCA mechanism.
Further, if the required broadcast channel is occupied, the broadcast data is transmitted after a delay time.
Step 302, determining the total number of measurements required for obtaining the data to be broadcast under the condition that the broadcast channel is monitored to be idle.
It is understood that the data to be broadcast may refer to broadcast data obtained by the electronic device through measurement.
It can be appreciated that, when the data to be broadcast is used for locating the position of the electronic device in real time, the data to be broadcast needs to be obtained through multiple measurements.
That is, the total number of measurements required to obtain the data to be broadcast needs to be determined to obtain the data to be broadcast.
It will be appreciated that if a broadcast channel is occupied, the length of time that the broadcast channel is occupied needs to be calculated.
Further, according to the calculated occupied duration of the broadcast channel, the number of times of measurement required in the occupied duration of the broadcast channel is calculated.
Thus, the total measurement times required by the data to be broadcasted can be calculated by combining the preset measurement times and the times required to be measured in the occupied duration of the broadcast channel.
It will be appreciated that the electronic device may be provided with a variety of functions. For example, after the electronic device starts its positioning function, some data are measured by its own sensor, and the measured data are sent to the electronic device of the opposite terminal, and the electronic device of the opposite terminal completes the calculation of positioning.
That is, the electronic device may enter an operation mode in which the electronic device may perform a plurality of measurements to obtain the data to be broadcast.
It will be appreciated that the settings may be made by the user to cause the electronic device to enter this mode of operation.
Based on this, in an embodiment, the determining the total number of measurements needed to obtain the data to be broadcast includes:
Determining a current working mode;
And under the condition that the working mode is a preset mode, determining the total measurement times required by obtaining the data to be broadcasted.
Wherein, the preset mode can be a specified function mode.
It will be appreciated that the electronic device may broadcast certain types of data. For example, the electronic device broadcasts data for positioning to the electronic device at the opposite end. In order to ensure the positioning accuracy, the data used for positioning may be data obtained through multiple measurements.
That is, the electronic device may broadcast a particular type of data. This type of data is obtained by requiring multiple measurements.
It may be appreciated that the type of data to be broadcast may be input by the user, so that the electronic device determines whether the data to be broadcast is of a preset type according to the type input by the user.
Based on this, in an embodiment, the determining the total number of measurements needed to obtain the data to be broadcast includes:
determining the type of data to be broadcast;
and under the condition that the type of the data to be broadcasted is a preset type, determining the total measurement times required by obtaining the data to be broadcasted.
The preset type may refer to a data type for positioning.
And 303, measuring according to the determined total measurement times to obtain a plurality of measurement data.
It can be understood that if the broadcast channel is unoccupied, measurement is performed according to the preset measurement times, so as to obtain a plurality of measurement data.
It will be appreciated that if a broadcast channel is occupied, the length of time that the broadcast channel is occupied needs to be calculated.
Further, according to the calculated occupied duration of the broadcast channel, the number of times of measurement required in the occupied duration of the broadcast channel is calculated.
In this way, the number of times of measurement required in the occupied duration of the broadcast channel is combined with the preset number of times of measurement to obtain a plurality of measurement data.
And 304, sending the plurality of measurement data as data to be broadcast.
It can be understood that the measurement is performed according to the determined total measurement times to obtain a plurality of measurement data, and each measurement data in the plurality of measurement data is used as the data to be broadcasted.
Further, a timer is started under the condition that each of the plurality of measurement data is broadcasted, and if the timer is overtime, the sleep is started.
In the embodiment of the invention, the electronic equipment carries out continuous broadcasting on a plurality of measurement data obtained according to the determined total measurement times, and has the following advantages:
(1) A broadcast mechanism is provided that can save power consumption. After single wake-up, a plurality of measurement data obtained by a plurality of measurements can be broadcasted, and extra power consumption caused by a plurality of wake-up actions is saved.
(2) And determining the number of times of broadcasting after single awakening according to the total number of times of measurement, thereby realizing single awakening and multiple broadcasting.
FIG. 4 is a flowchart of a specific implementation of a data processing method according to an embodiment of the present invention, as shown in FIG. 4, where the method includes steps 401 to 408;
step 401, powering up the electronic device.
It is understood that the electronic device may refer to a UWB device with broadcast functionality, e.g., a UEB tag.
Step 402, initializing MCU.
Step 403, initializing the UWB chip.
Step 404, monitoring the current broadcast channel.
It can be understood that after the electronic device is powered on to initialize the MCU and UWB chip, before broadcasting, the current environment is monitored first to detect whether the broadcast channel used by the electronic device in the current environment is occupied by other electronic devices.
Step 405, judging whether the broadcast channel is occupied, if so, executing step 404, otherwise, executing step 406.
Step 406, determining a waiting time length of the data to be broadcast sent out by the broadcast channel.
It may be appreciated that the waiting time period may refer to a time period required to delay transmission of data to be broadcast in a case where a broadcast channel is occupied.
In an embodiment, the determining a waiting duration for the data to be broadcast to be sent out by a broadcast channel includes:
recording the occupied starting time of the broadcast channel;
Recording the moment when the broadcast channel is restored to be idle;
And determining the waiting time of the broadcasting channel to send the data to be broadcasted based on the recorded moment when the broadcasting channel is restored to be idle and the initial moment when the broadcasting channel is occupied.
In another embodiment, the determining a waiting duration for the data to be broadcast to be transmitted by a broadcast channel includes:
monitoring a broadcast channel for the nth time, and if the broadcast channel is monitored to be occupied, recording the occupied time length of the broadcast channel, wherein N=1, 2..m, m is an integer greater than 1;
and so on until the broadcast channel is restored to idle;
And accumulating the recorded time durations under the condition that the broadcast channel is restored to be idle, so as to obtain the waiting time duration of the data to be broadcast sent by the broadcast channel.
Fig. 5 is a schematic diagram of a time period when the broadcast channel is occupied, and if the broadcast channel is occupied, it is necessary to delay transmitting data to be broadcast and record delay time delay1, that is, the time period when the broadcast channel is occupied, as shown in fig. 5. After the delay time delay1 is over, the electronic device will monitor again, if the broadcast channel is still occupied, it needs to delay sending the data to be broadcast for a period of time, and at the same time, record the delay time delay2, that is, the duration that the broadcast channel continues to be occupied. And so on until the broadcast channel is detected to be released and then broadcast is performed.
Step 407, determining the total number of measurements required for obtaining the data to be broadcast based on the determined waiting time.
The method comprises the steps of determining a first measurement frequency required by obtaining data to be broadcasted based on a determined waiting time length, and determining a total measurement frequency required by obtaining the data to be broadcasted based on the first measurement frequency and a preset measurement frequency.
It will be appreciated that the device begins to prepare broadcast data upon detecting that the current channel is released.
Firstly, the total number of measurements required to broadcast the data to be broadcast this time is calculated.
Specifically, the total number of measurements is related to two factors, the first, preset number of measurements. Secondly, before the broadcasting is started, the total time of delay is caused by CCA.
It can be understood that the total measurement times required for broadcasting the data to be broadcast at this time are determined by preset measurement times and measurement times obtained by compensation in the delay time recorded by the occupied broadcast channel.
For example, assuming that the preset measurement number is 10 times within 1s, and assuming that the total delay duration recorded by the occupied broadcast channel is 1s, the measurement number obtained by compensation is 1×10=10 times.
Thus, the total number of measurements required for broadcasting the data to be broadcast this time= (10+10×1) =20 times, that is, the total number of measurements within 1s is 20 times.
Step 408, obtaining a plurality of measurement data according to the determined total measurement times, taking each measurement data of the plurality of measurement data as data to be broadcasted, and loading the data to be broadcasted.
Step 409, judging whether the broadcasting of the plurality of measurement data is completed, if so, executing step 410, otherwise, executing step 408.
It can be understood that after the measurement data of each measurement is broadcast as the data to be broadcast, the number of currently completed measurements can be updated, compared with the calculated total number of measurements, the next data loading is performed if the number of completed measurements does not reach the total number of measurements, and if the number of completed measurements reaches the total number of measurements, the settings are saved and the timer is started.
Fig. 6 is a schematic diagram of broadcasting a plurality of measurement data, as shown in fig. 6, by adopting the continuous broadcasting method provided by the embodiment of the invention, 10 times of measurement data can be broadcasted only by waking up once in 1s, and compared with the method of waking up multiple times in 1s and broadcasting once every waking up in the related art, the method saves 9 times of extra power consumption caused by waking up action under the same 1s condition compared with the single broadcasting.
Step 410, starting a timer, and if the timer is overtime, entering into dormancy to wait for the next broadcast.
In the embodiment of the invention, the electronic equipment determines the total measurement times by utilizing the time length of the occupied broadcast channel recovered to be idle, and continuously broadcasts a plurality of measurement data obtained according to the total measurement times, thereby having the following advantages:
(1) The continuous broadcasting mechanism of single wake-up and multiple broadcasting is utilized to continuously send out a plurality of measured data of multiple measurements, compared with the mode of continuously repeatedly waking up and dormancy to broadcast the data by the electronic equipment in the related technology, the extra power consumption is saved, and meanwhile, the information integrity can be ensured, namely, the number of TX in unit time is the same as that of a single-shot broadcasting mechanism.
(2) By recording the occupied delay time of the broadcast channel, introducing the compensated measurement times, and under the condition that the electronic equipment delays transmission due to interference of other equipment, the number of times of broadcasting in unit time can be corrected through the compensated measurement times, so that the stability of the number of times of broadcasting in unit time is ensured, and the anti-interference capability of the electronic equipment is improved.
In order to implement the data processing method according to the embodiment of the present invention, the embodiment of the present invention further provides a data processing device, which is disposed on an electronic device, and fig. 7 is a schematic diagram of a composition structure of the data processing method according to the embodiment of the present invention, and as shown in fig. 7, the device includes:
A first processing unit 71 for monitoring a current broadcast channel;
A second processing unit 72, configured to determine a total number of measurements required to obtain data to be broadcast, in case that the broadcast channel is monitored to be idle;
and a third processing unit 73, configured to perform measurement according to the determined total measurement times to obtain a plurality of measurement data, and send the plurality of measurement data as data to be broadcasted.
In one embodiment, the second processing unit 72 is specifically configured to:
Determining a waiting time length of the data to be broadcast sent out by a broadcast channel;
determining a first measurement frequency required for obtaining data to be broadcasted based on the determined waiting time length;
and determining the total measurement times required by obtaining the data to be broadcasted based on the first measurement times and the preset measurement times.
In one embodiment, the second processing unit 72 is specifically configured to:
If the occupied broadcast channel is monitored when broadcasting begins, recording the initial time of the occupied broadcast channel;
if the fact that the broadcasting channel is recovered to be idle from occupied is monitored, recording the moment when the broadcasting channel is recovered to be idle;
And determining the waiting time of the broadcasting channel to send the data to be broadcasted based on the recorded moment when the broadcasting channel is restored to be idle and the initial moment when the broadcasting channel is occupied.
In one embodiment, the second processing unit 72 is specifically configured to:
monitoring a broadcast channel for the nth time, and if the broadcast channel is monitored to be occupied, recording the occupied time length of the broadcast channel, wherein N=1, 2..m, m is an integer greater than 1;
and so on until the broadcast channel is restored to idle;
And accumulating the recorded time durations under the condition that the broadcast channel is restored to be idle, so as to obtain the waiting time duration of the data to be broadcast sent by the broadcast channel.
In one embodiment, the second processing unit 72 is specifically configured to:
Determining a current working mode;
And under the condition that the working mode is a preset mode, determining the total measurement times required by obtaining the data to be broadcasted.
In one embodiment, the second processing unit 72 is specifically configured to:
determining the type of data to be broadcast;
and under the condition that the type of the data to be broadcasted is a preset type, determining the total measurement times required by obtaining the data to be broadcasted.
In an embodiment, the third processing unit 73 is specifically configured to:
measuring according to the determined total measurement times to obtain a plurality of measurement data;
And taking each measurement data in the plurality of measurement data as data to be broadcasted respectively.
In an embodiment, the third processing unit 73 is further configured to:
Starting a timer under the condition that each measurement data in the plurality of measurement data is broadcasted;
and if the timer is overtime, entering into dormancy.
In practical applications, the first processing unit 71, the second processing unit 72, and the third processing unit 73 may be implemented by a processor in a data processing apparatus.
It should be noted that, in the data processing apparatus provided in the foregoing embodiment, only the division of each program module is used for illustration, and in practical application, the processing allocation may be performed by different program modules according to needs, that is, the internal structure of the apparatus is divided into different program modules to complete all or part of the processing described above. In addition, the data processing apparatus and the data processing method embodiment provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the data processing apparatus and the data processing method embodiment are detailed in the method embodiment, which is not described herein again.
The embodiment of the invention also provides an electronic device, as shown in fig. 8, including:
a communication interface 81 capable of information interaction with other devices;
and the processor 82 is connected with the communication interface 81 and is used for executing the method provided by one or more technical schemes on the intelligent equipment side when running the computer program. And the computer program is stored on the memory 63.
It should be noted that, the specific processing procedures of the processor 82 and the communication interface 81 are detailed in the method embodiment, and are not described herein.
Of course, in actual practice, the various components in electronic device 80 are coupled together by bus system 84. It is understood that the bus system 84 is used to enable connected communications between these components. The bus system 84 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled as bus system 84 in fig. 8.
The memory 83 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device 80. Examples of such data include any computer program for operation on the electronic device 80.
The method disclosed in the above embodiment of the present application may be applied to the processor 82 or implemented by the processor 82. The processor 82 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry of hardware in the processor 82 or by instructions in the form of software. The Processor 82 described above may be a general purpose Processor, a digital data Processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 82 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiment of the application can be directly embodied in the hardware of the decoding processor or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in a memory 83, and the processor 82 reads information from the memory 83 and, in combination with its hardware, performs the steps of the method described above.
In an exemplary embodiment, the electronic device 80 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, programmable logic devices (PLDs, programmable Logic Device), complex Programmable logic devices (CPLDs, complex Programmable Logic Device), field-Programmable gate arrays (FPGAs), general purpose processors, controllers, microcontrollers (MCUs, micro Controller Unit), microprocessors (microprocessors), or other electronic elements for performing the aforementioned methods.
It will be appreciated that the memory (memory 83) of embodiments of the application can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. the non-volatile Memory may be, among other things, a Read Only Memory (ROM), a programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read-Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable Read-Only Memory (EEPROM, ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory), Magnetic random access Memory (FRAM, ferromagnetic random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk-Only Memory (CD-ROM, compact Disc Read-Only Memory), which may be disk Memory or tape Memory. the volatile memory may be random access memory (RAM, random Access Memory) which acts as external cache memory. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), and, Double data rate synchronous dynamic random access memory (DDRSDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). The memory described by embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
In an exemplary embodiment, the present invention also provides a storage medium, i.e. a computer storage medium, in particular a computer readable storage medium, for example comprising a memory 81 storing a computer program executable by a processor 82 of an electronic device 80 for performing the steps of the aforementioned electronic device side method. The computer readable storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
It should be noted that "first," "second," etc. are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
In addition, the embodiments of the present invention may be arbitrarily combined without any collision.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. A method of data processing, the method comprising:
monitoring a current broadcast channel;
under the condition that the idle broadcast channel is monitored, determining the total measurement times required by obtaining the data to be broadcast;
measuring according to the determined total measurement times to obtain a plurality of measurement data;
And dividing each measurement data in the plurality of measurement data into a plurality of continuous broadcasting and sending out as data to be broadcasted.
2. The method according to claim 1, wherein the determining the total number of measurements required to obtain the data to be broadcast in case that the broadcast channel is monitored to be idle comprises:
Determining a waiting time length of the data to be broadcast sent out by a broadcast channel;
determining a first measurement frequency required for obtaining data to be broadcasted based on the determined waiting time length;
and determining the total measurement times required by obtaining the data to be broadcasted based on the first measurement times and the preset measurement times.
3. The method of claim 2, wherein the determining a waiting period for the data to be broadcast to be transmitted by a broadcast channel comprises:
If the occupied broadcast channel is monitored when broadcasting begins, recording the initial time of the occupied broadcast channel;
if the fact that the broadcasting channel is recovered to be idle from occupied is monitored, recording the moment when the broadcasting channel is recovered to be idle;
And determining the waiting time of the broadcasting channel to send the data to be broadcasted based on the recorded moment when the broadcasting channel is restored to be idle and the initial moment when the broadcasting channel is occupied.
4. The method of claim 2, wherein the determining a waiting period for the data to be broadcast to be transmitted by a broadcast channel comprises:
monitoring a broadcast channel for the nth time, and if the broadcast channel is monitored to be occupied, recording the occupied time length of the broadcast channel, wherein N=1, 2..m, m is an integer greater than 1;
and so on until the broadcast channel is restored to idle;
And accumulating the recorded time durations under the condition that the broadcast channel is restored to be idle, so as to obtain the waiting time duration of the data to be broadcast sent by the broadcast channel.
5. The method of claim 1, wherein determining the total number of measurements required to obtain the data to be broadcast comprises:
Determining a current working mode;
And under the condition that the working mode is a preset mode, determining the total measurement times required by obtaining the data to be broadcasted.
6. The method of claim 1, wherein determining the total number of measurements required to obtain the data to be broadcast comprises:
determining the type of data to be broadcast;
and under the condition that the type of the data to be broadcasted is a preset type, determining the total measurement times required by obtaining the data to be broadcasted.
7. The method according to claim 1, wherein the method further comprises:
Starting a timer under the condition that each measurement data in the plurality of measurement data is broadcasted;
and if the timer is overtime, entering into dormancy.
8. A data processing apparatus, comprising:
a first processing unit for monitoring a current broadcast channel;
The second processing unit is used for determining the total measurement times required by obtaining the data to be broadcasted under the condition that the idle broadcast channel is monitored;
And the third processing unit is used for measuring according to the determined total measurement times to obtain a plurality of measurement data, and dividing each measurement data in the plurality of measurement data into a plurality of continuous broadcasting and sending out as data to be broadcasted.
9. An electronic device comprising a processor and a memory for storing a computer program capable of running on the processor,
Wherein the processor is adapted to perform the steps of the method of any of claims 1 to 7 when the computer program is run.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
CN202110863180.6A 2021-07-29 2021-07-29 Data processing method, device, equipment and storage medium Active CN115696515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110863180.6A CN115696515B (en) 2021-07-29 2021-07-29 Data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110863180.6A CN115696515B (en) 2021-07-29 2021-07-29 Data processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115696515A CN115696515A (en) 2023-02-03
CN115696515B true CN115696515B (en) 2025-08-15

Family

ID=85059449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110863180.6A Active CN115696515B (en) 2021-07-29 2021-07-29 Data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115696515B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111432467A (en) * 2020-03-30 2020-07-17 上海航天电子通讯设备研究所 Bluetooth positioning method and system based on TOF

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4608711A (en) * 1984-06-21 1986-08-26 Itt Corporation Cellular mobile radio hand-off utilizing voice channel
US20060084444A1 (en) * 2004-10-20 2006-04-20 Nokia Corporation System and method utilizing a cognitive transceiver for ad hoc networking
JP2007180711A (en) * 2005-12-27 2007-07-12 Toshiba Corp Broadcast recording device and broadcast recording method
CN101754374B (en) * 2009-12-24 2013-08-07 中兴通讯股份有限公司 Cluster system and broadcast message sending method
US9992697B2 (en) * 2010-02-12 2018-06-05 Nokia Technologies Oy Method and apparatus for reporting of measurement data
CN105992222A (en) * 2015-01-29 2016-10-05 北京三星通信技术研究有限公司 Channel resource competition method and device
CN105992156B (en) * 2015-02-03 2019-06-14 普天信息技术有限公司 A Mobile Node Location Method Based on Bluetooth Technology
JP6518151B2 (en) * 2015-07-02 2019-05-22 パナソニック株式会社 Mobile communication system and handover control method
CN106341828B (en) * 2015-07-10 2020-04-03 华为技术有限公司 A channel measurement method and STA
CN105188020B (en) * 2015-08-31 2019-01-11 宇龙计算机通信科技(深圳)有限公司 D2D communication means, user equipment and base station
JP6878972B2 (en) * 2017-03-15 2021-06-02 沖電気工業株式会社 Wireless communication devices, wireless communication programs, and wireless communication methods
CN112567826B (en) * 2018-08-10 2024-04-23 联想(新加坡)私人有限公司 Identifying synchronization signal/physical broadcast channel block opportunities
CN113114521B (en) * 2021-02-24 2022-10-04 浙江大华技术股份有限公司 Link quality judging method, network camera and readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111432467A (en) * 2020-03-30 2020-07-17 上海航天电子通讯设备研究所 Bluetooth positioning method and system based on TOF

Also Published As

Publication number Publication date
CN115696515A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
CN109388339B (en) Memory controller and method of operating the same
WO2021233219A1 (en) Automatic wake-up and diagnosis method for battery management system, battery management system, and vehicle
KR101412676B1 (en) Control of sleep modes in a wireless transceiver
US8441873B2 (en) Memory devices and methods of operating memory
CN114327651B (en) Chip wake-up method, system, electronic device and readable storage medium
JP2017522631A (en) Electronic device for extending battery life in mobile applications
CN106489109A (en) A kind of SCM system and the repositioning method for SCM system
CN114762449A (en) Method, device, terminal and storage medium for reporting channel state information
CN1961489A (en) Networked wireless communications device programmed to identify and eliminate probable multipath errors to enhance accuracy in correcting sleep clock for thermally induced errors
CN114035477A (en) Equipment awakening method, device and system
KR20200055805A (en) Memory device using multiple latency sets and method of operation thereof
CN114174956B (en) Preemptive wake-up circuitry for waking up from low-power modes
US8010818B2 (en) Power efficient method for controlling an oscillator in a low power synchronous system with an asynchronous I2C bus
CN115696515B (en) Data processing method, device, equipment and storage medium
CN118144708A (en) Vehicle quick start method, device and vehicle
US20160021448A1 (en) Microphone system and microphone control method
US9507372B2 (en) Out-of-band signal detection by host interfaces of storage modules
US7237132B2 (en) Power reduction for unintentional activation of a wireless input device using a flip-flop to detect event termination
CN1937075B (en) Data transfer operation completion detection circuit and semiconductor memory device provided therewith
CN117632272A (en) Method and device for waking up storage device, terminal device and storage medium
WO2025030662A1 (en) Control method for vehicle-mounted intercom terminal, vehicle-mounted intercom terminal and storage medium
JP7394472B2 (en) Radio frequency identification communication method that reduces communication collisions with low power consumption and radio frequency identification communication system using the same
US20080174354A1 (en) Clock generating circuit and method thereof
EP2948952B1 (en) Power management for a memory device
US9146611B2 (en) System and method for providing a low power remote control

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
GR01 Patent grant
GR01 Patent grant