Communication network node control method, electronic device and storage medium

By broadcasting synchronous data packets in a wireless communication network and updating network table information, the problem of low data transmission efficiency when the central device sends data to multiple peripheral devices is solved, and more efficient communication and resource utilization is achieved.

CN118158792BActive Publication Date: 2025-04-08PHYPLUS INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410160170.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-04
Publication Date
2025-04-08
Estimated Expiration
2044-02-04

AI Technical Summary

Technical Problem

In wireless communication networks, when the central device sends data to multiple peripheral devices, the data transmission efficiency is low, mainly due to problems such as data conflicts and busy channels.

Method used

A communication network node control method is adopted to synchronize data packets through broadcasting, carrying the operation code, the slot number of the target peripheral device, the group number of the target time group and the target time slot number. After receiving the response packet from the target peripheral device, the response confirmation packet is sent and the network table information is updated to indicate the peripheral device occupancy of each time slot in each time group.

Benefits of technology

Through synchronous data packets and precise time slot management, data conflicts and retransmission are reduced, overall communication efficiency is improved, and network resource allocation and utilization are optimized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118158792B_ABST
    Figure CN118158792B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention relate to the field of communication network application layer, and disclose a communication network node control method, electronic device and storage medium. In the present invention, in a one-to-many network structure, time is divided into multiple time groups, and a time group contains multiple time slots. The central device and different peripheral devices perform two-way communication in different time slots. In a time group, the central device sends a synchronization data packet to carry data information, and indicates the receiving peripheral device in the synchronization data packet. Before the central device sends data to multiple peripheral devices, the network position of these peripheral devices is updated to improve the data transmission efficiency, and the peripheral devices are updated to the same time group. The central device sends a synchronization data packet in the time group, so that multiple peripheral devices can synchronously receive the data of the central device. It is expected to improve the communication efficiency of the network, reduce conflicts and optimize network performance, and provide a flexible and efficient management means for the one-to-many network topology structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of application layer in communication network, and in particular to a communication network node control method, electronic device and storage medium. Background Art

[0002] At present, with the increase in the number of devices in the wireless communication network, when the central device needs to send data to multiple peripheral devices, the data transmission often takes a long time and the data transmission efficiency is low. This is mainly caused by problems such as data conflict and channel busyness. Therefore, a network node control method with high communication efficiency is needed. Summary of the invention

[0003] The purpose of the embodiments of the present invention is to provide a communication network node control method, electronic device and storage medium to improve the data transmission efficiency when a central device needs to send data to multiple peripheral devices.

[0004] In order to solve the above technical problems, an embodiment of the present invention provides a communication network node control method, which is applied to a central device, wherein the central device and a plurality of peripheral devices form a one-to-many network topology structure, and the method comprises:

[0005] Broadcasting a synchronization data packet, the synchronization data packet carrying an operation code for indicating a network update type, as well as a current time slot number of a target peripheral device, a group number of a target time group to be jumped to, and a target time slot number;

[0006] After receiving the response packet from the target peripheral device, a response confirmation packet is sent and network table information is updated, wherein the network table information is used to indicate the occupation of each time slot in each time group by the peripheral device; wherein the position of the peripheral device is determined by the time group number and the time slot number.

[0007] The embodiment of the present invention further provides a communication network node control method, which is applied to peripheral devices, wherein a central device and a plurality of the peripheral devices form a one-to-many network topology structure, and the scheduling time is divided into a plurality of time groups, wherein a time group is used to correspond to at least two peripheral devices, and the method comprises:

[0008] Receive a synchronization data packet broadcasted by the central device; wherein the synchronization data packet carries an operation code for indicating a network update type, as well as a current time slot number of a target peripheral device, a target time group number to be jumped to, and a target time slot number;

[0009] In the current time slot number, a response packet is sent to the central device, so that the central device can send a response confirmation packet and update the network table information, wherein the network table information is used to indicate the occupancy status of each time slot in each time group by peripheral devices; wherein the position of the peripheral device is determined by the time group number and the time slot number.

[0010] An embodiment of the present invention also provides an electronic device, characterized in that it includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned communication network node control method.

[0011] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned communication network node control method when executed by a processor.

