Equipment access method, device and system, storage medium and electronic equipment

By receiving and parsing the management frames of the wireless access point AP group at the management terminal and selecting the appropriate AP for access according to the target device identification, the problem of low success rate of home equipment access is solved, and efficient and secure device access and management is achieved.

CN119697732AActive Publication Date: 2025-03-25GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 21 Cites 0 Cited by

Patent Information

Application Number
CN202411821735.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-03-25
Estimated Expiration
2044-12-11

AI Technical Summary

Technical Problem

In the prior art, the success rate of home appliances is low, the connection process is cumbersome, the security is insufficient, and it is impossible to connect and manage smart home appliances efficiently and securely.

Method used

After sending the target device identification of the home device to the wireless access point AP group by sending the target device identification of the wireless access point AP group by the management terminal, the management frames in the AP group are received and accessed to the first AP among the multiple APs based on these frames and the target device identification. The method includes selecting a management frame with the greatest signal strength, analyzing the AP identifier and the device identifier, judging the device identifier matching, and controlling the home device to access the corresponding AP.

Benefits of technology

It improves the access efficiency and network access success rate of home equipment, simplifies user operations, and enhances the security and network stability of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697732A_ABST
    Figure CN119697732A_ABST
Patent Text Reader

Abstract

The invention provides an equipment access method, device and system, a storage medium and electronic equipment, and the method comprises the steps: receiving a plurality of management frames broadcasted correspondingly by a plurality of APs in a wireless AP group after a management terminal sends a target equipment identifier of home equipment to the AP group, the AP group comprising a plurality of APs; and accessing to a first AP in the plurality of APs based on the plurality of management frames and the target device identifier. The technical problem of low network access success rate of the home equipment in the prior art is solved, and the network access efficiency and the access speed of the home equipment are improved at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of home appliances, and in particular to a method and apparatus for accessing an appliance, a system, a storage medium, and an electronic device. Background Art

[0002] In related technologies, with the popularization of smart home devices, how to efficiently and securely connect and manage these devices has become an important issue.

[0003] There are many shortcomings in the connection method in the related technology. For example, it can only initiate a network access request to a single AP, the user needs to manually operate the home device when accessing the network (such as long pressing the network access button), the device identification is not unique, the connection process is cumbersome, the device is disconnected after a single AP fails, and the security is insufficient.

[0004] With respect to the above-mentioned problems existing in the related technologies, no efficient and accurate solutions have been found yet. Summary of the invention

[0005] The present invention provides a device access method and apparatus, a system, a storage medium, and an electronic device to solve the technical problems in related technologies.

[0006] According to one embodiment of the present invention, a device access method is provided, which is applied to home devices, including: after a management terminal sends a target device identifier of the home device to a wireless access point AP group, receiving a number of management frames broadcast corresponding to a number of APs in the AP group, wherein the AP group includes a plurality of APs; and accessing a first AP among the several APs based on the several management frames and the target device identifier.

[0007] Optionally, accessing a first AP among the several APs based on the several management frames and the target device identifier includes: selecting a first management frame among the several management frames; parsing the AP identifier and the first device identifier carried in the first management frame; determining whether the first device identifier matches the local target device identifier of the home device; if the first device identifier matches the local target device identifier of the home device, controlling the home device to access the first AP corresponding to the AP identifier.

[0008] Optionally, controlling the home appliance to access the first AP corresponding to the AP identifier includes: initiating a first connection request to the first AP corresponding to the AP identifier, wherein the first connection request carries the target device identifier and the target authentication identifier of the home appliance; receiving a first connection confirmation message returned by the first AP, wherein the first connection confirmation message is generated by the first AP after confirming that the home appliance has passed verification, the first AP is connected to an authentication server network, and the authentication server is used to verify the home appliance according to the target device identifier and the target authentication identifier; in response to the first connection confirmation message, controlling the home appliance to access the first AP.

[0009] Optionally, selecting the first management frame from the plurality of management frames includes: acquiring signal strengths of the plurality of management frames; and selecting a management frame with the largest signal strength as the first management frame.

[0010] Optionally, after accessing the first AP among the several APs based on the several management frames and the target device identifier, the method also includes: receiving an AP identifier list of the AP group sent by a management terminal of the home device; storing the AP identifier list in a local WIFI list of the home device; and after the home device is disconnected from the first AP, controlling the home device to access a second AP in the local WIFI list.

[0011] Optionally, controlling the home device to access the second AP in the local WIFI list includes: sending a second connection request to the AP group in the local WIFI list; receiving a second connection confirmation message returned by the second AP in the AP group; and responding to the second connection confirmation message, controlling the home device to access the second AP.

