Communication method, device, server and storage medium

By performing time alignment adjustment and operating frequency determination methods in the communication system of multiple pairs of communication parties, the problem of low frequency hopping communication reliability caused by randomly generated carrier frequency is solved, time synchronization and frequency differences are achieved, and the reliability of communication is improved.

CN116260483BActive Publication Date: 2025-04-01SHENZHEN TONGCHUANG COMM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310143155.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2025-04-01
Estimated Expiration
2043-02-16

AI Technical Summary

Technical Problem

In the communication system of multiple pairs of communication parties, the randomly generated carrier frequency can easily lead to low reliability of frequency hopping communication, especially when the number of communication parties increases, the probability of carrier frequency collision also increases.

Method used

By receiving the time information of the second communication terminal at the first communication terminal and performing time alignment adjustments, determining the operating frequency, and controlling the first communication terminal and its communication pair to communicate at the operating frequency, thereby avoiding carrier frequency collision.

Benefits of technology

Time synchronization between the first communication terminal and the second communication terminal is realized, ensuring that the operating frequency is different at the same time, avoiding carrier frequency collisions, and improving the reliability of frequency hopping communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116260483B_ABST
    Figure CN116260483B_ABST
Patent Text Reader

Abstract

The present application is applicable to the field of computer technology, and provides a communication method, device, server and storage medium, wherein the method includes: receiving time information broadcast by the second communication terminal; performing time alignment adjustment on the first communication terminal according to the time information of the first communication terminal and the time information of the second communication terminal; determining the working frequency of the first communication terminal according to the time information of the first communication terminal after the time alignment adjustment and the frequency allocation description information corresponding to the first communication terminal, and controlling the first communication terminal and the communication counterpart of the first communication terminal to communicate at the working frequency. In the present application, time synchronization between the first communication terminal and the second communication terminal can be achieved through time alignment adjustment, so that the working frequency of the first communication terminal is different from the working frequencies of other communication terminals at the same time, avoiding collision of the working frequencies adopted by each communication terminal, and improving the reliability of frequency hopping communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and in particular, relates to communication methods, devices, servers and storage media. Background Art

[0002] Frequency hopping communication refers to a communication method in which the carrier frequency of the signals transmitted by the communicating parties changes discretely according to a predetermined rule. In frequency hopping communication, a frequency hopping pattern is usually used to intuitively display the regularity of the carrier frequency of the signals transmitted by the communicating parties. The communicating parties use the corresponding carrier frequency in the frequency hopping pattern to communicate, ensuring that the carrier frequency used by the communicating parties has a regular pattern but is not easily discovered by other devices.

[0003] In the related art, when a communication system includes multiple communication parties, each communication party usually uses a randomly generated carrier frequency for communication. In this communication method, the carrier frequency of each communication party is randomly generated. When the number of communication parties in the communication system increases, the probability of collision between the carrier frequencies used by each communication party also increases, resulting in low reliability of frequency hopping communication. Summary of the invention

[0004] The embodiments of the present application provide a communication method, device, server and storage medium, which can solve the problem of low reliability of frequency hopping communication in related technologies.

[0005] A first aspect of an embodiment of the present application provides a communication method, including:

[0006] In the broadcast receiving time slot of the first communication terminal, receiving the time information of the second communication terminal broadcasted by the second communication terminal;

[0007] Performing time alignment adjustment on the first communication terminal according to the time information of the first communication terminal and the time information of the second communication terminal;

[0008] According to the time information of the first communication terminal after time alignment adjustment and the frequency allocation description information corresponding to the first communication terminal, the working frequency of the first communication terminal is determined, and the first communication terminal and the communication partner of the first communication terminal are controlled to communicate at the working frequency.

[0009] In some embodiments, the first communication end controls the communication peer of the first communication end to communicate at the working frequency in the following manner:

[0010] The aligned and adjusted time information is sent to the communication peer of the first communication end, and the aligned and adjusted time information is used to trigger the communication peer of the first communication end to perform time calibration based on the aligned and adjusted time information.

[0011] In some embodiments, the communication peer of the first communication end performs time calibration based on the aligned and adjusted time information, including:

[0012] The communication counterpart of the first communication terminal determines the target time according to the time information after the alignment adjustment, the preset receiving delay and the preset sending delay, and switches the time of the communication counterpart of the first communication terminal to the target time.

[0013] In some embodiments, the communication peer of the first communication end performs time calibration based on the aligned and adjusted time information, including:

[0014] The communication partner of the first communication terminal determines the target time according to the time information after alignment adjustment, the information transmission delay between the first communication terminal and the communication partner of the first communication terminal, the preset receiving delay, and the preset sending delay, and switches the time of the communication partner of the first communication terminal to the target time.

[0015] In some embodiments, performing time alignment adjustment on the first communication end according to the time information of the first communication end and the time information of the second communication end includes:

[0016] A target time difference between the first communication terminal and the second communication terminal is determined according to the time information of the first communication terminal and the time information of the second communication terminal, and a time alignment adjustment is performed on the first communication terminal according to the target time difference.

[0017] In some embodiments, determining a target time difference between a first communication end and a second communication end includes:

[0018] If there is one second communication end, the time difference between the first communication end and the second communication end is determined as the target time difference;

[0019] If there are multiple second communication terminals, the target time difference is determined according to the time differences between the first communication terminal and each of the second communication terminals.

