Data transmission method, device and equipment

By using a method in which the sender sends a synchronization signal and the receiver determines the reception period according to the time slot configuration message, the problem of low security of the data receiver is solved and the security of the receiver during data transmission is improved.

CN115102681BActive Publication Date: 2024-09-03NINGBO YITAI IND INTERNET OF THINGS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210684773.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-17
Publication Date
2024-09-03
Estimated Expiration
2042-06-17

AI Technical Summary

Technical Problem

During the data transmission process, the data receiving end is unable to receive the data sent by the data sending end when faced with a large amount of data sent by the attacking device, resulting in low security.

Method used

By sending a synchronization signal before data transmission, the receiving end turns on and off the reception mode and reception control link according to the synchronization signal, and determines the reception period according to the time slot configuration message to avoid continuously receiving a large amount of data sent by the attacking device.

Benefits of technology

It improves the security of the receiving end during data transmission, prevents the receiving end from being dragged down by the large amount of data sent by the attacking device, and ensures the reception of normal data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115102681B
    Figure CN115102681B
Patent Text Reader

Abstract

The embodiments of the present application provide a data transmission method, device and equipment. The method includes: receiving a synchronization signal sent by a transmitting end; according to the synchronization signal, starting a receiving mode and a receiving control link, and determining a receiving period; receiving data sent by the transmitting end during the receiving period, and closing the receiving mode and the receiving control link after the receiving period ends. Sending a synchronization signal to a receiving end; starting a sending mode and a sending control link, and determining a sending period; sending data to the receiving end during the sending period, and closing the sending mode and the sending control link after the sending period ends. The security of the data receiving end is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to a data transmission method, apparatus and device. Background Art

[0002] In the actual communication process, information transmission and exchange between devices can be achieved through data transmission.

[0003] In the related art, data transmission is performed in the following manner: the data sending end sends data in real time, and the data receiving end can receive the data sent by the data sending end in real time. In the above process, if the attacking device maliciously sends a large amount of data to the data receiving end, the data receiving end will continue to receive data from the attacking device, but will not be able to receive data sent by the data sending end, resulting in low security of the data receiving end. Summary of the invention

[0004] The embodiments of the present application provide a data transmission method, apparatus and device to solve the problem of low security at the data receiving end.

[0005] In a first aspect, an embodiment of the present application provides a data transmission method, including:

[0006] receiving a synchronization signal sent by a transmitting end;

[0007] According to the synchronization signal, start the receiving mode and the receiving control link, and determine the receiving time period;

[0008] In the receiving period, data sent by the transmitting end is received, and after the receiving period ends, the receiving mode and the receiving control link are turned off.

[0009] In a possible implementation manner, determining the receiving time period includes:

[0010] Within a preset time length after receiving the synchronization signal, receiving a time slot configuration message sent by the transmitting end, wherein the time slot configuration message includes a first transmission time length;

[0011] The receiving time period is determined according to the first transmission duration.

[0012] In a possible implementation manner, determining the receiving time period according to the first transmission duration includes:

[0013] A time period within the first transmission duration after the time slot configuration message is received is determined as the receiving time period.

[0014] In a possible implementation, the method further includes:

[0015] If the time slot configuration message is not received within a preset time period after receiving the synchronization signal, the receiving mode and the receiving control link are closed.

[0016] In a second aspect, an embodiment of the present application provides a data transmission method, including:

[0017] Sending a synchronization signal to the receiving end;

[0018] Start the sending mode and the sending control link, and determine the sending time period;

[0019] During the sending period, data is sent to the receiving end, and after the sending period ends, the sending mode and the sending control link are turned off.

[0020] In a possible implementation manner, determining the sending time period includes:

[0021] Determine a first transmission duration of the data and a second transmission duration of the time slot configuration message;

[0022] The sending period is determined according to the first transmission duration, the second transmission duration and a preset waiting duration, wherein the preset waiting duration includes a waiting duration after the synchronization signal is sent and a waiting duration after the time slot configuration message is sent.

