A terminal device, a method of terminal device communication, and a terminal device

By employing wake-up frames and normal frames in long-distance radio wide area networks, the efficiency and resource consumption issues when sending messages to multiple terminal devices are resolved, thus achieving efficient multi-device communication.

CN115707074BActive Publication Date: 2026-05-19ALIBABA CLOUD COMPUTING CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ALIBABA CLOUD COMPUTING CO LTD
Filing Date
2021-08-16
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In the device-to-device mode of long-distance radio wide area networks, when sending messages to multiple terminal devices, existing technologies require sending multiple messages separately, which is inefficient and consumes a lot of resources.

Method used

By employing a communication method using wake-up frames and normal frames between terminal devices, the wake-up frame carries a set of receiving device addresses, and the terminal device receives the normal frame when it detects its own address. This method supports communication between multiple receiving devices, and the wake-up frame and normal frame can carry different preambles to optimize power consumption and efficiency.

Benefits of technology

This enables the sending device to communicate with multiple receiving devices through a single message, improving communication efficiency and reducing resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115707074B_ABST
    Figure CN115707074B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a method for terminal device communication and a terminal device, the method comprising: the second terminal device receiving any one of one or more wake-up frames sent by a first terminal device; wherein each wake-up frame carries at least a first set of receiving terminal device addresses; and the second terminal device receiving one or more normal frames sent by the first terminal device when detecting that the first set of receiving terminal device addresses contains a device address of the second terminal device. Through the embodiments of the present application, the sending terminal device can communicate with multiple receiving terminal devices through one message, supporting multiple receiving terminal devices, multiple wake-up frames and multiple normal frames, improving communication efficiency and reducing resource consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a method and a terminal device for communication between terminal devices. Background Technology

[0002] Currently, Long Range Radio Wide Area Network (LoRaWAN) is gradually being applied, and the Device-to-Device (D2D) mode in LoRaWAN has brought great convenience to users.

[0003] In the device-to-device mode of long-distance radio wide area networks, when it is necessary to send messages to multiple terminal devices, i.e., when there are multiple receivers, multiple messages must be sent to each terminal device separately. This communication method is inefficient and consumes a lot of resources. Summary of the Invention

[0004] In view of the above problems, a method and a terminal device for communication between terminal devices are proposed to overcome or at least partially solve the above problems, comprising:

[0005] A method for communication between terminal devices, applied to a second terminal device, the method comprising:

[0006] The second terminal device receives any one of one or more wake-up frames sent by the first terminal device; wherein each wake-up frame carries at least a set of addresses of the first receiving terminal device;

[0007] When the second terminal device detects that the device address of the second terminal device is included in the first set of receiving terminal device addresses, it receives one or more ordinary frames sent by the first terminal device.

[0008] Optionally, each wake-up frame also carries first next frame time interval information. When the second terminal device detects that the first set of receiving device addresses contains the device address of the second terminal device, it receives one or more ordinary frames sent by the first terminal device, including:

[0009] When the second terminal device detects that the device address of the second terminal device is included in the first set of receiving terminal device addresses, it receives the first normal frame sent by the first terminal device according to the first next frame time interval information carried in the received wake-up frame.

[0010] Optionally, when multiple ordinary frames exist, the Nth ordinary frame carries information about a second next frame time interval, where N is a positive integer greater than or equal to 1. The second terminal device, upon detecting that the first set of receiving device addresses contains the device address of the second terminal device, receives one or more ordinary frames sent by the first terminal device, further including:

[0011] When the second terminal device receives the Nth ordinary frame sent by the first terminal device, it receives the (N+1)th ordinary frame sent by the first terminal device according to the second next frame time interval information carried in the Nth ordinary frame.

[0012] Optionally, when the first terminal device sends multiple wake-up frames to the second terminal device, the first next frame time interval information carried by each wake-up frame is different.

[0013] Optionally, the wake-up frame includes a preamble portion, and the normal frame includes a preamble portion, wherein the preamble contained in the wake-up frame's preamble portion is different from the preamble contained in the normal frame's preamble portion.

[0014] Optionally, the ordinary frame also carries a second set of receiving device addresses.

[0015] Optionally, the first terminal device and the second terminal device are terminal devices based on long-distance radio wide area networks.

[0016] A method for communication between terminal devices, applied to a first terminal device, the method comprising:

[0017] The first terminal device sends one or more wake-up frames to enable one or more second terminal devices to receive any one of the one or more wake-up frames; wherein each wake-up frame carries at least a first set of receiving device addresses;

[0018] The first terminal device sends one or more ordinary frames, so that the second terminal device receives one or more ordinary frames sent by the first terminal device if it detects that the device address of the second terminal device is included in the first set of receiving device addresses.

[0019] A second terminal device, the second terminal device comprising:

[0020] The wake-up frame receiving module is used to receive any one of one or more wake-up frames sent by the first terminal device; wherein each wake-up frame carries at least a set of addresses of the first receiving terminal device.

[0021] One or more ordinary frame receiving modules are configured to receive one or more ordinary frames sent by the first terminal device when the device address of the second terminal device is detected in the first receiving device address set.

[0022] A first terminal device, the first terminal device comprising:

[0023] A wake-up frame sending module is used to send one or more wake-up frames so that one or more second terminal devices receive any one of the one or more wake-up frames; wherein, the wake-up frame carries at least a first set of receiving device addresses;

