Low-interference wireless communication method, device, computer-readable medium, and apparatus

By broadcasting read state instructions by the master node, determining the target slave node and establishing a frequency hopping communication connection, the problems of low connection efficiency and unstable communication in the prior art are solved, and efficient and stable communication in complex communication states are realized.

CN115767768BActive Publication Date: 2025-08-19XIAMEN HUASHU ELECTRIC POWER SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211346295.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-31
Publication Date
2025-08-19
Estimated Expiration
2042-10-31

AI Technical Summary

Technical Problem

In the prior art, in the one-to-many or many-to-many communication state, the connection efficiency of the master and slave nodes is low and the communication is unstable, making it difficult to effectively avoid interference.

Method used

The master node broadcasts the first read state instruction, receives the signal strength, node address and default frequency points feedback from the slave node, determines the target slave node, and sends the second read state instruction based on the node address and default frequency points of the target slave node, receives and establishes a frequency hopping communication connection to ensure the communication stability of the master and slave node.

Benefits of technology

In one-to-many or many-to-many communication state, quickly establish communication connections between master and slave nodes to prevent interference from other nodes, improve connection efficiency and ensure communication stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115767768B_ABST
    Figure CN115767768B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a low-interference wireless communication method, apparatus, computer-readable medium, and device. The method includes: broadcasting a first read status instruction of the current master node, the first read status instruction including the wildcard address of the master node; receiving first status data fed back by at least one slave node according to the wildcard address; determining a target slave node from the at least one slave node to send a second read status instruction to the target slave node; receiving second status data sent by the target slave node after determining that the master node is legitimate, the second status data including the slave node frequency hopping identifier and the target frequency hopping frequency of the target slave node; if the slave node frequency hopping identifier indicates frequency hopping communication, establishing a communication connection with the target slave node according to the target frequency hopping frequency. The technical solution of the embodiment of the present application can improve the connection efficiency of the master and slave nodes and ensure the stability of communication between the two.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a low-interference wireless communication method, apparatus, computer-readable medium, and device. Background Art

[0002] To ensure stable wireless communication, frequency hopping is often used. This involves switching between the receiver and transmitter using the same frequency. As long as the matching receiver and transmitter maintain the same hopping pattern, they can continuously change the hopping frequency and achieve continuous information transmission, thereby avoiding interference from other signals and improving signal transmission security. However, this method is unable to effectively complete short-term connections between the master and slave nodes in one-to-many or even many-to-many communication scenarios, resulting in long access times and unstable communications. Summary of the Invention

[0003] The embodiments of the present application provide a low-interference wireless communication method, apparatus, computer-readable medium, and device, which can improve the connection efficiency of master and slave nodes, at least to a certain extent, and ensure the stability of communication between the two.