[0012] According to one embodiment of the present invention, a device access method is provided, which is applied to a management terminal, and includes: obtaining a target device identifier and a target authentication identifier of a home device; sending the target device identifier to a local wireless access point AP group of the management terminal, and sending the target device identifier and the target authentication identifier to an authentication server, so that the home device can access the first AP in the AP group, wherein the AP group includes multiple APs, and the authentication server is connected to the AP group and the management terminal network, and is used to verify the home device according to the target device identifier and the target authentication identifier.

[0013] Optionally, the method further includes: receiving an AP sharing request sent by other terminals, wherein the AP sharing request carries other AP groups locally stored by the other terminals; and adding APs in the other AP groups to the local AP group of the management terminal.

[0014] According to another embodiment of the present invention, there is provided an access device for a device, which is applied to a home device, and includes: a first receiving module, which is used to receive a number of management frames broadcasted by a number of APs in the AP group after a management terminal sends a target device identifier of the home device to a wireless access point AP group, wherein the AP group includes a plurality of APs; and an access module, which is used to access a first AP among the number of APs based on the number of management frames and the target device identifier.

[0015] Optionally, the access module includes: a selection unit, used to select a first management frame from the several management frames; a parsing unit, used to parse the AP identifier and the first device identifier carried in the first management frame; a judgment unit, used to judge whether the first device identifier matches the local target device identifier of the home device; and a control unit, used to control the home device to access the first AP corresponding to the AP identifier if the first device identifier matches the local target device identifier of the home device.

[0016] Optionally, the control unit includes: an initiating subunit, configured to initiate a first connection request to a first AP corresponding to the AP identifier, wherein the first connection request carries a target device identifier and a target authentication identifier of the home device;

[0017] A receiving subunit is used to receive a first connection confirmation message returned by the first AP, wherein the first connection confirmation message is generated by the first AP after confirming that the home device has passed verification, the first AP is connected to an authentication server network, and the authentication server is used to verify the home device according to the target device identifier and the target authentication identifier; a control subunit is used to respond to the first connection confirmation message and control the home device to access the first AP.

[0018] Optionally, the selection unit includes: an acquisition subunit, used to acquire signal strengths of the plurality of management frames; and a selection subunit, used to select a management frame with the largest signal strength as the first management frame.

[0019] Optionally, the device also includes: a second receiving module, used to receive an AP identification list of the AP group sent by the management terminal of the home appliance after the access module accesses the first AP among the several APs based on the several management frames and the target device identifier; a storage module, used to store the AP identification list in the local WIFI list of the home appliance; and a control module, used to control the home appliance to access the second AP in the local WIFI list after the home appliance is disconnected from the first AP.

[0020] Optionally, the control module includes: a sending subunit, used to send a second connection request to the AP group in the local WIFI list; a receiving subunit, used to receive a second connection confirmation message returned by the second AP in the AP group; and a control subunit, used to respond to the second connection confirmation message and control the home device to access the second AP.

[0021] According to another embodiment of the present invention, there is provided an access device for a device, which is applied to a management terminal and includes: an acquisition module, used to acquire a target device identifier and a target authentication identifier of a household device; a sending module, used to send the target device identifier to a local wireless access point AP group of the management terminal, and to send the target device identifier and the target authentication identifier to an authentication server, so that the household device can access the first AP in the AP group, wherein the AP group includes multiple APs, and the authentication server is connected to the AP group and the management terminal network, and is used to verify the household device according to the target device identifier and the target authentication identifier.

[0022] Optionally, the device also includes: a receiving module for receiving AP sharing requests sent by other terminals, wherein the AP sharing requests carry other AP groups locally stored by the other terminals; and an adding module for adding APs in the other AP groups to the local AP group of the management terminal.

[0023] According to another embodiment of the present invention, a device access system is provided, the system comprising: a home appliance, a management terminal, a wireless access point AP group, and an authentication server, wherein the home appliance comprises the device described in the above embodiment; the management terminal comprises the device described in the above embodiment; the AP group comprises a plurality of APs for receiving a target device identifier of the home appliance sent by the management terminal, and allowing access to the home appliance based on the target device identifier; the authentication server is network-connected to the management terminal and the AP group, and is configured to receive a target device identifier and a target authentication identifier of the home appliance sent by the management terminal and the first AP in the AP group, and to verify the home appliance based on the target device identifier and the target authentication identifier.

[0024] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above steps are executed when the program is run.

[0025] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the program stored in the memory.

