Network distribution method, device and system of intelligent equipment
Patent Information
- Application Number
- CN202411327605.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2024-12-20
Smart Images

Figure CN119172234A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of network configuration of smart devices, and in particular to a method, device and system for network configuration of smart devices. Background Art
[0002] From smart homes to smart cities, the application of intelligence is becoming more and more widespread. However, with the continuous increase of intelligent products, the demand for their display is becoming more and more urgent. Whether in sales stores, professional exhibition halls across the country, or at various exhibition sites, it is necessary to intuitively present the advantages and functions of intelligent products through display.
[0003] However, in actual operation, many store managers and display staff face huge challenges. Although they have a strong interest in intelligent products, they often lack professional experience in configuring distribution networks and scene linkage. As a result, during the display process, users cannot quickly experience the convenience and efficiency of intelligent products, thus affecting the promotion effect of the products.
[0004] For use scenarios such as stores, exhibitions, showrooms, and offices, there will be multiple configurable devices on site, but for some demonstration modes, only some products need to be configured, not all products. This is for scenarios where multiple configurable devices often exist at the same time during on-site demonstrations, but only some of them need to be configured.
[0005] For the above situations, existing solutions are often unable to quickly and effectively configure the network for smart devices in a targeted manner, especially in the existing network configuration process, which is prone to confusion and misoperation due to the large number of devices. Summary of the invention
[0006] The main purpose of the present application is to provide a network configuration method, device and system for smart devices, so as to at least solve the problems of confusion and misoperation easily caused by a large number of devices in the network configuration process of the existing solutions.
[0007] In order to achieve the above object, according to one aspect of the present application, a network configuration method for a smart device is provided, the method comprising:
[0008] Acquire smart device information and generate a smart device point map, wherein the smart device point map at least displays icons of each smart device, positions of the smart device icons correspond to positions of the smart devices, and the smart device information at least includes position information and a unique identifier of the smart device;
[0009] Acquire scene information, determine a target smart device based on the scene information, and mark the target smart device on the smart device point map, wherein the target smart device is a smart device to be networked, and the scene information at least includes a unique identifier of each smart device in the corresponding scene;
[0010] In response to the received network configuration instruction, network configuration is performed on all the target smart devices.
[0011] Optionally, based on the scene information, determining a target smart device and marking the target smart device on the smart device point map includes:
[0012] Determine whether the identifier of each smart device in the smart device point map matches the unique identifier in the scene information;
[0013] When the identifier of the smart device in the smart device point map matches the unique identifier in the scene information, the smart device is determined to be the target smart device, and the target smart device is marked on the smart device point map.
[0014] Optionally, the smart device information also includes a current distance and a signal distribution, the current distance including the distance between the target smart device and the user terminal and the distance between the target smart devices, and the signal distribution including the signal strength of each supported network configuration type between the target smart device and the user terminal and the signal strength of each supported network configuration type between the target smart devices.
[0015] Optionally, after determining a target smart device based on the scene information and marking the target smart device on the smart device point map, the method further includes:
[0016] Determine the alternative network configuration type of each of the target smart devices according to the smart device information, and determine the priority of the alternative network configuration type;
[0017] The final network configuration type of each target smart device is determined to be the highest priority candidate network configuration type among the priorities of the candidate network configuration types of each target smart device.
[0018] Optionally, the network configuration type supported by the target smart device includes at least one of the following: zero-based configuration, hotspot configuration, Bluetooth configuration, and routing configuration. The alternative network configuration type of each target smart device is determined according to the smart device information, including:
[0019] When the signal strength of the target network configuration type of the target smart device is greater than or equal to the corresponding signal strength threshold, and the current distance of the target smart device is less than the distance threshold, it is determined that the alternative network configuration type of the target smart device includes the target network configuration type, and the target network configuration type is one of the following: zero configuration, hotspot configuration, Bluetooth configuration and routing configuration.
[0020] Optionally, in response to the received network configuration instruction, performing network configuration on all the target smart devices includes:
[0021] In the case where the alternative network configuration types include only Bluetooth network configuration and hotspot network configuration, or the alternative network configuration types include only the Bluetooth network configuration, the hotspot network configuration and the routing network configuration, receiving a preset operation acting on the smart device point map, and generating the network configuration instruction;
[0022] When the network configuration instruction indicates that the user selects the Bluetooth network configuration method to configure the target smart device, the target smart device is configured with the Bluetooth network configuration method so that the user terminal communicates with the target smart device;
[0023] When the network configuration instruction indicates that the user selects the hotspot network configuration method to configure the target smart device, the hotspot network configuration method is used to configure the target smart device so that the user terminal communicates with the target smart device.
[0024] Optionally, configuring the network for all the target smart devices includes:
[0025] In the case where the alternative network configuration type includes zero configuration, configuring the target smart device in a zero configuration manner so that the user terminal communicates with the target smart device;
[0026] In the case that the candidate network configuration type only includes a routing network configuration, the target smart device is controlled to communicate with the user terminal via a routing device, so that the user terminal communicates with the target smart device.
[0027] Optionally, after configuring all the target smart devices, the method further includes:
[0028] According to the preset mode of the target smart device stored in the scene information, the preset mode is adopted to control the operation of the corresponding target smart device.
[0029] Optionally, the priority of the network configuration type is in the order of zero configuration, Bluetooth configuration, hotspot configuration, and routing configuration from high to low.
[0030] According to another aspect of the present application, a network distribution system for smart devices is provided, the system comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the methods described.
[0031] By applying the technical solution of the present application, by acquiring the information of smart devices and generating a smart device point map, it is convenient to subsequently determine the target smart devices based on the scene information, and mark the target smart devices on the smart device point map, so as to avoid confusion and misoperation. Finally, all the target smart devices are networked. Compared with the existing solution, the network configuration target is clearer and the network configuration is carried out more quickly. At the same time, there will be no confusion and misoperation, thus solving the problem of confusion and misoperation caused by the large number of devices in the network configuration process of the existing solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0033] Figure 1 A schematic diagram of a flow chart of a network configuration method for a smart device provided according to an embodiment of the present application is shown;
[0034] Figure 2 A schematic diagram of a process flow of another network configuration method for a smart device provided according to an embodiment of the present application is shown;
[0035] Figure 3 A structural block diagram of a network distribution device for smart devices provided according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0036] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0037] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0038] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0039] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:
[0040] Zero-configuration: Zero-configuration is a simple connection method that connects smart devices directly to mobile phones or other control devices without the need for additional network devices. This method is suitable for some simple smart devices, such as smart sockets, smart bulbs, etc.
[0041] Bluetooth network configuration: Bluetooth network configuration is a way of connecting through Bluetooth technology, where devices communicate directly through Bluetooth signals. This method is suitable for some smart devices that are close to each other, such as Bluetooth speakers, Bluetooth headphones, etc.
[0042] Hotspot network configuration: Hotspot network configuration is a way of connecting through hotspot technology. Smart devices connect to a hotspot network and then communicate with other devices through this network. This method is suitable for some smart devices that need to be connected to the network, such as smart cameras, smart door locks, etc.
[0043] Routing network configuration: Routing network configuration is a way of connecting through a router. Smart devices connect to the router's network and then communicate with other devices through this network. This method is suitable for most smart devices and can achieve remote control and interconnection between devices.
[0044] Point map is a graphical method used to represent geographic location or spatial relationship. It usually uses points or symbols to mark the location of a place or thing, which can help people understand the geographic location or spatial layout more intuitively. Point map is often used in map making, navigation system, urban planning and other fields to help people better understand and use spatial information.
[0045] As introduced in the background technology, in actual operation, many store managers and display staff face huge challenges. Although they have a strong interest in intelligent products, they often lack professional experience in configuration of network distribution and scene linkage. This results in that during the display process, users cannot quickly experience the convenience and efficiency of intelligent products, thus affecting the promotion effect of the products. In order to solve the problems of confusion and misoperation caused by the large number of devices in the network distribution process of the existing solution, the embodiments of the present application provide a network distribution method, device and system for intelligent devices.
[0046] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0047] In this embodiment, a network configuration method for a smart device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0048] Figure 1 1 is a flow chart of a network configuration method for a smart device provided according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0049] Step S101, obtaining smart device information and generating a smart device point map, wherein the smart device point map at least displays icons of various smart devices, and the positions of the icons of the smart devices correspond to the positions of the smart devices, and the smart device information at least includes the position information and a unique identifier of the smart devices;
[0050] Smart devices can be smart home devices, including user terminals, home appliances and gateways. Smart devices can also be refrigerators, air conditioners and desk lamps. Smart device information can also include recommended modes, which are related to the parameters of the smart device itself and will not be described in detail here. The smart device point map can also display the unique identifier of the smart device.
[0051] Step S102, acquiring scene information, determining a target smart device based on the scene information, and marking the target smart device on the smart device point map, wherein the target smart device is a smart device to be networked, and the scene information at least includes a unique identifier of each smart device in the corresponding scene;
[0052] Specifically, based on the above scenario information, non-target smart devices are filtered in the above smart device point map, and the above target smart devices are marked, wherein the above scenario information represents the unique identifier of the above smart device to be controlled and the supported network configuration type. The icon is marked, for example, by changing the color or adding other graphics, such as a rectangle or triangle, to the outside.
[0053] Based on the above-mentioned scene information, the target smart device is determined, and the above-mentioned target smart device is marked on the above-mentioned smart device point map, including: determining whether the identification of each of the above-mentioned smart devices in the above-mentioned smart device point map matches the above-mentioned unique identification in the above-mentioned scene information; when the identification of the above-mentioned smart device in the above-mentioned smart device point map matches the above-mentioned unique identification in the above-mentioned scene information, determining that the above-mentioned smart device is the above-mentioned target smart device, and marking the above-mentioned target smart device on the above-mentioned smart device point map.
[0054] When the identifier of the smart device in the smart device point map does not match the unique identifier in the scene information, it is determined that the smart device is a non-target smart device.
[0055] The above-mentioned scene information stores the unique identifier of the above-mentioned smart device to be controlled and the supported network configuration type. Then, according to the unique identifier of the above-mentioned smart device to be controlled, the smart device point map can filter out non-target smart devices, leaving only the target smart devices for highlighting, so that subsequent users can choose the desired network configuration type to configure the smart device according to the network configuration type options displayed on the smart device point map.
[0056] The above-mentioned smart device information also includes the current distance and signal distribution. The above-mentioned current distance includes the distance between the above-mentioned target smart device and the user terminal and the distance between the above-mentioned target smart devices. The above-mentioned signal distribution includes the signal strength of each supported distribution network type between the above-mentioned target smart device and the above-mentioned user terminal and the signal strength of each supported distribution network type between the above-mentioned target smart devices.
[0057] For example, the signal strength of each supported network configuration type between the user device and smart device A, and the signal strength of each supported network configuration type between smart device A and smart device B constitute the signal distribution;
[0058] For example, the distance between the user device and smart device A, and the distance between smart device A and smart device B constitute the current distance.
[0059] The smart device information may further include the number of partition walls, which is the number of walls between the target smart device and the user terminal and the number of walls between the target smart devices. After determining the target smart device based on the scene information and marking the target smart device on the smart device point map, the method may further include:
[0060] Determine the alternative network configuration type of each of the target smart devices according to the smart device information, and determine the priority of the alternative network configuration type;
[0061] The priority of the network configuration type is from high to low: zero configuration, Bluetooth configuration, hotspot configuration, and routing configuration. This order is used as a judgment rule to evaluate the priority of the alternative network configuration types.
[0062] The final network configuration type of each of the target smart devices is determined to be the highest priority of the candidate network configuration types of each of the target smart devices.
[0063] Specifically, inappropriate network configuration types can be filtered out according to the above-mentioned smart device information, and finally the candidate network configuration type with the highest priority is selected as the final network configuration type, thereby ensuring that the subsequent communication connection between the smart device and the user terminal is more stable.
[0064] In one embodiment of the present application, the network configuration type supported by the target smart device includes at least one of the following: zero configuration, hotspot configuration, Bluetooth configuration and routing configuration. The alternative network configuration type of each target smart device is determined according to the smart device information, including:
[0065] When the signal strength of the target network configuration type of the target smart device is greater than or equal to the corresponding signal strength threshold, the number of walls of the target smart device is less than the number of walls threshold, and the current distance of the target smart device is less than the distance threshold, it is determined that the alternative network configuration type of the target smart device includes the target network configuration type, and the target network configuration type is one of the following: zero configuration, hotspot configuration, Bluetooth configuration and routing configuration;
[0066] Specifically, it is necessary to determine which supported network types can be configured under the current conditions based on the three parameters of the target network type's signal strength, the number of partition walls, and the current distance. The signal strength threshold can be set differently according to different network types, which will not be described in detail here.
[0067] For example, the signal strength threshold is B, the number of walls threshold is 2, the distance threshold is 6m, the signal strength A of the target distribution network type of the target smart device is greater than or equal to B, and the number of walls of the target smart device is 1, and the distance between the target smart device and the user terminal is 5m. Then, the signal strength of the target distribution network type of the target smart device is greater than or equal to the corresponding signal strength threshold, the number of walls of the target smart device is less than the number of walls threshold, and the current distance of the target smart device is less than the distance threshold, indicating that the target distribution network type can be classified as an alternative distribution network type.
[0068] When the signal strength of the target network distribution type of the target smart device is less than the corresponding signal strength threshold, and / or the number of walls of the target smart device is greater than or equal to the number of walls threshold, and / or the current distance of the target smart device is greater than or equal to the distance threshold, it is determined that the alternative network distribution types of the target smart device do not include the target network distribution type.
[0069] Specifically, for example, the signal strength threshold is B, the threshold for the number of walls is 2, the distance threshold is 6m, the signal strength C of the target distribution network type of the target smart device is less than B, and the number of walls of the target smart device is 3, and the distance between the target smart device and the user terminal is 7m, then the signal strength of the target distribution network type of the target smart device is less than the corresponding signal strength threshold, and / or the number of walls of the target smart device is greater than or equal to the threshold for the number of walls, and / or the current distance of the target smart device is greater than or equal to the distance threshold, indicating that the target distribution network type cannot be classified as an alternative distribution network type, that is, the target distribution network type is filtered and not displayed on the smart device point map.
[0070] Step S103, in response to the received network configuration instruction, network configuration is performed on all the above-mentioned target smart devices.
[0071] In the above steps, by obtaining the smart device information and generating a smart device point map, it is convenient to subsequently determine the target smart device based on the scene information, and mark the target smart device on the smart device point map to avoid confusion and misoperation. Finally, all the above target smart devices are networked. Compared with the existing solution, the network configuration target is clearer and the network configuration is carried out more quickly. At the same time, there will be no confusion and misoperation, thereby solving the problem of confusion and misoperation caused by a large number of devices in the network configuration process of the existing solution.
[0072] In one embodiment of the present application, in response to the received network configuration instruction, all the above-mentioned target smart devices are configured with a network, including:
[0073] In the case where the above-mentioned alternative network configuration types only include Bluetooth network configuration and hotspot network configuration, or the above-mentioned alternative network configuration types include only the above-mentioned Bluetooth network configuration, the above-mentioned hotspot network configuration and routing network configuration, receiving a preset operation acting on the above-mentioned smart device point map, and generating the above-mentioned network configuration instruction;
[0074] In the case where the network configuration instruction indicates that the user selects the Bluetooth network configuration method to configure the target smart device, the target smart device is configured with the Bluetooth network configuration method so that the user terminal communicates with the target smart device;
[0075] When the network configuration instruction indicates that the user selects the hotspot network configuration method to configure the target smart device, the hotspot network configuration method is used to configure the target smart device so that the user terminal communicates with the target smart device.
[0076] Specifically, when the above-mentioned alternative network configuration types only include Bluetooth network configuration and hotspot network configuration, or the above-mentioned alternative network configuration types include only the above-mentioned Bluetooth network configuration, the above-mentioned hotspot network configuration and routing network configuration, an option box is displayed on the smart device point map, and there are two options on the option box. One option represents the selection of the above-mentioned Bluetooth network configuration method to configure the above-mentioned target smart device, and the other option represents the selection of the above-mentioned hotspot network configuration method to configure the above-mentioned target smart device. The user clicks on the corresponding option to enable the target smart device to be configured using Bluetooth network configuration or hotspot network configuration, which improves human-computer interactivity and is more convenient than existing solutions.
[0077] In one embodiment of the present application, network configuration is performed on all the above-mentioned target smart devices, including:
[0078] In the case where the alternative network configuration type includes zero configuration, the target smart device is configured with the zero configuration method so that the user terminal communicates with the target smart device;
[0079] In the case that the candidate network distribution type only includes a routing network distribution, the target smart device is controlled to communicate with the user terminal via a routing device, so that the user terminal communicates with the target smart device.
[0080] Specifically, when the above-mentioned alternative network configuration types include zero configuration, it is determined that the optimal network configuration method is to use zero configuration first, and the above-mentioned zero configuration method is used to configure the above-mentioned target smart device, so that the optimal network configuration method is used between the user terminal and the target smart device, thereby improving the stability of the network configuration.
[0081] When routing network distribution, routing devices are used to communicate with user terminals and target smart devices respectively.
[0082] In addition, after all the above target smart devices are configured with a network, the above method further includes:
[0083] According to the preset mode of the target smart device stored in the scene information, the preset mode is adopted to control the operation of the corresponding target smart device.
[0084] For example, if you want the air conditioner to run in cooling mode, the preset mode is cooling mode, and the cooling mode is used to control the corresponding air conditioner operation.
[0085] When the target scenario configuration indicates that the first smart device and the second smart device are turned on, and the third smart device is turned off, the first smart device and the second smart device are turned on, and the third smart device is turned off.
[0086] Specifically, when the target scene configuration represents turning on the first smart device and the second smart device, and turning off the third smart device, it is determined that the first smart device and the second smart device need to be turned on, and the third smart device needs to be turned off. Then, the first smart device and the second smart device are directly controlled to be turned on, and the third smart device is controlled to be turned off. Automatic scene matching: After the device network configuration is completed, the product will be automatically matched and configured according to the preset scene mode. This function can realize the rapid construction of intelligent scenes without the user having to perform tedious manual operations, and perfectly present the required intelligent effects.
[0087] In one embodiment of the present application, the priority of the network configuration type is from high to low in the order of zero configuration, Bluetooth configuration, hotspot configuration, and routing configuration.
[0088] That is to say, the priority of zero configuration is higher than that of Bluetooth configuration, the priority of Bluetooth configuration is higher than that of hotspot configuration, and the priority of hotspot configuration is higher than that of routing configuration.
[0089] Zero-pairing device and network compatibility requirements are high, not all devices support it, and hardware costs need to be increased; Bluetooth network configuration requires the device to have Bluetooth network configuration, which adds additional Bluetooth hardware costs; hotspot network configuration requires users to manually connect to the hotspot; routing network configuration requires connecting to a routing network before the smart device can communicate with other smart devices.
[0090] During the network configuration process, non-target devices are automatically filtered out based on the type (i.e. unique identifier) and signal strength of the smart device to ensure the efficiency and accuracy of the network configuration process. This function greatly reduces the time and energy wasted by users due to misselection of devices.
[0091] By storing the preset network configuration type of each smart device in a database or a point map, it is convenient to subsequently configure the target smart device with the target network configuration type. When the signal strength of the target network configuration type of the target smart device is less than the corresponding preset signal strength, the network configuration is deemed to have failed. If the user needs to be informed of the network configuration failure, network configuration failure information is generated to prompt the network configuration failure.
[0092] Determine the target scene configuration according to the unique identifier of the target smart device and the identifier-scene mapping relationship, wherein the identifier-scene mapping relationship is a mapping relationship between the unique identifier of the smart device and the preset scene configuration, and the preset scene configuration represents the control method of the smart device;
[0093] The position of the target smart device is located based on the smart device point map to obtain the target position, and the target scene configuration is adopted to control all the target smart devices at the target position.
[0094] Specifically, according to the pre-stored identification scene mapping relationship, it is convenient to subsequently find the preset scene configuration corresponding to the unique identifier of the target smart device from the identification scene mapping relationship according to the unique identifier of the target smart device, and finally adopt the above-mentioned target scene configuration to control the above-mentioned target smart device, thereby facilitating the arrangement of various scenes for the smart device, wherein it is necessary to locate the position of the above-mentioned target smart device based on the above-mentioned smart device point map to obtain the target position. For example, if it is confirmed that the target position includes smart device A and smart device B, the above-mentioned target scene configuration is adopted to control smart device A and smart device B.
[0095] Preliminary preparation: Technical support personnel / users enter the point map through the front-end operation interface and mark the location and type of equipment to be configured;
[0096] Preset the products that need to be configured and their related parameters;
[0097] Set the desired scene mode and specify the status or linkage method of each device in each scene.
[0098] Data entry and storage:
[0099] The front-end operation interface stores the point map, product configuration information and scene preset data entered by the user into the back-end database;
[0100] The database stores this information in categories to ensure data accuracy and accessibility.
[0101] On-site network configuration:
[0102] After the user arrives at the site, the network configuration process begins through the front-end operation interface;
[0103] The system guides users to the designated location for equipment network configuration based on the point map;
[0104] During the network distribution process, the networking module monitors the signal in real time, and the system automatically filters non-target devices based on the type of smart devices and signal strength;
[0105] The system uses optimized network distribution algorithms and protocols to ensure the efficiency and accuracy of the network distribution process.
[0106] Scene configuration:
[0107] After the equipment is networked, the system automatically matches and configures the products according to the preset scene information. The system applies the equipment status or linkage mode under the preset scene to the networked equipment. Users can quickly build intelligent scenes without manual operation.
[0108] Verification and adjustment:
[0109] Users can verify the built scenes through the front-end operation interface and on-site control devices to ensure that the equipment operates according to the preset status;
[0110] If adjustment is required, users can reset the scene parameters or modify the configuration information of the networked devices.
[0111] Subsequent maintenance:
[0112] The system supports remote monitoring and management functions, and users can view equipment status, operating data and other information in real time through the front-end operation interface;
[0113] If the equipment fails or needs to be updated, the system can automatically prompt the user to perform maintenance or upgrade operations.
[0114] The order of priority from high to low is zero configuration, Bluetooth configuration, hotspot configuration, and router configuration.
[0115] When the signals of each are greater than or equal to the corresponding threshold, the network configuration type with the highest priority among the signals greater than or equal to the corresponding threshold is selected according to the priority, thereby optimizing the network configuration process. During the network configuration process, if the first selected matching network configuration method fails to be successfully configured, the system will automatically switch to other network configuration methods based on the strength / priority of other network configuration methods. If it still cannot be processed, a solution video guidance will be pushed to guide the device to complete the network configuration.
[0116] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the network configuration method of the smart device of the present application will be described in detail below in combination with specific embodiments.
[0117] This embodiment relates to a specific network configuration method for smart devices, such as Figure 2 As shown, including:
[0118] Acquire smart device information and generate a smart device point map, where the smart device point map at least displays icons of each smart device, the position of the smart device icon corresponds to the position of the smart device, and the smart device information at least includes the location information and a unique identifier of the smart device;
[0119] Acquire scene information, determine whether the identifier of each smart device in the smart device point map matches the unique identifier in the scene information; if the identifier of the smart device in the smart device point map matches the unique identifier in the scene information, determine that the smart device is a target smart device, and mark the target smart device on the smart device point map, the target smart device is a smart device to be networked, and the scene information at least includes the unique identifier of each smart device in the corresponding scene;
[0120] Determine the alternative network type for each target smart device based on the smart device information;
[0121] Specifically, when the signal strength of the target network configuration type of the target smart device is greater than or equal to the corresponding signal strength threshold, and the current distance of the target smart device is less than the distance threshold, it is determined that the alternative network configuration type of the target smart device includes the target network configuration type, and the target network configuration type is one of the following: zero configuration, hotspot configuration, Bluetooth configuration, and routing configuration; when the signal strength of the target network configuration type of the target smart device is less than the corresponding signal strength threshold, and / or the current distance of the target smart device is greater than or equal to the distance threshold, it is determined that the alternative network configuration type of the target smart device does not include the target network configuration type;
[0122] Determine the final network configuration type of each target smart device as the highest priority alternative network configuration type among the priorities of the alternative network configuration types of each target smart device, wherein the device information includes the current distance, the signal strength of each supported network configuration type, and the number of walls, the current distance is the distance between the target smart device and the user terminal, and the number of walls is the number of walls between the target smart device and the user terminal; the supported network configuration types of the target smart device include at least one of the following: zero configuration, hotspot configuration, Bluetooth configuration, and routing configuration;
[0123] When the alternative network configuration type includes zero configuration, the target smart device is configured in a zero configuration manner so that the user terminal communicates with the target smart device;
[0124] In the case where the candidate network configuration type only includes a routing network configuration, controlling the target smart device to communicate with the user terminal via the routing device, so that the user terminal communicates with the target smart device;
[0125] Use the final network configuration type to configure the target smart device;
[0126] According to the preset mode of the target smart device stored in the scene information, the preset mode is adopted to control the operation of the corresponding target smart device.
[0127] By acquiring the information of smart devices and generating a smart device point map, it is convenient to subsequently determine the target smart devices based on the scene information, and mark the target smart devices on the smart device point map to avoid confusion and misoperation. Finally, all the above-mentioned target smart devices are networked. Compared with the existing solution, the network configuration target is clearer and the network configuration is carried out more quickly. At the same time, there will be no confusion and misoperation, thus solving the problem of confusion and misoperation caused by a large number of devices in the network configuration process of the existing solution.
[0128] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0129] The embodiment of the present application also provides a network distribution device for an intelligent device. It should be noted that the network distribution device for an intelligent device of the embodiment of the present application can be used to execute the network distribution method for an intelligent device provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0130] The following is an introduction to the network distribution device of the smart device provided in the embodiment of the present application.
[0131] Figure 3 1 is a structural block diagram of a network distribution device for smart devices provided according to an embodiment of the present application. Figure 3 As shown, the device comprises:
[0132] A first acquisition unit 31 is used to acquire smart device information and generate a smart device point map, wherein the smart device point map at least displays icons of various smart devices, and the positions of the icons of the smart devices correspond to the positions of the smart devices, and the smart device information at least includes the position information and a unique identifier of the smart devices;
[0133] The second acquisition unit 32 is used to acquire scene information, determine the target smart device based on the scene information, and mark the target smart device on the smart device point map, the target smart device is the smart device to be networked, and the scene information at least includes a unique identifier of each of the smart devices in the corresponding scene;
[0134] The first processing unit 33 is used to perform network configuration for all the above-mentioned target smart devices in response to the received network configuration instruction.
[0135] In the above-mentioned device, by acquiring the information of smart devices and generating a smart device point map, it is convenient to subsequently determine the target smart devices based on the scene information, and mark the target smart devices on the smart device point map to avoid confusion and misoperation. Finally, all the above-mentioned target smart devices are networked. Compared with the existing solution, the network configuration target is clearer and the network configuration is carried out more quickly. At the same time, there will be no confusion and misoperation, thereby solving the problem of confusion and misoperation caused by a large number of devices in the network configuration process of the existing solution.
[0136] In one embodiment of the present application, the second acquisition unit includes a first determination module and a second determination module.
[0137] Determine whether the identifier of each of the smart devices in the smart device point map matches the unique identifier in the scene information;
[0138] When the identifier of the smart device in the smart device point map matches the unique identifier in the scene information, the smart device is determined to be the target smart device, and the target smart device is marked on the smart device point map.
[0139] In one embodiment of the present application, the above-mentioned smart device information also includes the current distance and signal distribution, the above-mentioned current distance includes the distance between the above-mentioned target smart device and the user terminal and the distance between the above-mentioned target smart devices, and the above-mentioned signal distribution includes the signal strength of each supported network distribution type between the above-mentioned target smart device and the above-mentioned user terminal and the signal strength of each supported network distribution type between the above-mentioned target smart devices.
[0140] In one embodiment of the present application, the apparatus further includes a first determining unit and a second determining unit, which determine the target smart device based on the scene information and mark the target smart device on the smart device point map.
[0141] The first determining unit is used to determine the candidate network configuration type of each of the target smart devices according to the smart device information, and determine the priority of the candidate network configuration type;
[0142] The second determining unit is used to determine that the final network configuration type of each of the target smart devices is the highest priority candidate network configuration type among the priorities of the candidate network configuration types of each of the target smart devices.
[0143] In one embodiment of the present application, the network configuration type supported by the target smart device includes at least one of the following: zero configuration, hotspot configuration, Bluetooth configuration and routing configuration, and the first determination unit includes a first determination module and a second determination module.
[0144] The first determination module is used to determine that the alternative network configuration type of the target smart device includes the target network configuration type when the signal strength of the target network configuration type of the target smart device is greater than or equal to the corresponding signal strength threshold and the current distance of the target smart device is less than the distance threshold, and the target network configuration type is one of the following: zero configuration, hotspot configuration, Bluetooth configuration and routing configuration;
[0145] The second determination module is used to determine that the above-mentioned alternative network configuration types of the above-mentioned target smart device do not include the above-mentioned target network configuration type when the above-mentioned signal strength of the above-mentioned target smart device is less than the corresponding above-mentioned signal strength threshold, and / or the above-mentioned current distance of the above-mentioned target smart device is greater than or equal to the above-mentioned distance threshold.
[0146] In one embodiment of the present application, the first processing unit includes a generation module, a first processing module and a second processing module.
[0147] The generation module is used to receive the preset operation acting on the above-mentioned smart device point map and generate the above-mentioned network configuration instruction when the above-mentioned alternative network configuration types only include Bluetooth network configuration and hotspot network configuration, or the above-mentioned alternative network configuration types include only the above-mentioned Bluetooth network configuration, the above-mentioned hotspot network configuration and routing network configuration;
[0148] The first processing module is used for, when the network configuration instruction indicates that the user selects the Bluetooth network configuration method to configure the target smart device, using the Bluetooth network configuration method to configure the target smart device, so that the user terminal communicates with the target smart device;
[0149] The second processing module is used to configure the target smart device using the hotspot network configuration method when the network configuration instruction indicates that the user selects the hotspot network configuration method to configure the target smart device, so as to enable communication between the user terminal and the target smart device.
[0150] In one embodiment of the present application, the first processing unit includes a third processing module and a fourth processing module.
[0151] The third processing module is used for, when the above-mentioned alternative network configuration type includes zero configuration, configuring the above-mentioned target smart device in the above-mentioned zero configuration manner, so that the above-mentioned user terminal communicates with the above-mentioned target smart device;
[0152] The fourth processing module is used for controlling the target smart device to communicate with the user terminal via the routing device when the alternative network distribution type only includes the routing network distribution, so that the user terminal communicates with the target smart device.
[0153] In one embodiment of the present application, the above-mentioned device also includes a second processing unit. After all the above-mentioned target smart devices are networked, the second processing unit is used to control the operation of the corresponding above-mentioned target smart device using the above-mentioned preset mode according to the preset mode of the above-mentioned target smart device stored in the scene information.
[0154] In one embodiment of the present application, the priority of the network configuration type is from high to low in the order of zero configuration, Bluetooth configuration, hotspot configuration, and routing configuration.
[0155] The network distribution device of the above-mentioned smart device includes a processor and a memory. The above-mentioned first acquisition unit, the second acquisition unit and the first processing unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions. The above-mentioned modules are all located in the same processor; or, the above-mentioned modules are located in different processors in any combination.
[0156] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the confusion and misoperation problems caused by the large number of devices in the existing network configuration process.
[0157] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0158] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the network configuration method for the smart device.
[0159] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the network configuration method of the smart device is executed when the program is run.
[0160] The embodiment of the present invention provides a device, the device includes a processor, a memory and a program stored in the memory and can be run on the processor, and when the processor executes the program, at least the following steps are implemented: obtaining smart device information, generating a smart device point map, the smart device point map at least displays icons of each smart device, the position of the icon of the smart device corresponds to the position of the smart device, and the smart device information at least includes the location information and unique identifier of the smart device; obtaining scene information, determining the target smart device based on the scene information, and marking the target smart device on the smart device point map, the target smart device is the smart device to be networked, and the scene information at least includes the unique identifier of each smart device in the corresponding scene; in response to the received network configuration instruction, all the target smart devices are networked. The device in this article can be a server, PC, PAD, mobile phone, etc.
[0161] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes at least the following method steps: obtaining smart device information and generating a smart device point map, the smart device point map at least displays an icon of each smart device, the position of the icon of the smart device corresponds to the position of the smart device, and the smart device information at least includes the location information and a unique identifier of the smart device; obtaining scene information, determining a target smart device based on the scene information, and marking the target smart device on the smart device point map, the target smart device is a smart device to be networked, and the scene information at least includes the unique identifier of each of the smart devices in the corresponding scene; and in response to a received network configuration instruction, configuring all of the target smart devices.
[0162] The present application also provides a network distribution system for smart devices, which includes: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any of the above methods. By acquiring the information of smart devices and generating a point map of smart devices, it is convenient to determine the target smart devices based on the scene information, and mark the target smart devices on the point map of smart devices, so as to avoid confusion and misoperation. Finally, all the above target smart devices are networked. Compared with the existing solution, the network distribution target is clearer and the network distribution is carried out more quickly. At the same time, there will be no confusion and misoperation, thereby solving the problem of confusion and misoperation caused by a large number of devices in the network distribution process of the existing solution.
[0163] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0164] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0165] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0166] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0167] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0168] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0169] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0170] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0171] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0172] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0173] 1) The network configuration method of the smart device of the present application obtains the information of the smart device and generates a smart device point map, so as to facilitate the subsequent determination of the target smart device based on the scene information, and mark the target smart device on the smart device point map, so as to avoid confusion and misoperation. Finally, all the above-mentioned target smart devices are configured. Compared with the existing scheme, the network configuration target is clearer and the network configuration is carried out more quickly. At the same time, there will be no confusion and misoperation, thereby solving the problem of confusion and misoperation caused by a large number of devices in the network configuration process of the existing scheme.
[0174] 2) The network distribution device of the smart device of the present application obtains the information of the smart device and generates a smart device point map, so as to facilitate the subsequent determination of the target smart device based on the scene information, and mark the target smart device on the smart device point map, so as to avoid confusion and misoperation. Finally, all the above-mentioned target smart devices are networked. Compared with the existing scheme, the network distribution target is clearer and the network distribution is carried out more quickly. At the same time, there will be no confusion and misoperation, thereby solving the problem of confusion and misoperation caused by a large number of devices in the network distribution process of the existing scheme.
[0175] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A network configuration method for smart devices, characterized in that: include: Acquire smart device information and generate a smart device point map, wherein the smart device point map at least displays icons of each smart device, positions of the smart device icons correspond to positions of the smart devices, and the smart device information at least includes position information and a unique identifier of the smart device; Acquire scene information, determine a target smart device based on the scene information, and mark the target smart device on the smart device point map, wherein the target smart device is a smart device to be networked, and the scene information at least includes a unique identifier of each smart device in the corresponding scene; In response to the received network configuration instruction, network configuration is performed on all the target smart devices.
2. The method according to claim 1, characterized in that: Based on the scene information, determining a target smart device and marking the target smart device on the smart device point map includes: Determine whether the identifier of each smart device in the smart device point map matches the unique identifier in the scene information; When the identifier of the smart device in the smart device point map matches the unique identifier in the scene information, the smart device is determined to be the target smart device, and the target smart device is marked on the smart device point map.
3. The method according to claim 1, characterized in that: The smart device information also includes a current distance and a signal distribution. The current distance includes the distance between the target smart device and the user terminal and the distance between the target smart devices. The signal distribution includes the signal strength of each supported network configuration type between the target smart device and the user terminal and the signal strength of each supported network configuration type between the target smart devices.
4. The method according to claim 3, characterized in that After determining the target smart device based on the scene information and marking the target smart device on the smart device point map, the method further includes: Determine the alternative network configuration type of each of the target smart devices according to the smart device information, and determine the priority of the alternative network configuration type; The final network configuration type of each target smart device is determined to be the highest priority candidate network configuration type among the priorities of the candidate network configuration types of each target smart device.
5. The method according to claim 4, characterized in that The network configuration type supported by the target smart device includes at least one of the following: zero-network configuration, hotspot network configuration, Bluetooth network configuration, and routing network configuration. The alternative network configuration type of each target smart device is determined according to the smart device information, including: When the signal strength of the target network configuration type of the target smart device is greater than or equal to the corresponding signal strength threshold, and the current distance of the target smart device is less than the distance threshold, it is determined that the alternative network configuration type of the target smart device includes the target network configuration type, and the target network configuration type is one of the following: zero configuration, hotspot configuration, Bluetooth configuration and routing configuration.
6. The method according to claim 4, characterized in that In response to the received network configuration instruction, all the target smart devices are configured with a network, including: In the case where the alternative network configuration types include only Bluetooth network configuration and hotspot network configuration, or the alternative network configuration types include only the Bluetooth network configuration, the hotspot network configuration and the routing network configuration, receiving a preset operation acting on the smart device point map, and generating the network configuration instruction; When the network configuration instruction indicates that the user selects the Bluetooth network configuration method to configure the target smart device, the target smart device is configured with the Bluetooth network configuration method so that the user terminal communicates with the target smart device; When the network configuration instruction indicates that the user selects the hotspot network configuration method to configure the target smart device, the hotspot network configuration method is used to configure the target smart device so that the user terminal communicates with the target smart device.
7. The method according to claim 4, characterized in that Perform network configuration for all the target smart devices, including: In the case where the alternative network configuration type includes zero configuration, configuring the target smart device in a zero configuration manner so that the user terminal communicates with the target smart device; In the case that the candidate network configuration type only includes a routing network configuration, the target smart device is controlled to communicate with the user terminal via a routing device, so that the user terminal communicates with the target smart device.
8. The method according to claim 1, characterized in that After all the target smart devices are configured with a network, the method further includes: According to the preset mode of the target smart device stored in the scene information, the preset mode is adopted to control the operation of the corresponding target smart device.
9. The method according to any one of claims 1 to 8, characterized in that The priority of network configuration types is from high to low: zero configuration, Bluetooth configuration, hotspot configuration, and router configuration.
10. A network distribution system for smart devices, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 9.