[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by practice of the present application.

[0005] According to one aspect of an embodiment of the present application, a low-interference wireless communication method is provided, which is applied to a master node. The method includes:

[0006] Broadcasting a first read status instruction of the current master node, wherein the first read status instruction includes a wildcard address of the master node;

[0007] receiving first status data fed back by at least one slave node according to the wildcard address, wherein the first status data includes a signal strength, a node address, and a default frequency of the slave node;

[0008] determining a target slave node from the at least one slave node according to the signal strength of each slave node in the at least one slave node;

[0009] Sending a second read status instruction to the target slave node according to the node address and the default frequency of the target slave node, so that the target slave node determines the legitimacy of the master node after receiving the second read status instruction;

[0010] receiving second status data sent by the target slave node after determining that the master node is legitimate, the second status data including a slave node frequency hopping identifier of the target slave node and a target frequency hopping frequency, the slave node frequency hopping identifier being used to indicate whether frequency hopping communication is to be performed;

[0011] If the slave node frequency hopping identifier indicates frequency hopping communication, a communication connection is established with the target slave node according to the target frequency hopping frequency.

[0012] According to one aspect of an embodiment of the present application, a low-interference wireless communication method is provided, which is applied to a slave node. The method includes:

[0013] Obtaining a first read status instruction broadcasted by a master node, where the first read status instruction includes a wildcard address of the master node;

[0014] Sending first status data to the master node according to the wildcard address, the first status data including the signal strength, node address, and default frequency of the slave node;

[0015] If a second read status instruction sent by the master node is received, determining a target frequency hopping frequency according to a predetermined rule;

[0016] Generate second status data according to the target frequency hopping frequency and send it to the master node, the second status data including a slave node frequency hopping identifier and a target frequency hopping frequency, the slave node frequency hopping identifier being used to indicate whether frequency hopping communication is to be performed;

[0017] Establish a communication connection with the master node according to the target frequency hopping frequency.

[0018] According to one aspect of an embodiment of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the low-interference wireless communication method as described in the above embodiment is implemented.

[0019] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the low-interference wireless communication method as described in the above embodiments.

[0020] According to one aspect of an embodiment of the present application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the low-interference wireless communication method provided in the above-described embodiment.

[0021] In the technical solutions provided by some embodiments of the present application, a first read status instruction of the current master node is broadcasted, the first read status instruction including the wildcard address of the master node, and first status data fed back by at least one slave node based on the wildcard address is received. The first status data includes the signal strength, node address, and default frequency of the slave node. A target slave node is determined based on the signal strength of each of the at least one slave nodes. A second read status instruction is then sent to the target slave node based on the node address and default frequency to receive second status data fed back by the target slave node. The second status data includes the slave node frequency hopping identifier and target frequency hopping frequency of the target slave node. When frequency hopping communication is required, a communication connection is established with the target slave node based on the target frequency hopping frequency. Thus, the master node can quickly determine the target slave node based on the signal strength and establish a communication connection with the target slave node based on the target frequency hopping frequency of the target slave node. Even in one-to-many or many-to-many communication modes, a communication connection can be quickly established with the slave node, and interference from other nodes can be prevented to ensure communication stability between the master and slave nodes.

[0022] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings are incorporated into and constitute a part of the specification, illustrating embodiments consistent with the present application and, together with the specification, explaining the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can derive other drawings based on these drawings without inventive effort. In the drawings:

[0024] Figure 1 A schematic diagram showing a flow chart of a low-interference wireless communication method according to an embodiment of the present application is shown;

[0025] Figure 2 A schematic flow chart of a low-interference wireless communication method according to another embodiment of the present application is shown;

[0026] Figure 3 A block diagram of a low-interference wireless communication device according to an embodiment of the present application is shown;

[0027] Figure 4 A block diagram of a low-interference wireless communication device according to another embodiment of the present application is shown;

[0028] Figure 5 A schematic diagram of the structure of a computer system suitable for implementing an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be thorough and complete and will fully convey the concepts of the example embodiments to those skilled in the art.

[0030] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner.In the following description, many specific details are provided so as to provide a full understanding of the embodiments of the present application. However, it will be appreciated by those skilled in the art that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps etc. can be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0031] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0032] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.

[0033] Figure 1 A flow chart of a low-interference wireless communication method according to an embodiment of the present application is shown. The method can be applied to a master node, referring to Figure 1 As shown, the method includes at least steps S110 to S160, which are described in detail as follows:

[0034] In step S110 , a first read status instruction of the current master node is broadcast, where the first read status instruction includes a wildcard address of the master node.

[0035] Specifically, the master node may generate a corresponding first read status instruction according to its own wildcard address, and broadcast the first read status instruction for reception by slave nodes around the master node.

[0036] In one example, the first read status instruction may include the master node's signal strength, a control code, and a wildcard address. The control code may be used to indicate the function of the current instruction, such as read status, unlock, or lock. The slave node may perform a corresponding action based on the control code, such as providing feedback of status information, unlocking, or locking.

[0037] In a specific application scenario, the master node and slave node can be a key and a lock capable of wireless communication. When a lock operation is required, such as unlocking or locking, the user can hold the key close to the lock, and the key can broadcast its first read status instruction for the lock to receive. In one example, the master node can also wirelessly power the slave node. When the master node is close to the slave node, it can wirelessly power the slave node to wake it up so that subsequent processing can be carried out.

[0038] In step S120, first status data fed back by at least one slave node according to the wildcard address is received, where the first status data includes a signal strength, a node address, and a default frequency of the slave node.

[0039] In this embodiment, it should be noted that multiple slave nodes may exist in the same space. Therefore, the first read status instruction broadcast by the master node may be received by multiple slave nodes. For example, in the aforementioned application scenario, multiple locks may exist in the same place. In this case, the first read status instruction broadcast by the key may be received by multiple locks. After receiving the first read status instruction, the slave node can feedback corresponding first status data based on the first read status instruction. The first status data includes the slave node's signal strength, node address, and default frequency. The default frequency may be a default communication frequency. The master node can subsequently send data to the slave node based on the default frequency to achieve communication with the slave node.