[0024] One or more ordinary frame sending modules are configured to send one or more ordinary frames so that the second terminal device receives one or more ordinary frames sent by the first terminal device when it detects that the device address of the second terminal device is included in the first receiving device address set.

[0025] The embodiments of the present invention have the following advantages:

[0026] In this embodiment of the invention, the second terminal device receives one or more wake-up frames sent by the first terminal device. Each wake-up frame carries at least a first set of receiving device addresses. When the device address of the second terminal device is detected in the first set of receiving device addresses, the second terminal device receives one or more ordinary frames sent by the first terminal device. This enables the sending device to communicate with multiple receiving devices through one message, supports multiple receiving devices, multiple wake-up frames, and multiple ordinary frames, improves communication efficiency, and reduces resource consumption. Attached Figure Description

[0027] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0028] Figure 1 This is a flowchart illustrating the steps of a method for communication between terminal devices according to an embodiment of the present invention;

[0029] Figure 2a This is a schematic diagram of a communication example provided in an embodiment of the present invention;

[0030] Figure 2b This is a schematic diagram of a communication example provided in an embodiment of the present invention;

[0031] Figure 3This is a flowchart of another method for communication between terminal devices according to an embodiment of the present invention;

[0032] Figure 4 This is a flowchart of another method for communication between terminal devices according to an embodiment of the present invention;

[0033] Figure 5 This is a flowchart of another method for communication between terminal devices according to an embodiment of the present invention;

[0034] Figure 6 This is a schematic diagram of another communication example provided in an embodiment of the present invention;

[0035] Figure 7 This is a schematic diagram of another communication example provided in an embodiment of the present invention;

[0036] Figure 8 This is a structural block diagram of a second terminal device provided in an embodiment of the present invention;

[0037] Figure 9 This is a structural block diagram of a first terminal device provided in an embodiment of the present invention. Detailed Implementation

[0038] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0039] Reference Figure 1 The diagram illustrates a step flowchart of a method for communication between terminal devices according to an embodiment of the present invention, which can be applied to a second terminal device.

[0040] The second terminal device is a terminal device based on a long-distance radio wide area network, specifically a terminal device based on a device-to-device mode in a long-distance radio wide area network.

[0041] Specifically, it may include the following steps:

[0042] Step 101: The second terminal device receives any one of one or more wake-up frames sent by the first terminal device; wherein each wake-up frame carries at least a set of addresses of the first receiving terminal device.

[0043] The first terminal device is a terminal device based on a long-distance radio wide area network. Specifically, it can be a terminal device based on a device-to-device mode in a long-distance radio wide area network. That is, the first terminal device and the second terminal device communicate using a device-to-device mode in a long-distance radio wide area network.

[0044] like Figure 2a and Figure 2b The wake-up frame may include a preamble and a data portion. The first receiving device address set may be included in the data portion of the wake-up frame. The first receiving device address set may include the device addresses of one or more terminal devices. The device addresses of the one or more terminal devices are the device addresses of the terminal devices to which the first terminal device needs to send messages, and they can be set by the first terminal device according to actual needs.

[0045] When a first terminal device needs to send a message to one or more terminal devices, the first terminal device can first send a wake-up frame. It can send one wake-up frame or multiple wake-up frames, so that multiple wake-up frames can be supported in the device-to-device mode in long-distance radio wide area network.

[0046] like Figure 2a When a wake-up frame is sent to the first terminal device, the processing method is relatively simple and the wake-up rate is high. However, the amount of preamble data is very large, which leads to a large power consumption of the terminal device receiving the wake-up frame.

[0047] like Figure 2b In the case of sending multiple wake-up frames to the first terminal device, the amount of preamble data is relatively small. As long as the terminal device receives any one of the wake-up frames, it can enter a sleep state, reducing power consumption. However, the processing is more complex and the wake-up rate is slightly lower.

[0048] After receiving the wake-up frame sent by the first terminal device, the received wake-up frame can be the only wake-up frame sent by the first terminal device, or it can be any one of the multiple wake-up frames sent by the first terminal device.

[0049] Step 102: When the second terminal device detects that the device address of the second terminal device is included in the first set of receiving terminal device addresses, the second terminal device receives one or more ordinary frames sent by the first terminal device.

[0050] The ordinary frame can include a preamble part and a data part. The preamble part of the wake-up frame can be different from the preamble part of the ordinary frame, so that multiple preambles can be supported in the device-to-device mode of long-distance radio wide area network.

[0051] In one example, the data portion of a normal frame may contain a second set of receiving device addresses. This second set of receiving device addresses may contain the device addresses of one or more terminal devices. These device addresses are the device addresses of the terminal devices to which the first terminal device needs to send messages. The device addresses to which the first terminal device needs to send messages can be set by the first terminal device according to its actual needs. Of course, the data portion of a normal frame also includes a content portion, such as parameter setting commands.

[0052] After reading the first set of receiving device addresses from the data portion of the wake-up frame, the second terminal device can determine whether its own device address is included in the first set of receiving device addresses. If there is only one device address in the first set of receiving device addresses, it can directly determine whether that device address is the same as its own device address.