[0012] The present solution provides a communication network node control method, which is applicable to a one-to-many network topology. By broadcasting a synchronization data packet and carrying an operation code, a time slot number of a target peripheral device, a group number of a target time group, and a target time slot number, the present invention realizes the synchronization and coordination of the network. Once a response packet of a target peripheral device is received, the central device will send a response confirmation packet and update the network table information, which is used to indicate the occupancy of the peripheral devices in each time slot in each time group. The location of the peripheral device is determined by the time group number and the time slot number, thereby realizing the precise positioning and management of the peripheral device. Through the synchronization data packet and precise time slot management, data conflicts and retransmissions are reduced, thereby improving the overall communication efficiency. By updating the network table information, the central device can better understand the occupancy of each time slot, thereby optimizing the resource allocation and utilization of the network. The present invention provides a flexible and efficient management means for a one-to-many network topology, so that the central device can better coordinate and control multiple peripheral devices, thereby optimizing the performance and stability of the entire network.

[0013] In addition, the updating of the network table information includes: setting the current time slot number of the target peripheral device to an idle state, and setting the group number and target time slot number of the target time group of the target peripheral device to an active state. The updating of the network table information is used to indicate the occupancy status of the peripheral devices in each time slot in each time group, thereby optimizing the resource allocation and utilization of the network.

[0014] In addition, after receiving the response packet of the target peripheral device, sending the response confirmation packet includes: receiving the response packet of the target peripheral device in the current time slot number within the time group number to which the target peripheral device currently belongs, and sending the response confirmation packet in the current time slot number. After receiving the response packet of the target peripheral device, sending the response confirmation packet is used to confirm the position of the target peripheral device.

[0015] In addition, after updating the network table information, the method also includes: broadcasting a synchronization data packet within the target time group, the synchronization data packet carrying an operation code for indicating the multi-point data transmission type and a target time slot number of the target peripheral device; and transmitting information with the target peripheral device in the time slot indicated by the target time slot number.

[0016] In addition, after sending a response packet to the central device within the current time slot number, the method also includes: receiving a synchronization data packet within the target time group, the synchronization data packet carrying an operation code for indicating the multi-point data transmission type and the target time slot number of the target peripheral device; and transmitting information with the central device in the time slot indicated by the target time slot number.

[0017] In addition, within the current time slot number, after sending a response packet to the central device and before receiving a synchronization data packet within the target time group, the method further includes: setting a timer to the time interval between the current time and the first synchronization data packet time of the target time group to be jumped; receiving a synchronization data packet within the target time group includes: triggering the reception of the synchronization data packet when the duration set by the timer is reached.

[0018] In addition, transmitting information with the central device in the time slot indicated by the target time slot number includes: sending a response packet to the central device in the time slot indicated by the target time slot number, the response packet carrying an operation code for indicating the multi-point data transmission type, and response information. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] One or more embodiments are exemplarily described by the pictures in the corresponding drawings, and these exemplary descriptions do not constitute limitations on the embodiments.

[0020] Figure 1 This is a flow chart of communication network node control applied to a central device according to an embodiment of the present invention;

[0021] Figure 2 It is a schematic diagram of the interaction between the peripheral device and the central device before changing the network position according to an embodiment of the present invention;

[0022] Figure 3 is a flow chart of communication network node control applied to peripheral equipment according to an embodiment of the present invention;

[0023] Figure 4 It is a schematic diagram of the data transmission process between the peripheral device and the central device after the peripheral device changes the network position according to an embodiment of the present invention;

[0024] Figure 5 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.

