Network configuration method and device

By using a second device to automatically send distribution network information when the distance is less than a preset threshold, the problem of complex distribution network caused by the large size of the main equipment is solved, and the operation is simplified and the user experience is improved.

WO2026016758A1PCT designated stage Publication Date: 2026-01-22HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/103463
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-18
Filing Date
2025-06-25
Publication Date
2026-01-22

AI Technical Summary

Technical Problem

In existing technologies, the main equipment is large and inconvenient to move, which leads to complicated network distribution procedures and affects user experience.

Method used

The second device obtains the distribution network information of the first device, and automatically sends a discovery message to the third device when the distance is less than a preset threshold, thereby realizing the distribution network.

Benefits of technology

It simplifies network configuration operations, improves user experience, and reduces the number of steps required for users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025103463_22012026_PF_FP_ABST
    Figure CN2025103463_22012026_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a network configuration method and device. The method comprises: acquiring network configuration information of a first device, wherein the network configuration information comprises information for the first device to establish a connection with a third device; and when the distance between the first device and the second device is less than a first preset threshold, sending a first discovery message to the third device, wherein the first discovery message comprises the network configuration information, and the second device has established a connection with the third device. The method can improve the convenience of network configuration and enhance the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

A method and apparatus for power distribution

[0001] This application claims priority to Chinese Patent Application No. 202410966546.6, filed on July 18, 2024, entitled "A Method and Apparatus for Power Distribution Network", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of communications, and more particularly to a method and apparatus for power distribution networks. Background Technology

[0003] With the continuous development of communication technology, the demand for Internet of Things (IoT) devices is increasing, and users' need for network configuration for different types of IoT devices is also increasing. Network configuration function is gradually becoming a key competitive factor for smart home products.

[0004] In some scenarios, the main equipment is large and inconvenient to move. When such main equipment is configured with other equipment to be configured, the configuration process is complicated, which seriously affects the user experience. How to simplify the user's operation steps and improve the ease of configuration has become a problem that needs to be solved. Summary of the Invention

[0005] This application provides a method and apparatus for power distribution, which can improve the simplicity of power distribution and enhance the user experience.

[0006] Firstly, this application provides a method for network distribution, which can be executed by a second device. Unless otherwise specified, the "second device" in this application can refer to the device itself (e.g., a terminal node (also called a terminal device or T-node)), a component within the device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of the second device. The method includes: acquiring network distribution information from a first device, the network distribution information including information used by the first device to establish a connection with a third device; and, if the distance between the first device and the second device is less than a first preset threshold, sending a first discovery message to the third device, the first discovery message including the network distribution information, indicating that the second device and the third device have established a connection. The first device is a device to be network-distributed, or the first device is a device included in the device to be network-distributed.

[0007] This application utilizes a method that, when a first device and a second device approach each other to a distance less than a first preset threshold, the second device detects the first device and automatically sends a first detection message to a third device to initiate network distribution. This first detection message carries information used by the first device to establish a connection with the third device. Therefore, upon receiving the first detection message, the third device can perform network distribution based on it. This method demonstrates that devices automatically achieve network distribution by determining whether the distance is less than the first preset threshold, effectively reducing user operations and simplifying the network distribution process.

[0008] In one possible implementation, the second device provided in this application is an electronic device or a component therein, denoted as device A, and the third device is another electronic device or a component therein, denoted as device B. Device A is larger and less mobile than device B. Therefore, connecting the first device directly to device B via a power grid is less feasible than connecting the first device to device B via the smaller and more mobile device A.

[0009] The method provided in this application enables network distribution between the first and third devices through the second device. This facilitates closer proximity between the first and second devices. By moving the second device toward the first device, or vice versa, the distance between the second and first devices can be reduced to less than a first preset threshold. Consequently, the second device spontaneously sends a first discovery message to the third device to achieve network distribution. This network distribution method significantly reduces the user's operation steps and effectively improves the user experience.

[0010] In one possible implementation, before obtaining the network configuration information of the first device, the method further includes scanning the current network of the second device. The current network of the second device includes the network the second device is connected to, the network in which the second device is located, the local network, etc. Optionally, the second device includes two modes: a first mode is a scanning mode, and a second mode is a mode corresponding to the characteristics of the second device, such as a remote control mode if the second device is a remote control. Specifically, this method may involve switching to the first mode and then performing the scan.

[0011] In the method provided in this application, the first device can broadcast its distribution network information, and the second device can scan, so that it can obtain the distribution network demand of the first device in a timely manner through scanning, and promptly determine that when the distance to the first device is less than a first preset threshold, it sends a first discovery message to the third device, thereby responding to the distribution network demand quickly and timely.

[0012] In one possible implementation, the method further includes: ending the scan upon receiving a switching message. Optionally, the second device includes at least two modes: a first mode is a scanning mode, and a second mode is a mode corresponding to the characteristics of the second device, such as a remote control mode if the second device is a remote control. Specifically, upon receiving a switching message, the method may switch from the first mode to the second mode, end the scan, and provide remote control services. The second device provided in this application can have both scanning and other functions, thus enabling the second device to perform other functions without network configuration, improving the application efficiency of the second device. Alternatively, since the second device with other functions can also be compatible with the scanning function provided in this application, thereby realizing the network configuration function, the second device can be applied to a wider range of scenarios.

[0013] In one possible implementation, the information used by the first device to establish a connection with the third device includes at least one of the following: the media access control (MAC) corresponding to the first device; the product category corresponding to the first device; or, the product name corresponding to the first device; or, the message identifier corresponding to the distribution network information; or, the number corresponding to the first device; or, the supplier number corresponding to the first device. The information used to establish the connection includes a variety of possibilities, making the data used for establishing the connection more flexible and increasing the applicability of the distribution network method of this application.

[0014] Secondly, this application provides a method for network distribution, which can be executed by a third device. Unless otherwise specified, the "third device" in this application can refer to the device itself (e.g., a terminal node (also called a terminal device or T node), or a management node (also called a management device or G node), etc.), a component in the device (e.g., a processor, chip, or chip system, etc.), or a logic module or software that can implement all or part of the functions of the device, etc. The method includes: receiving a first discovery message sent by a second device, the first discovery message including network distribution information, the network distribution information including information used by the first device to establish a connection with the third device; based on the network distribution information, querying a preset configuration library, and establishing a connection with the first device if a match is found.

[0015] In one possible implementation, the configuration library includes at least one of the following: the product category that can be networked; or, the product name that can be networked; or, the number corresponding to the network-configurable device, such as its supplier number. Optionally, the configuration library may also include the message identifier corresponding to the network configuration information of each device.

[0016] The third device has a pre-set configuration library, which can be named according to different scenarios and can also store different information in the configuration library according to different scenarios. The configuration library stores different types of information according to the use scenario, which can be more suitable for the network distribution of the scenario and make the network distribution method provided in this application more accurate.

[0017] In one possible implementation, the matching condition includes at least one of the following: the product category of the first device is the same as the network-configurable product category stored in the configuration library; or, the product name of the first device is the same as the network-configurable product name stored in the configuration library; or, the number of the first device is the same as the network-configurable number stored in the configuration library.

[0018] In one possible implementation, the method further includes: in the event of a mismatch, sending a network distribution request message to inquire whether to establish a connection with the first device; if a connection indication message is received, then establishing a connection with the first device. When the third device queries the configuration database and determines that the first device to be networked (or the device corresponding to the first device) is not in the configuration database, it can be considered a new device, and a connection indication is sent. Based on the connection indication, a connection is then established, which helps improve the security of the network distribution. Optionally, if a connection indication message is received, the information of the first device can be entered into the configuration database after successful network distribution, so as to facilitate rapid network distribution in subsequent applications, further improving the simplicity of network distribution.

[0019] In one possible implementation, the method further includes: listening to (or detecting) a discovery message sent by the second device, the discovery message including the first discovery message. Optionally, the listening can be continuous. For example, a connection has been established between the second and third devices. In network configuration mode, the third device can listen to whether the second device sends a discovery message and perform network configuration based on the discovery message. If the first discovery message sent by the second device is detected, a connection can be established with the first device based on the first discovery message. This allows for timely acquisition of network configuration requests, resulting in higher network configuration efficiency.