[0053] If the device address of the first terminal device is not included in the set of device addresses of the first receiving end, it means that the first terminal device does not need to send a message to the second terminal device. In this case, when the first terminal device continues to send ordinary frames, the second terminal device can directly ignore them and not receive them.

[0054] If the device address of the first terminal device is included in the first receiving device address set, it indicates that the first terminal device needs to send a message to the second terminal device. In this case, while the first terminal device continues to send ordinary frames, the second terminal device can further receive subsequent ordinary frames from the first terminal device.

[0055] Specifically, such as Figure 2a and Figure 2b When the communication packet data volume is small, the first terminal device can send a normal frame. When the communication packet data volume is large, it can also send multiple normal frames, so that multiple normal frames can be supported in the device-to-device mode in long-distance radio wide area network.

[0056] In fact, by setting the first set of receiving device addresses, after the first terminal device sends a message, other terminal devices can know whether it is a terminal device that needs to receive the message. If it is not a terminal device that needs to receive the message, it is ignored; if it is a terminal device that needs to receive the message, it can receive the message. This allows a message to be sent to multiple terminal devices. For example, if terminal device A wants to send a parameter setting message to 100 terminal devices, it used to need to send 100 messages one by one to each terminal device. Now, it only needs to send one message to receive it from all 100 terminal devices.

[0057] In this embodiment of the invention, the second terminal device receives one or more wake-up frames sent by the first terminal device. Each wake-up frame carries at least a first set of receiving device addresses. When the device address of the second terminal device is detected in the first set of receiving device addresses, the second terminal device receives one or more ordinary frames sent by the first terminal device. This enables the sending device to communicate with multiple receiving devices through one message, supports multiple receiving devices, multiple wake-up frames, and multiple ordinary frames, improves communication efficiency, and reduces resource consumption.

[0058] Reference Figure 3 The diagram illustrates a flowchart of another method for communication between terminal devices according to an embodiment of the present invention, which can be applied to a second terminal device.

[0059] Specifically, it may include the following steps:

[0060] Step 301: The second terminal device receives any one of one or more wake-up frames sent by the first terminal device; wherein each wake-up frame carries at least the first receiving device address set and the first next frame time interval information.

[0061] The first next frame time interval information can be included in the data part of the wake-up frame. This first next frame time interval information can be used to determine the time information for receiving the first normal frame after the wake-up frame. That is, the first next frame time interval information can be the time interval information between the wake-up frame and the normal frame. For example, the first next frame time interval can be the time interval between the time when the first terminal device sends the wake-up frame and the time interval between the time when the first terminal device sends the first normal frame.

[0062] It should be noted that when the first terminal device sends multiple wake-up frames to the second terminal device, each wake-up frame carries the first next frame time interval information, and the first next frame time interval information carried by each wake-up frame is different. For example, the first wake-up frame writes 1.08 seconds, the second wake-up frame writes 1.03 seconds, and so on. When the first terminal device sends a single wake-up frame to the second terminal device, the wake-up frame may or may not carry the first next frame time interval information, and may directly use the pre-agreed next frame time interval information.

[0063] When a first terminal device needs to send a message to one or more terminal devices, the first terminal device can first send a wake-up frame. It can send one wake-up frame or multiple wake-up frames, so that multiple wake-up frames can be supported in the device-to-device mode in long-distance radio wide area network.

[0064] After receiving the wake-up frame sent by the first terminal device, the received wake-up frame can be the only wake-up frame sent by the first terminal device, or it can be any one of the multiple wake-up frames sent by the first terminal device.

[0065] Step 302: When the second terminal device detects that the first receiving device address set contains the device address of the second terminal device, it receives the first normal frame sent by the first terminal device according to the first next frame time interval information carried in the received wake-up frame. After reading the first receiving device address set from the data portion of the wake-up frame, the second terminal device can determine whether its own device address is included in the first receiving device address set. If only one device address exists in the first receiving device address set, it can directly determine whether that device address is the same as its own device address.

[0066] If the device address of the first terminal device is not included in the set of device addresses of the first receiving end, it means that the first terminal device does not need to send a message to the second terminal device. In this case, when the first terminal device continues to send ordinary frames, the second terminal device can directly ignore them and not receive them.

[0067] If its own device address is included in the first receiving end device address set, it indicates that the first terminal device needs to send a message to the second terminal device. The second terminal device can further obtain the first next frame time interval information from the data part of the wake-up frame.

[0068] Since the first next frame time interval information indicates the time interval for sending the first normal frame, the second terminal device can receive the first normal frame sent by the first terminal device according to the first next frame time interval information. During the interval time corresponding to the first next frame time interval information, the second terminal device can perform operations such as sleep mode to save energy.

[0069] It should be noted that if the first terminal device sends only one normal frame, then the first normal frame referred to here is that normal frame, and there are no subsequent different frames. If the first terminal device sends multiple normal frames, then there will be other normal frames after the first normal frame.

[0070] Reference Figure 4 The diagram illustrates a flowchart of another method for communication between terminal devices according to an embodiment of the present invention, which can be applied to a second terminal device.

[0071] Specifically, it may include the following steps:

[0072] Step 401: The second terminal device receives any one of one or more wake-up frames sent by the first terminal device; wherein each wake-up frame carries at least the first receiving device address set and the first next frame time interval information.

[0073] Step 402: When the second terminal device detects that the device address of the second terminal device is included in the first receiving terminal device address set, the second terminal device receives the first normal frame sent by the first terminal device according to the first next frame time interval information carried in the received wake-up frame.

