HPLC (High Performance Liquid Chromatography) dual-mode wireless method for reducing wireless beacon time slot multiplexing of proxy node
In the HPLC dual-mode system, beacon time slots are set according to the network topology diagram to reduce proxy wireless beacon time slot reuse, solve the problem of frequent proxy wireless beacon time slot reuse, and improve data transmission efficiency.
Patent Information
- Application Number
- CN202410764631.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-08
AI Technical Summary
In the existing HPLC dual-mode system, the problem of frequent multiplexing of proxy wireless beacon time slots affects the data transmission efficiency.
By obtaining the network topology diagram of the master node, determining the number and type of slave nodes, and setting the beacon time slots of multiple discovery nodes of the same type corresponding to the agent node in the same beacon cycle, reducing the complexity of agent wireless beacon time slots. use.
It effectively reduces the multiplexing of proxy wireless beacon time slots, improves data transmission efficiency, and reduces the number of streamlined beacons sent in carrier listening multiple access time slots.
Smart Images

Figure CN118748841A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of computer technology, and in particular to a method for reducing time slot multiplexing of wireless beacons of proxy nodes using HPLC dual-mode wireless. Background Art
[0002] With the development of science and technology, smart grid meter reading systems, energy Internet, smart homes, industrial data collection, etc. are becoming more and more widely integrated into people's production and life. The above applications require data transmission during use. Common data transmission methods include high-speed power line carrier (HPLC) dual-mode system, that is, a communication module or communication equipment that uses high-speed power line carrier and high-speed wireless communication technology for data transmission; in the HPLC dual-mode system, the beacon slot is divided into a discovery beacon slot and a proxy beacon slot according to different nodes.
[0003] In the prior art, in the dual-mode specification of the HPLC dual-mode system, the node has a set time slot scheduling rule. When the master node arranges the discovery beacon time slot in a beacon period, if the scheduling algorithm is a random schedule, due to the set time slot scheduling rule, the problem of frequent proxy wireless beacon time slot reuse will occur.
[0004] In summary, how to reduce the proxy wireless beacon time slot reuse is a problem that needs to be solved at present. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a method for reducing time slot reuse of proxy node wireless beacons in a HPLC dual-mode wireless manner, which can reduce time slot reuse of proxy wireless beacons.
[0006] In a first aspect, an embodiment of the present invention provides a method for reducing time slot multiplexing of a wireless beacon of a proxy node by using a HPLC dual-mode wireless communication system, the method comprising:
[0007] Get the network topology corresponding to the master node;
[0008] Determine the number and type of slave nodes in the network topology diagram, wherein the types of the slave nodes are divided into proxy nodes and discovery nodes, and the types of the discovery nodes are divided into wireless discovery nodes and wired discovery nodes;
[0009] The beacon time slots of the slave nodes are set in at least one beacon period according to the number and type of the slave nodes, wherein the beacon time slots of multiple discovery nodes of the same type corresponding to the same proxy node are set in the same beacon period.
[0010] Optionally, setting the beacon timeslot of the slave node in at least one beacon period according to the number and type of the slave node specifically includes:
[0011] Determining a first number of the beacon periods according to the number of nodes discovered from the slave nodes;
[0012] A beacon slot for the discovery node is set within the first number of beacon periods.
[0013] Optionally, the setting a beacon time slot of the discovery node within the first number of beacon periods specifically includes:
[0014] In the same beacon period, the beacon time slots of the wireless discovery nodes corresponding to the same proxy node are set in the same beacon period, wherein all the wireless discovery nodes are non-proxy nodes.
[0015] Optionally, the setting a beacon time slot of the discovery node within the first number of beacon periods specifically includes:
[0016] In the same beacon period, the beacon timeslot of the wired discovery node corresponding to the same proxy node is set in the same beacon period.
[0017] Optionally, setting the beacon timeslot of the slave node in at least one beacon period according to the number and type of the slave nodes specifically includes:
[0018] The beacon time slot of the proxy node in the slave node is set in each beacon period, wherein the beacon time slot of the proxy node is set before the beacon time slot of the corresponding discovery node.
[0019] Optionally, the method further includes:
[0020] Set the wireless beacon flag of each slave node in each beacon cycle.
[0021] Optionally, the method further includes:
[0022] Update the network topology map corresponding to the master node.
[0023] In a second aspect, an embodiment of the present invention provides a device for reducing time slot multiplexing of a wireless beacon of a proxy node by using a HPLC dual-mode wireless method, the device comprising:
[0024] An acquisition unit, used to acquire a network topology diagram corresponding to the master node;
[0025] A determination unit, configured to determine the number and type of slave nodes in the network topology diagram, wherein the types of the slave nodes are divided into proxy nodes and discovery nodes, and the types of the discovery nodes are divided into wireless discovery nodes and wired discovery nodes;
[0026] A setting unit is used to set the beacon time slot of the slave node within at least one beacon period according to the number and type of the slave nodes, wherein the beacon time slots of multiple discovery nodes of the same type corresponding to the same proxy node are set within the same beacon period.
[0027] Optionally, the setting unit is specifically used to:
[0028] Determining a first number of the beacon periods according to the number of nodes discovered from the slave nodes;
[0029] A beacon slot for the discovery node is set within the first number of beacon periods.
[0030] Optionally, the setting unit is specifically used to:
[0031] In the same beacon period, the beacon time slots of the wireless discovery nodes corresponding to the same proxy node are set in the same beacon period, wherein all the wireless discovery nodes are non-proxy nodes.
[0032] Optionally, the setting unit is specifically used to:
[0033] In the same beacon period, the beacon timeslot of the wired discovery node corresponding to the same proxy node is set in the same beacon period.
[0034] Optionally, the setting unit is specifically used to:
[0035] The beacon time slot of the proxy node in the slave node is set in each beacon period, wherein the beacon time slot of the proxy node is set before the beacon time slot of the corresponding discovery node.
[0036] Optionally, the setting unit is further used for:
[0037] Set the wireless beacon flag of each slave node in each beacon cycle.
[0038] Optionally, the device further comprises:
[0039] An updating unit is used to update the network topology map corresponding to the master node.
[0040] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement a method as described in the first aspect or any possible embodiment of the first aspect.
[0041] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, the program being executed by a processor to implement a method as described in the first aspect or any possible embodiment of the first aspect.
[0042] The embodiment of the present invention obtains the network topology map corresponding to the master node; determines the number and type of slave nodes in the network topology map, wherein the types of the slave nodes are divided into proxy nodes and discovery nodes, and the types of the discovery nodes are divided into wireless discovery nodes and wired discovery nodes; sets the beacon slots of the slave nodes in at least one beacon period according to the number and type of the slave nodes, wherein the beacon slots of multiple discovery nodes of the same type corresponding to the same proxy node are set in the same beacon period. By the above method, when setting the beacon slots, the beacon slots of multiple discovery nodes are set in the same beacon period, which can reduce the reuse of the proxy wireless beacon slots, and the proxy wireless beacon slots are the wireless beacon slots corresponding to the proxy nodes. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0044] Figure 1 is a schematic diagram of a network topology structure in an embodiment of the present invention;
[0045] Figure 2 It is a flow chart of a method for reducing time slot multiplexing of wireless beacons of proxy nodes in a HPLC dual-mode wireless communication according to an embodiment of the present invention;
[0046] Figure 3 Another schematic diagram of a network topology structure in an embodiment of the present invention;
[0047] Figure 4 Another flow chart of a method for reducing time slot multiplexing of wireless beacons of proxy nodes by using HPLC dual-mode wireless in an embodiment of the present invention;
[0048] Figure 5 A schematic diagram of a beacon period in an embodiment of the present invention;
[0049] Figure 6 A schematic diagram of a device for reducing time slot multiplexing of wireless beacons of proxy nodes using dual-mode HPLC in an embodiment of the present invention;
[0050] Figure 7 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The present invention is described below based on the embodiments, but the present invention is not limited to these embodiments. In the detailed description of the present invention below, some specific details are described in detail. It is possible for a person skilled in the art to fully understand the present invention without the description of these details. In order to avoid confusing the essence of the present invention, known methods, processes, procedures, components and circuits are not described in detail.
[0052] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.
[0053] Unless the context clearly requires otherwise, the words "include", "comprising" and similar words throughout the application should be interpreted as including rather than exclusive or exhaustive; that is, the meaning is "including but not limited to".
[0054] In the description of the present invention, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" is two or more.
[0055] In the prior art, commonly used data transmission methods include HPLC. High-speed power line carrier is also called broadband power line carrier. It is a broadband power line carrier technology for data transmission on low-voltage power lines. The broadband power line carrier communication network uses power lines as communication media to realize the aggregation, transmission and interaction of electricity consumption information of low-voltage power users. The broadband power line carrier mainly adopts OFDM technology, and the frequency band uses 2MHz-12MHz. Since the above communication methods cannot realize the data transmission in wireless space, the HPLC dual-mode system is proposed in the prior art, that is, a communication module or communication equipment that uses high-speed power line carrier and high-speed wireless communication technology for data transmission. Among them, the high-speed wireless communication technology in the HPLC dual-mode system is an effective supplement to the high-speed power line carrier technology. It is a broadband carrier technology for data transmission in wireless space. It adopts OFDM technology and the communication frequency band supports 470MHz~510MHz.
[0056] In the HPLC dual-mode system, the beacon time slots are divided into different types according to the different nodes in the network topology diagram, such as Figure 1 As an example, the network topology diagram shown in FIG. 1 is used to explain in detail the different types of different nodes. Figure 1The network topology diagram includes 19 nodes, namely node 1, node 2, node 3, node 4, node 5, node 6, node 7, node 8, node 9, node 10, node 11, node 12, node 13, node 14, node 15, node 16, node 17, node 18 and node 19, among which node 1 is the main node, which can also be called the central coordinator (CCO) node, node 2 and node 3 are proxy nodes, and their corresponding time slot types are proxy beacon time slots, node 4, node 5, node 6, node 7, node 8, node 9, node 10, node 11, node 12, node 13, node 14, node 15, node 16, node 17, node 18 and node 19 are discovery nodes, and their corresponding time slot types are discovery beacon time slots; the directly connected child nodes of node 2 are nodes 12, node 13, node 14 and node 15 Specifically, the node 12 and the node 13 are directly connected wireless child nodes of the node 2, and the node 12 and the node 13 are not proxy nodes, and the node 14 and the node 15 are directly connected wired child nodes of the node 2; the directly connected child nodes of the node 3 are the node 16, the node 17, the node 18 and the node 19, specifically, the node 16 and the node 17 are directly connected wired child nodes of the node 3, and the node 18 and the node 19 are directly connected wireless child nodes of the node 3, and the node 18 and the node 19 are not proxy nodes.
[0057] In the dual-mode specification of the HPLC dual-mode system, the node has a set time slot scheduling rule. When the master node arranges the discovery beacon time slot in a beacon period, if the scheduling algorithm is a random arrangement, due to the set time slot scheduling rule, the problem of frequent proxy wireless beacon time slot reuse will occur; specifically, the time slot scheduling rule is as follows:
[0058] Rule 1: The wireless beacon frame preferentially reuses the high-speed carrier beacon time slot. That is, in the same time slot, there is a node sending a beacon on the high-speed carrier and a node sending a beacon on the wireless. Rule 2: The discovery node sends a wireless simplified beacon frame on the wireless channel. Rule 3: The directly connected child nodes of the proxy node can communicate through the high-speed carrier, so the proxy node sends a wireless simplified beacon frame on the wireless. Rule 4: Node A is the proxy of node B, and nodes A and B can only communicate through wireless, and in one beacon cycle, node B is arranged to send a beacon frame on the high-speed carrier. When arranging the time slots of A and B, try to arrange multiple time slots between A and B that only need to send wireless simplified beacons in CSMA time slots. The time slots between A and B constitute a time slot for sending standard beacon frames on the wireless channel, thereby satisfying Rule 1. Rule 5: Node A is the proxy of node B, and nodes A and B can only communicate through wireless, and in one beacon cycle, node B is arranged to send a beacon frame on the high-speed carrier. If Rule 4 cannot be met when arranging the time slots of A and B, multiple time slots that only send standard beacons on the wireless can be arranged between A and B to meet the requirement that node A sends standard beacons on the wireless. Rule 6: If CCO has directly connected wireless child nodes and arranges the nodes on the subtree formed by its directly connected wireless child nodes to send beacon frames within a beacon cycle, then CCO needs to send standard beacon frames on the wireless. In other cases, CCO sends simplified beacons. Rule 7: There is no phase line in the wireless, and CCO only needs to send one wireless beacon frame. Rule 8: If 3 CCO time slots and 1 non-CCO time slot meet the requirement of sending a standard beacon on the wireless channel, then 3 CCO time slots are directly reused to send a standard beacon on the wireless channel. If the duration of a standard beacon frame on the wireless channel cannot be met and there are non-CCO time slots that can be reused, then 3 CCO time slots and multiple non-CCO time slots are reused to form a time slot for sending a standard beacon frame on the wireless channel. If there is no reusable non-CCO time slot, multiple time slots (up to 15) are arranged for CCO to form a time slot for sending standard beacon frames on the wireless channel. Rule 9: No special requirements, such as to meet the above rules 4 or 8, the beacon time slot arrangement is based on the network hierarchy, first sending beacon frames according to the low-level proxy stations, and then arranging high-level nodes to send beacon frames.
[0059] In the prior art, according to the time slot scheduling rule, Figure 1 The nodes in the beacon period set the beacon slots, assuming Figure 1 The master node (node 1) in the beacon period arranges 8 beacon slots for discovering nodes. Figure 1 The beacon slots of the 16 discovery nodes can be arranged within two beacon cycles. In each beacon cycle, the beacon slots of the master node and the proxy node need to be arranged. If the master node arrangement algorithm is arbitrary, as shown in Table 1:
[0060] Table 1
[0061]
[0062] Specifically, the Figure 1 The beacon time slots of the 16 discovery nodes can be arranged in the two beacon periods of N and N+1, and the arrangement of the previous two beacon periods can be repeated in the two beacon periods of N+2 and N+3. The terminal equipment identifier (TEI) can also be understood as the number of the node in the network topology diagram. The number in the bracket after TEI in the table represents the wireless beacon flag. The wireless beacon flag includes five cases of 0, 1, 2, 3, and 4. The specific meanings are as follows:
[0063] The wireless beacon flag is 0, indicating that the node is only arranged to send a beacon frame on the carrier beacon at the beginning of the current beacon slot, and not to send a beacon frame on the wireless channel. For example, when the node is a single-mode carrier communication module, it is not necessary to arrange the node to send a beacon frame on the wireless channel.
[0064] The wireless beacon flag is 1, indicating that the node is only scheduled to send beacon frames on the wireless channel at the beginning of the current beacon time slot. For example, if the node is only a single-mode wireless communication module, or the wireless beacon frame occupies a long time slot and cannot be multiplexed with the carrier beacon time slot of other nodes, the beacon time slot is allocated only for sending beacon frames on the wireless channel.
[0065] The wireless beacon flag of 2 indicates that a beacon frame is sent on the carrier channel at the beginning of the current beacon slot, and a standard beacon frame is sent on the wireless channel at the beginning of the next slot. When the wireless beacon frame can be multiplexed with the carrier beacon slot of other nodes, the wireless beacon flag of the current beacon slot entry is specified as 2, and the node sends a beacon frame on the carrier at the beginning of the current beacon slot, and multiplexes the next or subsequent beacon slots to send a standard beacon frame on the wireless channel.
[0066] The wireless beacon flag of 3 indicates that a beacon frame is sent on the carrier channel at the beginning of the current beacon slot, and a simplified beacon frame is sent on the wireless channel at the beginning of the next beacon slot. If the node has no child nodes on the wireless channel, or the child nodes on the wireless channel of the node are not arranged to send beacon frames, the node can be arranged to send a simplified beacon frame on the wireless channel at the beginning of the next beacon slot.
[0067] The wireless beacon flag of 4 indicates that at the beginning of the current beacon slot, a beacon frame is sent on the carrier channel, and during the CSMA slot, a simplified beacon frame is sent on the wireless channel. When it is necessary to arrange a node to send a simplified beacon on the wireless channel, and the node cannot reuse the next beacon slot to send a simplified beacon frame on the wireless channel, the node is arranged to send a simplified beacon frame in the CSMA slot.
[0068] In summary, according to the settings of the beacon time slots of each node in the beacon period in Table 1 and the meaning expressed by the wireless beacon flag, when the master node arbitrarily arranges the discovery beacon time slots of the discovery node, the proxy wireless beacon time slots are reused more frequently. Therefore, how to reduce the reuse of the proxy wireless beacon time slots is a problem that needs to be solved at present.
[0069] In order to solve the above problems, an HPLC dual-mode wireless method for reducing the time slot reuse of wireless beacons of proxy nodes is proposed in the embodiment of the present invention, as follows: Figure 2 As shown, Figure 2 This is a flow chart of a method for reducing time slot multiplexing of wireless beacons of proxy nodes in a HPLC dual-mode wireless communication system according to an embodiment of the present invention. Specifically, it includes:
[0070] Step S201: Obtain the network topology map corresponding to the master node.
[0071] In the embodiment of the present invention, the network topology diagram can be as described above. Figure 1 As shown, Figure 1 The middle node 1 is the main node. Figure 1 This is only an exemplary description. The specific network topology diagram is determined according to the actual situation. There may be multiple topological structures. For example, the network topology diagram may also be as follows: Figure 3 As shown, the embodiments of the present invention do not limit it.
[0072] Step S201: determine the number and types of slave nodes in the network topology diagram, wherein the types of slave nodes are divided into proxy nodes and discovery nodes, and the types of discovery nodes are divided into wireless discovery nodes and wired discovery nodes.
[0073] In one possible implementation, Figure 1 For example, the Figure 1The invention includes 18 slave nodes, namely node 2, node 3, node 4, node 5, node 6, node 7, node 8, node 9, node 10, node 11, node 12, node 13, node 14, node 15, node 16, node 17, node 18 and node 19. The slave nodes are divided into agent nodes and discovery nodes, among which node 2 and node 3 are agent nodes, and other nodes are discovery nodes. The discovery nodes are further divided into wireless discovery nodes and wired discovery nodes, among which node 12, node 13, node 18 and node 19 are wireless discovery nodes, and node 4, node 5, node 6, node 7, node 8, node 9, node 10, node 11, node 14, node 15, node 16 and node 17.
[0074] In a possible implementation, the directly connected nodes of node 2 are node 12, node 13, node 14 and node 15, node 12 and node 13 are directly connected wireless nodes of node 2, and node 14 and node 15 are directly connected wired nodes of node 2; the directly connected nodes of node 3 are node 16, node 17, node 18 and node 19, node 16 and node 17 are directly connected wired nodes of node 3, and node 18 and node 19 are directly connected wireless nodes of node 3.
[0075] Step S202: setting the beacon slot of the slave node in at least one beacon period according to the number and type of the slave nodes, wherein the beacon slots of multiple discovery nodes of the same type corresponding to the same proxy node are set in the same beacon period.
[0076] Specifically, a first number of the beacon periods is determined according to the number of nodes discovered from the slave nodes; and beacon time slots for discovering the nodes are set within the first number of beacon periods.
[0077] For example, assume that 8 beacon slots for discovering nodes can be arranged in one beacon period. Figure 1 There are 16 discovery nodes included, so it is necessary to set the beacon time slots of all discovery nodes within the two beacon periods, that is, the first number is 2. This is only an exemplary description, and the number of discovery nodes that can be arranged in each beacon period is determined based on actual conditions.
[0078] In the embodiment of the present invention, the beacon slot can be divided into a wireless beacon slot and a carrier beacon slot. When a wireless beacon slot occupies multiple carrier beacon slots, the beacon slot of the discovery node is set within the first number of beacon periods, specifically including the following two cases:
[0079] Situation 1:
[0080] In the same beacon period, the beacon time slot of the wireless discovery node corresponding to the same proxy node is set in the same beacon period, and all the wireless discovery nodes are non-proxy nodes. Specifically, they can be set at adjacent positions in the same beacon period, or at non-adjacent positions in the same beacon period, which is not limited in the embodiment of the present invention.
[0081] For example, the beacon time slots of the wireless discovery nodes are set at adjacent positions within the same beacon period, that is, the discovery nodes 12, 13, 18 and 19 are set at adjacent positions within the same beacon period.
[0082] Situation 2:
[0083] In the same beacon period, the beacon timeslot of the wired discovery node corresponding to the same proxy node is set in the same beacon period.
[0084] For example, the beacon time slots of the wired discovery nodes are set at adjacent positions within the same beacon cycle, that is, nodes 8, 9, 10, 11, 14, 15, 16 and 17 are set at adjacent positions within the same beacon cycle.
[0085] In a possible implementation manner, setting the beacon timeslot of the slave node in at least one beacon period according to the number and type of the slave nodes specifically further includes:
[0086] The beacon time slot of the proxy node in the slave node is set in each beacon period, wherein the beacon time slot of the proxy node is set before the beacon time slot of the corresponding discovery node.
[0087] Specifically, when setting the beacon time slot of node 2, it needs to be set before node 12, node 13, node 14 and node 15. Similarly, when setting the beacon time slot of node 3, it needs to be set before node 16, node 17, node 18 and node 19. Node 2 and node 3 are also arranged as much as possible before other discovery nodes that do not correspond to them.
[0088] In one possible implementation, the beacon slot of the master node is set at the head of this beacon period, and the specific length is determined according to actual conditions. In an embodiment of the present invention, the beacon slot of the master node can be set to a length of 3 slots, which is determined according to actual conditions.
[0089] In the embodiment of the present invention, the wireless beacon flag of each slave node in each beacon period is set according to the above-mentioned sorting method, so that the beacon period set according to the wireless beacon slot multiplexing method proposed in this application is specifically shown in Table 2:
[0090] Table 2
[0091]
[0092] Specifically, the Figure 1 The beacon slots of the 16 discovery nodes can be arranged within the two beacon cycles of N and N+1, and the arrangement of the previous two beacon cycles can be repeated within the two beacon cycles of N+2 and N+3. Thereafter, the order of the beacon slots in the beacon cycle changes according to the update of the network topology map; the beacon slots can also be divided into wireless standard beacon slots and carrier beacon slots, wherein the wireless standard beacon slot is a slot for sending wireless standard beacon frames, and the carrier beacon slot is a slot for sending carrier standard frames, and the wireless standard beacon slot occupies two carrier beacon slots.
[0093] In a possible implementation, as time goes by, there are situations where slave nodes join or disconnect from the network, and the network topology map will be updated. Therefore, before step S201, the following step S204 may also be included. Specifically, Figure 4 As shown:
[0094] Step S204: Update the network topology map corresponding to the master node.
[0095] In the embodiment of the present invention, the master node arranges the node beacon time slots in the beacon period, thereby reducing the proxy wireless beacon time slot multiplexing; and also reducing the number of simplified beacons sent in the carrier sense multiple access (CSMA) time slot.
[0096] In a possible implementation, the CSMA time slot and the beacon time slot are located in the same beacon period, as shown in FIG. Figure 5 As shown, Figure 5 The figure simply shows the positions of beacon slots and CSMA slots in the same beacon period.
[0097] Figure 6 Schematic diagram of a HPLC dual-mode wireless device for reducing time slot multiplexing of wireless beacons of proxy nodes according to an embodiment of the present invention. Figure 6 As shown, the apparatus of this embodiment includes an acquiring unit 601 , a determining unit 602 , and a setting unit 603 .
[0098] Among them, the acquisition unit 601 is used to obtain the network topology map corresponding to the master node; the determination unit 602 is used to determine the number and type of slave nodes in the network topology map, wherein the types of slave nodes are divided into proxy nodes and discovery nodes, and the types of discovery nodes are divided into wireless discovery nodes and wired discovery nodes; the setting unit 603 is used to set the beacon time slot of the slave node within at least one beacon period according to the number and type of the slave nodes, wherein the beacon time slots of multiple discovery nodes of the same type corresponding to the same proxy node are set within the same beacon period.
[0099] Furthermore, the setting unit is specifically used for:
[0100] Determining a first number of the beacon periods according to the number of nodes discovered from the slave nodes;
[0101] A beacon slot for the discovery node is set within the first number of beacon periods.
[0102] Furthermore, the setting unit is specifically used for:
[0103] In the same beacon period, the beacon time slots of the wireless discovery nodes corresponding to the same proxy node are set in the same beacon period, wherein all the wireless discovery nodes are non-proxy nodes.
[0104] Furthermore, the setting unit is specifically used for:
[0105] In the same beacon period, the beacon timeslot of the wired discovery node corresponding to the same proxy node is set in the same beacon period.
[0106] Furthermore, the setting unit is specifically used for:
[0107] The beacon time slot of the proxy node in the slave node is set in each beacon period, wherein the beacon time slot of the proxy node is set before the beacon time slot of the corresponding discovery node.
[0108] Furthermore, the setting unit is also used for:
[0109] Set the wireless beacon flag of each slave node in each beacon cycle.
[0110] Furthermore, the device also includes:
[0111] An updating unit is used to update the network topology map corresponding to the master node.
[0112] Figure 7 is a schematic diagram of an electronic device according to an embodiment of the present invention. Figure 7The electronic device shown is a device for reducing the time slot multiplexing of the wireless beacon of the proxy node based on HPLC dual-mode wireless, which includes a general computer hardware structure, which at least includes a processor 701 and a memory 702. The processor 701 and the memory 702 are connected via a bus 703. The memory 702 is suitable for storing instructions or programs executable by the processor 701. The processor 701 can be an independent microprocessor, or it can be a collection of one or more microprocessors. Thus, the processor 701 executes the instructions stored in the memory 702, thereby executing the method flow of the embodiment of the present invention as described above to realize the processing of data and the control of other devices. The bus 703 connects the above-mentioned multiple components together, and at the same time connects the above-mentioned components to the display controller 704 and the display device and the input / output (I / O) device 705. The input / output (I / O) device 705 can be a mouse, a keyboard, a modem, a network interface, a touch input device, a somatosensory input device, a printer, and other devices known in the art. Typically, the input / output device 705 is connected to the system via an input / output (I / O) controller 706.
[0113] As will be appreciated by those skilled in the art, various aspects of the embodiments of the present invention may be implemented as a system, method or computer program product. Therefore, various aspects of the embodiments of the present invention may take the form of a complete hardware implementation, a complete software implementation (including firmware, resident software, microcode, etc.), or an implementation that combines software aspects with hardware aspects, which may generally be referred to herein as a "circuit," "module," or "system." In addition, various aspects of the embodiments of the present invention may take the form of a computer program product implemented in one or more computer-readable media having a computer-readable program code implemented thereon.
[0114] Any combination of one or more computer-readable media can be utilized. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, (but not limited to) electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or apparatuses, or any suitable combination of the foregoing. More specific examples (non-exhaustive enumeration) of computer-readable storage media will include the following: an electrical connection with one or more wires, a portable computer floppy disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of an embodiment of the present invention, a computer-readable storage medium can be any tangible medium that can contain or store a program used by an instruction execution system, device or apparatus or a program used in conjunction with an instruction execution system, device or apparatus.
[0115] A computer readable signal medium may include a propagated data signal having a computer readable program code implemented therein, such as in baseband or as part of a carrier wave. Such propagated signals may take any of a variety of forms, including but not limited to electromagnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any of the following computer readable media: not a computer readable storage medium, and may communicate, propagate, or transmit a program used by or in conjunction with an instruction execution system, device, or apparatus.
[0116] Program code embodied on a computer readable medium may be transmitted using any appropriate medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0117] The computer program code for performing operations for various aspects of the embodiments of the present invention can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, etc., and conventional process programming languages such as "C" programming language or similar programming languages. The program code can be executed completely on the user's computer, partially on the user's computer as a stand-alone software package; partially on the user's computer and partially on a remote computer; or completely on a remote computer or server. In the latter case, the remote computer can be connected to the user's computer through any type of network including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., by using the Internet of an Internet service provider).
[0118] The flowchart legend and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present invention described above describe various aspects of the embodiment of the present invention.It will be understood that each block of the flowchart legend and / or block diagram and the combination of the blocks in the flowchart legend and / or block diagram can be implemented by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that the instructions (executed by the processor of the computer or other programmable data processing device) create a device for implementing the function / action specified in the flowchart and / or block diagram block or block.
[0119] These computer program instructions may also be stored in a computer-readable medium that can direct a computer, other programmable data processing device, or other apparatus to operate in a particular manner, so that the instructions stored in the computer-readable medium produce an article of manufacture including instructions for implementing the functions / actions specified in the flowchart and / or block diagram blocks or blocks.
[0120] The computer program instructions may also be loaded onto a computer, other programmable data processing device or other apparatus so that a series of operable steps are performed on the computer, other programmable device or other apparatus to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide a process for implementing the functions / actions specified in the flowchart and / or block diagram block or blocks.
[0121] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. 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 method for reducing the time slot reuse of wireless beacons of proxy nodes in HPLC dual-mode wireless. It is characterized in that The method includes: Get the network topology corresponding to the master node; Determine the number and type of slave nodes in the network topology diagram, wherein the types of the slave nodes are divided into proxy nodes and discovery nodes, and the types of the discovery nodes are divided into wireless discovery nodes and wired discovery nodes; The beacon time slots of the slave nodes are set in at least one beacon period according to the number and type of the slave nodes, wherein the beacon time slots of multiple discovery nodes of the same type corresponding to the same proxy node are set in the same beacon period.
2. The method according to claim 1, It is characterized in that The setting of the beacon time slot of the slave node in at least one beacon period according to the number and type of the slave node specifically includes: Determining a first number of the beacon periods according to the number of nodes discovered from the slave nodes; A beacon slot for the discovery node is set within the first number of beacon periods.
3. The method according to claim 2, It is characterized in that The setting of the beacon timeslot of the discovery node within the first number of beacon periods specifically includes: In the same beacon period, the beacon time slots of the wireless discovery nodes corresponding to the same proxy node are set in the same beacon period, wherein all the wireless discovery nodes are non-proxy nodes.
4. The method according to claim 2, It is characterized in that The setting of the beacon timeslot of the discovery node within the first number of beacon periods specifically includes: In the same beacon period, the beacon timeslot of the wired discovery node corresponding to the same proxy node is set in the same beacon period.
5. The method according to claim 1, It is characterized in that The step of setting the beacon time slot of the slave node in at least one beacon period according to the number and type of the slave node specifically includes: The beacon time slot of the proxy node in the slave node is set in each beacon period, wherein the beacon time slot of the proxy node is set before the beacon time slot of the corresponding discovery node.
6. The method according to claim 1, It is characterized in that The method further includes: Set the wireless beacon flag of each slave node in each beacon cycle.
7. The method according to claim 1, It is characterized in that The method further includes: Update the network topology map corresponding to the master node.
8. A HPLC dual-mode wireless device for reducing the time slot multiplexing of wireless beacons of proxy nodes, It is characterized in that The device includes: An acquisition unit, used to acquire a network topology diagram corresponding to the master node; A determination unit, configured to determine the number and type of slave nodes in the network topology diagram, wherein the types of the slave nodes are divided into proxy nodes and discovery nodes, and the types of the discovery nodes are divided into wireless discovery nodes and wired discovery nodes; A setting unit is used to set the beacon time slot of the slave node within at least one beacon period according to the number and type of the slave nodes, wherein the beacon time slots of multiple discovery nodes of the same type corresponding to the same proxy node are set within the same beacon period.
9. An electronic device comprising a memory and a processor, It is characterized in that The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that The program is executed by a processor to implement the method according to any one of claims 1 to 7.
