CN111447567B - Data broadcasting method and device, storage medium and electronic device - Google Patents

Data broadcasting method and device, storage medium and electronic device Download PDF

Info

Publication number
CN111447567B
CN111447567B CN202010220572.6A CN202010220572A CN111447567B CN 111447567 B CN111447567 B CN 111447567B CN 202010220572 A CN202010220572 A CN 202010220572A CN 111447567 B CN111447567 B CN 111447567B
Authority
CN
China
Prior art keywords
time
data
host
target
broadcast
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
CN202010220572.6A
Other languages
Chinese (zh)
Other versions
CN111447567A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010220572.6A priority Critical patent/CN111447567B/en
Publication of CN111447567A publication Critical patent/CN111447567A/en
Application granted granted Critical
Publication of CN111447567B publication Critical patent/CN111447567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04W56/00Synchronisation arrangements
    • H04W56/004Synchronisation arrangements compensating for timing error of reception due to propagation delay

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a data broadcasting method and device, a storage medium and an electronic device, wherein the method comprises the following steps: under the condition that the target host is determined to receive the first data broadcasted by other hosts except the target host in the target channel, determining the first time of the other hosts for broadcasting the first data; adjusting the time slot of the interval between the broadcast data of other hosts and the broadcast data of the target host by using the first time difference between the first time and the current time; the time at which the target host broadcasts data in the target channel is adjusted based on the time slot such that the time at which the target host broadcasts data does not overlap with the time at which other hosts broadcast data. The invention solves the problem of collision of broadcast data in the same channel in the related technology, and achieves the effect of improving the data transmission efficiency.

Description