[0020] In one possible implementation, the method further includes: displaying a first interface indicating that a connection has been established between the third device and the first device. Through the first interface, the user is notified that the third device is connected to the first device, thus notifying the user that network configuration is complete. This allows the user to know that network configuration is complete and can use the equipment corresponding to the first device in a configuration method that requires minimal user intervention, thereby improving the user experience.

[0021] Optionally, before displaying the first interface, a prompt message may be sent to the user, including pop-up prompts, voice prompts, etc. For example, the prompt message may be a pop-up window, the pop-up window's display interface being the first interface. The third device displays the first interface, which indicates that a connection has been established with the first device.

[0022] In one possible implementation, the first preset threshold is determined based on at least one of the following data: physical security communication distance determination; or signal strength; or the environment in which the first device and the second device are located.

[0023] It should be understood that the second aspect of this application corresponds to the technical solution of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here.

[0024] Thirdly, this application provides a communication device, which includes: an acquisition module, a transceiver module, and a processing module. The acquisition module is used to acquire the distribution network information of a first device, the distribution network information including information used by the first device to establish a connection with a third device; the transceiver module, when the processing module determines that the distance between the first device and the second device is less than a first preset threshold, sends a first discovery message to the third device, the first discovery message including the distribution network information, indicating that the second device and the third device have established a connection.

[0025] In one possible implementation, the acquisition module is specifically used to scan the current network of the second device to obtain the distribution network information of the first device.

[0026] In one possible implementation, the information used by the first device to establish a connection with the third device includes at least one of the following: the MAC address of the first device; or, the product category of the first device; or, the product name of the first device; or...

[0027] The message identifier corresponding to the distribution network information; or, the number corresponding to the first device.

[0028] In one possible implementation, the acquisition module is specifically used to end the scan when the transceiver module receives a switching message.

[0029] In one possible implementation, the first communication device further includes a star flash module for transmitting star flash signals.

[0030] The transceiver module (also known as the communication module) and the processing module in this application can be deployed simultaneously in the StarScan module, Bluetooth module, or Wireless Fidelity (WiFi) module; or, the transceiver module in this application can be deployed in the StarScan module, Bluetooth module, or WiFi module, and the processing module in this application can be deployed in other modules; or, the processing module in this application can be deployed in the StarScan module, Bluetooth module, or WiFi module, and the communication module in this application can be deployed in other modules. This application does not make any specific limitations in this regard.

[0031] It should be understood that the third aspect of this application is the same as the first aspect of this application in terms of technical solution, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, so they will not be repeated here.

[0032] Fourthly, this application provides a communication device, which includes a transceiver module and a processing module.

[0033] The transceiver module is used to receive a first discovery message sent by the second device, the first discovery message including distribution network information, the distribution network information including information used by the first device to establish a connection with the third device; the processing module is used to query a preset configuration library based on the distribution network information, and establish a connection with the first device if a match is found.

[0034] In one possible implementation, the configuration library includes at least one of the following: the product category that can be networked; or, the product name that can be networked; or, the number corresponding to the networked device.

[0035] In one possible implementation, the matching condition includes at least one of the following: the product category of the first device is the same as the network-configurable product category stored in the configuration library; or, the product name of the first device is the same as the network-configurable product name stored in the configuration library; or, the number of the first device is the same as the network-configurable number stored in the configuration library.

[0036] In one possible implementation, the processing module is further configured to query a preset configuration library based on the distribution network information. If a mismatch is found, the transceiver module sends a distribution network request message to inquire whether to establish a connection with the first device. If the transceiver module receives a connection indication message, it establishes a connection with the first device. Optionally, the distribution network request information can be sent to a user.

[0037] In one possible implementation, the transceiver module is specifically configured to listen for discovery messages sent by the second device, the discovery messages including the first discovery message.

[0038] In one possible implementation, the first communication device further includes a star flash module for transmitting star flash signals.

[0039] The transceiver module (also known as the communication module) and the processing module in this application can be deployed simultaneously in the StarScan module, Bluetooth module, or Wireless Fidelity (WiFi) module; or, the transceiver module in this application can be deployed in the StarScan module, Bluetooth module, or WiFi module, and the processing module in this application can be deployed in other modules; or, the processing module in this application can be deployed in the StarScan module, Bluetooth module, or WiFi module, and the communication module in this application can be deployed in other modules. This application does not make any specific limitations in this regard.

[0040] It should be understood that the fourth aspect of this application corresponds to the technical solution of the first aspect of this application and is the same as the technical solution of the second aspect. The beneficial effects obtained by each aspect and the corresponding feasible implementation are similar, and will not be repeated here.

[0041] Fifthly, this application provides a communication device, which may be a node or a device (e.g., a chip) within a node. The communication device includes modules for performing the methods described in any of the foregoing aspects or any possible implementations thereof, such as a processing module and a transceiver module.

[0042] Sixthly, this application provides a communication device, which may be a node or a device within a node (e.g., a processor, a chip, or a chip system). The communication device includes a transceiver and a processor for performing the methods described in any of the foregoing aspects or any possible implementations thereof.

[0043] Optionally, the communication device includes a transceiver, a memory, and a processor for performing the method as described in any of the above aspects or any possible implementations of any of the above aspects. For example, the memory may be disposed in the communication device or may be an external device of the communication device.

[0044] In a seventh aspect, this application provides a communication device, comprising: an input / output interface and a logic circuit, wherein the input / output interface is used to acquire input information and / or output information; and the logic circuit is used to perform the method described in any of the above aspects or any possible implementation thereof, processing the input information and / or generating output information.

[0045] Eighthly, this application provides a communication device including at least one processor and a storage medium. The at least one processor is coupled to the storage medium, which stores instructions that, when executed by the processor, enable the processor to perform the method described in any of the foregoing aspects or any possible implementation thereof. The storage medium may be included in the communication device or disposed outside the communication device.

[0046] Ninthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method as described in any of the foregoing aspects or any possible implementations of any of the foregoing aspects.

[0047] In a tenth aspect, this application provides a computer program product comprising instructions that, when executed on a processor, implement the method as described in any of the foregoing aspects or any possible implementation thereof.

[0048] Eleventhly, this application provides a chip comprising: an interface circuit and a processor. The interface circuit is connected to the processor, and the processor is configured to cause the chip to perform some or all of the operations included in any of the methods described in any of the preceding aspects and any possible implementations of any of the preceding aspects.

[0049] In a twelfth aspect, embodiments of this application also provide a chip, comprising: at least one processor, the at least one processor being configured to execute code in the memory, wherein when the at least one processor executes the code, the chip implements some or all of the operations included in the method of any of the foregoing aspects and any possible implementation of any of the foregoing aspects.

[0050] Optionally, the chip also includes a memory. The memory can be integrated with the processor or disposed separately from the processor; it can be integrated onto the same chip as the processor or disposed on different chips.

[0051] Alternatively, the chip described above can also be an integrated circuit.

[0052] In a thirteenth aspect, this application provides a system that includes the communication device as described in the third aspect and the communication device as described in the fourth aspect.

[0053] In a fourteenth aspect, this application provides a system that includes communication means as provided in any of the third to twelfth aspects.

[0054] It should be understood that the fifth to fourteenth aspects of this application are consistent with or correspond to the technical solutions of the first and second aspects of this application, and the beneficial effects obtained by each aspect and the corresponding feasible implementation are similar, and will not be repeated here. Attached Figure Description

[0055] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0056] Figure 1 is a schematic diagram of a communication system 100 provided in an embodiment of this application;

[0057] Figure 2 is a flowchart illustrating one of the distribution network methods provided in this application embodiment;

[0058] Figure 3 is a structural schematic diagram of a communication scenario provided in an embodiment of this application;

[0059] Figure 4 is a second schematic flowchart of a power distribution network method provided in an embodiment of this application;

[0060] Figure 5 is a third schematic flowchart of a power distribution network method provided in an embodiment of this application;

[0061] Figure 6 is a schematic diagram of a StarSpark system software architecture provided in an embodiment of this application;

[0062] Figure 7 is a schematic diagram of a starlight scene provided in an embodiment of this application;

[0063] Figure 8 is a schematic diagram of one of the structures of a second device provided in an embodiment of this application;

[0064] Figure 9 is a second structural schematic diagram of a second device provided in an embodiment of this application;

[0065] Figure 10 is a schematic diagram of one of the structures of a third device provided in an embodiment of this application;

[0066] Figure 11 is a second structural schematic diagram of a third device provided in an embodiment of this application;

