Communication system, networking method, and related apparatus
By carrying the characteristic information of the slave node in the broadcast message of the master node, the problem that slave nodes are difficult to accurately connect in a multi-master node environment is solved, the certainty and efficiency of communication connections are improved, and interference is reduced.
Patent Information
- Application Number
- PCT/CN2024/106931
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-28
- Filing Date
- 2024-07-23
- Publication Date
- 2025-02-06
AI Technical Summary
In the networking scenario of wireless communication networks, it is difficult for slave nodes to accurately select master nodes for communication connections, especially in an environment where multiple intelligent devices coexist. Due to interference from other master nodes, connection certainty and inefficiency are caused.
By indicating the characteristic information of the slave node in the broadcast message of the master node, the slave node can recognize and respond to the correct master node and filter out interference from other master nodes, thereby achieving accurate communication connections.
It improves the certainty and efficiency of communication connections between slave nodes and master nodes, reduces interference from other master nodes, and ensures the normal transmission of service content or services.
Smart Images

Figure CN2024106931_06022025_PF_FP_ABST
Abstract
Description
Communication system, networking method and related devices
[0001] This application claims priority to the Chinese patent application with application number 202310940648.6 filed with the State Intellectual Property Office of China on July 28, 2023, and priority to the Chinese patent application with the invention name “Communication system, networking method and related devices”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a communication system, a networking method and related devices. Background Art
[0003] With the continuous advancement of global communications technology, the growth and application of wireless communication technology has surpassed that of wired communication technology, demonstrating a booming development. Intelligent devices such as smart transportation equipment, smart home appliances, and robots are gradually becoming part of people's daily lives. These intelligent devices can be networked together using wireless communication technology to form wireless communication networks. Wireless communication network configurations can include one master node and multiple slave nodes. These configurations rely on slave nodes discovering the master node for communication. However, due to cost and flexibility considerations, it is often difficult for slave nodes to be pre-configured with their master node associations at the factory. Furthermore, in environments such as parking lots, production and maintenance workshops, or shopping malls, many intelligent devices may be present in the same space covered by wireless signals. If these multiple intelligent devices include other master nodes in addition to the target master node for the slave node to connect to, these other master nodes may interfere with the slave node's connection to the target master node.
[0004] Summary of the Invention
[0005] The present application provides a communication system, a networking method and related devices, which can eliminate the interference of other redundant master nodes in a networking scenario where a communication connection is established by discovering a master node from a slave node, so that the slave node can determine the master node to establish a communication connection, thereby improving the certainty and efficiency of the communication connection.
[0006] In a first aspect, the present application provides a communication system, comprising a master node and a slave node, wherein the slave node is a node that provides business content or services, and the master node is a node that uses the business content or services; the master node is configured with feature information of the slave node;
[0007] The aforementioned master node sends a broadcast message, where the aforementioned broadcast message is used to indicate the aforementioned characteristic information;
[0008] The aforementioned slave node receives the aforementioned broadcast message;
[0009] The slave node sends a connection request message to the master node according to the characteristic information indicated by the broadcast message;
[0010] The aforementioned master node receives the aforementioned connection request message and establishes a communication connection with the aforementioned slave node according to the aforementioned connection request message.
[0011] Optionally, the aforementioned slave node does not broadcast the aforementioned feature information.
[0012] The above solution is applied in a networking scenario in which a communication connection is established by discovering a master node through a slave node (embodied by the feature that the master node sends a broadcast message, and the slave node responds to the broadcast message and requests the master node to establish a communication connection). In this networking scenario, the existing implementation scheme cannot solve the problem of how to accurately select a master node to establish a communication connection after the slave node receives broadcast messages from multiple master nodes. In this scheme, by indicating the characteristic information of the slave node in the broadcast message of the master node, the slave node knows that the broadcast message is the message it wants to respond to, thereby filtering out the broadcast messages of other master nodes, and then accurately realizing the communication connection between the slave node and the master node, reducing the interference of the remaining master nodes.
[0013] In a possible implementation, the aforementioned master node has a human-computer interaction interface for configuring the aforementioned feature information, and the aforementioned slave node does not have a human-computer interaction interface.
[0014] In the above scheme, since the master node has a human-computer interface, the slave node's characteristic information can be configured to the master node through this interface. This allows the master node to include the slave node's characteristic information in its broadcast messages. Furthermore, since the slave node lacks a human-computer interface, manual selection of the master node for establishing a communication connection is impossible when receiving broadcast messages from multiple master nodes simultaneously. However, the slave node's characteristic information carried in the broadcast message can help the slave node accurately determine the master node for establishing a communication connection, eliminating interference from other master nodes.
[0015] In one possible implementation, the aforementioned master node receives the aforementioned characteristic information from a configuration auxiliary device; the aforementioned configuration auxiliary device obtains the aforementioned characteristic information by scanning the identification plate, silk screen, label code or QR code of the aforementioned slave node, or the aforementioned configuration auxiliary device obtains the aforementioned characteristic information by establishing a communication connection with the aforementioned slave node.
[0016] In the above solution, the feature information of the slave node can be configured to the master node by configuring the auxiliary device, thereby improving the efficiency of the feature information configuration.
[0017] In one possible implementation, the aforementioned characteristic information includes at least one of the following: the first identification information of the aforementioned slave node, the second identification information of the object to which the aforementioned slave node is bound, the third identification information of the group to which the aforementioned slave node belongs, the type information of the aforementioned slave node, and the attribute information of the aforementioned slave node.
[0018] In the above scheme, the characteristic information of the slave node includes more types, which expands the actual application scenarios of this scheme and enhances the practicality of this scheme. In particular, if the characteristic information of the slave node includes the second identification information of the object bound to the above-mentioned slave node or the third identification information of the group to which the slave node belongs. Under this implementation method, a group of slave nodes can be bound and associated with the object or group, and the second identification information of the object or the third identification information of the group can enable the group of slave nodes to accurately determine the master node for establishing a communication connection. That is, the broadcast message sent by the master node does not need to carry the identification information of each slave node in the group of slave nodes, but only needs to carry the identification information of the object or group, thereby saving sending resources.
[0019] In a possible implementation, the aforementioned feature information is indicated in a manufacturer-defined data field of the aforementioned broadcast message.
[0020] In the above solution, by indicating the characteristic information of the slave node in the manufacturer-defined data field, it can be compatible with the existing communication standards, thereby enhancing the practicality of the solution.
[0021] In a possible implementation, after the slave node and the master node establish a communication connection, the slave node sends verification information to the master node; the verification information indicates the characteristic information;
[0022] The master node receives the verification information and verifies the communication status between the master node and the slave node based on the verification information.
[0023] In the above solution, the characteristic information of the slave node stored in the master node can be reused to verify the communication status between the master node and the slave node, reducing the additional overhead of using other different information for communication verification.
[0024] In a possible implementation, the aforementioned slave node is configured with the aforementioned characteristic information;
[0025] The master node sends a deletion instruction message to the slave node;
[0026] The slave node receives the deletion indication information and deletes the feature information based on the deletion indication information.
[0027] In the above solution, if the master node needs to replace or delete a slave node, it can send an instruction to the slave node to delete the slave node's characteristic information, thereby freeing up the slave node's storage space. In particular, if the characteristic information is the second identification information of an object bound to the slave node or the third identification information of a group to which the slave node belongs, deleting the second or third identification information also releases the slave node's binding relationship with the object or group.
[0028] In a second aspect, the present application provides a networking method, the method comprising:
[0029] The slave node receives a broadcast message from the master node, wherein the broadcast message is used to indicate characteristic information of the slave node, wherein the slave node is a node providing business content or services, and the master node is a node using the business content or services;
[0030] The aforementioned slave node sends a connection request message to the aforementioned master node according to the aforementioned characteristic information indicated by the aforementioned broadcast message; the aforementioned connection request message is used to request to establish a communication connection with the aforementioned master node.
[0031] Optionally, the aforementioned slave node does not broadcast the aforementioned feature information.
[0032] In a possible implementation, the aforementioned master node has a human-computer interaction interface for configuring the aforementioned feature information, and the aforementioned slave node does not have a human-computer interaction interface.
[0033] In one possible implementation, the aforementioned characteristic information includes at least one of the following:
[0034] The first identification information of the aforementioned slave node, the second identification information of the object to which the aforementioned slave node is bound, the third identification information of the group to which the aforementioned slave node belongs, the type information of the aforementioned slave node, and the attribute information of the aforementioned slave node.
[0035] In a possible implementation, the aforementioned feature information is indicated in a manufacturer-defined data field of the aforementioned broadcast message.
[0036] In one possible implementation, the aforementioned method further includes:
[0037] After the aforementioned slave node and the aforementioned master node establish a communication connection, the aforementioned slave node sends verification information to the aforementioned master node; the aforementioned verification information indicates the aforementioned characteristic information, and the aforementioned verification information is used to verify the communication status between the aforementioned slave node and the aforementioned master node.
[0038] In one possible implementation, the slave node is configured with the characteristic information; and the method further includes:
[0039] The slave node receives the deletion indication information and deletes the feature information based on the deletion indication information.
[0040] In a third aspect, the present application provides a networking method, the method comprising:
[0041] The master node sends a broadcast message; the broadcast message is used to indicate the characteristic information of the slave node, the slave node is the node that provides business content or services, and the master node is the node that uses the business content or services;
[0042] The aforementioned master node receives a connection request message from the aforementioned slave node; the aforementioned connection request message is used to request to establish a communication connection with the aforementioned master node.
[0043] Optionally, the aforementioned slave node does not broadcast the aforementioned feature information.
[0044] In a possible implementation, the aforementioned master node has a human-computer interaction interface for configuring the aforementioned feature information, and the aforementioned slave node does not have a human-computer interaction interface.
[0045] In one possible implementation, the aforementioned characteristic information includes at least one of the following:
[0046] The first identification information of the aforementioned slave node, the second identification information of the object to which the aforementioned slave node is bound, the third identification information of the group to which the aforementioned slave node belongs, the type information of the aforementioned slave node, and the attribute information of the aforementioned slave node.
[0047] In a possible implementation, the aforementioned feature information is indicated in a manufacturer-defined data field of the aforementioned broadcast message.
[0048] In one possible implementation, the aforementioned method further includes:
[0049] After the aforementioned slave node and the aforementioned master node establish a communication connection, the aforementioned master node receives verification information from the aforementioned slave node; the aforementioned verification information indicates the aforementioned characteristic information, and the aforementioned verification information is used to verify the communication status between the aforementioned slave node and the aforementioned master node.
[0050] In one possible implementation, the slave node is configured with the characteristic information; and the method further includes:
[0051] The aforementioned master node sends deletion indication information to the aforementioned slave node; the aforementioned deletion indication information indicates deletion of the aforementioned feature information.
[0052] In a fourth aspect, the present application provides a communication node, the communication node comprising:
[0053] a receiving unit, configured to receive a broadcast message from a master node, wherein the broadcast message is used to indicate characteristic information of the communication node, wherein the communication node is a node providing business content or services, and the master node is a node using the business content or services;
[0054] The sending unit is used to send a connection request message to the aforementioned master node according to the aforementioned characteristic information indicated by the aforementioned broadcast message; the aforementioned connection request message is used to request to establish a communication connection with the aforementioned master node.
[0055] Optionally, the aforementioned communication node does not broadcast the aforementioned characteristic information.
[0056] In a possible implementation, the aforementioned master node has a human-computer interaction interface for configuring the aforementioned feature information, and the aforementioned communication node does not have a human-computer interaction interface.
[0057] In one possible implementation, the aforementioned characteristic information includes at least one of the following:
[0058] The first identification information of the aforementioned communication node, the second identification information of the object to which the aforementioned communication node is bound, the third identification information of the group to which the aforementioned communication node belongs, the type information of the aforementioned communication node, and the attribute information of the aforementioned communication node.
[0059] In a possible implementation, the aforementioned feature information is indicated in a manufacturer-defined data field of the aforementioned broadcast message.
[0060] In one possible implementation, the aforementioned sending unit is also used to send verification information to the aforementioned master node after the aforementioned communication node and the aforementioned master node establish a communication connection; the aforementioned verification information indicates the aforementioned characteristic information, and the aforementioned verification information is used to verify the communication status between the aforementioned communication node and the aforementioned master node.
[0061] In a possible implementation, the aforementioned characteristic information is configured in the aforementioned communication node; the aforementioned receiving unit is further configured to receive deletion indication information; the aforementioned communication node further includes a deletion unit configured to delete the aforementioned characteristic information based on the aforementioned deletion indication information.
[0062] In a fifth aspect, the present application provides a communication node, the communication node comprising:
[0063] a sending unit, configured to send a broadcast message; the broadcast message is used to indicate characteristic information of a slave node, the slave node is a node providing business content or services, and the communication node is a node using the business content or services;
[0064] The receiving unit is used to receive a connection request message from the aforementioned slave node; the aforementioned connection request message is used to request to establish a communication connection with the aforementioned communication node.
[0065] Optionally, the aforementioned slave node does not broadcast the aforementioned feature information.
[0066] In a possible implementation, the aforementioned communication node has a human-computer interaction interface for configuring the aforementioned feature information, and the aforementioned slave node does not have a human-computer interaction interface.
[0067] In one possible implementation, the aforementioned characteristic information includes at least one of the following:
[0068] The first identification information of the aforementioned slave node, the second identification information of the object to which the aforementioned slave node is bound, the third identification information of the group to which the aforementioned slave node belongs, the type information of the aforementioned slave node, and the attribute information of the aforementioned slave node.
[0069] In a possible implementation, the aforementioned feature information is indicated in a manufacturer-defined data field of the aforementioned broadcast message.
[0070] In one possible implementation, the aforementioned receiving unit is also used to receive verification information from the aforementioned slave node after the aforementioned slave node and the aforementioned communication node establish a communication connection; the aforementioned verification information indicates the aforementioned characteristic information, and the aforementioned verification information is used to verify the communication status between the aforementioned slave node and the aforementioned communication node.
[0071] In a possible implementation, the aforementioned characteristic information is configured in the aforementioned slave node; the aforementioned sending unit is further configured to send deletion indication information to the aforementioned slave node; and the aforementioned deletion indication information indicates deletion of the aforementioned characteristic information.
[0072] In a sixth aspect, the present application provides a communication node, comprising a processor and a memory. The memory is coupled to the processor, and when the processor executes a computer program or computer instructions stored in the memory, the method described in any one of the second aspects above can be implemented. The communication node may also include a communication interface, which is used for the communication node to communicate with other devices (e.g., other communication nodes in the same communication system). Exemplarily, the communication interface may be a transceiver, circuit, bus, module, or other type of communication interface.
[0073] In a possible implementation, the communication node may include:
[0074] Memory for storing computer programs or computer instructions;
[0075] A processor, configured to: receive a broadcast message from a master node through a communication interface, wherein the broadcast message is used to indicate characteristic information of the slave node, the slave node being a node providing business content or services, and the master node being a node using the business content or services; send a connection request message to the master node through the communication interface based on the characteristic information indicated by the broadcast message; the connection request message is used to request establishment of a communication connection with the master node.
[0076] It should be noted that the computer programs or computer instructions in the memory of this application can be pre-stored or downloaded from the Internet when using the communication node. This application does not specifically limit the source of the computer programs or computer instructions in the memory. The coupling in the embodiments of this application is an indirect coupling or connection between units or modules, which can be electrical, mechanical or other forms, for information exchange between units or modules.
[0077] In a seventh aspect, the present application provides a communication node comprising a processor and a memory. The memory is coupled to the processor, and when the processor executes a computer program or computer instruction stored in the memory, the method described in any one of the third aspects above can be implemented. The communication node may also include a communication interface, which is used for the communication node to communicate with other devices (e.g., other communication nodes in the same communication system). Exemplarily, the communication interface may be a transceiver, circuit, bus, module, or other type of communication interface.
[0078] In a possible implementation, the communication node may include:
[0079] Memory for storing computer programs or computer instructions;
[0080] A processor, configured to: send a broadcast message through a communication interface; the broadcast message is used to indicate characteristic information of a slave node, the slave node is a node providing business content or services, and the master node is a node using the business content or services; receive a connection request message from the slave node through the communication interface; the connection request message is used to request establishment of a communication connection with the master node.
[0081] It should be noted that the computer programs or computer instructions in the memory of this application can be pre-stored or downloaded from the Internet when using the communication node. This application does not specifically limit the source of the computer programs or computer instructions in the memory. The coupling in the embodiments of this application is an indirect coupling or connection between units or modules, which can be electrical, mechanical or other forms, for information exchange between units or modules.
[0082] In an eighth aspect, the present application provides a computer-readable storage medium, which stores a computer program or computer instructions, and the aforementioned computer program or computer instructions are executed by a processor to implement the method described in any one of the above second aspects.
[0083] In a ninth aspect, the present application provides a computer-readable storage medium storing a computer program or computer instructions, wherein the computer program or computer instructions are executed by a processor to implement the method described in any one of the third aspects above.
[0084] In the tenth aspect, an embodiment of the present application provides a computer program product. When the computer program product is executed by a processor, the method described in any one of the above second aspects will be implemented.
[0085] In the eleventh aspect, an embodiment of the present application provides a computer program product. When the computer program product is executed by a processor, the method described in any one of the above third aspects will be implemented.
[0086] The solutions provided in the second to eleventh aspects are used to implement or cooperate with the corresponding systems provided in the first aspect, and therefore can achieve the same or corresponding beneficial effects as the corresponding systems in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0087] FIG1 is a schematic diagram showing the structure of a communication system;
[0088] Figure 2 shows a schematic diagram of the structure of a truck;
[0089] Figure 3 shows a schematic diagram of a scenario with multiple trucks;
[0090] FIG4 is a flow chart showing a networking method;
[0091] Figures 5 to 7 are schematic diagrams of the structure of manufacturer-defined fields;
[0092] FIG8 is a schematic diagram showing a process of configuring information from a node;
[0093] FIG9 is a schematic diagram showing an overall logical framework of the networking method;
[0094] Figures 10 to 12 are schematic diagrams showing the actual application process of the networking method;
[0095] FIG13 is a schematic diagram showing the replacement of the trailer;
[0096] FIG14 is a schematic diagram showing a practical application process of the networking method;
[0097] 15 to 18 are schematic structural diagrams of communication nodes. DETAILED DESCRIPTION
[0098] In the embodiment of the present application, "multiple" refers to two or more. In the embodiment of the present application, "and / or" is used to describe the association relationship of associated objects, indicating three relationships that can exist independently. For example, A and / or B can represent: A exists alone, B exists alone, or A and B exist at the same time. The description methods such as "at least one (or at least one) of a1, a2, ... and an" adopted in the embodiment of the present application include the situation where any one of a1, a2, ... and an exists alone, and also include any combination of any multiple of a1, a2, ... and an, each of which can exist alone; for example, the description method of "at least one of a, b and c" includes the situation where a is alone, b is alone, c is alone, a and b combination, a and c combination, b and c combination, or a, b, c combination.
[0099] In the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between the various embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.
[0100] The embodiments of the present application are described below with reference to the accompanying drawings.
[0101] 1 , which illustrates an exemplary communication system 100. The communication system 100 includes a master node 110 and N slave nodes 120 (N is an integer greater than or equal to 1). Wireless communication connections can be established between the master node 110 and the N slave nodes 120 to enable data exchange. The master node 110 and the slave nodes 120 are collectively referred to as communication nodes in the communication system 100.
[0102] In the above-mentioned communication system 100, the slave node 120 is a node that provides business content or services. The master node 110 is a node that uses the business content or services provided by the slave node 120. Exemplarily, the master node 110 uses the business content or services provided by the slave node 120 to include at least one of the following: the master node 110 obtains the business content (such as business content such as images or videos) provided by the slave node 120 and performs corresponding processing, etc., and the master node 110 controls the slave node 120 to provide corresponding services (such as controlling the corresponding slave node to provide services such as sound playback, audio and video playback, or lighting adjustment). It will be understood that the description of the business content or services provided by the slave node 120 used by the master node 110 is only an example here and does not constitute a limitation on the embodiments of the present application.
[0103] The master node 110 may also be referred to as the central node of the communication system 100. The slave node 120 may also be referred to as the end-side node of the communication system 100. For example, the master node 110 may be a grant (G) node in Spark Link Basic (SLB). The slave node 120 may be a terminal (T) node in SLB. It will be understood that this is merely an example and does not constitute a limitation on the embodiments of the present application.
[0104] To facilitate understanding of the relationship between the master node 110 and the slave node 120, an example is given below.
[0105] For example, the master node 110 may be a vehicle, and the slave node 120 may be a detection device. Exemplarily, the detection device may include, for example, a sensor such as a camera or a radar. The radar may include, for example, various types of radars such as ultrasonic radar, laser radar, millimeter wave radar, or microwave radar, which is not limited in the embodiments of the present application. The detection device may provide the vehicle with service content such as captured images or videos. The vehicle may obtain service content such as the images or videos to implement other functions (e.g., analyzing surrounding road conditions based on the images or videos, etc.). Exemplarily, the vehicle may be, for example, any type of vehicle traveling on the road. For example, a car, a bus, a passenger car, a truck, a fire truck, a police car, a sanitation truck, a concrete truck, a truck (referred to as a truck or a lorry, etc.), a garbage truck, or a forklift, etc. For ease of understanding, taking the master node as an example of a truck, reference may be made to FIG. 2 for example.
[0106] As can be seen in Figure 2, a truck consists of two major parts: a tractor and a trailer. The tractor and trailer are physically connected via connecting components. The tractor is used to provide power to help the trailer overcome road friction and travel. In one possible implementation, the tractor can also provide power to the trailer and perform data communication. The trailer is used to load cargo. In addition, multiple detection devices (circles in Figure 2 represent detection devices) can be deployed around the tractor and trailer to achieve a 360-degree panoramic view system. It will be understood that the number of detection devices shown in Figure 2 is only an example and does not constitute a limitation on the embodiments of the present application. For example, since the truck's tractor has human-computer interaction, data processing, and control functions, the tractor can be used as the master node. The slave nodes are the detection devices deployed around the truck. In another possible implementation, if the trailer has human-computer interaction, data processing, and control functions, then the trailer can be used as the master node. In another possible implementation, if both the tractor and trailer have human-computer interaction, data processing, and control functions, then the tractor and trailer can be treated as a whole and used as the master node.
[0107] For example, in another possible implementation, when the master node 110 is the aforementioned vehicle, the slave node 120 may be a speaker. The vehicle may control the speaker to provide a sound playback service. In another possible implementation, when the master node 110 is the aforementioned vehicle, the slave node 120 may be an ambient light. The vehicle may control the ambient light to provide a unique atmosphere lighting service.
[0108] For example, in another possible implementation, when the slave node 120 is a detection device, a speaker, or an ambient light, the master node 110 is not limited to the vehicle, but can be a terminal device associated with the vehicle. The terminal device may include, for example, a mobile phone, a wearable device, a tablet computer, or a computer with data transceiver capabilities (such as a laptop computer, a PDA, etc.). The embodiments of the present application do not limit the specific form of the terminal device.
[0109] For example, in another possible implementation, the slave node 120 may be a smart home device, such as audio and video equipment, smart lighting equipment, smart curtains, air conditioners, security systems, digital cinemas, audio and video servers, video cabinets, network appliances, etc. The master node 110 may be a terminal device capable of controlling the services provided by the smart home device. The terminal device may be exemplified by the aforementioned description and will not be further described here.
[0110] It is understood that the above-mentioned master node 110 and slave node 120 are merely examples and do not constitute a limitation on the embodiments of the present application. As long as the slave node 120 is a node that provides business content or services, and the master node 110 is a node that uses the business content or services provided by the slave node 120, they are considered to be master nodes and slave nodes as described in the embodiments of the present application.
[0111] The above-mentioned communication system can be applied to a variety of application scenarios, such as the following application scenarios: mobile internet (MI), industrial control, self-driving, transportation safety, Internet of Things (IoT), smart city or smart home, etc. In some application scenarios, the name of the device with similar communication capabilities may not be called a node. However, for the convenience of description, in the embodiments of this application, devices with communication capabilities are collectively referred to as nodes.
[0112] For example, a wireless communication system (such as the communication system 100 described above) can be networked using device discovery technology. Device discovery refers to a technique that enables one device to detect the presence of another device. Device discovery can include various implementations, which are described below using the master node and slave node described above as an example.
[0113] In one implementation, the master node discovers the slave node. Specifically, the slave node can send a broadcast message, and the master node can discover the existence of the slave node through the broadcast message. For example, in Bluetooth wireless communication technology, a slave node that provides business content or services (such as a Bluetooth headset, a Bluetooth mouse, or a Bluetooth keyboard, etc.) can broadcast a message, and a master node that uses the business content or service (such as a mobile phone or a computer, etc.) can receive the broadcast message and then discover the existence of the slave node based on the broadcast message. For another example, in wireless fidelity (WiFi) communication technology, a slave node that provides business content or services (such as a WiFi access device such as a router, a base station, or a mobile hotspot) can broadcast a message, and a master node that uses the business content or service (such as a mobile phone or a computer, etc.) can receive the broadcast message and then discover the existence of the slave node based on the broadcast message.
[0114] In another implementation scheme, the master node is discovered by the slave node. Specifically, the master node can send a broadcast message, and the slave node can discover the existence of the master node through the broadcast message, thereby causing the slave node to request the master node to establish a communication connection. For example, in SLB communication technology, the master node (such as a vehicle) that obtains business content or services sends a broadcast message, and the slave node (such as a camera, a speaker, or an atmosphere light, etc.) that provides business content or services can receive the broadcast message, thereby discovering the master node and requesting the master node to establish a communication connection. This can then enable the slave node to provide the corresponding business content or service to the master node. It is understandable that the solution of discovering the master node by the slave node is not limited to implementation in SLB communication technology, but can also be implemented in other wireless communication technologies, and the embodiments of the present application are not limited to this.
[0115] In the above-mentioned device discovery scheme whereby a slave node discovers a master node, the master node sends broadcast messages, while the slave node does not send broadcast messages for device discovery. Furthermore, due to cost and flexibility considerations, it is often difficult for slave nodes to pre-set their association configuration information with the master node when they leave the factory. In environments such as parking lots, production and maintenance workshops, or shopping malls, there are many smart devices in the same space covered by wireless signals. If these multiple smart devices include other master nodes in addition to the target master node that the slave node is used to connect to, the broadcast messages sent by the other master nodes will interfere with the connection between the slave node and the target master node. For ease of understanding, please refer to Figure 3 for example.
[0116] In Figure 3, the truck's tractor is the master node, and the detection device deployed on the truck (the circle in Figure 3 represents the detection device) is the slave node. Figure 3 shows an example of three trucks parked close to each other. Take Truck 2 as an example. In Truck 2, the desired networking goal is for tractor 2 to send a broadcast message, and then the detection devices on tractor 2 and trailer 2 can respond to the broadcast message and request tractor 2 to establish a communication connection. However, since the three trucks are close to each other, if tractor 2 sends a broadcast message, tractor 1 of truck 1 and tractor 3 of truck 3 will also send a broadcast message. The detection device on Truck 2 (taking detection device 1 as an example) will receive three broadcast messages. As a result, the detection device 1 does not know which broadcast message to respond to. That is, the broadcast messages sent by tractor 1 and tractor 3 interfere with the detection device 1, making it impossible for the detection device 1 to determine the object to establish a communication connection.
[0117] Based on the above introduction, to eliminate the aforementioned interference and improve the certainty and efficiency of communication connections, an embodiment of the present application provides a networking method. This method can indicate the characteristic information of the slave node in the broadcast message of the master node, so that the slave node knows that the broadcast message is the message it wants to respond to, thereby filtering out broadcast messages from other master nodes, and thus accurately achieving communication connections between the slave node and the master node, reducing interference. The following is an exemplary description of the implementation process of this method.
[0118] 4 , which shows a flow chart of a networking method according to an embodiment of the present application. The method may include but is not limited to the following steps.
[0119] S401: The master node sends a broadcast message, where the broadcast message is used to indicate characteristic information of the slave node.
[0120] Exemplarily, the master node may be, for example, the master node 110 in the communication system 100 , and the slave node may be, for example, any slave node 120 in the communication system 100 .
[0121] In a specific implementation, the master node can first configure the characteristic information of the slave node. The specific configuration and implementation process can be referred to below and will not be described in detail here. This characteristic information may include at least one of the following: the first identification information of the slave node, the second identification information of the object bound to the slave node, the third identification information of the group to which the slave node belongs, the type information of the slave node, and the attribute information of the slave node.
[0122] The first identification information of the slave node may include, for example, a unique number or name of the slave node.
[0123] The second identification information of the object bound to the above-mentioned slave node may, for example, include a unique number or name of the object. Exemplarily, the object may be a device on which the slave node is installed. For example, assuming that the slave node is the above-mentioned detection device, the object may be the trailer on which the detection device is installed, etc. Alternatively, the object may be the spatial range where the slave node is located. For example, assuming that the slave node is a smart home device, the object may be the room where the smart home device is located, etc. Alternatively, the object may be a user bound to the slave node. For example, assuming that the slave node is a headset or a wearable device, etc., the object may be the user to whom the headset or wearable device belongs, etc. Alternatively, the object may be the location where the slave node is located. It will be understood that the introduction here of the objects bound to the slave nodes is only an example and does not constitute a limitation to the embodiments of the present application.
[0124] The third identification information of the group to which the slave node belongs may include, for example, a unique number or name of the group, etc. The group may be, for example, a device group or cluster described by the slave node.
[0125] The type information of the slave node may include, for example, a device model of the slave node.
[0126] The attribute information of the slave node may include, for example, the color, function, custom name, or service type supported by the slave node.
[0127] It will be understood that the above description of the characteristic information of the slave node is merely an example and does not constitute a limitation to the embodiments of the present application.
[0128] After the master node has been configured with the characteristic information of the slave node, the master node may send a broadcast message including indication information of the characteristic information. For example, the indication information may be the characteristic information itself or a character indicating the characteristic information, etc., which is not limited in this embodiment of the present application. For ease of description, the indication information of the characteristic information of the slave node will be referred to as the characteristic indication information of the slave node.
[0129] In a possible implementation, if the master node is configured with characteristic information of multiple slave nodes, then the broadcast message sent may include characteristic indication information of the multiple slave nodes.
[0130] In one possible implementation, the characteristic information of the above-mentioned slave node is indicated in the manufacturer-defined data field of the above-mentioned broadcast message. For ease of understanding, let's take SLB communication technology as an example. In SLB communication technology, the networking of the communication system can be achieved through the device discovery solution in the "Star Flash Wireless Communication System Basic Service Layer Device Discovery and Service Management v1.0.0" standard. This standard defines the "manufacturer-defined data" data type of the device public information of the device being discovered. In an embodiment of the present application, the master node sends a broadcast message so that the slave node can discover the master node through the broadcast message, so the device being discovered is the master node. Based on this, a manufacturer-defined data field can be configured in the broadcast message sent by the master node, and data of the "manufacturer-defined data" data type is carried in this field, and this data includes the characteristic indication information of the above-mentioned slave node.
[0131] For example, please refer to Table 1, which exemplifies the format of the above-mentioned manufacturer-defined data.
[0132] Table 1
[0133] As can be seen in Table 1 above, the format of the manufacturer-defined data includes three items: data type, data length, and specific content description. Among them, the data type can be represented by the characters specified in the above standard, and the embodiments of the present application do not limit this. The data length is used to indicate the length of the specific content. The data length is variable, with a minimum of 2 bytes and a maximum of 256 bytes. The specific value of the data length can be set in a specific application. For example, the data length of the manufacturer-defined data field in the broadcast message sent by the above master node is set according to actual needs. The specific content description in the format of the manufacturer-defined data may include the manufacturer identification and specific data content (for example, including the characteristic indication information of the above slave node, etc.). The manufacturer identification may occupy the 2 bytes 0 to 1 of the aforementioned data length. The specific data content may occupy the 254 bytes 2 to 255 of the aforementioned data length.
[0134] For example, based on the aforementioned format of the vendor-defined data, the structure of the vendor-defined data field populated in the broadcast message sent by the master node can be implemented in a variety of ways. The following describes several exemplary structures of the vendor-defined data field. For a more comprehensive description, the following example uses the aforementioned broadcast message including characteristic indication information of multiple slave nodes.
[0135] In one possible implementation, the characteristic information of the above-mentioned multiple slave nodes are all characteristic information of the same type. Exemplarily, based on the foregoing introduction, the characteristic information of the slave node can at least include one or more of the five items of the above-mentioned first identification information, the above-mentioned second identification information, the above-mentioned third identification information, the type information of the slave node, and the attribute information of the slave node. Taking the example that the characteristic information of the slave node includes one of the five items, if the characteristic information of the multiple slave nodes are all information of the same item of the five items, for example, all are the first identification information, or all are the second identification information, etc., then the type of the characteristic information of the multiple slave nodes is the same. Or, exemplarily, if the multiple slave nodes belong to the same type of device, for example, all are cameras, or all are speakers, or all are atmosphere lights, etc., then the type of the characteristic information of the multiple slave nodes is the same.
[0136] When the characteristic information of the above-mentioned multiple slave nodes are all characteristic information of the same type, the structure of the manufacturer's custom data field can be exemplified by referring to Figure 5. As can be seen in Figure 5, the manufacturer's custom data field can include data type, data length and specific description content. The specific description content includes the manufacturer's identification and the characteristic indication information of multiple slave nodes (characteristic indication information 1 and characteristic indication information 2 as shown in Figure 5, etc.). The manufacturer's identification occupies 2 bytes. Since the types of the characteristic information of the multiple slave nodes are the same, the byte length occupied by the characteristic indication information of each slave node is fixed. The fixed byte length can be, for example, 8 bytes or the length of other settings, and the embodiment of the present application does not limit this. Alternatively, in another possible implementation, the byte length occupied by the characteristic indication information of the multiple slave nodes can be variable, specifically set according to actual application requirements, and the embodiment of the present application does not limit this.
[0137] In another possible implementation, the characteristic information of the plurality of slave nodes includes multiple types of characteristic information. For example, still taking the example of the characteristic information of the slave nodes including one of the five items above, if the characteristic information of some of the plurality of slave nodes includes information of one of the five items, and the characteristic information of some of the slave nodes includes information of another of the five items. For example, some include the first identification information, some include the second identification information, and so on, then the characteristic information of the plurality of slave nodes includes multiple types of characteristic information.
[0138] Alternatively, for example, if the multiple slave nodes include multiple types of devices, for example, the multiple slave nodes include three types of devices: cameras, speakers, and ambient lights, then the types of feature information of the multiple slave nodes include the feature types corresponding to each of the three types of devices. That is, the feature information types include the feature information type of the camera, the feature information type of the speaker, and the feature information type of the ambient light. It will be understood that this is merely an example, and the specific forms of the slave nodes described in the introduction to FIG. 1 for these multiple types of devices can be referred to, and will not be repeated here.
[0139] In the case where the characteristic information of the above-mentioned multiple slave nodes includes characteristic information of multiple types, the structure of the manufacturer-defined data field can be exemplified by referring to FIG6 . As can be seen in FIG6 , compared to the structure shown in FIG5 above, since multiple types of characteristic information are included, descriptions of the characteristic information types are added to the characteristic indication information of the multiple slave nodes. For example, if the characteristic information indicated by characteristic indication information 1 is type 1, then the description information of type 1 can be added to the structure of the manufacturer-defined data field, as shown in FIG6 . The description information of type 1 can occupy 1 byte or bytes of other set lengths, and this embodiment of the present application does not impose any restrictions on this. Similarly, if the characteristic information indicated by characteristic indication information 2 is type 2, then the description information of type 2 can be added to the structure of the manufacturer-defined data field, as shown in FIG6 . The description information of type 2 can occupy 1 byte or bytes of other set lengths, and this embodiment of the present application does not impose any restrictions on this. The same applies to other types of characteristic information and will not be repeated.
[0140] In a possible implementation, if the second identification information (or third identification information) included in the characteristic information of multiple slave nodes is the same, then only one piece of the second identification information (or third identification information) needs to be included in the broadcast message.
[0141] To better understand the structure shown in Figure 6, see Figure 6A for an example. In Figure 6A, assume that the master node is the tractor shown in Figure 2, and the slave nodes include the multiple detectors mounted on the truck shown in Figure 2. The broadcast message sent by the tractor includes the characteristic information of the multiple detectors. Assume that the characteristic information of each detector includes its own first identification information and the second identification information of the object it is bound to (i.e., the trailer shown in Figure 2). The broadcast message sent by the tractor may include the first identification information of each of the multiple detectors, as well as the identification information of the trailer. Since the multiple detectors are bound to the same trailer, the characteristic information of each detector includes the same identification information of the trailer. Therefore, the broadcast message only needs to include the identification information of one trailer. Based on this, the schematic diagram of the structure of the manufacturer-defined data field in the broadcast message shown in Figure 6A can be obtained. It can be seen that the characteristic indication information description portion of the multiple slave nodes includes the identification information of multiple detectors (only two are shown schematically in Figure 6A), such as Detector 1 and Detector 2, and their corresponding types (for example, assuming type 1). The identification indication information of the detection device is used to indicate the first identification information of the corresponding detection device. In addition, this part also includes the identification indication information of the trailer and its corresponding type (for example, assuming it to be type 2). The identification indication information of the trailer is used to indicate the identification information of the aforementioned trailer. It will be understood that what is shown in Figure 6A is only an example and does not constitute a limitation to the embodiments of the present application. The placement positions of the identification indication information of the detection device and the trailer and their types can be determined according to actual applications, and the embodiments of the present application do not limit this. For example, in another possible implementation, the identification indication information of the trailer and its type can be placed between the type 1 corresponding to the manufacturer's logo and the identification indication information of the detection device 1.
[0142] In addition, the byte length occupied by the characteristic indication information of different characteristic information types in FIG6 is fixed (e.g., 8 bytes). In another possible implementation, the byte length occupied by the characteristic indication information of different characteristic information types can be variable, as shown, for example, in the structural diagram shown in FIG7 . As can be seen in FIG7 , compared to the structure shown in FIG6 , since the byte length occupied by the characteristic indication information of different characteristic information types is variable, a description of the length of the characteristic information is added to the characteristic indication information of multiple slave nodes. For example, assuming that the length of characteristic indication information 1 is 8 bytes, then a description of this length can be added to the structure of the manufacturer-defined data field, as shown, for example, in FIG7 . The description of this length can occupy 1 byte or other set length of bytes, which is not limited in this embodiment of the present application. Similarly, assuming that the length of characteristic indication information 2 is 10 bytes, then a description of this length can be added to the structure of the manufacturer-defined data field, as shown, for example, in FIG7 . The description of this length can occupy 1 byte or other set length of bytes, which is not limited in this embodiment of the present application. The same applies to other types of characteristic information and will not be further described.
[0143] It will be understood that the above description of the structure of the manufacturer-defined data field is merely an example and does not constitute a limitation to the embodiments of the present application.
[0144] In a possible implementation, the master node may send the broadcast message through an access layer.
[0145] S402: The slave node receives the broadcast message.
[0146] After the master node sends the broadcast message, the slave node can receive the broadcast message.
[0147] S403: The slave node sends a connection request message to the master node according to the characteristic information indicated in the broadcast message.
[0148] After receiving the broadcast message, the slave node can parse the broadcast message and obtain the information in the manufacturer-defined data field in the broadcast message (referred to as the first target information). Then, it is determined whether the first target information includes the characteristic indication information of the slave node. Exemplarily, if the characteristic indication information of the slave node is the characteristic information of the slave node itself, the slave node is pre-configured with its own characteristic information. Therefore, the slave node can obtain its own characteristic information and compare the characteristic information of the slave node with the first target information. If the first target information includes the characteristic information of the slave node, the first target information includes the characteristic indication information of the slave node. Conversely, if the first target information does not include the characteristic information of the slave node, the first target information does not include the characteristic indication information of the slave node.
[0149] Alternatively, for example, if the characteristic indication information of the slave node is a character indicating the characteristic information of the slave node, then the slave node is preconfigured with an association between the character and the characteristic information of the slave node. Therefore, the slave node can obtain the character and compare it with the first target information. If the first target information includes the character, then the first target information includes the characteristic indication information of the slave node. Conversely, if the first target information does not include the character, then the first target information does not include the characteristic indication information of the slave node.
[0150] If the first target information obtained above does not include the characteristic indication information of the slave node, the slave node may ignore or discard the received broadcast message.
[0151] If the first target information obtained includes the characteristic indication information of the slave node, the slave node can know that the master node that sent the broadcast message is the node that established the communication connection. Therefore, it can send a connection request message to the master node.
[0152] S404: The master node receives the connection request message and establishes a communication connection with the slave node according to the connection request message.
[0153] After the slave node sends the connection request message, the master node may receive the connection request message and establish a communication connection with the slave node in response to the connection request message. The specific process for establishing the communication connection may refer to, for example, corresponding communication standards or various communication connection methods optimized and improved based on communication standards, and the embodiments of the present application are not limited thereto.
[0154] To sum up, the embodiment of the present application indicates the characteristic information of the slave node in the broadcast message of the master node, so that the slave node knows that the broadcast message is the message it wants to respond to, thereby filtering out the broadcast messages of other master nodes, and then accurately realizing the communication connection between the slave node and the master node and reducing interference.
[0155] In one possible implementation, establishing a communication connection between the slave node and the master node establishes a data communication channel between the slave node and the master node. The slave node can send verification information to the master node via this data communication channel to verify whether the communication status of the data communication channel is normal. In a specific implementation, the master node may pre-store this verification information or pre-store information indicated by the verification information. For example, if the master node pre-stores this verification information, after receiving the verification information sent by the slave node, the master node can compare the verification information with the pre-stored verification information. If the two pieces of information are consistent, it indicates that the communication status of the aforementioned data communication channel is good and data communication can be achieved normally. Conversely, if the two pieces of information are inconsistent, it indicates that the communication status of the data communication channel is poor, or even that there is a risk of information leakage. Therefore, the master node can disconnect the communication connection with the slave node. Exemplarily, the verification information can be, for example, the characteristic information of the slave node, or the verification information indicates the characteristic information of the slave node. This implementation method can reuse the characteristic information of the slave node stored in the master node, reducing the additional overhead of using different information for communication verification.
[0156] In one possible implementation, as described above, the slave node is configured with its own characteristic information. For example, the slave node may have its own characteristic information configured at the factory. Alternatively, the slave node may configure its own characteristic information during actual use. This configuration method is described in detail in FIG8 and its possible implementations below, and will not be described in detail here. If the master node wishes to disconnect its communication connection with the slave node, for example, if the master node receives a disconnect instruction from a user, the master node may first send a deletion instruction to the slave node via the established data communication channel. This deletion instruction instructs the slave node to delete its own stored characteristic information. Upon receiving this deletion instruction, the slave node may respond to it and delete its own stored characteristic information, thereby freeing up its own storage space. Upon successful deletion, the slave node may return a successful deletion indication message to the master node. Based on this indication message, the master node verifies that the slave node has successfully deleted the corresponding characteristic information and then disconnects its communication connection with the slave node. In another possible implementation, before disconnecting its communication connection with the slave node, the master node also deletes its own stored characteristic information of the slave node, thereby freeing up its own storage space.
[0157] In one possible implementation, based on the foregoing description, the networking method provided in the embodiments of the present application addresses the communication connection interference problem that exists in device discovery schemes where slave nodes discover master nodes. Therefore, the master node broadcasts a message indicating the characteristic information of the slave nodes. However, the slave nodes do not broadcast messages indicating their own characteristic information. In other words, the slave nodes do not broadcast their own characteristic information.
[0158] In one possible implementation, the master node has a human-computer interaction interface for configuring the characteristic information of the slave node, while the slave node does not have a human-computer interaction interface. Exemplarily, the human-computer interaction interface may include a human-computer interaction interface, a human-computer voice interaction interface, a keyboard or a mouse, and the like. Alternatively, exemplarily, the human-computer interaction interface possessed by the master node is not limited to the human-computer interaction interface that comes with the master node, but may also include a human-computer interaction interface extended by the master node. For example, the master node may extend a connected display screen or communicate with a terminal device having a human-computer interaction interface, etc., then the extended connected display screen and the human-computer interaction interface possessed by the terminal device are also human-computer interaction interfaces possessed by the master node. The embodiment of the present application does not limit the manner or implementation form in which the master node has a human-computer interaction interface.
[0159] In the above implementation, since the master node has a human-computer interaction interface, the slave node's characteristic information can be configured to the master node through this interface. This allows the master node to include the slave node's characteristic information in its broadcast messages. Furthermore, since the slave node lacks a human-computer interaction interface, manual selection of the master node for establishing a communication connection is impossible when receiving broadcast messages from multiple master nodes simultaneously. However, the slave node's characteristic information carried in the broadcast message can help the slave node accurately determine the master node for establishing a communication connection, eliminating interference from other master nodes.
[0160] The following is an example of the implementation process of configuring the characteristic information of the slave nodes on the master node.
[0161] In a possible implementation, if the characteristic information of the slave node includes one or more of the first identification information, the type information of the slave node, and the attribute information of the slave node, then it can be configured in the master node in the following manner.
[0162] The first method involves using a user-identifiable nameplate, silkscreen, or other visible identification on the slave node's housing or mounting. This nameplate or silkscreen includes the aforementioned slave node's characteristic information. The user can then record this information by copying or photographing it. The recorded characteristic information is then manually configured into the master node through the master node's supported human-computer interface.
[0163] In the second way, the device housing or installation of the slave node contains a matrix QR code (such as a QR Code, etc.) or a label that can uniquely identify an object (such as an NF Tag, etc.). And the matrix QR code or label can parse the characteristic information of the above-mentioned slave node. Then, it can be scanned and identified by a terminal device such as a mobile phone. For example, after the terminal device scans the matrix QR code or label, it can identify the corresponding characteristic information and display it to the user. Then, the identified characteristic information is manually configured into the master node through the human-computer interaction interface supported by the master node. Alternatively, for example, the terminal device can communicate with the master node, and after the terminal device identifies the corresponding characteristic information, it can send the characteristic information to the master node. After receiving the characteristic information, the master node can save it to complete the configuration of the characteristic information.
[0164] In the third method, terminal devices such as mobile phones can access the slave node through wireless communication technologies such as SLB or Sparklink Low Energy (SLE). Then, the characteristic information stored in the slave node is read. For example, after the terminal device reads the characteristic information, it can be displayed to the user. Then, the identified characteristic information is manually configured into the master node through the human-computer interaction interface supported by the master node. Alternatively, for example, the terminal device can also communicate with the master node, and after the terminal device reads the characteristic information, it can send the characteristic information to the master node. After receiving the characteristic information, the master node can save it to complete the configuration of the characteristic information.
[0165] In one possible implementation, if the characteristic information of the slave node includes second target information, which includes the second identification information of the object bound to the slave node or the third identification information of the group to which the slave node belongs, then it can be configured in the master node in the following manner.
[0166] Exemplarily, if the above-mentioned second target information is the second identification information of the object bound to the slave node, and the object has an exposed identification object that can be identified by the user. Then, the user can record it by copying or photographing. Then, the recorded second identification information is manually input into the master node through the human-computer interaction interface of the master node. The master node saves the input information. Exemplarily, if the object is the trailer or other equipment introduced above, the exposed identification object can be, for example, the nameplate or silk screen of the trailer. Alternatively, if the object is the room where the slave node is located, the exposed identification object can be, for example, the room number of the room. It will be understood that the introduction here is only an example and does not constitute a limitation to the embodiments of the present application.
[0167] Exemplarily, if the above-mentioned second target information is the second identification information of the object bound to the slave node or the third identification information of the group to which the slave node belongs, and the object or group has no exposed identification object that can be identified by the user. In this case, if there is pre-set second identification information of the object or third identification information of the group, then the set second identification information or third identification information can be manually input into the master node through the human-computer interaction interface. Alternatively, the user can customize the corresponding identification information for the object or group, and can manually input the customized identification information into the master node through the human-computer interaction interface. The master node saves the input information. It will be understood that the introduction here is only an example and does not constitute a limitation to the embodiments of the present application.
[0168] In one possible implementation, if the characteristic information of the slave node includes the second target information, and the slave node is not configured with the second target information when it leaves the factory, then, in actual application, the second target information can be configured into the slave node using the following configuration method, thereby completing the binding between the slave node and the second target information.
[0169] This configuration method can be accomplished with the aid of a configuration assistance device. For example, the configuration assistance device can be the aforementioned master node, or a terminal device with a human-computer interface. For example, FIG8 illustrates the configuration process using two slave nodes (referred to as slave node 1 and slave node 2). This configuration process may include, but is not limited to, the following steps.
[0170] 801. A configuration auxiliary device obtains second target information input by a user through a human-computer interaction interface, and creates an array object based on the second target information.
[0171] In a specific implementation, the second target information, i.e., the second identification information of the object bound to the slave node (e.g., including slave node 1 and slave node 2), or the third identification information of the group to which the slave node belongs, can be input into the configuration auxiliary device by a user through the human-computer interaction interface of the configuration auxiliary device. For details, please refer to the aforementioned description of configuring the second identification information or the third identification information in the master node, which will not be repeated here.
[0172] After receiving the second target information input by the user via the human-computer interaction interface, the configuration assistant device can create a corresponding array object based on the second target information. This array object is a data structure associated with the second target information and can be used to store at least one of the first identification information, type information, or attribute information of the slave node bound to the second target information. The following description uses the use of this array object to store the first identification information of a slave node as an example.
[0173] 802. The configuration auxiliary device displays a configuration interface of the slave node based on the created array object, and receives and saves the first identification information of the slave node 1 and the slave node 2 input by the user through the configuration interface.
[0174] After completing the creation of the array object, the configuration assistance device may display a corresponding configuration interface. The configuration assistance device may then receive and store the first identification information of slave node 1 and slave node 2 input by the user through the configuration interface. It is understood that in another possible implementation, the first identification information of slave node 1 and slave node 2 may be input to the configuration assistance device through other types of human-computer interaction interfaces. This example uses the configuration interface as an example.
[0175] 803 : Configure the auxiliary device to send a broadcast message, where the broadcast message indicates first identification information of slave node 1 and slave node 2 .
[0176] After the configuration assistance device saves the received first identification information of slave nodes 1 and 2, it may send the broadcast message. Optionally, the configuration assistance device may send the broadcast message in response to a user's instruction. The broadcast message carries information indicating the first identification information of slave nodes 1 and 2. For specific implementation, refer to the description of step S401 above and will not be repeated here.
[0177] 804. Slave node 1 and slave node 2 receive the broadcast message and determine whether the broadcast message includes their own identification indication information.
[0178] The specific implementation of this step can refer to the relevant introduction of the above-mentioned step S402 and step S403, which will not be repeated here.
[0179] 805. If the broadcast message includes its own identification indication information, slave node 1 and slave node 2 send a connection request message.
[0180] The specific implementation of this step can refer to the relevant introduction of the aforementioned step S403 and will not be repeated here.
[0181] 806. Configure the auxiliary device to establish communication connections with slave node 1 and slave node 2 respectively.
[0182] The specific implementation of this step can refer to the relevant introduction of the aforementioned step S404, which is not repeated here.
[0183] 807 . The configuration auxiliary device sends the second target information to slave node 1 and slave node 2 respectively based on the established data communication channel.
[0184] In a specific implementation, assume that the configuration assistance device establishes data communication channel 1 with slave node 1 and data communication channel 2 with slave node 2. Then, the configuration assistance device can send the second target information to slave node 1 via data communication channel 1. The configuration assistance device can also send the second target information to slave node 2 via data communication channel 2.
[0185] 808. Slave node 1 and slave node 2 save the received second target information.
[0186] After receiving the second target information, the slave node 1 and the slave node 2 may save the second target information to complete the binding.
[0187] 809. Slave node 1 and slave node 2 return a binding success message to the configuration auxiliary device.
[0188] Then, slave node 1 and slave node 2 may send a binding success message to the configuration auxiliary device to notify the configuration auxiliary device that the binding operation is successfully completed.
[0189] 810. Configure the auxiliary device to disconnect the communication with slave node 1 and slave node 2 respectively.
[0190] Since the configuration auxiliary device mainly assists the slave node 1 and the slave node 2 in binding with the second target information, the configuration auxiliary device may disconnect the communication connection with the slave node 1 and the slave node 2 after learning that the binding has been completed.
[0191] In another possible implementation, if the characteristic information of the slave node includes one or more of the three items of the first identification information, the type information of the slave node, and the attribute information of the slave node, and the slave node is not configured with this information when it leaves the factory, then, in actual application, this information can also be configured into the slave node and the binding of the slave node and this information can be completed. For example, this configuration method can also be completed with the help of the above-mentioned configuration auxiliary device. Unlike the configuration of the second target information into the slave node in Figure 8 above, the operation of "displaying the configuration interface of the slave node based on the created array object" in steps 801 and 802 above can be omitted. The configuration auxiliary device can be responsive to the configuration instructions input by the user to display the configuration interface of the slave node. Then, the characteristic information of the slave node input by the user is received and saved through the configuration interface. The specific configuration implementation process that follows can refer to the relevant description of steps 803 to 810 in Figure 8 above, which will not be repeated here.
[0192] It will be understood that the above-described implementation method of configuring information in the master node or the slave node is merely an example and does not constitute a limitation to the embodiments of the present application.
[0193] In combination with the above introduction, in a possible implementation, please refer to Figure 9, which shows a schematic diagram of the overall logical framework of the networking method provided by an embodiment of the present application. As can be seen in Figure 9, the master node can receive the characteristic information from node 1 to slave node N input by the user through the human-computer interaction interface, as shown in ① in Figure 9. Then, referring to ② shown in Figure 9, after the master node receives the characteristic information from node 1 to slave node N through the human-computer interaction interface, it stores the characteristic information. Then, referring to ③ and ④ shown in Figure 9, the master node can generate a broadcast message and send it. The broadcast message may include the discovery level, device name (i.e., the name of the master node), L2ID (i.e., the identifier used for media access layer addressing), and the characteristic indication information from nodes 1 to N included in the manufacturer's custom data field. The broadcast message can be received by nodes 1 to N+1. Since the slave nodes 1 to N can find their own characteristic indication information in the broadcast message, the master node that sends the broadcast message is determined to be the node for establishing a communication connection, and then a connection request message is sent to the master node, as shown in ⑤ in Figure 9. However, the slave node N+1 does not find its own characteristic indication information in the broadcast message, and thus determines that the master node that sent the broadcast message is not the node that establishes a communication connection, and thus does not send a connection request message to the master node, see ⑥ shown in Figure 9.
[0194] The following is a further illustrative description of the process of actually applying the above networking method in conjunction with the application scenario of establishing a communication connection network between the tractor and the detection device in the truck shown in Figure 2. The following is an illustrative description in conjunction with Figures 10 to 12. Figures 10 to 12 take two detection devices (i.e., detection device 1 and detection device 2) as an example. This actual application process requires user participation, so Figures 10 to 12 also illustratively illustrate the relevant user operation steps.
[0195] First, see Figure 10. In step 1001, the user can install the detection devices on the truck and record the characteristic information of each detection device. The user also needs to connect the tractor and trailer. The connection between the tractor and trailer is a physical connection, and the tractor can provide power to the trailer.
[0196] In step 1002, the user can power on the tractor. Since the trailer and various detection devices can be powered by the tractor, after the tractor is powered on, the trailer and detection devices can also be powered on. Alternatively, after the tractor is powered on, the user can turn on the power switches of the trailer and detection devices to power them on.
[0197] In step 1003 , the tractor may display a human-computer interaction interface for configuring characteristic information of the detection device in response to a user operation.
[0198] In step 1004, the user may input characteristic information of each detection device (ie, the detection device 1 and the detection device 2) in the human-computer interaction interface.
[0199] In step 1005, the tractor receives the characteristic information of each detection device through the human-computer interaction interface and saves it in the manufacturer-defined information. The tractor can define a type of manufacturer-defined information and then save the characteristic information of detection device 1 and detection device 2 as the manufacturer-defined information.
[0200] In step 1006, the user may input a network connection instruction on the tractor, for example, by clicking a related network connection button or control on a human-computer interaction interface.
[0201] For steps 1007 to 1011 , reference may be made to the related introduction of steps S401 to S404 , which will not be repeated here.
[0202] In step 1012, after the tractor establishes a communication connection with the detection device 1 and the detection device 2, the tractor can actively read the characteristic information of the detection device 1 and the detection device 2, or the detection device 1 and the detection device 2 can report their own characteristic information to the tractor to verify whether the communication status of the established data communication channel is normal.
[0203] In step 1013, the tractor can determine whether the received characteristic information is consistent with the locally stored characteristic information. The specific introduction of the above steps 1012 and 1013 can refer to the related description of the slave node sending verification information to the master node, which is not repeated here.
[0204] In step 1014, if the tractor determines that the received characteristic information is consistent with the locally stored characteristic information, a message indicating that the network connection is successful may be displayed on the human-computer interaction interface to notify the user.
[0205] It will be understood that the above is merely an illustrative introduction to an implementation process of a networking method provided in an embodiment of the present application and does not constitute a limitation to the embodiments of the present application.
[0206] For example, after the above networking is successful, if you want to delete a detection device in the networked communication system, you can refer to the process shown in Figure 11. Figure 11 takes the deletion of the above detection device 1 as an example.
[0207] In step 1101 shown in Figure 11, the user can input a command on the tractor to delete the detection device 1. For example, the command can be input by clicking a related delete button or control on the human-computer interaction interface.
[0208] In step 1102, the tractor responds to the instruction and deletes the locally stored characteristic information of the detection device 1 and updates the manufacturer-defined information. Since the characteristic information of the detection device 1 is deleted, the manufacturer-defined information no longer includes the characteristic information of the detection device 1, so the manufacturer-defined information needs to be updated.
[0209] In step 1103, after deleting the characteristic information of the detection device 1, the tractor can disconnect the communication connection with the detection device 1. The specific interactive process of disconnecting the communication connection is not limited in the embodiment of the present application.
[0210] In step 1104, after disconnecting the communication connection with the detection device 1, the tractor can display a message of successful deletion on the human-computer interaction interface to notify the user.
[0211] It will be understood that the above is merely an illustrative introduction to an implementation process of deleting a slave node in a communication system in a practical application, and does not constitute a limitation to the embodiments of the present application.
[0212] For example, if the detection device 1 to be deleted is a detection device bound to the trailer, and the identification of the trailer is configured in the detection device 1. The identification of the trailer is the second identification information of the object (i.e., the trailer) bound to the slave node (i.e., the detection device 1) as described above. For example, it can be configured in the manner shown in Figure 8 above. In this case, reference can be made to the process shown in Figure 12.
[0213] In step 1201 shown in Figure 12, the user can input a command on the tractor to delete the detection device 1. For example, the command can be input by clicking a related delete button or control on the human-computer interaction interface.
[0214] In step 1202, the tractor may send instruction information for deleting the trailer identification to the detection device 1 in response to the instruction.
[0215] In step 1203, the detection device 1 deletes the pre-stored trailer identification based on the instruction information.
[0216] In step 1204, the detection device 1 returns to the tractor, i.e. sends an indication message indicating that the deletion is successful.
[0217] In step 1205, the tractor also deletes the locally stored characteristic information of the detection device 1 and updates the manufacturer-defined information. Since the characteristic information of the detection device 1 is deleted, the manufacturer-defined information no longer includes the characteristic information of the detection device 1, so the manufacturer-defined information needs to be updated.
[0218] In step 1206, after deleting the characteristic information of the detection device 1, the tractor can disconnect the communication connection with the detection device 1. The specific interactive process of disconnecting the communication connection is not limited in the embodiment of the present application.
[0219] In step 1207, after disconnecting the communication connection with the detection device 1, the tractor can display a message of successful deletion on the human-computer interaction interface to notify the user.
[0220] It will be understood that the above is merely an illustrative introduction to an implementation process of deleting a slave node in a communication system in a practical application, and does not constitute a limitation to the embodiments of the present application.
[0221] By way of example, after the above-mentioned process based on FIG10 is successfully networked, if the tractor is to replace the trailer, all detection devices on the trailer must be deleted from the networked communication system. For ease of understanding, please refer to FIG13 for example. In FIG13, the tractor was originally connected to trailer 1 for supplying power and providing motive force to trailer 1. If the trailer connected to the tractor is to be replaced with trailer 2, the physical connection between the tractor and trailer 1 can be disconnected first. Then, the trailer 2 and the tractor are connected together through a connecting component for supplying power and providing motive force to trailer 2. In the process of replacing the trailer, the implementation process of deleting all detection devices on trailer 1 in the networked communication system can be exemplified by referring to the process shown in FIG14.
[0222] In step 1401 shown in FIG14 , the user can first disconnect the physical connection between the tractor and trailer 1, which then powers off trailer 1. Once trailer 1 is powered off, the detection device installed on trailer 1 is also powered off. The detection device installed on trailer 1 then automatically disconnects from the tractor.
[0223] In step 1402, after the physical connection between the tractor and the trailer 1 is disconnected, the user can input a command on the tractor to delete the identifier of the trailer 1. For example, the command can be input by clicking a related delete button or control on the human-computer interaction interface.
[0224] In step 1403, the tractor deletes the locally stored identification of trailer 1 in response to the instruction and updates the manufacturer-defined information. Since the identification of trailer 1 is deleted, the manufacturer-defined information no longer includes the identification of trailer 1, so the manufacturer-defined information needs to be updated.
[0225] In step 1404, the tractor may display a message indicating successful deletion on the human-computer interaction interface to notify the user.
[0226] After the tractor unties the trailer 1 and its corresponding detection device, it can reconnect to another trailer, namely the trailer 2, and establish a communication connection with the detection device on the trailer 2. The specific implementation process can be referred to the introduction of Figure 10 above, which will not be repeated here.
[0227] In the above implementation, a group of slave nodes can be deleted quickly and easily. Compared with the implementation of deleting each slave node one by one, this solution is more convenient for users to operate, reduces the difficulty of operation, and improves the user experience.
[0228] It is understandable that the above is only an illustrative introduction to the implementation process of deleting a group of slave nodes in a communication system in an actual application, and does not constitute a limitation on the embodiments of the present application. In another possible implementation, the group of slave nodes to be replaced can be bound to other objects or belong to a certain group, for example, the bound objects are rooms, users or locations, etc. For example, the group can be a device group or a cluster, etc., and the embodiments of the present application do not limit this. In this case, if the master node wants to replace the group of slave nodes, it can also adaptively refer to the process shown in Figure 14 above, and the embodiments of the present application will not be repeated.
[0229] The above mainly introduces the networking method provided by the embodiment of the present application. It is understandable that, in order to implement the corresponding functions mentioned above, each communication node includes a hardware structure and / or software module corresponding to the execution of each function. In combination with the units and steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0230] The embodiments of the present application can divide the communication nodes into functional modules according to the above method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical functional division. In actual implementation, there may be other division methods.
[0231] In the case of dividing the functional modules according to the corresponding functions, the embodiments of the present application also provide a communication node for implementing any of the above methods. For example, a communication node is provided including units (or means) for implementing each step in any of the above methods.
[0232] For example, please refer to Figure 15, which is a schematic diagram of the structure of a communication node 1500 provided in an embodiment of the present application. The communication node 1500 can be a slave node described in any embodiment of the above-mentioned networking method. The communication node 1500 can include a receiving unit 1501 and a sending unit 1502.
[0233] Receiving unit 1501 is configured to receive a broadcast message from a master node. The broadcast message indicates characteristic information of communication node 1500. Communication node 1500 is a node providing business content or services, and master node is a node using the business content or services. Receiving unit 1501 can be configured to perform the receiving operation of step S402 in FIG. 4 .
[0234] The sending unit 1502 is configured to send a connection request message to the master node according to the feature information indicated in the broadcast message; the connection request message is used to request to establish a communication connection with the master node. The sending unit 1502 can be used to perform the sending operation of step S403 in FIG. 4 .
[0235] Optionally, the aforementioned communication node 1500 does not broadcast the aforementioned characteristic information.
[0236] In one possible implementation, the aforementioned master node has a human-computer interaction interface for configuring the aforementioned feature information, and the aforementioned communication node 1500 does not have a human-computer interaction interface.
[0237] In one possible implementation, the aforementioned characteristic information includes at least one of the following:
[0238] The first identification information of the aforementioned communication node 1500, the second identification information of the object to which the aforementioned communication node 1500 is bound, the third identification information of the group to which the aforementioned communication node 1500 belongs, the type information of the aforementioned communication node 1500, and the attribute information of the aforementioned communication node 1500.
[0239] In a possible implementation, the aforementioned feature information is indicated in a manufacturer-defined data field of the aforementioned broadcast message.
[0240] In one possible implementation, the aforementioned sending unit 1502 is also used to send verification information to the aforementioned master node after the aforementioned communication node 1500 and the aforementioned master node establish a communication connection; the aforementioned verification information indicates the aforementioned characteristic information, and the aforementioned verification information is used to verify the communication status between the aforementioned communication node 1500 and the aforementioned master node.
[0241] In one possible implementation, the aforementioned characteristic information is configured in the aforementioned communication node 1500; the aforementioned receiving unit 1501 is further configured to receive deletion indication information; the aforementioned communication node further includes a deletion unit, configured to delete the aforementioned characteristic information based on the aforementioned deletion indication information.
[0242] The specific operations and beneficial effects of each unit in the communication node 1500 shown in Figure 15 can be found in the corresponding descriptions in Figure 4 and its possible embodiments, and will not be repeated here.
[0243] For example, please refer to Figure 16, which is a schematic diagram of the structure of a communication node 1600 provided in an embodiment of the present application. The communication node 1600 can be a master node for implementing any embodiment of the above-mentioned networking method. The communication node 1600 can include a sending unit 1601 and a receiving unit 1602. Among them:
[0244] The sending unit 1601 is configured to send a broadcast message, wherein the broadcast message indicates characteristic information of a slave node, wherein the slave node is a node providing business content or services, and the communication node is a node using the business content or services. The sending unit 1601 can be configured to perform the sending operation of step S401 in FIG. 4 .
[0245] The receiving unit 1602 is configured to receive a connection request message from the slave node, wherein the connection request message is used to request to establish a communication connection with the communication node 1600. The receiving unit 1602 may be configured to perform the receiving operation of step S404 in FIG4 .
[0246] Optionally, the aforementioned slave node does not broadcast the aforementioned feature information.
[0247] In a possible implementation, the communication node 1600 has a human-computer interaction interface for configuring the characteristic information, and the slave node does not have a human-computer interaction interface.
[0248] In one possible implementation, the aforementioned characteristic information includes at least one of the following:
[0249] The first identification information of the aforementioned slave node, the second identification information of the object to which the aforementioned slave node is bound, the third identification information of the group to which the aforementioned slave node belongs, the type information of the aforementioned slave node, and the attribute information of the aforementioned slave node.
[0250] In a possible implementation, the aforementioned feature information is indicated in a manufacturer-defined data field of the aforementioned broadcast message.
[0251] In one possible implementation, the aforementioned receiving unit 1602 is also used to receive verification information from the aforementioned slave node after the aforementioned slave node and the aforementioned communication node 1600 establish a communication connection; the aforementioned verification information indicates the aforementioned characteristic information, and the aforementioned verification information is used to verify the communication status between the aforementioned slave node and the aforementioned communication node 1600.
[0252] In a possible implementation, the aforementioned slave node is configured with the aforementioned characteristic information; the aforementioned sending unit 1601 is further configured to send deletion indication information to the aforementioned slave node; the aforementioned deletion indication information indicates deletion of the aforementioned characteristic information.
[0253] The specific operations and beneficial effects of each unit in the communication node 1600 shown in Figure 16 can be found in the corresponding descriptions in Figure 4 and its possible embodiments, and will not be repeated here.
[0254] For example, see Figure 17, which is a schematic diagram of the structure of a possible physical entity of a communication node provided in this application. The communication node 1700 shown in Figure 17 can be a slave node for implementing any embodiment of the aforementioned networking method. The communication node 1700 includes a processor 1701, a memory 1702, and a communication interface 1703. The processor 1701, the communication interface 1703, and the memory 1702 can be interconnected or connected via a bus 1704.
[0255] Exemplarily, the memory 1702 is used to store computer programs and data of the communication node 1700. The memory 1702 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or portable read-only memory (CD-ROM).
[0256] The software or program codes required for all or part of the functions of the communication node in the above method embodiment may be stored in the memory 1702 .
[0257] In one possible implementation, if the software or program code required for some functions is stored in the memory 1702, the processor 1701, in addition to calling the program code in the memory 1702 to implement some functions, can also cooperate with other components (such as the communication interface 1703) to jointly complete other functions described in the method embodiment (such as the function of receiving or sending data).
[0258] There may be multiple communication interfaces 1703 , which are used to support the communication node 1700 to communicate, such as receiving or sending data or messages.
[0259] Exemplarily, the processor 1701 may be a circuit having data processing capabilities. In one implementation, the processor may be a circuit having instruction reading and execution capabilities, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP). In another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as a field programmable gate array (FPGA). In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc. Alternatively, the processor 1701 can be a combination of at least two of these processor types, etc.
[0260] The processor 1701 may be configured to read the program stored in the memory 1702 and execute the operations performed by the slave node in FIG. 4 and its possible embodiments.
[0261] The specific operations and beneficial effects of each unit in the communication node 1700 shown in Figure 17 can be found in the corresponding descriptions in Figure 4 and its possible embodiments, and will not be repeated here.
[0262] For example, see Figure 18, which is a schematic diagram of the structure of a possible physical entity of a communication node provided in this application. The communication node 1800 shown in Figure 18 can be a master node for implementing any embodiment of the aforementioned networking method. The communication node 1800 includes a processor 1801, a memory 1802, and a communication interface 1803. The processor 1801, the communication interface 1803, and the memory 1802 can be interconnected or connected via a bus 1804.
[0263] Exemplarily, the memory 1802 is used to store computer programs and data of the communication node 1800. The memory 1802 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or portable read-only memory (CD-ROM).
[0264] The software or program code required for all or part of the functions of the communication node in the above method embodiment may be stored in the memory 1802 .
[0265] In one possible implementation, if the software or program code required for some functions is stored in the memory 1802, the processor 1801, in addition to calling the program code in the memory 1802 to implement some functions, can also cooperate with other components (such as the communication interface 1803) to jointly complete other functions described in the method embodiment (such as the function of receiving or sending data).
[0266] There may be multiple communication interfaces 1803 , which are used to support the communication node 1800 to communicate, such as receiving or sending data or messages.
[0267] Exemplarily, the processor 1801 can be a processor that is a circuit with data processing capabilities. In one implementation, the processor can be a circuit with instruction reading and execution capabilities, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP). In another implementation, the processor can implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by a processor as an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as a field programmable gate array (FPGA). In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc. Alternatively, the processor 1801 can be a combination of at least two of these processor types, etc.
[0268] The processor 1801 can be used to read the program stored in the above-mentioned memory 1802 and execute the operations performed by the master node in Figure 4 and its possible embodiments.
[0269] The specific operations and beneficial effects of each unit in the communication node 1800 shown in Figure 18 can be found in the corresponding descriptions in Figure 4 and its possible embodiments, and will not be repeated here.
[0270] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program or computer instructions, and the computer program or computer instructions are executed by a processor to implement the method implemented by the slave node in Figure 4 and any of its possible implementations.
[0271] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program or computer instructions, and the computer program or computer instructions are executed by a processor to implement the method implemented by the master node in Figure 4 and any of its possible implementations.
[0272] An embodiment of the present application also provides a computer program product. When the computer program product is read and executed by a computer, the method implemented by the slave node in the above-mentioned Figure 4 and any of its possible implementations will be executed.
[0273] An embodiment of the present application also provides a computer program product. When the computer program product is read and executed by a computer, the method implemented by the master node in the above Figure 4 and any of its possible implementations will be executed.
[0274] In this application, the terms "first," "second," and the like are used to distinguish between identical or similar items having substantially the same function or effect. It should be understood that "first," "second," and "nth" do not have a logical or temporal dependency, nor do they limit the quantity or order of execution. It should also be understood that although the following description uses the terms "first," "second," and the like to describe various elements, these elements should not be limited by these terms. These terms are simply used to distinguish one element from another.
[0275] It should also be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0276] It will also be understood that the term “comprise” (also known as “includes,” “including,” “comprises,” and / or “comprising”) when used in this specification specifies the presence of stated features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0277] It should also be understood that references throughout this specification to "one embodiment," "an embodiment," or "one possible implementation" mean that specific features, structures, or characteristics associated with that embodiment or implementation are included in at least one embodiment of the present application. Therefore, the appearance of "in one embodiment," "in an embodiment," or "one possible implementation" throughout this specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0278] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A communication system, characterized in that: The communication system includes a master node and a slave node, wherein the slave node is a node that provides business content or services, and the master node is a node that uses the business content or services; The master node is configured with characteristic information of the slave node; The master node sends a broadcast message, where the broadcast message is used to indicate the characteristic information; The slave node receives the broadcast message; The slave node sends a connection request message to the master node according to the characteristic information indicated by the broadcast message; The master node receives the connection request message, and establishes a communication connection with the slave node according to the connection request message.
2. The communication system according to claim 1, characterized in that The slave node does not broadcast the characteristic information.
3. The communication system according to claim 1 or 2, characterized in that: The master node has a human-computer interaction interface for configuring the characteristic information, and the slave node does not have a human-computer interaction interface.
4. The communication system according to any one of claims 1 to 3, characterized in that: The characteristic information includes at least one of the following: The first identification information of the slave node, the second identification information of the object bound to the slave node, the third identification information of the group to which the slave node belongs, the type information of the slave node and the attribute information of the slave node.
5. The communication system according to any one of claims 1 to 4, characterized in that: The feature information is indicated in a vendor-defined data field of the broadcast message.
6. The communication system according to any one of claims 1 to 5, characterized in that: After the slave node and the master node establish a communication connection, the slave node sends verification information to the master node; the verification information indicates the characteristic information; The master node receives the verification information and verifies the communication status between the master node and the slave node according to the verification information.
7. The communication system according to any one of claims 1 to 6, characterized in that: The slave node is configured with the characteristic information; The master node sends deletion indication information to the slave node; The slave node receives the deletion indication information, and deletes the characteristic information based on the deletion indication information.
8. A networking method, characterized in that: The method comprises: The slave node receives a broadcast message from the master node, wherein the broadcast message is used to indicate characteristic information of the slave node, the slave node is a node that provides business content or services, and the master node is a node that uses the business content or services; The slave node sends a connection request message to the master node according to the characteristic information indicated by the broadcast message; the connection request message is used to request to establish a communication connection with the master node.
9. The method according to claim 8, characterized in that The slave node does not broadcast the characteristic information.
10. The method according to claim 8 or 9, characterized in that: The master node has a human-computer interaction interface for configuring the characteristic information, and the slave node does not have a human-computer interaction interface.
11. The method according to any one of claims 8 to 10, characterized in that: The characteristic information includes at least one of the following: The first identification information of the slave node, the second identification information of the object bound to the slave node, the third identification information of the group to which the slave node belongs, the type information of the slave node and the attribute information of the slave node.
12. The method according to any one of claims 8 to 11, characterized in that: The feature information is indicated in a vendor-defined data field of the broadcast message.
13. The method according to any one of claims 8 to 12, characterized in that: The method further comprises: After the slave node and the master node establish a communication connection, the slave node sends verification information to the master node; the verification information indicates the characteristic information, and the verification information is used to verify the communication status between the slave node and the master node.
14. The method according to any one of claims 8 to 13, characterized in that: The slave node is configured with the characteristic information; the method further comprises: The slave node receives deletion indication information, and deletes the characteristic information based on the deletion indication information.
15. A networking method, characterized in that: The method comprises: The master node sends a broadcast message; the broadcast message is used to indicate characteristic information of the slave node, the slave node is a node that provides business content or services, and the master node is a node that uses the business content or services; The master node receives a connection request message from the slave node; the connection request message is used to request to establish a communication connection with the master node.
16. The method according to claim 15, characterized in that The slave node does not broadcast the characteristic information.
17. The method according to claim 15 or 16, characterized in that The master node has a human-computer interaction interface for configuring the characteristic information, and the slave node does not have a human-computer interaction interface.
18. The method according to any one of claims 15 to 17, characterized in that: The characteristic information includes at least one of the following: The first identification information of the slave node, the second identification information of the object bound to the slave node, the third identification information of the group to which the slave node belongs, the type information of the slave node and the attribute information of the slave node.
19. The method according to any one of claims 15 to 18, characterized in that: The feature information is indicated in a vendor-defined data field of the broadcast message.
20. The method according to any one of claims 15 to 19, characterized in that: The method further comprises: After the slave node and the master node establish a communication connection, the master node receives verification information from the slave node; the verification information indicates the characteristic information, and the verification information is used to verify the communication status between the slave node and the master node.
21. The method according to any one of claims 15 to 20, characterized in that: The slave node is configured with the characteristic information; the method further comprises: The master node sends deletion indication information to the slave node; the deletion indication information indicates deletion of the characteristic information.
22. A communication node, characterized in that: The communication node comprises: A receiving unit, configured to receive a broadcast message from a master node, wherein the broadcast message is used to indicate characteristic information of the communication node, wherein the communication node is a node providing business content or service, and the master node is a node using the business content or service; A sending unit is used to send a connection request message to the master node according to the characteristic information indicated by the broadcast message; the connection request message is used to request to establish a communication connection with the master node.
23. A communication node, characterized in that: The communication node comprises: A sending unit, configured to send a broadcast message; the broadcast message is used to indicate characteristic information of a slave node, the slave node is a node that provides business content or services, and the communication node is a node that uses the business content or services; The receiving unit is used to receive a connection request message from the slave node; the connection request message is used to request to establish a communication connection with the master node.
24. A communication node, characterized in that: The communication node includes a processor, a communication interface and a memory, wherein the communication interface is used to realize the reception and transmission of data, the memory is used to store computer programs or computer instructions, and the processor is used to execute the computer programs or computer instructions stored in the memory, so that the communication node executes the method as described in any one of claims 8-14.
25. A communication node, characterized in that: The communication node includes a processor, a communication interface and a memory, wherein the communication interface is used to realize data reception and transmission, the memory is used to store computer programs or computer instructions, and the processor is used to execute the computer programs or computer instructions stored in the memory, so that the communication node executes the method as described in any one of claims 15-21.
26. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or computer instructions, and the computer program or computer instructions are executed by a processor to implement the method according to any one of claims 8 to 14; Alternatively, the computer program or computer instructions are executed by a processor to implement the method according to any one of claims 15 to 21.
27. A computer program product, characterized in that When the computer program product is executed by a processor, the method described in any one of claims 8 to 14 will be implemented; Alternatively, when the computer program product is executed by a processor, the method described in any one of claims 15 to 21 will be implemented.
Citation Information
Patent Citations
Communication system, networking method and related device
CN119450816A
Device discovery method, device and system
CN105049495A
Equipment connection method and device, equipment storage medium and chip
CN116489818A
Method for discovering bluetooth device and bluetooth device
WO2018040043A1
Method for establishing SLB connection, electronic device, and communication system
WO2023065813A1