Equipment access method and device, electronic equipment and medium

By updating and verifying the identity information of the smart device, automatic access to the smart device is realized, solving the problem of low manual correlation configuration efficiency in the prior art, and improving access efficiency and user experience.

CN120034858APending Publication Date: 2025-05-23BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311576516.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-23
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The existing smart device access method requires manual configuration of users, resulting in low access efficiency and time-consuming, especially in multi-device access scenarios.

Method used

By receiving the device association request, the identity information association information of the target device is updated, and upon receiving the device access request of the device to be accessed, its identity information is verified to automatically complete the access connection.

Benefits of technology

It realizes automatic access to smart devices, simplifies the access process, improves access efficiency, and reduces the user's manual configuration needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120034858A_ABST
    Figure CN120034858A_ABST
Patent Text Reader

Abstract

The invention relates to an equipment access method and device, electronic equipment and a medium, the equipment access method in the disclosure updates association information corresponding to identity information of target equipment in an equipment association request based on the received equipment association request, and after the equipment access request automatically sent by to-be-accessed equipment is received, the target equipment is accessed to the equipment. And verifying whether the to-be-accessed device is the target device according to the identity information of the to-be-accessed device in the device access request and the updated association information, and after determining that the to-be-accessed device is the target device, sending the device association information to the to-be-accessed device to enable the to-be-accessed device to automatically perform access connection. Through the mode, a user does not need to manually carry out association configuration on the intelligent equipment, and the intelligent equipment can be automatically accessed, so that the access process of the intelligent equipment is simplified, and the access efficiency of the intelligent equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of smart devices, and in particular to a device access method, apparatus, electronic device and medium. Background Art

[0002] With the continuous improvement of people's living standards and the continuous development of science and technology, more and more people choose smart devices to facilitate their daily lives. There are many types of smart devices, and different smart device usage scenarios are also different. When connecting smart devices to the smart device system, the current mainstream device access method requires users to manually associate and configure smart devices in order to accurately control the smart devices in different houses. When there are a large number of smart devices that need to be connected to the smart device system, the access efficiency of smart devices is not high, and it will consume a lot of user time and energy. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a device access method, apparatus, electronic device and medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for accessing a device is provided, the method for accessing a device comprising:

[0005] receiving a device association request, wherein the device association request includes first identity information of a target device;

[0006] updating the first association information corresponding to the target device to the second association information corresponding to the target device according to the first identity information of the target device;

[0007] Receiving a device access request sent by a to-be-accessed device, wherein the device access request includes second identity information of the to-be-accessed device;

[0008] Verifying whether the device to be accessed is the target device according to the second identity information of the device to be accessed and the second association information of the target device;

[0009] In response to the device to be connected being the target device, device association information is sent so that the device to be connected completes the access connection.

[0010] In some exemplary embodiments of the present disclosure, the device access method further includes:

[0011] Mapping relationship information of the target device is established according to the position of the preset area, and the mapping relationship information includes the first association information.

[0012] In some exemplary embodiments of the present disclosure, the first association information includes at least one of the location, device type, quantity, and device identification of the target device.

[0013] In some exemplary embodiments of the present disclosure, the device access method further includes:

[0014] Determine first association information corresponding to the target device according to the device association request.

[0015] In some exemplary embodiments of the present disclosure, the device association request includes the location and device type of the target device in a preset area;

[0016] The determining, according to the device association request, first association information corresponding to the target device includes:

[0017] According to the location and device type of the target device in the preset area, the first association information in the mapping relationship information that matches the location and device type of the target device in the preset area is determined.

[0018] In some exemplary embodiments of the present disclosure, updating the first association information corresponding to the target device to the second association information of the target device according to the first identity information of the target device includes:

[0019] Determine second identity information of the target device according to the first identity information of the target device;

[0020] The first identity information of the target device and the second identity information of the target device are associated with the corresponding first association information to form the second association information of the target device.

[0021] In some exemplary embodiments of the present disclosure, verifying whether the device to be accessed is the target device according to the second identity information of the device to be accessed and the second association information of the target device includes:

[0022] Determine whether the second identity information of the device to be connected matches the second identity information corresponding to the second association information;

[0023] In response to the second identity information of the device to be accessed matching the second identity information corresponding to the second association information, it is determined that the device to be accessed is the target device.

[0024] In some exemplary embodiments of the present disclosure, the first identity information includes a unique identification code;

[0025] The second identity information includes at least one of device MAC address information and device ID information.

[0026] In some exemplary embodiments of the present disclosure, the device access method further includes:

[0027] In response to receiving the access completion instruction, the access status of the device to be accessed is updated to already accessed.

[0028] In some exemplary embodiments of the present disclosure, the device to be connected completes the access connection through power line communication.

[0029] According to a second aspect of an embodiment of the present disclosure, a device access apparatus is provided, the device access apparatus comprising:

[0030] A first receiving module, configured to receive a device association request, wherein the device association request includes first identity information of a target device;

[0031] An updating module, configured to update the first association information corresponding to the target device to the second association information according to the first identity information;

[0032] A second receiving module is used to receive a device access request sent by a to-be-accessed device, wherein the device access request includes identity information of the to-be-accessed device;

[0033] A verification module, used to verify whether the device to be accessed is the target device according to the identity information of the device to be accessed and the second association information;