[0023] In a possible implementation manner, determining the sending period according to the first transmission duration, the second transmission duration, and a preset waiting duration includes:

[0024] Determine the sum of the first transmission duration, the second transmission duration and a preset waiting duration as a first duration;

[0025] A time period within the first time length after the synchronization signal is sent is determined as the sending time period.

[0026] In a possible implementation manner, before sending data to the receiving end, the method further includes:

[0027] The time slot configuration message is sent to the receiving end, where the time slot configuration message includes the first transmission duration.

[0028] In a third aspect, an embodiment of the present application provides a data transmission device, the device comprising:

[0029] A receiving module, used for receiving a synchronization signal sent by a transmitting end;

[0030] An enabling module, used to enable a receiving mode and a receiving control link according to the synchronization signal;

[0031] A determination module, used for determining a receiving time period;

[0032] The receiving module is also used to receive data sent by the sending end within the receiving period;

[0033] A closing module is used to close the receiving mode and the receiving control link after the receiving period ends.

[0034] In a possible implementation, the receiving module is further configured to receive a time slot configuration message sent by the transmitting end within a preset time length after the receiving module receives the synchronization signal, wherein the time slot configuration message includes a first transmission time length;

[0035] The determination module is specifically used to determine the receiving time period according to the first transmission duration.

[0036] In a possible implementation manner, the determining module is specifically configured to:

[0037] A time period within the first transmission duration after the time slot configuration message is received is determined as the receiving time period.

[0038] In a possible implementation manner, the closing module is further used to:

[0039] If the time slot configuration message is not received within a preset time period after receiving the synchronization signal, the receiving mode and the receiving control link are closed.

[0040] In a fourth aspect, an embodiment of the present application provides a data transmission device, the device comprising:

[0041] A sending module, used for sending a synchronization signal to a receiving end;

[0042] The start module is used to start the sending mode and send the control link;

[0043] A determination module, used to determine a sending period;

[0044] The sending module is also used to send data to the receiving end within the sending period;

[0045] A closing module is used to close the sending mode and the sending control link after the sending period ends.

[0046] In a possible implementation manner, the determining module is specifically configured to:

[0047] Determine a first transmission duration of the data and a second transmission duration of the time slot configuration message;

[0048] The sending period is determined according to the first transmission duration, the second transmission duration and a preset waiting duration, wherein the preset waiting duration includes a waiting duration after the synchronization signal is sent and a waiting duration after the time slot configuration message is sent.

[0049] In a possible implementation manner, the determining module is specifically configured to:

[0050] Determine the sum of the first transmission duration, the second transmission duration and a preset waiting duration as a first duration;

[0051] A time period within the first time length after the synchronization signal is sent is determined as the sending time period.

[0052] In a possible implementation manner, the sending module is further used for:

[0053] Before the sending module sends data to the receiving end, the time slot configuration message is sent to the receiving end, and the time slot configuration message includes the first transmission duration.

[0054] In a fifth aspect, an embodiment of the present application provides a data transmission device, including:

[0055] at least one processor; and

[0056] a memory communicatively connected to the at least one processor; wherein,

[0057] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform any method described in the first aspect.

[0058] In a sixth aspect, an embodiment of the present application provides a data transmission device, including:

[0059] at least one processor; and

[0060] A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any method described in the second aspect.

[0061] In a seventh aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the method according to any one of the first aspects.

[0062] In an eighth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the method according to any one of the second aspects.

[0063] In a ninth aspect, an embodiment of the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of the first aspects.

[0064] In a tenth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method according to any one of the second aspects.