[0074] Step 403: When the second terminal device receives the Nth ordinary frame sent by the first terminal device, it receives the (N+1)th ordinary frame sent by the first terminal device according to the second next frame time interval information carried in the Nth ordinary frame; wherein, when there are multiple ordinary frames, the Nth ordinary frame carries the second next frame time interval information, and N is a positive integer greater than or equal to 1.

[0075] In the case of multiple normal frames, all normal frames except the last normal frame (including the first normal frame) can carry the second next frame time interval information. The second next frame time interval information can be included in the data part of the normal frame and can be used to determine the time to receive the next normal frame.

[0076] Specifically, the second next frame time interval information can be the time interval information between two adjacent normal frames. It can be set to be the same as the first next frame time interval information. For example, the second next frame time interval carried in the Nth normal frame can be the time interval between the first terminal device sending the Nth normal frame and sending the N+1th normal frame.

[0077] After sending the Nth ordinary frame, the first terminal device may send the (N+1)th ordinary frame according to the second next frame time interval information carried in the Nth ordinary frame, ensuring that there is a time interval corresponding to the second next frame time interval information between two adjacent ordinary frames.

[0078] When the second terminal device receives the Nth ordinary frame sent by the first terminal device, it can receive the N+1th ordinary frame sent by the first terminal device according to the second next frame time interval information carried by the Nth ordinary frame. During the interval time corresponding to the second next frame time interval information, the second terminal device can perform operations such as sleep mode to save energy.

[0079] It should be noted that when the first terminal device sends a single ordinary frame to the second terminal device, the ordinary frame may or may not carry the second next frame time interval information, and may directly use the pre-agreed next frame time interval information. When the first terminal device sends multiple ordinary frames to the second terminal device, the ordinary frames other than the last ordinary frame may or may not carry the second next frame time interval information, and may directly use the pre-agreed next frame time interval information.

[0080] Reference Figure 5 The diagram illustrates a flowchart of another method for communication between terminal devices according to an embodiment of the present invention, which can be applied to a first terminal device.

[0081] The first terminal device is a terminal device based on a long-distance radio wide area network, specifically a terminal device based on a device-to-device mode in a long-distance radio wide area network.

[0082] Specifically, it may include the following steps:

[0083] Step 501: The first terminal device sends one or more wake-up frames so that one or more second terminal devices receive any one of the one or more wake-up frames; wherein each wake-up frame carries at least a set of addresses of the first receiving device.

[0084] The second terminal device is a terminal device based on a long-distance radio wide area network. Specifically, it can be a terminal device based on a device-to-device mode in a long-distance radio wide area network. That is, the first terminal device and the second terminal device communicate using a device-to-device mode in a long-distance radio wide area network.

[0085] like Figure 2a and Figure 2b The wake-up frame may include a preamble and a data portion. The first receiving device address set may be included in the data portion of the wake-up frame. The first receiving device address set may include the device addresses of one or more terminal devices. The device addresses of the one or more terminal devices are the device addresses of the terminal devices to which the first terminal device needs to send messages, and they can be set by the first terminal device according to actual needs.

[0086] When a first terminal device needs to send a message to one or more terminal devices, the first terminal device can first send a wake-up frame. It can send one wake-up frame or multiple wake-up frames, so that multiple wake-up frames can be supported in the device-to-device mode in long-distance radio wide area network.

[0087] like Figure 2aWhen a wake-up frame is sent to the first terminal device, the processing method is relatively simple and the wake-up rate is high. However, the amount of preamble data is very large, which leads to a large power consumption of the terminal device receiving the wake-up frame.

[0088] like Figure 2b In the case of sending multiple wake-up frames to the first terminal device, the amount of preamble data is relatively small. As long as the terminal device receives any one of the wake-up frames, it can enter a sleep state, reducing power consumption. However, the processing is more complex and the wake-up rate is slightly lower.

[0089] After receiving the wake-up frame sent by the first terminal device, the received wake-up frame can be the only wake-up frame sent by the first terminal device, or it can be any one of the multiple wake-up frames sent by the first terminal device.

[0090] Step 502: The first terminal device sends one or more ordinary frames so that the second terminal device can receive one or more ordinary frames sent by the first terminal device if it detects that the device address of the second terminal device is included in the first set of receiving device addresses.

[0091] The ordinary frame can include a preamble part and a data part. The preamble part of the wake-up frame can be different from the preamble part of the ordinary frame, so that multiple preambles can be supported in the device-to-device mode of long-distance radio wide area network.

[0092] In one example, the data portion of a normal frame may contain a second set of receiving device addresses. This second set of receiving device addresses may contain the device addresses of one or more terminal devices. These device addresses are the device addresses of the terminal devices to which the first terminal device needs to send messages. The device addresses to which the first terminal device needs to send messages can be set by the first terminal device according to its actual needs. Of course, the data portion of a normal frame also includes a content portion, such as parameter setting commands.

[0093] After reading the first set of receiving device addresses from the data portion of the wake-up frame, the second terminal device can determine whether its own device address is included in the first set of receiving device addresses. If there is only one device address in the first set of receiving device addresses, it can directly determine whether that device address is the same as its own device address.