[0040] In one example, the first read status instruction may include the signal strength, control code, and wildcard address of the master node. After receiving the first read status instruction, the slave node may determine the signal strength of the master node. For example, a master node whose signal strength reaches a certain threshold may be determined as a valid master node. If the signal strength does not reach the certain threshold, the slave node may be determined as an invalid master node and will not respond.

[0041] In addition, the slave node can also make a legitimacy judgment based on the control code and wildcard address to determine whether the master node is legal. Specifically, the slave node can make a legitimacy judgment on the control code and wildcard address in the first read status instruction based on a pre-agreed communication protocol, such as whether the control code is one of the agreed control codes, and whether the wildcard address format complies with the communication protocol, etc.

[0042] Therefore, after judging the signal strength, control code, and wildcard address, if all meet the requirements, the slave node can feedback its first state data to the master node based on the wildcard address. If any one of them does not meet the requirements, no response will be made. This can avoid blind responses from the slave node and waste of resources.

[0043] In one example, the first state data may also include a control code, a slave node frequency hopping identifier, and a slave node state, wherein the control code may be used to indicate the functional purpose of the first state data, and the slave node frequency hopping identifier may be used to indicate whether frequency hopping communication is to be performed for the next frame of data transmission. If frequency hopping is not performed, it indicates that the next frame of data will be communicated at the default frequency, and if frequency hopping is performed, it indicates that frequency hopping communication is required in the next frame. Thus, based on the slave node frequency hopping identifier, the master node can know whether frequency hopping communication is to be performed, thereby ensuring frequency synchronization between the master and slave nodes, ensuring communication between the two, and also preventing interference from other nodes.

[0044] In step S130 , a target slave node is determined from the at least one slave node according to the signal strength of each slave node in the at least one slave node.

[0045] Specifically, the master node may select the slave node with the greatest signal strength from among the slave nodes that have received the first state data as the target slave node, thereby accurately determining the slave node with which communication is required.

[0046] In step S140, a second read status instruction is sent to the target slave node according to the node address and default frequency of the target slave node, so that the target slave node determines the legitimacy of the master node after receiving the second read status instruction.

[0047] In this embodiment, after determining the target slave node, the master node can send a second read status instruction to the node address of the target slave node at the default frequency of the target slave node. After receiving the second read status instruction, the target slave node can verify the legitimacy of the master node based on the second read status instruction.

[0048] In one example, the second read status instruction may include the signal strength of the master node, a control code, and the node address of the target slave node. After receiving the second read status instruction, the target slave node may perform a signal strength determination based on the signal strength and a legitimacy determination based on the control code and the node address of the target slave node. The legitimacy determination based on the node address of the target slave node may include determining whether the target address of the second read status instruction corresponds to the current slave node. If so, this indicates that the second read status instruction was not transmitted in error. Thus, the legitimacy of the master node can be determined.

[0049] In step S150, second status data sent by the target slave node after determining that the master node is legitimate is received. The second status data includes the slave node frequency hopping identifier of the target slave node and the target frequency hopping frequency. The slave node frequency hopping identifier is used to indicate whether frequency hopping communication is performed.

[0050] In this embodiment, after receiving the second state data sent by the target slave node after determining that the master node is legitimate, the master node can determine whether frequency hopping is required for the next frame of communication, as well as the communication frequency after frequency hopping (i.e., the target frequency hopping frequency) based on the slave node frequency hopping identifier and target frequency hopping frequency of the target slave node contained in the second state data. In this way, the master and slave nodes can negotiate the frequency hopping frequency, thereby achieving the purpose of synchronous frequency hopping. Because the target frequency hopping frequency is not the default frequency, even if there are multiple slave nodes, it cannot interfere with the communication between the current master and slave nodes, thereby ensuring the stability of communication between the master and slave nodes.

[0051] In step S160, if the slave node frequency hopping identifier indicates frequency hopping communication, a communication connection is established with the target slave node according to the target frequency hopping frequency.

[0052] In this embodiment, if the slave node frequency hopping identifier indicates that frequency hopping communication is required, then when the master node sends the next frame of data, it can send it according to the target frequency hopping frequency contained in the second state data, and the target slave node can receive the data information sent by the target frequency hopping frequency, thereby realizing the communication connection between the master and slave nodes.