[0065] In the data transmission method, apparatus and device provided by the embodiments of the present application, before data transmission, the transmitting end will first send a synchronization signal to the receiving end. After receiving the synchronization signal, the receiving end turns on the receiving mode and the receiving control link. And the receiving end can determine the time period when the receiving end turns on the receiving mode and the receiving control link based on the synchronization signal sent by the transmitting end. In the above process, since the receiving end does not turn on the receiving mode and the receiving control link all the time, but turns on the receiving mode and the receiving control link based on the synchronization signal sent by the transmitting end, the receiving end is prevented from receiving a large amount of data sent by the attacking device, thereby improving the security of the receiving end during data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present application;

[0067] Figure 2 A flowchart of a data transmission method provided in an embodiment of the present application;

[0068] Figure 3 A flowchart of another data transmission method provided in an embodiment of the present application;

[0069] Figure 4 A timing diagram of a sending period of a sending end provided in an embodiment of the present application;

[0070] Figure 5 A timing diagram of a period of receiving data provided by a receiving end in an embodiment of the present application;

[0071] Figure 6 A schematic diagram of the structure of a data transmission device provided in an embodiment of the present application;

[0072] Figure 7 A schematic diagram of the structure of another data transmission device provided in an embodiment of the present application;

[0073] Figure 8A schematic diagram of the structure of a data transmission device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0074] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0075] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0076] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1 , including a sending end 101 and a receiving end 102. The sending end 101 and the receiving end 102 can be set in different terminal devices, and the terminal device can be a computer, an edge transmission host, etc. Data can be transmitted between the sending end 101 and the receiving end 102.

[0077] The transmitting end 101 is provided with a transmitting mode and a transmitting control link. Before the transmitting end 101 transmits data, the transmitting end 101 turns on the transmitting mode and the transmitting control link, and the transmitting end 101 can transmit data to the receiving end 102. The receiving end 102 is provided with a receiving mode and a receiving control link. Before the receiving end 102 receives data, the receiving end 102 turns on the receiving modulus and the receiving control link, and the receiving end 102 can receive data transmitted by the transmitting end 101. After the transmitting end 101 sends the data, the transmitting mode and the transmitting control link of the transmitting end 101 are turned off, and the transmitting end 101 stops transmitting data. After the receiving end 102 receives the data, the receiving modulus and the receiving control link of the receiving end 102 are turned off, and the receiving end 102 stops receiving data transmitted by the transmitting end 101.

[0078] In the related art, data transmission is performed in the following manner: the sending end sends data in real time, and the receiving end can receive the data sent by the sending end in real time. In the above process, if the attacking device maliciously sends a large amount of data to the data receiving end, the receiving end will continue to receive data from the attacking device, but will not be able to receive data sent by the data sending end, resulting in low security of the data receiving end.

[0079] In an embodiment of the present application, before data transmission, the transmitting end will first send a synchronization signal to the receiving end. After receiving the synchronization signal, the receiving end turns on the receiving mode and the receiving control link. And the receiving end can determine the time period when the receiving end turns on the receiving mode and the receiving control link according to the synchronization signal sent by the transmitting end. In the above process, since the receiving end does not turn on the receiving mode and the receiving control link all the time, but turns on the receiving mode and the receiving control link according to the synchronization signal sent by the transmitting end, the receiving end is prevented from receiving a large amount of data sent by the attacking device, thereby improving the security of the receiving end during data transmission.

[0080] The method shown in the present application is described below through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.

[0081] Figure 2 A flow chart of a data transmission method provided in an embodiment of the present application. Figure 2 , the method may include:

[0082] S201: A transmitting end sends a synchronization signal to a receiving end.

[0083] The synchronization signal may be an input / output (IO) pulse signal.

[0084] When the sending end needs to send data to the receiving end, the sending end sends a synchronization signal to the receiving end.

[0085] S202: The transmitting end starts the transmission mode and the transmission control link, and determines the transmission time period.

[0086] The transmitting end is provided with a transmitting mode and a transmitting control link, the transmitting mode can have an on state and an off state, and the transmitting control link can have an on state and an off state. The transmitting end can send data only when the transmitting mode and the transmitting control link of the transmitting end are both in an on state.