[0034] The sending module is used for sending device association information in response to the device to be connected being the target device, so that the device to be connected completes the access connection.

[0035] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:

[0036] processor;

[0037] a memory for storing processor-executable instructions;

[0038] The processor is configured to execute executable instructions in the memory to implement the device access method provided in the first aspect of the present disclosure.

[0039] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which executable instructions are stored. When the executable instructions are executed by a processor, the access method of the device provided by the first aspect of the present disclosure is implemented.

[0040] The above method disclosed in the present invention has the following beneficial effects: based on the received device association request, the present invention updates the association information corresponding to the identity information of the target device in the device association request, and after receiving the device access request automatically sent by the device to be accessed, verifies whether the device to be accessed is the target device according to the identity information of the device to be accessed in the device access request and the updated association information, and after determining that the device to be accessed is the target device, sends the device association information to the device to be accessed so that the device to be accessed can automatically access and connect. In this way, the user does not need to manually configure the association of the smart device, and the smart device can be automatically connected, which simplifies the access process of the smart device and improves the access efficiency of the smart device.

[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0043] Figure 1 The present invention is a flowchart of a method for accessing a device according to an exemplary embodiment.

[0044] Figure 2 It is a schematic structural diagram of a preset area according to an exemplary embodiment.

[0045] Figure 3 The present invention is a flowchart of a method for accessing a device according to an exemplary embodiment.

[0046] Figure 4 The diagram is a schematic diagram showing mapping relationship information of a target device according to an exemplary embodiment.

[0047] Figure 5 The present invention is a flowchart of a method for accessing a device according to an exemplary embodiment.

[0048] Figure 6 The present invention is a flowchart of a method for accessing a device according to an exemplary embodiment.

[0049] Figure 7 The present invention is a flowchart of a method for accessing a device according to an exemplary embodiment.

[0050] Figure 8 The present invention is a flowchart of a method for accessing a device according to an exemplary embodiment.

[0051] Figure 9 The invention is a block diagram of an access device of a device according to an exemplary embodiment.

[0052] Figure 10 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0053] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0054] With the continuous improvement of people's living standards and the continuous development of science and technology, more and more people choose smart devices to facilitate their daily lives. Smart devices include smart switches, smart lights, smart doorbells, smart door locks, smart lamps, sweeping robots, smart air conditioners, smart TVs, curtain motors, etc. There are many types, and different smart devices have different usage scenarios.

[0055] Taking the smart home system of a smart home accessed to a family as an example, after the smart device is delivered to the preset area that the user wants to access, such as the user's house, the user can choose to connect the smart device to the smart home system by himself, or have the device installer connect it on his behalf. When connecting the smart device to the smart home system, since the user may use the same type of smart device in different rooms, the current mainstream device access method requires the user or the device installer to manually associate the smart device with a specific room where the device is to be installed during the smart device access process, so that the same type of smart devices in different houses can be accurately controlled. For example, the user wants to install smart TVs in the bedroom and the living room respectively, and the current mainstream device access method requires the user to manually associate the smart TV installed in the bedroom with the bedroom on the application used to control the smart home after the smart TV is installed and powered on, and associate the smart TV installed in the living room with the living room, so that the two smart TVs can be accurately controlled to realize functions such as turning on, off, and changing channels.

[0056] Therefore, when using the current mainstream method to access smart devices, if a large number of smart devices need to be connected to the smart device system, especially when the same type of smart devices need to be connected to different rooms, the access efficiency of the smart devices is not high, and it will consume a lot of time and energy of users or equipment installers.

[0057] In order to solve the above problems, the present disclosure provides a device access method, which is applicable to management devices, such as servers, management platforms, etc. After receiving a device association request sent by a user or device installer through a terminal device, the management device can obtain the identity information of the target device according to the device association request, and update the association information according to the identity information of the target device. After receiving a device access request automatically sent by the device to be accessed, the management device can verify whether the device to be accessed that sent the device access request is the target device according to the identity information of the device to be accessed in the device access request and the updated association information. After determining that the device to be accessed that sent the device access request is the target device, the device association information is sent to the device to be accessed that sent the device access request so that the device to be accessed that sent the device access request can automatically connect. In this way, the user does not need to manually configure the association of the smart device, and the smart device can be automatically connected, which simplifies the access process of the smart device and improves the access efficiency of the smart device.

[0058] The exemplary embodiment of the present disclosure provides a device access method, which is applied to manage devices, such as Figure 1 As shown, the access method of the device shown in the present disclosure includes:

[0059] S101. Receive a device association request.

[0060] In an exemplary embodiment of the present disclosure, a management device receives a device association request. The management device may be any device that can manage smart devices, such as a server or a management platform. The terminal device may establish a communication connection with the management device through a device installation application APP as a communication interface, so in step S101, the device installer or user may send a device association request to the management device through the device installation application APP. In an exemplary embodiment of the present disclosure, the terminal device is any electronic device that can establish a communication connection with the management device through the device installation application APP, such as a mobile phone, a personal computer, a tablet computer, a smart watch, etc.

[0061] The device association request includes the target device, that is, the first identity information of the smart device in the smart device system in the user's target preset area, and the first identity information is used to characterize the identity of the target device. In some embodiments, the first identity information may include a unique identification code of the target device, and the unique identification code may specifically be a serial number (SN code) of the target device. The SN code is a globally unique identification code for electronic products, which is globally unique, and can therefore be used for anti-counterfeiting detection of smart devices to improve the security of smart device access.