[0026] According to yet another embodiment of the present invention, a storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned device embodiments when running.

[0027] Through the embodiments of the present invention, after the management terminal sends the target device identifier of the home appliance to the wireless access point AP group, it receives several management frames broadcasted by several APs in the AP group, wherein the AP group includes multiple APs; based on the several management frames and the target device identifier, it accesses to the first AP among the several APs, and by receiving several management frames broadcasted by several APs in the AP group and selecting to access any first AP therein, the access efficiency and network access success rate of the home appliance are improved, and the user does not need to perform any operation on the home appliance, which solves the technical problem of low network access success rate of home appliances in related technologies, and at the same time improves the network access efficiency and access speed of the home appliance. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0029] Figure 1 is a hardware structure block diagram of a household appliance according to an embodiment of the present invention;

[0030] Figure 2 is a flow chart of a method for accessing a device according to an embodiment of the present invention;

[0031] Figure 3 is a flow chart of another device access method according to an embodiment of the present invention;

[0032] Figure 4 is a flow chart of the first successful networking of a smart home device in an embodiment of the present invention;

[0033] Figure 5 is a structural block diagram of an access device of a device according to an embodiment of the present invention;

[0034] Figure 6 is a structural block diagram of an access device of another device according to an embodiment of the present invention;

[0035] Figure 7 It is a schematic diagram of an access system of a device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the present application, the technical solutions 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 the field without creative work should fall within the scope of protection of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0037] 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 sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, 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.

[0038] Example 1

[0039] The method embodiment provided in the first embodiment of the present application can be executed in household appliances (such as air conditioners, refrigerators, washing machines), mobile phones, servers or similar equipment management devices. Taking the operation on household appliances as an example, Figure 1 1 is a hardware structure diagram of a household appliance according to an embodiment of the present invention. Figure 1 As shown, the home equipment may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the above-mentioned home appliance may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the above household equipment. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0040] The memory 104 can be used to store home appliance programs, for example, software programs and modules of application software, such as a home appliance program corresponding to a method for accessing a device in an embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the home appliance program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the home appliance via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0041] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the home appliance. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0042] In this embodiment, a device access method is provided, which is applied to home devices. Figure 2 is a flow chart of a method for accessing a device according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0043] Step S202, after the management terminal sends the target device identifier of the home device to the wireless access point AP group, receiving a plurality of management frames broadcasted by a plurality of APs in the AP group, wherein the AP group includes a plurality of APs;

[0044] Optionally, the home appliance may be an air conditioner, a refrigerator, a washing machine, a television, or other smart home appliance that can be connected to a wireless access point (AP).