[0087] The sending period may be determined in the following manner: determining a first transmission duration of data and a second transmission duration of the time slot configuration message; and determining the sending period according to the first transmission duration, the second transmission duration and a preset waiting duration.

[0088] The above data is the data to be sent from the sending end to the receiving end.

[0089] The first transmission duration includes the duration used by the transmitting end to send data to the receiving end and the system overhead duration. The duration used by the transmitting end to send data to the receiving end is the product of the duration used for each data to be sent to the receiving end and the number of data. For example, when the transmitting end sends N data to the receiving end, the duration used for each data to be sent to the receiving end is Ts, and the system overhead duration is Tk, then the first transmission duration Tm can be Tm=N*Ts+Tk.

[0090] The second transmission duration includes: the duration used by the transmitting end to send the time slot configuration message to the receiving end and the system overhead duration.

[0091] The preset waiting time includes the waiting time after the synchronization signal is sent and the waiting time after the time slot configuration message is sent.

[0092] The time slot configuration message includes a first transmission duration and a time slot configuration message identifier. Optionally, the first transmission duration in the time slot configuration message can be represented in binary form, the length of the binary information corresponding to the first transmission duration can be 4 bytes, and the length of the information corresponding to the time slot configuration message identifier can be 6 bytes.

[0093] For example, the first transmission duration may be 4 minutes, and the time slot configuration message identifier may be 0S0A01. The binary information corresponding to the first transmission duration may be represented as 0100, and the time slot configuration message may be 01000S0A01.

[0094] The sum of the first transmission duration, the second transmission duration and the preset waiting duration may be determined as the first duration. The period within the first duration after the synchronization signal is sent is determined as the sending period.

[0095] For example, when the transmitting end sends data to the receiving end, the first transmission duration is 5 minutes, the second transmission duration is 1 minute, and the preset waiting duration is 3 minutes. The sum of the first transmission duration, the second transmission duration, and the preset waiting duration is 8 minutes, which is determined as the first duration. The first duration of 8 minutes after the synchronization signal is sent is determined as the sending period.

[0096] S203: The receiving end starts a receiving mode and a receiving control link according to the synchronization signal, and determines a receiving time period.

[0097] The receiving end is provided with a receiving mode and a receiving control link, the receiving mode can have an on state and an off state, and the receiving control link can have an on state and an off state. The receiving end can receive data only when the receiving mode and the receiving control link of the receiving end are both in an on state.

[0098] The receiving period can be determined in the following manner: within a preset time period after receiving the synchronization signal, a time slot configuration message sent by the transmitting end is received, the time slot configuration message includes a first transmission time period; and the receiving period is determined according to the first transmission time period.

[0099] The preset time length is greater than the preset waiting time length. For example, if the preset waiting time length is 2 minutes, the preset time length may be 5 minutes.

[0100] A time period within the first transmission duration after the time slot configuration message is received is determined as a receiving time period.

[0101] For example, device A transmits data to device B, and the timeslot configuration message identifier is 0S0A01. The timeslot configuration message received by device B is 01100S0A01. According to the timeslot configuration message and the timeslot configuration message identifier, it can be determined that the binary information corresponding to the first transmission duration is 0110. According to the binary information corresponding to the first transmission duration, it is determined that the first transmission duration is 6 minutes. The first transmission duration within 6 minutes after receiving the timeslot configuration message is determined as the receiving period.

[0102] If the time slot configuration message is not received within a preset time period after the synchronization signal is received, the receiving mode and the interface control link are closed.

[0103] S204: The sending end sends data to the receiving end within the sending period.

[0104] For example, assuming that the sending period is from 8:05 to 8:10, the sending end sends data to the receiving end between 8:05 and 8:10.

[0105] S205: After the sending period ends, the sending end turns off the sending mode and the sending control link.