[0067] Figure 12 is a schematic diagram of the structure of device 40 according to an embodiment of this application;

[0068] Figure 13 is a schematic diagram of the structure of a device 50 provided in an embodiment of this application. Detailed Implementation

[0069] To enable those skilled in the art to better understand the solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.

[0070] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Here, A and B can be single or multiple. "At least one of the following" or similar expressions are used to represent any combination of the listed items. For example, at least one of A, B, and / or C can represent: A existing alone, B existing alone, C existing alone, A and B existing simultaneously, B and C existing simultaneously, A and C existing simultaneously, and A, B, and C existing simultaneously. Here, A, B, and C can be single or multiple.

[0071] The terms "first" and "second," etc., used in the specification and claims of this application are used to distinguish different objects, not to describe a specific order of objects. For example, "first target object" and "second target object," etc., are used to distinguish different target objects, not to describe a specific order of target objects.

[0072] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0073] In the description of the embodiments in this application, unless otherwise stated, "multiple" means two or more. For example, multiple processing units means two or more processing units; multiple systems means two or more systems.

[0074] To facilitate understanding, the relevant terms and concepts used in the embodiments of this application will be explained below:

[0075] 1. Distribution network

[0076] In Internet of Things (IoT) devices, network configuration typically refers to the process of configuring a network or connecting a device to a network. This mainly involves the deployment of smart homes, industrial automation, or other smart devices, enabling individual devices (also referred to as devices to be configured, network-connected devices, etc. in this application embodiment) to connect to the internet or a specific local network so that these devices (such as the master device and the device to be configured) can communicate and transmit data with each other.

[0077] The network configuration process includes establishing wireless connections via technologies such as Wireless Fidelity (WIFI), Sparklink, Bluetooth, and Zigbee, using parameters such as device ID and network password. The process may also include automatic alignment and networking between devices.

[0078] 2. Main equipment

[0079] In this application embodiment, the device to be connected to the network device is referred to as the main device, but this is not limited. In other scenarios, any device defined by other names that can be connected to the network device can be regarded as the main device provided in this application embodiment.

[0080] 3. Default

[0081] In the computer field, this is a default concept, and in the embodiments of this application, it is used to indicate that a communication connection has been established by default (or communication has been established, connection has been established).

[0082] Figure 1 is a structural schematic diagram of a communication system 100 provided in an embodiment of this application. The communication system 100 applicable to this embodiment may include multiple devices. As shown in Figure 1, the communication system 100 includes a first device 10, a second device 20, and a third device 30. The first device 10 may be a device that needs to be networked with the third device 30, hereinafter referred to as a device to be networked (or a device to be networked, or a device to be networked, or a device to be networked, etc.). The second device 20 is a device associated with the third device 30, such as a device that has already established a connection with the third device 30. The third device 30 is a device that the first device 10 needs to connect to, hereinafter referred to as the main device (or main equipment). The communication device (including a first device, a second device, and a third device) provided in this application embodiment can refer to the electronic device itself (for example, the first device 10 can be a gamepad, the second device 20 can be a remote control, and the third device 30 can be a television), or it can be a component in each device (for example, the first device 10 can be the processor, chip, or chip system of the gamepad, the second device 20 can be the processor, chip, or chip system of the remote control, and the third device 30 can be the processor, chip, or chip system of the television), or the communication device can be a logic module or software that can realize all or part of the functions of the corresponding device, such as the first device 10 being a logic module or software that realizes all or part of the functions of the gamepad. This application embodiment does not impose any limitations.

[0083] The communication devices (including the first device, the second device, and the third device) provided in the embodiments of this application can be any device, component, or equipment with wireless transceiver function. The network distribution method provided in the embodiments of this application can be applied to different communication systems, including but not limited to the example provided in the embodiments of this application, namely the communication system 100 provided in FIG1. For example, the network configuration method provided in this application embodiment can be applied to systems including: wireless local area network (WLAN), narrowband internet of things (NB-IoT), global system for mobile communications (GSM), enhanced data rate for GSM evolution (EDGE), wideband code division multiple access (WCDMA), code division multiple access 2000 (CDMA2000), time division-synchronization code division multiple access (TD-SCDMA), LTE system, satellite communication, 5G communication system, 6th-generation (6G) communication system, or new communication systems that will emerge in the future. This application embodiment does not limit the scope of the application.

[0084] The network distribution method provided in this application can be applied to systems including: short-range wireless communication systems and wireless communication systems that support longer-distance transmission. In other words, the technical solutions in this application can be applied to, but are not limited to, short-range wireless communication systems and wireless communication systems that support longer-distance transmission (e.g., 1-18km, over 18km) (e.g., the next-generation StarSpark wireless communication system). The short-range wireless communication system can include short-range wireless communication technology (also known as StarSpark 1.0 technology), which has advantages such as ultra-low latency, ultra-high reliability, and precise synchronization, making it suitable for applications in smart cars, smart homes, smart terminals, and smart manufacturing. For example, applications in smart car scenarios include: immersive in-vehicle sound field & noise reduction, wireless interactive projection, and 360-degree panoramic surround view, which can achieve an immersive interactive experience and improve vehicle safety.

[0085] Wireless communication systems that support longer transmission distances (e.g., 1–18 km) mainly include next-generation StarSpark wireless communication systems, such as StarSpark 2.0 and StarSpark 3.0. These systems are not only suitable for communication scenarios with low latency requirements, such as the aforementioned vehicle communication and industrial control scenarios, but also for communication scenarios with less stringent latency requirements.

[0086] In some possible implementations, the aforementioned communication system may be used in conjunction with mobile communication systems, such as, but not limited to, fourth-generation (4G) communication systems (e.g., long-term evolution (LTE) systems), fifth-generation (5G) communication systems (e.g., new radio (NR) systems), and future mobile communication systems such as sixth-generation (6G) mobile communication systems.

[0087] The wireless short-range communication system provided in this application embodiment may include a grant node (G node) and a terminal node (T node). The G node is a node in the wireless short-range communication system that has resource scheduling functions and sends control information such as resource management information and / or data scheduling information. The T node is a node in the wireless short-range communication system that receives the control information such as resource management information and / or data scheduling information sent by the G node, and performs data transmission or reception according to the control information. For example, referring to FIG1, the first device 10 can be deployed as a T node or deployed on a T node, the second device 20 can be deployed as a T node or deployed on a T node, and the third device 30 can be deployed as a T node or deployed on a T node. The examples in this application embodiment are mostly illustrated by the first device 10 corresponding to a gamepad, the second device 20 corresponding to a remote control, and the third device 30 corresponding to a television. However, in actual application scenarios, each communication device (including the first device 10, the second device 20, and the third device 30) can serve as a node with different functions according to deployment requirements, and is not limited to the examples in this application embodiment. In some possible implementations, the first device 10 may be deployed as a T node or on a T node, or the first device 10 may be deployed as a G node or on a G node; the second device 20 may be deployed as a T node or on a T node, or the second device 20 may be deployed as a G node or on a G node; the third device 30 may be deployed as a T node or on a T node, or the third device 30 may be deployed as a G node or on a G node.

[0088] In addition, this application uses the implementation of the distribution network method in a wireless short-range system as an example for illustration. For ease of description, the short-range protocol in the wireless short-range communication system is referred to as the Star Flash Protocol in this application embodiment.

[0089] In the StarScan protocol corresponding to StarScan technology, there are uplink and downlink transmissions between the G node and the T node. Uplink transmission is achieved through the T link, which is the link between the T node and the G node, and can also be called the uplink. Downlink transmission is achieved through the G link, which is the link between the G node and the T node, and can also be called the downlink.

[0090] In this embodiment, the communication device has wireless communication capabilities and can be configured with multiple antennas. These multiple antennas may include at least one transmitting antenna for transmitting signals and at least one receiving antenna for receiving signals. Additionally, each communication device also includes a transmitter chain and a receiver chain. Those skilled in the art will understand that these chains may include multiple components related to signal transmission and reception (e.g., processors, modulators, multiplexers, demodulators, demultiplexers, or antennas). The communication device can be a network device or a terminal device, and there is no limitation thereto.