[0045] The AP group of this embodiment includes multiple APs, such as multiple routers in a place, multiple APs in the WIFI list of the management terminal of the home device (such as the user's mobile phone), etc. The same user account can manage multiple WIFI APs, and these WIFI APs form a GAP (Group AP) set. Multiple GAP sets can be combined into a larger GAP set through authorization between users.

[0046] The household device of this embodiment is bound to the target device identifier and the target authentication identifier at the same time, and the target device identifier and the target authentication identifier are correlated and one-to-one corresponding.

[0047] Optionally, the management frame may be a Beacon frame, carrying identification information of a corresponding AP, and used to indicate the existence of the AP.

[0048] Step S204: accessing a first AP among the plurality of APs based on the plurality of management frames and the target device identifiers.

[0049] Optionally, the first AP may be any AP in the AP group.

[0050] Through the above steps, after the management terminal sends the target device identifier of the home appliance to the wireless access point AP group, it receives several management frames broadcasted by several APs in the AP group, wherein the AP group includes multiple APs; based on the several management frames and the target device identifier, it accesses the first AP among the several APs, and by receiving several management frames broadcasted by several APs in the AP group and selecting to access any first AP therein, the access efficiency and network access success rate of the home appliance are improved, and the user does not need to perform any operation on the home appliance, which solves the technical problem of low network access success rate of home appliances in related technologies, and at the same time improves the network access efficiency and access speed of the home appliance.

[0051] In one implementation of the present embodiment, accessing a first AP among the several APs based on the several management frames and the target device identifier includes: selecting a first management frame among the several management frames; parsing the AP identifier and the first device identifier carried in the first management frame; determining whether the first device identifier matches the local target device identifier of the home device; if the first device identifier matches the local target device identifier of the home device, controlling the home device to access the first AP corresponding to the AP identifier.

[0052] After receiving the Beacon frame (management frame), the home device will read the devID in it and compare it with its own devID.

[0053] In the AP identifier and the first device identifier carried by the first management frame, the AP identifier is SSID (Service Set Identifier), each WIFIAP corresponds to an SSID, and the first device identifier is the backup identifier of any home device to be connected to the AP received by the AP. The management device obtains the devID (device identifier) ​​and authID (authentication identifier) ​​of any home device to be connected by scanning the home device to be connected, and sends the devID to all APs in the managed AP group, and sends the devID and authID to the authentication server. After receiving the devID, the AP broadcasts the management frame carrying the SSID and the devID. After receiving the management frame, the home device parses the AP identifier and the first device identifier carried therein, and determines whether the first device identifier is the same as its local target device identifier. If they are the same, it indicates that the home device received by the AP to be connected is this device, and it can request to access the AP.

[0054] By adopting the solution of this embodiment, before a home device accesses an AP in an AP group, it is possible to parse the management frame broadcast by the AP to determine whether the first device identifier carried in the management frame and the local target device identifier of the home device match, thereby screening out APs that are capable and willing to access the home device, thereby improving the accuracy and efficiency of home device access to the AP.

[0055] In one example, controlling the home appliance to access the first AP corresponding to the AP identifier includes: initiating a first connection request to the first AP corresponding to the AP identifier, wherein the first connection request carries the target device identifier and the target authentication identifier of the home appliance; receiving a first connection confirmation message returned by the first AP, wherein the first connection confirmation message is generated by the first AP after confirming that the home appliance has passed verification, the first AP is network-connected to an authentication server, and the authentication server is used to verify the home appliance based on the target device identifier and the target authentication identifier; in response to the first connection confirmation message, controlling the home appliance to access the first AP.

[0056] When a home device attempts to connect to a WIFI AP, it initiates a first connection request to the WIFI AP (such as the first AP) corresponding to the broadcasted AP identifier. After receiving the first connection request, the WIFI AP reads devID and authID from the request frame of the connection request and sends them to the authentication server for verification. After the verification is successful, the authentication server notifies the WIFI AP, and the WIFI AP allows the device to access the network; if the verification fails, access is denied.

[0057] In this embodiment, the authentication server verifies based on the device identifier and the authentication identifier. Each home appliance is configured with both the device identifier and the authentication identifier when it leaves the factory. When the user initiates the home appliance access through the management terminal, the user first scans the home appliance, such as scanning the QR code on the device, the device manual, etc., to obtain the target device identifier and the target authentication identifier of the home appliance. The management terminal sends the target device identifier and the target authentication identifier (the first devID and the first authID) to the authentication server. When the home appliance subsequently requests to connect to the first AP, it sends a packet carrying the target device identifier and the target authentication identifier to the first AP. After receiving the first connection request received by the first AP, the first AP also transmits the target device identifier and the target authentication identifier (the second devID and the second authID) carried in the first connection request to the authentication server. The authentication server compares the identifier pairs transmitted by the management terminal and the first AP respectively, and determines whether the first devID is the same as the second devID, and whether the first authID associated with the first devID is the same as the second authID associated with the second devID. If the first devID is the same as the second devID, and the first authID associated with the first devID is the same as the second authID associated with the second devID, the verification passes.

[0058] In one example, after receiving the target device identifier and target authentication identifier (first devID and first authID) of the home appliance sent by the management terminal, the authentication server also determines whether the first devID matches the first authID. If they match, the home appliance is confirmed to be a legal device. If they do not match, the home appliance is confirmed to be an abnormal device, and the abnormal device is directly not authenticated. Optionally, the target authentication identifier of the home appliance can be read from the attribute information of the core component of the home appliance, and it is set on the body QR code of the home appliance when it leaves the factory, such as configuring the number of the main control board or processor of the home appliance as the target authentication identifier, thereby preventing the home appliance from being maliciously modified or forged (the modification of the core component will cause the number to be inconsistent with the body number), thereby improving the security of the home appliance.

[0059] Using the solution of this example, when the home device requests to access the first AP, it carries the target device identifier and the target authentication identifier. The first AP and the authentication server perform authentication by using the target device identifier and the target authentication identifier of the home device, thereby improving the security of the home device.

[0060] In an example, selecting the first management frame from the plurality of management frames includes: acquiring signal strengths of the plurality of management frames; and selecting a management frame with the largest signal strength as the first management frame.

[0061] When multiple APs in the AP group can access the home device, the home device can select the best AP to access, such as selecting a designated AP with the largest signal strength as the AP to be accessed.

[0062] In another example, selecting the first management frame from the plurality of management frames includes: parsing AP priorities of the plurality of management frames, and selecting a management frame with the highest AP priority as the first management frame. The AP priority is related to the installation location, bandwidth, and signal strength of the AP.

[0063] In another example, selecting the first management frame from the plurality of management frames includes: determining a network hierarchy tree of a plurality of APs corresponding to the plurality of management frames, selecting a designated AP corresponding to a root node in the network hierarchy tree (the root node is a network node directly connected to a network operator bus), and selecting the management frame of the designated AP as the first management frame. Since in places such as homes, usually only one total optical fiber or network cable is introduced as the root node of the network hierarchy tree, and the network cables further divided based on the total optical fiber or network cable are leaf nodes (such as a leaf node configured in each room for whole-house WIFI), the network bandwidth of the leaf node AP is lower than that of the root node AP, and the leaf node AP is more likely to be removed, so selecting the root node AP can ensure the quality and stability of the network.

[0064] By adopting the solution of this example, the AP with the largest signal strength is selected as the AP to be accessed in the AP group, avoiding the repeated hopping of the device between multiple APs, avoiding the unstable signal caused by the connection of home devices to APs with poor signals, and improving the stability of the network between home devices and APs.

[0065] In an implementation scenario of this embodiment, after accessing the first AP among the several APs based on the several management frames and the target device identifier, it also includes: receiving an AP identifier list of the AP group sent by the management terminal of the home device; storing the AP identifier list in the local WIFI list of the home device; and after the home device is disconnected from the first AP, controlling the home device to access the second AP in the local WIFI list.

[0066] When the home device is successfully connected, the user can choose to send the SSID of the AP in all GAPs under the account to the home device and save it in the WIFI list of the smart home device. After the smart home device disconnects from the first AP, it can scan the APs in the local WIFI list to find a matching SSID and quickly initiate a connection request.

[0067] By adopting the solution of this implementation scenario, the management terminal sends the AP identification list of the AP group to the home device for storage. The user does not need to initiate the access process through the management terminal again in the future, which improves the access speed of the home device after disconnection and simplifies the process of multiple access of the home device to the AP.

[0068] In one example, controlling the home device to access the second AP in the local WIFI list includes: sending a second connection request to the AP group in the local WIFI list; receiving a second connection confirmation message returned by the second AP in the AP group; and responding to the second connection confirmation message, controlling the home device to access the second AP.

[0069] Optionally, after the home appliance successfully accesses the first AP in the AP group, the authentication server configures a verification-free tag for the home appliance, binds it to its target device identifier, and sends it to the AP group. When the home appliance subsequently requests to access any AP in the AP group (such as the second AP), the second AP parses the verification-free tag of the home appliance, deems that the home appliance has been authenticated before, and directly allows access. Since the AP in the local WIFI list is transmitted by the management terminal and is a legitimate AP configured by the user, and the target device identifier and target authentication identifier of the home appliance are also verified and passed during the first access, the access authentication operation can be simplified when both the AP in the WIFI list and the home appliance are safe. Therefore, when the home appliance disconnects and then requests to access the second AP in the WIFI list, the second AP does not need to verify it again, thereby increasing the access speed.

[0070] After the home device is disconnected, it can scan the APs in the local WIFI list to find a matching SSID and quickly initiate a connection request. When the smart home device is disconnected, it will automatically scan the surrounding WIFI APs in the local WIFI list and try to connect to the APs in the WIFI list. If the connection fails, the smart home device will try to connect to other available WIFI APs to ensure the network connectivity of the device.

[0071] By adopting the solution of this example, the home appliance automatically sends a second connection request to the AP group in the local WIFI list after being disconnected from the network and reconnects to the second AP in the AP group, thereby improving the network stability and connectivity of the home appliance.

[0072] In this embodiment, a device access method is provided, which is applied to a management terminal. Figure 3 is a flow chart of another device access method according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:

[0073] Step S302, obtaining a target device identifier and a target authentication identifier of a home device;

[0074] The user can use the camera of the management terminal to scan the QR code on the body of the home device to obtain it.

[0075] Step S304, sending the target device identifier to the local wireless access point AP group of the management terminal, sending the target device identifier and the target authentication identifier to an authentication server, so that the home device is connected to the first AP in the AP group, wherein the AP group includes multiple APs, and the authentication server is connected to the AP group and the management terminal network, and is used to verify the home device according to the target device identifier and the target authentication identifier.

[0076] The management terminal (such as a mobile phone) sends the target device identifier to the AP group and initiates the home device access request process to improve access efficiency, and sends the target device identifier and the target authentication identifier to the authentication server to improve security.

[0077] Optionally, the method further includes: receiving an AP sharing request sent by other terminals, wherein the AP sharing request carries other AP groups locally stored by the other terminals; and adding APs in the other AP groups to the local AP group of the management terminal.

[0078] Optionally, the home device can also share the local AP group with other AP groups.

[0079] By adopting the solution of this embodiment, the utilization efficiency of the AP group is improved by sharing the AP group of multiple management terminals, and the convenience of the management terminal in creating a local AP group is improved.

[0080] The user of the management terminal has the management and authority control over the WIFI APs in the local AP group. The user can only authorize his own AP set with friends, and the authorization relationship is revocable. The user can send switch commands to the WIFI APs in the local AP group, query the list of connected devices, and control the connection and disconnection between the WIFI AP and home devices. For specific smart home devices, users can add them to the blacklist or allow them to access. Users can control the authority of their own AP sets, such as setting access passwords, limiting access to devices, etc. At the same time, users can also share their AP sets with friends, but the sharing relationship is revocable to ensure the safety and privacy of users.

[0081] The present invention provides a method and system for connecting and managing smart home devices, including steps such as device identification and verification, WIFI AP management and authorization, and device connection process optimization. By assigning a unique device ID and verification ID to each smart home device and performing verification when connecting, the security of the device is guaranteed. At the same time, multiple WIFIAPs are managed through an APP, and authorization between users is allowed, thereby achieving convenient connection and management of the device. The purpose of the present invention is to solve the problems of cumbersome connection process and insufficient security in the prior art. Figure 4 This is a flow chart of the first successful networking of a smart home device in an embodiment of the present invention, including:

[0082] S41: The user scans and reads the devID and authID of the smart home device:

[0083] Each smart home device is assigned a unique device ID (devID) and verification ID (authID) when it leaves the factory. These two IDs will be saved in the device's database or attributes and uploaded to the device server for the user's management terminal to read. The user scans the QR code or the smart home device's own label to identify or read the smart home device's devID and authID from the device server.

[0084] S42: The management terminal sends devID to the WIFI AP:

[0085] The same user account can manage multiple WIFI APs, which form a GAP set. Multiple GAP sets can be combined into a larger GAP set through authorization between users. Send the devID read in the above steps to all WIFI APs in the AP set under the account.

[0086] S43: WIFI AP sends broadcast:

[0087] The WIFI AP will write the devID it reads into a specific field of the Beacon frame and broadcast its own SSID and the devID of the smart home device through the Beacon frame.

[0088] S44: Smart home device reads the broadcast content and compares the devID:

[0089] After receiving the Beacon frame, the smart home device will read the devID in it and compare it with its own devID.

[0090] S45: The smart home device initiates a connection request to the WIFI AP of this SSID:

[0091] If the smart home device is successfully matched, it will initiate a connection request to the WIFI AP of this SSID and carry its own devID and authID in the request.

[0092] S46: The WIFI AP reads the request content and allows the smart home device to access after successful verification:

[0093] When a smart home device attempts to connect to a WIFI AP, after receiving the connection request, the WIFI AP will read the devID and authID from the request frame and send them to the authentication server for verification. If the verification is successful, the WIFI AP will allow the device to access the network; if the verification fails, the access will be denied.

[0094] The connection and management method and system of the smart home device of this embodiment have the advantages of high efficiency, safety, convenience, etc. The device security is ensured by the association verification of the device identification and the authentication identification; the convenient connection and management of the device is realized by the management and authorization of WIFI AP; the connection stability and convenience of the device are improved by optimizing the device connection process; the user security and privacy are ensured by user management and authority control.

[0095] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, an access device of a device, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0096] Example 2