[0094] If the device address of the first terminal device is not included in the set of device addresses of the first receiving end, it means that the first terminal device does not need to send a message to the second terminal device. In this case, when the first terminal device continues to send ordinary frames, the second terminal device can directly ignore them and not receive them.

[0095] If the device address of the first terminal device is included in the first receiving device address set, it indicates that the first terminal device needs to send a message to the second terminal device. In this case, while the first terminal device continues to send ordinary frames, the second terminal device can further receive subsequent ordinary frames from the first terminal device.

[0096] Specifically, such as Figure 2a and Figure 2b When the communication packet data volume is small, the first terminal device can send a normal frame. When the communication packet data volume is large, it can also send multiple normal frames, so that multiple normal frames can be supported in the device-to-device mode in long-distance radio wide area network.

[0097] In fact, by setting the first set of receiving device addresses, after the first terminal device sends a message, other terminal devices can know whether it is a terminal device that needs to receive the message. If it is not a terminal device that needs to receive the message, it is ignored; if it is a terminal device that needs to receive the message, it can receive the message. This allows a message to be sent to multiple terminal devices. For example, if terminal device A wants to send a parameter setting message to 100 terminal devices, it used to need to send 100 messages one by one to each terminal device. Now, it only needs to send one message to receive it from all 100 terminal devices.

[0098] In one embodiment of the present invention, each wake-up frame may further carry first next frame time interval information, and step 502 may include:

[0099] The first terminal device sends a first normal frame according to the first next frame time interval information carried in one or more wake-up frames, so that the second terminal device, when it detects that the device address of the second terminal device is included in the first receiving device address set, receives the first normal frame sent by the first terminal device according to the first next frame time interval information carried in the received wake-up frame.

[0100] The first next frame time interval information can be included in the data part of the wake-up frame. This first next frame time interval information can be used to determine the time information for receiving the first normal frame after the wake-up frame. That is, the first next frame time interval information can be the time interval information between the wake-up frame and the normal frame. For example, the first next frame time interval can be the time interval between the time when the first terminal device sends the wake-up frame and the time interval between the time when the first terminal device sends the first normal frame.

[0101] It should be noted that when the first terminal device sends multiple wake-up frames to the second terminal device, each wake-up frame carries the first next frame time interval information, and the first next frame time interval information carried by each wake-up frame is different. For example, the first wake-up frame writes 1.08 seconds, the second wake-up frame writes 1.03 seconds, and so on. When the first terminal device sends a single wake-up frame to the second terminal device, the wake-up frame may or may not carry the first next frame time interval information, and may directly use the pre-agreed next frame time interval information.

[0102] After reading the first set of receiving device addresses from the data portion of the wake-up frame, the second terminal device can determine whether its own device address is included in the first set of receiving device addresses. If there is only one device address in the first set of receiving device addresses, it can directly determine whether that device address is the same as its own device address.

[0103] If the device address of the first terminal device is not included in the set of device addresses of the first receiving end, it means that the first terminal device does not need to send a message to the second terminal device. In this case, when the first terminal device continues to send ordinary frames, the second terminal device can directly ignore them and not receive them.

[0104] If its own device address is included in the first receiving end device address set, it indicates that the first terminal device needs to send a message to the second terminal device. The second terminal device can further obtain the first next frame time interval information from the data part of the wake-up frame.

[0105] Since the first next frame time interval information indicates the time interval for sending the first normal frame, the second terminal device can receive the first normal frame sent by the first terminal device according to the first next frame time interval information. During the interval time corresponding to the first next frame time interval information, the second terminal device can perform operations such as sleep mode to save energy.

[0106] It should be noted that if the first terminal device sends only one normal frame, then the first normal frame referred to here is that normal frame, and there are no subsequent different frames. If the first terminal device sends multiple normal frames, then there will be other normal frames after the first normal frame.

[0107] In one embodiment of the present invention, when there are multiple ordinary frames, the Nth ordinary frame carries the second next frame time interval information, where N is a positive integer greater than or equal to 1. Step 502 may further include:

[0108] After the first terminal device has sent the Nth ordinary frame, it sends the N+1th ordinary frame according to the second next frame time interval information carried in the Nth ordinary frame, so that the second terminal device, after receiving the Nth ordinary frame sent by the first terminal device, receives the N+1th ordinary frame sent by the first terminal device according to the second next frame time interval information carried in the Nth ordinary frame.

[0109] In the case of multiple normal frames, all normal frames except the last normal frame (including the first normal frame) can carry the second next frame time interval information. The second next frame time interval information can be included in the data part of the normal frame and can be used to determine the time to receive the next normal frame.

[0110] Specifically, the second next frame time interval information can be the time interval information between two adjacent normal frames. It can be set to be the same as the first next frame time interval information. For example, the second next frame time interval carried in the Nth normal frame can be the time interval between the first terminal device sending the Nth normal frame and sending the N+1th normal frame.

[0111] After sending the Nth ordinary frame, the first terminal device may send the (N+1)th ordinary frame according to the second next frame time interval information carried in the Nth ordinary frame, ensuring that there is a time interval corresponding to the second next frame time interval information between two adjacent ordinary frames.

[0112] When the second terminal device receives the Nth ordinary frame sent by the first terminal device, it can receive the N+1th ordinary frame sent by the first terminal device according to the second next frame time interval information carried by the Nth ordinary frame. During the interval time corresponding to the second next frame time interval information, the second terminal device can perform operations such as sleep mode to save energy.