[0053] exist Figure 1 In the illustrated embodiment, a first read status instruction is broadcasted by the current master node, the first read status instruction including the wildcard address of the master node, and first status data is received from at least one slave node based on the wildcard address. The first status data includes the slave node's signal strength, node address, and default frequency. A target slave node is determined based on the signal strength of each of the at least one slave nodes. A second read status instruction is then sent to the target slave node based on the target slave node's node address and default frequency to receive second status data from the target slave node. The second status data includes the target slave node's frequency hopping identifier and target frequency hopping frequency. When frequency hopping communication is required, a communication connection is established with the target slave node based on the target frequency hopping frequency. Thus, the master node can quickly determine the target slave node based on the signal strength and establish a communication connection with the target slave node based on the target frequency hopping frequency. This allows the master node to quickly establish a communication connection with the slave node even in one-to-many or many-to-many communication modes, while preventing interference from other nodes and ensuring stable communication between the master and slave nodes.

[0054] In one embodiment of the present application, determining a target slave node from the at least one slave node according to the signal strength of each slave node in the at least one slave node includes:

[0055] Performing legitimacy verification on each slave node according to the node address and default frequency of the at least one slave node;

[0056] The slave node with the highest signal strength and verified to be legitimate is determined as the target slave node.

[0057] In this embodiment, after receiving the first status data fed back by at least one slave node, the master node can pre-verify the legitimacy of each slave node based on the node address and default frequency of each slave node. For example, the master node can verify whether the node address format of each slave node conforms to a pre-agreed address format, whether the default frequency is a pre-agreed default frequency, etc. Thus, the master node can verify the legitimacy of each slave node based on the information contained in the first status data, thereby avoiding interference from other devices.

[0058] Then, after determining the legitimacy of each slave node, the master node can determine the slave node with the highest signal strength and verified to be legitimate as the target slave node. In this way, the legitimacy and accuracy of the determined target slave node can be guaranteed.

[0059] In one example, the first state data may also include a control code, a slave node frequency hopping identifier, and a slave node status. In addition to the node address and the default frequency, the master node may also perform legitimacy verification on the control code, the slave node frequency hopping identifier, and the node status. Thus, by combining multiple pieces of information for legitimacy verification, the validity of the verification results can be guaranteed.

[0060] based on Figure 1 In the embodiment shown, in one embodiment of the present application, after establishing a communication connection with the target slave node according to the target frequency hopping frequency, the method further includes:

[0061] If it is determined to disconnect the current communication connection, the slave node search is performed again at the default frequency point.

[0062] In this embodiment, the user can determine to disconnect the current communication connection by using a physical button or virtual button set on the master node or by moving the master node away from the slave node. At this time, the master node can continue to broadcast its own first read status instruction at the default frequency, thereby re-searching the slave node. It should be understood that the master and slave nodes that have not yet established a communication connection will broadcast or receive signals at the default frequency. This ensures that the master and slave nodes can achieve preliminary information exchange between them. When it is determined that a communication connection is required, the master and slave nodes will establish a communication connection at the target hopping frequency through frequency hopping negotiation, thereby avoiding interference from other nodes or devices and ensuring the stability of communication between the master and slave nodes.

[0063] Figure 2 A schematic diagram of a low-interference wireless communication method according to another embodiment of the present application is shown. The method can be applied to a slave node, referring to Figure 2 As shown, the method includes at least steps S210 to S250, which are described in detail as follows:

[0064] In step S210, a first read status instruction broadcast by a master node is obtained, where the first read status instruction includes a wildcard address of the master node.

[0065] In this embodiment, when a communication connection is not established, the slave node can receive external information at a default frequency, and if it receives a first read status instruction sent by the master node, it can parse it.

[0066] In step S220, first status data is sent to the master node according to the wildcard address, where the first status data includes the signal strength, node address, and default frequency of the slave node.

[0067] In step S230, if a second read status instruction sent by the master node is received, a target frequency hopping frequency is determined according to a predetermined rule.

[0068] In this embodiment, if the slave node receives a second read status instruction sent by the master node, it means that the master node wants to establish a communication connection with it. At this time, the slave node can determine the target frequency hopping frequency according to the predetermined rules pre-set by the management personnel for use in subsequent communication connections.