[0106] For example, if the first duration is 5 minutes, the 5 minutes after the synchronization signal is sent can be determined as the sending period. The sending end will start a 5-minute countdown after sending the synchronization signal, and after the countdown ends, turn off the sending mode and the sending control link.

[0107] S206: After the receiving period ends, the receiving end turns off the receiving mode and the receiving control link.

[0108] For example, if the first transmission duration is 3 minutes, the 3 minutes after receiving the time slot configuration message can be determined as the receiving period. The receiving end will start a 3-minute countdown after receiving the time slot configuration message, and turn off the receiving mode and the receiving control link after the countdown ends.

[0109] The data transmission method provided by the embodiment of the present application is that the transmitting end sends a synchronization signal to the receiving end; the transmitting end turns on the transmission mode and the transmission control link, and determines the transmission time period; the receiving end turns on the receiving mode and the receiving control link according to the synchronization signal, and determines the receiving time period; the transmitting end sends data to the receiving end during the transmission time period; the transmitting end turns off the transmission mode and the transmission control link after the transmission time period ends; the receiving end turns off the receiving mode and the receiving control link after the receiving time period ends. In the above process, since the receiving end can turn on the receiving mode and the receiving control link according to the synchronization signal sent by the transmitting end, and can determine the time period for turning on the receiving mode and the receiving control link according to the time slot configuration message, the receiving end is prevented from receiving a large amount of data sent by the attacking device, thereby improving the security of the receiving end during the data transmission process.

[0110] Next, combine Figure 3 , the detailed process of determining the data transmission method is explained. Figure 3 A flowchart of another data transmission method provided for an application embodiment. Figure 3 , the method may include:

[0111] S301. A transmitting end determines a first transmission duration and a second transmission duration according to data to be transmitted.

[0112] First transmission duration = each data transmission duration * number of data + system overhead duration.

[0113] The second transmission duration = the transmission time slot configuration message duration + the system overhead duration.

[0114] For example, when the transmitting end sends 10 data to the receiving end, the transmission duration of each data is 100ms, the transmission time slot configuration message duration is 0.5s, and the system overhead duration is 1s. Then the first transmission duration Tm can be Tm=10*100 / 1000+1=2s, and the second transmission duration Tn can be Tn=0.5+1=1.5s.

[0115] S302: The transmitting end determines a transmitting time period according to the first transmission time period, the second transmission time period and a preset waiting time period.

[0116] The sum of the first transmission duration, the second transmission duration and the preset waiting duration is determined as the first duration. The time period within the first duration after the synchronization signal is sent is determined as the sending time period.

[0117] For example, when sending data, the first transmission duration of the sender is 2 minutes, the second transmission duration is 0.5 minutes, and the preset waiting duration is 1 minute. According to the first transmission duration, the second transmission duration, and the preset waiting duration, the first duration is determined to be 2+0.5+1=3.5 minutes. The 3.5 minutes after the synchronization signal is sent is determined as the sending period.

[0118] S303: The transmitting end sends a synchronization signal to the receiving end.

[0119] S304: The sending end starts the sending mode and the sending control link.

[0120] S305: The receiving end starts the receiving mode and accepts the control link according to the synchronization signal sent by the sending end.

[0121] S306: The sending end sends data to the receiving end within the sending period.

[0122] Since the preset waiting time includes the waiting time after sending the synchronization signal and the waiting time after sending the time slot configuration message, the transmission period can be divided into four sub-periods according to the first transmission period, the second transmission period and the preset waiting time.

[0123] Next, combine Figure 4 , the timing of the sending period of the sending end is explained. Figure 4 This is a timing diagram of the sending period of the sending end provided in the embodiment of the present application. Figure 4 The transmission period of the transmitting end may include four sub-periods, namely: the first transmission sub-period, which is the period from sending the synchronization signal to starting to send the time slot configuration message. The second transmission sub-period, which is the period from starting to send the time slot configuration message to completing the transmission of the time slot configuration message. The third transmission sub-period, which is the period from completing the transmission of the time slot configuration message to starting to send data. The fourth transmission sub-period, which is the period from starting to send data to closing the transmission mode and sending the control link.