[0091] The management node (G node) is located on the network side of the aforementioned communication system. It assists terminal nodes in achieving wireless access and is a device with wireless transceiver capabilities, or a chip or chip system that can be installed on this device. This management node includes, but is not limited to: network devices, access network devices, access network nodes, radio access network (RAN) nodes, RAN entities or access nodes, base stations, evolved NodeBs (eNodeBs), access points (APs), transmission reception points (TRPs or transmission points (TPs), next-generation NodeBs (gNBs), next-generation base stations in sixth-generation (6G) mobile communication systems, base stations in future mobile communication systems, or access points (APs) in wireless fidelity (Wi-Fi) systems. The management node can be a macro base station, micro base station, indoor station, relay node, donor node, open radio access network (ORAN), or a radio controller in a centralized radio access network (CRAN) scenario. The management node can also be one or a group of antenna panels (including multiple antenna panels) of a 5G base station, or it can be a network node constituting a gNB, TRP, TP, or transmission measurement function (TMF), such as a central unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), a radio unit (RU), or a roadside unit (RSU) with base station functionality. Optionally, the management node can also be a server, wearable device, vehicle, or in-vehicle equipment. For example, the management node in vehicle-to-everything (V2X) technology can be an RSU. Optionally, the management node can also be a control unit in autonomous driving, a central controller in a smart factory / smart home, or a handheld or automatic control remote sensor for flight equipment.Optionally, the management node can also be a central control unit, control panel, or other control device, such as a drone controller or a control unit in industrial control. All or part of the functions of the management node in this application can also be implemented through software functions running on hardware, or through virtualization functions instantiated on a platform (e.g., a cloud platform). The management node in this application can also be a logical node, logical module, or software capable of implementing all or part of the management node's functions.

[0092] The form of the management node is not limited in the embodiments of this application. The device used to implement the function of the management node can be the management node itself; it can also be a device that supports the management node in implementing the function, such as a chip system. The device can be installed in the management node or used in conjunction with the management node.

[0093] A terminal node (T-node) is a device, equipment, module, chip, or chip system with transceiver capabilities. It can also be referred to as terminal equipment, user equipment (UE), access terminal, subscriber unit, user station, mobile station (MS), mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent, or user equipment. The terminal nodes in the embodiments of this application can be mobile phones, cellular phones, smartphones, tablets, mice, remote controls, styluses, set-top boxes, routers, cameras, screens, smart screens, wireless data cards, personal digital assistant computers (PDAs), wireless modems, handsets, laptop computers, smartwatches, smart bracelets, wireless headphones, electronic whiteboards, machine-type communication (MTC) terminals, computers with wireless transceiver capabilities, virtual reality (VR) terminals, augmented reality (AR) terminals, smart home devices (e.g., refrigerators, televisions, air conditioners, washing machines, rice cookers, table lamps, electricity meters, etc.), smart robots, robotic arms, workshop equipment, wireless terminals in autonomous driving, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical care, wireless terminals in smart grids, and transportation security. Wireless terminals in various applications include those related to safety, smart cities, smart homes, in-vehicle terminals, in-vehicle screens, in-vehicle audio systems, car keys, roadside units (RSUs) with terminal functions, and flying equipment (e.g., intelligent robots, hot air balloons, drones, airplanes). The terminal node in this application can also be an in-vehicle module, in-vehicle component, in-vehicle chip, or in-vehicle unit integrated into a vehicle as one or more components or units. The terminal node can also be other devices with terminal functions; for example, it can be a device that performs terminal functions in device-to-device (D2D) communication.

[0094] The embodiments of this application do not limit the device form of the terminal. The device used to implement the function of the terminal node can be the terminal node itself; it can also be a device that supports the terminal node in implementing the function, such as a chip system. The device can be installed in the terminal node or used in conjunction with the terminal node. In the embodiments of this application, the chip system can be composed of chips or can include chips and other discrete devices.

[0095] It should be noted that the solutions in the embodiments of this application can also be applied to other communication systems, and the corresponding names can be replaced by the names of the corresponding functions in other communication systems.

[0096] This application does not limit the specific form of the communication devices (including the first device 10, the second device 20, and the third device 30). Referring to the communication system 100 in FIG1, the devices corresponding to the first device, the second device, and the third device may be partially the same or completely different. For example, the first device may be a game console display and control integrated device, the second device may be a remote control, and the third device may be a television display device, etc.

[0097] In one example, the first device 10 may be a handle to be networked or a component within the handle, the second device 20 may be a network distribution rod or a component within the network distribution rod (in this embodiment, devices that can assist in network distribution can be collectively referred to as network distribution rods, but are not limited to the name "network distribution rod"), and the third device 30 may be a television or a component within the television. Taking a method for networking a television and a handle as an example, this illustrates the high complexity of networking large, immobile devices such as televisions. The method includes: the user turns on the TV and selects the "Settings" function; the TV receives the settings instruction and displays a "Settings Interface" to the user, which includes a "Video Settings" option; after the user selects "Video Settings," the TV receives the video settings instruction and displays a "Network and Connections" interface to the user, which includes at least one short-range wireless connection method, such as Bluetooth; after the user selects "Bluetooth," the TV receives the Bluetooth connection instruction, scans for Bluetooth devices it can connect to, and displays a "Names of Bluetooth Devices Available for Networking" interface to the user; the user selects the Bluetooth device to be networked from this interface, such as a gamepad, and then clicks "Start Pairing." The TV receives the network pairing instruction, begins establishing a connection with the gamepad, and completes the network pairing. As can be seen from this pairing method, from turning on the TV to successfully pairing with the device requiring Bluetooth connection (or the device requiring network pairing), such as a gamepad (or successfully pairing the gamepad), the user needs to perform numerous operations. This complex operation severely impacts the user experience.

[0098] This application provides a network configuration method that effectively simplifies network configuration operations, improves ease of use, reduces user operations, and enhances user experience. This application uses the implementation of this network configuration method in an IoT scenario as an example for illustration, but it is not limited to network configuration between IoT devices. For wireless network connections between other electronic devices, the examples in this application can be referenced, and will not be detailed further in this application.

[0099] The network distribution method provided in this application can be applied to scenarios where the first device needs to connect to a third device, the third device is relatively large (in this application, the size of a device that is inconvenient to move in its current environment is defined as relatively large), and the second device and the third device have already established a connection in this scenario. Compared to the third device, the second device is smaller and easier to move, and the second device includes a wireless module that can be used to transmit or receive signals at least once. The second device can also be referred to as a mobile device, a network distribution stick, etc.

[0100] Figure 2 is a flowchart of a distribution network method provided in an embodiment of this application. The method is illustrated by example, which is executed by a second communication device. As shown in Figure 2, the method includes S101 and S102.

[0101] S101, the second device obtains the distribution network information of the first device, the distribution network information including information used by the first device to establish a connection with the third device.

[0102] There are various ways for the second device to obtain the distribution network information of the first device. For example, the distribution network information of the first device may be discovered by the second device through scanning within a certain range, or it may be sent by the first device to the second device, etc.

[0103] For example, the distribution network information of the first device, simply referred to as distribution network information, may include information about the first device (or related information about the first device, or basic information about the first device, etc.), which can be used to establish a connection with the third device. For instance, the distribution network information may include basic information about the first device, which includes at least one of the following: media access control (MAC), product ID, etc. If the third device obtains the basic information of the first device, it can establish a connection with the first device based on this basic information. Therefore, it can also be said that the distribution network information is used to establish a connection with the third device.

[0104] S102. When the distance between the second device and the first device is less than a first preset threshold, the second device sends a first discovery message to the third device. The first discovery message includes distribution network information and indicates that the second device and the third device have established a connection.

[0105] In this embodiment, a pre-set first threshold is used as the trigger condition for the second device to send a first discovery message to the third device. When the first device and the second device approach a certain distance (which is less than the first preset threshold), the second device automatically triggers network distribution (i.e., sends the first discovery message to the third device) to reduce the user's operation steps. In other words, if the second device determines that the distance between the first device and the third device is less than the first preset threshold, it considers that the first device needs to establish a connection with the third device through the second device to achieve network distribution.

[0106] Optionally, the first preset threshold may be preset by the second device, or it may be agreed upon in advance by the second device and other devices, such as the first device and the third device.

[0107] The second device and the third device have already established a communication connection, or in other words, the second device and the third device have a default connection. For example, the second device is a remote control and the third device is a television. The remote control and the television have a default connection and can transmit data to each other.

