Turmass time slot grouping method and system

Through the Turmass time slot grouping method and the TDD frame and group identification mechanism, the problem of the number of terminals being greater than the number of time slots and real-time control requirements is solved, efficient data transmission and concurrency capabilities are achieved, and the communication capabilities of the Turmass gateway are enhanced.

CN118741697APending Publication Date: 2024-10-01WUHAN TURBO TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410933233.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing communication architecture cannot effectively solve the needs of the number of terminals being greater than the number of time slots, real-time control and random uplink data transmission in some scenarios, especially in scenarios such as office lighting, air conditioning energy saving control and personnel positioning data transmission on construction sites. , conventional means such as NB, LORAWAN, FSK and zigbee have problems such as low flexibility, high synchronization requirements or insufficient concurrency capabilities.

Method used

Using the Turmass time slot grouping method, the gateway module is set to a TDD frame, including a Tx subframe and multiple Rx subframes, grouped based on the preset time slot grouping strategy, and the group identifier is carried in the Tx frame. Data is sent after detecting the corresponding group identifier to ensure the validity and concurrency of data transmission.

Benefits of technology

Without increasing costs, it minimizes communication conflicts within the system, increases the number of devices that can communicate with a single Turmass gateway, meets transmission requirements per unit time, and improves the flexibility and concurrency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118741697A_ABST
    Figure CN118741697A_ABST
Patent Text Reader

Abstract

The invention provides a Turmass time slot grouping method and system, and the method comprises the steps: setting a module of gateway Turmass as a TDD frame which is composed of a plurality of subframes, the subframes comprise a Tx frame and a plurality of Rx frames, the Tx subframes are used for transmitting a control command to a terminal by a gateway or responding to terminal communication, and the Rx subframes are used for receiving uplink data of the terminal; grouping is carried out based on a preset time slot grouping strategy, and a group identifier corresponding to a group is carried in the Tx frame for communication; and when the terminal needs to communicate, completing data transmission after detecting that the Tx subframe of the gateway carries the group identifier corresponding to the Tx subframe. According to the Turmass time slot grouping method and the Turmass time slot grouping system provided by the invention, software transformation is carried out on the existing Turmass gateway, so that the cost is not increased while the transmission requirement in unit time is met, the internal communication conflict of the system is reduced to the maximum extent, and the number of communication equipment of a single Turmass gateway is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication technology, and more specifically, to a Turmass time slot grouping method and system. Background Art

[0002] In some specific scenarios, such as office lighting and air-conditioning energy-saving control, personnel positioning data transmission at construction sites, and smart parking, there are often certain requirements for communication. Generally, it is required that in time slot mode, the number of terminals be greater than the number of time slots, and there are requirements for both time and number of real-time control and random uplinks.

[0003] For the above scenarios, some conventional means of existing communication architecture often fail to achieve good results. For example, NB device customers cannot coordinate base station access, LORAWAN class A is a competitive mode, class B has high synchronization requirements and low flexibility, and class C also cannot solve the uplink concurrency problem. FSK and lora private communications require customers to design and time slots by themselves, which is difficult for general users to develop. Bluetooth needs to add Bluetooth gateways to increase coverage, and Zigbee has a small number of concurrent connections per unit time.

[0004] Therefore, there is an urgent need for a Turmass time slot grouping method and system to solve the above problems. Summary of the invention

[0005] The present invention provides a method for overcoming the above problems or at least partially solving the above problems. The present invention provides a Turmass time slot grouping method and system. According to a first aspect provided by the present invention, a Turmass time slot grouping method is provided, comprising:

[0006] The module of the gateway Turmass is set to a TDD frame consisting of multiple subframes, wherein the subframe includes a Tx frame and multiple Rx frames, wherein the Tx subframe is used by the gateway to transmit control commands to the terminal or respond to the terminal communication, and the Rx subframe is used to receive the terminal uplink data;

[0007] Grouping is performed based on a preset time slot grouping strategy, and a group identifier corresponding to the group is carried in the Tx frame for communication;

[0008] When the terminal needs to communicate, it detects that the Tx subframe of the gateway carries the group identifier corresponding to itself and completes data transmission.

[0009] Wherein, the method further comprises:

[0010] If the terminal does not detect that the Tx subframe of the gateway carries its corresponding group ID when it needs to communicate, data transmission is canceled.

[0011] The grouping based on a preset time slot grouping strategy includes:

[0012] The number of time slots for communication is designed to be N, and a TDD contains N+1 sub-time slots;

[0013] According to the number of terminals and the number of sub-time slots, the current number of groups is confirmed.

[0014] The step of confirming the current number of groups according to the number of terminals and the number of sub-time slots includes:

[0015]

[0016] Among them, G(M,N) is the number of groups, M is the number of terminals, and N is the number of sub-time slots.

[0017] Wherein, the method further comprises:

[0018] Control the rate, number of time slots, and number of bytes sent to change the cycle length of packet communication.

[0019] The control rate, number of time slots and number of bytes sent change the cycle duration of packet communication, specifically:

[0020]

[0021] Among them, T(M, N) is the cycle length of packet communication, B is the byte to be transmitted by the terminal in the current time slot, R is the rate of wireless transmission, and T x is the transmission time of the first x sub-slots in a time slot, T N is the time of one TDD frame.

[0022] According to a second aspect of the present invention, the present application provides a Turmass time slot grouping system, including: a gateway and a terminal, wherein:

[0023] The module of the gateway Turmass is set as a TDD frame consisting of multiple subframes, wherein the subframe includes a Tx frame and multiple Rx frames, wherein the Tx subframe is used by the gateway to transmit control commands to the terminal or respond to the terminal communication, and the Rx subframe is used to receive the terminal uplink data;

[0024] Grouping is performed based on a preset time slot grouping strategy, and a group identifier corresponding to the group is carried in the Tx frame for communication;

[0025] When the terminal needs to communicate, it detects that the Tx subframe of the gateway carries the group identifier corresponding to itself and completes data transmission.

[0026] According to the third aspect provided by the present invention, the present application also provides an electronic device, which includes: a processor; a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the method described in any one of the first aspects is implemented.

[0027] According to a fourth aspect provided by the present invention, the present application further provides a computer-readable storage medium storing computer program instructions, which, when executed by a computer, enables the computer to execute any one of the methods described in the first aspect.

[0028] The present invention provides a Turmass time slot grouping method and system, which utilizes software modification of an existing Turmass gateway to meet the transmission requirements within a unit time without increasing costs, minimize communication conflicts within the system, and increase the number of communicative devices of a single Tumass gateway. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a flow chart of a Turmass time slot grouping method provided by an embodiment of the present invention;

[0030] Figure 2 It is a structural schematic diagram of a Turmass time slot grouping system provided by an embodiment of the present invention;

[0031] Figure 3 A structural schematic diagram of an electronic device is illustrated. DETAILED DESCRIPTION

[0032] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0033] Figure 1 FIG. 1 is a flow chart of a Turmass time slot grouping method provided by an embodiment of the present invention, such as Figure 1 As shown, including:

[0034] 101. Set the module of the gateway Turmass to a TDD frame consisting of multiple subframes, wherein the subframe includes a Tx frame and multiple Rx frames, wherein the Tx subframe is used for the gateway to transmit a control command to the terminal or a response to the terminal communication, and the Rx subframe is used to receive uplink data of the terminal;

[0035] 102. Grouping is performed based on a preset time slot grouping strategy, and a group identifier corresponding to the group is carried in the Tx frame for communication;

[0036] 103. When the terminal needs to communicate, after detecting that the Tx subframe of the gateway carries the group identifier corresponding to itself, the terminal completes data transmission.

[0037] It is understandable that Turmass has absolute advantages over the above solutions in terms of low cost, wide coverage, and the number of accesses per unit time. Therefore, in order to address the problems existing in the existing technologies, it is only necessary to make effective improvements on the basis of the traditional Turmass networking method to achieve the goal.

[0038] Specifically, in the design scheme of the present invention: the gateway includes a cat1 or network port and a Turmass module working in TDDMaster mode. The gateway is responsible for periodically running TDD. The gateway sends data in the Tx subframe and receives data sent by the terminal in the Rx subframe. A frame of TDD can be divided into N subframes, and each subframe can be set to Tx and Rx mode, as shown in Table 1.

[0039] Table 1. Gateway TDD frame diagram

[0040]

[0041] Thus, the complete design of the TDD frame in step 101 is achieved.

[0042] Next, in step 102, the embodiment of the present invention performs grouping according to a preset time slot grouping strategy. This process is actually that the gateway automatically allocates communication time slots to the terminals to thereby determine the number of groups and complete the corresponding allocation of group identifiers.