[0124] Among them, the duration of the first sending sub-period is the waiting time after sending the synchronization signal, the duration of the second sending sub-period is the second transmission time, the duration of the third sending sub-period is the waiting time after sending the time slot configuration message, and the duration of the fourth sending sub-period is the first transmission time.

[0125] In the transmission period after the transmission mode is turned on and the control link is transmitted, the transmitting end waits for the receiving end to receive the synchronization signal in the first transmission sub-period, sends the time slot configuration message to the receiving end in the second transmission sub-period, waits for the receiving end to receive the time slot configuration message in the third transmission sub-period, and sends data to the receiving end in the fourth transmission sub-period. Among them, the first sub-transmission period and the third transmission sub-period are the durations preset in advance by the system and can be determined according to the system delay duration and the data transmission rate.

[0126] For example, the duration of the sending period is 3 minutes, of which the first transmission duration is 2 minutes, the second transmission duration is 0.5 minutes, the waiting duration after sending the synchronization signal is 0.25 minutes, and the waiting duration after sending the time slot configuration message is 0.25 minutes. Then, within the 3 minutes of the sending period, the first sub-period is 0 minutes to 0.25 minutes, the second sub-period is 0.25 minutes to 0.75 minutes, the third sub-period is 0.75 minutes to 1 minute, and the fourth sub-period is 1 minute to 3 minutes. Within the 3 minutes of the sending period, 0 minutes to 0.25 minutes are used to wait for the receiving end to receive the synchronization signal, 0.25 minutes to 0.75 minutes are used to send the time slot configuration message to the receiving end, 0.75 minutes to 1 minute are used to wait for the receiving end to receive the time slot configuration message, and 1 minute to 3 minutes are used to send data to the receiving end.

[0127] S307: After the sending period ends, the sending end turns off the sending mode and the sending control link.

[0128] For example, the corresponding duration within the sending period is 5 minutes. The sending end will start a 5-minute countdown after sending the synchronization signal. After the countdown ends, the sending mode and the sending control link are turned off.

[0129] S308: The receiving end determines whether the time slot configuration message sent by the sending end is received within a preset time length.

[0130] If so, execute S309.

[0131] If not, execute S312.

[0132] The preset time can be set in advance in the system, and the preset time is greater than the preset waiting time. For example, if the preset waiting time is 3 minutes, the preset time can be 5 minutes.

[0133] S309: The receiving end determines a receiving time period according to the received time slot configuration message.

[0134] The receiving time period may be determined in the following manner: the receiving end determines the first transmission time length according to the received time slot configuration message, and determines the time period within the first transmission time length after the time slot configuration message is received as the receiving time period.

[0135] For example, the time slot configuration message received by the receiving end is 01100S0A01. According to the time slot configuration message, it can be determined that the binary information corresponding to the first transmission duration is 0110. According to the binary information corresponding to the first transmission duration, the first transmission duration is determined to be 6 minutes, and the 6 minutes after receiving the time slot configuration message is determined as the receiving period.

[0136] S310: The receiving end receives data sent by the sending end within a receiving period.

[0137] Next, combine Figure 5 , the timing of the data receiving period at the receiving end is explained. Figure 5 This is a timing diagram of the receiving end receiving data during the data receiving period provided in the embodiment of the present application. Figure 5 , the period of receiving data at the receiving end can be divided into two periods, namely the waiting period and the receiving period. Among them, the waiting period is the period from when the receiving module and the receiving control link are turned on to when the time slot configuration message is received. The receiving period is the period from when the time slot configuration message is received to when the data sent by the sending end is received. Among them, the duration corresponding to the waiting period is less than or equal to the preset duration, and the duration corresponding to the second receiving sub-period is the first transmission duration.