[0020] In some embodiments, after controlling the first communication terminal and the communication peer of the first communication terminal to communicate at the working frequency, the method further includes:

[0021] When a first communication end receives target communication request information sent by the communication partner of the first communication end for indicating communication with a target device, the first communication end sends the target communication request information to the second communication end corresponding to the target device in the broadcast sending time slot of the first communication end, wherein the target communication request information is used to trigger the second communication end to send the target communication request information to the target device in the data sending time slot of the second communication end.

[0022] A second aspect of an embodiment of the present application provides a communication device, including:

[0023] An information receiving unit, configured to receive time information of a second communication terminal broadcasted by a second communication terminal in a broadcast receiving time slot of the first communication terminal;

[0024] A time alignment unit, configured to perform time alignment adjustment on the first communication terminal according to the time information of the first communication terminal and the time information of the second communication terminal;

[0025] The frequency determination unit is used to determine the working frequency of the first communication terminal according to the time information of the first communication terminal after time alignment adjustment and the frequency allocation description information corresponding to the first communication terminal, and control the first communication terminal and the communication partner of the first communication terminal to communicate at the working frequency.

[0026] In some embodiments, in the frequency determination unit, the first communication end controls the communication peer of the first communication end to communicate at the working frequency in the following manner:

[0027] The aligned and adjusted time information is sent to the communication peer of the first communication end, and the aligned and adjusted time information is used to trigger the communication peer of the first communication end to perform time calibration based on the aligned and adjusted time information.

[0028] In some embodiments, in the frequency determination unit, the communication peer of the first communication end performs time calibration based on the time information after the alignment adjustment, including:

[0029] The communication counterpart of the first communication terminal determines the target time according to the time information after the alignment adjustment, the preset receiving delay and the preset sending delay, and switches the time of the communication counterpart of the first communication terminal to the target time.

[0030] In some embodiments, in the frequency determination unit, the communication peer of the first communication end performs time calibration based on the time information after the alignment adjustment, including:

[0031] The communication partner of the first communication terminal determines the target time according to the time information after alignment adjustment, the information transmission delay between the first communication terminal and the communication partner of the first communication terminal, the preset receiving delay, and the preset sending delay, and switches the time of the communication partner of the first communication terminal to the target time.

[0032] In some embodiments, the time alignment unit is specifically used to: determine the target time difference between the first communication terminal and the second communication terminal based on the time information of the first communication terminal and the time information of the second communication terminal, and perform time alignment adjustment on the first communication terminal based on the target time difference.

[0033] In some embodiments, the time alignment unit includes a first determination module and a second determination module.

[0034] A first determining module, configured to determine the time difference between the first communication terminal and the second communication terminal as a target time difference if there is one second communication terminal;

[0035] The second determining module is used to determine the target time difference according to the time differences between the first communication terminal and each of the second communication terminals if there are multiple second communication terminals.

[0036] In some embodiments, the frequency determination unit is specifically used to: when a first communication end receives target communication request information sent by a communication peer of the first communication end to indicate communication with a target device, the target communication request information is sent to a second communication end corresponding to the target device in a broadcast transmission time slot of the first communication end, wherein the target communication request information is used to trigger the second communication end to send the target communication request information to the target device in a data transmission time slot of the second communication end.

[0037] A third aspect of an embodiment of the present application provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements each step of the communication method provided in the first aspect when executing the computer program.

[0038] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, each step of the communication method provided in the first aspect is implemented.

[0039] The implementation of the communication method, device, server and storage medium provided in the embodiments of the present application has the following beneficial effects: through time alignment adjustment, time synchronization between the first communication terminal and the second communication terminal can be achieved, so that the working frequency of the first communication terminal is different from the working frequencies of other communication terminals at the same time, avoiding collisions between the working frequencies used by each communication terminal, and improving the reliability of frequency hopping communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 is a flow chart of an implementation of a communication method provided in an embodiment of the present application;

[0042] Figure 2 is a schematic diagram of a communication system frame structure provided by an embodiment of the present application;

[0043] Figure 3 It is a schematic diagram of a scenario of a broadcast transmission time slot of each communication terminal in a communication system provided by an embodiment of the present application;

[0044] Figure 4is a schematic diagram of a frequency hopping reference pattern provided in an embodiment of the present application;

[0045] Figure 5a is a schematic diagram of a frequency hopping reference pattern provided by another embodiment of the present application;

[0046] Figure 5b is a schematic diagram of a frequency hopping reference pattern of a communication terminal provided by an embodiment of the present application;

[0047] Figure 5c is a schematic diagram of a frequency hopping reference pattern of another communication terminal provided by an embodiment of the present application;

[0048] Figure 5d is a schematic diagram of a frequency hopping reference pattern of another communication terminal provided by an embodiment of the present application;

[0049] Figure 6 is a flowchart for implementing the determination of the target time difference provided by an embodiment of the present application;

[0050] Figure 7 is a schematic diagram of the connection of various communication devices in a communication system provided by an embodiment of the present application;

[0051] Figure 8 is a structural block diagram of a communication device provided by an embodiment of the present application;

[0052] Fig. 9 It is a structural block diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0054] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0055] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0056] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0057] In order to illustrate the technical solution of the present application, the following embodiments are used for illustration.

[0058] See also Figure 1 , Figure 1 It is a flow chart of an implementation of a communication method provided in an embodiment of the present application, including:

[0059] Step 101: receiving time information of a second communication terminal broadcasted by a second communication terminal in a broadcast reception time slot of a first communication terminal.

[0060] The first communication terminal is usually any communication terminal in the communication system. The second communication terminal is usually any communication terminal in the communication system except the first communication terminal. The communication terminal is usually a control terminal device in the communication system. For example, a mobile phone that controls the movement of a drone is a control terminal device, that is, a communication terminal. In practice, there can be multiple second communication terminals.

[0061] Among them, the above-mentioned broadcast receiving time slot is usually a time slot for receiving broadcast information. In practice, a communication system may include multiple nodes, and each node corresponds to a group of communication terminals and communication peers of the communication terminals that communicate with each other. Each communication terminal can communicate with the communication peer or other communication terminals in the communication system through a communication frame. A communication frame is usually a structure for transmitting data on a communication channel. In practical applications, a communication frame in a communication system usually transmits data on a communication channel in the form of a multiframe, and each multiframe may include multiple communication frames. A communication terminal usually communicates with other communication terminals through a broadcast receiving time slot or a broadcast sending time slot in a communication frame.

[0062] See also Figure 2 , Figure 2 Schematic diagram of a communication system frame structure provided by an embodiment of the present application. Figure 2 As shown, in the communication system, each multiframe can include 20 communication frames, namely frame 1, frame 2, frame 3, ..., frame 19 and frame 20. Each node corresponds to the two communicating parties in the communication system, that is, the communication end and its communication counterpart. Node 1 corresponds to communication end A1 and its communication counterpart B1, node 2 corresponds to communication end A2 and its communication counterpart B2, node 3 corresponds to communication end A3 and its communication counterpart B3, ..., node 20 corresponds to communication end A20 and its communication counterpart B20. In each communication frame, the time slots corresponding to each node are different. For node 1, the time slots of frame 3 are A1B1, A1A*, B1A1, ..., B1A1, wherein the A1B1 time slot is the time slot in which communication end A1 sends data to communication counterpart B1, and communication end A1 can send information to communication counterpart B1 in this time slot. The A1A* time slot is the broadcast transmission time slot of communication end A1, and communication end A1 can broadcast information to other communication ends A* in the communication system in this time slot. The B1A1 time slot is a time slot in which the communication peer B1 sends data to the communication peer A1. The communication peer B1 can send information to the communication peer A1 in this time slot.

[0063] Here, for all nodes in the system, during the broadcast transmission time slot of the communication end corresponding to one of the nodes, only the communication end corresponding to the node is in the broadcast transmission state, broadcasting information to other communication ends in the communication system, and other communication ends in the communication system are in the broadcast reception state, receiving the broadcast information sent by the communication end corresponding to the node. Figure 3 , Figure 3 1 is a schematic diagram of a broadcast transmission time slot of each communication terminal in a communication system provided by an embodiment of the present application. Figure 3As shown, in the communication system, each node corresponds to a broadcast transmission time slot, time slot 1 is the broadcast transmission time slot of node 1, the communication end corresponding to node 1 is in the broadcast transmission state, broadcasting information to other communication ends in the communication system, and the communication ends corresponding to nodes 2, node 3, ..., and node N in the communication system are all in the broadcast receiving state, synchronously receiving the broadcast information sent by the communication end corresponding to node 1. Time slot 2 is the broadcast transmission time slot of node 2, the communication end corresponding to node 2 is in the broadcast transmission state, broadcasting information to other communication ends in the communication system, and the communication ends corresponding to nodes 1, node 3, ..., and node N in the communication system are all in the broadcast receiving state, synchronously receiving the broadcast information sent by the communication end corresponding to node 2. Time slot N is the broadcast transmission time slot of node N, the communication end corresponding to node N is in the broadcast transmission state, broadcasting information to other communication ends in the communication system, and the communication ends corresponding to nodes 1, node 2, ..., and node N-1 in the communication system are all in the broadcast receiving state, synchronously receiving the broadcast information sent by the communication end corresponding to node 1.

[0064] In this embodiment, the above communication method can be applied to the first communication end in the communication system. In this case, the execution subject of the above communication method is the first communication end in the communication system.

[0065] In practice, each communication terminal in the communication system can be set with a timing clock to record the time information of the communication terminal. When the time information of the first communication terminal indicates that the first communication terminal is in the broadcast receiving time slot, the first communication terminal can adjust the working state to the broadcast receiving state, thereby receiving the time information of the second communication terminal broadcast by the second communication terminal.

[0066] Step 102: Perform time alignment adjustment on the first communication terminal according to the time information of the first communication terminal and the time information of the second communication terminal.

[0067] The time information of the first communication terminal is usually information indicating the time of the first communication terminal, and the execution subject can obtain the time information of the first communication terminal through a timing clock.

[0068] The above-mentioned time alignment adjustment is usually an alignment adjustment of time.

[0069] In practice, the execution subject may adjust the time of the first communication terminal to be the same as the time of the second communication terminal. Specifically, the execution subject may adjust the time of the timing clock set in the first communication terminal to the time indicated by the time information of the second communication terminal.

[0070] In practice, the above-mentioned execution entity can also obtain the time average between the first communication terminal and the second communication terminal through the time information of the first communication terminal and the time information of the second communication terminal, and adjust the time of the timing clock set in the first communication terminal to the time indicated by the time average.