[0043] Finally, in step 103, based on the detection of the group identifier, it is determined whether the current terminal needs to send data to complete the communication.

[0044] The invention provides a Turmass time slot grouping method, which utilizes software modification of an existing Turmass gateway to meet the transmission requirements within a unit time without increasing costs, minimize communication conflicts within the system, and increase the number of communicative devices of a single Tumass gateway.

[0045] Based on the above embodiment, the method further includes:

[0046] If the terminal does not detect that the Tx subframe of the gateway carries its corresponding group ID when it needs to communicate, data transmission is canceled.

[0047] Based on the above embodiments, it can be analyzed that after grouping is completed, the gateway periodically sends a TDD with a group identifier, which is carried in the TX of the TDD frame. The TDD frame carries a group identifier each time it runs. When the terminal needs to communicate, it must detect its own group identifier from the Tx subframe in the gateway to pass, otherwise it cannot send data, and the terminal is always in a listen-before-send mode.

[0048] It can be understood that the advantage of this method is that: by using the time slots within the TDD frame and the time slots between the TDD frames, the terminal implements the principle of listening before sending, the terminals do not need to be synchronized, and no interference will occur in the system.

[0049] On the basis of the above embodiment, the grouping based on the preset time slot grouping strategy includes:

[0050] The number of time slots for communication is designed to be N, and a TDD contains N+1 sub-time slots;

[0051] According to the number of terminals and the number of sub-time slots, the current number of groups is confirmed.

[0052] Based on the above embodiment, the step of confirming the current number of packets according to the number of terminals and the number of sub-time slots includes:

[0053]

[0054] Among them, G(M,N) is the number of groups, M is the number of terminals, and N is the number of sub-time slots.

[0055] Specifically, for the grouping rule, it is currently set that when the number of terminals is less than the number of sub-time slots, the sub-time slots are allocated in sequence. When the number of terminals is greater than the number of sub-time slots, grouping is started, and the number of groupings is G (M, N) groups, where M is the number of terminals.

[0056] Based on the above embodiment, the method further includes:

[0057] Control the rate, number of time slots, and number of bytes sent to change the cycle length of packet communication.

[0058] The control rate, number of time slots and number of bytes sent change the cycle duration of packet communication, specifically:

[0059]

[0060] Among them, T(M, N) is the cycle length of packet communication, B is the byte to be transmitted by the terminal in the current time slot, R is the rate of wireless transmission, and T x is the transmission time of the first x sub-slots in a time slot, T N is the time of one TDD frame.

[0061] It can be understood that the solution provided by the embodiment of the present invention can adjust the period of packet communication according to the set rate and time slot, so as to meet the concurrency requirements within a specified time, which is more flexible than other narrowband communication solutions.

[0062] Figure 2 FIG. 1 is a schematic diagram of the structure of a Turmass time slot grouping system provided by an embodiment of the present invention. Figure 2 As shown, it includes: a gateway 201 and a terminal 202, wherein:

[0063] The module of the gateway Turmass is set as a TDD frame consisting of multiple subframes, wherein the subframe includes a Tx frame and multiple Rx frames, wherein the Tx subframe is used by the gateway to transmit control commands to the terminal or respond to the terminal communication, and the Rx subframe is used to receive the terminal uplink data;

[0064] Grouping is performed based on a preset time slot grouping strategy, and a group identifier corresponding to the group is carried in the Tx frame for communication;

[0065] When the terminal needs to communicate, it detects that the Tx subframe of the gateway carries the group identifier corresponding to itself and completes data transmission.

[0066] For details on how to use the gateway 201 and the terminal 202 to perform Turmass time slot grouping, see Figure 1 The embodiments shown are for reference only and the embodiments of the present invention will not be described in detail herein.

[0067] Figure 3 An example of a structural diagram of an electronic device is shown in FIG. Figure 3 As shown, the server may include: a processor 310, a communication interface 320, a memory 330 and a bus 340, wherein the processor 310, the communication interface 320, and the memory 330 communicate with each other through the bus 340. The communication interface 340 can be used for information transmission between the server and the electronic device. The processor 310 can call the logic instructions in the memory 330 to execute the following method: set the module of the gateway Turmass to a TDD frame consisting of multiple subframes, the subframe includes a Tx frame and multiple Rx frames, wherein the Tx subframe is used for the gateway to transmit control commands to the terminal or respond to the terminal communication, and the Rx subframe is used to receive the terminal uplink data; grouping is performed based on a preset time slot grouping strategy, and the group identifier corresponding to the group is carried in the Tx frame for communication; when the terminal needs to communicate, after detecting that the gateway's Tx subframe carries its own corresponding group identifier, the data transmission is completed.