[0062] In daily life, the identity information of smart devices is usually stored in the form of a QR code, so the device installer can scan the QR code set on the packaging or body of the smart device for storing the identity information of the smart device through the device installation application APP to obtain the first identity information of the target device, and send a device association request including the first identity information of the target device to the management device through the terminal device. In order to realize the QR code scanning function, in the exemplary embodiment of the present disclosure, the terminal device can further be any electronic device that has an image acquisition device and can realize the QR code scanning function, and can establish a communication connection with the management device through the device installation application APP.

[0063] At the same time, it is easy to understand that if the identity information of the smart device is stored in other forms, such as text or barcode, the terminal device can obtain the first identity information of the target device through other methods, such as manual input, scanning barcodes, etc. The present disclosure does not limit the method of obtaining the first identity information of the target device.

[0064] S102: Update the first association information corresponding to the target device to the second association information corresponding to the target device according to the first identity information of the target device.

[0065] The first association information is used to characterize information associated with the access of the target device. In some embodiments, the first association information may include at least one of the location, device type, quantity, and device identification of the target device. Among them, the location of the target device indicates the location where the target device is determined to be connected to the preset area. The location mentioned here can be one or more smaller sub-areas in the preset area, such as a room in a house, or one or more specific locations in the preset area, such as a specific coordinate in the house. The device type can be the type of the major category to which the target device belongs, such as a smart light, a smart TV, etc., or it can be a subcategory to which the target device belongs, such as a spotlight, a table lamp, a chandelier, etc. The quantity refers to the number of target devices in the location where the target device is determined to be connected to the preset area. The device identification can be a name set for the target device by the management device management layer, or it can be a user-defined name.

[0066] The user can pre-set the first association information of at least one target device through the management device platform. Optionally, the user can first create a regional template for a preset area, and divide the preset area into multiple sub-areas in the regional template, and then set the sub-areas corresponding to each target device in the preset area in the regional template. Taking the preset area as a house as an example, Figure 2The schematic diagram of the internal structure of a house, i.e., a house template, is shown. After the user sets up the rooms in the house, i.e., 1 living room, 1 dining room + kitchen, 1 balcony, 1 master bedroom, 1 secondary bedroom, and 1 bathroom, through the management device platform, at least one of the device type, quantity, and device identification of each target device in each room can be set as the first associated information of the target device. Taking different types of smart lights as an example, lights 21, 22, and 23 are three different types of smart lights, where light 21 is a ceiling light, light 22 is a table lamp, and light 23 is a spotlight. The user can name light 21 as light No. 1, light 22 as light No. 2, and light 23 as light No. 3, and then set light 21 in the bathroom, master bedroom, secondary bedroom, and dining room + kitchen, light 22 in the master bedroom and secondary bedroom, and light 23 in the living room. Further taking lamp 21 as an example, the first associated information of lamp 21 is: location - bathroom, quantity - 1, equipment identification - lamp No. 1, location - master bedroom, quantity - 1, equipment identification - lamp No. 1, location - second bedroom, quantity - 1, equipment identification - lamp No. 1, and location - dining room + kitchen, quantity - 1, equipment identification - lamp No. 1.

[0067] After the user completes the setting of the first association information, the management device can determine the device installer who provides installation services for the user, and send the first association information set by the user to the terminal device of the device installer through the device installation application APP. Alternatively, the user can complete the access connection work of the smart device by himself.

[0068] When the equipment installer selects a preset area in a certain installation task as the area for the equipment to be installed, the terminal device first sends an instruction that the preset area is selected to the management device through the equipment installation application APP, and the management device can determine the preset area as the target area, and then send a device association request to the management device. Alternatively, the user can log in to the equipment installation application APP by himself and select the preset area as the area for the equipment to be installed. The terminal device can first send an instruction that the preset area is selected to the management device through the equipment installation application APP, and the management device can determine the preset area as the target area, and then send a device association request to the management device.

[0069] Therefore, in step S102, when the management device receives the device association request sent by the installer's terminal device, it can directly determine the first association information corresponding to the target device, and update the first association information corresponding to the target device to the second association information corresponding to the target device according to the first identity information of the target device.

[0070] In some embodiments, the management device may determine the second identity information of the target device based on the first identity information of the target device, and associate the first identity information of the target device and the second identity information of the target device with the first association information of the target device to obtain the second association information of the target device.

[0071] The second identity information is also used to characterize the identity information of the target device, which can be specifically the Media Access Control Address (MAC address) information or the Device Identity (DID) information of the target device. MAC address is also called LAN address, MAC address, Ethernet address, physical address, etc. It is used to determine the location of network devices and can uniquely identify a network card in the network. An electronic device is equipped with at least one network card, so a MAC address can uniquely identify an electronic device. DID can be a unique identifier set for smart devices by the management layer of the management device. For management devices, DID is also unique.

[0072] The management device pre-stores the correspondence between the MAC address and SN code of each smart device or the correspondence between the DID and SN code. Therefore, according to the SN code of any target device, the management device can uniquely determine the MAC address or DID of the target device. After obtaining the MAC address or DID of the target device, the management device can associate at least one of the MAC address or DID of the target device and the SN code of the target device with the first association information of the target device, so as to obtain the second association information corresponding to the target device.