[0071] Step 103, determining the working frequency of the first communication terminal according to the time information of the first communication terminal after time alignment adjustment and the frequency allocation description information corresponding to the first communication terminal, and controlling the first communication terminal and the communication partner of the first communication terminal to communicate at the working frequency.

[0072] The frequency allocation description information is information describing the working frequencies of the communication terminals at different times. In practice, a frequency hopping pattern is usually used to intuitively display the working frequencies of each communication terminal. The initial sequence of the working frequencies used by each communication terminal in the communication system can be the same, that is, each communication terminal can use the same frequency hopping reference pattern. Figure 4 , Figure 4 FIG. 1 is a schematic diagram of a frequency hopping reference pattern provided by an embodiment of the present application. Figure 4 As shown, the order of the operating frequencies corresponding to the frequency hopping reference pattern is: f1→f2→f3→f4→f5, and then the communication end cycles in the order of the operating frequencies.

[0073] In practice, each communication end can use different offsets to offset the initial operating frequency in the initial sequence to adjust the sequence of the operating frequencies so that each communication end uses different operating frequencies for communication at the same time. For example, the communication system includes 3 nodes, and the frequency hopping reference pattern used by the communication end of each node is as follows: Figure 5a As shown, the initial sequence of the working frequencies used by the communication terminals in each node is 1000MHz, 1004MHz, 1008MHz, the offset corresponding to node 1 is 0MHz, and the frequency hopping pattern of the communication terminal of node 1 is as follows Figure 5b As shown, the initial operating frequency of the communication end in node 1 is 1000MHz, and the order of the operating frequencies corresponding to the communication end in node 1 is: 1000MHz, 1004MHz, 1008MHz. After that, the communication end in node 1 cycles in the order of the operating frequencies; the offset corresponding to node 2 is 4MHz, and the frequency hopping pattern of the communication end in node 2 is as follows Figure 5c As shown, the initial operating frequency of the communication end in node 2 is 1004MHz, and the order of the operating frequencies corresponding to the communication end in node 2 is: 1004MHz, 1008MHz, 1000MHz, and then the communication end in node 2 cycles in the order of the operating frequencies; the offset corresponding to node 3 is 8MHz, and the frequency hopping pattern of the communication end of node 3 is as follows Figure 5dAs shown, the initial working frequency of the communication terminal in node 3 is 1008MHz, and the order of the working frequencies of the communication terminal in node 3 is: 1008MHz, 1000MHz, 1004MHz, and then the communication terminal in node 3 cycles in the order of the working frequencies. In this way, at the same time, the communication terminals in different nodes use different working frequencies. For example, at the initial moment, the working frequency of the communication terminal in node 1 and the communication terminal of the communication terminal is 1000MHz, the working frequency of the communication terminal in node 2 and the communication terminal of the communication terminal is 1004MHz, and the working frequency of the communication terminal in node 3 and the communication terminal of the communication terminal is 1008MHz.

[0074] In practice, the above-mentioned execution subject can obtain the order of the corresponding working frequencies of the corresponding communication terminal and its communication counterpart through the frequency allocation description information, and then obtain the working frequency of the first communication terminal based on the time information of the first communication terminal. In some application scenarios, the above-mentioned execution subject can use the time information of the first communication terminal to find the working frequency of a communication terminal corresponding to the time information of the first communication terminal from a pre-established time-frequency correspondence table. Among them, the above-mentioned time-frequency correspondence table can be a correspondence table pre-established by the execution subject and storing multiple correspondences between time and frequency.

[0075] Afterwards, the first communication terminal can use the determined working frequency to communicate with the communication counterpart of the first communication terminal. For example, the order of the working frequencies of the first communication terminal is 1000MHz, 1004MHz, and 1008MHz, that is, the working frequency used by the first communication terminal at the initial moment is 1000MHz, the working frequency used at the second moment is 1004MHz, and the working frequency used at the third moment is 1008MHz. If the time information of the first communication terminal indicates that it is currently at the second moment, the first communication terminal can obtain the current working frequency of 1004MHz through the current time information, and use the working frequency of 1004MHz to communicate with the communication counterpart.

[0076] The communication method provided in this embodiment can achieve time synchronization between the first communication terminal and the second communication terminal through time alignment adjustment, so that the working frequency of the first communication terminal is different from the working frequencies of other communication terminals at the same time, avoiding collision of the working frequencies used by each communication terminal, and improving the reliability of frequency hopping communication.

[0077] In some embodiments, the first communication end controls the communication partner of the first communication end to communicate at the working frequency in the following manner: sending aligned time information to the communication partner of the first communication end, and the aligned time information is used to trigger the communication partner of the first communication end to perform time calibration based on the aligned time information.

[0078] In practice, the first communication terminal can establish a communication connection with the communication partner of the first communication terminal, and send the aligned and adjusted time information to the communication partner of the first communication terminal. After receiving the aligned and adjusted time information, the communication partner of the first communication terminal can calibrate the time information of the communication partner through the received aligned and adjusted time information. For example, the communication partner of the first communication terminal can adjust the time to be the same as the time indicated by the received aligned and adjusted time information. Specifically, the communication partner of the first communication terminal can adjust the time of its timing clock to the time indicated by the aligned and adjusted time information.