[0108] This application embodiment achieves network configuration by having the second device detect the first device when the first and second devices approach each other to a distance less than a first preset threshold, and automatically sending a first detection message to a third device. Since the first detection message includes the network configuration information obtained by the second device (i.e., the network configuration information of the first device), after the second device sends this information to the third device, the third device can connect to the first device based on this information, effectively reducing user operations and simplifying the network configuration process. As can be seen from this example, the user's operations only involve moving the second device towards the first device, or vice versa. When the distance between the second and first devices is less than the first preset threshold, the second device no longer needs user instructions and can automatically send the first detection message to the third device to complete the network configuration. This network configuration method significantly reduces user operation steps and effectively improves the user experience.

[0109] In one possible implementation, the third device is a television, which is relatively large and inconvenient to move. The second device is a remote control or other smaller, more portable pairing device. The first device is the device to be paired, such as a handset, HiFi speaker, or smart glasses. If the first device, such as a handset, directly approaches the television for pairing, several problems may arise, as illustrated in Figure 3. These problems include, but are not limited to: First, most televisions (also known as TV products) are often placed in relatively wide areas, such as living rooms or outdoors. When the handset needs to pair, it needs to approach the television to trigger the pairing process. Typically, the user needs to hold the handset and walk near the television to trigger the pairing process, which does not meet the user's expectation of pairing from the sofa or without moving, resulting in a poor user experience. Secondly, televisions are relatively large, and the wireless module used for signal transmission and reception is usually fixed in one location on the television. When the controller approaches the television from different positions, as shown in Figure 3(a), the signal strength varies significantly depending on the distance between the controller and the wireless module. This can cause problems with the network configuration prompts displayed to the user. For example, it may cause the network configuration pop-up to be slow or not pop up at all, indicating an unresponsive pop-up detection issue. Third, the steel plate at the back of the TV (if the signal source is located at the back of the TV and is isolated by the steel plate), as shown in Figure 3(b), provides some signal isolation for the controller located on the front of the TV. One possible scenario is that when other IoT devices and the controller are simultaneously trying to network with the TV, the signal of the controller on the front of the TV is weaker than the signal of the device behind the TV (which may be behind the TV background wall or a partition wall). When the TV is trying to network, it selects the device with the stronger signal. If the TV does not network with the controller but instead incorrectly network with the device behind the TV (which may be another user or a neighbor), there is a security risk.

[0110] In summary, the current method of pairing a TV and a controller by proximity detection has many problems and poor feasibility. Therefore, this application provides a second device, such as a pairing stick, which, being already connected to the TV and easily movable, can effectively improve the reliability of pairing the TV and the controller by proximity detection (in this application, this can be referred to as the proximity detection scheme between the pairing stick and the controller). For example, the pairing stick can be a remote control with pairing functionality. The proximity detection scheme between the pairing stick and the controller automatically triggers the pairing process when the distance between them is less than a first preset threshold, effectively avoiding the various problems that may arise from the controller directly approaching the TV for pairing.

[0111] Because of its small size and easy mobility, the network distribution stick is easy to operate, whether the user moves the stick near the handle or vice versa. Furthermore, the small size of the stick means that the wireless module it contains is not limited by the handle's position, resulting in a consistent signal strength. Regardless of the handle's angle of approach, the network distribution process is automatically triggered when the distance between the stick and the handle is less than a first preset threshold, making it less susceptible to interference from other devices' network distribution.

[0112] In the examples of this application embodiment, a remote control with network pairing function is provided, which can also be regarded as a remote control compatible with network pairing function, and is simply referred to as a remote control below. The remote control has established a connection with the TV. If the first preset threshold is set to 10cm, when the remote control and the handle are close together, if the distance between the remote control and the handle is less than 10cm, the remote control sends a first discovery message to the TV. The first discovery message includes the handle's network pairing information. Optionally, the remote control can obtain the handle's network pairing information when the handle broadcasts its network pairing information, and generate the first discovery message based on the handle's network pairing information. The TV can further determine whether to connect with the handle based on the first discovery message sent by the remote control, thereby realizing the handle's network pairing. Through the method of pairing the handle with the remote control provided in this application embodiment, it can be seen that the user only needs to bring the handle close to the remote control to realize network pairing. Network pairing is simple, and compared with the TV directly bringing the handle close to realize network pairing, the signal of the wireless module of the handle and the remote control is more stable no matter which angle it is brought close to. The feasibility, security and operability of this method are high.

[0113] Figure 4 is a second schematic flowchart of a power distribution method provided in an embodiment of this application. The method is illustrated by example, which is executed by a third communication device. As shown in Figure 4, the method includes S201 and S202.

[0114] S201. The third device receives a first discovery message sent by the second device. The first discovery message includes the distribution network information of the first device, and the distribution network information includes information used by the first device to establish a connection with the third device.

[0115] The first discovery message can be referenced from the example of S102, which is a message generated by the second device based on the information obtained from the first device and sent to the third device. For example, the first discovery message can be a message in a certain format, such as the first discovery message including at least one of the following information of the first device (or the electronic device to which the first device belongs): product category (product_type), product name (product_name), message identifier (report_id), or number, which may include seller number (also known as supplier number, factory number, etc.) (vendor_id), etc., wherein the product category (product_type) can correspond to the type of electronic device, for example, the category of remote control can be preset as 0x0101, the category of handheld controller as 0x0102, and the category of smart glasses as 0x0103; the product name (product_name) is used to identify different categories of electronic devices; the message identifier (report_id) is a unique ID of each message, used to identify the message, and can be used to track and manage different messages, that is, to identify the electronic device from which the message originates or to determine the category of the electronic device; the supplier number (vendor_id) can identify a unique electronic device and correspond to the type of the electronic device.

[0116] S202. The third device queries a preset configuration library based on the information from the first device, and establishes a connection with the first device if a match is found.

[0117] The third device can have a pre-set configuration library. This library can maintain information about various devices or equipment capable of network configuration within the current network (including the network the third device is in, the network the third device is connected to, or the local network, etc.). This information may include the type of electronic device capable of network configuration and the vendor number of the electronic device. For example, the types of electronic devices include, but are not limited to, gamepads, headphones, speakers, smart glasses, and motion-sensing devices.

[0118] It should be understood that the configuration library preset by the third device can be named according to different scenarios. For example, in the scenario of connecting and communicating through StarFlash technology, the configuration library can be called "StarFlash Ecosystem Device Configuration Library".

[0119] It should be understood that the contents of this configuration library can be preset based on information such as the categories of electronic devices that may be connected in the current scenario. For example, the master device can save the category information of each electronic device in the configuration library based on the categories of connected electronic devices. For instance, in the StarFlash system, the master device can save the product category information of various electronic devices in the preset "StarFlash Ecosystem Device Configuration Library," including but not limited to device images and names of different products. It should also be understood that the master device can obtain basic information about electronic devices during previous connections and save it in the configuration library. For example, if an electronic device to be configured has sent its product category (product_type) to the master device, then the "StarFlash Ecosystem Device Configuration Library" can save that product category for the next network configuration of the electronic device.

[0120] The following explanation uses examples of the contents that a configuration library might store.

[0121] The configuration library provided in this application embodiment may include one or more pieces of information about an electronic device. Table 1 is an example of one configuration library, and Table 2 is an example of another. For example, Table 1 includes product category identifiers, while Table 2 includes product category identifiers and product names, etc. The content included in the configuration library can be flexibly set according to different usage scenarios and is not limited to the examples in this application embodiment. It should be noted that the values ​​of the category identifiers in Table 1 or Table 2 are arbitrary values, used as examples, and are not intended to impose any limitations.

[0122] Table 1

[0123] Table 2

[0124] It should be understood that in the configuration library of the third device, the categories of each electronic device can be agreed upon in advance with each electronic device, or the categories of each electronic device can be determined according to a common category identifier, so that the categories of network-configurable electronic devices stored in the configuration library of the third device can be aligned with the network configuration information of the electronic devices to be configured (i.e., maintain consistency, which means that electronic devices of the same category can be identified as the same device in the first device and the third device).