[0026] An embodiment of the present invention relates to a communication network node control method, which can be applied to a central device. In this embodiment, the central device and multiple peripheral devices form a one-to-many network topology structure, and the method includes: broadcasting a synchronization data packet, the synchronization data packet carries an operation code for indicating the network update type, and the current time slot number of the target peripheral device, the group number of the target time group to be jumped, and the target time slot number; after receiving the response packet of the target peripheral device, sending a response confirmation packet, and updating the network table information, the network table information is used to indicate the occupation of each time slot in each time group by the peripheral device; wherein the position of the peripheral device is determined by the time group group number and the time slot number. By broadcasting a synchronization data packet and carrying an operation code, the time slot number of the target peripheral device, the group number of the target time group, and the target time slot number, the present invention realizes the synchronization and coordination of the network. Once the response packet of the target peripheral device is received, the central device will send a response confirmation packet and update the network table information, which is used to indicate the occupation of each time slot in each time group by the peripheral device. The location of the peripheral device is determined by the time group number and the time slot number, thereby achieving accurate positioning and management of the peripheral device. By synchronizing data packets and accurate time slot management, data conflicts and retransmissions are reduced, thereby improving the overall communication efficiency. By updating the network table information, the central device can better understand the occupancy of each time slot, thereby optimizing the resource allocation and utilization of the network. The present invention provides a flexible and efficient management method for a one-to-many network topology structure, so that the central device can better coordinate and control multiple peripheral devices, thereby optimizing the performance and stability of the entire network. The implementation details of this embodiment are described in detail below. The following content is only for the convenience of understanding the implementation details provided, and is not necessary for the implementation of this solution.

[0027] This embodiment is applied to the communication network node control process of the central device, such as Figure 1 As shown, including:

[0028] Step 101: The central device starts the transceiver and sends a synchronization data packet.

[0029] The central device sends a synchronization data packet with a specific operation code to the peripheral device, and the synchronization data packet contains the current time slot number of the target peripheral device, the time group number to be jumped, and the time slot number. By sending the synchronization data packet to the peripheral device, the central device realizes the designated control and scheduling of the peripheral device.

[0030] In one example, the central device sends a synchronization data packet with a specific operation code to the peripheral device to instruct the peripheral device to change the data transmission position.

[0031] In one example, the number of synchronization packets sent needs to be calculated. When the number of synchronization packets sent reaches a preset value m, the next step (S102) is entered. If the number of synchronization packets sent does not reach the preset value m, the process returns to S101 and continues to send synchronization packets until step 101' in the figure. The central device continuously sends more than m synchronization packets with the same information, where m is greater than 1, to ensure that the peripheral device can receive at least one synchronization packet.

[0032] Step 102: When the central device sends more than m synchronization data packets, the timer is set to the time interval between the current time and the time of the first synchronization data packet of the target time group to be jumped.

[0033] The timer is set to the time interval between the current time and the first synchronization data packet time of the target time group to be jumped to indicate that the central device receives the response packet of the peripheral device before the first synchronization data packet time of the target time group to be jumped. The central device continuously sends more than m synchronization data packets with the same information, m is greater than 1, to ensure that the peripheral device can receive at least one synchronization data packet.

[0034] Step 103: When the timer expires, the transceiver is started to continuously receive the response packet from the peripheral device.

[0035] Step 104: The central device sends a response confirmation packet and updates the network table information.

[0036] After the central device confirms the response of the peripheral device, it will send a response confirmation packet and update the network table information. Figure 2 As shown, updating the network table information includes setting the time slot number of the current peripheral device to an idle state, and setting the new time group number and time slot number of the peripheral device to an active state.

[0037] In one example, the time slot number of the current peripheral device is set to an idle state, and the new time group number and time slot number of the peripheral device are set to an active state, which is used to update the network position of the peripheral device and update multiple peripheral devices to the same time group, so that the central device only needs to send a synchronization data packet in the time group, and multiple peripheral devices can synchronously receive data from the central device.

[0038] This embodiment achieves network synchronization and coordination by broadcasting a synchronization data packet and carrying an operation code, the time slot number of the target peripheral device, the group number of the target time group and the target time slot number. Once a response packet of the target peripheral device is received, the central device will send a response confirmation packet and update the network table information, which is used to indicate the occupancy of the peripheral device in each time slot in each time group. The location of the peripheral device is determined by the time group number and the time slot number, thereby achieving accurate positioning and management of the peripheral device. Through synchronization data packets and accurate time slot management, data conflicts and retransmissions are reduced, thereby improving the overall communication efficiency. By updating the network table information, the central device can better understand the occupancy of each time slot, thereby optimizing the resource allocation and utilization of the network.

[0039] Another embodiment of the present invention relates to a communication network node control method, which is applied to peripheral devices, wherein a central device and a plurality of the peripheral devices form a one-to-many network topology structure, and the scheduling time is divided into a plurality of time groups, wherein a time group is used to correspond to at least two peripheral devices, including:

[0040] This embodiment is applied to the communication network node control process of the peripheral device, such as Figure 3 As shown, including:

[0041] Step 301: Start the transceiver, and the peripheral device receives the synchronization data packet broadcasted by the central device.

[0042] In one example, the synchronization data packet carries an operation code for indicating the type of network update, as well as the current time slot number of the target peripheral device, the target time group number to be jumped to, and the target time slot number; within the current time slot number, the location of the peripheral device is determined by the time group number and the time slot number.

[0043] Step 302: Start a timer and set the timer to the time interval between the current time and the time of the first synchronization data packet of the target time group to be jumped;

[0044] Step 303: When the timer expires, the transceiver is started, and the peripheral device sends a response packet to the central device.

[0045] In one example, the response packet carries an operation code for indicating a multi-point data transmission type and response information. The peripheral device sends a response packet to the central device for the central device to send a response confirmation packet and update network table information, and the network table information is used to indicate the occupation of each time slot in each time group by the peripheral device. The content of updating the network table information includes setting the time slot number of the current peripheral device to an idle state, and setting the new time group number and time slot number of the peripheral device to an active state.

[0046] Step 304: The peripheral device receives the response confirmation packet sent by the central device, sets the current peripheral device's time slot number to an idle state, and sets the new time group number and time slot number of the peripheral device to an active state, which is used to update the peripheral device's network position and update multiple peripheral devices to the same time group.

[0047] In this embodiment, a one-to-many topology network is implemented to allow the central device and a large number of peripheral devices to maintain stable and fast interactive communication. In a one-to-many network structure, time is divided into multiple time groups, and a time group contains multiple time slots. The central device and different peripheral devices perform two-way communication in different time slots. In a time group, the central device sends a synchronization data packet to carry data information, and indicates the receiving peripheral device in the synchronization data packet. In order to improve the efficiency of data transmission, before the central device sends data to multiple peripheral devices, the network position of these peripheral devices is updated, and these peripheral devices are updated to the same time group. The central device sends a synchronization data packet in the time group, so that multiple peripheral devices can synchronously receive the data of the central device. The network position of the peripheral device is determined by the time group number and the time slot number, and the network grouping control process of the central device on the peripheral device is successfully completed. The implementation of this process is expected to improve the communication efficiency of the network, reduce conflicts and optimize network performance, and provide a flexible and efficient management method for the one-to-many network topology.

[0048] The multi-device data transmission process of the communication network node control method in this embodiment is as follows: Figure 4 As shown, first, the central device sends a synchronization data packet of the network update type operation code, carrying the time group number N and the time slot number M1 to be jumped. This step serves as the trigger point of the entire process. By sending synchronization data packets to peripheral devices, the central device realizes the designated control and scheduling of peripheral devices.

[0049] After receiving the synchronization data packet, peripheral device #1 will send a response packet to confirm that it is ready to perform subsequent operations. After receiving the response from the peripheral device, the central device sends a response confirmation packet to confirm.

[0050] Next, peripheral device #1 sets the timer to the time interval between the current time and the time of the first synchronization packet of the time group to be jumped. When the timer time arrives, peripheral device #1 starts to receive synchronization packets, completes the execution of instructions and updates the network position.

[0051] In one example, the peripheral device #1 sets the timer to the time interval between the current time and the time of the first synchronization data packet of the time group to be jumped to indicate that the peripheral device receives the synchronization data packet before the jump time group.

[0052] Subsequently, the central device updates the network locations of multiple peripheral devices to the same time group according to the above steps. Through this process, the central device can perform efficient data transmission through the multi-point data transmission method. The central device sends a synchronization data packet of a multi-point data transmission type operation code, and the synchronization data packet contains the current time slot number of the target peripheral device, and transmits information with the target peripheral device in the time slot indicated by the target time slot number.

[0053] After receiving the synchronization data packet, multiple peripheral devices send response packets with operation codes of multi-point data transmission type in their respective specific time slots, and the response packets contain response information. After receiving the response packet, the central device sends a response confirmation packet to the peripheral device for confirmation, thereby completing the multi-point data transmission process.

