CN112787743B - Time synchronization communication method and device and computer storage medium - Google Patents

Time synchronization communication method and device and computer storage medium Download PDF

Info

Publication number
CN112787743B
CN112787743B CN202110315082.9A CN202110315082A CN112787743B CN 112787743 B CN112787743 B CN 112787743B CN 202110315082 A CN202110315082 A CN 202110315082A CN 112787743 B CN112787743 B CN 112787743B
Authority
CN
China
Prior art keywords
collector
time
time channel
collectors
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110315082.9A
Other languages
Chinese (zh)
Other versions
CN112787743A (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.)
Shenzhen Zks Mobile Iot Tech Co ltd
Original Assignee
Shenzhen Zks Mobile Iot Tech 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 Shenzhen Zks Mobile Iot Tech Co ltd filed Critical Shenzhen Zks Mobile Iot Tech Co ltd
Priority to CN202110315082.9A priority Critical patent/CN112787743B/en
Publication of CN112787743A publication Critical patent/CN112787743A/en
Application granted granted Critical
Publication of CN112787743B publication Critical patent/CN112787743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The application provides a time synchronization communication method, a time synchronization communication device and a computer storage medium. The time synchronization communication method is applied to a gateway and comprises the following steps: acquiring equipment information of a plurality of successfully connected collectors, wherein the equipment information comprises the transmission rate of the collectors; distributing synchronous communication information of each collector by utilizing the transmission rates of the collectors, wherein the synchronous communication information comprises a time channel sequence number of each collector; and sending synchronous communication information to the plurality of collectors so that the plurality of collectors can communicate with the gateway according to the corresponding time channel sequence numbers. By the method, the time channel serial number of each collector is allocated, so that the situation of data blocking is reduced, and data loss is avoided.

Description

