Network distribution method and device
By using the second device to automatically send a network distribution information discovery message to the third device when the first and third devices are close together, the problem of complex network distribution for large-sized equipment is solved, the operation process is simplified, and the user experience is improved.
Patent Information
- Application Number
- CN202410966546.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2026-01-20
AI Technical Summary
In IoT devices, when a large main device is configured to be networked with a device to be configured, the configuration process is complex and affects the user experience.
When the distance between the first device and the third device is less than a preset threshold, the second device automatically sends a discovery message of distribution network information to the third device, thereby realizing automatic distribution network.
It simplifies the power distribution network operation process and improves the user experience.
Smart Images

Figure CN121367974A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication, and in particular to a network configuration method and device. BACKGROUND
[0002] With the continuous development of communication technology, the use demand of internet of things (IoT) devices is increasing, and users' demand for network configuration of different types of IoT devices is also increasing. Network configuration function has gradually become a key competitive factor for smart home products.
[0003] In some scenarios, the main device is large in size and inconvenient to move. When the main device and the device to be configured are configured, the network configuration steps are complex, which seriously affects the user experience. How to simplify the operation steps of the user during network configuration and improve the simplicity of network configuration has become a problem to be solved. SUMMARY
[0004] The present application provides a network configuration method and device, which can improve the simplicity of network configuration and improve user experience.
[0005] In a first aspect, the present application provides a network configuration method, which can be executed by a second device. In the absence of special description, the "second device" in the present application can refer to a device itself (for example, a terminal node (also referred to as a terminal device or T node)), a component in the device (for example, a processor, a chip, or a chip system, etc.), or a logic module or software capable of realizing all or part of the functions of the second device. 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; and in the case that 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 comprising the network configuration information, and the second device having established a connection with the third device. The first device is a device to be configured, or the first device is a device included in a device to be configured.
[0006] Through the method, the second device discovers the first device and automatically sends a first discovery message to the third device to perform network configuration when the first device and the second device are close to each other and the distance is less than the first preset threshold. The first discovery message carries information used by the first device to establish a connection with the third device, so that the third device can perform network configuration based on the first discovery message after receiving the first discovery message. As can be seen from the method, the devices automatically perform network configuration by judging whether the distance is less than the first preset threshold, thereby effectively reducing the user's operation and simplifying the operation process of network configuration.
[0007] In a possible implementation, the second device provided in the application is an electronic device or a component in the electronic device, denoted as device A, and the third device is another electronic device or a component in the electronic device, denoted as device B. The device A has a larger volume and is inconvenient to move compared with the device B. Therefore, the first device directly performs the network configuration with the device B, and compared with the first device performing the network configuration with the device B through the device A which has a small volume and is convenient to move, the feasibility is lower.
[0008] The method provided in the application can realize the network configuration of the first device and the third device through the second device, and can more conveniently enable the first device to approach the second device. The distance between the second device and the first device can be less than the first preset threshold by moving the second device to the first device or moving the first device to the second device, and then the second device spontaneously sends the first discovery message to the third device to realize the network configuration. Such a network configuration method greatly reduces the operation steps of the user and effectively improves the user experience.
[0009] In a possible implementation, before the network configuration information of the first device is acquired, the method further includes: scanning a current network of the second device. The current network of the second device includes a network accessed by the second device, a network in which the second device is located, a local network, and the like. Optionally, the second device includes two modes, a first mode is a scanning mode, and a second mode is a mode corresponding to a characteristic of the second device, for example, the second device is a remote controller, and the second mode can be a remote control mode, and the like. The method can specifically be switching to the first mode to perform the scanning.
[0010] In the method provided in the application, the first device can broadcast the network configuration information, and the second device can scan, that is, the second device can obtain the network configuration requirement of the first device in time through the scanning, and when the distance between the second device and the first device is less than the first preset threshold, the second device can send the first discovery message to the third device, thereby quickly and timely responding to the network configuration requirement.
[0011] In a possible implementation, the method further includes: in a case where the switching message is received, ending the scanning. 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 a characteristic of the second device, for example, the second device is a remote controller, and the second mode can be a remote control mode, and the like. The method can specifically be switching from the first mode to the second mode to end the scanning and provide the remote control service in a case where the switching message is received. The second device provided in the application can have both the scanning function and other functions. In this way, in a state where the network configuration is not performed, the second device can implement other functions, and the application efficiency of the second device is improved. Alternatively, because the second device has other functions, the second device can also be compatible with the scanning function provided in the application, and thus the function of the network configuration is realized. Therefore, the second device can be applied to more scenarios.
[0012] In a possible implementation, the information that the first device uses to establish a connection with the third device includes 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 commissioning information; or a number corresponding to the first device, or a supplier number corresponding to the first device. The information that the first device uses to establish a connection includes a plurality of possible information, so that the data used to establish a connection is more flexible, and the applicability of the commissioning method provided in this application is increased.
[0013] In a second aspect, the present application provides a commissioning method, which can be executed by a third device. In the present application, the third device can refer to a device itself (for example, a terminal node (also referred to as a terminal device or a T node), or a management node (also referred to as a management device or a G node), etc.), a component in the device (for example, a processor, a chip, or a chip system, etc.), or a logic module or software capable of realizing all or part of the functions of the device. The method includes: receiving a first discovery message sent by a second device, the first discovery message including commissioning information, the commissioning information including information that the first device uses to establish a connection with the third device; based on the commissioning information, querying a preset configuration library, and in a matching case, establishing a connection with the first device.
[0014] In a possible implementation, the configuration library includes at least one of the following: a product category that can be commissioned; or a product name that can be commissioned; or a number corresponding to a device that can be commissioned, such as a supplier number, etc. Optionally, the configuration library can also include a message identifier corresponding to the commissioning information of each device.
[0015] The configuration library preset by the third device can be named according to different scenarios, or different information can be saved in the configuration library according to different scenarios. Different types of information are saved in the configuration library according to the use scenarios, which can be more suitable for the commissioning in the scenario, so that the commissioning method provided in the present application is more accurate.
[0016] In a possible implementation, the matching case includes at least one of the following: the product category of the first device is the same as the product category that can be commissioned and saved in the configuration library; or the product name of the first device is the same as the product name that can be commissioned and saved in the configuration library; or the number of the first device is the same as the number that can be commissioned and saved in the configuration library.
[0017] 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.
[0018] 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.
[0019] 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.
[0020] 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.
[0021] 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.
[0022] 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.
[0023] 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.
[0024] 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.
[0025] 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...
[0026] The message identifier corresponding to the distribution network information; or, the number corresponding to the first device.
[0027] In one possible implementation, the acquisition module is specifically used to end the scan when the transceiver module receives a switching message.
[0028] In one possible implementation, the first communication device further includes a star flash module for transmitting star flash signals.
[0029] 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.
[0030] 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.
[0031] Fourthly, this application provides a communication device, which includes a transceiver module and a processing module.
[0032] 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.
[0033] 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.
[0034] 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.
[0035] 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.
[0036] 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.
[0037] In one possible implementation, the first communication device further includes a star flash module for transmitting star flash signals.
[0038] 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.
[0039] 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.
[0040] 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.
[0041] 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.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] 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.
[0048] 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.
[0049] Optionally, the chip also includes a memory. The memory can be integrated with the processor or disposed separately from the processor; the memory can be integrated on the same chip as the processor or disposed on different chips.
[0050] Alternatively, the chip described above can also be an integrated circuit.
[0051] 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.
[0052] In a fourteenth aspect, this application provides a system that includes communication means as provided in any of the third to twelfth aspects.
[0053] 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
[0054] 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.
[0055] Figure 1 This is a schematic diagram of the result of a communication system 100 provided in an embodiment of this application;
[0056] Figure 2 This is one of the flowcharts illustrating a power distribution method provided in an embodiment of this application;
[0057] Figure 3 This is a structural diagram of a communication scenario provided in an embodiment of this application;
[0058] Figure 4 This is a second schematic flowchart of a power distribution network method provided in an embodiment of this application;
[0059] Figure 5This is the third flowchart illustrating a power distribution method provided in this application embodiment;
[0060] Figure 6 This is a schematic diagram of a StarSpark system software architecture provided in an embodiment of this application;
[0061] Figure 7 This is a schematic diagram of a starlight scene provided in an embodiment of this application;
[0062] Figure 8 This is one of the structural schematic diagrams of a second device provided in the embodiments of this application;
[0063] Figure 9 This is a second schematic diagram of the structure of a second device provided in the embodiments of this application;
[0064] Figure 10 This is one of the structural schematic diagrams of a third device provided in the embodiments of this application;
[0065] Figure 11 This is a second schematic diagram of the structure of a third device provided in the embodiments of this application;
[0066] Figure 12 This is a schematic diagram of the structure of device 40 according to an embodiment of this application;
[0067] Figure 13 This is a schematic diagram of the structure of a device 50 provided in an embodiment of this application. Detailed Implementation
[0068] 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.
[0069] 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.
[0070] 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.
[0071] 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.
[0072] 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.
[0073] To facilitate understanding, the relevant terms and concepts used in the embodiments of this application will be explained below:
[0074] 1. Distribution network
[0075] 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.
[0076] 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.
[0077] 2. Main equipment
[0078] 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.
[0079] 3. Default
[0080] 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).
[0081] Figure 1 This is a schematic diagram of the structure of a communication system 100 provided in an embodiment of this application. The communication system 100 to which this application embodiment applies may include multiple devices, such as... Figure 1 As shown, 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.
[0082] 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 functionality. The network configuration method provided in the embodiments of this application can be applied to different communication systems, including but not limited to the examples provided in the embodiments of this application. Figure 1The provided communication system 100. Exemplary examples of the network allocation 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 systems, satellite communications, 5G communication systems, 6th-generation (6G) communication systems, or new communication systems that will emerge in the future. This application embodiment does not limit the scope of the application.
[0083] 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.
[0084] 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.
[0085] 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.
[0086] 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, refer to... Figure 1 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. Examples in this application embodiment often use the first device 10 corresponding to a handheld device, the second device 20 to a remote control, and the third device 30 to a television as examples. 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 nodes 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 can be deployed as a T-node or deployed on a T-node, or the first device 10 can be deployed as a G-node or deployed on a G-node; the second device 20 can be deployed as a T-node or deployed on a T-node, or the second device 20 can be deployed as a G-node or deployed on a G-node; the third device 30 can be deployed as a T-node or deployed on a T-node, or the third device 30 can be deployed as a G-node or deployed on a G-node.
[0087] 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.
[0088] 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.
[0089] 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.
[0090] 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 control device such as a central control or control panel, 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 (such as 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 functions.
[0091] 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, or it can be any device that supports the management node in implementing this function, such as a chip system. The device can be installed in the management node or used in conjunction with the management node.
[0092] 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, user unit (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.
[0093] 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.
[0094] 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.
[0095] This application does not limit the specific form of the communication device (including the first device 10, the second device 20, and the third device 30). See also... Figure 1 In the communication system 100, the devices corresponding to the first device, the second device, and the third device can be partially the same or completely different. For example, the first device can be a game console display and control integrated device, the second device can be a remote control, and the third device can be a television display device, etc.
[0096] 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.
[0097] 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.
[0098] 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.
[0099] Figure 2 This is a flowchart illustrating one of the network distribution methods provided in this application embodiment. The method is explained using a second communication device as an example. Figure 2 As shown, the method includes S101 and S102.
[0100] 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.
[0101] 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.
[0102] 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.
[0103] 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.
[0104] 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.
[0105] Optionally, the first preset threshold can be preset by the second device, or it can be agreed upon in advance by the second device and other devices, such as the first device and the third device.
[0106] 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.
[0107] 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.
[0108] 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, portable network 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, is directly placed near the television for network pairing, as the main device, several problems may arise. These problems can be found in [reference needed].Figure 3 Examples include, but are not limited to: First, most televisions (also known as TV products) are often placed in relatively wide environments, such as living rooms or outdoors. When the controller needs to be paired with the network, the user needs to approach the TV to trigger the pairing process. This typically requires the user to walk close to the TV while holding the controller, which does not meet the user's expectation of pairing from the sofa or without moving, resulting in a poor user experience. Second, televisions are relatively large, and the wireless modules used for signal transmission and reception are usually fixed in one location. When the controller approaches the TV from different locations, as shown in the reference... Figure 3 In (a) of this example, the controller is brought close to the TV from four different locations. The distance between the controller and the wireless module varies depending on the location, resulting in significant differences in signal strength. This may cause issues with the network configuration prompts displayed to the user. For example, it might cause the network configuration pop-up to appear slowly or not at all, leading to unresponsive pop-up detection. Thirdly, the steel plate on the back of the TV (if the signal source is located on the back of the TV and is isolated by a steel plate), refer to... Figure 3 In (b) of the diagram, the controller located in front of the TV provides some signal isolation. 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 in 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 networking, the TV 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.
[0109] 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.
[0110] 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.
[0111] 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.
[0112] Figure 4 This is a second schematic flowchart of a network distribution method provided in this application embodiment. The method is illustrated using an example of execution by a third communication device. Figure 4 As shown, the method includes S201 and S202.
[0113] 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.
[0114] 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.
[0115] 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.
[0116] 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.
[0117] 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".
[0118] 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.
[0119] The following explanation uses examples of the contents that a configuration library might store.
[0120] 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.
[0121] Table 1
[0122] Configurable electronic device Product category 1 0x0101 2 0x0102 3 0x0103 ...... ......
[0123] Table 2
[0124] Configurable electronic device Product category Product name 1 0x0101 Remote control 2 0x0102 Handle 3 0x0103 Smart glasses ...... ...... ......
[0125] 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).
[0126] 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.
[0127] Table 3
[0128]
[0129]
[0130] 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.
[0131] 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.
[0132] 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.
[0133] Figure 5 This is the third flowchart illustrating a network distribution method provided in this application embodiment. This application embodiment takes an application scenario involving network distribution for TV and IoT devices as an example. (Refer to...) Figure 6The software architecture diagram of the StarSpark system shown is as follows: Figure 7 The diagram illustrates a scenario where the network configuration method is performed by a TV product, remote control, and gamepad. The TV (or TV product, such as a television) can be considered the main device, the remote control (such as the TV-compatible Star Flash remote control) can be considered the network configuration stick, and the IoT device (or ecosystem product, such as the gamepad (Star Flash gamepad)) can be considered the device to be configured. The main device can include the third device described in the example above, the network configuration stick can include the second device described in the example above, and the device to be configured can include the first device described in the example above. Figure 5 As shown, the method includes steps S301 to S308.
[0134] S301, IoT devices send broadcast information, broadcasting their pending network configuration.
[0135] 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.
[0136] 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.
[0137] S302. The remote control scans to obtain the broadcast information of the IoT device.
[0138] 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.
[0139] 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.
[0140] 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.
[0141] 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.
[0142] 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.
[0143] 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.
[0144] 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.
[0145] 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.
[0146] 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.
[0147] S304, The remote control sends the first discovery message to the TV.
[0148] 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.
[0149] 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.
[0150] 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.
[0151] 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.
[0152] 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.
[0153] 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.
[0154] S306, TV is connected to this IoT device.
[0155] 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.
[0156] 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.
[0157] If S308 or TV receives a connection instruction, it will connect to the IoT device.
[0158] 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.
[0159] 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.
[0160] 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.
[0161] 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.
[0162] 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.
[0163] Figure 8 This is one of the structural schematic diagrams of a second device provided in the embodiments of this application, such as... Figure 8As shown, the second device 20 includes an acquisition module 201, a transceiver module 202, and a processing module 203.
[0164] 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.
[0165] 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.
[0166] 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.
[0167] 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.
[0168] In one possible implementation, the acquisition module 201 is specifically used to end the scan when the transceiver module 202 receives a switching message.
[0169] In one possible implementation, refer to Figure 9 The second device also includes a star flash module 204 for transmitting star flash signals.
[0170] It should be understood that Figure 8 and Figure 9 The modules shown are merely examples. Each module can perform its operations or variations thereof by referring 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. 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.
[0171] 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 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 specific limitations in this regard.
[0172] 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.
[0173] Figure 10 This is one of the structural schematic diagrams of a third device provided in the embodiments of this application, such as... Figure 10 As shown, the third device 30 includes a transceiver module 301 and a processing module 302.
[0174] 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.
[0175] 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.
[0176] 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.
[0177] 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.
[0178] 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.
[0179] 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.
[0180] In one possible implementation, refer to Figure 11 The third device also includes a star flash module 303 for transmitting star flash signals.
[0181] It should be understood that Figure 10 and Figure 11 The modules shown are merely examples. Each module can perform its operations or variations thereof by referring 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.
[0182] 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 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 specific limitations in this regard.
[0183] 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.
[0184] In addition, such as Figure 12 As shown, Figure 12 This is a schematic diagram of the structure of device 40 according to an embodiment of this application. Figure 12The illustrated 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 methods of 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, master device, or TV exemplified in the method, used to perform methods S201 and S202 in the above embodiments, or, or to perform S301 to S308.
[0185] 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.
[0186] In addition, this application embodiment also provides a device 50, see [link to relevant documentation]. Figure 13 As shown, Figure 13 This is a schematic diagram of the structure of a device 50 provided in an embodiment of this application. For example... Figure 13As shown, device 50 may include processor 501, memory 502 coupled to processor 501, and transceiver 503. Transceiver 503 may include MR, LR, communication interface, optical module, etc., for receiving messages or data information. Processor 501 may include a central processing unit (CPU), network processor (NP), or a combination of CPU and NP, for executing the wake-up signal processing steps 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. 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); memory 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, processor 501 may also store program code or instructions for executing the scheme of the embodiments of this application, in which case processor 501 does not need to read program code or instructions from memory 502.
[0187] 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.
[0188] 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.
[0189] 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.
[0190] 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.
[0191] 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.
[0192] 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.
[0193] 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.
[0194] 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.
[0195] 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.
[0196] 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.
[0197] 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... Figure 1 The scenario shown is not limited to this one.
[0198] 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.
[0199] 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.
[0200] 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.
[0201] 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.
[0202] 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.
[0203] 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.
[0204] 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.
[0205] 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.
[0206] 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.
[0207] 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 for power distribution networks, characterized in that, include: Obtain 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; If the distance between the first device and the second device is less than a first preset threshold, a first discovery message is sent to the third device. The first discovery message includes the distribution network information, indicating that the second device and the third device have established a connection.
2. The method according to claim 1, characterized in that, Before obtaining the distribution network information of the first device, the method further includes: Scan the second device's current network.
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 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.
4. The method according to claim 2, characterized in that, Upon receiving a switching message, the scan is terminated.
5. A method for power distribution networks, characterized in that, include: Receive a first discovery message sent by a 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 a third device; Based on the power distribution network information, a preset configuration library is queried, and if a match is found, a connection is established with the first device.
6. The method according to claim 5, characterized in that, The configuration library includes at least one of the following: Product categories that can be networked; or, Product name that can be networked; or, The corresponding number of the device that can be networked.
7. The method according to claim 5 or 6, characterized in that, The matching conditions include 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 number of the configurable network stored in the configuration library.
8. The method according to any one of claims 5 to 7, characterized in that, Also includes: In the event of a mismatch, a network distribution request message is sent, which is used to request whether to establish a connection with the first device; If a connection indication message is received, a connection is established with the first device.
9. The method according to any one of claims 5 to 8, characterized in that, Also includes: Listen for discovery messages sent by the second device, the discovery messages including the first discovery message.
10. The method according to any one of claims 5 to 9, characterized in that, Also includes: The first interface is displayed, which indicates that the third device has established a connection with the first device.
11. A communication device, characterized in that, The communication device includes a module for performing the method according to any one of claims 1 to 4.
12. The communication device according to claim 11, characterized in that, The communication device further includes: A star flash module used to transmit star flash signals.
13. A communication device, characterized in that, The communication device includes a module for performing the method according to any one of claims 5 to 10.
14. The communication device according to claim 13, characterized in that, The communication device further includes: A star flash module used to transmit star flash signals.
15. A communication device, characterized in that, The communication device includes a processor configured to perform the method of any one of claims 1 to 4, or configured to perform the method of any one of claims 5 to 10.
16. A communication device, characterized in that, include: The input / output interface and logic circuit are provided, wherein the input / output interface is used to acquire at least one of input information or output information; and the logic circuit is used to perform the method of any one of claims 1 to 4, or to perform the method of any one of claims 5 to 10.
17. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes instructions that, when executed, cause the method of any one of claims 1 to 4 to be implemented, or cause the method of any one of claims 5 to 10 to be implemented.
18. A computer program product, characterized in that, The computer program product includes instructions that, when executed, cause the method of any one of claims 1 to 4 to be implemented, or cause the method of any one of claims 5 to 10 to be implemented.