[0097] In this embodiment, a device access device is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made are not repeated. As used below, the term "module" can implement a combination of software and hardware for the reservation function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, can also be conceived.

[0098] Figure 5 is a structural block diagram of an access device of a device according to an embodiment of the present invention, which is applied to household devices such as Figure 5 As shown, including:

[0099] A first receiving module 50 is used to receive a plurality of management frames broadcasted by a plurality of APs in the AP group after the management terminal sends the target device identifier of the home device to the wireless access point AP group, wherein the AP group includes a plurality of APs;

[0100] The access module 52 is configured to access a first AP among the plurality of APs based on the plurality of management frames and the target device identifier.

[0101] Optionally, the access module includes: a selection unit, used to select a first management frame from the several management frames; a parsing unit, used to parse the AP identifier and the first device identifier carried in the first management frame; a judgment unit, used to judge whether the first device identifier matches the local target device identifier of the home device; and a control unit, used to control the home device to access the first AP corresponding to the AP identifier if the first device identifier matches the local target device identifier of the home device.

[0102] Optionally, the control unit includes: an initiating subunit, used to initiate a first connection request to a first AP corresponding to the AP identifier, wherein the first connection request carries a target device identifier and a target authentication identifier of the home appliance; a receiving subunit, used to receive a first connection confirmation message returned by the first AP, wherein the first connection confirmation message is generated by the first AP after confirming that the home appliance has passed verification, the first AP is network-connected to an authentication server, and the authentication server is used to verify the home appliance according to the target device identifier and the target authentication identifier; a control subunit, used to respond to the first connection confirmation message and control the home appliance to access the first AP.