[0054] The steps of the above method are divided only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0055] Another embodiment of the present invention relates to an electronic device, at least one processor 501; and a processor 502 communicatively connected to the at least one processor 501; wherein the processor 502 stores instructions executable by the at least one processor 501, and the instructions are executed by the at least one processor 501 so that the at least one processor 501 can execute the wireless communication scheduling method in the above-mentioned embodiment.

[0056] The processor 502 and the processor 501 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 501 and processor 502 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 501 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 501.

[0057] Processor 501 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. Processor 502 can be used to store data used by processor 501 when performing operations.

[0058] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program, wherein the computer program implements the wireless communication scheduling method in the above embodiment when executed by a processor.

[0059] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0060] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A communication network node control method, characterized in that: Applied to a central device, the central device and multiple peripheral devices form a one-to-many network topology structure, and the central device updates multiple target peripheral devices to the same target time group. The method includes: Broadcasting a synchronization data packet, the synchronization data packet carrying an operation code for indicating a network update type, as well as a current time slot number of a target peripheral device, a group number of a target time group to be jumped to, and a target time slot number; After receiving the response packet of the target peripheral device, a response confirmation packet is sent, and network table information is updated, wherein the network table information is used to indicate the occupation of each time slot in each time group by the peripheral device; wherein the position of the peripheral device is determined by the time group number and the time slot number; Wherein, after updating the network table information, the method further includes: broadcasting a synchronization data packet within the target time group, the synchronization data packet carrying an operation code for indicating a multipoint data transmission type and a target time slot number of the target peripheral device; Information is transmitted with the target peripheral device in the time slot indicated by the target time slot number.

2. The communication network node control method according to claim 1, characterized in that: The updating of network table information includes: The current time slot number of the target peripheral device is set to an idle state, and the group number and the target time slot number of the target time group of the target peripheral device are set to an active state.

3. The communication network node control method according to claim 1, characterized in that: After receiving the response packet of the target peripheral device, sending a response confirmation packet comprises: In the current time slot number within the time group number to which the target peripheral device currently belongs, a response packet of the target peripheral device is received, and a response confirmation packet is sent in the current time slot number.

4. A communication network node control method, characterized in that: Applied to peripheral devices, a central device and a plurality of the peripheral devices form a one-to-many network topology structure, the scheduling time is divided into a plurality of time groups, the central device updates a plurality of target peripheral devices to the same target time group, wherein a time group is used to correspond to at least two peripheral devices, the method comprising: Receive a synchronization data packet broadcasted by the central device; wherein the synchronization data packet carries an operation code for indicating a network update type, as well as a current time slot number of a target peripheral device, a target time group number to be jumped to, and a target time slot number; In the current time slot number, a response packet is sent to the central device, so that the central device can send a response confirmation packet and update network table information, wherein the network table information is used to indicate the occupation of each time slot in each time group by the peripheral device; wherein the position of the peripheral device is determined by the time group number and the time slot number; Wherein, after sending a response packet to the central device in the current time slot number, the method further includes: receiving a synchronization data packet within the target time group, the synchronization data packet carrying an operation code for indicating a multipoint data transmission type and a target time slot number of the target peripheral device; In the time slot indicated by the target time slot number, information is transmitted with the central device.

5. The communication network node control method according to claim 4, characterized in that: After sending a response packet to the central device in the current time slot number and before receiving a synchronization data packet in the target time group, the method further includes: Setting the timer to the time interval between the current time and the time of the first synchronization data packet of the target time group to be jumped; The receiving a synchronization data packet within the target time group includes: When the duration set by the timer is reached, the reception of the synchronization data packet is triggered.

6. The communication network node control method according to claim 4, characterized in that: Transmitting information with the central device in the time slot indicated by the target time slot number, including: In the time slot indicated by the target time slot number, a response packet is sent to the central device, the response packet carrying an operation code for indicating the type of multipoint data transmission and response information.

7. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the communication network node control method as described in any one of claims 1 to 6.

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

Citation Information

Patent Citations

  • Distance-finding method between center node and equipment node in beacon wireless personal area network

    CN101064963A

  • Data transmission method and apparatus

    WO2023050128A1