[0079] The communication method provided in this embodiment, the first communication end sends the aligned and adjusted time information to the communication partner of the first communication end, which can trigger the communication partner of the first communication end to perform time calibration based on the aligned and adjusted time information, and can achieve time synchronization between the communication partner of the first communication end and the first communication end, and can achieve the first communication end and the communication partner of the first communication end to communicate using the same operating frequency based on the same time information, which can further improve the reliability of frequency hopping communication.

[0080] In some embodiments, the communication peer of the first communication end performs time calibration based on the aligned adjusted time information, which may include: the communication peer of the first communication end determines the target time based on the aligned adjusted time information, the preset receiving delay and the preset sending delay, and switches the time of the communication peer of the first communication end to the target time.

[0081] The preset reception delay is usually a preset information reception delay. In practice, the information reception delay is usually the time taken by the receiving party to demodulate the received information.

[0082] The preset transmission delay is usually a preset transmission delay of information. In practice, the transmission delay of information is usually the time taken by the sender to modulate the information to be transmitted.

[0083] Here, when the first communication end sends the adjusted time information to its communication partner, it needs to first perform information modulation operation on the time information. When the first communication end receives the aligned and adjusted time information, it needs to first perform information demodulation operation on the time information.

[0084] In practice, the communication partner of the first communication end can determine the sum of the time information after alignment adjustment, the preset receiving delay and the preset sending delay as the target time, and adjust the reading of the timing clock of the communication partner of the first communication end to match the target time. For example, if the time information after alignment adjustment is 3ms, the preset receiving delay is 0.5ms, and the preset sending delay is 0.5ms, the target time can be determined as 4ms, and the communication partner of the first communication end can adjust the reading of the timing clock to 4ms.

[0085] The communication method provided in this embodiment determines the target time by aligning the adjusted time information, the preset receiving delay and the preset sending delay, and switches the time of the communication counterpart of the first communication end to the target time. This can quickly remove the influence of the time of the information modulation operation and the time of the information demodulation operation on the time information of the communication counterpart of the first communication end, improve the accuracy of the time synchronization between the communication counterpart of the first communication end and the first communication end, and further improve the reliability of frequency hopping communication.

[0086] In some embodiments, the communication peer of the first communication end performs time calibration based on the aligned and adjusted time information, including:

[0087] The communication partner of the first communication terminal determines the target time according to the time information after alignment adjustment, the information transmission delay between the first communication terminal and the communication partner of the first communication terminal, the preset receiving delay, and the preset sending delay, and switches the time of the communication partner of the first communication terminal to the target time.

[0088] Among them, the above-mentioned information transmission delay is usually the delay when the communication information is transmitted in the link between the first communication end and the communication partner of the first communication end, specifically including the time from the first communication end modulating the communication information to the communication partner demodulating the information.

[0089] In practice, when the communication peer of the first communication end receives the alignment adjustment information, it usually sends feedback information indicating that the alignment adjustment information has been received to the first communication end. The above-mentioned execution subject can determine the information transmission delay by the following formula:

[0090]

[0091] Among them, P x is the information transmission delay, T 1 is the time when the first communication end receives the feedback information, T 0 is the time when the first communication end sends the time information after alignment adjustment, T x is the preset sending delay, R x It is the preset receiving delay.

[0092] In practice, the communication partner of the first communication terminal can determine the target time by the sum of the time information after alignment adjustment, the information transmission delay between the first communication terminal and the communication partner of the first communication terminal, the preset receiving delay, and the preset sending delay, and adjust the reading of the timing clock of the communication partner of the first communication terminal to match the target time. For example, if the time information after alignment adjustment is 3ms, the information transmission delay is 1ms, the preset receiving delay is 0.5ms, and the preset sending delay is 0.5ms, the target time can be determined to be 5ms, and the communication partner of the first communication terminal can adjust the reading of the timing clock to 5ms.

[0093] The communication method provided in this embodiment can improve the accuracy of time synchronization between the communication partner of the first communication end and the first communication end by aligning the adjusted time information, information transmission delay, preset receiving delay and preset sending delay to determine the target time, and switching the time of the communication partner of the first communication end to the target time, and can further improve the reliability of frequency hopping communication.

[0094] In some embodiments, performing time alignment adjustment on the first communication end according to the time information of the first communication end and the time information of the second communication end includes:

[0095] A target time difference between the first communication terminal and the second communication terminal is determined according to the time information of the first communication terminal and the time information of the second communication terminal, and a time alignment adjustment is performed on the first communication terminal according to the target time difference.

[0096] The target time difference is the time difference between the first communication end and the second communication end.

[0097] In practice, the execution entity may subtract the time indicated by the time information of the first communication terminal from the time indicated by the time information of the second communication terminal to obtain the target time difference between the first communication terminal and the second communication terminal.

[0098] Afterwards, the above-mentioned execution entity can perform time alignment adjustment on the first communication terminal according to the target time difference and the preset alignment adjustment rule. Among them, the preset alignment adjustment rule is usually a pre-set rule for aligning and adjusting the time. In some application scenarios, the preset alignment adjustment rule can be to add the target time difference to the time of the first communication terminal, and the first communication terminal adjusts the time to the sum of the current time of the first communication terminal and the target time difference. In other application scenarios, the preset alignment adjustment rule can be that when the target time difference is greater than the preset time difference threshold, the target time difference is discarded and the time alignment adjustment is not performed on the first communication terminal, and when the target time difference is less than or equal to the preset time difference threshold, the time of the first communication terminal is adjusted to the sum of the current time and the target time difference.