[0103] Optionally, the selection unit includes: an acquisition subunit, used to acquire signal strengths of the plurality of management frames; and a selection subunit, used to select a management frame with the largest signal strength as the first management frame.

[0104] Optionally, the device also includes: a second receiving module, used to receive an AP identification list of the AP group sent by the management terminal of the home appliance after the access module accesses the first AP among the several APs based on the several management frames and the target device identifier; a storage module, used to store the AP identification list in the local WIFI list of the home appliance; and a control module, used to control the home appliance to access the second AP in the local WIFI list after the home appliance is disconnected from the first AP.

[0105] Optionally, the control module includes: a sending subunit, used to send a second connection request to the AP group in the local WIFI list; a receiving subunit, used to receive a second connection confirmation message returned by the second AP in the AP group; and a control subunit, used to respond to the second connection confirmation message and control the home device to access the second AP.

[0106] Figure 6 is a structural block diagram of an access device of another device according to an embodiment of the present invention, which is applied to a management terminal, such as Figure 6 As shown, including:

[0107] An acquisition module 60 is used to acquire a target device identifier and a target authentication identifier of a household device;

[0108] The sending module 62 is used to send the target device identifier to the local wireless access point AP group of the management terminal, and to send the target device identifier and the target authentication identifier to the authentication server, so that the home device can access the first AP in the AP group, wherein the AP group includes multiple APs, and the authentication server is connected to the AP group and the management terminal network, and is used to verify the home device according to the target device identifier and the target authentication identifier.