[0125] Furthermore, this configuration library can also be configured in more detail. For example, in a home environment, the user may have entered their trusted network-connected electronic devices into the main device. If the main device obtains the vendor ID (vendor_id) of each electronic device, it can generate the configuration library based on that vendor ID. Table 3 shows an example of another configuration library, which also includes the vendor ID (vendor_id) of each electronic device. When determining whether to connect to the first device, the third device can further match the vendor ID to whether it is in the configuration library. For example, if the electronic devices in the configuration library are trusted by the user, and the third device receives network configuration information from the first device with product category 0x0102 and supplier number 073152, then the preset configuration library can be used to configure the network configuration information of the first device and connect to it. However, if the third device receives network configuration information from the first device with product category 0x0102 and supplier number 6522122, and its supplier number does not match either 218622A or 073152 stored in the configuration library, then it may be an untrusted handle. In this case, a network configuration request message can be sent to the user to inquire whether to connect to the untrusted handle. After receiving the user's instruction, the system can determine whether to connect to the first device based on the user's instructions. In this scenario, it is safer for the master device to determine whether to network configure with the first device using the contents of the configuration library. It should be noted that the category identifier and number values ​​in Table 3 are arbitrary values ​​used as examples and are not intended to impose any limitations.

[0126] Table 3

[0127] For example, if the controller is an electronic device to be networked, the network configuration information it sends to the remote control (which acts as a network configuration stick) includes: the electronic device type is controller, and the network configuration information includes information about the first device, which can be a product type (product_type) such as 0x0102, or a product name (product_name) such as controller. This application embodiment does not limit how the network configuration information represents the type of electronic device corresponding to the first device, or the identifier of the electronic device. Referring to the example in S102, after the remote control detects proximity to the controller, it sends a first detection message (also called a first network configuration message) to the TV. Taking the first network configuration message as 0x0102 as an example, after receiving the first network configuration message, the TV can query (or traverse) the configuration library, such as the "Star Flash Ecosystem Device Configuration Library". If the "Star Flash Ecosystem Device Configuration Library" includes 0x0102 as shown in Table 1 or Table 2, then the TV connects to the controller, and the controller completes network configuration. It should be understood that the more accurate the information carried in the network configuration information and the information preset in the configuration library, the higher the accuracy of the network configuration method provided in this application embodiment, and the higher its network configuration security.

[0128] This application embodiment uses Tables 1, 2, and 3 as examples to illustrate the possible forms of the configuration library preset by the third device, and how the third device determines whether the preset configuration library matches the information of the first device. In actual network distribution scenarios, the third device can also determine whether there is a match based on images or other information. For example, if the network distribution information of the first device is an image of a handheld device, and the configuration library stores the electronic device category as: product name: handheld, the third device can use AI or other functions to identify the handheld image, determine its product name as handheld, and then compare it with the electronic device category in the configuration library to determine a match; or, if the network distribution information of the first device is: product name: handheld, but the configuration library stores the electronic device category as: handheld image, the third device can use AI or other functions to identify the handheld image, determine its product name as handheld, and then compare it with the electronic device category carried in the first network distribution message to determine a match. The information of the electronic device to be networked carried in the first discovery message can be matched with the information in the preset configuration library of the third device in different ways, making the application scenarios of this network distribution method more extensive.

[0129] The network distribution method provided in this application embodiment may further include: after the third device successfully matches with the first device, a pop-up window is displayed on the main device to notify the user that the network distribution device has been successfully matched.

[0130] Figure 5 is a flowchart illustrating a network configuration method according to an embodiment of this application. This embodiment takes a scenario involving network configuration of TVs and IoT devices as an example. Referring to the StarFlash system software architecture diagram in Figure 6 and the StarFlash scenario diagram in Figure 7, the method is described using a TV product, a remote control, and a gamepad. The TV (or TV product, such as a television) can be considered the main device, the remote control (such as a StarFlash remote control for TVs) can be considered the configuration stick, and the IoT device (or ecosystem product, such as a gamepad (StarFlash gamepad)) can be considered the device to be configured. The main device may include the third device described in the above example, the configuration stick may include the second device described in the above example, and the device to be configured may include the first device described in the above example. As shown in Figure 5, the method includes steps S301 to S308.

[0131] S301, IoT devices send broadcast information, broadcasting their pending network configuration.

[0132] Optionally, the IoT device is in a network configuration mode. This mode includes the IoT device sending broadcast information, broadcasting information related to its pending network configuration. For example, if a controller needs network configuration, it broadcasts the controller's configuration information; or it sends broadcast information indicating that the controller needs network configuration. The content of the broadcast information sent by the IoT device is not limited in this embodiment; the broadcast content only needs to enable devices that receive the broadcast content, such as remote controls, to recognize that the IoT device needs network configuration.

[0133] For example, the controller broadcasts its network configuration information, which includes at least one of the following basic information: the controller's MAC address, product type, product name, report ID, or vendor ID.

[0134] S302. The remote control scans to obtain the broadcast information of the IoT device.

[0135] The remote control can be in network pairing mode (or scanning mode), which means that the remote control is in a scanning state and can continuously scan for surrounding broadcast signals, such as scanning for network pairing information in the current network.

[0136] For example, a remote control can enter a pairing mode based on user instructions. For instance, with a button-type remote control, a user can enter pairing mode by pressing and holding a specific button, causing the remote control to enter scanning mode. The remote control can also obtain user instructions in other ways; for example, a touchscreen remote control can enter pairing mode based on the user clicking a specific location, and a smart remote control can enter pairing mode based on the user's voice instructions, etc. This application does not limit the scope of the embodiments.

[0137] S303: The remote controller determines the distance between itself and the IoT device. If the distance is less than the first preset threshold, it generates a first discovery message based on the obtained broadcast information.

[0138] This broadcast information can be regarded as the distribution network information of the first device provided in S101, and will not be elaborated further here.

[0139] Optionally, the first preset threshold is determined based on at least one of the following data: physical security communication distance; or, signal strength; and the environment in which the remote control and the IoT device are located. For example, the first preset threshold can be set in the range of 10cm to 20cm, and a first preset threshold suitable for the current environment can be determined based on the influence of different factors such as physical security communication distance, signal strength, and environment.

[0140] The physical security communication distance includes the distance at which a user can securely communicate using the main device. For example, if a user uses a remote control in the living room, and the remote control can securely communicate with IoT devices in the living room, then the distance from the remote control to a specific IoT device in the living room can be used as the physical security communication distance. In other words, setting this first preset threshold ensures that IoT devices detected by the remote control are within the user's trusted range. Signal strength can be understood as the signal strength the remote control needs to acquire to effectively scan the network configuration information sent by the device from which the signal originates. The environment in which the remote control and the IoT device are located can be understood as the current transmission environment, taking into account environmental factors such as noise.

[0141] Optionally, different first preset thresholds can be set for different IoT devices. In this embodiment, the first preset threshold is 10cm in the current scenario where TV, remote control and gamepad need to be networked, but this is not a limitation.

[0142] Optionally, the remote controller determines the network configuration information of the IoT device based on the broadcast information. If the network configuration information includes at least one of the following basic information: product category (product_type), product name (product_name), report identifier (report_id), or vendor number (vendor_id), then a first discovery message is generated based on this basic information. For example, if the broadcast information includes product category (product_type), product name (product_name), report identifier (report_id), and vendor number (vendor_id), the first discovery message can carry one or more of these items, such as only the product category (product_type). Alternatively, the remote controller can use the broadcast information as the first discovery message.

[0143] Optionally, when the remote control determines that the IoT device is less than 10cm away from it, it can send a notification message to the user. This notification message can be implemented in different ways to inform the user to start configuring the IoT device for the network. For example, the notification message could be a flashing light to alert the user.

[0144] S304, The remote control sends the first discovery message to the TV.

[0145] It should be understood that before the network configuration method is executed, such as during a TV's initial power-on (usually the first time), the user can first establish a connection between the remote control and the TV. This establishes a communication link between the remote control and the TV, enabling data transmission. Optionally, the connection between the TV and the remote control can be pre-configured at the factory; this embodiment does not limit this.

[0146] Since there is already a link between the remote control and the TV, the remote control can transmit the first discovery message to the TV through this link.

[0147] Optionally, after the remote control sends the first discovery message to the TV, it can stop sending prompt messages to the user to inform the remote control that its function as a pairing stick has been completed and it can switch back to remote control mode. The prompt message can include various forms, such as stopping the flashing light.

[0148] S305. If TV receives the first discovery message, it queries the preset configuration library to see if there is information that matches the first discovery message. If it does, it executes S306; if it does not, it executes S307.