[0099] The communication method provided in this embodiment can achieve time synchronization between the first communication end and the second communication end by performing time alignment adjustment on the first communication end through the target time difference between the first communication end and the second communication end, ensure that the first communication end and the second communication end communicate using different operating frequencies at the same time, and improve the reliability of frequency hopping communication.

[0100] See also Figure 6 , Figure 6 is a flowchart for determining a target time difference according to an embodiment of the present application, including:

[0101] Step 601: If there is one second communication end, the time difference between the first communication end and the second communication end is determined as the target time difference.

[0102] In practice, when there is only one second communication terminal, the above-mentioned execution subject can obtain the time difference between the first communication terminal and the second communication terminal through the time information of the first communication terminal and the time information of the second communication terminal, and use the time difference as the target time difference.

[0103] Step 602: If there are multiple second communication terminals, determine the target time difference according to the time differences between the first communication terminal and each second communication terminal.

[0104] In practice, when there are multiple second communication terminals, each second communication terminal will send time information to the first communication terminal in the broadcast transmission time slot. Since the broadcast transmission time slots of each second communication terminal are not synchronized, the first communication terminal can receive a time information in the broadcast transmission time slot of the second communication terminal for each second communication terminal, and can receive multiple time information through multiple broadcast reception time slots of the first communication terminal. Afterwards, the first communication terminal can obtain the time difference between the first communication terminal and each second communication terminal through the received time information of the second communication terminal and the time information of the first communication terminal when the time information of the second communication terminal is received.

[0105] In practice, the above execution subject can obtain the target time difference through the time difference between the first communication terminal and each second communication terminal and the preset time difference determination rule. The preset time difference determination rule is usually a pre-set rule for determining the target time difference, for example, taking the average of each time difference as the target time difference.

[0106] For example, the communication system includes 20 nodes, and the communication terminals in each node correspond to broadcast receiving time slots and broadcast sending time slots. In the broadcast receiving time slot of node 1, the communication terminal in node 1 can receive the time information sent by the other 19 communication terminals in their respective broadcast sending time slots, which are TOD2, TOD3, ..., TOD20. Correspondingly, when receiving the time information, the communication terminal of node 1 also records the time corresponding to the local time clock, which are LTOD2, LTOD3, ..., LTOD20. It can be obtained that when the time information TOD2 is received, the time difference D2 between the time information of the communication end and the received time information TOD2 is LTOD2-TOD2; when the time information TOD3 is received, the time difference D3 between the time information of the communication end and the received time information TOD3 is LTOD3-TOD3; ...; when the time information TOD20 is received, the time difference D20 between the time information of the communication end and the received time information TOD20 is LTOD20-TOD20. Through each time difference, the time difference mean can be obtained. After that, the time of the communication end of node 1 and the time difference mean can be summed to obtain the target time difference.

[0107] The communication method provided in this embodiment obtains the target time difference through the time information of the second communication terminal received by the first communication terminal, and can align and adjust the time information of the first communication terminal based on the target time difference, thereby improving the accuracy of time synchronization between the first communication terminal and the second communication terminal, and improving the reliability of frequency hopping communication.

[0108] In some embodiments, after controlling the first communication end and the communication partner of the first communication end to communicate at a working frequency, it may also include: when the first communication end receives target communication request information sent by the communication partner of the first communication end to indicate communication with the target device, the target communication request information is sent to the second communication end corresponding to the target device in the broadcast transmission time slot of the first communication end.

[0109] The target communication request information is used to trigger the second communication terminal to send the target communication request information to the target device in the data transmission time slot of the second communication terminal, and the target communication request information may include the device information of the second communication terminal corresponding to the target device. The data transmission time slot is usually a time slot in a communication frame for sending data, and the data transmission time slot of the second communication terminal is a time slot for the second communication terminal to send data to the communication peer of the second communication terminal.

[0110] The target device is usually a communication counterpart device of the second communication terminal in the communication system.

[0111] In practice, the communication end devices in the communication system are connected to their corresponding communication peer devices through wireless channels, and the communication end devices are also connected to each other through wireless channels in a non-central node manner, and there is no direct communication connection between the communication peer devices. Figure 7 , Figure 7 Schematic diagram of the connection of various communication devices in a communication system provided by an embodiment of the present application. Figure 7 As shown, the communication system includes 12 groups of communication terminal devices and communication peer devices. The communication terminal devices and their corresponding communication peer devices are connected through wireless channels. Specifically, the communication terminal device A1 is connected to its communication peer device B1 through a wireless channel, the communication terminal device A2 is connected to its communication peer device B2 through a wireless channel, ..., the communication terminal device A12 is connected to its communication peer device B12 through a wireless channel. The communication terminal devices are also connected to each other through wireless channels in a central node-free manner. Specifically, the communication terminal device A1, the communication terminal device A2, ..., the communication terminal device A12 are connected through wireless channels. There is no direct communication connection between the communication peer devices B1, the communication peer device B2, ..., the communication terminal device B12.