[0073] S103: Receive a device access request sent by the device to be accessed.

[0074] After updating the first associated information of the target device to the second associated information, the device installer can connect the smart device to the power supply in the preset area so that the smart device can enter a normal working state. In the exemplary embodiment of the present disclosure, the smart device system is a smart device system that establishes a communication connection through power line communication (PLC). PLC, the full name of which is power line carrier communication, is a special communication method that uses high-voltage power lines (usually 35kV and above voltage levels in the field of power carriers), medium-voltage power lines (referring to 10kV voltage levels) or low-voltage distribution lines (referring to 380 / 220V user lines) as transmission media for voice, data and other information transmission. It has the characteristics of low complexity of use, wide coverage, multi-function, strong stability, and strong compatibility. Therefore, the access complexity of smart devices is relatively low.

[0075] After entering the normal working state, the smart device can automatically send a device access request carrying its own second identity information to the management device to request access to the smart home system. Similar to the second identity information of the target device, the second identity information of the smart device to be accessed also includes at least one of the MAC address and DID of the smart device.

[0076] It is easy to understand that the second identity information of the target device and the second identity information of the device to be accessed include at least the same information, that is, if the second identity information of the target device only includes the MAC address of the target device, then the second identity information of the device to be accessed may include only the MAC address of the device to be accessed, or may include both the MAC address of the device to be accessed and the DID of the device to be accessed; if the second identity information of the target device only includes the DID of the target device, then the second identity information of the device to be accessed may include only the DID of the device to be accessed, or may include both the DID of the device to be accessed and the MAC address of the device to be accessed.

[0077] S104: Verify whether the device to be accessed is the target device according to the second identity information of the device to be accessed and the second association information of the target device.

[0078] In step S104, the management device may determine whether the MAC address of the device to be connected matches the MAC address of the target device in the second association information, and / or whether the DID of the device to be connected matches the DID of the target device in the second association information.

[0079] In some embodiments, in order to verify the legitimacy of the device to be accessed and prevent illegal devices from affecting the smart devices that have completed access to the smart device system, the second identity information of the device to be accessed may also include the certificate chain (CA chain) of the device to be accessed. The management device may authenticate the legitimacy of the device to be accessed based on the CA chain of the device to be accessed. If the authentication is successful, the management device determines whether the MAC address of the device to be accessed matches the MAC address of the target device in the second association information, and / or whether the DID of the device to be accessed matches the DID of the target device in the second association information.

[0080] S105: In response to the device to be connected being a target device, send device association information so that the device to be connected completes the access connection.

[0081] In step S105, if the MAC address of the device to be accessed matches the MAC address of the target device in the second association information, and / or the DID of the device to be accessed matches the DID of the target device in the second association information, the management device can determine that the device to be accessed is the target device and send device association information to the device to be accessed so that the device to be accessed can access the smart device system to complete the access connection.

[0082] After determining that the device to be connected is the target device, the management device can obtain at least one item of association information of the target device from the second association information as device association information, and send the device association information to the device to be connected. The device association information is used to represent the information required for the device to be connected to complete the access connection. In some embodiments, the device association information may include at least one of the location and device identification of the target device.

[0083] In the present disclosure, the management device updates the association information corresponding to the identity information of the target device in the device association request based on the received device association request, and after receiving the device access request automatically sent by the device to be accessed, verifies whether the device to be accessed is the target device according to the identity information of the device to be accessed in the device access request and the updated association information, and after determining that the device to be accessed is the target device, sends the device association information to the device to be accessed so that the device to be accessed can automatically access and connect. In this way, the user only needs to set the installation position of each target device in the preset area, and there is no need to associate each specific smart device with the position of the smart device in the preset area later, and the automatic access of the smart device can be completed, which simplifies the access process of the smart device and improves the access efficiency of the smart device.

[0084] The exemplary embodiment of the present disclosure provides a device access method, which is applied to manage devices, such as Figure 3 As shown, the access method of the device shown in the present disclosure includes:

[0085] Step S301: Establish mapping relationship information of a target device according to the location of a preset area.

[0086] In some embodiments, a user can pre-set the first association information of at least one target device through the management device platform. Therefore, in step S301, the management device can establish mapping relationship information of each target device in the preset area according to the position of the preset area in the first association information set by the user, and the mapping relationship information includes the first association information of the target device.

[0087] Furthermore, the management device may establish mapping relationship information of target devices corresponding to the positions of the target devices in the same preset area according to the positions of the target devices in the preset area, and the mapping relationship information includes at least one of the device identification, type and quantity of the target device. Figure 2 Taking a house as a preset area as an example, after the user sets the associated information of the smart devices: lamp 21, lamp 22, lamp 23, curtain motor, switch, sensor, range hood, refrigerator, TV and air conditioner, the management device can establish mapping relationship information of lamp 21, lamp 22, lamp 23, curtain motor, switch, sensor, range hood, refrigerator, TV and air conditioner according to the living room, dining room + kitchen, balcony, master bedroom, second bedroom and bathroom. Figure 4 Shows Figure 2 A schematic diagram of the mapping relationship information of each smart device in the house is shown, wherein the bathroom includes 1 lamp 21, the master bedroom includes 1 lamp 21, 1 switch, 1 lamp 22, a curtain motor and a sensor, the second bedroom includes 1 lamp 21, 1 switch, 1 lamp 22, 1 sensor and 1 curtain motor, the dining room + kitchen includes 1 lamp 21, 1 switch, 1 range hood and 1 refrigerator, the living room includes 1 lamp 21, 1 lamp 23, 1 switch, 1 TV and 1 air conditioner, and the balcony includes 1 switch and a curtain motor.