[0109] Optionally, the device also includes: a receiving module for receiving AP sharing requests sent by other terminals, wherein the AP sharing requests carry other AP groups locally stored by the other terminals; and an adding module for adding APs in the other AP groups to the local AP group of the management terminal.

[0110] According to another embodiment of the present invention, a device access system is provided. Figure 7 It is a schematic diagram of an access system for a device according to an embodiment of the present invention, the system comprising: a home device 70, a management terminal 72, a wireless access point AP group 74 (including AP1, AP2, etc.), and an authentication server 76, wherein the home device comprises the device described in the above embodiment; the management terminal comprises the device described in the above embodiment; the AP group comprises a plurality of APs for receiving a target device identifier of the home device sent by the management terminal, and allowing access to the home device based on the target device identifier; the authentication server is network-connected to the management terminal and the AP group, and is for receiving a target device identifier and a target authentication identifier of the home device sent by the management terminal and the first AP in the AP group, and verifying the home device according to the target device identifier and the target authentication identifier.

[0111] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0112] Example 3

[0113] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0114] Optionally, in this embodiment, the above storage medium may be configured to store a computer program for executing:

[0115] S1, after the management terminal sends the target device identifier of the home device to the wireless access point AP group, receiving a plurality of management frames broadcasted by a plurality of APs in the AP group, wherein the AP group includes a plurality of APs;

[0116] S2: Access a first AP among the plurality of APs based on the plurality of management frames and the target device identifiers.

[0117] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0118] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0119] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0120] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0121] S1, after the management terminal sends the target device identifier of the home device to the wireless access point AP group, receiving a plurality of management frames broadcasted by a plurality of APs in the AP group, wherein the AP group includes a plurality of APs;

[0122] S2: Access a first AP among the plurality of APs based on the plurality of management frames and the target device identifiers.

[0123] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0124] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0125] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0126] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

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

[0128] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0129] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a controller or a network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc., various media that can store program codes.

[0130] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A device access method, characterized in that: Applications in home appliances include: After the management terminal sends the target device identifier of the home device to the wireless access point AP group, receiving a plurality of management frames correspondingly broadcast by a plurality of APs in the AP group, wherein the AP group includes a plurality of APs; Access is made to a first AP among the plurality of APs based on the plurality of management frames and the target device identifier.