Data broadcasting method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a data broadcasting method and apparatus, a storage medium, and an electronic apparatus.
Background
When multiple devices transmit data simultaneously in wireless communication, radio frequency signals are superposed in the air to generate data collision, and communication failure is caused.
In order to avoid mutual interference among a plurality of hosts, in the prior art, whether wireless equipment is transmitting in the air is detected, and when data transmission in the air is detected, the wireless equipment is randomly delayed and then transmits the data. However, when multiple hosts operate in the same channel, data collision still occurs.
In view of the above technical problems, no effective solution has been proposed in the related art.
Disclosure of Invention
The embodiment of the invention provides a data broadcasting method and device, a storage medium and an electronic device, which are used for at least solving the problem that broadcast data in the same channel collide in the related art.
According to an embodiment of the present invention, there is provided a data broadcasting method including: under the condition that the target host is determined to receive the first data broadcasted by other hosts except the target host in the target channel, determining the first time of the other hosts for broadcasting the first data; adjusting the time slot of the interval between the broadcast data of other hosts and the broadcast data of the target host by using the first time difference between the first time and the current time; the time at which the target host broadcasts data in the target channel is adjusted based on the time slot such that the time at which the target host broadcasts data does not overlap with the time at which other hosts broadcast data.
According to another embodiment of the present invention, there is provided a data broadcasting apparatus including:
the first determining module is used for determining the first time when the other hosts broadcast the first data under the condition that the target host receives the first data broadcast by the other hosts except the target host in the target channel;
the first adjusting module is used for adjusting the time slots of the intervals between the broadcast data of other hosts and the broadcast data of the target host by utilizing the first time difference between the first time and the current time;
and the second adjusting module is used for adjusting the time of the target host broadcasting the data in the target channel based on the time slot so as to ensure that the time of the target host broadcasting the data is not overlapped with the time of other hosts broadcasting the data.
Optionally, the first determining module includes:
the first monitoring unit is used for monitoring a target channel to determine a host machine for broadcasting data in the target channel, wherein the host machine comprises the target host machine and other host machines;
a first determining unit, configured to determine a host that is to broadcast data at a current time as a target host;
a second determining unit for determining a host broadcasting data at a time closest to a current time as another host;
a third determining unit for determining a host broadcasting data at a time closest to before the first time as the other host;
the first recording unit is used for monitoring the broadcast of the first data through the target host and recording the first time when the first data is broadcast in the target channel by other hosts.
Optionally, the first adjusting module includes:
the fourth determining unit is used for carrying out time delay processing on the current time under the condition that the first time difference between the current time and the first time is smaller than or equal to a preset threshold value to obtain second time;
and a fifth determining unit, configured to determine a second time difference between the second time and the first time as a time slot of an interval between the other host broadcast data and the target host broadcast data.
Optionally, the apparatus further comprises:
a second determining module, configured to utilize a first time difference between the first time and the current time to adjust a time slot between broadcast data of the other host and broadcast data of the target host, and then recalculate a time difference between broadcast data of the target host and the other host within an nth time period after the first time to obtain a third time difference;
and the third adjusting module is used for adjusting the time slot by using the third time difference so as to maintain the time slot in a state of being larger than the preset threshold value.
Optionally, the apparatus further comprises:
a third determining module, configured to determine the number of hosts in the target channel;
and a fourth determining module, configured to determine the preset threshold based on the number of hosts.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, under the condition that the target host receives the first data broadcast by other hosts except the target host in the target channel, the first time of the other hosts for broadcasting the first data is determined; adjusting the time slot of the interval between the broadcast data of other hosts and the broadcast data of the target host by using the first time difference between the first time and the current time; the time at which the target host broadcasts data in the target channel is adjusted based on the time slot such that the time at which the target host broadcasts data does not overlap with the time at which other hosts broadcast data. The non-overlapping of the broadcast data in the same channel can be realized by adjusting the time difference of the broadcast data of the host in the same channel. Therefore, the problem of collision of broadcast data in the same channel in the related art can be solved, and the effect of improving the data transmission efficiency is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal of a data broadcasting method according to an embodiment of the present invention;
fig. 2 is a flowchart of a data broadcasting method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a slot interval according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of data broadcast in a target channel at a host according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a listening channel in accordance with an alternative embodiment of the present invention;
fig. 6 is a block diagram of a structure of a data broadcasting apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Taking the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a data broadcasting method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the data broadcasting method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the present embodiment, a data broadcasting method is provided, and fig. 2 is a flowchart of a data broadcasting method according to an embodiment of the present invention, where as shown in fig. 2, the flowchart includes the following steps:
step S202, under the condition that the target host is determined to receive the first data broadcast by other hosts except the target host in the target channel, determining the first time of the other hosts for broadcasting the first data;
step S204, utilizing a first time difference between the first time and the current time to adjust the time slots of the intervals between the broadcast data of other hosts and the broadcast data of the target host;
step S206, the time of the target host broadcasting data in the target channel is adjusted based on the time slot, so that the time of the target host broadcasting data is not overlapped with the time of other hosts broadcasting data.
Optionally, in this embodiment, the time slot includes, but is not limited to, a receiving time slot interval, and the time interval for the terminal to open the receiving window is, for example, set to 1 s. As shown in fig. 3, a 20s time frame, 1s receive slot interval diagram. The terminal starts the time slot of the receiving window, and the host can send data down. In order to ensure the reliability of receiving, the receiving window is opened in advance and closed in a lagging way, and a certain margin is reserved in front and at the back.
Optionally, for example, as shown in fig. 4, the adjusting the time of the target host and the other hosts broadcasting data in the target channel based on the time slot in this embodiment includes the following steps:
s401: the host monitors data in the channel;
s402: when the host monitors the broadcast of other hosts, the difference between the current time and the next broadcast time of the host is dt;
s403: if dt is greater than a set threshold time, optionally, a determination may be made when the local broadcast time is reached, since new other host broadcasts may be received in the process to refresh dt;
s404: in the case where dt is less than or equal to the set threshold time, the host performs a very short delay calibration for the next broadcast time.
Alternatively, the execution subject of the above steps may be a terminal or the like, but is not limited thereto.
Through the above steps, in the case that it is determined that the target host receives the first data broadcast by the other hosts except the target host in the target channel, the first time when the other hosts broadcast the first data is determined; adjusting the time slot of the interval between the broadcast data of other hosts and the broadcast data of the target host by using the first time difference between the first time and the current time; the time at which the target host broadcasts data in the target channel is adjusted based on the time slot such that the time at which the target host broadcasts data does not overlap with the time at which other hosts broadcast data. The non-overlapping of the broadcast data in the same channel can be realized by adjusting the time difference of the broadcast data of the host in the same channel. Therefore, the problem of broadcast data collision in the same channel in the related art can be solved, and the effect of improving the data transmission efficiency is achieved
In an alternative embodiment, in the case where it is determined that the target host receives the other host broadcast first data in the target channel, determining a first time when the other host broadcasts the first data includes:
s1, monitoring the target channel to determine the host broadcasting data in the target channel, wherein the host comprises the target host and other hosts;
s2, determining the host to be broadcasted at the current time as the target host;
s3, recording the current time as a first time;
s4, determining the host broadcasting the data at the time closest to the current time as the other host;
s5, monitoring the first data broadcast by the target host, recording the first time of the first data broadcast in the target channel by other hosts.
Optionally, in this embodiment, the host may listen to the data broadcast in the channel.
In an alternative embodiment, adjusting the time slot of the interval between the other host broadcast data and the target host broadcast data using the first time difference between the first time and the current time comprises:
s1, when the first time difference between the current time and the first time is less than or equal to a preset threshold value, delaying the current time to obtain a second time;
and S2, determining a second time difference between the second time and the first time as a time slot of an interval between other host broadcast data and target host broadcast data.
In an optional embodiment, after adjusting the time slot of the interval between the other host broadcast data and the target host broadcast data by using the first time difference between the first time and the current time, the method further comprises:
s1, recalculating the time difference of the broadcast data between the target host and other hosts in the Nth time period after the first time to obtain a third time difference;
and S2, adjusting the time slot by using the third time difference so as to maintain the time slot in a state of being larger than the preset threshold value.
In an optional embodiment, the method further comprises:
s1, determining the number of hosts in the target channel;
s2, determining a preset threshold based on the number of hosts.
Optionally, in this embodiment, the determining of the preset threshold may be before the current time is delayed to obtain the second time; or before the time slot is adjusted by the third time difference so as to maintain the time slot in a state of being greater than the preset threshold value.
Alternatively, in this embodiment, when multiple hosts operate on the same channel, it is necessary to avoid the broadcast times of different hosts from overlapping within the reception slot, i.e. if the slot interval is dt, the broadcast interval between the multiple hosts cannot be an integer multiple of dt.
Because the initial broadcast time interval between the hosts is random, and the directions of clock frequency offset between the devices are different, the broadcast time is easy to overlap after long-time operation, thereby causing long-time data collision. Meanwhile, in order to prevent the problem that the connected accessories are out of synchronization due to large clock skew in an instant manner (the time when the accessories wake up to receive the time slot synchronization caused by the skew of the host broadcast is inconsistent with the originally appointed time, so that the accessories are not connected), as shown in fig. 5, the host monitors the current channel, records a just broadcast time T1, which is earlier than the current channel in broadcast and has the closest time, and makes a difference with the broadcast time T2 of the host;
dT=T2–T1;
if the time slots of the two are smaller than the set threshold value L, the broadcasting time slot of the host computer is delayed at a clock interval of 100ns, and the time slot collision between the host computers is prevented until the following conditions are met:
if L is greater than dT;
dT is recalculated in the next slot after a small time delay of the host broadcast (e.g., 100us per broadcast time delay):
dT=T2–T1;
the timeslot adjustment may not be performed if the following conditions are met:
L<dT;
otherwise, if the requirement is not met, delaying for a small time is needed, until after a plurality of broadcast periods, the broadcast interval after n times of delay meets the set threshold (for example, each broadcast time is delayed by 100us, and after 100 periods, the accumulated delay reaches 10 ms).
The process is a dynamic adjustment process, when a plurality of hosts exist, each host can dynamically adjust according to the time slot interval between the hosts, finally a certain time slot distance is dynamically kept, and data collision among the hosts is prevented.
Meanwhile, the time slot deviation of each time slot calibration is small, so that the connected accessories can be effectively prevented from being out of step under the condition that the accessories receive the reserved time allowance.
Wherein L is set to meet certain requirements, i.e. L, 2L, 3L … NL cannot overlap with the reception time slot. For example: when L is 0.9s, 2L is 1.8s and 3L is 2.7s …, the receiving time slot is 1s and one interval, which are all not overlapped with the receiving time slot until 10L is 9s, so we need to set a proper threshold L according to the number of hosts that can be accommodated in the channel.
By the embodiment, under the condition of running the time slot, the connection between the host and the accessory can be maintained while meeting the anti-collision requirement; data transmission collision caused by clock offset due to hardware consistency difference can be solved; the multi-host data collision prevention system can support a plurality of hosts to operate in the same channel, and effectively prevent multi-host data collision.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a data broadcasting apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description of the apparatus is omitted for brevity. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 6 is a block diagram of a structure of a data broadcasting apparatus according to an embodiment of the present invention, as shown in fig. 6, the apparatus including:
a first determining module 62, configured to determine a first time when the other hosts broadcast the first data, in a case where it is determined that the target host receives the first data broadcast by the other hosts except the target host in the target channel;
a first adjusting module 64, configured to adjust a time slot of an interval between the broadcast data of the other host and the broadcast data of the target host by using a first time difference between the first time and the current time;
a second adjusting module 66, configured to adjust the time when the target host broadcasts the data in the target channel based on the time slot, so that the time when the target host broadcasts the data does not overlap with the time when other hosts broadcast the data.
Optionally, the first determining module includes:
the first monitoring unit is used for monitoring a target channel to determine a host machine for broadcasting data in the target channel, wherein the host machine comprises the target host machine and other host machines;
a first determining unit, configured to determine a host that is to broadcast data at a current time as a target host;
a second determining unit for determining a host broadcasting data at a time closest to a current time as another host;
a third determining unit for determining a host broadcasting data at a time closest to before the first time as the other host;
the first recording unit is used for monitoring the broadcast of the first data through the target host and recording the first time when the first data is broadcast in the target channel by other hosts.
Optionally, the first adjusting module includes:
the fourth determining unit is used for carrying out time delay processing on the current time under the condition that the first time difference between the current time and the first time is smaller than or equal to a preset threshold value to obtain second time;
and a fifth determining unit, configured to determine a second time difference between the second time and the first time as a time slot of an interval between the other host broadcast data and the target host broadcast data.
Optionally, the apparatus further comprises:
a second determining module, configured to utilize a first time difference between the first time and the current time to adjust a time slot between broadcast data of the other host and broadcast data of the target host, and then recalculate a time difference between broadcast data of the target host and the other host within an nth time period after the first time to obtain a third time difference;
and the third adjusting module is used for adjusting the time slot by using the third time difference so as to maintain the time slot in a state of being larger than the preset threshold value.
Optionally, the apparatus further comprises:
a third determining module, configured to determine the number of hosts in the target channel;
and a fourth determining module, configured to determine the preset threshold based on the number of hosts.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, under the condition that the target host receives the first data broadcast by other hosts except the target host in the target channel, determining the first time of the other hosts broadcasting the first data;
s2, adjusting the time slot of the interval between the other host broadcast data and the target host broadcast data by using the first time difference between the first time and the current time;
s3, adjusting the time of the target host broadcasting data in the target channel based on the time slot so that the time of the target host broadcasting data does not overlap with the time of other hosts broadcasting data.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, under the condition that the target host receives the first data broadcast by other hosts except the target host in the target channel, determining the first time of the other hosts broadcasting the first data;
s2, adjusting the time slot of the interval between the other host broadcast data and the target host broadcast data by using the first time difference between the first time and the current time;
s3, adjusting the time of the target host broadcasting data in the target channel based on the time slot so that the time of the target host broadcasting data does not overlap with the time of other hosts broadcasting data.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A method of data broadcasting, comprising:
in the case that the target host is determined to receive the first data broadcasted by other hosts except the target host in the target channel, determining the first time of the other hosts for broadcasting the first data;
adjusting the time slot of the interval between the other host broadcast data and the target host broadcast data by using the first time difference between the first time and the current time;
adjusting the time of the target host broadcasting data in the target channel based on the time slot so that the time of the target host broadcasting data does not overlap with the time of the other hosts broadcasting data;
wherein adjusting the time slot of the interval between the other host broadcast data and the target host broadcast data by using the first time difference between the first time and the current time comprises:
under the condition that a first time difference between the current time and the first time is smaller than or equal to a preset threshold value, carrying out time delay processing on the current time to obtain a second time;
determining a second time difference between the second time and the first time as a time slot of an interval between the other host broadcast data and the target host broadcast data.
2. The method of claim 1, wherein in the case that it is determined that the target host receives the first data broadcast by the other hosts in the target channel, determining the first time when the other hosts broadcast the first data comprises:
monitoring the target channel to determine a host broadcasting data in the target channel, wherein the host comprises the target host and the other hosts;
determining a host to be broadcasted at the current time as the target host;
determining a host broadcasting data at a time closest before the current time as the other host;
and monitoring the broadcast of the first data through the target host, and recording the first time when the other hosts broadcast the first data in the target channel.
3. The method of claim 1, wherein after adjusting the time slot of the interval between the other host broadcast data and the target host broadcast data using the first time difference between the first time and the current time, the method further comprises:
in the Nth time period after the first time, recalculating the time difference of the broadcast data between the target host and the other hosts to obtain a third time difference;
and adjusting the time slot by using the third time difference so as to maintain the time slot in a state of being greater than a preset threshold value.
4. The method according to claim 1 or 3, characterized in that the method further comprises:
determining the number of hosts in the target channel;
determining the preset threshold based on the number of hosts.
5. A data broadcasting apparatus, comprising:
the first determining module is used for determining a first time when other hosts broadcast first data under the condition that the target host receives the first data broadcast by the other hosts except the target host in a target channel;
a first adjusting module, configured to adjust a time slot of an interval between the other host broadcast data and the target host broadcast data by using a first time difference between the first time and a current time;
a second adjusting module, configured to adjust, based on the timeslot, a time at which the target host broadcasts data in the target channel, so that the time at which the target host broadcasts data does not overlap with a time at which the other hosts broadcasts data;
wherein the first adjusting module comprises:
a fourth determining unit, configured to perform delay processing on the current time to obtain a second time when a first time difference between the current time and the first time is smaller than or equal to a preset threshold;
a fifth determining unit, configured to determine a second time difference between the second time and the first time as a time slot of an interval between the other host broadcast data and the target host broadcast data.
6. The apparatus of claim 5, wherein the first determining module comprises:
a first monitoring unit, configured to monitor the target channel to determine a host that broadcasts data in the target channel, where the host includes the target host and the other hosts;
a first determining unit, configured to determine a host that is to broadcast data at a current time as the target host;
a second determination unit configured to determine a host that broadcasts data at a time closest to before the current time as the other host;
a third determination unit configured to determine a host that broadcasts data at a time closest to before the first time as the other host;
a first recording unit, configured to monitor the broadcast of the first data by the target host, and record the first time when the first data is broadcast in the target channel by the other hosts.
7. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 4 when executed.
8. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 4.
CN202010220572.6A 2020-03-25 2020-03-25 Data broadcasting method and device, storage medium and electronic device Active CN111447567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010220572.6A CN111447567B (en) 2020-03-25 2020-03-25 Data broadcasting method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010220572.6A CN111447567B (en) 2020-03-25 2020-03-25 Data broadcasting method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN111447567A CN111447567A (en) 2020-07-24
CN111447567B true CN111447567B (en) 2022-04-29