[0138] For example, the duration of the receiving period is 3 minutes, of which the waiting period is 1 minute and the receiving period is 2 minutes. Within 0 minutes to 1 minute, the receiving end turns on the receiving module and the receiving control link and receives the time slot configuration message. Within 1 minute to 3 minutes, the receiving end receives the data sent by the sending end.

[0139] S311. After the receiving period ends, the receiving end turns off the receiving mode and the receiving control link.

[0140] For example, the corresponding duration of the receiving period is 3 minutes. After receiving the time slot configuration message, the receiving end will start a 3-minute countdown, and close the receiving mode and the receiving control link after the countdown ends.

[0141] S312: The receiving end turns off the receiving mode and the receiving control link.

[0142] Another data transmission method provided by an embodiment of the present application determines a first transmission duration for sending data before sending data. A time slot configuration message is determined based on the first transmission duration. The transmitting end determines a sending period based on the first transmission duration, the second transmission duration, and a preset waiting period. During the sending period, the sending mode and the sending control link are turned on. The receiving end determines a receiving period based on the time slot configuration message sent by the transmitting end. During the receiving period, the receiving mode and the receiving control link are turned on. In the above process, since the time period when the receiving end turns on the receiving mode and the receiving control link can be determined based on the time slot configuration message, the security of the receiving end of data transmission is improved.

[0143] Figure 6 This is a structural diagram of a data transmission device provided in an embodiment of the present application. Figure 6 , the data transmission device 10 may include:

[0144] The receiving module 11 is used to receive the synchronization signal sent by the transmitting end;

[0145] An opening module 12 is used to open a receiving mode and a receiving control link according to the synchronization signal;

[0146] A determination module 13, used to determine a receiving period;

[0147] The receiving module 11 is also used to receive data sent by the sending end within the receiving period;

[0148] The closing module 14 is used to close the receiving mode and the receiving control link after the receiving period ends.

[0149] The data transmission device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0150] In a possible implementation manner, the receiving module 11 is further configured to receive a time slot configuration message sent by the transmitting end within a preset time length after the receiving module receives the synchronization signal, wherein the time slot configuration message includes a first transmission time length;

[0151] The determining module 13 is specifically configured to determine the receiving time period according to the first transmission duration.

[0152] In a possible implementation manner, the determining module 13 is specifically configured to:

[0153] A time period within the first transmission duration after the time slot configuration message is received is determined as the receiving time period.

[0154] In a possible implementation manner, the closing module 14 is further used for:

[0155] If the time slot configuration message is not received within a preset time period after receiving the synchronization signal, the receiving mode and the receiving control link are closed.

[0156] The data transmission device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0157] Figure 7 This is a schematic diagram of the structure of another data transmission device provided in an embodiment of the present application. Figure 7 , the data transmission device 20 may include:

[0158] The sending module 21 is used to send a synchronization signal to a receiving end;

[0159] The start module 22 is used to start the sending mode and send the control link;

[0160] A determination module 23, used to determine a sending period;

[0161] The sending module 21 is also used to send data to the receiving end within the sending period;

[0162] The closing module 24 is used to close the sending mode and the sending control link after the sending period ends.

[0163] The data transmission device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0164] In a possible implementation manner, the determining module 23 is specifically configured to:

[0165] Determine a first transmission duration of the data and a second transmission duration of the time slot configuration message;

[0166] The sending period is determined according to the first transmission duration, the second transmission duration and a preset waiting duration, wherein the preset waiting duration includes a waiting duration after the synchronization signal is sent and a waiting duration after the time slot configuration message is sent.

[0167] In a possible implementation manner, the determining module 23 is specifically configured to:

[0168] Determine the sum of the first transmission duration, the second transmission duration and a preset waiting duration as a first duration;

[0169] A time period within the first time length after the synchronization signal is sent is determined as the sending time period.