[0088] Step S302: Receive a device association request.

[0089] Step S303: Update the first association information corresponding to the target device to the second association information corresponding to the target device according to the first identity information of the target device.

[0090] Step S304: receiving a device access request sent by the device to be accessed.

[0091] Step S305: Verify whether the device to be accessed is the target device according to the second identity information of the device to be accessed and the second association information of the target device.

[0092] Step S306: In response to the device to be connected being the target device, device association information is sent to enable the device to be connected to complete the access connection.

[0093] The implementation of steps S302-S306 is the same as that in the above embodiment, and will not be described in detail here.

[0094] In the present disclosure, the management device establishes the mapping relationship information of the target device according to the position of the preset area in the first association information of the target device, and based on the received device association request, updates the association information corresponding to the identity information of the target device in the device association request. After receiving the device access request automatically sent by the device to be accessed, the management device verifies whether the device to be accessed is the target device according to the identity information of the device to be accessed in the device access request and the updated association information. After determining that the device to be accessed is the target device, the device association information is sent to the device to be accessed so that the device to be accessed can automatically connect. In this way, the first association information of each target device can be clearly displayed to facilitate the device installer to install the device to be accessed. At the same time, the user only needs to set the installation position of each target device in the preset area, and there is no need to associate each specific smart device with the position of the smart device in the preset area in the future. The automatic access of the smart device can be completed, which simplifies the access process of the smart device and improves the access efficiency of the smart device.

[0095] The exemplary embodiment of the present disclosure provides a device access method, which is applied to manage devices, such as Figure 5 As shown, the access method of the device shown in the present disclosure includes:

[0096] Step S501: Establish mapping relationship information of a target device according to the location of a preset area.

[0097] Step S502: Receive a device association request.

[0098] The user can pre-set the first association information of at least one target device through the management device platform. After the user completes the setting of the first association information, the management device can determine the device installer who provides installation services for the user, and send the first association information set by the user to the terminal device of the device installer through the device installation application APP. Alternatively, the user can complete the access connection of the smart device by himself. At the same time, the management device will associate the terminal device identifier of the device installer or the terminal device identifier of the user with the area identifier of the preset area corresponding to the target device in the first association information.

[0099] and Figure 1 Different from the illustrated embodiment, in this embodiment, when the device installer selects a preset area in a certain installation task as the area for the device to be installed, or when the user logs in to the device installation application APP by himself and selects the preset area as the area for the device to be installed, the terminal device does not send an instruction to the management device through the device installation application APP that the preset area is selected, but directly sends a device association request to the management device that carries identification information such as the terminal device identification, the preset area identification, etc., which can be used to confirm the first association information corresponding to the target device.

[0100] Step S503: Determine first association information corresponding to the target device according to the device association request.

[0101] In step S503, the management device may determine the first association information corresponding to the target device according to the terminal device identifier, the preset area identifier and other information in the device association request.

[0102] In some embodiments, the device association request may also include the location and device type of the target device in the preset area. The management device may determine, based on the location and device type of the target device in the preset area, the first association information that matches the location and device type of the target device in the preset area in the mapping relationship information corresponding to the target device.

[0103] For example, the target device is TV T1, and the mapping relationship information of the target device includes the first association information 1: the preset area where the TV is located is the house pre-selected by the user, the position in the preset area is the living room, and the device type is TV; the first association information 2: the preset area where the TV is located is the house pre-selected by the user, the position in the preset area is the bedroom, and the device type is TV; the device association request includes that the position of TV T1 in the preset area is the bedroom, and the device type is TV, then the management device can determine that the first association information matching TV T1 is the first association information 2.

[0104] Step S504: Update the first association information corresponding to the target device to the second association information corresponding to the target device according to the first identity information of the target device.

[0105] Step S505: Receive a device access request sent by the device to be accessed.

[0106] Step S506: Verify whether the device to be accessed is the target device according to the second identity information of the device to be accessed and the second association information of the target device.

[0107] Step S507: In response to the device to be connected being the target device, device association information is sent to enable the device to be connected to complete the access connection.

[0108] Among them, the implementation method of steps S501 and S504-S507 is the same as the implementation method in the above embodiment, and will not be repeated here.

[0109] In the present disclosure, the management device establishes the mapping relationship information of the target device according to the position of the preset area in the association information of the target device, and after receiving the device association request, determines the association information corresponding to the target device according to the device association request, and then updates the association information corresponding to the identity information of the target device in the device association request. After receiving the device access request automatically sent by the device to be accessed, it verifies whether the device to be accessed is the target device according to the identity information of the device to be accessed in the device access request and the updated association information. After determining that the device to be accessed is the target device, the device association information is sent to the device to be accessed so that the device to be accessed can automatically access and connect. In this way, the first association information of each target device can be clearly displayed to facilitate the device installer to install the device to be accessed. At the same time, the user only needs to set the installation position of each target device in the preset area, and there is no need to associate each specific smart device with the position of the smart device in the preset area in the future, and the automatic access of the smart device can be completed, which simplifies the access process of the smart device and improves the access efficiency of the smart device.