[0113] It should be noted that when the first terminal device sends a single ordinary frame to the second terminal device, the ordinary frame may or may not carry the second next frame time interval information, and may directly use the pre-agreed next frame time interval information. When the first terminal device sends multiple ordinary frames to the second terminal device, the ordinary frames other than the last ordinary frame may or may not carry the second next frame time interval information, and may directly use the pre-agreed next frame time interval information.

[0114] In this embodiment of the invention, a first terminal device sends one or more wake-up frames to enable one or more second terminal devices to receive any one of the wake-up frames. Each wake-up frame carries at least a first set of receiving device addresses. Then, one or more ordinary frames are sent. If the second terminal device detects that the first set of receiving device addresses contains the device address of the second terminal device, it can receive one or more ordinary frames sent by the first terminal device. This enables the sending device to communicate with multiple receiving devices through a single message, supports multiple receiving devices, multiple wake-up frames, and multiple ordinary frames, improves communication efficiency, and reduces resource consumption.

[0115] The following combination Figure 6 and Figure 7 An exemplary illustration of a device-to-device communication process in a long-distance radio wide area network:

[0116] exist Figure 6 In this scenario, terminal device A needs to send a message to terminal device B, but does not need to send a message to terminal device C. The specific process is as follows:

[0117] 1. Terminal device B and terminal device C receive the wake-up frame preamble portion sent by terminal device A.

[0118] 2. Terminal device B and terminal device C receive the wake-up frame data portion sent by terminal device A. The wake-up frame data portion includes at least: the address of the receiving device (i.e., the first set of receiving device addresses, which may contain only the device address of one terminal device) and the next frame time interval information (i.e., the address of the second receiving device).

[0119] 3. If terminal device B determines that the receiving device address in the wake-up frame data part is the same as its own device address, it will read the next frame time interval information in the wake-up frame data part.

[0120] 4. If terminal device C determines that the receiving device address in the wake-up frame data portion is different from its own device network address, it will not perform any further processing.

[0121] 5. Terminal device B receives the preamble portion of the ordinary frame sent by terminal device A.

[0122] The time interval between steps 2 and 5 is the time interval between the next frame in the wake-up frame data section.

[0123] 6. Terminal device B receives the ordinary frame data portion sent by terminal device A. The ordinary frame data portion includes at least: the receiving device address (i.e., the second set of receiving device addresses, which is optional) and the next frame time interval information (i.e., the second next frame time interval information, which may contain only the device address of one terminal device, which is optional).

[0124] exist Figure 6 In this scenario, terminal device A needs to send messages to terminal devices B and D, but not to terminal device C. The specific process is as follows:

[0125] 1. Terminal device B, terminal device C, and terminal device D receive the wake-up frame preamble portion sent by terminal device A.

[0126] 2. Terminal device B, terminal device C, and terminal device D receive the wake-up frame data portion sent by terminal device A. The wake-up frame data portion includes at least: a set of receiving device addresses (i.e., the first set of receiving device addresses, which may contain only the device addresses of multiple terminal devices) and the next frame time interval (i.e., the second receiving device address).

[0127] 3. If terminal device B and terminal device D determine that the set of receiving device addresses in the wake-up frame data portion includes their own device addresses, then they read the next frame time interval information in the wake-up frame data portion.

[0128] 4. If terminal device C determines that the set of receiving device addresses in the wake-up frame data does not include its own device address, it will not perform any further processing.

[0129] 5. Terminal device B and terminal device D receive the preamble portion of the ordinary frame sent by terminal device A.

[0130] The time interval between steps 2 and 5 is the time interval between the next frame in the wake-up frame data section.

[0131] 6. Terminal device B and terminal device D receive the ordinary frame data portion sent by terminal device A. The ordinary frame data portion includes at least: the receiving device address (i.e., the second set of receiving device addresses, which is optional) and the next frame time interval information (i.e., the second next frame time interval information, which may contain only the device address of one terminal device, which is optional).

[0132] Reference Figure 8 The diagram illustrates a structural schematic of a second terminal device according to an embodiment of the present invention, which may specifically include the following modules:

[0133] The wake-up frame receiving module 801 is used to receive any one of one or more wake-up frames sent by the first terminal device; wherein each wake-up frame carries at least a set of addresses of the first receiving terminal device.

[0134] One or more ordinary frame receiving modules 802 are configured to receive one or more ordinary frames sent by the first terminal device when the device address of the second terminal device is detected in the first receiving device address set.

[0135] In one embodiment of the present invention, each wake-up frame further carries first next frame time interval information, and one or more ordinary frame receiving modules 802 may include:

[0136] The first normal frame receiving submodule is used to receive the first normal frame sent by the first terminal device according to the first next frame time interval information carried in the received wake-up frame when the device address of the second terminal device is detected in the first receiving end device address set.

[0137] In one embodiment of the present invention, when multiple ordinary frames exist, the Nth ordinary frame carries information about a second next frame time interval, where N is a positive integer greater than or equal to 1. One or more ordinary frame receiving modules 802 may further include:

[0138] The (N+1)th normal frame receiving submodule is used to receive the (N+1)th normal frame sent by the first terminal device according to the second next frame time interval information carried in the Nth normal frame when the Nth normal frame is received.