[0112] When the communication partner of the first communication terminal needs to communicate with the target device, the communication partner of the first communication terminal can send target communication request information to the first communication terminal through a wireless channel. The first communication terminal determines the second communication terminal corresponding to the target device through the device information of the second communication terminal in the target communication request information. In the broadcast transmission time slot of the first communication terminal, the first communication terminal can send the target communication request information to the second communication terminal corresponding to the target device. Figure 7 To illustrate, when communication peer device B1 needs to communicate with communication peer device B3, communication peer device B1 can send target communication request information to communication peer device A1 through a wireless channel, the target request information including device information of communication terminal device A3, communication terminal device A1 determines that the second communication terminal corresponding to the target device is communication terminal device A3 through the device information of the second communication terminal in the target communication request information, and in the broadcast transmission time slot of communication terminal device A1, communication terminal device A1 sends the target communication request information to communication terminal device A3, and then, in the data transmission time slot of communication terminal device A3, communication terminal device A3 sends the target communication request information to communication peer device B3, that is, the communication between communication peer device B1 and communication peer device B3 is completed through the transmission path of B1→A1→A3→B3.

[0113] The communication method provided in this embodiment is that when a first communication end receives target communication request information sent by a communication partner of the first communication end for indicating communication with a target device, the first communication end sends the target communication request information to a second communication end corresponding to the target device in its corresponding broadcast transmission time slot, thereby realizing communication between the communication partner of the first communication end and the target device without setting a dedicated channel in the communication frame.

[0114] See also Figure 8 , Figure 8 8 is a structural block diagram of a communication device 800 provided in an embodiment of the present application, including:

[0115] The information receiving unit 801 is used to receive the time information of the second communication end broadcasted by the second communication end in the broadcast receiving time slot of the first communication end;

[0116] A time alignment unit 802, configured to perform time alignment adjustment on the first communication end according to the time information of the first communication end and the time information of the second communication end;

[0117] The frequency determination unit 803 is used to determine the working frequency of the first communication terminal according to the time information of the first communication terminal after time alignment adjustment and the frequency allocation description information corresponding to the first communication terminal, and control the first communication terminal and the communication partner of the first communication terminal to communicate at the working frequency.

[0118] In some embodiments, in the frequency determination unit 803, the first communication end controls the communication peer of the first communication end to communicate at the working frequency in the following manner:

[0119] The aligned and adjusted time information is sent to the communication peer of the first communication end, and the aligned and adjusted time information is used to trigger the communication peer of the first communication end to perform time calibration based on the aligned and adjusted time information.

[0120] In some embodiments, in the frequency determination unit 803, the communication peer of the first communication end performs time calibration based on the time information after alignment adjustment, including:

[0121] The communication counterpart of the first communication terminal determines the target time according to the time information after the alignment adjustment, the preset receiving delay and the preset sending delay, and switches the time of the communication counterpart of the first communication terminal to the target time.

[0122] In some embodiments, in the frequency determination unit 803, the communication peer of the first communication end performs time calibration based on the time information after alignment adjustment, including:

[0123] The communication partner of the first communication terminal determines the target time according to the time information after alignment adjustment, the information transmission delay between the first communication terminal and the communication partner of the first communication terminal, the preset receiving delay, and the preset sending delay, and switches the time of the communication partner of the first communication terminal to the target time.

[0124] In some embodiments, the time alignment unit 802 is specifically used to: determine the target time difference between the first communication terminal and the second communication terminal based on the time information of the first communication terminal and the time information of the second communication terminal, and perform time alignment adjustment on the first communication terminal based on the target time difference.

[0125] In some embodiments, the time alignment unit 802 includes a first determination module and a second determination module (not shown in the figure).

[0126] A first determining module, configured to determine the time difference between the first communication terminal and the second communication terminal as a target time difference if there is one second communication terminal;

[0127] The second determining module is used to determine the target time difference according to the time differences between the first communication terminal and each of the second communication terminals if there are multiple second communication terminals.

[0128] In some embodiments, the frequency determination unit 803 is specifically used to: when a first communication end receives target communication request information sent by a communication peer of the first communication end to indicate communication with a target device, the target communication request information is sent to a second communication end corresponding to the target device in a broadcast transmission time slot of the first communication end, wherein the target communication request information is used to trigger the second communication end to send the target communication request information to the target device in a data transmission time slot of the second communication end.

[0129] The communication device provided in this embodiment can achieve time synchronization between the first communication terminal and the second communication terminal through time alignment adjustment, so that the working frequency of the first communication terminal is different from the working frequencies of other communication terminals at the same time, avoiding collision of the working frequencies used by each communication terminal, and improving the reliability of frequency hopping communication.

[0130] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method implementation example on the audio playback device side in this application. Their specific functions and technical effects can be found in the method implementation example on the audio playback device side, and will not be repeated here.

[0131] See also Fig. 9 , Fig. 9 900 is a structural block diagram of a server 900 provided in an embodiment of the present application. The server 900 in this embodiment includes: at least one processor 901 ( Fig. 9Only one processor is shown in the figure), a memory 902, and a computer program 903 stored in the memory 902 and executable on at least one processor 901, such as a communication program. When the processor 901 executes the computer program 903, the steps in the above-mentioned embodiments of the communication method are implemented. When the processor 901 executes the computer program 903, the functions of the modules / units in the above-mentioned embodiments of the apparatus are implemented, such as, Figure 8 The functions of the information receiving unit 801 to the frequency determining unit 803 are shown.

[0132] Exemplarily, the computer program 903 may be divided into one or more units, one or more units are stored in the memory 902, and are executed by the processor 901 to complete the present application. One or more units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 903 in the server 900. For example, the computer program 903 may be divided into an information receiving unit, a time alignment unit, and a frequency determination unit. The specific functions of each unit have been described in the above embodiments and will not be repeated here.