[0110] The exemplary embodiment of the present disclosure provides a device access method, which is applied to manage devices, such as Figure 6 As shown, the access method of the device shown in the present disclosure includes:

[0111] Step S601: Receive a device association request.

[0112] Step S602: Update the first association information corresponding to the target device to the second association information corresponding to the target device according to the first identity information of the target device.

[0113] Step S603: Receive a device access request sent by the device to be accessed.

[0114] Step S604: Verify whether the device to be accessed is the target device according to the second identity information of the device to be accessed and the second association information of the target device.

[0115] Step S605: In response to the device to be connected being the target device, device association information is sent to enable the device to be connected to complete the access connection.

[0116] Among them, the implementation method of steps S601-S605 is the same as Figure 1 The implementation methods in the illustrated embodiments are the same and will not be described again herein.

[0117] Step S606: In response to receiving the access completion instruction, the access status of the device to be accessed is updated to already accessed.

[0118] After the management device sends the device association information used to complete the access connection to the device to be accessed, the device to be accessed can associate its own identity information and device association information to complete the access connection. After completing the access connection, the device to be accessed can send an access completion instruction to the management device. After receiving the access completion instruction, the management device can update the access status of the device to be accessed to connected, and synchronously update the access status of the device to be accessed. If subsequent users view the access status of each device to be accessed in the preset area through the device management application APP, they can obtain the access status of each device to be accessed from the management device, which can not only operate and manage the devices that have completed the access, but also determine which devices to be accessed have not completed the access connection, so as to access the devices to be accessed that have not completed the access connection.

[0119] In the present disclosure, the management device updates the association information corresponding to the identity information of the target device in the device association request based on the association information corresponding to the target device in the received device association request. After receiving the device access request automatically sent by the device to be accessed, the management device verifies whether the device to be accessed is the target device according to the identity information of the device to be accessed in the device access request and the updated association information. After determining that the device to be accessed is the target device, the management device sends the device association information to the device to be accessed so that the device to be accessed can automatically access and connect. After receiving the access completion instruction sent by the device to be accessed, the management device updates the access status of the device to be accessed. In this way, the user only needs to set the installation position of each target device in the preset area, and there is no need to associate each specific smart device with the position of the smart device in the preset area in the future, so that the automatic access of the smart device can be completed, which simplifies the access process of the smart device and improves the access efficiency of the smart device. At the same time, the access status of the smart device can be synchronously updated, so that the user can more easily find the smart device that has not completed the access connection, improve the success rate of the smart device access, and reduce the possibility that the user cannot successfully control the smart device.

[0120] The exemplary embodiment of the present disclosure provides a device access method, which is applied to manage devices, such as Figure 7 As shown, the access method of the device shown in the present disclosure includes:

[0121] Step S701: Establish mapping relationship information of a target device according to the location of a preset area.

[0122] Step S702: Receive a device association request.

[0123] Step S703: Update the first association information corresponding to the target device to the second association information corresponding to the target device according to the first identity information of the target device.

[0124] Step S704: Receive a device access request sent by the device to be accessed.

[0125] Step S705: Verify whether the device to be accessed is the target device according to the second identity information of the device to be accessed and the second association information of the target device.

[0126] Step S706: In response to the device to be connected being the target device, device association information is sent to enable the device to be connected to complete the access connection.

[0127] Step S707: in response to receiving the access completion instruction, updating the access status of the device to be accessed to already accessed.

[0128] Among them, the implementation method of steps S701-S706 is the same as Figure 1 The implementation method in the embodiment shown is the same as that in step S707. Figure 6 The implementation methods in the illustrated embodiments are the same and will not be described again herein.

[0129] In the present disclosure, the management device establishes mapping relationship information of the target device according to the position of the preset area in the first association information of the target device, and based on the received device association request, updates the association information corresponding to the identity information of the target device in the device association request, and after receiving the device access request automatically sent by the device to be accessed, verifies whether the device to be accessed is the target device according to the identity information of the device to be accessed in the device access request and the updated association information, and after determining that the device to be accessed is the target device, sends the device association information to the device to be accessed so that the device to be accessed can automatically connect, and after receiving the access completion instruction sent by the device to be accessed, the management device updates the access status of the device to be accessed. In this way, the first association information of each target device can be clearly displayed, which is convenient for equipment installers to install the devices to be connected. At the same time, users only need to set the installation position of each target device in the preset area, and there is no need to associate each specific smart device with the position of the smart device in the preset area. The automatic access of the smart device can be completed, which simplifies the access process of the smart device and improves the access efficiency of the smart device. In addition, the access status of the smart device can be synchronously updated, making it easier for users to find smart devices that have not completed the access connection, thereby improving the success rate of smart device access and reducing the possibility of users failing to successfully control the smart device.

[0130] The exemplary embodiment of the present disclosure provides a device access method, which is applied to manage devices, such as Figure 8 As shown, the access method of the device shown in the present disclosure includes:

[0131] Step S801: Establish mapping relationship information of a target device according to the location of a preset area.

[0132] Step S802: Receive a device association request.

[0133] Step S803: Determine first association information corresponding to the target device according to the device association request.