[0170] In a possible implementation manner, the sending module 21 is further configured to:

[0171] Before the sending module sends data to the receiving end, the time slot configuration message is sent to the receiving end, and the time slot configuration message includes the first transmission duration.

[0172] The data transmission device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0173] Figure 8 This is a structural diagram of a data transmission device provided in an embodiment of the present application. Figure 8 The data processing device 30 may include: a memory 31 and a processor 32. Exemplarily, the memory 31 and the processor 32 are interconnected via a bus 33.

[0174] The memory 31 is used to store program instructions;

[0175] The processor 32 is used to execute the program instructions stored in the memory, so as to enable the data transmission device 30 to execute the method shown in the above method embodiment.

[0176] The data transmission device 30 may be arranged at a receiving end or a transmitting end. Optionally, the data transmission device 30 may further include a transceiver.

[0177] The data transmission device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0178] An embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the above method.

[0179] The embodiment of the present application may also provide a computer program product, including a computer program, which can implement the above method when executed by a processor.

[0180] All or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (English: read-only memory, abbreviated: ROM), RAM, flash memory, hard disk, solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.

[0181] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0182] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0183] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0184] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0185] In the present application, the term "include" and its variations may refer to non-restrictive inclusion; the term "or" and its variations may refer to "and / or". The terms "first", "second", etc. in the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In the present application, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previously associated objects are in an "or" relationship.

Claims

1. A data transmission method, characterized in that: The method comprises two parts applied to a receiving end and applied to a sending end; The method applied to the receiving end includes the following steps: receiving a synchronization signal sent by a transmitting end; According to the synchronization signal, start the receiving mode and the receiving control link, and determine the receiving time period; receiving data sent by the transmitting end during the receiving period, and closing the receiving mode and the receiving control link after the receiving period ends; Determine the receiving period, including: Within a preset time length after receiving the synchronization signal, receiving a time slot configuration message sent by the transmitting end, wherein the time slot configuration message includes a first transmission time length; Determining the receiving time period according to the first transmission duration; Determining the receiving time period according to the first transmission duration includes: Determine a time period within the first transmission duration after receiving the time slot configuration message as the receiving time period; The method applied to the sending end includes the following steps: Sending a synchronization signal to the receiving end; Start the sending mode and the sending control link, and determine the sending time period; During the sending period, data is sent to the receiving end, and after the sending period ends, the sending mode and the sending control link are turned off; Determine the sending period, including: Determine a first transmission duration of the data and a second transmission duration of the time slot configuration message; Determine the sending period according to the first transmission duration, the second transmission duration and a preset waiting duration, wherein the preset waiting duration includes a waiting duration after the synchronization signal is sent and a waiting duration after the time slot configuration message is sent; Determining the sending period according to the first transmission duration, the second transmission duration, and a preset waiting duration includes: Determine the sum of the first transmission duration, the second transmission duration and a preset waiting duration as a first duration; A time period within the first time length after the synchronization signal is sent is determined as the sending time period.

2. The method according to claim 1, characterized in that The method further comprises: If the time slot configuration message is not received within a preset time period after the receiving end receives the synchronization signal, the receiving mode and the receiving control link are closed.

3. The method according to claim 1, characterized in that Before sending data to the receiving end, the method further includes: The transmitting end sends the time slot configuration message to the receiving end, and the time slot configuration message includes the first transmission duration.

4. A data transmission device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 3.

5. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: in, The computer instructions are used to enable the computer to execute the method according to any one of claims 1-3.

Citation Information

Patent Citations

  • Method, device and system for synchronously controlling window

    CN101753272A

  • Wireless low-power-consumption configuration method and device

    CN111935691A

  • Wireless synchronous data transmission method and device

    CN111954165A

  • Communication method, communication apparatus, and communication system

    US20100158038A1

  • Data transmission device and a method for activating a data transmission

    US20120320809A1