Time synchronization communication method and device and computer storage medium
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a time synchronization communication method, apparatus, and computer storage medium.
Background
Wireless communication systems are widely deployed to provide various types of communication content such as voice, video, packet data, messaging, broadcast, and so on. These systems are able to support communication with multiple users by sharing common system resources (e.g., time, frequency, power, and channel resources).
However, some wireless communication systems only have one time channel, and a plurality of users use the same time channel to communicate at the same time, which easily causes data blocking on the time channel, and thus the communication data of the users is lost.
Disclosure of Invention
The application provides a time synchronization communication method, a time synchronization communication device and a computer storage medium.
The application provides a time synchronization communication method, which is applied to a gateway and comprises the following steps:
acquiring equipment information of a plurality of successfully connected collectors, wherein the equipment information comprises the transmission rate of the collectors;
distributing synchronous communication information of each collector by utilizing the transmission rates of the collectors, wherein the synchronous communication information comprises a time channel sequence number of each collector;
and sending the synchronous communication information to the plurality of collectors so that the plurality of collectors can communicate with the gateway according to the corresponding time channel serial numbers.
The time synchronization communication method further comprises the following steps:
and sending the time of the timer to the collectors so that the collectors synchronize time according to the time of the timer before communicating with the gateway.
Wherein the device information includes a synchronization time required for the each collector to synchronize the time of the timer;
the sending the time of the self timer to the plurality of collectors includes:
calculating a plurality of timer times by utilizing the time of the self timer and the synchronous time of each collector;
and respectively sending the timer times to corresponding collectors so as to enable each collector to perform time synchronization according to the timer times.
Wherein the synchronous communication information also comprises a time channel interval between adjacent collectors;
the distributing the synchronous communication information of each collector by using the transmission rates of the plurality of collectors comprises:
calculating the time channel interval by using the transmission rates of the plurality of collectors;
distributing time channel serial numbers of the plurality of collectors according to a preset rule;
and generating the synchronous communication information based on the time channel interval and the time channel sequence number.
The time channel serial numbers of the plurality of collectors are distributed according to a preset rule, and the time channel serial numbers comprise:
acquiring the connection sequence and/or registration sequence of the plurality of collectors;
and allocating a corresponding time channel sequence number to each collector based on the connection sequence and/or the registration sequence.
Before obtaining the device information of the plurality of successfully connected collectors, the method comprises the following steps:
acquiring a connection request sent by a collector in a communication range, wherein the connection request comprises address information and registration information of the collector;
verifying whether the registration information of the collector is legal or not;
if yes, establishing communication connection with the collector.
The application also provides another time synchronization communication method which is applied to a time synchronization wireless network, wherein the time synchronization wireless network at least comprises a gateway, a first collector and a second collector, and the gateway is respectively in communication connection with the first collector and the second collector;
the time synchronization communication method comprises the following steps:
the first collector and the second collector respectively send equipment information to the gateway, wherein the equipment information comprises a collector transmission rate;
the gateway distributes synchronous communication information by utilizing the transmission rate of the first collector and the transmission rate of the second collector, wherein the synchronous communication information comprises a first time communication sequence number of the first collector and a second time channel sequence number of the second collector, and the first time communication sequence number is smaller than the second time communication sequence number;
the gateway sends the synchronous communication information to the first collector and the second collector;
the first collector communicates with the gateway according to the first time channel sequence number;
and after the communication of the first collector is finished, the second collector communicates with the gateway according to the second time channel sequence number.
The application also provides a communication device, which comprises an acquisition module, a distribution module and a communication module; wherein,
the acquisition module is used for acquiring equipment information of a plurality of successfully connected collectors, wherein the equipment information comprises the transmission rate of the collectors;
the distribution module is used for distributing synchronous communication information of each collector by utilizing the transmission rates of the plurality of collectors, wherein the synchronous communication information comprises a time channel serial number of each collector;
the communication module is used for sending the synchronous communication information to the plurality of collectors so that the plurality of collectors can communicate with the gateway according to the corresponding time channel serial numbers.
The present application also provides another communication device comprising a memory and a processor, wherein the memory is coupled to the processor;
wherein the memory is configured to store program data, and the processor is configured to execute the program data to implement the time-synchronized communication method as described above.
The present application also provides a computer storage medium for storing program data which, when executed by a processor, is adapted to carry out a time-synchronized communication method as described above.
The beneficial effects of the application are as follows: the communication device acquires equipment information of a plurality of collectors which are successfully connected, wherein the equipment information comprises the transmission rate of the collectors; distributing synchronous communication information of each collector by utilizing the transmission rates of the collectors, wherein the synchronous communication information comprises a time channel sequence number of each collector; and sending synchronous communication information to the plurality of collectors so that the plurality of collectors can communicate with the gateway according to the corresponding time channel sequence numbers. By the method, the time channel serial number of each collector is allocated, so that the situation of data blocking is reduced, and data loss is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. Wherein:
FIG. 1 is a flow chart of an embodiment of a time synchronization communication method according to the present application;
fig. 2 is a schematic flowchart of step S102 in the time synchronization communication method shown in fig. 1;
FIG. 3 is a flow chart of another embodiment of a time synchronization communication method provided by the present application;
FIG. 4 is a schematic diagram of a communication device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another embodiment of a communication device provided by the present application;
fig. 6 is a schematic structural diagram of an embodiment of a computer storage medium according to the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The time synchronization communication method of the embodiment of the application can be applied to the field of cold chain transportation, and particularly, the gateway and/or the collector mentioned in the time synchronization communication method can be installed in a cold chain environment. The collector can be a temperature and humidity detection device specifically, and the temperature and humidity detection device can be placed in a cold-chain environment to acquire temperature information and/or humidity information of an object to be detected in the cold-chain environment. The collector of the embodiment of the application establishes wireless channel connection with the wireless gateway in the preset communication range, wherein one wireless gateway can be in communication connection with a plurality of collectors provided by the application so as to realize one-to-many communication.
The communication module adopted by the wireless gateway and/or the collector adopts a four-code-in-one technology (bar code, two-dimensional code and RFID, interbow), 2G transmission is improved to 4G transmission, and NB-IOT transmission can be used.
In the cold chain process, the carrier storing the object to be measured is generally a refrigerating apparatus or a cold chain case, etc. The refrigerating device can be a refrigerator, a freezer, a refrigerating chamber or the like, and is mainly used for storing medicines, vaccines or other articles needing cold chain transportation. For example, a collector may be installed inside or outside the refrigerator for collecting temperature information and/or humidity information of the inside or outside environment of the refrigerator. After the temperature information and/or the humidity information of the internal environment or the external environment of the refrigeration equipment are collected by the collector, the temperature information and/or the humidity information is sent to the connected wireless gateway, so that the temperature information and/or the humidity information is uploaded to the remote server through the wireless gateway.
Based on the basic principle of the cold chain transportation, the application further provides a time synchronization communication method, and referring to fig. 1 specifically, fig. 1 is a schematic flow chart of an embodiment of the time synchronization communication method provided by the application.
The time synchronization communication method of the application is applied to a communication device, wherein the communication device of the application can be a server, terminal equipment or a system formed by the cooperation of the server and the terminal equipment. Accordingly, each part included in the electronic device, for example, each unit, sub-unit, module, and sub-module, may be all disposed in the server, may be all disposed in the terminal device, or may be disposed in the server and the terminal device, respectively.
Further, the server may be hardware or software. When the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules, for example, software or software modules for providing a distributed server, or may be implemented as a single software or software module, which is not specifically limited herein. In some possible implementations, the time-synchronized communication method of the embodiments of the present application may be implemented by way of a processor invoking computer readable instructions stored in a memory. Specifically, the communication device of the embodiment of the present application may be a gateway, such as a wireless gateway.
As shown in fig. 1, the time synchronization communication method in the embodiment of the present application specifically includes the following steps:
step S101: and acquiring equipment information of the successfully connected collectors, wherein the equipment information comprises the transmission rate of the collectors.
After the gateway is started, searching the collectors in the communication range, and broadcasting the equipment information of the gateway to the collectors in the communication range. The collector that obtains the device information of the gateway may send a connection request to the gateway requesting to establish a wireless communication connection with the gateway.
Specifically, the gateway analyzes the collector address information and registration information in the connection request sent by the collector. The address information of the collector represents the device address of the collector, the device address is a series of numbers for identifying the identity of the device, and in a communication system, the device address is used for uniquely identifying a physical device, such as a MAC address in a TCP/IP network, a Bluetooth address in traditional Bluetooth, and the like.
The registration information of the collector comprises information such as login account passwords, use rights and the like, and the gateway needs to verify whether the registration information of the collector is legal or not. If the registration information is legal, the collector is in an available state, and the gateway establishes wireless communication connection with the collector; if the registration information is illegal, the collector is in an unavailable state, and the gateway excludes the collector from the connection list.
After the gateway and the plurality of collectors are successfully connected in a communication way, the gateway further acquires equipment information of the plurality of collectors, wherein the equipment information at least comprises the transmission rate of the collectors.
Step S102: and distributing synchronous communication information of each collector by utilizing the transmission rates of the plurality of collectors, wherein the synchronous communication information comprises a time channel sequence number of each collector.
The gateway distributes synchronous communication information of each collector according to the transmission rates of the collectors, wherein the synchronous communication information at least comprises a time channel sequence number of each collector. The gateway of the embodiment of the application is provided with a time channel for data communication, and a plurality of collectors need to perform data communication through the time channel. If multiple collectors use the time channel to perform data communication at the same time, data blocking may be caused, so that data loss of part or even all of the collectors is caused, and the communication effect is affected.
Therefore, the gateway of the embodiment of the application allocates the time channel sequence number to each collector based on the transmission rate of each collector, wherein the time channel sequence number of each collector represents the sequence of using the time channels by the collector, and the smaller the time channel sequence number is, the higher the priority of using the time channels by the collector is. After the collector with the previous time channel sequence number uses the time channel, the collector with the next time channel sequence number can use the time channel to transmit data. By the mode, only one collector can be guaranteed to transmit data at the same time, and the situation of data blockage is effectively avoided.
The method for distributing synchronous communication information is various, and the embodiment of the application can distribute the time channel serial numbers of the collectors according to the transmission rate as a standard, wherein the distribution standard can be set as that the time channel serial numbers distributed by the collectors with higher transmission rate are smaller; synchronous communications may also be distributed according to other standards.
With continued reference to fig. 2, fig. 2 is a schematic flowchart of step S102 in the time synchronization communication method shown in fig. 1. As shown in fig. 2, step S102 may specifically include the following steps:
step S201: the time channel interval is calculated using the transmission rates of the plurality of collectors.
The gateway can set the size of a data packet of each data transmission of each collector in advance, and then acquire the transmission rate of each collector in real time, so as to calculate the maximum transmission time of the data packet successfully transmitted by the collector, and set the maximum transmission time as the time channel interval between the data packet and the next collector. By setting the time channel interval between adjacent collectors with reference to the maximum transmission time of each collector, it can be included that each collector can successfully transmit the collected data packets within the corresponding time channel interval.
It should be noted that the time channel interval in the embodiment of the present application should be dynamic data, which depends on the real-time transmission rate of each collector.
Step S202: and distributing the time channel serial numbers of the plurality of collectors according to a preset rule.
The gateway may allocate time channel serial numbers of the collectors according to the connection sequence and/or registration sequence of the plurality of collectors.
Specifically, the connection sequence may be a time sequence of successfully establishing communication connection between the gateway and the plurality of collectors, and the registration sequence may be a time sequence of successfully registering time channels of the gateway by the plurality of collectors. In addition, the gateway can also calculate the distance between the gateway and the collector according to the address information of the collector, and then the time channel serial numbers of the collector are distributed according to the distance.
For example, when the connection sequence is used as the allocation standard, the gateway allocates the time channel numbers of the collectors one by one according to the connection sequence of successful connection, that is, the earlier the time of successful connection, the smaller the allocated time channel numbers. It should be noted that, when the gateway in the embodiment of the present application allocates the time channel sequence number, one or more combinations of the above allocation criteria may be adopted, and no combination manner is listed here.
Step S203: synchronous communication information is generated based on the time channel interval and the time channel sequence number.
The gateway encapsulates the time channel interval and the time channel sequence number to generate synchronous communication information, so that the synchronous communication information is broadcast to all collectors.
Step S103: and sending the synchronous communication information to a plurality of collectors so that the collectors can communicate with the gateway according to the corresponding time channel serial numbers.
The plurality of collectors respectively use the time channels and the gateway to transmit data one by one according to the sequence and the time channel intervals according to the corresponding time channel sequence numbers so as to upload the collected data to the gateway.
Further, since the gateway and the collector are both configured with their own timers, if the timers between the gateway and the collector cannot be synchronized, the previous collector may not finish data transmission yet, and the next collector starts data transmission. Therefore, the embodiment of the application also provides a method for carrying out time synchronization by adopting the gateway timer, and the time synchronization process is specifically as follows:
the gateway may also obtain device information including a synchronization time required by the collector to synchronize its own timer with other timers, where the synchronization time depends on the operational capability of the collector. The gateway calculates the corresponding timer time of each collector by using the time of the own timer and the synchronous time of each collector. And then, the gateway respectively sends the timer time corresponding to each collector to the corresponding collector so that the corresponding collector can update the own timer according to the timer time, thereby synchronizing the timers of the gateway and all the collectors and improving the accuracy of the time synchronization communication method.
After all timers are successfully synchronized, the collectors can perform data communication with the gateway one by one according to the sequence numbers of the time channels.
In the embodiment of the application, a communication device, namely a gateway, acquires equipment information of a plurality of collectors which are successfully connected, wherein the equipment information comprises the transmission rate of the collectors; distributing synchronous communication information of each collector by utilizing the transmission rates of the collectors, wherein the synchronous communication information comprises a time channel sequence number of each collector; and sending synchronous communication information to the plurality of collectors so that the plurality of collectors can communicate with the gateway according to the corresponding time channel sequence numbers. By the method, the time channel serial number of each collector is allocated, so that the situation of data blocking is reduced, and data loss is avoided.
With continued reference to fig. 3, fig. 3 is a flowchart of another embodiment of a time synchronization communication method according to the present application. The time synchronization communication method of the embodiment of the application is applied to a time synchronization wireless network, wherein the time synchronization wireless network at least comprises a gateway, a first collector and a second collector, and the gateway is respectively connected with the first collector and the second collector in a wireless communication way.
It should be noted that, the gateway in the embodiment of the present application may be the communication device described in the foregoing embodiment, and the first collector and the second collector may be the collectors described in the foregoing embodiment, and the number of the first collector and the second collector is not limited herein.
As shown in fig. 3, the time synchronization communication method according to the embodiment of the present application includes the following steps:
step S301: the first collector and the second collector respectively send equipment information to the gateway, wherein the equipment information comprises a collector transmission rate.
Step S302: the gateway distributes synchronous communication information by utilizing the transmission rate of the first collector and the transmission rate of the second collector, wherein the synchronous communication information comprises a first time communication sequence number of the first collector and a second time channel sequence number of the second collector, and the first time communication sequence number is smaller than the second time communication sequence number.
Step S303: the gateway sends the synchronous communication information to the first collector and the second collector.
Step S304: the first collector communicates with the gateway according to the first time channel sequence number.
Step S305: and after the communication of the first collector is finished, the second collector communicates with the gateway according to the second time channel serial number.
The specific technical content of step S301 to step S305 is described in detail in the above embodiments, and is not described herein.
It will be appreciated by those skilled in the art that in the above-described method of the specific embodiments, the written order of steps is not meant to imply a strict order of execution but rather should be construed according to the function and possibly inherent logic of the steps.
In order to implement the time synchronization communication method of the above embodiment, the present application provides a communication device, and specifically please refer to fig. 4, fig. 4 is a schematic structural diagram of an embodiment of the communication device provided by the present application.
As shown in fig. 4, the communication apparatus 400 includes an acquisition module 41, an allocation module 42, and a communication module 43. Wherein,
and the acquiring module 41 is configured to acquire device information of a plurality of successfully connected collectors, where the device information includes a collector transmission rate.
And the allocation module 42 is configured to allocate synchronous communication information of each collector by using transmission rates of the plurality of collectors, where the synchronous communication information includes a time channel serial number of each collector.
And the communication module 43 is configured to send the synchronous communication information to the plurality of collectors, so that the plurality of collectors communicate with the gateway according to the corresponding time channel serial numbers of the collectors.
In order to implement the time synchronization communication method of the above embodiment, the present application further provides another communication device, and referring specifically to fig. 5, fig. 5 is a schematic structural diagram of another embodiment of the communication device provided by the present application.
The communication apparatus 500 of the embodiment of the present application includes a processor 51, a memory 52, an input-output device 53, and a bus 54.
The processor 51, the memory 52 and the input/output device 53 are respectively connected to the bus 54, and the memory 52 stores program data, and the processor 51 is configured to execute the program data to implement the time synchronous communication method described in the above embodiment.
In the present embodiment, the processor 51 may also be referred to as a CPU (Central Processing Unit ). The processor 51 may be an integrated circuit chip with signal processing capabilities. Processor 51 may also be a general purpose processor, a digital signal processor (DSP, digital Signal Process), an application specific integrated circuit (ASIC, application SpecificIntegrated Circuit), a field programmable gate array (FPGA, field Programmable Gate Array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The general purpose processor may be a microprocessor or the processor 51 may be any conventional processor or the like.
The present application also provides a computer storage medium 600 for storing program data 61, as shown in fig. 6, which program data 61, when executed by a processor, is configured to implement the time-synchronized communication method according to the above-described embodiments.
The present application also provides a computer program product, wherein the computer program product comprises a computer program operable to cause a computer to perform the time-synchronized communication method according to the embodiments of the present application. The computer program product may be a software installation package.
The time synchronization communication method according to the above embodiment of the present application may be stored in an apparatus, for example, a computer readable storage medium, when implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing description is only of embodiments of the present application, and is not intended to limit the scope of the application, and all equivalent structures or equivalent processes using the descriptions and the drawings of the present application or directly or indirectly applied to other related technical fields are included in the scope of the present application.

Claims (8)

1. A time synchronization communication method, wherein the time synchronization communication method is applied to a wireless gateway for cold chain transportation, the time synchronization communication method comprising: acquiring equipment information of a plurality of successfully connected collectors, wherein the equipment information comprises transmission rates of the plurality of collectors; distributing synchronous communication information of each collector by utilizing the transmission rate of a plurality of collectors, wherein the synchronous communication information comprises a time channel sequence number of each collector and a time channel interval between adjacent collectors, the time channel sequence number of each collector represents the sequence of using the time channel of the collector, and the smaller the time channel sequence number is, the higher the priority of using the time channel of the collector is; after the time channel is used by the collector with the previous time channel sequence number, the collector with the next time channel sequence number can use the time channel to transmit data, and the smaller the time channel sequence number allocated by the collector with higher transmission rate is, the synchronous communication information allocated to each collector by using the transmission rates of a plurality of collectors comprises: calculating the time channel interval by using the transmission rates of a plurality of collectors, wherein the wireless gateway sets the size of a data packet of each data transmitted by each collector in advance, and then acquires the transmission rate of each collector in real time, so as to calculate the maximum transmission time of the data packet successfully transmitted by the collector, and the maximum transmission time is set as the time channel interval with the next collector; distributing time channel serial numbers of a plurality of collectors according to a preset rule; generating the synchronous communication information based on the time channel interval and the time channel sequence number; and sending the synchronous communication information to the plurality of collectors so that the plurality of collectors communicate with the wireless gateway according to the corresponding time channel serial numbers, wherein the collectors are arranged inside or outside the refrigeration equipment and are used for collecting temperature information and/or humidity information of the internal environment or the external environment of the refrigeration equipment and sending the temperature information and/or the humidity information to the connected wireless gateway so as to upload the temperature information and/or the humidity information to a remote server through the wireless gateway.
2. The time-synchronized communication method of claim 1, further comprising: and sending the time of the timer to the plurality of collectors so that the plurality of collectors perform time synchronization according to the time of the timer before communicating with the wireless gateway.
3. The time synchronization communication method according to claim 2, wherein the device information includes a synchronization time required for each collector to synchronize the time of the timer; the sending the time of the self timer to the plurality of collectors includes: calculating a plurality of timer times by using the time of the self timer and the synchronous time of each collector; and respectively sending the timer times to the corresponding collectors so as to enable each collector to perform time synchronization according to the timer times.
4. The method for time-synchronized communication according to claim 1, wherein before the device information of the plurality of successfully connected collectors is acquired, comprising: acquiring a connection request sent by a collector in a communication range, wherein the connection request comprises address information and registration information of the collector; verifying whether the registration information of the collector is legal or not; if yes, establishing communication connection with the collector.
5. The time synchronization communication method is characterized by being applied to a time synchronization wireless network for cold chain transportation, wherein the time synchronization wireless network at least comprises a wireless gateway, a first collector and a second collector, and the wireless gateway is respectively in communication connection with the first collector and the second collector; the time synchronization communication method comprises the following steps: the first collector and the second collector respectively send equipment information to the wireless gateway, wherein the equipment information comprises the transmission rate of the first collector and the transmission rate of the second collector; the wireless gateway distributes synchronous communication information by utilizing the transmission rate of the first collector and the transmission rate of the second collector, wherein the synchronous communication information comprises a first time channel sequence number of the first collector, a second time channel sequence number of the second collector and a time channel interval between the two collectors, and the first time channel sequence number is smaller than the second time channel sequence number; the wireless gateway sends the synchronous communication information to the first collector and the second collector; the first collector communicates with the wireless gateway according to the first time channel sequence number; after the communication of the first collector is finished, the second collector communicates with the wireless gateway according to the second time channel serial number; the time channel serial numbers of the first collector and the second collector represent the sequence of using the time channels by the first collector and the second collector, and the smaller the time channel serial numbers are, the higher the priority of using the time channels is; after the time channel is used by the collector with the previous time channel sequence number in the first collector and the second collector, the collector with the next time channel sequence number can use the time channel to transmit data, the smaller the time channel sequence number allocated by the collector with the higher transmission rate is, and the wireless gateway allocates synchronous communication information by using the transmission rate of the first collector and the transmission rate of the second collector comprises the following steps: calculating the time channel interval by using the transmission rates of the first collector and the second collector, wherein the wireless gateway sets the sizes of data packets of the first collector and the second collector for transmitting data each time in advance, and then acquires the transmission rates of the first collector and the second collector in real time, so as to calculate the maximum transmission time of the data packets successfully transmitted by the first collector and the second collector, and set the maximum transmission time as the time channel interval between the first collector and the second collector; distributing time channel serial numbers of the first collector and the second collector according to a preset rule; generating the synchronous communication information based on the time channel interval and the time channel sequence number; the first collector and the second collector are arranged inside or outside the refrigeration equipment, and are used for collecting temperature information and/or humidity information of the internal environment or the external environment of the refrigeration equipment and sending the temperature information and/or the humidity information to the connected wireless gateway so as to upload the temperature information and/or the humidity information to the remote server through the wireless gateway.
6. The communication device is characterized by being applied to a wireless gateway for cold chain transportation and comprising an acquisition module, an allocation module and a communication module; the acquisition module is used for acquiring equipment information of a plurality of successfully connected collectors, wherein the equipment information comprises transmission rates of the collectors; the distribution module is used for distributing synchronous communication information of each collector by utilizing the transmission rates of the collectors, wherein the synchronous communication information comprises a time channel sequence number of each collector and a time channel interval between adjacent collectors; the communication module is used for sending the synchronous communication information to the plurality of collectors so that the plurality of collectors can communicate with the wireless gateway according to the corresponding time channel serial numbers, wherein the time channel serial number of each collector represents the sequence of the use time channel of the collector, and the smaller the time channel serial number is, the higher the priority of the use time channel of the collector is; after the collector with the previous time channel sequence number uses the time channel, the collector with the next time channel sequence number can use the time channel to transmit data, and the collector with higher transmission rate distributes smaller time channel sequence number; distributing the synchronous communication information of each collector by using the transmission rates of the plurality of collectors includes: calculating the time channel interval by using the transmission rates of a plurality of collectors, wherein the wireless gateway sets the size of a data packet of each data transmitted by each collector in advance, and then acquires the transmission rate of each collector in real time, so as to calculate the maximum transmission time of the data packet successfully transmitted by the collector, and the maximum transmission time is set as the time channel interval with the next collector; distributing time channel serial numbers of the plurality of collectors according to a preset rule; generating the synchronous communication information based on the time channel interval and the time channel sequence number; the acquisition device is arranged inside or outside the refrigeration equipment and is used for acquiring temperature information and/or humidity information of the internal environment or the external environment of the refrigeration equipment and sending the temperature information and/or the humidity information to the connected wireless gateway so as to upload the temperature information and/or the humidity information to the remote server through the wireless gateway.
7. A communication device comprising a memory and a processor, wherein the memory is coupled to the processor; wherein the memory is for storing program data and the processor is for executing the program data to implement the time synchronized communication method of any one of claims 1-4.
8. A computer storage medium for storing program data which, when executed by a processor, is adapted to carry out the time-synchronized communication method of any one of claims 1 to 4.
CN202110315082.9A 2021-03-24 2021-03-24 Time synchronization communication method and device and computer storage medium Active CN112787743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110315082.9A CN112787743B (en) 2021-03-24 2021-03-24 Time synchronization communication method and device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110315082.9A CN112787743B (en) 2021-03-24 2021-03-24 Time synchronization communication method and device and computer storage medium

Publications (2)

Publication Number Publication Date
CN112787743A CN112787743A (en) 2021-05-11
CN112787743B true CN112787743B (en) 2023-12-05

Family

ID=75762882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110315082.9A Active CN112787743B (en) 2021-03-24 2021-03-24 Time synchronization communication method and device and computer storage medium

Country Status (1)

Country Link
CN (1) CN112787743B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109429347A (en) * 2017-09-01 2019-03-05 杭州海康威视数字技术股份有限公司 Slot allocation method and device
WO2020031113A1 (en) * 2018-08-08 2020-02-13 Nokia Technologies Oy Time synchronization enhancement for a group of ue
CN111510350A (en) * 2020-04-10 2020-08-07 广州致远电子有限公司 Data time-sharing acquisition method and device based on multiple channels
CN111836209A (en) * 2019-04-23 2020-10-27 深圳长城开发科技股份有限公司 Method and system for improving LoRa single-channel data transmission efficiency
CN111983948A (en) * 2020-07-07 2020-11-24 宝能(广州)汽车研究院有限公司 Multi-sensor data synchronization method and equipment thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109429347A (en) * 2017-09-01 2019-03-05 杭州海康威视数字技术股份有限公司 Slot allocation method and device
WO2020031113A1 (en) * 2018-08-08 2020-02-13 Nokia Technologies Oy Time synchronization enhancement for a group of ue
CN111836209A (en) * 2019-04-23 2020-10-27 深圳长城开发科技股份有限公司 Method and system for improving LoRa single-channel data transmission efficiency
CN111510350A (en) * 2020-04-10 2020-08-07 广州致远电子有限公司 Data time-sharing acquisition method and device based on multiple channels
CN111983948A (en) * 2020-07-07 2020-11-24 宝能(广州)汽车研究院有限公司 Multi-sensor data synchronization method and equipment thereof

Also Published As

Publication number Publication date
CN112787743A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
Madueno et al. Reliable and efficient access for alarm-initiated and regular M2M traffic in IEEE 802.11 ah systems
US9854549B1 (en) Methods and apparatus for synchronizing beacon transmissions in a neighbor awareness network (NAN)
US8351954B2 (en) Personal independent basic service set cluster resource sharing
US20160192273A1 (en) System and method for joining neighbor awareness networking hidden clusters
CN111182471A (en) Secure multicast/broadcast ranging
GB2490963A (en) Terminals in CSMA-CA group share seeds for pseudo-random back-off generation and maintain table of all group members' waiting times
CN107925894B (en) System and method for channel security
JP2017518698A (en) MTC event detection and signaling
CN112787743B (en) Time synchronization communication method and device and computer storage medium
KR20180059386A (en) Delegation server for connecting a plurality of lpwa devices to common cloud
US20230128414A1 (en) Method and device for uwb communication
US20220400366A1 (en) Method and device for providing uwb service
WO2020238738A1 (en) Beacon frame communication and base station synchronization methods and apparatuses in communication network
WO2018054372A1 (en) Connection of mobile devices to networks
US8792463B2 (en) Method for managing a distribution of bandwidth in a communications network, corresponding storage means and slave node
KR20220167164A (en) Method and apparatus for performing uwb (ultra wide band) ranging
CN111343611B (en) Information synchronization method and device
CN113068261B (en) Time channel preemption method and device and computer storage medium
CN112770270A (en) Data transmission method, device, system and storage medium based on channel reservation
WO2019141013A1 (en) Random access method, apparatus, device, chip, storage medium, and program product
CN108633082B (en) Uplink data scheduling request method and device
CN112600702B (en) Data transmission method, device, system and storage medium based on competition mechanism
CN111050401B (en) Communication method and device of terminal and base station
CN112600730B (en) Data transmission method, device, system and storage medium based on channel detection
US20230053510A1 (en) Method and a system for accessing a wireless channel in a dense enviroment

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