[0134] Step S804: Update the first association information corresponding to the target device to the second association information corresponding to the target device according to the first identity information of the target device.

[0135] Step S805: Receive a device access request sent by the device to be accessed.

[0136] Step S806: Verify whether the device to be accessed is the target device according to the second identity information of the device to be accessed and the second association information of the target device.

[0137] Step S807: In response to the device to be connected being the target device, device association information is sent to enable the device to be connected to complete the access connection.

[0138] Step S808: In response to receiving the access completion instruction, the access status of the device to be accessed is updated to already accessed.

[0139] Among them, the implementation method of steps S801-S807 is the same as Figure 5 The implementation method in the embodiment shown is the same as that in step S808. Figure 6 The implementation methods in the illustrated embodiments are the same and will not be described again herein.

[0140] In the present disclosure, the management device establishes mapping relationship information of the target device according to the position of the preset area in the association information of the target device, and after receiving the device association request, determines the association information corresponding to the target device according to the device association request, and then updates the association information corresponding to the identity information of the target device in the device association request. After receiving the device access request automatically sent by the device to be accessed, it verifies whether the device to be accessed is the target device according to the identity information of the device to be accessed in the device access request and the updated association information. After determining that the device to be accessed is the target device, it sends the device association information to the device to be accessed so that the device to be accessed can automatically access and connect. After receiving the access completion instruction sent by the device to be accessed, the management device updates the access status of the device to be accessed. In this way, the first association information of each target device can be clearly displayed to facilitate equipment installers to install the target device. At the same time, users only need to set the installation position of each target device in the preset area, and there is no need to associate each specific smart device with the position of the smart device in the preset area. The automatic access of the smart device can be completed, which simplifies the access process of the smart device and improves the access efficiency of the smart device. In addition, the access status of the smart device can be synchronously updated, making it easier for users to find smart devices that have not completed the access connection, thereby improving the success rate of smart device access and reducing the possibility of users failing to successfully control the smart device.

[0141] The exemplary embodiment of the present disclosure provides a device access apparatus. Figure 9 As shown, a block diagram of an access device of a device shown in the present disclosure.

[0142] The block diagram includes: a first receiving module 91 , an updating module 92 , a second receiving module 93 , a verifying module 94 and a sending module 95 .

[0143] Among them, the first receiving module 91 is used to receive a device association request, and the device association request includes the first identity information of the target device. The updating module 92 is used to update the first association information corresponding to the target device to the second association information according to the first identity information. The second receiving module 93 is used to receive a device access request sent by the device to be accessed, and the device access request includes the identity information of the device to be accessed. The verification module 94 is used to verify whether the device to be accessed is the target device according to the identity information of the device to be accessed and the second association information. The sending module 95 is used to send device association information in response to the device to be accessed being the target device, so that the device to be accessed completes the access connection.

[0144] In an exemplary embodiment of the present disclosure, the access device of the device further includes a establishing module.

[0145] The establishing module is used to establish mapping relationship information of the target device according to the position of the preset area, and the mapping relationship information includes the first association information.

[0146] In an exemplary embodiment of the present disclosure, the first association information includes at least one of a location, a device type, a quantity, and a device identification of the target device.

[0147] In an exemplary embodiment of the present disclosure, the access device of the equipment further includes a determination module.

[0148] The determination module is used to determine the first association information corresponding to the target device according to the device association request.

[0149] In an exemplary embodiment of the present disclosure, the device association request includes the location and device type of the target device in a preset area;

[0150] The determination module is used to determine, according to the location and device type of the target device in the preset area, the first association information in the mapping relationship information that matches the location and device type of the target device in the preset area.

[0151] In an exemplary embodiment of the present disclosure, the update module 92 is also used to determine the second identity information of the target device based on the first identity information of the target device, and to associate the first identity information of the target device and the second identity information of the target device with the corresponding first association information to form the second association information of the target device.

[0152] In an exemplary embodiment of the present disclosure, the verification module 94 is also used to determine whether the second identity information of the device to be accessed matches the second identity information corresponding to the second association information, and in response to the second identity information of the device to be accessed matching the second identity information corresponding to the second association information, determine that the device to be accessed is the target device.

[0153] In an exemplary embodiment of the present disclosure, the first identity information includes a unique identification code;

[0154] The second identity information includes at least one of device MAC address information and device ID information.

[0155] In an exemplary embodiment of the present disclosure, the access device of the device further includes a status update module.

[0156] The state updating module is used for updating the access state of the target device to connected in response to receiving the access completion instruction.

[0157] Regarding the access device of the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0158] Figure 10 1 is a block diagram of an electronic device 1000 according to an exemplary embodiment. For example, the electronic device 1000 may be a mobile phone, a computer, a digital broadcast terminal device, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0159] Reference Figure 10 , the electronic device 1000 may include one or more of the following components: a processing component 1002 , a memory 1004 , a power component 1006 , a multimedia component 1008 , an audio component 1010 , an input / output (I / O) interface 1012 , a sensor component 1014 , and a communication component 1016 .

[0160] The processing component 1002 generally controls the overall operation of the electronic device 1000, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 1002 may include one or more modules to facilitate the interaction between the processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate the interaction between the multimedia component 1008 and the processing component 1002.

