Equipment access method and electronic equipment
By dynamically adjusting the access priority of smart devices, and prioritizing access to the devices currently needed by users based on user status information, solving the problem of access delay of devices in smart homes and improving the user's control experience.
Patent Information
- Application Number
- CN202311127501.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2025-02-28
AI Technical Summary
In a smart home environment, it takes a period of time for smart devices to access a wireless network, resulting in control delays or control failures, affecting the user experience.
By obtaining user status information, dynamically adjusting the access priority of the device to ensure that smart devices that users urgently need to use and control are preferred.
It reduces users' perception of the access delay of the overall equipment in the environment and ensures users' control experience of the equipment in the environment.
Smart Images

Figure CN119545481A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of artificial intelligence technology, and in particular to a device access method and an electronic device. Background Art
[0002] The Internet of Things can connect various types of devices, and the devices can exchange information to achieve intelligent management. The application of the Internet of Things is very wide. For example, it can be applied to many fields such as smart home, industrial production, disaster prevention monitoring, logistics tracking, smart grid, smart transportation, smart logistics, video surveillance, smart medical care, etc.
[0003] At present, in the field of smart home, in order to experience the security, convenience and comfort brought by the Internet of Things (IoT) devices (also called smart devices), more and more users install smart devices in environments such as homes or offices, or even install smart devices throughout the house (also called whole house intelligence, whole house smart home, smart housekeeper, etc.). Various smart devices can be connected to the wireless network to control each smart device through the wireless network, so that each smart device can realize different functions. However, it takes some time for the smart devices in the environment to access the wireless network. If the smart devices are not connected in time during this period, it is very easy to have control delays or control failures, affecting the user experience. Summary of the invention
[0004] The present application provides a device access method and an electronic device, which can dynamically adjust the access priority of the device based on the currently acquired user status information, reduce the user's perception of the access delay of the overall device in the environment, and ensure the user's control experience of the device in the environment.
[0005] In order to achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, a device access method is provided, which is applied to a first device. The method includes: when multiple smart devices are waiting to be accessed, obtaining user status information; when the status information obtained at the first time is the first status information, preferentially controlling the access of the smart device associated with the first status information among the multiple smart devices; when the status information obtained at the second time is changed to the second status information, changing to preferentially controlling the access of the smart device associated with the second status information among the multiple smart devices.
[0007] It can be understood that smart devices installed in environments such as homes or offices usually need to first access a central device and then access the cloud through the central device, or directly access the cloud, so as to achieve unified control, unified data analysis, cross-device intelligent linkage and other services through the convergence of smart device connections. Among them, the central device is generally a device that integrates business central services, resides in the environment, and has long-lasting power, such as smart TVs, smart routers, set-top boxes and other devices. In some scenarios, the central device can also serve as an edge cloud node, acting as an agent to manage all smart devices in the environment, edit device linkage rules, and execute device linkage as an edge rule engine. Therefore, the first device that executes the above-mentioned device access method can be a central device (also called a hub, central control system or host, etc.), or it can be a cloud server.
[0008] Optionally, the smart device can be a device that can access the central device or the cloud in the environment. It can include devices that can directly access the central device or the cloud, such as smart air conditioners, gateway devices, and routers. It can also include devices that need to access upstream devices (such as gateway devices) to indirectly access the central device or the cloud, such as Bluetooth sub-devices, low-power Bluetooth BLE sub-devices, and other gateway sub-devices. This solution does not limit the type of smart devices. In the solution provided in the first aspect above, when it is necessary to access multiple smart devices in the environment, the first device perceives the user's status information to give priority to accessing the smart device associated with the user's status information from the multiple smart devices to be accessed. To ensure that the smart devices that the user currently urgently needs to use and control can be accessed first, so that these priority access smart devices can respond to the user's use and control needs in a timely and rapid manner. And if it is perceived that the user's status information has changed, the first device can also dynamically adjust the access priority to correspond to the adjustment to give priority to accessing the smart device associated with the changed user's status information. In this way, the access priority of multiple smart devices can be dynamically adjusted based on the real-time perceived user's status information. This ensures that the smart devices that users urgently need to use and control can be accessed first in real time, reducing the user's perception of the access delay of the entire device in the environment and ensuring the user's control experience of the devices in the environment.
[0009] Optionally, the user status information acquired by the first device may refer to information that can help analyze the urgency of the user's current use or control of multiple smart devices.
[0010] In a possible implementation, the user's status information obtained by the first device may include current status information. The current status information can reflect the user's current behavior and, to a certain extent, can reflect the user's current use and control tendency for one or more smart devices. The smart device with the user's use and control tendency reflected by the current behavior is the smart device associated with the current status information. In this way, when it is necessary to access multiple smart devices in the environment, the first device can ensure that the smart device with the user's current use and control tendency is restored to a normal working state first by giving priority to accessing the smart device associated with the user's current behavior, and can respond to the user's use and control needs in a timely and rapid manner.
[0011] Since the first state information is the state information of the user obtained by the first device at the first time, and the second state information is the state information of the user obtained by the first device at the second time. Therefore, accordingly, the first state information includes the current state information determined by the first device at the first time (reflecting the current behavior of the user at the first time), and the second state information includes the current state information determined by the first device at the second time (reflecting the current behavior of the user at the second time). In this way, at the first time, the first device can give priority to accessing the smart device associated with the current behavior of the user at the first time. When the user's current behavior is perceived to have changed at the second time, the first device can dynamically adjust the access priority to correspond to the adjustment to give priority to accessing the smart device associated with the user's current behavior at the changed second time. In this way, it can ensure that smart devices with user usage and control tendencies at different times can restore normal working status first, reduce the user's perception of the access delay of the device in the environment at different times, and ensure the user's control experience of the devices in the environment at different times.
[0012] In one possible implementation, the current status information includes the user's current location information. The smart device associated with the user's current location information may be a smart device near the user's location. For example, the user is currently in the living room, and the associated smart device may be a smart screen, smart refrigerator, or other smart device in the living room. It can be understood that users usually have an urgent need to use and control the smart devices around them. Therefore, the first device can give priority to accessing smart devices near the user's location to ensure that the smart devices near the user's location can be restored to normal working state first.
[0013] In a possible implementation, the current state information may also include the next location information of the user. The smart device associated with the next location information of the user may be a smart device near the next location of the user. It is understandable that the user will have strong control and use requirements for the smart device near the location to be visited. Therefore, the first device may also give priority to accessing the smart device near the location to be visited, so as to ensure that the smart device near the location to be visited can also be restored to a normal working state first.
[0014] Optionally, the first device may preferentially access smart devices near the user's location, and then preferentially access smart devices near the location to which the user is about to go.
[0015] In one possible implementation, the current status information includes the user's current schedule information. The smart device associated with the user's current schedule information may be a smart device involved in the user's current schedule. For example, the user's current schedule is a video conference, and the associated smart device may be a laptop, smart light, smart projector, or other smart device in a conference room. It is understandable that users usually perform corresponding actions according to the planned schedule, so the need to use and control the smart devices involved in the planned schedule is also more urgent. Therefore, the first device may give priority to accessing the smart devices involved in the current schedule planned by the user to ensure that the current schedule planned by the user can proceed normally.
[0016] In a possible implementation, the current status information includes upcoming schedule information. The smart device associated with the upcoming schedule information may be the smart device involved in the upcoming schedule information. It can be understood that the user has an urgent need to use and control the smart device involved in the planned upcoming schedule. Therefore, the first device may preferentially access the smart device involved in the upcoming schedule planned by the user to ensure that the upcoming schedule planned by the user can proceed normally.
[0017] This solution does not limit the specific information type included in the current status information. The first device can also determine the access priority of multiple smart devices based on at least one type of current status information among the above multiple types.
[0018] In a possible implementation, the user's status information obtained by the first device may also include historical status information. Among them, the historical status information can reflect the user's common behavior, and can reflect the user's current high probability of using and controlling one or more smart devices. The smart device with a high probability of use and control tendency reflected by the common behavior is the smart device associated with the historical status information. In this way, when it is necessary to access multiple smart devices in the environment, the first device can ensure that the smart devices with a high probability of use and control tendency are restored to normal working state first by giving priority to accessing the smart devices associated with the user's common behavior, and can respond to the user's usage and control needs in a timely and rapid manner.
[0019] Since the first state information is the state information of the user obtained by the first device at the first time, and the second state information is the state information of the user obtained by the first device at the second time. Therefore, accordingly, the first state information includes the historical state information determined by the first device at the first time (reflecting the common behavior of the user at the first time), and the second state information includes the historical state information determined by the first device at the second time (reflecting the common behavior of the user at the second time). In this way, at the first time, the first device can give priority to accessing the smart device associated with the common behavior of the user at the first time. When the user's common behavior is perceived to have changed at the second time, the first device can dynamically adjust the access priority to correspond to the adjustment to give priority to accessing the smart device associated with the common behavior of the user at the changed second time. In this way, it can ensure that smart devices with a high probability of use and control tendency at different times can restore normal working state first, reduce the user's perception of the access delay of the device in the environment at different times, and ensure the user's control experience of the device in the environment at different times.
[0020] In one possible implementation, the historical status information includes the user's historical habit information. The historical habit information includes device usage habits and / or mobile path habits. Among them, the smart device associated with the device usage habits may be a smart device that the user frequently uses, or a smart device that has been used recently, and this solution does not limit this. In this way, the first device can give priority to accessing the smart device that the user is accustomed to using, to ensure that the smart device that is accustomed to using can be restored to a normal working state first. Among them, the smart device associated with the mobile path habit may be a smart device near the user's frequently used location, or a smart device near the user's frequently used path, and this solution does not limit this. In this way, the first device can give priority to accessing the smart device near the user's frequently used location or frequently used path, to ensure that the smart device near the frequently used location or frequently used path can be restored to a normal working state first.
[0021] In a possible implementation, the historical status information includes the user's historical schedule information. The smart device associated with the historical schedule information may be a smart device involved in the user's historical schedule. For example, the user historically habitually schedules a video conference at the current time, and the associated smart device may be a laptop, smart light, smart projector, or other smart device in the conference room. In this way, the first device may preferentially access the smart device involved in the current schedule of the habitual plan to ensure that the habitual plan can proceed normally.
[0022] This solution does not limit the specific information type included in the historical status information. The first device can also determine the access priority of multiple smart devices based on at least one type of historical status information among the above multiple types.
[0023] Optionally, the first device may also combine the historical status information and the current status information to determine the access priority of multiple smart devices. As an example, the first device may prioritize access to smart devices associated with the current status information before prioritizing access to smart devices associated with the historical status information.
[0024] In a possible implementation, after giving priority to controlling the access of a smart device associated with the first status information among multiple smart devices, the device access method further includes: when the status information is changed to the third status information at the third time, continuing to control the access of the smart device associated with the third status information among the multiple smart devices. In this way, after giving priority to accessing the smart device associated with the current user status information, if the current user status information changes, the smart device associated with the changed user status information can also continue to be accessed.
[0025] In a possible implementation, the first state information includes a first location where the user is currently located determined at a first time, and the third state information includes a third location where the user is currently located determined at a third time. After preferentially controlling the access of a smart device associated with the first location among multiple smart devices, the device access method further includes: in response to the user moving from the first location to the third location, continuing to control the access of a smart device associated with the third location among multiple smart devices. In this way, the first device senses the user's current location in real time, so as to preferentially access smart devices around the user during the process of the user moving from one location to another.
[0026] In a possible implementation, the third state information further includes the device usage habits of the user determined at the third time. The device usage habits may be related to the third time. For example, when the third time is 8 p.m., the user habitually uses smart devices such as smart screens, smart air conditioners, and smart speakers. When the third time is 12 noon, the user habitually uses smart devices such as smart refrigerators and smart dishwashers.
[0027] The above-mentioned control of access to the smart devices associated with the first location among the multiple smart devices may include: determining the access order of each smart device associated with the first location according to the device priority and / or control priority, wherein the device priority is determined according to the importance of the device, and the control priority is determined according to the device usage habits of the user; and accessing the smart devices associated with the first location according to the access order. In this way, when the first device preferentially accesses multiple smart devices near the user's location, it can sort the access of each smart device among the multiple smart devices near the user's location according to the importance of the device and / or the user's usage frequency, so as to complete the access of the multiple smart devices near the user's location according to the sorting.
[0028] In a possible implementation, the third state information further includes the user's moving path habits determined at the third time, and the moving path habits include a common location or a common path associated with the third location. The common location associated with the third location may be a common location closest to the third location or a common location around the third location. The common path associated with the third location may be a common path passing through the third location or a common path around the third location.
[0029] After continuing to control the access of the smart device associated with the third location among the multiple smart devices, the device access method further includes: continuing to control the access of the smart devices associated with the common location or common path. In this way, after the first device preferentially accesses the smart devices near the user's location, it can give secondary priority to accessing the smart devices near the user's habitual location or habitual action path.
[0030] In a possible implementation, the above-mentioned priority control of access of the smart device associated with the first state information among the multiple smart devices includes: receiving access information sent by the multiple smart devices; and preferentially accessing the smart device associated with the first state information to the first device according to the access information sent by the smart device associated with the first state information. In this way, the first device implements priority access to the smart device that the user currently urgently needs to use and control by preferentially processing the access message of the smart device that the user currently urgently needs to use and control.
[0031] In a possible implementation, the first device is connected to the second device in communication, and the above-mentioned priority control of access to the smart device associated with the first state information among the multiple smart devices includes: determining the first access policy according to the first state information; sending the first access policy to the second device, and the first access policy includes a policy of priority control of at least one smart device among the smart devices associated with the first state information to access the second device. In this way, among the smart devices that the user currently urgently needs to use and control, there is at least one smart device that is responsible for access by other devices. The first device can issue the corresponding access policy to the other devices, so that the other devices can implement priority access to the smart devices that the user currently urgently needs to use and control according to the issued access policy.
[0032] In a possible implementation, the first device is connected in communication with the second device, and priority is given to controlling the access of a smart device associated with the first status information among multiple smart devices, including: sending the first status information to the second device, and the first status information is used to indicate that the second device should prioritize the access of at least one smart device among the smart devices associated with the first status information. In this way, when there is at least one smart device controlled and managed by other devices (such as other hub devices) among the smart devices that the user currently urgently needs to use and control, the first device (main hub device) can also transmit the perceived first status information to other devices, and the other devices decide the device access priority based on the first status information.
[0033] Optionally, when the first device is a hub device, the first device may also report the first status information to the cloud server, and the cloud server may issue relevant access policies to the hub device based on the first status information, so that the hub device can implement priority access to the smart devices that the user currently urgently needs to use and control according to the access policies issued by the cloud. Alternatively, the hub device may issue the relevant access policies issued by the cloud server to other devices, so that other devices can implement priority access to the smart devices that the user currently urgently needs to use and control according to the issued access policies.
[0034] In a possible implementation, before obtaining the user's status information, the device access method also includes: when multiple smart devices are waiting to be accessed, giving priority to controlling the access of basic capability devices among the multiple smart devices, and the basic capability devices are used to obtain the first data; obtaining the user's status information includes: obtaining the first data sent by the basic capability device after access, and the first data is used to determine the user's status information. In this way, when it is necessary to access multiple smart devices in the environment, the first device can give priority to accessing the basic capability device used to perceive the user's status information, ensuring that the basic capability device can give priority to restoring the normal working state and completing the reporting of relevant data. Thereby, the first device can obtain the user's status information in real time based on the basic capability device after access.
[0035] In a possible implementation, when multiple smart devices are waiting to be connected indoors, the device access method further includes: if no one is indoors, obtaining the user's historical status information, the historical status information includes the user's historical habit information or historical schedule information, the historical habit information includes device usage habits and / or moving path habits; based on the historical status information, giving priority to controlling the access of smart devices associated with the historical status information among multiple smart devices. In this way, when the user's current behavior cannot be perceived indoors, the first device can adjust the device access priority based on the user's historical behavior to give priority to accessing smart devices associated with the user's common behavior. Therefore, even if the user suddenly returns indoors, the user's control experience of the devices in the environment can be guaranteed, reducing the user's perception of the access delay of the overall devices in the environment when the user suddenly returns indoors.
[0036] In a possible implementation, multiple smart devices are whole-house devices, and when multiple smart devices are waiting to be connected, the user's status information is obtained, including: when the whole-house devices are powered off and restarted or started for the first time, the user's status information is obtained. In this way, when the whole-house devices are powered off and restarted or started for the first time, the first device can preferentially access the smart devices in the whole-house devices that the user currently urgently needs to use and control according to the user's status information, thereby reducing the user's perception of the access delay of the whole-house devices and ensuring the user's control experience of the whole-house devices.
[0037] In a possible implementation, the multiple smart devices are multiple smart devices in one or more device subsystems in the whole house equipment. When the multiple smart devices are waiting to be connected, the user's status information is obtained, including: when receiving a first instruction, the user's status information is obtained, and the first instruction is used to trigger the re-access of multiple smart devices in one or more device subsystems; wherein the first instruction is generated when a fault is detected in the smart device in one or more device subsystems, or the first instruction is generated when a restart operation of the user for one or more device subsystems is received. In this way, when restarting the local device in the whole house equipment, the first device can also give priority to accessing the smart device that the user currently urgently needs to use and control in the local device according to the user's status information, thereby reducing the user's perception of the access delay of the local device and ensuring the user's control experience of the local device.
[0038] In a possible implementation, the access of the above-mentioned smart device may refer to the smart device accessing the network, or may refer to the smart device accessing the upstream device. In this way, the first device can not only control itself to preferentially access the smart device that the user currently urgently needs to use and control, but also control the upstream device to preferentially access the smart device that the user currently urgently needs to use and control when the upstream device accesses multiple smart devices connected to it.
[0039] In a second aspect, a device access device is provided, which has the function of implementing the first device behavior in the above-mentioned first aspect and any method in the possible implementation of the first aspect. The function can be implemented by hardware, or it can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-mentioned functions. As an example, the device access device includes an acquisition module and an execution module. Among them, the acquisition module is used to obtain the user's status information when multiple smart devices are waiting to be connected. The execution module is used to give priority to controlling the access of smart devices associated with the first status information among multiple smart devices when the status information acquired at the first time is the first status information. The execution module is also used to change to give priority to controlling the access of smart devices associated with the second status information among multiple smart devices when the status information acquired at the second time is changed to the second status information.
[0040] In a possible implementation, the first state information includes current state information and / or historical state information determined at a first time, and the second state information includes current state information and / or historical state information determined at a second time.
[0041] In one possible implementation, the current status information includes the user's current location information, or the user's next destination location information, or the user's current schedule information; the historical status information includes the user's historical habit information or historical schedule information, and the historical habit information includes device usage habits and / or moving path habits.
[0042] In a possible implementation manner, the execution module is further configured to: when the state information is acquired at the third time and is changed to the third state information, continue to control the access of the smart device associated with the third state information among the multiple smart devices.
[0043] In a possible implementation, the first state information includes a first location where the user is currently located determined at a first time, and the third state information includes a third location where the user is currently located determined at a third time. The execution module is further configured to: after preferentially controlling the access of a smart device associated with the first location among the multiple smart devices, in response to the user moving from the first location to the third location, continue to control the access of a smart device associated with the third location among the multiple smart devices.
[0044] In a possible implementation, the third status information also includes the device usage habits of the user determined at the third time, and the execution module is also used to: determine the access order of each smart device among the smart devices associated with the first position according to the device priority and / or control priority, wherein the device priority is determined according to the importance of the device, and the control priority is determined according to the device usage habits of the user; and access the smart devices associated with the first position in accordance with the access order.
[0045] In one possible implementation, the third state information also includes the user's movement path habits determined at the third time, and the movement path habits include common locations or common paths associated with the third location; the execution module is also used to: after continuing to control the access of smart devices associated with the third location among multiple smart devices, continue to control the access of smart devices associated with the common locations or common paths.
[0046] In a possible implementation, the execution module includes a receiving unit and an access unit. The receiving unit is used to receive access information sent by multiple smart devices. The access unit is used to preferentially access the smart device associated with the first state information to the first device based on the access information sent by the smart device associated with the first state information.
[0047] In a possible implementation, the first device is connected to the second device for communication, and the execution module includes a decision unit and a sending unit. The decision unit is used to determine a first access strategy based on the first state information. The sending unit is used to send the first access strategy to the second device, and the first access strategy includes a strategy for preferentially controlling at least one smart device associated with the first state information to access the second device.
[0048] In a possible implementation, the first device is communicatively connected to the second device, and the execution module includes a sending unit for sending first status information to the second device, wherein the first status information is used to indicate that the second device preferentially controls access to at least one of the smart devices associated with the first status information.
[0049] In a possible implementation, the device access apparatus further includes a basic access module, which is used to preferentially control the access of basic capability devices among the multiple smart devices when multiple smart devices are waiting to be accessed, and the basic capability devices are used to obtain the first data. In this case, the acquisition module is used to: obtain the first data sent by the basic capability device after access, and the first data is used to determine the user's status information.
[0050] In a possible implementation, the acquisition module is further used to: if no one is in the room, obtain the user's historical status information, the historical status information includes the user's historical habit information or historical schedule information, the historical habit information includes device usage habits and / or moving path habits. The execution module is further used to: according to the historical status information, preferentially control the access of the smart device associated with the historical status information among the multiple smart devices.
[0051] In a possible implementation, the above-mentioned multiple smart devices are whole-house devices, and the above-mentioned acquisition module is used to obtain the user's status information when the whole-house devices are powered off and restarted or started for the first time.
[0052] In a possible implementation, the above-mentioned multiple smart devices are multiple smart devices in one or more device subsystems in the whole house equipment, and the above-mentioned acquisition module is used to: obtain the user's status information when receiving the first instruction, and the first instruction is used to trigger the re-access of multiple smart devices in one or more device subsystems; wherein the first instruction is generated when a failure is detected in the smart device in one or more device subsystems, or the first instruction is generated when a restart operation of the user for one or more device subsystems is received.
[0053] In a possible implementation manner, the access of the smart device may refer to the smart device accessing a network, or may refer to the smart device accessing an upstream device.
[0054] In a third aspect, an electronic device is provided, comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the device access method in any possible implementation of the first aspect. Optionally, the electronic device may be a hub device or a cloud server.
[0055] In a fourth aspect, a smart home system (also referred to as a device access system) is provided, comprising the electronic device provided in the third aspect and a plurality of smart devices.
[0056] In a fifth aspect, a chip system is provided, which is applied to an electronic device. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line. The interface circuit is used to receive a signal from a memory of the electronic device and send the signal to the processor, where the signal includes a computer instruction stored in the memory. When the processor executes the computer instruction, the electronic device executes the device access method in any possible implementation of the first aspect above.
[0057] In a sixth aspect, a computer-readable storage medium is provided, comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the device access method in any possible implementation of the first aspect.
[0058] In a seventh aspect, a computer program product is provided. When the computer program product runs on a computer, the computer executes the device access method in any possible implementation of the first aspect.
[0059] It can be understood that the beneficial effects that can be achieved by the device of the second aspect and any possible implementation thereof, the electronic device of the third aspect, the smart home system of the fourth aspect, the chip system of the fifth aspect, the computer-readable storage medium of the sixth aspect, and the computer program product of the seventh aspect can be referred to the beneficial effects of the first aspect and any possible implementation thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 Schematic diagram of the architecture of the smart home system provided in the embodiment of the present application Figure 1 ;
[0061] Figure 2 Schematic diagram of the architecture of the smart home system provided in the embodiment of the present application Figure 2 ;
[0062] Figure 3 Schematic diagram of the architecture of the smart home system provided in the embodiment of the present application Figure 3 ;
[0063] Figure 4 Schematic diagram of the architecture of the smart home system provided in the embodiment of the present application Figure 4 ;
[0064] Figure 5 Scenario diagram provided for the embodiment of the present application Figure 1 ;
[0065] Figure 6 Scenario diagram provided for the embodiment of the present application Figure 2 ;
[0066] Figure 7 Scenario diagram provided for the embodiment of the present application Figure 3 ;
[0067] Figure 8 Scenario diagram provided for the embodiment of the present application Figure 4 ;
[0068] Fig. 9 A schematic diagram of a device access method provided in an embodiment of the present application;
[0069] Fig.10 A schematic diagram of a human-computer interaction interface provided in an embodiment of the present application. DETAILED DESCRIPTION
[0070] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the following, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. It should be understood that in the present application, "at least one" refers to one or more, and "multiple" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural.
[0071] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.
[0072] With the development of Internet of Things technology, various smart devices have entered people's lives. At present, a concept of smart home has been proposed for the home use scenarios of smart devices. That is, with the residence as the platform, using the Internet of Things, automatic control and other technologies, the smart home can combine various smart devices in the user's home to create a healthy, safe, comfortable, low-carbon and convenient personalized home life.
[0073] Among them, the smart devices in the home can be household devices, such as audio and video equipment (such as large-screen devices, Bluetooth speakers, etc.), lighting equipment (such as ceiling lights, table lamps, spotlights, etc.), environmental control equipment (such as air conditioners, air purifiers, etc.), anti-theft alarm equipment (such as human sensors, cameras, etc.), etc., and can also be gateway devices (such as switches), router devices, etc., and can also be gateway sub-devices (such as Bluetooth devices, wireless transceiver devices RF433). The embodiments of the present application do not limit the types of smart devices in the home.
[0074] At present, multiple smart devices in a home or all smart devices installed in the whole house (i.e., whole-house devices) need to be connected to a wireless network when used for the first time or when powered on again after a power outage, so as to achieve unified management of multiple smart devices in the smart home through the wireless network.
[0075] As an access solution, the smart devices may be accessed one by one in the order in which they are discovered. Figure 1As shown, the smart home scene includes smart device 1, smart device 2, smart device 3, ..., smart device n. When smart devices 1 to n are used for the first time or powered on again after power failure, they need to be connected to the cloud or edge nodes to connect to the network and realize interconnection.
[0076] Each smart device can enter the waiting state and broadcast the access message so that the smart device can be discovered by the edge node. Then the edge node or the cloud can access the smart devices one by one according to the message discovery order of the smart devices, such as smart device 1, smart device 2, and smart device n. That is, the order in which the edge node or the cloud accesses the smart devices is also smart device 1, smart device 2, and smart device n.
[0077] In some scenarios, such as Figure 1 As shown, the smart home scene may also include gateway sub-device 1, gateway sub-device 2, ..., gateway sub-device n. Among them, gateway sub-devices 1 to n are devices that do not have the ability to directly access the network, and they need to access other devices to access the network through other devices. Figure 1 As shown, gateway sub-devices 1-n rely on smart device 3 to access the network. Similarly, smart device 3 can access the gateway sub-devices one by one according to the discovery order of the access messages of the gateway sub-devices, such as gateway sub-device 1, gateway sub-device 2, and gateway sub-device n.
[0078] It is understandable that if the above access solution is adopted, as the number of smart devices in the home continues to grow, the time it takes for smart devices in the home to access the network when they are powered on again will also become longer and longer. If the user has the need to control the smart device during this period of time, it is very easy to encounter the problem of unresponsiveness due to the device not being connected to the network, resulting in poor user control experience of the smart device during this period of time. Users can only successfully control the smart device after waiting for a certain period of time. And for some important smart devices, such as gateway devices, sensors, etc., they also need to be connected according to the message discovery sequence like ordinary devices, resulting in slow access to some important smart devices, and it takes a long time to restore the user's normal control experience.
[0079] As another access solution, devices can also be accessed in a priority order pre-configured by the manufacturer. Figure 2 As shown, the smart home scene includes smart device 1, smart device 2, smart device 3, ..., smart device n. If the pre-configured priority order is smart device 2>smart device 1>smart device n. When the edge node receives access messages from smart device 1, smart device 2, and smart device n, the edge node can access smart device 2, smart device 1, and smart device n in turn according to the pre-configured priority order.
[0080] Similarly, when gateway sub-devices 1 to n rely on smart device 3 to access the network through a proxy, if the pre-configured priority order is gateway sub-device 2>gateway sub-device 1>gateway sub-device n, smart device 3 can also access gateway sub-device 2, gateway sub-device 1, and gateway sub-device n in sequence according to the pre-configured priority order.
[0081] It is understandable that users in the scenario will not strictly control smart devices according to the preset priority. If the above access solution is adopted, once the priority of the smart device that the user currently needs to control is low, the device may not be able to respond because it has not yet connected to the network. Therefore, this access solution still cannot determine the time when the user can control the device, and the user's control experience of the smart device is not good.
[0082] Based on the above problems, the embodiments of the present application provide a device access method, which can dynamically adjust the access priority of the device in real time according to the urgency of the user's current demand for the device. This ensures priority access to the devices that the user urgently needs, and responds to the user's control needs in a timely and rapid manner. This reduces the user's perception of the access delay of the overall device in the environment and ensures the user's control experience of the devices in the environment.
[0083] It is understandable that the device access method provided in the embodiment of the present application is not limited to the applicable fields, for example, it can be used in the field of the Internet of Things where everything is connected, such as smart home, industrial production, video surveillance, etc. This application will take the field of smart home as an example to specifically explain the device access method.
[0084] like Figure 3 As shown, an embodiment of the present application provides a schematic diagram of the architecture of a smart home system (also referred to as a device access system). The smart home system 300 may include multiple smart devices 310. Among them, the smart devices may be all devices in the home that can access the communication network. The scenarios in which the smart devices access the communication network may include scenarios in which the smart devices directly access the communication network, scenarios in which the smart devices rely on other devices as agents to access the communication network, and the like.
[0085] Optionally, the smart device 310 can be a household device, such as a smart door lock, a smart speaker, a smart curtain, a smart air conditioner, a smart camera, a smart TV, a sweeping robot, a smart socket, a smart desk lamp, a smart refrigerator, a smart water heater, etc.
[0086] Optionally, the smart device 310 may also be a sensor device for sensing surrounding environmental information, such as a camera, an infrared sensor, a human motion sensor, an air quality monitor, a gas monitor, a flood monitor, a smoke alarm, a valve monitor, etc. The sensor device in the embodiment of the present application may sense whether a user exists, and may also sense the user's location information.
[0087] Optionally, the smart devices 310 can be interconnected via a communication network. The communication network can be a wired network or a wireless network. For example, the communication network can be a local area network (LAN) or a wide area network (WAN), such as the Internet. The above-mentioned communication network can be implemented using any known network communication protocol, and the above-mentioned network communication protocol can be various wired or wireless communication protocols, such as Ethernet, universal serial bus (USB), FIREWIRE, global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), Bluetooth, wireless fidelity (Wi-Fi), NFC, voice over Internet protocol (VoIP), communication protocols supporting network slicing architecture or any other suitable communication protocols.
[0088] For example, the smart devices 310 may establish a Wi-Fi connection through a Wi-Fi network. For another example, multiple smart devices 310 may be connected to each other through one or more servers after logging into the same account.
[0089] Optionally, the smart device 310 can also be a network access device for connecting to a local area network or the Internet. For example, a router, a gateway device, etc. For example, one or more routers can be deployed in the whole house to form a local area network, or to access a local area network or the Internet. After one or more household devices in the home are connected to the router, data can be transmitted with other devices in the local area network or other devices in the Internet through the network channel provided by the router.
[0090] Optionally, the smart device 310 can also be a gateway sub-device, which does not have the ability to directly connect to the Internet and needs to rely on other devices to access the local area network or the Internet. The other device may refer to a smart device that has networking capabilities and can mount sub-devices, such as a gateway device that has the ability to manage certain protocol sub-devices. Among them, gateway sub-devices include Bluetooth sub-devices, low-power Bluetooth (bluetooth low energy, BLE) sub-devices, power line communication (power line communication, PLC) sub-devices, Zigbee (Zigbee) sub-devices, etc. The connection between the gateway device and the gateway sub-device can be Bluetooth protocol, PLC protocol, Zigbee protocol, etc. Gateway devices of different communication protocols manage gateway sub-devices of their respective corresponding protocols.
[0091] Optionally, the plurality of smart devices 310 may be divided into one or more device subsystems according to the type and capability of the smart device 310. The types of the device subsystems may include a lighting subsystem, an air conditioning subsystem, a sunshade subsystem, an environmental monitoring subsystem, a safety protection subsystem, a network subsystem, a water use subsystem, and the like.
[0092] Optionally, the smart device 310 can also be classified according to the spatial attributes of the smart device 310. The spatial attributes of the above-mentioned smart device 310 can indicate the location of the smart device 310. For example, the spatial attribute of the smart device 310 is kitchen, which can indicate that the smart device 310 is located in the kitchen. According to the spatial attributes of the smart device 310, multiple smart devices 310 can be divided into device subsystems corresponding to each space. Among them, a device subsystem can include multiple smart devices 310 with the same spatial attributes. For example, smart devices such as smart table lamps, smart air conditioners, and smart curtains in the living room can be used as device subsystems in the living room.
[0093] like Figure 3 As shown, the smart home system 300 may also include a hub device 320, also referred to as a hub, a central control system or a host, etc. The hub device 320 may be used to manage each smart device 310 in the smart home system 300. For example, the hub device 320 may obtain the working status of each smart device 310. For another example, the hub device 320 may send a corresponding control instruction to the smart device 310 to control the smart device 310 to implement a corresponding function. Optionally, each smart device 310 may also send a corresponding control instruction to the hub device 320 to forward the control instruction to other smart devices via the hub device 320.
[0094] Optionally, the hub device 320 may execute the device access method provided in the present application to dynamically adjust the access priority of the smart device 310 .
[0095] Optionally, only one central device 320 may be provided in the whole house. The sensor devices in each room or each area may send the detected user's location information to the central device 320.
[0096] Optionally, multiple hub devices 320 may be provided throughout the house. Figure 4 As shown, the smart home system 300 may include two hub devices 320. Each hub device 320 manages a plurality of smart devices 310 in the smart home system 300.
[0097] Optionally, a central device may be provided in each room or area of the house. The sensor device in each room or area may send the detected user's location information to the central device in the room or area.
[0098] Optionally, some rooms or areas may not need to be equipped with a central device; that is, not all rooms or areas may be equipped with a central device. For example, a dining room may not be equipped with a central device. The dining room and the entrance corridor may share a central device, or the dining room and the living room may share a central device.
[0099] Optionally, a central device may be provided in each of the above-divided device subsystems. Figure 4 As shown, when the multiple smart devices 310 in the smart home system 300 are divided into device subsystem 1 and device subsystem 2, a central device 320 is respectively set in the device subsystem 1 and the setting subsystem 2.
[0100] In some scenarios, multiple hub devices 320 in the whole house can be independent and communicate with the cloud separately. The cloud can be used to manage each smart device 310 in the smart home system 300 through multiple hub devices 320. For example, the cloud can obtain the working status of each smart device 310 through multiple hub devices 320. For another example, the cloud can send corresponding control instructions to each hub device 320 to control each hub device 320 to achieve corresponding functions.
[0101] In some scenarios, multiple hub devices 320 in the whole house can also communicate with each other. Optionally, among the multiple hub devices in the whole house, there may be a hub device for unified management of the multiple hub devices, and the hub device can be defined as the control center of the smart home system. Thus, other hub devices can send relevant information to the control center, and the control center will make centralized decisions and management. The control center can also send corresponding control instructions to other hub devices to instruct other hub devices to control the corresponding smart devices to achieve corresponding functions.
[0102] Optionally, the cloud may only communicate with the control center. For example, the cloud may send a control instruction to the control center, and the control center sends a corresponding control instruction to each hub device 320 to control each hub device 320 to implement a corresponding function.
[0103] Optionally, the control center can also assume the function of a central device in a room or area. For example, the control center can also assume the function of a central device in the living room. In one example, a central device is provided for each room or area outside the living room. When the control center communicates with the smart devices in the rooms or areas outside the living room, it still goes through the central devices in the rooms or areas; and when communicating with the smart devices in the living room, the control center communicates directly without the need to deploy the central device in the living room for communication.
[0104] Optionally, the hub device 320 can also be used as a network access device for connecting to a local area network or the Internet. Thus, the smart device 310 can access the network by accessing the hub device. In one embodiment, the hub device 320 can be integrated with a router into one device. For example, the hub device 320 and the router are integrated into a router, that is, there can be a router in the whole house that has the function of the hub device 320. In another embodiment, the function of the hub device 320 can also be implemented by a gateway device, that is, there can be a gateway device in the whole house that has the function of the hub device 320.
[0105] Optionally, the hub device 320 can act as an edge node to communicate with the cloud, wherein the cloud may refer to a server cluster on the Internet, and optionally, the cloud may be a server corresponding to a smart home platform.
[0106] like Figure 3 and Figure 4 As shown, the smart home system 300 may also include a cloud 330. Optionally, the cloud 330 may also serve as a control center to execute the device access method provided in this application to dynamically adjust the access priority of the smart device 310.
[0107] In one embodiment, the hub device 320 may send the information received from the smart device 310 to the cloud 330. Furthermore, the hub device 320 may also send the control information of the hub device 320 on the smart device 310 to the cloud 330. Furthermore, the hub device 320 may also upload various information generated during the operation of the smart device 310 to the cloud 330 to provide it to the user for viewing.
[0108] In one example, the smart home system 300 also includes one or more input devices (for example, the input device is a control panel, a mobile phone, etc.). Exemplarily, the control panel can display the human-computer interaction interface of the smart home system 300. The user can view the connection information of each device in the smart home system 300, the operation information of the smart device 310, and / or the control information of the central device 320 on the smart device 310, etc. in the human-computer interaction interface. The user can also input control instructions in the human-computer interaction interface by clicking on the screen or voice, etc. to control the devices in the smart home system 300. Exemplarily, a smart life application is installed in the mobile phone, and the mobile phone starts the smart life application to display the human-computer interaction interface of the smart home system 300. The user can view the connection information of each device in the smart home system 300, the operation information of the smart device 310, and / or the control information of the central device 320 on the smart device 310, etc. in the human-computer interaction interface. The user can also input control instructions in the human-computer interaction interface by clicking on the screen or voice, etc. to remotely control the devices in the smart home system 300.
[0109] Optionally, a control panel may be provided in each room or area of the house. The control panel of each room or area may display the human-computer interaction interface of the room or area. The user may view the connection information of each device in the room or area, the operation information of the smart device 310 in the room or area, and / or the control information of the hub device 320 on the smart device 310, etc. in the human-computer interaction interface. The user may also input control instructions in the human-computer interaction interface by clicking the screen or voice, etc., to control the devices in the room or area.
[0110] In some scenarios, the hub device 320 may be a control panel. When there are multiple hub devices in the whole house, and there is a hub device (i.e., a control hub) for unified management of the multiple hub devices, the control hub for managing the multiple hub devices may be a central control panel (also called a central control screen).
[0111] The device access method provided by the present application will be described in detail below with reference to the accompanying drawings. The device access method can be executed by the above-mentioned hub device 320, or by the above-mentioned cloud 330. Among them, the device access method provided by the embodiment of the present application can exemplarily include the following processes:
[0112] (1) When all smart devices in the house are powered on, the central device / cloud can control the central device, router, gateway device and other network access devices to give priority to accessing basic capability devices, which are devices used to support the perception of the user's location.
[0113] (2) After the basic capability device is connected, the central device / cloud can sense the current user's location through the basic capability device, and dynamically adjust the access priority of the smart device according to the current user's location, user habits and other configurations, and send the dynamic access policy to network access devices such as routers and gateway devices, so that priority can be given to accessing devices within the current user's location and that the user can perceive around him.
[0114] (3) When a high-priority smart device in the user's location is connected, the central device / cloud will control the router, gateway and other network access devices to connect to other smart devices according to the importance of the device and usage habits.
[0115] The above process is described below:
[0116] When the whole house equipment is started for the first time or restarted after power failure, the smart devices installed in the whole house need to first access the central device and then access the cloud through the central device, or directly access the cloud, so as to achieve unified control, unified data analysis, cross-device intelligent linkage and other services through the convergence of smart device connections. Among them, the smart devices installed in the whole house can be home appliances such as smart screens and smart air conditioners, or sensor devices such as cameras and infrared sensors, or network access devices such as routers and gateway devices with direct networking capabilities, or gateway sub-devices such as Bluetooth sub-devices and low-power Bluetooth BLE sub-devices that do not have direct networking capabilities and need to be mounted on other devices to indirectly achieve networking. The present application does not limit the types of smart devices installed in the whole house. Optionally, during the construction or decoration of the house, the above-mentioned smart devices can be arranged in the room. After the user moves in, the smart devices in the room can be directly started without purchasing and installing them by themselves.
[0117] In an embodiment of the present application, during the access process of smart devices installed throughout the house, network access devices such as central devices, routers, and gateway devices can give priority to accessing basic capability devices.
[0118] In the embodiment of the present application, the above-mentioned basic capability devices are smart devices used to sense the user's location, and have the highest priority. After all the devices in the house are started, these smart devices are connected to the network as soon as possible.
[0119] Among them, the smart device used to sense the user's location can be a sensor device that can sense the user's location, such as a camera, a distance sensor, an infrared sensor, etc. The smart device used to sense the user's location can also be a smart device used to transmit the sensor device's requirements, such as a gateway device. Since the central device / cloud needs to obtain the user's location information, the sensor device needs to send the perceived user location information to the central device / cloud, which requires priority access for the smart device used to transmit the perceived user location information, such as a gateway device. The smart device used to sense the user's location can also be a central device used to analyze the user's location.
[0120] After the above basic capability devices are connected, the central device / cloud can dynamically adjust the access priority of the device based on the perceived user location. Figure 5 As shown, when it is sensed that the user is in position 1 (such as the master bedroom), the central device / cloud can adjust the device access priority according to the smart devices that the user in position 1 can perceive (such as the smart air conditioner, smart desk lamp, smart TV, smart speaker, control panel, etc. in the master bedroom), user habits and other configurations, dynamically decide the central device's own priority access device strategy, and issue the dynamic access strategy to other network access devices such as routers and gateway devices, so that other network access devices can also give priority to accessing the smart devices that can be perceived in the user's position 1. Therefore, when these smart devices are online, they can give priority to sending actively triggered or passively triggered device control commands. In this way, the user can perceive that the devices around his position 1 are working normally at the first time when the whole house equipment is started, and these devices can respond to the user's control needs in a timely and rapid manner. The user's perception of the access delay of the whole house equipment is reduced, ensuring the user's control experience of the whole house equipment.
[0121] Optionally, when a perceptible smart device (high priority device) within the user's location 1 is successfully connected, if the user has not moved within a preset time period, that is, the user's location has not changed or the space in which he is located has not changed, the central device / cloud can prioritize access to other smart devices within the user's location 1 based on the importance of the device, usage habits, etc.
[0122] Optionally, when a perceptible smart device (high priority device) at user location 1 is successfully connected, if the user moves within a preset time period, that is, the user's location changes or the space changes, the central device / cloud can give priority to accessing the perceptible smart device at the predicted next user location.
[0123] Optionally, when a perceptible smart device (high-priority device) within the user's location 1 is successfully connected or not fully connected, if the user moves within a preset time period, that is, the user's location changes or the space where they are located changes, the central device / cloud can adjust the device's access priority in real time based on the new user location or the user's space, and the predicted next user location or user space.
[0124] like Figure 5 As shown, when the user moves from position 1 to position 2 (such as the living room), the central device / cloud can adjust the device access priority in real time according to the smart devices that the user can perceive at user position 2 (such as the central air conditioner, smart screen, smart curtain, smart refrigerator, control panel, etc. in the living room), user habits and other configurations, dynamically decide the central device's own priority access device strategy, and send the dynamic access strategy to other network access devices such as routers and gateway devices, so that other network access devices can timely and preferentially access the smart devices that can be perceived around the user in position 2. So when these smart devices are online, they can give priority to sending active or passively triggered device control commands. In this way, the user can not only perceive that the devices around their own position 1 are working properly at the first time when the whole house equipment is started, but also perceive that the devices around the moving path are working properly when the user moves to position 2. These devices can respond to the user's control needs in a timely and rapid manner. Reduce the user's perception of the access delay of the whole house equipment, and ensure the user's control experience of the whole house equipment.
[0125] Optionally, when a perceptible smart device (high priority device) within the user's location 2 is successfully connected, if the user has not moved within a preset time period, that is, the user's location has not changed or the space in which he is located has not changed, the central device / cloud can give priority to accessing other smart devices within the user's location 2 according to the importance of the device, usage habits, etc.
[0126] Optionally, when a perceptible smart device (high priority device) within the user's location 2 is successfully connected, if the user moves within a preset time period, that is, the user's location changes or the space changes, the central device / cloud can give priority to accessing the perceptible smart device at the predicted next user location.
[0127] Optionally, when a perceptible smart device (high-priority device) within the user's location 2 is successfully connected or not fully connected, if the user moves within a preset time period, that is, the user's location changes or the space where they are located changes, the central device / cloud can adjust the device's access priority in real time based on the new user location or the user's space, and the predicted next user location or user space.
[0128] like Figure 5As shown, when the user moves from position 2 to position 3 (such as the second bedroom), similarly, the central device / cloud can continue to adjust the device access priority in real time according to the devices that can perceive the user's location (the smart desk lamp, smart TV, smart speaker, control panel, etc. in the second bedroom), user habits and other configurations, and dynamically decide the priority access device strategy for each network access device such as the central device, router, and gateway device, so that each network access device can give priority access to the smart devices that can be perceived around position 3.
[0129] Optionally, when a perceptible smart device (high priority device) within the user's location 3 is successfully connected, if the user has not moved within a preset time period, that is, the user's location has not changed or the space in which he is located has not changed, the central device / cloud can give priority to accessing other smart devices within the user's location 3 according to the importance of the device, usage habits, etc.
[0130] Optionally, when a perceptible smart device (high-priority device) within the user's location 3 is successfully connected or not fully connected, if the user has not moved within a preset time period, that is, the user's location has changed or the space in which he is located has changed, the central device / cloud can adjust the device's access priority in real time based on the new user location or the user's space, and the predicted next user location or user space.
[0131] It can be understood that the above method uses the smart devices that can be perceived by the user at the user's location or in the space around the user as the devices that the current user urgently needs to access. No matter where the user moves to, the smart devices that the user can perceive around the location will be started first, thereby reducing the user's perception of the access delay of the overall devices in the environment and ensuring the user's control experience of the devices in the environment.
[0132] In an embodiment of the present application, when the central device / cloud dynamically adjusts the device access priority, it can first dynamically calculate the space priority, and then give priority access to devices in the space with a high priority.
[0133] The central device / cloud can sense the user's location or space in real time, and use the user's location or space as the highest priority location or space, so as to give priority to accessing the devices in the highest priority location or space. The user's space can be the room or area where the user is located.
[0134] For example, when the hub device / cloud senses that the user is in the bedroom, the bedroom can be made the highest priority space.
[0135] Optionally, the hub device / cloud can also predict the user's next action location or action space in real time, and use the predicted next action location or action space as the second highest priority location or space. After the device in the highest priority location or space is connected, the device in the second priority location or space is then preferentially connected. As a method, the user's next action location or action space can be predicted based on at least one information such as the user's frequently used location, space, path, etc.
[0136] Optionally, the central device / cloud may also set other locations or spaces except the above-mentioned user location or space and the predicted next action location or action space as low priority.
[0137] In an embodiment of the present application, after the central device / cloud dynamically determines a high-priority space, when giving priority access to devices in the high-priority space, it can also dynamically calculate the device priority of the devices in the high-priority space to give priority access to devices with high priority in the space.
[0138] The central device / cloud can determine the user-perceivable devices in the high-priority space, and their device priority is higher, so that various network access devices such as central devices, routers, and gateway devices can give priority access to the user-perceivable devices in the high-priority space.
[0139] Optionally, the central device / cloud can make real-time decisions on user-perceivable devices in the high-priority space, generate device access policies, and send the device access policies to network access devices such as routers and gateway devices in real time.
[0140] As a method, the hub device / cloud can decide the device access strategy based on the importance of the device among the devices that can be perceived by the user.
[0141] Optionally, key devices can be treated as the most important devices and given priority access. The key devices can be important subsystems or devices configured with key scenarios, such as devices involved in the homecoming scenario or devices involved in the home thermostat scenario.
[0142] Optionally, the control panel and important gateway devices may be regarded as devices of the second highest importance and accessed with second priority, and other devices may be regarded as devices of the lowest importance and accessed last.
[0143] As another method, the hub device / cloud can also decide the device access strategy based on the control priority. For example, the device that the user frequently controls can be given the highest control priority and accessed first, and the device that the user will use can be given the second highest control priority and accessed first. The device that the user does not frequently use can be given the lowest control priority and accessed last.
[0144] As another way, the central device / cloud can also comprehensively consider the importance of the device and the control priority to decide on the device access strategy.
[0145] In some scenarios, smart devices in a location or space other than where the user is located can also be considered as devices that the current user urgently needs to access. As an example, the smart devices that the user is about to control can be identified based on the user's schedule, so that they can be adjusted to a high priority for current access to ensure priority access.
[0146] In this scenario, optionally, the basic capability device is a smart device used to obtain the user's schedule, and it has the highest priority. After all the devices in the house are started, these smart devices are connected to the network as soon as possible.
[0147] Among them, the smart device used to obtain the user's schedule can be a smart device that stores the user's schedule, such as a user terminal such as a laptop computer, a tablet computer, etc. The smart device used to obtain the user's schedule can also be a smart device used to transmit the schedule, such as a gateway device or a router. Since the central device / cloud needs to know the schedule, the laptop needs to send the schedule to the central device / cloud, which means that the smart devices required to implement the transmission of the schedule, such as gateway devices, also need priority access. The smart device used to obtain the user's schedule can also be a central device used to analyze the user's location.
[0148] After the above basic capability devices are connected, the hub device / cloud can dynamically adjust the access priority of the device according to the user's schedule. For example, if the schedule requires a video conference in 5 minutes. The hub device / cloud can give priority to the smart devices that the user can perceive in the conference room. In this way, even if the user is in other spaces or on the way to the conference room, the hub device / cloud can give priority to the devices that the user is about to access urgently.
[0149] In some scenarios, the central device / cloud can also send dynamic adjustment instructions to the central devices corresponding to each subsystem. The central devices corresponding to each subsystem will dynamically decide the device access strategy based on the dynamic adjustment instructions and send the access strategy to the corresponding network access device.
[0150] As an example, the central device / cloud can also send dynamic adjustment instructions to the central device corresponding to the lighting subsystem. The central device corresponding to the lighting subsystem dynamically decides to adjust the access strategy. For example, the smart lamps at the user's location or space are given priority access. Therefore, these smart lamps can quickly respond to the user's control intentions after going online, such as turning on and off the lights, adjusting the brightness, adjusting the color temperature, etc.
[0151] In some scenarios, the central device / cloud can also send dynamic adjustment instructions to the central devices corresponding to each room or area. The central devices corresponding to each room or area dynamically decide the device access strategy based on the dynamic adjustment instructions and send the access strategy to the corresponding network access device.
[0152] As an example, the central device / cloud can also send dynamic adjustment instructions to the central device corresponding to the living room. The central device corresponding to the living room dynamically decides to adjust the access strategy. For example, the smart lamps on the sofa where the user is sitting are accessed first, and then the smart TV corresponding to the sofa is accessed.
[0153] Several application scenarios will be provided below to introduce the device access method provided in the embodiments of the present application.
[0154] Scenario 1:
[0155] Some users will disconnect the power supply to non-long-term power areas in the house when they leave home. After the user returns home and turns on the power switch, the central device / cloud dynamically adjusts the device access strategy of each network access device in the house according to the user's movement location. That is, according to the smart devices that can be perceived around the user during the user's movement, the access strategy is dynamically generated to give priority access to the devices that can be perceived around the user, thereby improving the user experience.
[0156] like Figure 6 As shown, after the user returns home and turns on the home power switch, basic capability devices (such as cameras, infrared sensors and other sensor devices) are accessed first to sense the location or space in real time. When the user moves from location 1 (such as the entrance hall) to location 2 (such as the living room), and finally to location 3 (such as the second bedroom), in this process, the central device / cloud perceives the user's space and the space the user is going to go to next according to the status information reported by the sensor device, or predicts the next space the user may go to based on the user's usual path home, and then generates access strategies for all devices in the house in real time. The routers, gateways, hubs and other network access devices in the house will dynamically adjust the device access strategies in real time according to this strategy, giving priority to the access information of devices that can be perceived by the user and the access information of devices that will be perceived, thereby improving the user experience.
[0157] Scenario 2:
[0158] When the user is at home and there is a temporary power outage and then power on again, the central device / cloud can sense the user's space in real time based on the status information reported by the sensor device, and prioritize restoring the smart device environment in the user's space to improve the user experience.
[0159] like Figure 7As shown, after the whole house is powered off and then powered on again, it is sensed that the user's current space is user 1 in the second bedroom, user 2 in the living room, and user 3 in the master bedroom. The central device / cloud gives high priority to the user's space, and dynamically generates an access strategy based on the perceptible devices of the three users in these three spaces, so that the central device / cloud restores the device according to the access strategy, and sends the corresponding strategy to network access devices such as routers and gateways (such as the gateway device in the second bedroom, the gateway device in the living room, the gateway device in the master bedroom, etc.) in real time, so that the network access device accesses the device according to this strategy, and all the devices in the house work together to quickly restore the intelligent environment of the user's space, thereby improving the user experience.
[0160] Scenario 3:
[0161] When it senses that no one is at home, during the power-off and power-on process, the central device / cloud also generates a device access strategy based on the user's usual route home, so that the user can perceive as little access delay as possible when suddenly returning home.
[0162] like Figure 8 As shown, according to statistics, the user's usual path home is location 1, location 2, location 3, and location 4. When the user is not at home, after the whole house is powered off and then connected again, a device access strategy can be generated according to the user's usual habits, so that the smart device environment in the whole house can be restored according to the user's habits. Even if the user suddenly returns home during this process, the user's control experience of the smart device can be ensured.
[0163] In this way, when multiple smart devices in the home or all smart devices installed in the whole house (i.e., whole-house devices) are used for the first time or powered on again after a power outage, the central device / cloud can dynamically adjust the device access priority according to the space where the user is acting and the device being interacted with, with the highest priority. It can extend dynamic perception through actions in the user space, give priority to accessing devices that the user can perceive, reduce the user's perception of the overall device access delay, and improve the user experience.
[0164] See also Fig. 9 , Fig. 9 A device access method provided in an embodiment of the present application is provided, which can realize the above application scenario. Among them, the device access method can be applied to the above-mentioned central device / cloud. The following will take the central device as an example to specifically introduce the device access method. The device access method includes:
[0165] S910. When multiple smart devices are waiting to be connected, the central device detects the user's status information in real time.
[0166] Optionally, the multiple smart devices are all smart devices installed in the whole house, that is, whole-house devices. The scenes to be accessed by the multiple smart devices are the scenes to be accessed by the whole-house devices.
[0167] In one scenario, the scenario in which all the house equipment is to be accessed can be the scenario in which the whole house equipment is used for the first time or is powered on again after a power outage. It can be understood that when the whole house equipment is used for the first time or is powered on again after a power outage, all the house equipment needs to be connected to a communication network (such as a wireless network) to achieve unified management of the whole house equipment through the communication network. Among them, access can refer to the direct access of an intelligent device with the ability to directly connect to the network to the communication network, or it can refer to the access of an intelligent device that does not have the ability to directly connect to the network to an upstream device, so as to rely on the upstream device to indirectly access the communication network. Among them, the upstream device can be an intelligent device with networking capabilities and capable of mounting sub-devices, such as a gateway device with the ability to manage sub-devices of a certain protocol.
[0168] As an example, a scenario where all the devices in the house are powered on again after a power outage can be a scenario where the user disconnects the power supply to the non-long-power area of the house and then turns on the power switch to restore power to the whole house.
[0169] As an example, the smart home system may include a central control screen, and the human-computer interaction interface displayed on the central control screen includes a power control, which has the function of quickly starting / shutting down all the devices in the house. Optionally, the scenario of powering on all the devices in the house after powering off can be that the user clicks the power control on the central control screen to shut down all the devices in the house, and then clicks the power control on the central control screen to start all the devices in the house.
[0170] For example, Fig.10 As shown, the human-computer interaction interface displayed on the central control screen 1000 may include a shutdown power control 1001 for quickly shutting down all the house equipment, a power-on power control 1002 for quickly starting all the house equipment, and a restart power control 1003 for quickly restarting all the house equipment. Optionally, the above-mentioned scenario of powering on the whole house equipment again after powering off can be a scenario in which the user clicks the shutdown power control 1001 displayed on the central control screen 1000 to shut down the whole house equipment, and then clicks the power-on power control 1002 on the central control screen 1000 to start the whole house equipment. Optionally, the above-mentioned scenario of powering on again after powering off the whole house equipment can also be a scenario in which the user clicks the restart power control 1003 displayed on the central control screen 1000 to restart the whole house equipment.
[0171] In addition to the above scenario where the user manually starts the whole house devices, the scenario where the smart home system automatically starts the whole house devices may also be included. As an example, the scenario where the whole house devices are powered on again after being powered off may be a scenario where a power outage occurs and then the power is turned on again. As another example, the scenario where the whole house devices are powered on again after being powered off may be a scenario where the smart home system automatically shuts down the whole house devices and restarts them to repair the fault after detecting a device fault.
[0172] In another scenario, the scenario in which the whole house equipment is to be connected can be the scenario in which the whole house equipment is disconnected from the network and then reconnected to the network. It can be understood that when the network of the whole house equipment fails or the user performs a network disconnection operation on the whole house equipment, the whole house equipment is in a network disconnected state. When the network returns to normal, all the equipment in the house needs to be reconnected to the communication network (wireless network) to achieve unified management of the whole house equipment through the communication network.
[0173] Optionally, the multiple smart devices may also be some smart devices in a home. As an example, the multiple smart devices may be all smart devices in one or more device subsystems. The scenario to be accessed by the multiple smart devices is the scenario to be accessed by multiple devices in one or more subsystems.
[0174] The device subsystem can be divided according to at least one of the type, capability, and spatial attribute of the smart device. For example, the lighting subsystem, air conditioning subsystem, environmental monitoring subsystem, and music subsystem are divided based on the capability of the smart device. Another example is the Huawei smart device, Smart devices, Smart devices. For example, the living room subsystem, bedroom subsystem, kitchen subsystem, etc. are divided based on the space or area where the smart device is located.
[0175] In one scenario, the scenario to be connected to one or more device subsystems may be a scenario in which one or more device subsystems are powered on again after being powered off. It is understandable that when one or more device subsystems are powered on again after being powered off, the one or more device subsystems need to be connected to the wireless network so as to achieve unified management of the one or more device subsystems through the wireless network.
[0176] As an example, the human-computer interaction interface displayed on the central control screen includes a power control corresponding to each device subsystem, which has the function of quickly starting / shutting down the corresponding device subsystem. The scenario in which one or more device subsystems are powered on again after being powered off may refer to a scenario in which a user clicks the power control corresponding to one or more device subsystems on the central control screen to shut down one or more device subsystems, and then clicks the power control corresponding to one or more device subsystems on the central control screen to start up one or more device subsystems.
[0177] In addition to the above-mentioned scenario in which the user manually restarts one or more device subsystems, the scenario in which one or more device subsystems are to be connected may also include a scenario in which the smart home system automatically shuts down and restarts one or more device subsystems after detecting a device failure in one or more device subsystems.
[0178] In another scenario, the scenario in which one or more device subsystems are to be connected may be a scenario in which one or more device subsystems are disconnected from the network and then reconnected to the network. It can be understood that when the network of one or more device subsystems fails or the user performs a disconnection operation on one or more device subsystems, the one or more device subsystems are in a disconnected state. When the network of one or more device subsystems returns to normal, the one or more device subsystems need to be reconnected to the communication network (wireless network) to achieve unified management of the one or more device subsystems through the communication network.
[0179] As an example, the human-computer interaction interface displayed on the central control screen includes a network control corresponding to each device subsystem, which has the function of quickly opening / closing the network of the corresponding device subsystem. The scenario in which one or more device subsystems are disconnected from the network and then reconnect to the network may refer to a scenario in which the user clicks on the network control corresponding to one or more device subsystems on the central control screen to close the network of one or more device subsystems, and then clicks on the network control corresponding to one or more device subsystems on the central control screen to open the network of one or more device subsystems.
[0180] It is understandable that the above scenarios in which multiple smart devices are to be connected are only examples, and they may also be other scenarios besides the above scenarios. The embodiments of the present application do not limit the scenarios in which multiple smart devices are to be connected.
[0181] In an embodiment of the present application, when multiple smart devices need to access a wireless network, the central device can dynamically adjust the access priority of the multiple smart devices according to the real-time user status to give priority to accessing the devices that the user urgently needs to control.
[0182] It can be understood that if the access priority of multiple smart devices is fixed, users in the scene need to control the smart devices strictly according to the fixed priority. Otherwise, once the priority of the smart device that the user currently needs to control is lower, there will be a problem of unresponsiveness due to the device not being connected.
[0183] Therefore, in an embodiment of the present application, the central device detects the user's status information in real time to analyze the smart devices that the user urgently needs to control, and thereby dynamically adjusts the access priorities of multiple smart devices according to the user's current urgency in controlling the multiple smart devices, so as to give priority to accessing the devices that the user most urgently needs to control.
[0184] The user's status information may include information that is helpful for analyzing the user's current urgency in controlling multiple smart devices.
[0185] In one scenario, the user's status information includes the user's current location information.
[0186] Optionally, the location information includes the coordinates of the user's current location. As an example, a coordinate system of the entire house can be established, so as to obtain the user's current location information by calculating the coordinates of the user's current location.
[0187] Optionally, the user's current location information includes the local area where the user is currently located. As an example, the local area where the user is currently located may refer to an area with a radius of R, with the coordinates of the user's current location as the origin. The value of R may be preset, such as 2m, and may be pre-stored in the hub device.
[0188] Optionally, the user's current location information includes the space the user is currently in. The space can be divided based on rooms, such as kitchens, bedrooms, living rooms, etc. The space can also be divided based on areas, such as office areas, lunch areas, fitness areas, etc.
[0189] Optionally, the user's current location information includes whether there is a user in the house. As an example, if the hub device detects that the leaving home scene has been activated, it can be confirmed that there is no user in the house. As another example, if the hub device does not detect human body information through the sensor device, it can be confirmed that there is no user in the house.
[0190] In one scenario, the user's status information includes the user's next destination location information. The user's next destination location information may be the location information that the user will arrive at at the next moment, or the location information that the user will arrive at within a preset time length A in the future. The preset time length A may be preset, for example, 3 seconds (s), 5 seconds, etc., and may be pre-stored in the hub device.
[0191] Optionally, the location information where the user will next arrive may include the coordinates of the location where the user will next arrive, or the local area where the user will next arrive, or the space where the user will next arrive, etc.
[0192] Optionally, the user's current location information includes the user's current location coordinates. As an example, a coordinate system of the entire house can be established, so as to obtain the user's current location information by calculating the coordinates of the user's current location.
[0193] It is understood that the above-mentioned user's current location information and the user's next destination location information are only examples, and it can also be other location information besides the above-mentioned location information. The embodiment of the present application does not limit the user's current location information and the user's next destination location information.
[0194] In some embodiments, the smart home system may include sensor devices, such as cameras, distance sensors, infrared sensors, millimeter wave radars, etc. The embodiments of the present application do not limit the sensor devices. The sensor devices can be used to sense the current location of the user, to sense whether there are users around, and to sense the next location to be reached by the user.
[0195] Therefore, in order to enable the central device to detect the user's location information, the sensor devices in the smart home system need to be connected so that the central device can obtain the perception information reported by the sensor.
[0196] It can be understood that since the central device needs to obtain the user's location information, the sensor device needs to report the perceived user location information to the central device, which requires the smart devices used to transmit the perceived user location information, such as routers, gateway devices, etc., to be connected. Therefore, the perceived information reported by the sensor can be transmitted to the central device through these devices.
[0197] In one scenario, when the central device is the control center for the whole house, if there are one or more rooms / areas in the house with other central devices deployed, the perception information reported by the sensor devices in these rooms / areas can also be transmitted to the control center through other central devices. Therefore, other central devices deployed in these rooms / areas also need to be connected for information transmission. Optionally, other central devices can also process the perception information reported by the sensor devices in these rooms / areas to obtain the user's location information, and then report the user's location information to the control center.
[0198] In an embodiment of the present application, sensor devices for sensing the user's location, smart devices for transmitting the sensing information of the sensor devices, and smart devices for analyzing and processing the sensing information of the sensor devices to obtain user location information can be defined as first-category devices, i.e., a series of basic capability devices for realizing user location perception.
[0199] In the embodiment of the present application, when multiple smart devices need to be connected, the first type of devices need to be connected first. In this way, the hub device can detect the user's current location information or the user's next location information based on the first type of devices.
[0200] In some scenarios, if the first type of device in the smart home system has been connected, that is, the first type of device is not included in the multiple smart devices to be connected, then when multiple smart devices are to be connected, the central device can perceive the user's current location information, or perceive the user's next location information, or predict the user's next location information by obtaining the perception information reported by the sensor device.
[0201] Optionally, the perception information reported by the sensor device may include the user's position, orientation (angle), posture (standing, sitting, lying, etc.), displacement speed, displacement direction, etc. in the whole house, and may also include the user's identity information (such as physical characteristics such as face and clothing, and identity category information such as adult and child). The present application embodiment does not limit the perception information reported by the sensor.
[0202] Optionally, the central device senses the next location information of the user to be reached, and the central device may calculate the next location information of the user to be reached according to the displacement speed and displacement direction of the user.
[0203] Optionally, the hub device predicts the next location information of the user to be arrived at, which can be that the hub device predicts the next location information of the user to be arrived at based on the historical path information of the user. As an example, the hub device can analyze the user's frequently used paths, frequently used spaces, frequently used locations and other information with personal habitual characteristics based on the historical path information, so that the hub device can predict the user's next habitually arrived location information based on the information with personal habitual characteristics.
[0204] Optionally, the central device may also predict the user's next destination location information by integrating the user's historical path information, the user's current location information, displacement speed, displacement direction, user identity information, etc. The embodiment of the present application does not limit the method of predicting the user's next destination location information.
[0205] In one scenario, the user's status information also includes the user's current schedule information.
[0206] Optionally, the user's current schedule information may include the user's current task scenario, the user's next task scenario, and the task scenario that the user needs to trigger within a future preset duration B. The preset duration B may be preset, for example, 5 minutes (min), 3 minutes, etc., and may be pre-stored in the central device.
[0207] As an example, the user's schedule is shown in Table 1:
[0208] Table 1
[0209]
[0210] In one scenario, if a power outage occurs at home at 2:25 p.m. on April 2, 2023 and then restored, the central device can obtain the user's schedule information to determine that the user's current schedule is a nap and that the user needs to have a video conference in 5 minutes.
[0211] In one scenario, if a power outage occurs at home at 4:25 p.m. on April 2, 2023 and then restored, the central device can obtain the user's schedule information to determine that the user's current schedule is work and that the user needs to have dinner in 1 hour and 35 minutes.
[0212] In one scenario, the user's status information also includes the predicted user's current schedule information. Optionally, the hub device can predict the user's current schedule information based on the user's historical schedule information. As an example, the hub device can analyze the user's common schedules, common spaces, common locations, and other information with personal habit characteristics based on the historical schedule information, so that the hub device can predict the user's current schedule information based on this information with personal habit characteristics.
[0213] It is understood that the above user's schedule information is only an example, and it may also be other schedule information in addition to the above schedule information. The embodiment of the present application does not limit the user's schedule information.
[0214] In some embodiments, the smart home system may include one or more input devices for inputting the user's schedule, such as a control panel, a mobile phone, a laptop computer, a tablet computer, etc. The embodiment of the present application does not limit the input device. The input device can be used to display a schedule setting interface, and the user can enter the schedule by clicking the screen or voice in the schedule setting interface. After obtaining the schedule input by the user, the input device can store the schedule information.
[0215] In the embodiment of the present application, in order to enable the central device to detect the user's schedule information, the input device in the smart home system needs to be connected so that the central device can obtain the schedule information reported by the input device.
[0216] It is understandable that since the central device needs to obtain the user's schedule information, the input device needs to report the stored schedule information to the central device, which requires the smart devices used to transmit the stored schedule information, such as routers, gateway devices, etc., to be connected. Therefore, the schedule information reported by the input device can be transmitted to the central device through these devices.
[0217] In one scenario, when the central device is a control center for the whole house, if there are one or more rooms / areas in the house with other central devices deployed, the schedule information reported by the input devices in these rooms / areas can also be transmitted to the control center through other central devices. Therefore, other central devices deployed in these rooms / areas also need to be connected for information transmission. Optionally, other central devices can also process the schedule information reported by the input devices in these rooms / areas to obtain the user's current schedule information, and then report the user's current schedule information to the control center.
[0218] In an embodiment of the present application, an input device or storage device for acquiring and storing user schedule information, a smart device for transmitting the schedule information of the input device, and a smart device for analyzing and processing the schedule information of the input device to obtain the user's current schedule information can be defined as second-category devices, i.e., a series of basic capability devices for realizing the detection of the user's current schedule information.
[0219] In the embodiment of the present application, when multiple smart devices need to be connected, the second type of devices need to be connected first. In this way, the hub device can detect the user's current schedule information based on the second type of devices, or predict the user's current schedule information.
[0220] In some scenarios, if the second type of device in the smart home system has been connected, that is, the second type of device is not included in the multiple smart devices to be connected, then when multiple smart devices are to be connected, the central device can detect the user's current schedule information or predict the user's current schedule information by obtaining the schedule information reported by the input device.
[0221] Optionally, the schedule information reported by the input device may include the time of the task, the name of the task, the location of the task, the smart devices involved, etc., and may also include the identity information of the user. The embodiment of the present application does not limit the schedule information reported by the input device.
[0222] Optionally, the central device detects the user's current schedule information, and the central device may detect the user's current schedule and the user's schedule within a preset time B (such as 5 minutes) in the future based on task time, task name, task location, smart devices involved, etc.
[0223] Optionally, the central device predicts the user's current schedule information, which may be the central device predicting the user's current schedule and the user's schedule within a preset time B (such as 5 minutes) in the future based on the user's historical task time, task name, task location, involved smart devices, etc. The embodiment of the present application does not limit the method of predicting the user's current schedule information.
[0224] It can be understood that the above-mentioned user status information is only an example, and it may also include other information that can reflect the urgency of the user's current control of multiple smart devices. The embodiment of the present application does not limit the user's status information. Accordingly, in order to realize the perception and detection of the user's status information by the central device, the required series of basic capability devices are also not limited, such as the above-mentioned first category of devices and the above-mentioned second category of devices. Optionally, in the scenario provided in this embodiment, at least one continuously connected device may also be included, such as a user's mobile phone that keeps the mobile network online, or a device that remains offline in scenarios such as when the user is away from home due to certain scenario configurations or user settings, such as some router devices.
[0225] In an embodiment of the present application, when multiple smart devices need to access, basic capability devices can be accessed first, thereby providing real-time perception and detection of user status information for the device access method provided in the embodiment of the present application.
[0226] In one scenario, if the basic capability device in the smart home system has been connected to the network, that is, the basic capability device is not included in the multiple smart devices to be connected, then when multiple smart devices are to be connected, the central device can directly obtain the user's status information through the basic capability device.
[0227] In one scenario, if the basic capability device in the smart home system is not connected, that is, the multiple smart devices to be connected include the basic capability device, then when multiple smart devices are to be connected, the hub device can give priority to connecting the basic capability device to the network. That is, the basic capability device has a higher access priority.
[0228] As an example, the way in which each smart device accesses the network may be that each smart device enters a waiting state and broadcasts an access message so that each smart device can be discovered by a network access device. The network access device may be a hub device, router, gateway device, etc. that has the ability to connect to a local area network or the Internet.
[0229] In an embodiment of the present application, after receiving the access messages broadcast by various smart devices, the network access device can preferentially process the access messages broadcast by the basic capability device to preferentially establish a communication connection with the basic capability device.
[0230] The embodiments of the present application do not limit the method for realizing the priority access of basic capability devices. For example, the network access device may actively initiate an access request to the basic capability device, and after receiving the access request, the basic capability device replies with an access message to the network access device. Thus, the network access device can process the access message broadcast by the basic capability device in a targeted manner, and realize the priority access to the basic capability device.
[0231] As a way, since basic capability devices usually do not change with the user's urgent control needs, the network access device can pre-configure a device access policy that gives priority to basic capability devices to set the access priority of basic capability devices to a higher priority. Thus, when multiple smart devices are waiting to be connected, the network access device can automatically give priority to basic capability devices according to the pre-configured device access policy.
[0232] As another way, the central device can also issue a first instruction to the network access device to instruct the network access device to set the access priority of the basic capability device to a higher priority through the issued first instruction, so that the network access device can give priority to accessing the basic capability device according to the first instruction.
[0233] When basic capability devices in multiple smart devices are connected, the central device can detect the user's status information in real time through the connected basic capability devices.
[0234] Optionally, the central device detects the user's status information in real time through the basic capability device, which can be to obtain the user's status information once every preset time period C, or to automatically report the user's status information to the central device through the basic capability device after the user's status information changes. Among them, the predicted time period C can be preset, such as 1s, 2s, etc., and can be pre-stored in the central device. The embodiment of the present application does not limit the timing of the central device detecting the user's status information.
[0235] S920: When the central device detects that the user's status information is the first status information at the first time, the central device preferentially controls the access of the smart device corresponding to the first status information among the multiple smart devices.
[0236] Since the user's status information may change at different times, the user's urgency to control multiple smart devices may vary at different times.
[0237] For example, when the user is at location A at the first time, the user may be more eager to control the smart devices near location A at the first time; when the user is at location B at the second time, the user may be more eager to control the smart devices near location B at the second time; when the user is at location C at the third time, the user may be more eager to control the smart devices near location C at the third time.
[0238] For another example, when the user's current schedule is A at the first time, the user may be more urgent to control the smart device involved in schedule A at the first time; when the user's current schedule is B at the second time, the user may be more urgent to control the smart device involved in schedule B at the second time; when the user's current schedule is C at the third time, the user may be more urgent to control the smart device involved in schedule C at the third time. The first time, the second time, and the third time are different.
[0239] In an embodiment of the present application, the central device can detect the user's status in real time, and dynamically adjust the access priority of multiple devices according to the user's current status information, so as to give priority access to the smart devices corresponding to the user's current status information, thereby ensuring that the smart devices that the user urgently needs to control are given priority access.
[0240] As a way, since the smart devices corresponding to the user status information at different times usually change, the network access device needs to dynamically adjust the device access strategy according to the user status information at different times, so as to dynamically set the smart device corresponding to the current user status information to a higher priority. Therefore, when multiple smart devices are waiting to be connected, the network access device can automatically give priority to accessing the smart device corresponding to the user's current status information according to the dynamically adjusted device access strategy.
[0241] Optionally, each smart device enters a waiting state and broadcasts an access message so that each smart device can be discovered by the network access device. After receiving the access message broadcast by each smart device, the network access device can preferentially process the access message broadcast by the smart device corresponding to the user's current state information, so as to preferentially establish a communication connection with the smart device corresponding to the user's current state information.
[0242] Optionally, the central device can send real-time detected user status information to each network access device to instruct each network access device to dynamically adjust the device access strategy based on the user's current status information, and automatically give priority to accessing the smart device corresponding to the user's current status information based on the dynamically adjusted device access strategy.
[0243] As another way, the central device can also dynamically adjust the device access policy based on the user's current status information, and then send the dynamically adjusted device access policy to each network access device to instruct each network access device to automatically give priority to accessing the smart device corresponding to the user's current status information based on the dynamically adjusted device access policy.
[0244] In one scenario, when the user's current status information indicates that there is a user in the room, the central device can control the smart device corresponding to the user's real-time status information to have priority access based on the user's real-time status information.
[0245] Optionally, the smart device corresponding to the user's current status information may be a smart device that the user can perceive around the coordinates of the user's current location. It can be understood that the user usually has control needs or usage needs for the smart devices that can be perceived around the user's location, so giving priority to accessing these smart devices can ensure the user's control experience and usage experience. The smart device corresponding to the user's current status information may also be a smart device that the user can perceive around the coordinates of the next location the user will arrive at. It can be understood that when the user is moving, the user usually has control needs or usage needs for the smart devices that can be perceived around the next location the user is about to go to, so giving priority to accessing these smart devices can ensure the user's control experience and usage experience in advance.
[0246] Optionally, the smart device corresponding to the user's current status information may be a smart device that the user can perceive in the local area where the user is currently located, or may be a smart device that the user can perceive in the local area that the user will arrive at next.
[0247] Optionally, the smart device corresponding to the user's current status information may be a smart device that the user can perceive in the space where the user is currently located. For example, the smart device that the user can perceive in the room where the user is currently located, such as a bedroom. For another example, the smart device that the user can perceive in the area where the user is currently located, such as an office area. The smart device corresponding to the user's current status information may be a smart device that the user can perceive in the next space where the user is about to go. For example, the smart device that the user can perceive in the room where the user is about to go, such as a living room. For another example, the smart device that the user can perceive in the area where the user is about to go, such as a fitness area.
[0248] Optionally, when there are multiple smart devices corresponding to the user's current status information, the central device may also generate a corresponding device access strategy based on the smart devices corresponding to the user's current status information.
[0249] In some embodiments, when the user's current status information includes the user's current location information and the next location information the user is about to go to, the hub device may also determine the location priority first, so that the hub device can make real-time decisions on the access strategy of the smart device corresponding to the high location priority.
[0250] As an implementation method, the location priority corresponding to the current location information is higher than the location priority corresponding to the next location information. In this way, the hub device can first generate a device access policy for the smart device corresponding to the current location information. According to the device access policy, the smart device corresponding to the current location information is preferentially accessed.
[0251] Taking the location information including space as an example, the hub device can generate a device access strategy for the smart devices in the current room, such as the bedroom, to give priority to accessing the smart devices in the current space. Then, the hub device generates a device access strategy for the next space that the user is about to visit, so that after giving priority to accessing the smart devices in the current space, the hub device can immediately access the smart devices in the next space.
[0252] As another implementation, the location priority corresponding to the current location information and the location priority corresponding to the next location information are both the highest location priority. In this way, the hub device can preferentially access the smart devices of the current location information and the next location information.
[0253] It is understandable that when there are many indoor spaces, after dynamically deciding the location priorities of the current location information and the next location information, the hub device can also decide the location priorities of the remaining spaces. For example, the location priority of the location information frequently used by users in the remaining spaces is placed after the next location information, and the location priority of other location information that is not frequently used in the remaining spaces is set to be lower.
[0254] As an example, device access policies for multiple smart devices are shown in Table 2:
[0255] Table 2
[0256]
[0257] It can be understood that the basic capability devices among multiple smart devices have the highest priority. After the central device accesses the basic capability devices first, it generates the device access strategy in real time based on the highest priority location information.
[0258] In some embodiments, the hub device may generate a device access policy for the smart device corresponding to the current location information based on the device priority and / or control priority.
[0259] Optionally, the device priority can be a priority divided according to the importance of the smart device. For example, the key devices involved in the important scenes configured by the user (such as the home scene) are set as the highest device priority, and the control panel, important gateway devices, important subsystems, etc. are set as the second highest device priority. Other devices are set as the lowest device priority.
[0260] Optionally, the device priority may be pre-stored in the central device, which may be preset at the factory or customized by the user.
[0261] Taking the location information including space as an example, when the hub device decides that it needs to give priority to accessing the smart device in the room where the user is currently located, such as the bedroom, if there is at least one smart device in the bedroom that is directly accessed by the hub device, the hub device can determine the access order of the at least one smart device in order of device priority from high to low, such as the smart air conditioner in the bedroom -> gateway device -> control panel. The hub device can access the at least one smart device in the bedroom in sequence according to the access order.
[0262] Optionally, if there is at least one smart device in the bedroom that needs to be accessed by the network access device, the device access policy sent by the central device to the network access device includes not only a policy of giving priority to accessing smart devices in the room where the user is currently located, such as the bedroom, but also a policy of accessing smart devices in the bedroom according to device priority. This allows the network access device to give priority to accessing at least one smart device in the bedroom according to the received device access policy, and to access the at least one smart device in order of importance.
[0263] Optionally, the control priority may be a priority divided according to the frequency of use of the smart device by the user. For example, a smart device whose user use frequency is higher than a first threshold (i.e., frequently used) is taken as the highest control priority, a smart device whose user use frequency is lower than the first threshold but higher than a second threshold is taken as the second highest control priority, and a smart device whose user use frequency is lower than the second threshold is taken as the lowest control priority.
[0264] Optionally, after receiving the control instruction from the user, each smart device can report to the central device, and the central device counts the frequency of the user using each smart device, so that the control priority can be divided according to the real-time statistical user usage frequency.
[0265] Taking the location information including space as an example, when the hub device decides that it needs to give priority to accessing the smart device in the room where the user is currently located, such as the bedroom, if there is at least one smart device in the bedroom that is directly accessed by the hub device, the hub device can determine the access order of the at least one smart device in the order of control priority from high to low, such as the smart desk lamp in the bedroom -> smart air conditioner -> smart TV. The hub device can access the at least one smart device in the bedroom in turn according to the access order.
[0266] Optionally, if there is at least one smart device in the bedroom that needs to be accessed by the network access device, the device access policy sent by the central device to the network access device includes not only a policy of giving priority to accessing smart devices in the room where the user is currently located, such as the bedroom, but also a policy of accessing smart devices in the bedroom according to the control priority. The network access device can give priority to accessing at least one smart device in the bedroom according to the received device access policy, and access is performed in sequence according to the frequency of use of the at least one smart device.
[0267] In some embodiments, the hub device may also access the smart devices in the room where the user is currently located, such as the bedroom, based on the device priority and the control priority. The present embodiment of the application does not limit the order in which the smart devices with the highest priority location information are accessed.
[0268] For example, the device access strategy dynamically calculated by the hub device for the smart device in the room where the user is currently located may be as shown in Table 3:
[0269] Table 3
[0270]
[0271] For example, the hub device can access the smart devices in the room where the user is currently located in the order of highest device priority - second highest device priority - highest control priority - second highest control priority - lowest device priority - lowest control priority.
[0272] For another example, the central device may also access the smart devices in the room where the user is currently located in the order of highest control priority - second highest control priority - highest device priority - second highest device priority - lowest control priority - lowest device priority.
[0273] It can be understood that when the user's current location information changes (that is, the user is moving), the central device can dynamically adjust the device access strategy according to the changed user's current location information in real time, so as to give priority access to the smart devices in the room where the user is currently located in real time, and generate corresponding device access strategies.
[0274] In another scenario, when the user's current status information indicates that there is no user in the house (i.e., no one is at home), the hub device can control the smart device corresponding to the historical user status information to access first based on the historical user status information. The historical user status information may include the user's historical path information (such as porch - living room - corridor - bedroom, etc.) and the user's historical schedule information (such as listening to music - reading - watching TV - sleeping, etc.).
[0275] Optionally, controlling the smart devices corresponding to the historical user status information to have priority access may mean that the smart devices perceivable by the user around the location coordinates that the user has passed through successively according to the historical path information of the user are accessed in sequence. It may also include that the smart devices perceivable by the user in the local area that the user has passed through successively according to the historical path information of the user are accessed in sequence. It may also include that the smart devices perceivable by the user in the space that the user has passed through successively according to the historical path information of the user are accessed in sequence.
[0276] Taking the user's historical path information of porch-living room-corridor-bedroom as an example, the hub device can preferentially access the smart devices in the porch, then the smart devices in the living room, then the smart devices in the corridor, and then the smart devices in the bedroom. When accessing the smart devices in the porch, the access order of each smart device in the porch can also be determined according to the device priority and / or control priority, so as to complete the priority access to the smart devices in the porch according to the access order.
[0277] In the embodiment of the present application, the central device can not only give priority to accessing the smart device associated with the user status information, but also when the user status information changes, the central device can also be changed to give priority to accessing the smart device associated with the changed user status information.
[0278] The following will take the case where the user's status information detected at the first time is the first status information and the user's status information detected at the second time is the second status information as an example to illustrate the device access method provided by the embodiment of the present application. When the hub device detects that the user's status information is the first status information at the first time, the hub device can preferentially control the access of the smart device corresponding to the first status information among the multiple smart devices.
[0279] The first state information includes current state information and / or historical state information determined at a first time.
[0280] Optionally, the current status information here may be the location information of the user at the first time (such as the first location), or the next location information to which the user is about to go at the first time, or the schedule information of the user at the first time, or the schedule information of the user that is about to take place at the first time. The historical status information includes the historical habit information or historical schedule information of the user at the first time, and the historical habit information includes the device usage habit and the moving path habit.
[0281] Optionally, the device usage habits may include information such as the frequency, time, and location of the user's use of each smart device. The user's frequently used devices may be determined through the device usage habits, and the user's frequently used devices at different locations and / or at different times may also be determined. As an example, the device usage habits may include the user's frequently used devices at the first time, and / or the user's frequently used devices at the first location.
[0282] Optionally, the moving path habit may include information such as the frequency of the user's visits to various locations, the length of time at various locations, etc. The moving path habit may be used to determine the user's frequently used paths or frequently used locations, and may also be used to determine the user's frequently used paths or frequently used locations at different locations and / or at different times. As an example, the moving path habit may include the user's frequently used paths or frequently used locations at a first time, and / or the user's frequently used paths or frequently used locations at a first location.
[0283] Optionally, the central device can send the first status information to each network access device to instruct each network access device to dynamically adjust the device access policy based on the user's current first status information, and automatically give priority to accessing the smart device corresponding to the user's current first status information based on the dynamically adjusted device access policy.
[0284] Optionally, the central device may also dynamically adjust the device access policy based on the user's current first status information, and then send the dynamically adjusted device access policy to each network access device to instruct each network access device to automatically give priority to accessing the smart device corresponding to the user's current first status information based on the dynamically adjusted device access policy.
[0285] In one scenario, when multiple smart devices can access the network through a central device, in addition to sending the first status information or sending the dynamically adjusted device access policy, the central device itself can also receive the access messages broadcast by each smart device, and dynamically adjust its own device access policy based on the user's current first status information. After the central device receives the access messages broadcast by each smart device, it will give priority to accessing the smart device corresponding to the user's current first status information based on the device access policy. That is, the access messages broadcast by the smart device corresponding to the user's current first status information are processed first, so as to establish a communication connection with the smart device corresponding to the user's current first status information.
[0286] For example, taking the bedroom where the first status information includes the user at the first time as an example, the central device can dynamically decide its own device access strategy based on the devices that the bedroom user can perceive, so as to give priority to accessing the devices that the user can perceive in the bedroom. At the same time, the central device can issue the device access policy to gateway devices, routers and other network access devices, so that gateway devices, routers and other network access devices also give priority to accessing the devices that the user can perceive in the bedroom.
[0287] When the first state information includes the next space (such as the living room) perceived or predicted at the first time, the hub device can access the smart devices in the living room after preferentially accessing the smart devices in the bedroom. That is, the device access priority of the next space (such as the living room) is lower than the device access priority of the current space (such as the bedroom).
[0288] In one scenario, when the hub device accesses the smart device in the current space (such as a bedroom), it can generate a device access strategy based on the device priority and / or control priority.
[0289] S930: When the central device detects that the user's status information is changed to the second status information at the second time, the central device is changed to preferentially control access of the smart device corresponding to the second status information among the multiple smart devices.
[0290] When the hub device detects that the user's status information is changed to the second status information at the second time, the hub device can preferentially control the access of the smart device corresponding to the second status information among the multiple smart devices.
[0291] The second state information includes current state information and / or historical state information determined at a second time.
[0292] Optionally, the current status information here may be the location information of the user at the second time (such as the second location), or the next location information to which the user is about to go at the second time, or the schedule information of the user at the second time, or the schedule information of the user that is about to take place at the second time. The historical status information includes the historical habit information or historical schedule information of the user at the second time, and the historical habit information includes the device usage habit and the moving path habit.
[0293] As an example, the device usage habit may include the user's frequently used devices at the second time, and / or the user's frequently used devices at the second location. The movement path habit may include the user's frequently used paths or frequently used locations at the second time, and / or the user's frequently used paths or frequently used locations at the second location.
[0294] Optionally, the central device can send the second state information to each network access device to instruct each network access device to dynamically adjust the device access policy based on the user's current second state information, and automatically give priority to accessing the smart device corresponding to the user's current second state information based on the dynamically adjusted device access policy.
[0295] Optionally, the central device may also dynamically adjust the device access policy based on the user's current second state information, and then send the dynamically adjusted device access policy to each network access device to instruct each network access device to automatically give priority to accessing the smart device corresponding to the user's current second state information based on the dynamically adjusted device access policy.
[0296] In one scenario, when multiple smart devices can access the network through a central device, in addition to sending the second state information or sending the dynamically adjusted device access policy, the central device itself can also receive the access messages broadcast by each smart device, and dynamically adjust its own device access policy based on the user's current second state information. After the central device receives the access messages broadcast by each smart device, it will give priority to accessing the smart device corresponding to the user's current second state information based on the device access policy. That is, the access messages broadcast by the smart device corresponding to the user's current second state information are processed first, so as to establish a communication connection with the smart device corresponding to the user's current second state information first.
[0297] For example, taking the living room where the user is at the second time as an example, the central device can dynamically decide its own device access strategy based on the devices that the living room user can perceive, so as to give priority to accessing the devices that the user can perceive in the living room. At the same time, the central device can issue the device access policy to network access devices such as gateway devices and routers, so that gateway devices, routers and other network access devices also give priority to accessing the devices that the user can perceive in the living room.
[0298] When the first state information includes the next space (such as a study) perceived or predicted at the second time, the hub device can access the smart devices in the study after preferentially accessing the smart devices in the living room. That is, the device access priority of the next space (such as the study) is lower than the device access priority of the current space (such as the living room).
[0299] In one scenario, when the hub device accesses the smart device in the current space (such as the living room), it can generate a device access strategy based on the device priority and / or control priority.
[0300] Among them, the first time and the second time are different time points. Optionally, the first time and the second time can be different time points in the time required for the access of multiple smart devices this time. For example, if multiple smart devices need to be accessed at home at 12:00 noon on April 4, 2023, the first time can be 12:01 noon on April 4, 2023 in this access scenario, and the second time can be 12:02 noon on April 4, 2023 in this access scenario. It can be understood that in the same access scenario, the central device can dynamically perceive the changes in the status information of the user at different times, and dynamically adjust the device access priority.
[0301] Optionally, the first time and the second time may be time points in different access scenarios. For example, if multiple smart devices need to be accessed at home at 12:00 noon on April 4, 2023, the first time may be 12:01 noon on April 4, 2023 in this access scenario. If the next time multiple smart devices are needed at home at 12:00 noon on June 4, 2023, the second time may be 12:01 noon on June 4, 2023 in this access scenario. It can be understood that the user's status information will be different in different access scenarios. The central device can dynamically perceive the changes in the user's status information in the current access scenario and dynamically adjust the device access priority.
[0302] A device access method provided in an embodiment of the present application, when it is necessary to access multiple smart devices in an environment, perceives the user's current status information to give priority to accessing smart devices that the user urgently needs to control and use, thereby ensuring that the smart devices in the environment can respond to the user's control needs in a timely and rapid manner, thereby reducing the user's perception of the overall access delay of multiple smart devices and improving the user's control experience of the smart devices in the environment.
[0303] In some scenarios, a device access method provided in an embodiment of the present application can also be used in scenarios where multiple smart devices in an environment are awakened from a sleep state and enter a working state, that is, by perceiving the user's current state information to prioritize waking up smart devices that the user urgently needs to control and use, thereby ensuring that the smart devices in the environment can respond to the user's control needs in a timely and rapid manner, thereby reducing the user's perception of the overall wake-up delay of multiple smart devices and improving the user's control experience of the smart devices in the environment.
[0304] In some embodiments, a device access method provided by an embodiment of the present application can also be applied to the cloud. After the central device detects the user's status information, it can report it to the cloud. The cloud dynamically adjusts the device access policies of multiple smart devices in real time according to the user's current status information, and sends the dynamically adjusted device access policies to the central device and / or the network access device, so that the central device and / or the network access device can give priority to accessing the smart devices that the user urgently needs to control and use according to the dynamically adjusted device access policies.
[0305] In some embodiments, a device access method provided in an embodiment of the present application can also be applied to device subsystems. After the central device (control center) detects the user's status information, it can be sent to the central devices corresponding to one or more device subsystems. The central devices corresponding to each device subsystem dynamically adjust the device access policies of multiple smart devices according to the user's current status information, and send the dynamically adjusted device access policies to the network access devices managed under each device subsystem, so that the network access devices managed under each device subsystem can give priority to accessing the smart devices that the user urgently needs to control and use.
[0306] Some other embodiments of the present application further provide an electronic device, which may include: a memory and one or more processors. The memory is coupled to the processor. The memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device may perform the various functions or steps performed by the hub device in the above method embodiment.
[0307] Among them, the electronic device can be a central device, an edge cloud node, or a cloud (cloud server), and the embodiments of the present application are not limited thereto.
[0308] Some other embodiments of the present application also provide a device access apparatus, which can be applied to the above electronic device and is used to execute the functions or steps executed by the hub device in the above method embodiment.
[0309] Optionally, the device access device can specifically be a chip, component or module, which may include a connected processor and memory; wherein the memory is used to store computer execution instructions, and when the device is running, the processor can execute the computer execution instructions stored in the memory to enable the chip, component or module to execute the device access method executed by the central device in the above-mentioned method embodiments.
[0310] The embodiment of the present application also provides a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected through lines. For example, the interface circuit can be used to receive signals from other devices (such as the memory of an electronic device). For another example, the interface circuit can be used to send signals to other devices (such as processors). Exemplarily, the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the electronic device can execute the various steps performed by the central device in the above embodiment. Of course, the chip system can also include other discrete devices, which are not specifically limited in the embodiment of the present application.
[0311] An embodiment of the present application also provides a computer storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the device access method executed by the central device in the above-mentioned embodiment.
[0312] An embodiment of the present application also provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the above-mentioned related steps to implement the device access method executed by the central device in the above-mentioned embodiment.
[0313] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above and will not be repeated here.
[0314] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0315] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, 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 devices or units, which can be electrical, mechanical or other forms.
[0316] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0317] 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.
[0318] 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 readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially 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, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0319] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A device access method, characterized in that: Applied to a first device, the method includes: When multiple smart devices are waiting to be connected, obtain the user's status information; When the state information acquired at the first time is the first state information, preferentially controlling access of the smart device associated with the first state information among the multiple smart devices; When the state information acquired at the second time is changed to the second state information, the access of the smart device associated with the second state information among the multiple smart devices is preferentially controlled.
2. The method according to claim 1, characterized in that The first state information includes current state information and / or historical state information determined at the first time, and the second state information includes current state information and / or historical state information determined at the second time.
3. The method according to claim 2, characterized in that The current status information includes the current location information of the user, or the next location information of the user, or the current schedule information of the user; The historical status information includes the historical habit information or historical schedule information of the user, and the historical habit information includes device usage habits and / or movement path habits.
4. The method according to any one of claims 1 to 3, characterized in that: After the step of preferentially controlling access of the smart device associated with the first status information among the multiple smart devices, the method further includes: When it is acquired at the third time that the state information is changed to the third state information, the access of the smart device associated with the third state information among the multiple smart devices is continued to be controlled.
5. The method according to claim 4, characterized in that The first state information includes a first location where the user is currently located determined at the first time, and the third state information includes a third location where the user is currently located determined at the third time; After preferentially controlling access of a smart device associated with the first location among the multiple smart devices, the method further includes: In response to the user moving from the first location to the third location, continue to control access of the smart device associated with the third location among the plurality of smart devices.
6. The method according to claim 5, characterized in that The third state information further includes the device usage habits of the user determined at the third time, and the controlling access of the smart device associated with the first location among the plurality of smart devices includes: Determine, according to device priority and / or control priority, the access order of each smart device among the smart devices associated with the first location, wherein the device priority is determined according to the importance of the device, and the control priority is determined according to the device usage habits of the user; Access the smart device associated with the first location according to the access order.
7. The method according to claim 5 or 6, characterized in that: The third state information further includes a moving path habit of the user determined at the third time, the moving path habit including a common location or a common path associated with the third location; After continuing to control access of the smart device associated with the third location among the plurality of smart devices, the method further includes: The access of the smart device associated with the common location or the common path continues to be controlled.
8. The method according to any one of claims 1 to 7, characterized in that: The prioritizing control of access of a smart device associated with the first status information among the multiple smart devices includes: Receiving access information sent by the multiple smart devices; The smart device associated with the first status information is preferentially connected to the first device according to the access information sent by the smart device associated with the first status information.
9. The method according to any one of claims 1 to 7, characterized in that: The first device is communicatively connected with the second device, and the prioritizing control of access of a smart device associated with the first status information among the plurality of smart devices includes: Determining a first access strategy according to the first state information; The first access policy is sent to the second device, where the first access policy includes a policy of preferentially controlling at least one smart device associated with the first status information to access the second device.
10. The method according to any one of claims 1 to 7, characterized in that: The first device is communicatively connected with the second device, and the prioritizing control of access of a smart device associated with the first status information among the plurality of smart devices includes: The first status information is sent to the second device, where the first status information is used to indicate that the second device preferentially controls access of at least one smart device among the smart devices associated with the first status information.
11. The method according to any one of claims 1 to 10, characterized in that: Before obtaining the user's status information, the method further includes: When the multiple smart devices are waiting to be connected, preferentially controlling the access of a basic capability device among the multiple smart devices, where the basic capability device is used to obtain the first data; The obtaining of user status information includes: The first data sent by the basic capability device after access is acquired, where the first data is used to determine the status information of the user.
12. The method according to any one of claims 1 to 11, characterized in that: When multiple smart devices are waiting to be connected indoors, the method further includes: If no one is in the room, obtaining the user's historical status information, wherein the historical status information includes the user's historical habit information or historical schedule information, wherein the historical habit information includes device usage habits and / or movement path habits; According to the historical status information, access of a smart device associated with the historical status information among the multiple smart devices is preferentially controlled.
13. The method according to any one of claims 1 to 12, characterized in that: The multiple smart devices are whole-house devices, and when the multiple smart devices are waiting to be connected, obtaining the user's status information includes: When the whole-house device is powered off and restarted or started for the first time, the user's status information is obtained.
14. The method according to any one of claims 1 to 12, characterized in that: The multiple smart devices are multiple smart devices in one or more device subsystems in the whole house device, and when the multiple smart devices are waiting to be connected, obtaining the user's status information includes: Upon receiving a first instruction, acquiring user status information, wherein the first instruction is used to trigger reconnection of multiple smart devices in the one or more device subsystems; The first instruction is generated when a fault is detected in a smart device in the one or more device subsystems, or the first instruction is generated when a restart operation of the user for the one or more device subsystems is received.
15. The method according to any one of claims 1 to 14, characterized in that: The access includes accessing a network or accessing an upstream device.
16. An electronic device, characterized in that: The electronic device includes a memory and one or more processors; the memory and the processor are coupled; the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor executes the computer instructions, the electronic device executes the method as described in any one of claims 1-15.
17. A chip system, characterized in that: The chip system is applied to an electronic device; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive a signal from a memory of the electronic device and send the signal to the processor, the signal including a computer instruction stored in the memory; when the processor executes the computer instruction, the electronic device executes the method as described in any one of claims 1-15.
18. A readable storage medium, characterized in that: The method comprises instructions, which, when executed on an electronic device, cause the electronic device to execute the method according to any one of claims 1 to 15.
Citation Information
Cited By
Equipment network access detection method, electronic equipment, storage medium and program product
CN120238378A
Energy efficient low-carbon operation whole-course intelligent control cloud platform
CN120412255A
An energy-efficient and low-carbon operation full-process intelligent control cloud platform
CN120412255B