[0139] In one embodiment of the present invention, when the first terminal device sends multiple wake-up frames to the second terminal device, the first next frame time interval information carried by each wake-up frame is different.

[0140] In one embodiment of the present invention, the wake-up frame includes a preamble portion, and the normal frame includes a preamble portion. The preamble portion of the wake-up frame contains a different preamble portion than the preamble portion of the normal frame.

[0141] In one embodiment of the present invention, the ordinary frame also carries a second set of receiving device addresses.

[0142] In one embodiment of the present invention, the first terminal device and the second terminal device are terminal devices based on a long-distance radio wide area network.

[0143] In this embodiment of the invention, the second terminal device receives one or more wake-up frames sent by the first terminal device. Each wake-up frame carries at least a first set of receiving device addresses. When the device address of the second terminal device is detected in the first set of receiving device addresses, the second terminal device receives one or more ordinary frames sent by the first terminal device. This enables the sending device to communicate with multiple receiving devices through one message, supports multiple receiving devices, multiple wake-up frames, and multiple ordinary frames, improves communication efficiency, and reduces resource consumption.

[0144] Reference Figure 9 The diagram illustrates the structure of a first terminal device according to an embodiment of the present invention, which may specifically include the following modules:

[0145] The wake-up frame sending module 901 is used to send one or more wake-up frames so that one or more second terminal devices can receive any one of the one or more wake-up frames; wherein, the wake-up frame carries at least a first set of receiving device addresses;

[0146] One or more ordinary frame sending modules 902 are used to send one or more ordinary frames so that the second terminal device can receive one or more ordinary frames sent by the first terminal device when it detects that the device address of the second terminal device is included in the first receiving device address set.

[0147] In one embodiment of the present invention, each wake-up frame may further carry first next frame time interval information, and one or more ordinary frame sending modules 902 may include:

[0148] The first normal frame sending submodule is used to send the first normal frame according to the first next frame time interval information carried in one or more wake-up frames, so that the second terminal device can receive the first normal frame sent by the first terminal device according to the first next frame time interval information carried in the received wake-up frame when it detects that the device address of the second terminal device is included in the first receiving device address set.

[0149] In one embodiment of the present invention, when there are multiple ordinary frames, the Nth ordinary frame carries information about the second next frame time interval, where N is a positive integer greater than or equal to 1. One or more ordinary frame sending modules 902 may further include:

[0150] The (N+1)th normal frame transmission submodule is used to transmit the (N+1)th normal frame according to the second next frame time interval information carried in the Nth normal frame, after the Nth normal frame has been transmitted, so that the second terminal device can receive the (N+1)th normal frame sent by the first terminal device according to the second next frame time interval information carried in the Nth normal frame after receiving the Nth normal frame sent by the first terminal device.

[0151] In one embodiment of the present invention, when the first terminal device sends multiple wake-up frames to the second terminal device, the first next frame time interval information carried by each wake-up frame is different.

[0152] In one embodiment of the present invention, the wake-up frame includes a preamble portion, and the normal frame includes a preamble portion. The preamble portion of the wake-up frame contains a different preamble portion than the preamble portion of the normal frame.

[0153] In one embodiment of the present invention, the ordinary frame also carries a second set of receiving device addresses.

[0154] In one embodiment of the present invention, the first terminal device and the second terminal device are terminal devices based on a long-distance radio wide area network.

[0155] In this embodiment of the invention, a first terminal device sends one or more wake-up frames to enable one or more second terminal devices to receive any one of the wake-up frames. Each wake-up frame carries at least a first set of receiving device addresses. Then, one or more ordinary frames are sent. If the second terminal device detects that the first set of receiving device addresses contains the device address of the second terminal device, it can receive one or more ordinary frames sent by the first terminal device. This enables the sending device to communicate with multiple receiving devices through a single message, supports multiple receiving devices, multiple wake-up frames, and multiple ordinary frames, improves communication efficiency, and reduces resource consumption.

[0156] An embodiment of the present invention also provides an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, it implements the above-described method for communication between terminal devices.

[0157] An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, it implements the method for communication between terminal devices as described above.

[0158] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0159] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0160] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0161] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0162] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0163] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0164] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0165] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0166] The above provides a detailed description of a method for communication between terminal devices and a terminal device. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for communication between terminal devices, characterized in that, Applied to a second terminal device, the method includes: The second terminal device receives any one of one or more wake-up frames sent by the first terminal device; wherein each wake-up frame carries at least a set of addresses of the first receiving terminal device; When the second terminal device detects that the device address of the second terminal device is included in the first set of receiving terminal device addresses, it receives one or more ordinary frames sent by the first terminal device. Each wake-up frame also carries first next frame time interval information. During the interval corresponding to the first next frame time interval information, the second terminal device performs a sleep operation. When the second terminal device detects that the device address of the second terminal device is included in the first receiving device address set, it receives one or more ordinary frames sent by the first terminal device, including: When the second terminal device detects that the device address of the second terminal device is included in the first set of receiving terminal device addresses, it receives the first normal frame sent by the first terminal device according to the first next frame time interval information carried in the received wake-up frame. In the presence of multiple ordinary frames, the Nth ordinary frame carries information about the second next frame time interval, where N is a positive integer greater than or equal to 1. When the second terminal device detects that the first receiving device address set contains the device address of the second terminal device, it receives one or more ordinary frames sent by the first terminal device, further including: When the second terminal device receives the Nth ordinary frame sent by the first terminal device, it receives the (N+1)th ordinary frame sent by the first terminal device according to the second next frame time interval information carried in the Nth ordinary frame.