[0069] In step S240, second status data is generated according to the target frequency hopping frequency and sent to the master node. The second status data includes a slave node frequency hopping identifier and a target frequency hopping frequency. The slave node frequency hopping identifier is used to indicate whether frequency hopping communication is performed.

[0070] In this embodiment, the slave node can generate second status data based on the generated target frequency hopping frequency and send it to the master node. The second status data can include the slave node frequency hopping identifier and the target frequency hopping frequency, thereby indicating to the master node whether frequency hopping communication is required and the frequency after hopping.

[0071] In step S250, a communication connection is established with the master node according to the target frequency hopping frequency.

[0072] In this embodiment, after feeding back the second status data to the master node, the slave node can receive information from the master node or send information to the master node at the target hopping frequency, thereby establishing a communication connection with the master node and avoiding interference from other nodes.

[0073] It should be noted that Figure 2 For details not disclosed in the illustrated method embodiment, reference may be made to the above-mentioned embodiment of the low-interference wireless communication method applied to the master node of the present application, which will not be described in detail here.

[0074] based on Figure 2 In the embodiment shown, in one embodiment of the present application, the first read status instruction further includes a control code and a signal strength, wherein the control code is used to indicate the communication purpose of the instruction;

[0075] Sending first status data to the master node according to the wildcard address includes:

[0076] When the signal strength reaches a predetermined threshold, verifying the legitimacy of the master node according to the control code and the wildcard address;

[0077] If the verification result is legal, the first status data is sent to the master node according to the wildcard address.

[0078] In one embodiment of the present application, after establishing a communication connection with the master node according to the target frequency hopping frequency, the method further includes:

[0079] If no new communication data is received within a predetermined period of time, the communication connection with the master node is disconnected and the frequency is switched to the default frequency.

[0080] In this embodiment, the slave node can record the time interval for receiving communication data from the master node. If no new communication data sent by the master node is received within a predetermined period of time, the slave node can disconnect the communication connection with the master node and switch to the default frequency to receive the signal again.

[0081] Therefore, the slave node does not need to wait blindly. If no new communication data is received within the predetermined time, the original communication connection will be disconnected and the default frequency will be restored to communicate to receive signals sent by other devices, thereby ensuring the effectiveness of communication.

[0082] The following describes an apparatus embodiment of the present application, which can be used to implement the low-interference wireless communication method in the above-mentioned embodiment of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the above-mentioned embodiment of the low-interference wireless communication method of the present application.

[0083] Figure 3 A block diagram of a low-interference wireless communication device according to an embodiment of the present application is shown, and the device can be applied to a master node.

[0084] Reference Figure 3 As shown, a low-interference wireless communication device according to an embodiment of the present application includes:

[0085] A first sending module 310 is configured to broadcast a first read status instruction of the current master node, where the first read status instruction includes a wildcard address of the master node;

[0086] A first receiving module 320 is configured to receive first status data fed back by at least one slave node according to the wildcard address, wherein the first status data includes a signal strength, a node address, and a default frequency of the slave node;

[0087] A first determining module 330 is configured to determine a target slave node from the at least one slave node according to the signal strength of each slave node in the at least one slave node;

[0088] A second sending module 340 is configured to send a second read status instruction to the target slave node according to the node address and the default frequency of the target slave node, so that the target slave node determines the legitimacy of the master node after receiving the second read status instruction;

[0089] A second receiving module 350 is configured to receive second status data sent by the target slave node after determining that the master node is legitimate, wherein the second status data includes a target slave node frequency hopping identifier and a target frequency hopping frequency, wherein the slave node frequency hopping identifier is used to indicate whether frequency hopping communication is to be performed;

[0090] The first processing module 360 is configured to establish a communication connection with the target slave node according to the target frequency hopping frequency if the slave node frequency hopping identifier indicates frequency hopping communication.

[0091] In one embodiment of the present application, the first determination module 330 is used to: verify the legitimacy of each slave node based on the node address and default frequency of the at least one slave node; and determine the slave node with the highest signal strength and verified to be legitimate as the target slave node.

[0092] In one embodiment of the present application, the first processing module 360 is further configured to: if it is determined that the current communication connection is disconnected, re-search the slave node at the default frequency point.

[0093] Figure 4 A block diagram of a low-interference wireless communication device according to another embodiment of the present application is shown, and the device can be applied to a slave node.

[0094] Reference Figure 4 As shown, a low-interference wireless communication device according to another embodiment of the present application includes