[0068] This embodiment also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: setting the module of the gateway Turmass to a TDD frame consisting of multiple subframes, the subframe including a Tx frame and multiple Rx frames, wherein the Tx subframe is used by the gateway to transmit a control command to the terminal or a response to the terminal communication, and the Rx subframe is used to receive uplink data from the terminal; grouping is performed based on a preset time slot grouping strategy, and the group identifier corresponding to the group is carried in the Tx frame for communication; when the terminal needs to communicate, after detecting that the gateway's Tx subframe carries its own corresponding group identifier, data transmission is completed.

[0069] The present embodiment provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions enable the computer to execute the methods provided by the above-mentioned method embodiments, for example, including: setting the module of the gateway Turmass to a TDD frame consisting of multiple subframes, the subframe including a Tx frame and multiple Rx frames, wherein the Tx subframe is used by the gateway to transmit control commands to the terminal or respond to the terminal communication, and the Rx subframe is used to receive the terminal uplink data; grouping is performed based on a preset time slot grouping strategy, and the group identifier corresponding to the group is carried in the Tx frame for communication; when the terminal needs to communicate, after detecting that the gateway's Tx subframe carries its own corresponding group identifier, data transmission is completed.

[0070] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0071] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0072] Finally, the method of the present application is only a preferred implementation scheme and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A Turmass time slot grouping method, characterized in that: include: The module of the gateway Turmass is set to a TDD frame consisting of multiple subframes, wherein the subframe includes a Tx frame and multiple Rx frames, wherein the Tx subframe is used by the gateway to transmit control commands to the terminal or respond to the terminal communication, and the Rx subframe is used to receive the terminal uplink data; Grouping is performed based on a preset time slot grouping strategy, and a group identifier corresponding to the group is carried in the Tx frame for communication; When the terminal needs to communicate, it detects that the Tx subframe of the gateway carries the group identifier corresponding to itself and completes data transmission.

2. The Turmass time slot grouping method according to claim 1, characterized in that: The method further comprises: If the terminal does not detect that the Tx subframe of the gateway carries its corresponding group ID when it needs to communicate, data transmission is canceled.

3. The Turmass time slot grouping method according to claim 1, characterized in that: The grouping based on a preset time slot grouping strategy includes: The number of time slots for communication is designed to be N, and a TDD contains N+1 sub-time slots; According to the number of terminals and the number of sub-time slots, the current number of groups is confirmed.

4. The Turmass time slot grouping method according to claim 3, characterized in that: The step of confirming the current number of packets according to the number of terminals and the number of sub-time slots includes: Among them, G(M,N) is the number of groups, M is the number of terminals, and N is the number of sub-time slots.

5. The Turmass time slot grouping method according to claim 1, characterized in that: The method further comprises: Control the rate, number of time slots, and number of bytes sent to change the cycle length of packet communication.

6. The Turmass time slot grouping method according to claim 3, characterized in that: The control rate, number of time slots and number of bytes sent change the cycle duration of packet communication, specifically: Among them, T(M, N) is the cycle length of packet communication, B is the byte to be transmitted by the terminal in the current time slot, R is the rate of wireless transmission, and T x is the transmission time of the first x sub-slots in a time slot, T N is the time of one TDD frame.

7. A Turmass time slot grouping system, comprising: Gateways and terminals, where: The module of the gateway Turmass is set as a TDD frame consisting of multiple subframes, wherein the subframe includes a Tx frame and multiple Rx frames, wherein the Tx subframe is used by the gateway to transmit control commands to the terminal or respond to the terminal communication, and the Rx subframe is used to receive the terminal uplink data; Grouping is performed based on a preset time slot grouping strategy, and a group identifier corresponding to the group is carried in the Tx frame for communication; When the terminal needs to communicate, it detects that the Tx subframe of the gateway carries the group identifier corresponding to itself and completes data transmission.

8. An electronic device, characterized in that: The electronic device comprises: a memory and a processor, wherein the memory stores a computer program running on the processor, and is characterized in that the processor implements the method described in any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, characterized in that: when the computer program is executed by a processor, the method described in any one of claims 1 to 6 is implemented.