[0133] The server 900 may be a computing device such as a server, a desktop computer, a tablet computer, a cloud server, and a mobile terminal. The server 900 may include, but is not limited to, a processor 901 and a memory 902. Those skilled in the art will appreciate that Fig. 9 This is only an example of the server 900 and does not constitute a limitation of the server 900. The server 900 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the server may also include input and output devices, network access devices, buses, etc.

[0134] The processor 901 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0135] The memory 902 may be an internal storage unit of the server 900, such as a hard disk or memory of the server 900. The memory 902 may also be an external storage device of the server 900, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the server 900. Optionally, the memory 902 may also include both an internal storage unit of the server 900 and an external storage device. The memory 902 is used to store computer programs and other programs and data required by the server 900. The memory 902 may also be used to temporarily store data that has been output or is to be output.

[0136] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0137] If the integrated module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and the computer program that can be completed by instructing the relevant hardware through a computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.

[0138] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0139] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A communication method, characterized in that: The method comprises: In a broadcast receiving time slot of the first communication terminal, receiving time information of the second communication terminal broadcasted by the second communication terminal; Performing time alignment adjustment on the first communication end according to the time information of the first communication end and the time information of the second communication end; Determine the operating frequency of the first communication terminal according to the time information of the first communication terminal after the time alignment adjustment and the frequency allocation description information corresponding to the first communication terminal, and control the first communication terminal and the communication peer of the first communication terminal to communicate at the operating frequency; The first communication end controls the communication peer end of the first communication end to communicate at the working frequency in the following manner: Sending the aligned and adjusted time information to the communication peer of the first communication end, where the aligned and adjusted time information is used to trigger the communication peer of the first communication end to perform time calibration based on the aligned and adjusted time information; Among them, the first communication end is any communication end in the communication system, the second communication end is any communication end in the communication system except the first communication end, the second communication end and the communication counterpart of the first communication end are different devices, and the communication system includes multiple nodes, each node corresponds to a group of communication ends and communication counterparts that communicate with each other.

2. The communication method according to claim 1, characterized in that: The communication peer of the first communication end performs time calibration based on the time information after the alignment adjustment, including: The communication counterpart of the first communication terminal determines the target time according to the time information after the alignment adjustment, the preset receiving delay and the preset sending delay, and switches the time of the communication counterpart of the first communication terminal to the target time.

3. The communication method according to claim 1, characterized in that: The communication peer of the first communication end performs time calibration based on the time information after the alignment adjustment, including: The communication partner of the first communication terminal determines the target time according to the time information after the alignment adjustment, the information transmission delay between the first communication terminal and the communication partner of the first communication terminal, the preset receiving delay, and the preset sending delay, and switches the time of the communication partner of the first communication terminal to the target time.

4. The communication method according to claim 1, characterized in that: The step of performing time alignment adjustment on the first communication terminal according to the time information of the first communication terminal and the time information of the second communication terminal includes: A target time difference between the first communication terminal and the second communication terminal is determined according to the time information of the first communication terminal and the time information of the second communication terminal, and a time alignment adjustment is performed on the first communication terminal according to the target time difference.

5. The communication method according to claim 4, characterized in that: The determining a target time difference between the first communication end and the second communication end includes: If there is one second communication end, determining the time difference between the first communication end and the second communication end as the target time difference; If there are multiple second communication terminals, the target time difference is determined according to the time differences between the first communication terminal and each second communication terminal.

6. The communication method according to any one of claims 1 to 5, characterized in that: After controlling the first communication terminal and the communication peer of the first communication terminal to communicate at the working frequency, the method further includes: When the first communication end receives target communication request information sent by the communication peer of the first communication end for indicating communication with a target device, the first communication end sends the target communication request information to the second communication end corresponding to the target device in the broadcast transmission time slot of the first communication end, wherein the target communication request information is used to trigger the second communication end to send the target communication request information to the target device in the data transmission time slot of the second communication end, and the target device is the communication peer of the second communication end in the communication system, and the first communication end and the communication peer of the first communication end are different devices from the target device.

7. A communication device, characterized in that: include: An information receiving unit, configured to receive time information of the second communication end broadcasted by the second communication end in a broadcast receiving time slot of the first communication end; A time alignment unit, configured to perform time alignment adjustment on the first communication end according to the time information of the first communication end and the time information of the second communication end; a frequency determination unit, configured to determine the operating frequency of the first communication terminal according to the time information of the first communication terminal after the time alignment adjustment and the frequency allocation description information corresponding to the first communication terminal, and to control the first communication terminal and the communication peer of the first communication terminal to communicate at the operating frequency; In the frequency determination unit, the first communication end controls the communication peer of the first communication end to communicate at the working frequency in the following manner: Sending the aligned and adjusted time information to the communication peer of the first communication end, where the aligned and adjusted time information is used to trigger the communication peer of the first communication end to perform time calibration based on the aligned and adjusted time information; Among them, the first communication end is any communication end in the communication system, the second communication end is any communication end in the communication system except the first communication end, the second communication end and the communication counterpart of the first communication end are different devices, and the communication system includes multiple nodes, each node corresponds to a group of communication ends and communication counterparts that communicate with each other.

8. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the communication method according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the communication method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Method of signal transmission, device and base station

    CN103874216A

  • Frequency hopping sequence optimization method, frequency hopping communication method, communication equipment and storage medium

    CN113949411A