[0149] Optionally, the TV can be in a monitoring mode, in which the TV can listen to messages sent by the remote control, such as whether the remote control sends a discovery message (which can also be defined as a "new device discovery" message). This discovery message includes the first discovery message, and timely response to network configuration requirements.

[0150] The TV checks whether there is information corresponding to the IoT device in the configuration library (such as the StarFlash Ecosystem Device Configuration Library). You can refer to the example in S202, which will not be elaborated here.

[0151] S306, TV is connected to this IoT device.

[0152] Optionally, the TV can send a notification to the user, informing them of the connection to the IoT device. For example, the TV may display a "New Device Found" pop-up and automatically connect to the IoT device, such as a gamepad, without user intervention.

[0153] S307 and TV send a network configuration request message to the user. This network configuration request message is used to request the user to indicate whether to connect to the IoT device.

[0154] If S308 or TV receives a connection instruction, it will connect to the IoT device.

[0155] For example, the TV can pop up a "Discover Unknown Device" pop-up window to request user instructions. If the user chooses to connect, it is equivalent to receiving a connection instruction and connecting with the IoT device; if the user chooses not to connect, it is equivalent to not receiving a connection instruction and not connecting with the IoT device.

[0156] Optionally, after S306 or S308, the TV can also send a notification message to the user, informing them that the connection with the IoT device is complete. For example, this notification message can be implemented in different ways, such as displaying a "New XingShan Device Pop-up" and / or a graphical user interface (GUI) on the TV after successful pairing. The "New XingShan Device Pop-up" refers to the pop-up window displayed on the TV after successful pairing, showing the IoT device (such as a controller). Optionally, the content displayed on the TV can be varied, such as displaying a "New Device Connection Successful" or "New Device Connection Completed" pop-up window to inform the user that the IoT device has been successfully network-configured.

[0157] In one possible implementation, the remote control integrates both network pairing and remote control functions. After network pairing is complete, it can switch to remote control mode, and when a device needs network pairing, it switches back to network pairing mode. For example, for a button-type remote control, a user can enter network pairing mode by pressing and holding a specific button. Releasing the button is equivalent to receiving a switching message; the remote control exits network pairing mode, stops scanning, and switches back to its remote control function. When the network pairing function is integrated into other devices as a network pairing stick, after scanning ends, it can switch to a function of that other device. This will not be elaborated further in the embodiments of this application.

[0158] The network configuration method provided in this application embodiment can use a remote control as a network configuration stick. This allows for network configuration between the device to be configured and the main device using a small, easily portable configuration stick, simplifying the configuration process, reducing user operation steps, and improving user experience. Furthermore, it allows the remote control to connect to a TV, facilitating the transmission of first discovery messages. Additionally, it enables the remote control to perform both remote control and network configuration functions, reducing network configuration costs.

[0159] Meanwhile, the method of using a remote control to connect IoT devices to the network allows for network connection within a physically secure communication distance, thus ensuring the security of the network connection process.

[0160] Figure 8 is a schematic diagram of the structure of a second device provided in an embodiment of this application. As shown in Figure 8, the second device 20 includes an acquisition module 201, a transceiver module 202, and a processing module 203.

[0161] The acquisition module 201 is used to acquire the distribution network information of the first device, which includes information used by the first device to establish a connection with the third device.

[0162] When the processing module 203 determines that the distance between the first device and the second device is less than a first preset threshold, the transceiver module 202 sends a first discovery message to the third device. The first discovery message includes the distribution network information and indicates that the second device and the third device have established a connection.

[0163] In one possible implementation, the acquisition module 201 is specifically used to scan the current network of the second device to obtain the distribution network information of the first device.

[0164] In one possible implementation, the information used by the first device to establish a connection with the third device includes at least one of the following: the MAC address of the first device; or the product category of the first device; or the product name of the first device; or the message identifier of the distribution network information; or the number of the first device.

[0165] In one possible implementation, the acquisition module 201 is specifically used to end the scan when the transceiver module 202 receives a switching message.

[0166] In one possible implementation, referring to FIG9, the second device further includes a star flash module 204 for transmitting the star flash signal.

[0167] It should be understood that the modules shown in Figures 8 and 9 are merely examples, and each module can perform its operations with reference to the method section of the embodiments of this application, or perform variations of its operations. Other operations can also be performed in the examples provided in the embodiments of this application, and are not limited to the examples of the embodiments of this application. For example, the acquisition module 201 can be combined with the transceiver module 202 as a single module, such as jointly serving as a transceiver module or a communication module.

[0168] Optionally, the transceiver module (also referred to as the communication module) and the processing module in this application can be deployed simultaneously in the StarScan module, Bluetooth module, or WiFi module; or, the transceiver module in this application can be deployed in the StarScan module, Bluetooth module, or WiFi module, and the processing module in this application can be deployed in other modules; or, the processing module in this application can be deployed in the StarScan module, Bluetooth module, or WiFi module, and the communication module in this application can be deployed in other modules. This application does not make specific limitations in this regard.

[0169] In one possible implementation, the second device 20 may also include some software architecture, or modules or hardware corresponding to these software architectures, including but not limited to: generic attribute profile (GATT) service, device firmware, or StarSpark chip hardware.

[0170] Figure 10 is a schematic diagram of the structure of a third device provided in an embodiment of this application. As shown in Figure 10, the third device 30 includes a transceiver module 301 and a processing module 302.

[0171] The transceiver module 301 is used to receive a first discovery message sent by the second device. The first discovery message includes distribution network information, which includes information used by the first device to establish a connection with the third device.

[0172] The processing module 302 is used to query a preset configuration library based on the distribution network information, and establish a connection with the first device if a match is found.

[0173] In one possible implementation, the configuration library includes at least one of the following: the product category that can be networked; or, the product name that can be networked; or, the number corresponding to the networked device.

[0174] In one possible implementation, the matching condition includes at least one of the following: the product category of the first device is the same as the network-configurable product category stored in the configuration library; or, the product name of the first device is the same as the network-configurable product name stored in the configuration library; or, the number of the first device is the same as the network-configurable number stored in the configuration library.

[0175] In one possible implementation, the processing module 302 is further configured to query a preset configuration library based on the distribution network information. If a mismatch is found, the transceiver module 301 sends a distribution network request message to inquire whether to establish a connection with the first device. If the transceiver module 301 receives a connection indication message, it establishes a connection with the first device. Optionally, the distribution network request information can be sent to a user.

[0176] In one possible implementation, the transceiver module 301 is specifically used to listen for discovery messages sent by the second device, the discovery messages including the first discovery message.

[0177] In one possible implementation, referring to FIG11, the third device further includes a star flash module 303 for transmitting the star flash signal.

[0178] It should be understood that the modules shown in Figures 10 and 11 are merely examples, and each module can perform its operations or variations thereof with reference to the method section of the embodiments of this application. Other operations can also be performed in the examples provided in the embodiments of this application, and are not limited to the examples of the embodiments of this application.

[0179] Optionally, the transceiver module (also referred to as the communication module) and the processing module in this application can be deployed simultaneously in the StarScan module, Bluetooth module, or WiFi module; or, the transceiver module in this application can be deployed in the StarScan module, Bluetooth module, or WiFi module, and the processing module in this application can be deployed in other modules; or, the processing module in this application can be deployed in the StarScan module, Bluetooth module, or WiFi module, and the communication module in this application can be deployed in other modules. This application does not make specific limitations in this regard.

[0180] In one possible implementation, the third device 30 may also include some software architecture, or modules or hardware corresponding to these software architectures, including but not limited to: StarSpark device firmware or StarSpark chip hardware, etc.

[0181] Additionally, as shown in Figure 12, which is a schematic diagram of the structure of device 40 according to an embodiment of this application, device 40 includes a transceiver 401 and a processor 402. This device 40 corresponds to the first device exemplified in the method, used to perform the operations of the first device, the device to be networked (the device to be networked), and the IoT device in the above embodiments. Alternatively, this device 40 corresponds to the second device, remote control, or network distribution stick exemplified in the method, used to perform methods S101 and S102 in the above embodiments, or to perform S301 to S308. Alternatively, this device 40 corresponds to the third device, main device, or TV exemplified in the method, used to perform methods S201 and S202 in the above embodiments, or to perform S301 to S308.