Family

ID=71655673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010220572.6A Active CN111447567B (en) 2020-03-25 2020-03-25 Data broadcasting method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN111447567B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818632B (en) 2020-09-02 2022-08-30 上海擎朗智能科技有限公司 Method, device, equipment and storage medium for equipment synchronization
CN115052251B (en) * 2021-03-09 2023-08-18 Oppo广东移动通信有限公司 Broadcast information transmission method, apparatus, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101810038A (en) * 2007-09-28 2010-08-18 高通股份有限公司 Method and apparatus for randomisation of periodic channel scans
CN102083135A (en) * 2010-08-20 2011-06-01 大唐移动通信设备有限公司 Method and device for transmitting relay downlink data in long-term evolution advanced (LTE-A) system
CN103079173A (en) * 2012-12-28 2013-05-01 侯荣涛 PTT (Push-To-Talk) collision avoidance method for center-free commanding and dispatching communication system
CN104580407A (en) * 2014-12-24 2015-04-29 南京邮电大学 VANET (vehicular ad hoc network) time slot reservation method based on game theory
CN106131802A (en) * 2016-07-05 2016-11-16 北京小米移动软件有限公司 Data broadcasting method, data broadcaster and electronic equipment
CN110366870A (en) * 2017-02-28 2019-10-22 韩国电子通信研究院 Method for collision avoidance in sychronous wireless communication system
CN110366135A (en) * 2019-07-17 2019-10-22 吉林大学 A kind of channel competition methods and applications in wireless self-organization network based on TDMA

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8305885B2 (en) * 2008-05-08 2012-11-06 At&T Intellectual Property I, L.P. Control of quality of service in overlapping basic service sets in wireless local area networks
CN105933985B (en) * 2016-04-18 2019-02-19 哈尔滨工业大学(威海) Underwater acoustic communication method based on the adaptively selected time slot of distance
CN109842603A (en) * 2017-11-29 2019-06-04 北京通号国铁城市轨道技术有限公司 A kind of method for synchronizing time and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101810038A (en) * 2007-09-28 2010-08-18 高通股份有限公司 Method and apparatus for randomisation of periodic channel scans
CN102083135A (en) * 2010-08-20 2011-06-01 大唐移动通信设备有限公司 Method and device for transmitting relay downlink data in long-term evolution advanced (LTE-A) system
CN103079173A (en) * 2012-12-28 2013-05-01 侯荣涛 PTT (Push-To-Talk) collision avoidance method for center-free commanding and dispatching communication system
CN104580407A (en) * 2014-12-24 2015-04-29 南京邮电大学 VANET (vehicular ad hoc network) time slot reservation method based on game theory
CN106131802A (en) * 2016-07-05 2016-11-16 北京小米移动软件有限公司 Data broadcasting method, data broadcaster and electronic equipment
CN110366870A (en) * 2017-02-28 2019-10-22 韩国电子通信研究院 Method for collision avoidance in sychronous wireless communication system
CN110366135A (en) * 2019-07-17 2019-10-22 吉林大学 A kind of channel competition methods and applications in wireless self-organization network based on TDMA