[0161] The memory 1004 is configured to store various types of data to support operations on the electronic device 1000. Examples of such data include instructions for any application or method operating on the electronic device 1000, contact data, phone book data, messages, pictures, videos, etc. The memory 1004 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0162] The power supply component 1006 provides power to various components of the electronic device 1000. The power supply component 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 1000.

[0163] The multimedia component 1008 includes a screen that provides an output interface between the electronic device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front camera and / or a rear camera. When the electronic device 1000 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0164] The audio component 1010 is configured to output and / or input audio signals. For example, the audio component 1010 includes a microphone (MIC), and when the electronic device 1000 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1004 or sent via the communication component 1016. In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.

[0165] I / O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0166] The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the electronic device 1000. For example, the sensor assembly 1014 can detect the open / closed state of the electronic device 1000, the relative positioning of components, such as the display and keypad of the electronic device 1000, and the sensor assembly 1014 can also detect the position change of the electronic device 1000 or a component of the electronic device 1000, the presence or absence of user contact with the electronic device 1000, the orientation or acceleration / deceleration of the electronic device 1000, and the temperature change of the electronic device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0167] The communication component 1016 is configured to facilitate wired or wireless communication between the electronic device 1000 and other devices. The electronic device 1000 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0168] In an exemplary embodiment, the electronic device 1000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0169] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1004 including instructions, and the instructions can be executed by the processor 1020 of the electronic device 1000 to complete the control method of the above application. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0170] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables a processing device of the electronic device to execute a control method of an application provided by an exemplary embodiment of the present disclosure.

[0171] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0172] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for accessing a device, It is characterized in that The device access method includes: receiving a device association request, wherein the device association request includes first identity information of a target device; updating the first association information corresponding to the target device to the second association information corresponding to the target device according to the first identity information of the target device; Receiving a device access request sent by a to-be-accessed device, wherein the device access request includes second identity information of the to-be-accessed device; Verifying whether the device to be accessed is the target device according to the second identity information of the device to be accessed and the second association information of the target device; In response to the device to be connected being the target device, device association information is sent so that the device to be connected completes the access connection.

2. The device access method according to claim 1, It is characterized in that The device access method further includes: Mapping relationship information of the target device is established according to the position of the preset area, and the mapping relationship information includes the first association information.

3. The device access method according to claim 2, It is characterized in that The first association information includes at least one of the location, device type, quantity, and device identification of the target device.

4. The device access method according to claim 2, It is characterized in that The device access method further includes: Determine first association information corresponding to the target device according to the device association request.

5. The device access method according to claim 4, It is characterized in that The device association request includes the location and device type of the target device in a preset area; The determining, according to the device association request, first association information corresponding to the target device includes: According to the location and device type of the target device in the preset area, the first association information in the mapping relationship information that matches the location and device type of the target device in the preset area is determined.

6. A method for accessing a device according to any one of claims 1 to 5, It is characterized in that The updating of the first association information corresponding to the target device to the second association information of the target device according to the first identity information of the target device comprises: Determine second identity information of the target device according to the first identity information of the target device; The first identity information of the target device and the second identity information of the target device are associated with the corresponding first association information to form the second association information of the target device.

7. The device access method according to claim 6, It is characterized in that The verifying whether the device to be accessed is the target device according to the second identity information of the device to be accessed and the second association information of the target device includes: Determine whether the second identity information of the device to be connected matches the second identity information corresponding to the second association information; In response to the second identity information of the device to be accessed matching the second identity information corresponding to the second association information, it is determined that the device to be accessed is the target device.

8. The device access method according to claim 4, It is characterized in that The first identity information includes a unique identification code; The second identity information includes at least one of device MAC address information and device ID information.

9. A method for accessing a device according to any one of claims 1, 2 or 4, It is characterized in that The device access method further includes: In response to receiving the access completion instruction, the access status of the device to be accessed is updated to already accessed.

10. The method for accessing a device according to claim 1, It is characterized in that The device to be connected completes the access connection through power line communication.

11. A device access device, It is characterized in that The access device of the device comprises: A first receiving module, configured to receive a device association request, wherein the device association request includes first identity information of a target device; An updating module, configured to update the first association information corresponding to the target device to the second association information according to the first identity information; A second receiving module is used to receive a device access request sent by a to-be-accessed device, wherein the device access request includes identity information of the to-be-accessed device; A verification module, used to verify whether the device to be accessed is the target device according to the identity information of the device to be accessed and the second association information; The sending module is used for sending device association information in response to the device to be connected being the target device, so that the device to be connected completes the access connection.

12. An electronic device, It is characterized in that The electronic device comprises: processor; a memory for storing processor-executable instructions; The processor is configured to execute executable instructions in the memory to implement the control method of the application program according to any one of claims 1 to 10.

13. A non-transitory computer-readable storage medium having executable instructions stored thereon, It is characterized in that When the executable instructions are executed by a processor, the control method of the application program according to any one of claims 1 to 10 is implemented.

Citation Information

Patent Citations

  • Smart home equipment access authentication method and device, gateway and storage medium

    CN110830333A

  • Association Update Message and Method for Updating Associations in a Mesh Network

    US20140334475A1

  • Optimizing the use of shared radio frequency medium using intelligent suppression of probe request frames

    US20160255661A1

  • Infrastructure coordinated media access control address assignment

    US20170013445A1