[0095] A third receiving module 410 is configured to obtain a first read status instruction broadcast by the master node, where the first read status instruction includes a wildcard address of the master node;

[0096] A third sending module 420 is configured to send first status data to the master node according to the wildcard address, where the first status data includes a signal strength, a node address, and a default frequency of the slave node;

[0097] A second determining module 430 is configured to determine a target frequency hopping frequency according to a predetermined rule upon receiving a second read status instruction sent by the master node;

[0098] a fourth sending module 440, configured to generate second status data according to the target frequency hopping frequency and send the data to the master node, wherein the second status data includes a slave node frequency hopping identifier and a target frequency hopping frequency, wherein the slave node frequency hopping identifier is used to indicate whether frequency hopping communication is to be performed;

[0099] The second processing module 450 is configured to establish a communication connection with the master node according to the target frequency hopping frequency.

[0100] In one embodiment of the present application, the first read status instruction also includes a control code and a signal strength, and the control code is used to indicate the communication purpose of the instruction; the third sending module 420 is used to: when the signal strength reaches a predetermined threshold, verify the legitimacy of the master node according to the control code and the wildcard address; if the verification result is legal, send the first status data to the master node according to the wildcard address.

[0101] In one embodiment of the present application, the second processing module 450 is further configured to: if no new communication data is received within a predetermined period of time, disconnect the communication connection with the master node and switch to a default frequency.

[0102] Figure 5 A schematic diagram of the structure of a computer system suitable for implementing an electronic device according to an embodiment of the present application is shown.

[0103] It should be noted that Figure 5 The computer system of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0104] like Figure 5 As shown, the computer system includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the method described in the above embodiment. Various programs and data required for system operation are also stored in the RAM 503. The CPU 501, ROM 502 and RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0105] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, and the like; an output section 507 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 508 including a hard disk; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card or a modem. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. Removable media 511, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 510 as needed, so that computer programs read therefrom can be installed into the storage section 508 as needed.

[0106] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 509, and / or installed from a removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the various functions defined in the system of the present application are executed.

[0107] It should be noted that the computer-readable medium shown in the embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a 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 above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable computer program. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.

[0108] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0109] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. In some cases, the names of these units do not constitute limitations on the units themselves.

[0110] As another aspect, the present application further provides a computer-readable medium, which may be included in the electronic device described in the above embodiments, or may exist independently without being incorporated into the electronic device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device implements the method described in the above embodiments.

[0111] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiment of the application, the features and functions of two or more modules or units described above can be concretized in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0112] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.

[0113] Those skilled in the art will readily conceive of other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of this application and include common knowledge or customary techniques in the art that are not disclosed herein.

[0114] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A low-interference wireless communication method, characterized in that: Applied to the master node, the method includes: Broadcasting a first read status instruction of the current master node, wherein the first read status instruction includes a wildcard address, a signal strength, and a control code of the master node; receiving first status data fed back by at least one slave node according to the wildcard address, the first status data including the signal strength, node address, and default frequency of the slave node, wherein the at least one slave node performs strength judgment on the signal strength of the master node and performs legitimacy judgment on the control code and wildcard address of the master node. After judging the signal strength, control code, and wildcard address, if all meet the requirements, the slave node feeds back its own first status data according to the wildcard address to the master node; determining a target slave node from the at least one slave node according to the signal strength of each slave node in the at least one slave node; Sending a second read status instruction to the target slave node according to the node address and the default frequency of the target slave node, so that the target slave node determines the legitimacy of the master node after receiving the second read status instruction; receiving second status data sent by the target slave node after determining that the master node is legitimate, the second status data including a slave node frequency hopping identifier of the target slave node and a target frequency hopping frequency, the slave node frequency hopping identifier being used to indicate whether frequency hopping communication is to be performed; If the slave node frequency hopping identifier indicates frequency hopping communication, a communication connection is established with the target slave node according to the target frequency hopping frequency.

2. The method according to claim 1, characterized in that Determining a target slave node from the at least one slave node according to the signal strength of each slave node in the at least one slave node includes: Performing legitimacy verification on each slave node according to the node address and default frequency of the at least one slave node; The slave node with the highest signal strength and verified to be legitimate is determined as the target slave node.