[0182] It should be noted that the division of parts in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. The functions in this embodiment are integrated into a single processor, or the transceiver and processor may exist separately. Furthermore, device 50 may include built-in memory, or it may not include memory, or it may include external memory, etc., and is not limited to the division exemplified in this embodiment. The integrated device described above can be implemented in hardware, such as a chip, or in the form of a software functional unit, or in a combination of hardware and software.

[0183] Furthermore, this application embodiment also provides a device 50, as shown in FIG13, which is a structural schematic diagram of a device 50 provided in this application embodiment. As shown in FIG13, the device 50 may include a processor 501, a memory 502 coupled to the processor 501, and a transceiver 503. The transceiver 503 may include MR, LR, communication interface, optical module, etc., for receiving messages or data information, etc. The processor 501 may include a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP, for executing the relevant steps of wake-up signal processing in the device exemplified in the above embodiments. The processor may also be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. The processor 501 may refer to a single processor or may include multiple processors. Memory 502 may include volatile memory, such as random-access memory (RAM); it may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD); Memory 502 may also include combinations of the above types of memory. Memory 502 may refer to a single memory or may include multiple memories for storing program instructions. In one embodiment, memory 502 stores computer-readable instructions, which include multiple software modules, such as a sending module, a processing module, and a receiving module. After executing each software module, processor 501 can perform corresponding operations according to the instructions of each software module. In this embodiment, the operation performed by a software module actually refers to the operation performed by processor 501 according to the instructions of the software module.Optionally, the processor 501 may also store program code or instructions for executing the scheme of the embodiments of this application. In this case, the processor 501 does not need to read program code or instructions from the memory 502.

[0184] The device 50 can be used to execute the methods in the above embodiments. Specifically, the device 50 is equivalent to the first device exemplified in the method, used to execute the operations of the first device, the device to be networked (the device to be networked), and the IoT device in the methods in the above embodiments. Alternatively, the device 50 is equivalent to the second device, remote control, or network distribution stick exemplified in the method, used to execute methods S101 and S102 in the above embodiments, or to execute S301 to S308. Alternatively, the device 40 is equivalent to the third device, main device, or TV exemplified in the method, used to execute methods S201 and S202 in the above embodiments, or to execute S301 to S308.

[0185] Furthermore, this application also provides a communication device. The communication device includes a storage medium and a processor connected to the storage medium. The storage medium stores instructions, which, when executed by the processor, enable the processor to implement some or all of the operations in any of the methods described in any of the foregoing embodiments.

[0186] Furthermore, this application also provides a communication device. The communication device includes a processor connected to a storage medium. The storage medium may be disposed within or outside the communication device. The storage medium stores instructions, which, when executed by the processor, enable the processor to implement some or all of the operations in any of the methods described in any of the foregoing embodiments.

[0187] This application also provides a computer-readable storage medium storing instructions that, when executed on a processor, implement some or all of the operations in any of the methods in any of the foregoing embodiments.

[0188] This application also provides a computer program product, including a computer program that, when run on a processor, implements some or all of the operations in any method of any of the foregoing embodiments.

[0189] This application also provides a chip, including an interface circuit and a processor. The interface circuit and the processor are connected, and the processor is used to cause the chip to perform some or all of the operations in any of the methods in any of the foregoing embodiments.

[0190] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, and when the program or instructions are executed by the processor, the chip system enables the chip system to perform some or all of the operations in any one of the methods in any of the foregoing embodiments.

[0191] Optionally, the chip system may contain one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.

[0192] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application embodiment does not limit this. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application embodiment does not specifically limit the type of memory or the arrangement of the memory and processor.

[0193] For example, the chip system can be an FPGA, an ASIC, a system-on-chip (SoC), a CPU, an NP, a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0194] This application also provides a system, including one or more of the above-described devices, apparatuses, computer-readable storage media, computer program products, chips, or chip systems. It can be applied to the scenario shown in Figure 1, but is not limited thereto.

[0195] In one possible implementation, the system provided in this application embodiment includes at least one first communication device and at least one second communication device.

[0196] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0197] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0198] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical business division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between apparatuses or units, and may be electrical, mechanical, or other forms.

[0199] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0200] Furthermore, the various business units in the embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software business unit.

[0201] If the integrated unit is implemented as a software business unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the technical solution of this application can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, Random Access Memory, magnetic disks, or optical disks.

[0202] Those skilled in the art will recognize that, in one or more of the examples above, the services described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these services can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of computer programs from one place to another. Storage media can be any available medium accessible to general-purpose or special-purpose computers.

[0203] The above specific embodiments further illustrate the purpose, technical solution and beneficial effects of this application. It should be understood that the above are only specific embodiments of this application.

[0204] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A method of commissioning a network, the method comprising: The method comprises: obtaining network configuration information of a first device, the network configuration information comprising information used by the first device to establish a connection with a third device; in a case where a distance between the first device and a second device is less than a first preset threshold, sending a first discovery message to the third device, the first discovery message comprising the network configuration information, the second device having established a connection with the third device.

2. The method of claim 1, wherein, Before the obtaining of the network configuration information of the first device, the method further comprises: scanning a current network of the second device.

3. The method according to claim 1 or 2, characterized in that, The information used by the first device to establish a connection with the third device comprises at least one of the following: a media access control (MAC) corresponding to the first device; a product category corresponding to the first device; or a product name corresponding to the first device; or a message identifier corresponding to the network configuration information; or a number corresponding to the first device.

4. The method of claim 2, wherein in a case where a switching message is received, the scanning is ended.

5. A method of commissioning a network, the method comprising: The method comprises: receiving a first discovery message sent by a second device, the first discovery message comprising network configuration information, the network configuration information comprising information used by a first device to establish a connection with a third device; based on the network configuration information, querying a preset configuration library, and in a case of matching, establishing a connection with the first device.

6. The method of claim 5, wherein, The configuration library comprises at least one of the following: a product category that can be configured; or a product name that can be configured; or a number corresponding to a device that can be configured.

7. The method according to claim 5 or 6, characterized in that, The case of matching comprises at least one of the following: a product category of the first device is the same as a product category that can be configured saved in the configuration library; or a product name of the first device is the same as a product name that can be configured saved in the configuration library; or a number of the first device is the same as a number that can be configured saved in the configuration library.

8. The method according to any one of claims 5 to 7, characterized in that, The method further comprises: in a case of not matching, sending a network configuration request message, the network configuration request message being used to inquire whether to establish a connection with the first device; if a connection indication message is received, establishing a connection with the first device.

9. The method according to any one of claims 5 to 8, characterized in that, The method further comprises: listening to a discovery message sent by the second device, the discovery message comprising the first discovery message.

10. The method according to any one of claims 5 to 9, characterized in that, The method further comprises: displaying a first interface, the first interface being used to indicate that the third device has established a connection with the first device.

11. A communications device, characterized by The communication device comprises a module for executing the method according to any one of claims 1 to 4.

12. The communication apparatus according to claim 11, wherein The communication device further comprises: a star flash module for implementing transmission of a star flash signal.

13. A communications device, characterized by The communication device comprises a module for executing the method according to any one of claims 5 to 10.

14. The communication apparatus according to claim 13, wherein The communication device further comprises: a star flash module for implementing transmission of a star flash signal.

15. A communications device, characterized by The communication device comprises a processor configured to execute the method according to any one of claims 1 to 4, or configured to execute the method according to any one of claims 5 to 10.

16. A communications device, characterized by The method comprises: An input / output interface for at least one of obtaining input information or outputting information; and a logic circuit for performing the method of any one of claims 1 to 4, or performing the method of any one of claims 5 to 10.

17. A computer readable storage medium characterized by: The computer-readable storage medium comprises instructions which, when executed, cause the method of any one of claims 1 to 4 to be performed, or cause the method of any one of claims 5 to 10 to be performed.

18. A computer program product, characterised in that, The computer program product comprises instructions which, when executed, cause the method of any one of claims 1 to 4 to be performed, or cause the method of any one of claims 5 to 10 to be performed.

Citation Information

Patent Citations

  • Equipment network configuration method and device, electronic equipment and storage medium

    CN111555905A

  • Communication connection establishment method and system, electronic equipment and storage medium

    CN114339697A

  • Equipment discovery method, device and system, network distribution method, device and system, medium and equipment

    CN118158691A

  • Device network configuration method and apparatus

    WO2022095709A1