2. The method according to claim 1, characterized in that, When the first terminal device sends multiple wake-up frames to the second terminal device, the first next frame time interval information carried by each wake-up frame is different.

3. The method according to claim 1, characterized in that, The wake-up frame includes a preamble portion, and the normal frame includes a preamble portion. The preamble contained in the wake-up frame's preamble portion is different from the preamble contained in the normal frame's preamble portion.

4. The method according to claim 1, characterized in that, The ordinary frame also carries a set of addresses of the second receiving device.

5. The method according to claim 1, characterized in that, The first terminal device and the second terminal device are terminal devices based on long-distance radio wide area networks.

6. A method for communication between terminal devices, characterized in that, Applied to a first terminal device, the method includes: The first terminal device sends one or more wake-up frames to enable one or more second terminal devices to receive any one of the one or more wake-up frames; wherein each wake-up frame carries at least a first set of receiving device addresses; The first terminal device sends one or more ordinary frames, so that the second terminal device receives one or more ordinary frames sent by the first terminal device when it detects that the device address of the second terminal device is included in the first receiving device address set; Each wake-up frame may also carry a first next frame time interval information. During the interval corresponding to the first next frame time interval information, the second terminal device performs a sleep operation, and the first terminal device sends one or more normal frames, so that the second terminal device receives one or more normal frames sent by the first terminal device when it detects that the device address of the second terminal device is included in the first receiving device address set, including: The first terminal device sends a first normal frame according to the first next frame time interval information carried in one or more wake-up frames, so that the second terminal device, when it detects that the device address of the second terminal device is included in the first receiving device address set, receives the first normal frame sent by the first terminal device according to the first next frame time interval information carried in the received wake-up frame; In the presence of multiple ordinary frames, the Nth ordinary frame carries information about the second next frame time interval, where N is a positive integer greater than or equal to 1. The first terminal device sends one or more ordinary frames so that the second terminal device, upon detecting that the first receiving device address set contains the device address of the second terminal device, receives one or more ordinary frames sent by the first terminal device, including: When the first terminal device has already sent the Nth normal frame, it sends the N+1th normal frame according to the second next frame time interval information carried in the Nth normal frame, so that when the second terminal device receives the Nth normal frame sent by the first terminal device, it receives the N+1th normal frame sent by the first terminal device according to the second next frame time interval information carried in the Nth normal frame.

7. A second terminal device, characterized in that, The second terminal device includes: The wake-up frame receiving module is used to receive any one of one or more wake-up frames sent by the first terminal device; wherein each wake-up frame carries at least a set of addresses of the first receiving terminal device. One or more ordinary frame receiving modules are configured to receive one or more ordinary frames sent by the first terminal device when the device address of the second terminal device is detected in the first receiving end device address set; Each wake-up frame also carries first next frame time interval information. During the interval corresponding to the first next frame time interval information, the second terminal device performs a sleep operation. The one or more normal frame receiving modules include: The first normal frame receiving submodule is used to receive the first normal frame sent by the first terminal device according to the first next frame time interval information carried in the received wake-up frame when the device address of the second terminal device is detected in the first receiving end device address set. In the presence of multiple ordinary frames, the Nth ordinary frame carries information about the second next frame time interval, where N is a positive integer greater than or equal to 1. The one or more ordinary frame receiving modules further include: The (N+1)th normal frame receiving submodule is used to receive the (N+1)th normal frame sent by the first terminal device according to the second next frame time interval information carried in the Nth normal frame when the Nth normal frame is received.

8. A first terminal device, characterized in that, The first terminal device includes: A wake-up frame sending module is used to send one or more wake-up frames so that one or more second terminal devices receive any one of the one or more wake-up frames; wherein, the wake-up frame carries at least a first set of receiving device addresses; One or more ordinary frame sending modules are configured to send one or more ordinary frames so that the second terminal device receives one or more ordinary frames sent by the first terminal device when it detects that the device address of the second terminal device is included in the first receiving device address set; Each wake-up frame may also carry first next frame time interval information. During the interval corresponding to the first next frame time interval information, the second terminal device performs a sleep operation. The one or more normal frame sending modules include: The first normal frame sending submodule is used to send a first normal frame according to the first next frame time interval information carried in one or more wake-up frames, so that the second terminal device can receive the first normal frame sent by the first terminal device according to the first next frame time interval information carried in the received wake-up frame when it detects that the device address of the second terminal device is included in the first receiving device address set. In the presence of multiple ordinary frames, the Nth ordinary frame carries information about the second next frame time interval, where N is a positive integer greater than or equal to 1. The one or more ordinary frame transmission modules further include: The (N+1)th normal frame transmission submodule is used to transmit the (N+1)th normal frame according to the second next frame time interval information carried in the Nth normal frame, after the Nth normal frame has been transmitted, so that the second terminal device, after receiving the Nth normal frame transmitted by the first terminal device, can receive the (N+1)th normal frame transmitted by the first terminal device according to the second next frame time interval information carried in the Nth normal frame.