Also Published As

Publication number Publication date
CN111447567A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
KR102377833B1 (en) Random access response method, apparatus, base station and terminal
CN111447567B (en) Data broadcasting method and device, storage medium and electronic device
US11234288B2 (en) Shared spectrum access for broadcast and bi-directional, packet-switched communications
CN106162874B (en) Downlink information receiving method, device and user equipment
US20230164612A1 (en) Measurement gap configuration request method and apparatus, terminal, and network-side device
EP3793241A1 (en) Method and apparatus for selecting resource
US9094905B2 (en) Method, apparatus and computer program product for triggering the determination of a timing advance for one component carrier based upon another component carrier
RU2545187C1 (en) Method and apparatus for implementing baseband resource pool in lte base station
US20210235401A1 (en) Synchronization signal sending method and communications device
US9491607B2 (en) Wireless scan and advertisement in electronic devices
US11363586B2 (en) Resource configuration method, apparatus, and system
CN104853428A (en) Air interface synchronization method and device, communication network element
CN111465112B (en) Method and device for processing access control signaling
EP3751926A1 (en) Resource configuration method and device, and computer storage medium
US8792463B2 (en) Method for managing a distribution of bandwidth in a communications network, corresponding storage means and slave node
CN114696975B (en) Rate matching method and device
EP3720207A1 (en) Paging message sending method and device and computer storage medium
CN111418252A (en) Random access method and device and computer storage medium
KR20200089299A (en) Method, apparatus, terminal and device for processing partial bandwidth deactivation timer
CN115866737A (en) Method and device for selecting synchronous reference source, storage medium and electronic device
EP3881618B1 (en) Shared spectrum access for broadcast and bi-directional, packet-switched communications
US20210250995A1 (en) Performance-guaranteed channel access control for security alarm and image sensors
CN111008173A (en) Serial communication method, device and system
CN112533281A (en) DRX communication synchronization and start control method, device, equipment and storage medium
EP3749030A1 (en) Resource configuration method and device, and computer storage medium

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