3. The method according to claim 1, characterized in that After establishing a communication connection with the target slave node according to the target frequency hopping frequency, the method further includes: If it is determined to disconnect the current communication connection, the slave node search is performed again at the default frequency point.

4. A low-interference wireless communication method, characterized in that: Applied to a slave node, the method includes: Obtaining a first read status instruction broadcast by a master node, wherein the first read status instruction includes a wildcard address, a signal strength, and a control code of the master node; Perform strength judgment on the signal strength of the master node and perform legitimacy judgment on the control code and wildcard address of the master node. After judging the signal strength, control code and wildcard address, if all meet the requirements, send first status data to the master node according to the wildcard address. The first status data includes the signal strength, node address and default frequency of the slave node; If a second read status instruction sent by the master node is received, determining a target frequency hopping frequency according to a predetermined rule; Generate second status data according to the target frequency hopping frequency and send it to the master node, the second status data including a slave node frequency hopping identifier and a target frequency hopping frequency, the slave node frequency hopping identifier being used to indicate whether frequency hopping communication is to be performed; Establish a communication connection with the master node according to the target frequency hopping frequency.

5. The method according to claim 4, characterized in that The first read status instruction further includes a control code and a signal strength, wherein the control code is used to indicate the communication purpose of the instruction; Sending first status data to the master node according to the wildcard address includes: When the signal strength reaches a predetermined threshold, verifying the legitimacy of the master node according to the control code and the wildcard address; If the verification result is legal, the first status data is sent to the master node according to the wildcard address.

6. The method according to claim 5, characterized in that After establishing a communication connection with the master node according to the target frequency hopping frequency, the method further includes: If no new communication data is received within a predetermined period of time, the communication connection with the master node is disconnected and the frequency is switched to the default frequency.

7. A low-interference wireless communication device, characterized in that: Applied to a master node, the device comprises: A first sending module is configured to broadcast a first read status instruction of the current master node, wherein the first read status instruction includes a wildcard address, a signal strength, and a control code of the master node; a first receiving module, configured to receive first status data fed back by at least one slave node according to the wildcard address, the first status data including the signal strength, node address, and default frequency of the slave node, wherein the at least one slave node performs strength judgment on the signal strength of the master node and performs legitimacy judgment on the control code and wildcard address of the master node. After judging the signal strength, control code, and wildcard address, if all meet the requirements, the slave node feeds back its own first status data according to the wildcard address to the master node; A first determining module is configured to determine a target slave node from the at least one slave node according to a signal strength of each slave node in the at least one slave node; a second sending module, configured to send a second read status instruction to the target slave node according to the node address and the default frequency of the target slave node, so that the target slave node determines the legitimacy of the master node after receiving the second read status instruction; a second receiving module, configured to receive second status data sent by the target slave node after determining that the master node is legitimate, the second status data including a slave node frequency hopping identifier of the target slave node and a target frequency hopping frequency, the slave node frequency hopping identifier being used to indicate whether frequency hopping communication is to be performed; The first processing module is configured to establish a communication connection with the target slave node according to the target frequency hopping frequency if the slave node frequency hopping identifier indicates frequency hopping communication.

8. A low-interference wireless communication device, characterized in that: Applied to a slave node, the device includes: A third receiving module is configured to obtain a first read status instruction broadcast by the master node, where the first read status instruction includes a wildcard address, a signal strength, and a control code of the master node; a third sending module, configured to determine the signal strength of the master node and the legitimacy of the control code and wildcard address of the master node; and after determining that the signal strength, control code, and wildcard address meet the requirements, send first status data to the master node according to the wildcard address, the first status data including the signal strength, node address, and default frequency of the slave node; a second determining module, configured to determine a target frequency hopping frequency according to a predetermined rule upon receiving a second read status instruction sent by the master node; a fourth sending module, configured to generate second status data according to the target frequency hopping frequency and send the data to the master node, wherein the second status data includes a slave node frequency hopping identifier and a target frequency hopping frequency, wherein the slave node frequency hopping identifier is used to indicate whether frequency hopping communication is to be performed; The second processing module is configured to establish a communication connection with the master node according to the target frequency hopping frequency.

9. A computer-readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the low-interference wireless communication method according to any one of claims 1 to 6 is implemented.

10. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the low-interference wireless communication method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and unit for realizing automatic frequency detection network creation in frequency hopping radio network

    CN102045735A

  • Frequency hopping method, frequency hopping device, terminal and baseband chip

    CN107395252A