2. The method according to claim 1, characterized in that Accessing a first AP among the plurality of APs based on the plurality of management frames and the target device identifier includes: Selecting a first management frame from the plurality of management frames; Parsing the AP identifier and the first device identifier carried in the first management frame; Determine whether the first device identifier matches a local target device identifier of the home device; If the first device identifier matches the local target device identifier of the home device, the home device is controlled to access the first AP corresponding to the AP identifier.

3. The method according to claim 2, characterized in that Controlling the home device to access the first AP corresponding to the AP identifier includes: Initiate a first connection request to a first AP corresponding to the AP identifier, wherein the first connection request carries a target device identifier and a target authentication identifier of the home device; receiving a first connection confirmation message returned by the first AP, wherein the first connection confirmation message is generated by the first AP after confirming that the home device has passed verification, the first AP is connected to an authentication server network, and the authentication server is used to verify the home device according to the target device identifier and the target authentication identifier; In response to the first connection confirmation message, control the home device to access the first AP.

4. The method according to claim 2, characterized in that: Selecting a first management frame from among the plurality of management frames comprises: Obtaining signal strengths of the plurality of management frames; The management frame with the largest signal strength is selected as the first management frame.

5. The method according to claim 1, characterized in that After accessing a first AP among the plurality of APs based on the plurality of management frames and the target device identifier, the method further includes: Receiving an AP identification list of the AP group sent by a management terminal of the home device; Storing the AP identification list in a local WIFI list of the home device; After the home device is disconnected from the first AP, the home device is controlled to access the second AP in the local WIFI list.

6. The method according to claim 5, characterized in that Controlling the home device to access the second AP in the local WIFI list includes: Sending a second connection request to the AP group in the local WIFI list; receiving a second connection confirmation message returned by a second AP in the AP group; In response to the second connection confirmation message, control the home device to access the second AP.

7. A device access method, characterized in that: Applied in management terminals, including: Obtain the target device identification and target authentication identification of the home device; The target device identifier is sent to the local wireless access point AP group of the management terminal, and the target device identifier and the target authentication identifier are sent to an authentication server, so that the home device is connected to the first AP in the AP group, wherein the AP group includes multiple APs, and the authentication server is connected to the AP group and the management terminal network, and is used to verify the home device according to the target device identifier and the target authentication identifier.

8. The method according to claim 7, characterized in that The method further comprises: Receiving an AP sharing request sent by another terminal, wherein the AP sharing request carries another AP group stored locally by the other terminal; The APs in the other AP groups are added to the local AP group of the management terminal.

9. A device access apparatus, characterized in that: Applications in home appliances include: A first receiving module is used for receiving a plurality of management frames broadcasted by a plurality of APs in the AP group after the management terminal sends the target device identifier of the home device to the wireless access point AP group, wherein the AP group includes a plurality of APs; An access module is used to access a first AP among the plurality of APs based on the plurality of management frames and the target device identifier.

10. A device access apparatus, characterized in that: Applied in management terminals, including: An acquisition module, used to acquire a target device identifier and a target authentication identifier of a home device; A sending module is used to send the target device identifier to the local wireless access point AP group of the management terminal, and to send the target device identifier and the target authentication identifier to an authentication server, so that the home device can access the first AP in the AP group, wherein the AP group includes multiple APs, and the authentication server is connected to the AP group and the management terminal network, and is used to verify the home device according to the target device identifier and the target authentication identifier.

11. A device access system, characterized in that: The system includes: home appliances, management terminals, wireless access point AP groups, and authentication servers, wherein: The household equipment comprises the device as claimed in claim 9; The management terminal comprises the device as claimed in claim 10; The AP group includes a plurality of APs, which are used to receive the target device identification of the home device sent by the management terminal, and allow the home device to access based on the target device identification; The authentication server is connected to the management terminal and the AP group network, and is used to receive the target device identifier and target authentication identifier of the home device sent by the management terminal and the first AP in the AP group, and verify the home device according to the target device identifier and the target authentication identifier.

12. A storage medium, characterized in that: A computer program is stored in the storage medium, wherein the computer program is configured to execute the steps of the device access method in any one of claims 1 to 8 when running.

13. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface, and the memory communicate with each other via a communication bus; wherein: Memory, used to store computer programs; A processor, configured to execute the steps of the device access method according to any one of claims 1 to 8 by running a program stored in a memory.

Citation Information

Patent Citations

  • Equipment access method, equipment access point and equipment access device

    CN103260214A

  • Network connection method and network sharing method and device

    CN103458409A

  • Network address allocation method and system

    CN103581354A

  • Method and device for sharing WiFi passwords

    CN104980927A

  • WIFI automatic connection method, device and system

    CN105848146A