Device management and control methods, and smart management and control device
By setting up multiple communication channels in smart management and control devices and supporting permission management, the management and control needs of different users for the same smart device in the whole-house smart scenario are solved, and the convenience and security of device management are improved, especially the response capabilities in emergency situations.
Patent Information
- Application Number
- PCT/CN2024/140088
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-15
- Filing Date
- 2024-12-17
- Publication Date
- 2025-10-23
AI Technical Summary
In the whole-house smart scenario, how to enable different users to control the same smart device separately to improve the convenience and security of device control.
By setting up the first and second communication channels in the intelligent management and control device, control instructions from different users are received and executed respectively, diversified management and control of the same intelligent device can be achieved, and the permission request and grant mechanism is supported to ensure rationality and security.
It enables different users to control the same smart device separately, improving the convenience and safety of device control, especially enabling timely response in emergency situations.
Smart Images

Figure CN2024140088_23102025_PF_FP_ABST
Abstract
Description
Device management method and intelligent management device
[0001] The present application claims priority to the Chinese patent application No. 202410454382.9, filed on April 15, 2024, and entitled "Device management method and intelligent management device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the technical field of terminals, and in particular to a device management method and an intelligent management device. BACKGROUND
[0003] Due to the convenience and benefits brought by whole-house intelligence, it has been applied to more and more industries and scenarios, such as hotel scenarios, apartment scenarios, etc. In the foregoing various scenarios, various intelligent devices (such as audio and video devices, lighting system devices, environmental control devices, security system devices, etc.) are connected together by Internet of Things technology to form whole-house intelligence, which can provide users with functions such as home appliance control, lighting control, and burglar alarm.
[0004] Among them, the whole-house intelligence includes an intelligent host, which can be registered to connect to a server, and then receive control instructions of users on each intelligent device included in the whole-house intelligent scenario based on the connection channel between the server, so as to realize the management and control of each intelligent device by the user. In scenarios such as hotel scenarios, apartment scenarios, etc., there may be a need for different users to manage and control the intelligent devices in the same whole-house intelligent scenario respectively. Therefore, how to realize the management and control of these intelligent devices by different users is crucial to meet the needs of users. SUMMARY
[0005] The present application provides a device management method and an intelligent management device, which can realize the separate management and control of intelligent devices in the same scenario by different users, and improve the convenience and security of device management.
[0006] To achieve the above purpose, the present application adopts the following technical solutions:
[0007] In a first aspect, a device management method is provided, applied to an intelligent management device, the intelligent management device being connected with at least one intelligent device of a user, the at least one intelligent device including a first intelligent device, the intelligent management device including a first communication channel and a second communication channel, the method including: receiving a first instruction from a first account through the first communication channel; managing and controlling the first intelligent device based on the first instruction of the first account; receiving a first instruction from a second account through the second communication channel, the first account being different from the second account; managing and controlling the first intelligent device based on the first instruction of the second account.
[0008] Based on the technical scheme, the intelligent management and control device comprises a first communication channel and a second communication channel, that is, two communication channels, the first instruction of the first account is received through the first communication channel, and the first intelligent device of the at least one intelligent device connected with the intelligent management and control device is managed and controlled based on the first instruction of the first account. Meanwhile, the first instruction from the second account can be received through the second communication channel, and the first intelligent device can also be managed and controlled based on the first instruction of the second account. That is, the management and control of the same intelligent device connected with the intelligent management and control device is realized through different communication channels of the intelligent management and control device, and the intelligent devices connected with the intelligent management and control device belong to the same scene, different accounts can represent different users, and thus the separate management and control of the intelligent devices in the same scene by different users is realized, which can improve the convenience and security of device management and control.
[0009] In a possible design, the management and control of the first intelligent device based on the first instruction of the first account comprises management and control of a first attribute of the first intelligent device based on the first instruction of the first account; and the management and control of the first intelligent device based on the first instruction of the second account comprises management and control of a second attribute of the first intelligent device based on the first instruction of the second account, the first attribute being the same as or different from the second attribute. Based on this design, the intelligent management and control device can manage and control one attribute of the intelligent device based on the instruction of the first account, and can manage and control another attribute of the same intelligent device based on the instruction of the second account. That is, different users can manage and control different attributes of the same intelligent device, which can improve the diversity and security of device management and control.
[0010] In a possible design, the management and control of the first intelligent device based on the first instruction of the first account comprises first-type management and control of a first attribute of the first intelligent device based on the first instruction of the first account; and the management and control of the first intelligent device based on the first instruction of the second account comprises second-type management and control of the first attribute of the first intelligent device based on the first instruction of the second account, the first-type management and control being different from the second-type management and control. Based on this design, the intelligent management and control device can perform first-type management and control of a certain attribute of the intelligent device based on the instruction of the first account, and can perform different second-type management and control of the same attribute of the same intelligent device based on the instruction of the second account, for example, the first type can be changing, and the second type can be reading. Different management and control modes of the same attribute of the same intelligent device by different users are realized, and the diversity and security of device management and control can also be improved.
[0011] In a possible design, the at least one smart device further includes a second smart device and a third smart device, the second smart device and the third smart device are different smart devices, and the method further includes: receiving, through the first communication channel, a second instruction from the first account; controlling the second smart device based on the second instruction of the first account; receiving, through the second communication channel, a second instruction from the second account; and controlling the third smart device based on the second instruction of the second account.
[0012] Based on this design, the smart control device can control the second smart device based on the instruction of the first account, and can also control the third smart device different from the second smart device based on the instruction of the second account. Different users can control different smart devices, and the diversity and security of device control are achieved.
[0013] In a possible design, the method further includes: receiving, through the first communication channel, a third instruction from the first account; in a case where the first account does not have a control right corresponding to the third instruction of the first account, responding to the third instruction of the first account, requesting, through the second communication channel, the second account to grant the control right corresponding to the third instruction of the first account; or receiving, through the second communication channel, a third instruction from the second account, the third instruction of the second account being used to request to obtain a target control right, the target control right being a right to control one or more smart devices in the at least one smart device; and responding to the third instruction of the second account, requesting, through the first communication channel, the first account to grant the second account the target control right.
[0014] Based on this design, when the smart control device receives an instruction of the first account, and the first account does not have a control right corresponding to the instruction, i.e., a control right required to perform a control operation corresponding to the instruction, the smart control device can request, through the second communication channel, the second account to grant the first account the corresponding control right. Similarly, when the smart control device receives an instruction of the second account used to request to obtain a control right, the smart control device can also request, through the first communication channel, the first account to grant the second account the corresponding control right. This implementation enables one user to authorize another user, and can ensure the rationality and security of device control. For example, when various emergency situations (such as fire) occur, through this authorization, the emergency situations can be responded to in a timely manner.
[0015] In a possible design, the at least one smart device further includes a fourth smart device, and after the control authority corresponding to the third instruction of the first account is requested from the second account through the second communication channel, the method further includes: in a case where the third instruction of the first account is used to instruct to control the fourth smart device, controlling the fourth smart device in response to the authorization of the second account; or, in a case where the third instruction of the first account is used to instruct to control a third attribute of the fourth smart device, controlling the third attribute in response to the authorization of the second account; or, in a case where the third instruction of the first account is used to instruct to control the third attribute of the fourth smart device in a third type, controlling the third attribute in the third type in response to the authorization of the second account.
[0016] Based on this design, after the smart control device obtains the authorization required by the third instruction of the first account, the control is performed based on the specific control dimension corresponding to the third instruction (such as control of a certain device, or control of a certain attribute of a certain device, or control of a certain type of a certain attribute of a certain device), which can guarantee the normal execution of the user control instruction and the security of the device control.
[0017] In a possible design, the method further includes: receiving a fourth instruction from the first account through the first communication channel; and updating the control authority of the second account in response to the fourth instruction of the first account, the control authority of the second account being an authority to control one or more smart devices in the at least one smart device. Similarly, the control authority of the first account can also be updated in a similar manner. Based on this design, the smart control device can also directly receive the instruction of the first account to update the control authority of the second account, that is, one user has the authority to change the control authority of another user, which can guarantee the use experience of the changing user and the security of the device control.
[0018] In a possible design, the method further includes: sending the control authority of the second account to the first account through the first communication channel; or, sending the control authority of the first account to the first account through the first communication channel; or, sending the control authority of the second account to the second account through the second communication channel; or, sending the control authority of the first account to the second account through the second communication channel; where the control authority of the first account and the control authority of the second account are both authorities to control one or more smart devices in the at least one smart device.
[0019] Based on the design, the management and control permission of the second account can be sent to the first account through the first communication channel, or the management and control permission of the first account can be sent to the second account through the second communication channel, that is, the management and control permission of one party can be sent to the other party, and one party can know the management and control permission of the other party. Alternatively, the management and control permission of the first account can be sent to the first account through the first communication channel, or the management and control permission of the second account can be sent to the second account through the second communication channel, so that the user can know the management and control permission of the user, and the experience of the user in managing and controlling the device can be improved.
[0020] In a possible design, before the management and control permission of the second account is sent to the first account through the first communication channel, the method further includes: receiving permission configuration information of the second account, the permission configuration information being used to determine the permission of the second account in managing and controlling one or more smart devices in the at least one smart device. Similarly, the configuration of the management and control permission of the first account can also be implemented in a similar manner. In this way, the smart management and control device can receive the configuration information of the second account, and then determine the management and control permission of the second account, thereby implementing the configuration of the management and control permission of the second account.
[0021] In a possible design, the first communication channel is a communication channel between the smart management and control device and a first server, the second communication channel is a communication channel between the smart management and control device and a second server, and the first server and the second server are the same or different. In this way, the smart management and control device is connected to the same or different servers, and the establishment of the first communication channel and the second communication channel can be implemented.
[0022] In a possible design, the first communication channel and the second communication channel are connected to the same interface of the smart management and control device, or the first communication channel and the second communication channel are connected to different interfaces of the smart management and control device. In this way, when the first communication channel and the second communication channel are connected to the same interface of the smart management and control device, the configuration of multiple communication channels can still be implemented even if the smart management and control device only includes one interface. When the first communication channel and the second communication channel are connected to different interfaces of the smart management and control device, the disconnection or connection of one communication channel will not affect the other communication channel.
[0023] In a possible design, the smart management and control device is a whole-house smart host; or the first account is a login account of a first application, and the first application is an application for managing one or more of the at least one smart device; or the second account is a login account of a second application, and the second application is an application for managing one or more of the at least one smart device.
[0024] In a second aspect, a device management method is provided. The method is applied to a terminal device including a display screen, and the terminal device is logged in a first account. The method includes: receiving, by a first communication channel, a management right of a second account from a smart management device, the management right of the second account being a right to manage at least one smart device through a second communication channel, the at least one smart device being one or more of smart devices of a user connected to the smart management device, the second account being different from the first account, and the first communication channel and the second communication channel being channels on the smart management device; and displaying the management right of the second account.
[0025] According to the design, the terminal device logged in the first account can receive the management right of the second account through the first communication channel and display the management right, so that the management right of the second account is obtained, the user can know the management right of the other user, and the device management experience of the user is improved.
[0026] In a possible design, after the management right of the second account is displayed, the method further includes: receiving a target operation performed by the first account; and in response to the target operation, instructing the smart management device to update the management right of the second account. According to the design, the terminal device can directly receive the operation of the first account and instruct the smart management device to update the management right of the second account. That is, the user has the right to change the management right of the other user, so that the use experience of the user and the security of the device management are ensured.
[0027] In a possible design, the method further includes: reminding the first account to configure the management right of the second account. The first account can be reminded to configure the management right of the second account in various manners such as voice broadcast and display screen display. This can realize the authorization of one user to another user, and ensure the rationality and security of the device management. For example, when various emergency situations (such as fire) occur, the emergency situations can be timely responded to through the authorization.
[0028] In a third aspect, a device management method is provided. The method is applied to a terminal device including a display screen, and the terminal device is logged in a second account. The method includes: receiving, by a second communication channel of each smart management device of at least one smart management device, a management right of the second account, each smart management device including a first communication channel and the second communication channel, the management right of the second account being a right to manage at least one smart device through the second communication channel, the at least one smart device being one or more of smart devices of a user connected to each smart management device; and displaying the management right of the second account.
[0029] Based on the design, the terminal device logged in the second account can receive the management and control authority of the second account through the second communication channel of each smart host, that is, the second account is a centralized control account, and can manage the smart devices connected to different smart control devices, and the management and control authority of the second account is output, so that the user can know which management and control authority he has, and the management and control experience of the user when performing device management is improved.
[0030] In a possible design, after the display of the management and control authority of the second account, the method further includes: receiving a target operation performed by the second account, the target operation being used for managing the smart devices connected to the plurality of smart control devices. Based on the design, when the terminal device receives the operation of the second account, the smart devices connected to the plurality of smart control devices can be managed, so that the centralized management and batch management of the smart devices can be implemented, that is, the same user has the authority to manage the smart devices connected to different smart control devices, and the user experience can be ensured.
[0031] In a possible design, the at least one smart control device includes a first smart control device and a second smart control device; and the method further includes: prompting the second account to configure the management and control authority of the first account, the management and control authority of the first account being the authority to manage one or more smart devices through the first communication channel of the first smart control device; or, prompting the second account to configure the management and control authority of a third account, the management and control authority of the third account being the authority to manage one or more smart devices through the first communication channel of the second smart control device; wherein the first account, the second account, and the third account are different accounts.
[0032] Based on the design, the terminal device can prompt the first account to configure the management and control authority of different accounts, that is, the first account has the authority to authorize different accounts, so that the rationality and safety of device management can be ensured, and the use experience of the first account can also be ensured.
[0033] In a fourth aspect, a device is provided, which has a function of implementing the method in any design of any of the above-mentioned first aspect to third aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions. In a possible example, taking the device as a smart control device as an example, the device can include a communication unit and a processing unit. In another possible example, taking the device as a terminal device as an example, the device can include a communication unit and a display unit.
[0034] In a fifth aspect, an intelligent management and control device is provided, comprising a communication interface, a processor and a memory, the communication interface, the memory and the processor being coupled, the communication interface being configured to communicate with other devices, the memory being configured to store program codes, the program codes comprising instructions, the processor reading the instructions from the memory, so that the intelligent management and control device performs the method according to any one of the first aspect and the designs thereof.
[0035] In a sixth aspect, a terminal device is provided, comprising a communication interface, a processor, a memory and a display screen, the communication interface, the display screen, the memory and the processor being coupled, the communication interface being configured to communicate with other devices, the memory being configured to store program codes, the program codes comprising instructions, the processor reading the instructions from the memory, so that the terminal device performs the method according to any one of the second aspect and the designs thereof. Alternatively, the terminal device performs the method according to any one of the third aspect and the designs thereof.
[0036] Optionally, in the embodiments of the present application, the memory can be coupled with the processor, or can be independent of the memory. For example, the communication interface can be a transceiver, an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or related circuit, etc.
[0037] In a seventh aspect, a computer readable storage medium is provided, comprising a computer program, when the computer program is run on a device, the device performs the method according to any one of the first aspect to the third aspect and the designs thereof.
[0038] In an eighth aspect, a computer program product is provided, comprising a computer program or instructions, when the computer program or instructions are run on a computer, the computer performs the method according to any one of the first aspect to the third aspect and the designs thereof.
[0039] In a ninth aspect, a chip system is provided, comprising at least one processor and at least one interface circuit, the at least one interface circuit being configured to perform a transceiving function and send instructions to the at least one processor, when the at least one processor executes the instructions, the at least one processor performs the method according to any one of the first aspect to the third aspect and the designs thereof.
[0040] In a tenth aspect, a communication system is provided, comprising the intelligent management and control device according to the fifth aspect and the terminal device according to the sixth aspect.
[0041] It should be noted that the technical effects brought by any design in the fourth aspect to the tenth aspect can be referred to the technical effects brought by the corresponding design in the first aspect to the third aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0042] FIG. 1 is a scene diagram of a whole-house intelligence provided by an embodiment of the present application;
[0043] FIG. 2 is a flow diagram of a management and control scheme provided by an embodiment of the present application;
[0044] FIG. 3 is a structural diagram of a communication system provided by an embodiment of the present application;
[0045] FIG. 4 is a structural diagram of an intelligent host provided by an embodiment of the present application;
[0046] FIG. 5 is a connection structure diagram of a control channel of an intelligent host provided by an embodiment of the present application;
[0047] FIG. 6 is a flow diagram of establishing a control channel provided by an embodiment of the present application;
[0048] FIG. 7 is an interface diagram one provided by an embodiment of the present application;
[0049] FIG. 8 is an interface diagram two provided by an embodiment of the present application;
[0050] FIG. 9 is an interface diagram three provided by an embodiment of the present application;
[0051] FIG. 10 is a profile diagram corresponding to a smart home device provided by an embodiment of the present application;
[0052] FIG. 11 is a flow diagram of an intelligent host acquiring a preset permission from a server for configuration provided by an embodiment of the present application;
[0053] FIG. 12 is an interface diagram four provided by an embodiment of the present application;
[0054] FIG. 13 is a flow diagram of controlling a smart home device provided by an embodiment of the present application;
[0055] FIG. 14 is an interface diagram five provided by an embodiment of the present application;
[0056] FIG. 15 is a flow diagram of an intelligent host sending a management and control permission provided by an embodiment of the present application;
[0057] FIG. 16 is an interface diagram six provided by an embodiment of the present application;
[0058] FIG. 17 is an interface diagram seven provided by an embodiment of the present application;
[0059] FIG. 18 is a schematic diagram of an interface according to an embodiment of the present application;
[0060] FIG. 19 is a schematic diagram of a process of applying for a control right according to an embodiment of the present application;
[0061] FIG. 20 is a schematic diagram of a process of a device control method according to an embodiment of the present application;
[0062] FIG. 21 is a schematic diagram of a structure of a device according to an embodiment of the present application;
[0063] FIG. 22 is a schematic diagram of a structure of a chip system according to an embodiment of the present application. DETAILED DESCRIPTION
[0064] In the description of the present application, unless otherwise specified, " / " represents that the objects before and after the " / " are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent: A alone, A and B together, B alone, where A, B can be singular or plural.
[0065] In the description of the present application, unless otherwise specified, "multiple" means two or more than two. "At least one of the following" or the like means any combination of the items, including any combination of single item or multiple items. For example, at least one of a, b, or c, can represent: a, b, c, a and b, a and c, b and c, a and b and c, where a, b, c can be single or multiple.
[0066] In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, "first", "second" and the like are used to distinguish the same items or similar items with basically the same function and effect. Those skilled in the art can understand that "first", "second" and the like do not limit the quantity and execution order, and "first", "second" and the like do not necessarily mean different.
[0067] With various smart devices entering people's lives, the era of whole-house intelligence has already come. For example, FIG. 1 is a schematic diagram of a whole-house intelligence scene according to an embodiment of the present application. It can be understood that the whole-house intelligence takes a house as a platform, integrates various technologies such as comprehensive wiring technology, network communication technology, security protection technology, automatic control technology, audio and video technology, and facilities related to home life, and improves the experience of home safety, convenience, comfort and the like by constructing an efficient management system of residential facilities and home affairs.
[0068] As shown in FIG. 1, the whole house includes an entrance hall, a kitchen, a dining room, a living room, a balcony, a master bedroom, a secondary bedroom, a bathroom, and the like. The whole house is provided with a plurality of smart devices. Specifically, the kitchen is provided with an electric rice cooker or an electric pressure cooker, a gas device, a smart switch panel, a smart electric lamp, and the like; the living room is provided with a smart sound box, a smart electric lamp, a smart television, a routing device, a smart host (which can also be referred to as a whole-house smart host), and the like; the balcony is provided with a smart curtain, and the like; the dining room is provided with a smart electric lamp, a sweeping robot, and the like; the master bedroom is provided with a smart electric lamp, a smart curtain, a smart television, a smart sound box, a routing device, and the like; the secondary bedroom is provided with a smart electric lamp, a smart desk lamp, and the like; and the bathroom is provided with a smart electric lamp, a body fat scale, and the like.
[0069] Among them, the smart devices under the whole-house smart scene can be connected by wired communication or wireless communication. Exemplarily, the wired communication can include, but is not limited to, power line communication (PLC), and the like. The wireless communication can include, but is not limited to, near field communication (NFC), bluetooth (BT) (for example, traditional Bluetooth or Bluetooth low energy (BLE)), wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Zigbee, frequency modulation (FM), infrared (IR), and the like.
[0070] With the wide application of whole-house smart in different industries and scenes, in some scenes or industries, such as hotel scenes, apartment scenes, and the like, there can be a demand for different users to control the smart devices under the same whole-house smart scene respectively. In some implementations, the different users can include users who enjoy or use the whole-house smart service, which are referred to as home users in the embodiments of the present application, and users who purchase or manage the whole-house smart service, which are referred to as enterprise users in the embodiments of the present application. Taking the hotel scene as an example, the whole-house smart can be installed in each room in the hotel, and each customer who stays in each room can be referred to as a home user, while the management enterprise of the hotel can be referred to as an enterprise user, and the home user and the enterprise user can both have a demand for controlling the smart devices in the room where the home user stays. Taking the apartment scene as an example, the whole-house smart can be installed in each household of the apartment, and each resident or tenant who stays in each household can be referred to as a home user, while the management enterprise (such as a property or a landlord) of the apartment scene can be referred to as an enterprise user, and the home user and the enterprise user can both have a demand for controlling the smart devices in the house where the home user lives.
[0071] Of course, in other scenarios, the definitions of the home user and the enterprise user can also be changed. It can be understood that the home user and the enterprise user are only names for distinguishing different user roles in some exemplary scenarios, and in other implementation scenarios, different types of users can also be distinguished by other names, such as a first user, a second user, and the like.
[0072] In one management and control scheme, as shown in (1) of FIG. 2, the smart host 200 included in the whole-house intelligence can be connected and registered to the server to which the home user belongs, such as the smart life cloud 210, and then receive the control instruction from the home user from the smart life cloud 210, and implement the management and control of the smart device 230 (such as a smart sound box 231, a smart television 232, a smart table lamp 233, a smart electric lamp 234, and the like) by the home user based on the control instruction. Alternatively, as shown in (2) of FIG. 2, the smart host 200 can be connected and registered to the server to which the enterprise user belongs, such as the remote server 220, and then receive the control instruction from the enterprise user from the remote server 220, and implement the management and control of the smart device 230 by the enterprise user based on the control instruction. That is, the smart host can only be connected and registered to the server to which one of the users belongs, and accordingly, the smart host can only receive the control instruction of the smart device by one of the users, and implement the management and control of the smart device by one of the users, which cannot meet the demand of the different users for the management and control of the smart device in the same whole-house intelligent scenario. The different users can be different types or different roles of users.
[0073] Based on this, the embodiment of the present application provides a device management and control method, which can implement the management and control of the smart device by different users in the same scenario, and improve the convenience and security of device management and control.
[0074] The technical scheme provided by the embodiment of the present application can be applied to a scenario in which a plurality of different users simultaneously manage and control a plurality of smart devices, and the plurality of users need to issue control commands to the plurality of smart devices through different servers.
[0075] For example, FIG. 3 shows an architecture schematic diagram of a communication system to which the device management and control method provided by the embodiment of the present application is applied. As shown in FIG. 3, the communication system 300 includes at least one first device 310 and a second device 320.
[0076] The first device 310 can be a smart device. For example, the smart device can include, but is not limited to, a smart home device, a smart city device, a vehicle-mounted device, a mobile phone, a tablet computer, a notebook computer, a netbook, a personal digital assistant (PDA), a wearable device, an artificial intelligence (AI) device, and the like. For example, the smart home device can include, but is not limited to, a smart home control panel, an audio / video device (such as a large-screen device, a sound box, and the like), a lighting system device (such as a table lamp, an electric lamp, and the like), an environmental control device (such as an air purifier, a sweeping robot, and the like), a security system device (such as a camera, a smart door lock, and the like), a kitchen appliance device (such as an oven, a dishwasher, and the like), a smart sensor, and the like. In FIG. 3, the at least one first device 310 is respectively shown as a smart speaker 311, a smart television 312, a smart table lamp 313, and a smart electric lamp 314.
[0077] The second device 320 (also referred to as a smart management device 320) can be a device dedicated to managing and controlling the first device 310, or can be a device containing the function of managing and controlling the first device 310. The second device 320 can be connected to the first device 310. For example, the first device 310 can be a smart host, a smart light host, a routing device, a gateway device, and the like. Optionally, the second device 320 can be a fixed device or a portable device. In this embodiment, the second device 320 is taken as a smart host for description. In some embodiments, the second device 320 can receive control instructions from different users or different accounts, and manage and control the first device 310 based on the control instructions.
[0078] In some embodiments, the number of second devices 320 can be multiple, and different second devices 320 can be used to manage and control different first devices 310. Different second devices 320 can be connected to different first devices 310.
[0079] In some embodiments, the communication system 300 can further include a third device 330 and a fourth device 340. For example, the third device 330 and / or the fourth device 340 can include, but are not limited to, a mobile phone, a notebook computer, a personal digital assistant (PDA), a personal computer, and the like. The third device 330 can be used to receive control instructions of the first device 310 from a home user, and send the control instructions to the second device 320, so as to manage and control the first device 310 by the home user. Similarly, the fourth device 340 can be used to receive control instructions of the first device 310 from an enterprise user, and send the control instructions to the second device 320, so as to manage and control the first device 310 by the enterprise user.
[0080] Optionally, in the embodiments of the present application, the home user can perform various key operations, gesture instructions, voice operations, etc. on the third device 330, and the third device 330 can obtain the control instruction of the home user in response to the operation of the home user. Similarly, the enterprise user can also perform various types of operations on the fourth device 340, and the fourth device 340 can obtain the control instruction of the enterprise user in response to the operation of the enterprise user.
[0081] In some embodiments, the number of third devices 330 can be one or more, and different third devices 330 can be used to receive control instructions of different home users to the first device 310, respectively. Correspondingly, different third devices 330 can send control instructions to the second device 320, respectively, to realize the management and control of the first device 310 by different home users.
[0082] In some embodiments, the fourth device 340 can be connected to multiple different second devices 320 at the same time, and the fourth device 340 can receive control instructions of the enterprise user to the first device 310 managed by different second devices 320. Correspondingly, the fourth device 340 can send control commands to different second devices 320, respectively, to realize the centralized control of the first device 310 by the enterprise user.
[0083] It can be understood that the embodiments of the present application do not make specific limitations on the types and product forms of the first device 310, the second device 320, the third device 330 and the fourth device 340.
[0084] In some embodiments, the third device 330, the fourth device 340, and the second device 320 can forward communications through other devices, such as through a server for forwarding. Optionally, the server can be a cloud server or a network server or other device or network device with computing function. The server can be a server, or a server cluster composed of multiple servers, or a cloud computing service center. Therefore, in this embodiment, the communication system 300 shown in FIG. 3 can also include a server 350 and a server 360. Optionally, the server 350 and the server 360 can be the same type of server, such as a remote server or a cloud computing center. They can also be different types of servers, such as the server 350 being a cloud computing center and the server 360 being a remote server. Optionally, the number of servers 350 and 360 can be one or more.
[0085] It can be understood that FIG. 3 is an example in which the third device 330 and the fourth device 340 communicate with the second device 320 through different servers respectively, and in other embodiments, the third device 330 and the fourth device 340 can also communicate with the second device 320 through the same server.
[0086] Optionally, each device included in the communication system 300 shown in FIG. 3 can be installed with an operating system, or can not be installed with an operating system. Exemplarily, the operating system can include, but is not limited to or other operating systems.
[0087] Optionally, each device included in the communication system 300 shown in FIG. 3 can be connected through a wired communication mode or a wireless communication mode. The wired communication mode and the wireless communication mode can be referred to the description above.
[0088] Hereinafter, taking the second device 320 as an example, FIG. 4 shows a structural schematic diagram of a smart host according to an embodiment of the present application.
[0089] As shown in FIG. 4, the smart host can include a processor 410, a memory 420, an antenna, a communication module 430, and a display screen 440, etc.
[0090] The processor 410 can include one or more processing units, for example: the processor 410 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices, or can be integrated in one or more processors.
[0091] The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching instructions and executing instructions.
[0092] The processor 410 can also be provided with a memory for storing instructions and data.
[0093] In some embodiments of the present application, the processor 410 can limit the management and control authority of the smart device by the family user and the enterprise user respectively based on the acquired preset authority. The acquired preset authority can be referred to the description below.
[0094] The communication function of the smart host can be implemented through the antenna and the communication module 430.
[0095] The memory 420 can be used to store computer executable program codes, including instructions. The memory 420 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required by a function (such as an image playing function, etc.), and the like. The data storage area can store data created during the use of the smart host, etc. The processor 410 executes various function applications and data processing of the smart host by running the instructions stored in the memory 420 and / or the instructions stored in the memory arranged in the processor.
[0096] In some embodiments of the present application, the memory 420 can be used to store the acquired permission configuration.
[0097] The antenna is used to transmit and receive electromagnetic wave signals. Each antenna in the smart host can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antenna.
[0098] The communication module 430 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. applied on the smart host. The communication module 430 can be one or more devices integrating at least one communication processing module. The communication module 430 receives electromagnetic waves via the antenna, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 410. The communication module 430 can also receive signals to be sent from the processor 410, perform frequency modulation, amplification, and convert the signals to electromagnetic wave radiation via the antenna.
[0099] In some embodiments, the antenna and the communication module 430 of the smart host are coupled, so that the smart host can communicate with the network and other devices (e.g., one or more devices other than the second device 320 as shown in FIG. 2) through wireless communication technologies. The wireless communication technologies can include 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), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc.
[0100] In some embodiments, one or more network interfaces (or interfaces) can be included in the communication module 430, which can be used to access different networks to implement communication with other devices (e.g., the server 350, the server 360 as shown in FIG. 3). It can be understood that the name of the network interface can be different when the smart host uses different protocols.
[0101] In some implementations, different control channels included in the smart host can be connected to different network interfaces of the smart host, respectively. For example, as shown in (1) of FIG. 5, when the smart host 500 includes at least two network interfaces, the smart host 500 can access the network 1 provided by the router 510 through the network interface 1, and establish a connection with the server 350 through the network 1 (which can be taken as an example of a control channel). The smart host 500 can access the network 2 provided by the switch 520 through the network interface 2, and establish a connection with the server 360 through the network 2 (which can be taken as another example of a control channel). In this way, the smart host is connected to different control channels by accessing different networks, and when one control channel is disconnected due to network failure, the other control channel will not be affected. That is, the smart host can be connected to different control channels through two independent networks, respectively, and they do not affect each other.
[0102] In other implementations, different control channels included in the smart host can be connected to the same network interface of the smart host at the same time. As shown in (2) of FIG. 5, the smart host can access network 3 provided by router 510 through network interface 1, and establish a connection with server 350 through network 3 (which can be taken as an example of a control channel). Network 3 provided by switch 520 can also be accessed through network interface 1, and a connection with server 360 through network 3 (which can be taken as another example of a control channel) can be established.
[0103] The smart host implements display functions through a GPU, a display screen, and an application processor, etc. The display screen 440 is used to display images, videos, etc. The display screen 440 includes a display panel.
[0104] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the smart host. In other embodiments of the present application, the smart host can include more or fewer components than shown in the figure, such as the smart host can also include one or more of a battery, a power management module, a charging management module, etc. Or combine some components, or split some components, or different component arrangements. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware.
[0105] Optionally, the structure of other devices shown in FIG. 3 except for the second device 320 can refer to the implementation of the smart host. Optionally, other devices can include more or fewer components than the smart host shown in FIG. 4, or combine some components, or split some components, or replace some components, or different component arrangements. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware.
[0106] The technical solutions involved in the following embodiments can be implemented in a device with a structure as shown in FIG. 4 and a system with an architecture as shown in FIG. 3.
[0107] It can be understood that in the following embodiments, the first device 310 is described as a smart home device, the second device 320 is described as a smart host, the third device 330 is described as a mobile phone, the fourth device 340 is described as a computer, the server 350 is described as a smart life cloud, and the server 360 is described as a remote server. The smart home device, or the smart host, or the mobile phone, or the computer, or the smart life cloud, or the remote server can execute some or all of the steps in the embodiments of the present application. These steps or operations are only examples, and the embodiments of the present application can also perform other operations or variations of various operations. In addition, each step can be executed in a different order according to the embodiments of the present application, and it is possible that not all operations in the embodiments of the present application are executed.
[0108] In some embodiments, the smart host can simultaneously connect (or contain) multiple different control channels, which can be respectively used to transmit control instructions of different users, and the smart host can control the smart home device based on the control instructions from different control channels, thereby realizing the control of the smart home device by different users at the same time. It can be understood that in the embodiments of the present application, the different control channels contained by the smart host can refer to mutually independent communication connection channels. These different communication connection channels can be physically isolated.
[0109] In this way, the needs of different users to separately control the smart devices in the same whole-house smart scene can be met, and the convenience and safety of device control can be improved. Optionally, the different users can include one or more home users and / or one or more enterprise users. The multiple different users can be the same type of users, such as home users or enterprise users. Alternatively, they can be different types of users, such as home users, enterprise users, other users, and the like.
[0110] The following describes the device control method provided by the embodiments of the present application by taking an example in which the smart host simultaneously connects two different control channels, i.e., a user control channel and an enterprise control channel, the user control channel is used to transmit control instructions from a home user, and the enterprise control channel is used to transmit control instructions from an enterprise user, that is, the embodiments of the present application are described by taking an example in which the different users include a home user and an enterprise user.
[0111] In some embodiments, the user control channel can refer to a communication connection between the smart host and the smart life cloud. The home user can send a control command to the smart host through a smart life application installed on a mobile phone or the like, and the control command will be transmitted to the smart host through the user control channel. The enterprise control channel can refer to a communication connection between the host and the management server of the enterprise, i.e., a remote server. The enterprise user can send a control command to the smart host through an enterprise application (or referred to as a first application) installed on a computer or the like, and the control command will be transmitted to the smart host through the enterprise control channel.
[0112] The following describes the process of establishing the user control channel and the enterprise control channel.
[0113] In some embodiments, the above-mentioned operations of establishing the user control channel and the enterprise control channel can be performed by a maintenance personnel. As a specific example, a device such as a mobile phone can be installed with a maintenance application (such as an application (APP)) for managing the smart host, and the maintenance personnel can perform the above-mentioned operations through the maintenance application. In this example, FIG. 6 shows a flowchart of establishing a user control channel and an enterprise control channel according to an embodiment of the present application. As shown in FIG. 6, the flowchart includes the following steps:
[0114] S601, the smart host establishes a connection with the mobile phone installed with the maintenance application.
[0115] In some embodiments, after the mobile phone installed with the maintenance application (which can be referred to as a mobile phone for short) accesses a local area network (such as a local area network provided by a router and the like), it can discover a smart host that is also in the same local area network and / or logs in the same account (such as a Huawei account and the like). For example, the account is used to represent an account of a smart host management system logged in during a server registration process. For example, the account can be an account of the maintenance application registered by the maintenance personnel.
[0116] In some examples, as shown in (1) of FIG. 7, the mobile phone displays a main interface 700 (or a desktop 700), which includes one or more application icons, such as an icon of a calendar application, an icon of a weather application, and the like, which will not be described one by one here. The icons of different applications can be used to open a running interface of the corresponding application to realize the function of the corresponding application. The one or more application icons include an icon 701 of the maintenance application.
[0117] As the mobile phone detects a click operation of the maintenance personnel on the icon 701 of the maintenance application, in response to the click operation, the mobile phone displays a running interface 710 of the maintenance application, as shown in (2) of FIG. 7. The running interface 710 of the maintenance application includes an adding control (or button) 711, which can be used to add a smart host. Optionally, the adding control 711 can also be used to realize a scan function, and the identification code of the smart host and the like can be scanned through the scan function, so that the smart host can be added. Optionally, one or more adding device cards 712 can also be displayed in the running interface 710 of the maintenance application, which can also be used to add one or more smart hosts.
[0118] Taking the case that the installation and maintenance personnel adds the intelligent host through the adding control 711, the mobile phone detects a click operation of the installation and maintenance personnel on the adding control 711, for example. In response to the click operation, the mobile phone displays the interface 720 as shown in (3) of FIG. 7. The interface 720 includes the adding device control 721, which can be used to add the intelligent host. The mobile phone detects a click operation of the installation and maintenance personnel on the adding device control 721, and in response to the operation, the mobile phone starts searching for the intelligent host in the same local area network or logged into the same account, and presents information of the searched intelligent host. As shown in the adding device interface 730 in (4) of FIG. 7, the mobile phone can display the identification of the intelligent host located near the mobile phone. It can be understood that only the identification of one intelligent host is shown in the adding device interface 730 in (4) of FIG. 7, and in actual application, there can be a case that the identifications of multiple intelligent hosts exist.
[0119] In some examples, the corresponding intelligent host can be added to the installation and maintenance application through the connection button 731 shown in (4) of FIG. 7. Of course, in other examples, the mobile phone can also add one or more searched intelligent hosts to the installation and maintenance application through other adding operations, and the type of the adding operation is not limited in the embodiments of the present application.
[0120] Alternatively, the installation and maintenance personnel can also add the intelligent host to the installation and maintenance application through the scan control 722 shown in (3) of FIG. 7. For example, the mobile phone detects a click operation of the installation and maintenance personnel on the scan control 722 included in the interface 720 (not shown in the figure). In response to the operation, the mobile phone can start the camera to scan various types of identification codes such as two-dimensional codes or bar codes on the intelligent host. After successful scanning, the corresponding intelligent host can be added to the installation and maintenance application.
[0121] Correspondingly, after the intelligent host is added to the installation and maintenance application, the mobile phone installed with the installation and maintenance application establishes a connection with the intelligent host, and the installation and maintenance personnel can manage the intelligent host through the mobile phone installed with the installation and maintenance application.
[0122] S602, the mobile phone installed with the installation and maintenance application receives the configuration information input by the installation and maintenance personnel.
[0123] The configuration information can be used to establish a user control channel and an enterprise control channel for the smart host. In some embodiments, the configuration information can include multiple types of information such as an identification of the smart life cloud, an identification of the remote server, an identification of the smart host, a secret key or a certificate of the smart life cloud, the remote server, or the smart host, etc. For example, the identification of the smart life cloud and the identification of the remote server can be an address (such as an internet protocol (IP) address) or other unique identification information. The identification of the smart host can include a smart host ID, a serial number (SN), or other unique ID assigned to the smart host.
[0124] It can be understood that the installer can add one or more smart hosts to the installation and maintenance application at the same time, and different smart hosts can be used to manage and control different smart home devices. For example, in a hotel scenario, a smart host can be installed in each room of the hotel, and each smart host can be used to manage smart home devices in the corresponding room. For example, a smart host installed in room A can be used to manage smart home devices in room A, a smart host installed in room B can be used to manage smart home devices in room B, and the installer can add all the smart hosts installed in the hotel to the installation and maintenance application and configure control channels for one or more of the smart hosts.
[0125] For example, after the installer adds the smart host installed in room 1011 to the installation and maintenance application, the mobile phone can display a configuration interface 800 as shown in (1) of FIG. 8, which can be used to configure at least one of a home user channel and an enterprise control channel for the smart host installed in room 1011. The configuration interface 800 includes a function button 801, which can be used to call up one or more function options, such as an edit house name option 802, an environment configuration option 803, a batch network configuration option 804, etc., which will not be described one by one here.
[0126] The mobile phone detects a click operation of the user on the environment configuration option 803, and in response to the operation, the mobile phone presents an environment configuration interface 810, as shown in (2) of FIG. 8. The environment configuration interface 810 includes an imported environment configuration button 811, through which the installer can import configuration information. Optionally, the environment configuration interface 810 can also include one or more imported configuration files, such as a device cloud service address, a log cloud server address, and a full reset button, etc. The mobile phone detects a click operation of the user on the imported environment configuration button 811, and in response to the operation, the mobile phone presents one or more configuration files, such as a configuration file 821, a configuration file 822, a configuration file 823, etc., as shown in (3) of FIG. 8. Each configuration file includes different configuration information for configuring different control channels. The installer can perform a selection operation on any one of the configuration files, and in response to the selection operation, the mobile phone receives the configuration information input by the installer.
[0127] For example, Table 1 shows an example of the configuration information included in the configuration file provided in the embodiments of the present application.
[0128] Table 1
[0129] The configuration information shown in Table 1 includes the address of the smart life cloud "1.1.1.0", the secret key "hilinkDevicePrimaryCloudUrl", the address of the remote server "1.1.1.1", the secret key "ROOT", the ID and SN of the smart host, etc. Optionally, the configuration information can also include a "project code", which can be used to identify different projects. It can be understood that the configuration information corresponding to different projects can be different, and for the same smart host, it can belong to one or more projects. Therefore, the configuration information also includes a project identifier (such as a "project code"), which can facilitate the smart host to determine which project the current configuration information belongs to. Optionally, the same project can include multiple smart hosts, and the project code included in the configuration information of the smart host belonging to the same project can be the same. For example, taking a hotel scenario as an example, if a hotel corresponds to a project code, then the project code included in the configuration information of all smart hosts in the hotel is the project code corresponding to the hotel.
[0130] S603, the mobile phone installed with the installation and maintenance application sends the configuration information to the smart host. Correspondingly, the smart host receives the configuration information from the mobile phone.
[0131] S604, the smart host initiates registration connections to the smart life cloud and the remote server based on the configuration information.
[0132] Optionally, the smart host can access different networks based on different network interfaces, and then register to connect to the smart life cloud and the remote server respectively through different networks. Of course, the smart host can also access the same network based on the same network interface, and then register to connect to the smart life cloud and the remote server respectively through the same network.
[0133] In some embodiments, the smart host can directly initiate the registration connection to the remote server after receiving the configuration information. In other embodiments, the smart host can also initiate the registration connection to the remote server after detecting the operation of adding the smart host to the enterprise application after receiving the configuration information. The implementation of adding the smart host to the enterprise application can refer to the similar implementation of adding the smart host to the enterprise application described above.
[0134] In other embodiments, since the home user who controls the smart home device through the smart host can be different, the smart host can initiate the registration connection to the smart life cloud after detecting the operation of adding the smart host to the smart life application after receiving the configuration information. For example, the operation of adding the smart host to the smart life application can be a one-key check-in operation, or an operation of separately adding the smart host to the smart life application through scanning a code or searching, etc. as shown in FIG. 7.
[0135] For example, taking the one-key check-in operation as an example, as shown in (1) of FIG. 9, the mobile phone installed with the smart life application can display a running interface 900 of the smart life, and the running interface 900 includes a function button 901, which can be used to call out one or more options, such as an add device option 902, a create scene option, a share platform option, etc., which will not be described one by one here. The mobile phone detects a click operation of the home user on the add device option 902, and in response to the operation, the mobile phone starts to search for the smart host in the vicinity, and presents a card of the searched smart host. As shown in (2) of FIG. 9, the search interface 910 only presents a card of a smart host, i.e. a card 911, and the card 911 can be used to implement the one-key check-in operation.
[0136] As the phone detects a click operation of the family user on the card 911, for example, the phone can present a pop-up window 920 containing one or more family options, such as a new family option, an aa family option 921, and the like, as shown in (3) of FIG. 9. The family user can select to add the smart host to the family corresponding to any of the family options. As the phone detects a selection operation of the family user on the aa family option 921, for example, the phone can present a one-key house collection button 930, as shown in (4) of FIG. 9. The family user can perform an operation such as a click on the one-key house collection button 930, that is, a one-key house collection operation. In response to the one-key house collection operation, the phone adds the smart host and all smart home devices controlled by the smart host to the smart life application account of the family user. Correspondingly, during the adding process, the smart host initiates registration connection to the smart life cloud based on the configuration information.
[0137] Optionally, in other embodiments, the family user can also use a "touch and touch" method to realize the one-key house collection operation. For example, after the family user logs in to the smart life application installed on the phone using an account, the family user can touch the NFC area of the phone to the NFC tag on the smart host. In response to the touch operation, the phone can also present the one-key house collection button 930, as shown in (4) of FIG. 9. The family user can also perform the one-key house collection operation through the one-key house collection button 930.
[0138] Further, after the smart host registers and connects to the smart life cloud, a user control channel is established. After the smart host registers and connects to the remote server, an enterprise control channel is established.
[0139] It can be understood that the above only gives an implementation example of configuring the user control channel and the enterprise control channel. In actual application, the user control channel and the enterprise control channel can also be configured in other ways.
[0140] The above mainly introduces the establishment process of the user control channel and the enterprise control channel. The following introduces the process of the family user controlling the smart home devices through the user control channel and the process of the enterprise user controlling the smart home devices through the enterprise control channel.
[0141] In some embodiments, the permission of the family user to control the smart home devices through the user control channel and the permission of the enterprise user to control the smart home devices through the enterprise control channel can be different. In this way, the family user and the enterprise user have different control permissions for the smart home devices under the same whole-house smart scene, which can ensure the security of device control and user privacy.
[0142] Optionally, the control authority can include, but is not limited to, a controllable attribute range (i.e., attribute set) of the smart home device, a readable data range of the smart home device, and the like. Exemplarily, the different authorities can include, but are not limited to: controlling different smart home devices (e.g., a home user can control smart home device A, while a business user can control smart home device B); controlling different attributes or different attribute ranges of the same smart home device (e.g., a home user can control the switch attribute of the lighting device, while a business user can control the light mode of the lighting device); different authorities for the same attribute of the same smart home device (e.g., a home user can change the switch attribute of the lighting device to control the lighting device to turn on or off; a business user can only read the switch attribute of the lighting device to determine whether the lighting device is on or off, i.e., perform different types of control).
[0143] In some scenarios, to improve the experience of the home user, the home user can have full control authority over all smart home devices controlled by the smart host. Alternatively, to ensure the privacy and security requirements of the home user, the business user can have partial control authority over part of the smart home devices controlled by the smart host. Exemplarily, taking a hotel scenario as an example, for a guest staying in room A, the guest can have full control authority over all smart home devices in room A, while the hotel manager can only have partial control authority over part of the smart home devices in room A.
[0144] Of course, in other scenarios, the home user can also have only partial control authority over all smart home devices controlled by the smart host. Alternatively, the business user can have full control authority over all smart home devices controlled by the smart host, and the like.
[0145] The process of configuring the control authority of the home user over the smart home device (hereinafter referred to as the control authority of the home user) and the control authority of the business user over the smart home device (hereinafter referred to as the control authority of the business user) is described below. It can be understood that the order of configuring the control authority of the home user and the business user, and configuring the user control channel and the business control channel is not limited by the embodiments of the present application.
[0146] In some embodiments, the control authority of the family user or the control authority of the enterprise user can be preset in the server, such as the server can store a mapping relationship between the representation information of the family user and the corresponding control authority, or store a mapping relationship between the representation information of the enterprise user and the corresponding control authority. The smart host can obtain the mapping relationship from the server, and then complete the configuration of the control authority of the family user and the control authority of the enterprise user. Alternatively, when only one party user has the default full control authority of the smart home device, the server can also only preset the authority of the party user with partial control authority of the smart home device. The control authority of the family user or the enterprise user preset in the server is referred to as preset authority (or authority configuration information) in the embodiments of the application. In this way, the smart host directly obtains the preset authority from the server to complete the authority configuration of the family user or the enterprise user, that is, to complete the authority configuration of the user control channel or the enterprise control channel. Compared with the way of manually setting or selecting the authority to configure the authority of the user, the efficiency and accuracy of the authority configuration can be improved. Optionally, the introduction of the server can refer to the related introduction of the server described above.
[0147] For example, the representation information of the family user can use the login account of the smart life application, or the address of the smart life cloud, or the identification of the user control channel, or other information that can be used to represent the family user. The representation information of the enterprise user can use the login account of the enterprise application, or the address of the remote server, or the identification of the enterprise control channel, or other information that can be used to represent the enterprise user.
[0148] In some implementations, the preset authority in the server can be configured according to the device dimension. That is, whether the user has control authority over a device is configured. For example, the preset authority in the server can be that the family user can control smart home device A, smart home device B, and smart home device C; the enterprise user can control smart device D and smart home device E. In this implementation, the mapping relationship between the representation information of the family user and the corresponding authority can be used to determine which smart home devices the family user has control authority over, or which smart home devices the family user does not have control authority over. Similarly, the mapping relationship between the representation information of the enterprise user and the corresponding authority can be used to determine which smart home devices the enterprise user has control authority over, or which smart home devices the enterprise user does not have control authority over.
[0149] In other implementations, the preset authority in the server can be configured according to the device type dimension. That is, whether the user has control authority over a certain device type is configured. For this implementation, refer to the implementation of configuring according to the device dimension described above.
[0150] In yet other implementations, one smart home device can include one or more attributes, and one or more attributes can be controlled by the home user and the enterprise user.
[0151] In one embodiment, the pre-set permissions in the server can be configured according to attributes of the same type of smart home device. That is, the permissions are configured according to which attributes of which type of smart home device the user has control over.
[0152] In some examples, the attribute identifier of the smart home device can be represented by a CID (Class Identifier) of an attribute included in a service provided in a profile file. In other embodiments, the attribute identifier of the smart home device can be represented in other ways. It can be understood that the profile corresponding to a smart home device is a json file, which can be used to describe what the smart home device is, what it can do, and what services it can provide.
[0153] For example, FIG. 10 shows an example of a profile corresponding to a smart home device according to an embodiment of the present application. As shown in FIG. 10, the smart home device can provide services 1, 2, and N. For each service, one or more attributes are included, such as attributes 1, 2, and N in service 2. Each attribute can have one or more control methods, such as readable, writable, and user authorization. It can be understood that each smart home device can provide one or more services, different services have different SIDs, one service can include one or more attributes, and different attributes have different CIDs. The identifier (SID) of the same type of smart home device (such as lighting devices, temperature control devices, security devices, and audio / video playback devices) can be the same. In other words, the SIDs of the services provided by different types of smart home devices are different.
[0154] In this embodiment, in combination with the example described above, the pre-set permission configuration in the server can be as shown in Table 2.
[0155] Table 2
[0156] As shown in Table 2, taking the service identity corresponding to the smart home device of type A with SID1 as an example, the home user has the write permission for the attribute of the smart home device of type A represented by CID1 in SID1, and the enterprise user has the read permission for the attribute of the smart home device of type A represented by CID2 in SID1. Taking the service corresponding to the smart home device of type C with SID3 as an example, the home user has the read permission for the attribute of the smart home device of type C represented by CID1 in SID3, and the enterprise user has the read permission for the attribute of the smart home device of type C represented by CID2 in SID3, and the like, and the like.
[0157] It can be understood that Table 2 is an example of different device types of smart home devices using different SID identities for services. In other embodiments, services of different device types of smart home devices can be identified using the same SID. Optionally, in this embodiment, since the type of the smart home device cannot be distinguished only by the SID, the type identification of the corresponding smart home device can also be included in the preconfigured permission configuration in the server.
[0158] As another specific embodiment, the preconfigured permission in the server can be configured according to the attribute of a single smart home device. That is, the configuration is according to which user has the control permission for which attribute of which smart home device. In this embodiment, the preconfigured permission configuration in the server can be as shown in Table 3.
[0159] Table 3
[0160] As shown in Table 3, the device ID refers to the identification of the smart home device, which can be the SN or other device identification assigned in other cases. For example, taking the identification of the living room air conditioner with device ID 1 as an example, the home user has the write permission for the attribute of the living room air conditioner represented by CID1 in SID1. For another example, taking the smart window curtain in the master bedroom with device ID 3 as an example, the enterprise user has the read permission for the attribute of the smart window curtain represented by CID2 in SID3, and the like, and the like. It can be understood that Table 3 is an example of different device types corresponding to the same SID, and in other embodiments, if the SIDs corresponding to different device types are different, the device ID shown in Table 3 can not need to be preconfigured in the server.
[0161] In some embodiments, as described above, different intelligent hosts can belong to different projects, and the server can be preconfigured with permissions corresponding to different projects. Therefore, the server can also store a mapping relationship between project identifiers (such as "project code" or other identifiers shown in Table 1) and corresponding preconfigured permissions, so that the corresponding permission configuration can be obtained from the server based on the project to which the intelligent host belongs.
[0162] In this embodiment, the server preconfigured with permissions is a cloud server corresponding to the maintenance application (hereinafter referred to as the maintenance cloud), and the maintenance cloud includes permissions corresponding to multiple projects. The process of the intelligent host obtaining preconfigured permissions from the server and configuring the permissions is introduced, as shown in FIG. 11, and the process includes the following steps:
[0163] S1101, the mobile phone installed with the maintenance application obtains preconfigured permissions from the maintenance cloud based on the project identifier.
[0164] For example, the maintenance cloud stores a mapping relationship between project identifiers and preconfigured permissions, and the mobile phone installed with the maintenance application (which can also be referred to as a mobile phone) can obtain corresponding preconfigured permissions based on the mapping relationship and the project identifier. It can be understood that the obtained preconfigured permissions are permissions corresponding to the project represented by the project identifier.
[0165] In some embodiments, the project identifier of step S1101 can be an identifier of a project to which the intelligent host belongs. Optionally, before the mobile phone performs step S1101, the mobile phone can also perform an operation of obtaining the project identifier.
[0166] As a specific example, the maintenance personnel can log in to the maintenance application by using a project account, as shown in step S1103 of FIG. 11, the maintenance personnel inputs a project account to the mobile phone installed with the maintenance application, and then logs in to the maintenance application. Correspondingly, in response to the project account input by the maintenance personnel, the mobile phone can obtain the project identifier. For example, the project account can be the project identifier, or there is a binding relationship between the project account and the project identifier, and the mobile phone can also obtain the project identifier based on the project account and the binding relationship.
[0167] As another specific example, the maintenance personnel can also log in to the maintenance application by using a work number or a personal mobile phone number, and the running interface of the maintenance application can include multiple project modules, each project module corresponding to a different project identifier, and each project module can be used to trigger the obtaining of permissions of the corresponding project from the server. For example, the mobile phone detects a click operation of the maintenance personnel on a certain project module, and in response to the operation, the mobile phone can obtain the project identifier corresponding to the project module. Of course, the maintenance personnel can also obtain multiple project identifiers, and then obtain preconfigured permissions corresponding to each project identifier from the maintenance cloud based on the multiple project identifiers.
[0168] S1102, the mobile phone installed with the maintenance application sends the preset permissions to the smart master. Correspondingly, the smart master receives the preset permissions from the mobile phone.
[0169] It can be understood that one or more smart masters can be added in the maintenance application at the same time, if these smart masters all belong to the project represented by the project identifier, the mobile phone can send the preset permissions to these smart masters. If these smart masters belong to different projects represented by different project identifiers, the mobile phone can send the preset permissions to the corresponding smart master according to the project identifier.
[0170] In some embodiments, before step S1102 is performed, the steps shown in FIG. 11 can further include step S1104. The mobile phone installed with the maintenance application can establish a connection with the smart master, that is, the smart master is added to the maintenance application. For the specific adding process, please refer to the related introduction of step S601 shown in FIG. 6. Alternatively, step S1104 can be located before step S1101. In this way, after the smart master is added to the maintenance application, the mobile phone automatically obtains the preset permissions for the smart master from the maintenance cloud. Compared with the way of performing step S1104 after step S1101, the storage space can be saved, and the implementation complexity can be reduced.
[0171] It can be understood that the account logged in the maintenance application in the flow shown in FIG. 6 can be the same as or different from the account logged in the maintenance application in the flow shown in FIG. 11.
[0172] It can be understood that the above embodiments are to configure and issue the preset permissions to the smart master according to the project identifier. In other embodiments, the preset permissions can be configured according to the account, and then the preset permissions can be issued to the smart master according to the identifier of the smart master. The embodiments of the present application do not make specific limitations in this regard.
[0173] Further, after the smart master receives the preset permissions, in some embodiments, the method shown in FIG. 11 can further include step S1105.
[0174] S1105, the smart master limits the management and control of the smart home device by the family user or the enterprise user based on the preset permissions.
[0175] For example, the family user manages and controls the smart home device through the smart life application, the enterprise user manages and controls the smart home device through the enterprise application, and the control channels and the management and control permissions of each user are all configured. The process of limiting the management and control of the smart home device by the family user or the enterprise user based on the preset permissions by the smart master is introduced.
[0176] As shown in (1) of FIG. 12, the mobile phone 1300 can display a running interface 1200 of the smart life application. The running interface 1200 contains one or more cards of smart home devices added to the smart life application, such as a card 1201 of the air conditioner 13, a card 1202 of the smart screen, and the like, which will not be introduced one by one here. The home user can select one or more smart home devices to control.
[0177] As the mobile phone 1300 detects a click operation such as that of the user on the card 1201 of the air conditioner 13, in response to the operation, the mobile phone 1300 displays an air conditioner management interface 1210 as shown in (2) of FIG. 12. Among them, the air conditioner management interface 1210 contains one or more controls, such as a temperature raising control 1211, a temperature lowering control, a wind speed adjusting control, a mode adjusting control, a power on / off control, and the like. Different controls can be used to control different properties of the air conditioner. For example, as the mobile phone 1300 detects a click operation such as that of the home user on the temperature raising control 1211 to adjust the temperature of the air conditioner to 28℃, in response to the operation, the temperature of the air conditioner presented on the air conditioner management interface can be updated from 26℃ shown in (2) of FIG. 12 to 28℃, as shown in the air conditioner management interface 1220 in (3) of FIG. 12.
[0178] At the same time, as shown in FIG. 13, the mobile phone 1300 sends an instruction to control the temperature of the air conditioner 13 to rise to the smart life cloud 1310. Correspondingly, the control instruction is transmitted to the smart host 1330 through the user control channel 1320. Then, after receiving the instruction from the home user to control the temperature of the air conditioner 13 to rise, the smart host 1330 determines whether the home user has the permission to control the temperature of the air conditioner 13 to rise based on the preset permission. If it is determined that the home user has the permission, the smart host 1330 adjusts the temperature of the air conditioner 13 to the temperature set by the home user, such as 28℃ (as an example in FIG. 13), in response to the instruction of the home user. On the contrary, if the smart host 1330 determines that the home user does not have the permission to control the temperature of the air conditioner 13 to rise based on the preset permission, the smart host 1330 does not respond to the instruction of the home user, that is, the smart host 1330 does not change the state of the air conditioner 13, such as the temperature of the air conditioner 13, which remains at 26℃.
[0179] Similarly, a device such as a computer or a mobile phone can display a running interface of the enterprise application, which can be used to implement various control operations on the smart home devices, such as control of smart home devices controlled by the same smart host, smart home devices controlled by different smart hosts, smart home devices installed in the same space, smart home devices installed in different spaces, creation of a scene, and the like. As shown in FIG. 14, the computer 1340 displays a running interface 1400 of the enterprise application, which can include one or more management controls of smart home devices, such as an open control and a close control of the smart door lock 14, an open control, a close control, a volume adjustment control, and a song switching control (not shown in the figure) of the smart speaker, and the like, which can be used to implement control of the smart home. Optionally, the computer 1340 can also display a centralized control button (not shown in FIG. 14), which can be used to simultaneously implement control of multiple smart home devices, which can be smart home devices controlled by the same smart host or different smart hosts. Optionally, the running interface 1400 can also display one or more information of the space where the smart home device is installed, the state, and the like.
[0180] It can be understood that one or more smart hosts can be added to the enterprise application at the same time, that is, the remote server can establish enterprise control channels with multiple smart hosts respectively. In combination with the example shown in FIG. 14, the running interface of the enterprise application can display controls of smart home devices controlled by different smart hosts, such as controls of smart home devices in room 101 controlled by a smart host installed in room 101, controls of smart home devices in room 102 controlled by a smart host installed in room 102, and the like. The enterprise user can select to perform a control operation on smart home devices controlled by a certain smart host, and in response to the control operation of the enterprise user, the remote server can send a control instruction of the enterprise user to the corresponding smart host through the corresponding enterprise control channel. Of course, the enterprise user can also select to control smart home devices controlled by multiple smart hosts, which can be smart home devices of the same type (such as a type according to function, such as lighting devices, air conditioning devices, and the like) or smart home devices of different types. Optionally, the enterprise user can simultaneously control smart home devices controlled by multiple smart hosts through one-key operation (which can be an example of a target operation performed by the second account) or the like, or can sequentially control smart home devices controlled by multiple smart hosts through multiple operations.
[0181] As the computer 1340 detects an operation such as opening the smart door lock 14 performed by the enterprise user, such as a click or the like performed on the opening control 1401 shown in FIG. 14, in response to the operation, the computer 1340 sends an instruction to control the smart door lock 14 to open to the remote server 1350, as shown in FIG. 13. Correspondingly, the control instruction is transmitted to the smart host 1330 through the enterprise control channel 1360.
[0182] Then, after receiving the instruction from the enterprise user to control the smart door lock 14 to open, the smart host 1330 determines whether the enterprise user has the permission to control the smart door lock 14 to open based on the preset permission, and if it is determined that the enterprise user does not have the permission, the smart host 1330 does not respond to the instruction of the enterprise user, that is, the smart host 1330 does not change the state of the smart door lock 14. On the contrary, if the smart host 1330 determines that the enterprise user has the permission to control the smart door lock 14 to open based on the preset permission, the smart host 1330 controls the smart door lock 14 to open.
[0183] Optionally, in the example shown in FIG. 13, the smart host can send a response success or response failure message to the mobile phone or computer after responding or not responding to the user's instruction, so that the user can know the control situation of the device, whether the user has the control permission or not, and the like.
[0184] In some embodiments, after the smart host performs the step S1102 shown in FIG. 11, the smart host can also send the control permission to the smart life application or the enterprise application. In this embodiment, as one possible implementation, the smart host can send the control permission of the enterprise user to the smart life application, or send the control permission of the family user to the enterprise application, so that one party user can know the control permission of the other party user, and the user privacy is protected. As another possible implementation, the smart host can send the control permission of the family user to the smart life application, or send the control permission of the enterprise user to the enterprise application, so that the user can know the control permission of the user, and the user experience of device control is improved. Of course, the two implementation manners described above can also be combined, and as a specific example, FIG. 15 shows a flow diagram of the smart host sending the control permission according to an embodiment of the present application. As shown in FIG. 15, the flow includes the following steps:
[0185] S1501, the smart host sends the control permission of the enterprise user to the smart life cloud.
[0186] Optionally, the smart host can send the control permission of the enterprise user to the smart life cloud through the user control channel.
[0187] S1502, the smart life cloud sends the control permission of the enterprise user to the mobile phone installed with the smart life application.
[0188] It can be understood that before step S1502 is performed, the smart host can have established a connection with the mobile phone installed with the smart life application, i.e., the smart host has been added to the smart life application. The connection can be established when a family user channel is established, or can be established at other time.
[0189] S1503, the mobile phone installed with the smart life application outputs the management and control permissions of the enterprise user.
[0190] Optionally, the mobile phone installed with the smart life application can output the management and control permissions of the enterprise user in various ways such as voice playing, display screen display, etc. For example, FIG. 16 shows an interface schematic diagram of a mobile phone outputting management and control permissions provided by an embodiment of the application. Taking that the mobile phone outputs the management and control permissions through the running interface of the smart life application as an example, as shown in (1) of FIG. 16, the sharing and authorization management control 1601 can be displayed in the privacy management interface 1600 of the smart life application, which can be used to present the management and control permissions of the enterprise user. For example, the mobile phone detects a click operation on the sharing and authorization management control 1601, and in response to the operation, the mobile phone can display the sharing and authorization management interface 1610 as shown in (2) of FIG. 16, which contains the management and control permissions of one or more enterprise users, such as light equipment data reading, light equipment control, air conditioning equipment control, fall data reading, etc.
[0191] S1504, the smart host sends the management and control permissions of the enterprise user to the remote server.
[0192] Optionally, the smart host can send the management and control permissions of the enterprise user to the remote server through the enterprise control channel.
[0193] S1505, the remote server sends the management and control permissions of the enterprise user to the computer installed with the enterprise application.
[0194] It can be understood that before step S1505 is performed, the smart host can have also established a connection with the computer installed with the enterprise application, i.e., the smart host has also been added to the enterprise application. The establishment time of the connection is not specifically limited by the embodiments of the application.
[0195] S1506, the computer installed with the enterprise application outputs the management and control permissions of the enterprise user.
[0196] Similarly, the computer installed with the enterprise application can also output the management and control permissions of the enterprise user in various ways such as voice playing, display screen display, etc., which is not specifically limited by the embodiments of the application.
[0197] Optionally, for the enterprise user, the same enterprise user can control the smart home devices connected to different smart hosts. Correspondingly, since different smart hosts have user control channels and enterprise control channels respectively, the computer installed with the enterprise application can receive the control authority of the enterprise user from the corresponding smart host through the respective enterprise control channel. For example, the computer installed with the enterprise user can receive the control authority of the enterprise user from the smart host A through the enterprise control channel of the smart host A, and can also receive the control authority of the enterprise user from the smart host B through the enterprise control channel of the smart host B, etc. Of course, the computer installed with the enterprise application can also receive the control authority of the enterprise user corresponding to different smart hosts from other devices at the same time, wherein the control authority of the enterprise user corresponding to one smart host can be used to limit the control of the enterprise user on the smart home devices connected to the smart host.
[0198] It can be understood that the embodiments of the present application do not limit the execution sequence of steps S1501 to S1503 and steps S1504 to S1506.
[0199] In some embodiments, one party user can also change the control authority of the other party user. For example, the family user can change the control authority of the enterprise user, so as to ensure the privacy of the family user. For example, in the hotel scenario, when the guest (i.e. the family user) checks into the hotel, the hotel manager (i.e. the enterprise user) has the authority to open the smart door lock of the room where the guest stays. If the guest considers privacy and security and does not want the hotel manager to have the authority, the guest can cancel the authority of the hotel manager. For example, in the apartment scenario, when the tenant (i.e. the family user) has an emergency in the house, the apartment manager (i.e. the enterprise user) does not have the authority to open the smart door lock of the house where the tenant stays. If the guest considers the emergency, the apartment manager can be given the authority to open the smart door lock.
[0200] Of course, the enterprise user can also change the control authority of the family user. For example, in the apartment scenario, if the tenant is in arrears of rent, the tenant has the authority to open the smart door lock. The apartment manager can choose to cancel the tenant's authority to open the smart door lock, etc.
[0201] The following takes the change of the management and control permissions of the enterprise user by the family user through the smart life application as an example to introduce the change process. As shown in FIG. 17, the mobile phone installed with the smart life application can display a running interface 1700 of the smart life application, wherein at least one of the management and control permissions (such as the light device data reading permission, the light device control permission, etc.) that the enterprise user has and the management and control permissions (such as the air conditioner device control permission, the fall data reading permission, etc.) that the enterprise user does not have (which can be taken as an example of reminding the family user to configure the management and control permissions of the enterprise user) can be included in the running interface 1700. Optionally, the management and control permissions that the enterprise user already has can be configured based on the preset permissions in the server, and of course can also be configured in other manners. The family user can choose to cancel the management and control permissions that the enterprise user already has, or can choose to grant the enterprise user the management and control permissions that the enterprise user does not have.
[0202] For example, the mobile phone detects an operation such as the family user canceling the light device data reading permission (which can be taken as an example of the target operation of the first account), such as the canceling check operation performed on the selected control 1701 of the light device data reading permission, and in response to the operation, the mobile phone sends an instruction to cancel the light device data reading permission of the enterprise user to the smart life cloud (which can be taken as an example of the fourth instruction of the first account). Correspondingly, the smart life cloud can send an instruction to cancel the light device data reading permission of the enterprise user to the intelligent host based on the user control channel, and then the intelligent host cancels the light device data reading permission of the enterprise user based on the instruction, that is, updates the management and control permissions of the enterprise user.
[0203] For another example, the mobile phone detects an operation such as the user increasing the air conditioner device control permission, such as the check operation performed on the selected control 1702 of the air conditioner device control permission, and in response to the operation, the mobile phone sends an instruction to increase the air conditioner device control permission of the enterprise user to the smart life cloud. Correspondingly, the smart life cloud can send an instruction to increase the air conditioner device control permission of the enterprise user to the intelligent host based on the user control channel, and then the intelligent host increases the air conditioner device control permission of the enterprise user based on the instruction.
[0204] Similarly, the enterprise user can also change the management and control permissions of one or more family users through the enterprise application, and the management and control permissions of the one or more family users can be the management and control permissions of the smart home devices controlled by different intelligent hosts, such as the management and control permissions of the smart home devices controlled by the intelligent host A by the family user A, and the management and control permissions of the smart home devices controlled by the intelligent host B by the family user B. For the implementation, reference can be made to the similar implementation of changing the management and control permissions of the enterprise user through the smart life application.
[0205] In some embodiments, a party user can also request another party user to grant a control right which the former does not have. In this way, the privacy and security of device control can be guaranteed. For example, in a hotel scenario, a normal guest (i.e., a family user) does not have certain control rights of a VIP guest by default, but the normal guest can choose to apply for these control rights from a hotel manager (i.e., an enterprise user) to enjoy VIP services. For another example, in an apartment scenario, when an emergency occurs in a house where a tenant (i.e., a family user) lives, considering the security, if the apartment manager (i.e., an enterprise user) does not have the right to open the smart door lock of the house where the tenant lives, the apartment manager can choose to request the tenant for the right to open the smart door lock, and so on.
[0206] In some implementations, the process of applying for a control right can be performed before performing a control operation on a smart home device. For example, in the case that an enterprise user applies for a control right of a family user through an enterprise application, as shown in (1) of FIG. 18, a computer installed with the enterprise application can present a running interface 1800 of the enterprise application, wherein the running interface 1800 includes one or more control rights (such as light device data reading, light device control, air conditioner device control, fall data reading, etc.) which the enterprise user does not currently have, and the enterprise user can choose one or more control rights to apply for from the family user. For example, if the computer detects that the enterprise user performs a check operation on the selected button 1801 of the light device control, and clicks the apply button 1802, the computer sends an instruction for applying for the right of light device control to the remote server in response to the operation. The remote server can send the instruction to the smart host based on the enterprise control channel (which can be an example of the second instruction of the second account), and then the smart host can forward the instruction to the smart life cloud through the user control channel. Correspondingly, the smart life cloud forwards the instruction to the mobile phone installed with the smart life application.
[0207] Subsequently, the mobile phone can output a reminder message to remind the family user whether to grant the right of light device control to the enterprise user (which can be an example of reminding the family user to configure the control right of the enterprise user). For example, as shown in (2) of FIG. 18, the mobile phone can present a reminder interface 1810, which can include a reminder message 1811, a confirmation button 1812, and a cancel button 1813, and so on. If the mobile phone detects a click operation of the confirmation button 1812 by the family user, the mobile phone returns an indication message of authorization success to the smart host in response to the operation, and then the smart host can confirm that the enterprise user has the right of light device control. Optionally, the smart host can also return the indication message to the computer, and the computer can also output a message of authorization success, so as to inform the enterprise user of the authorization situation.
[0208] Conversely, if the mobile phone detects a click operation of the cancel button 1813 by the home user, the mobile phone returns an indication message of authorization failure to the smart host in response to the operation, and the smart host can determine that the enterprise user still does not have the right to control the light device. Alternatively, the smart host can also return the indication message to the computer, and the computer can also output a message indicating that the authorization fails.
[0209] In other implementations, the process of applying for control rights can also be performed at the same time as performing a control operation on the smart home device. For example, still taking the example of the enterprise user applying for control rights to the home user through the enterprise application, in combination with the example shown in FIG. 14, the smart home device corresponding to the management control in the running interface 1400 of the enterprise application includes a device to which the enterprise user does not have control rights. Taking the smart speaker as an example, the computer detects the operation of the enterprise user opening the smart speaker, such as a click operation performed on the opening control 1402 shown in FIG. 14, and in response to the operation, the computer sends an instruction to open the smart speaker to the remote server. Correspondingly, the remote server can send the instruction to the smart host based on the enterprise control channel.
[0210] Then, the smart host confirms that the home user does not have the right to open the smart speaker based on the current control rights of the enterprise user, and can send an instruction to grant the enterprise user the right to open the smart speaker to the smart life cloud through the user control channel. Correspondingly, the smart life cloud can forward the instruction to the mobile phone installed with the smart life. Subsequently, the mobile phone can output a prompt message reminding the home user whether to grant the enterprise user the right to open the smart speaker, such as the mobile phone can also present a prompt interface similar to (2) shown in FIG. 18. If the mobile phone detects an operation of the home user agreeing to the authorization, the mobile phone returns an indication message of authorization success to the smart host in response to the operation, and the smart host determines that the enterprise user has the right to open the smart speaker, and further responds to the instruction of the enterprise user to open the smart speaker to control the smart speaker to open.
[0211] Conversely, if the mobile phone detects an operation of the home user disagreeing to the authorization, the mobile phone returns an indication message of authorization failure to the smart host in response to the operation, and the smart host confirms that the enterprise user still does not have the right to open the smart speaker, and does not respond to the instruction of the enterprise user to open the smart speaker.
[0212] The implementation of the home user applying for control rights can refer to the implementation of the enterprise user applying for authorization described above.
[0213] Optionally, in the above implementation, when a party user grants a certain management and control right to another party user, the party user can also choose to grant the another party a certain management and control right for a certain period of time (for example). That is, the granted management and control right of the another party user is only valid for a certain period of time. Alternatively, the granted management and control right of the another party user can also be only valid for this time, in other words, the another party user still needs to be granted the management and control right by the party user next time when controlling the same smart home device, so as to realize the re-control of the smart home device.
[0214] For example, taking the case of an enterprise user applying for a management and control right to a home user as an example, FIG. 19 shows a flowchart of applying for a management and control right according to an embodiment of the present application. As shown in FIG. 19, the flowchart includes the following steps:
[0215] S1901, the enterprise user initiates an application for a management and control right to a computer installed with an enterprise application.
[0216] The application can be used to apply for a management and control right of the enterprise user, and the application can carry representation information of the management and control right to be authorized. Optionally, the enterprise user can realize the initiation operation of the management and control right through various user operations. The timing of initiating the application for the management and control right can refer to the above implementation.
[0217] S1902, the computer installed with the enterprise application initiates an application for a management and control right to a remote server.
[0218] S1903, the remote server initiates an application for a management and control right to a smart host.
[0219] S1904, the smart host initiates an application for a management and control right to a smart life cloud.
[0220] S1905, the smart life cloud initiates an application for a management and control right to a mobile phone installed with a smart life application.
[0221] S1906, the mobile phone installed with the smart life application applies for the enterprise user to grant a management and control right to a home user.
[0222] S1907, the mobile phone installed with the smart life application reports an authorization result to the smart host through the smart life cloud.
[0223] The mobile phone installed with the smart life application can report the authorization result based on the authorization of the home user.
[0224] S1908, the smart host determines a management and control right of the enterprise user based on the authorization result.
[0225] S1909, the smart host reports the authorization result to the computer installed with the enterprise application through the remote server.
[0226] The smart host can directly forward the result of the authorization success or failure to the computer, and directly update the management and control permissions of the enterprise user, and forward the updated management and control permissions to the computer.
[0227] Optionally, after the computer installed with the enterprise application receives the authorization result from the smart host, a reminder message can be output to remind the enterprise user of the authorization situation, the management and control permissions of the enterprise user, and various information.
[0228] For example, FIG. 20 shows a flowchart of a device management and control method provided by an embodiment of the present application. The execution subject of the method can be a smart management and control device, i.e., the second device described above. As shown in FIG. 20, the method includes the following steps:
[0229] S2001, the smart management and control device receives a first instruction from a first account through a first communication channel.
[0230] The smart management and control device can include a plurality of communication channels, which include the first communication channel (the user control channel described above) and the second communication channel (the enterprise control channel described above). Optionally, the first communication channel and the second communication channel can be connected to the same interface of the smart management and control device, or the first communication channel and the second communication channel are respectively connected to different interfaces of the smart management and control device. Optionally, the interface can be an interface using any communication protocol.
[0231] In some embodiments, the first communication channel is a communication channel between the smart management and control device and a first server, and the second communication channel is a communication channel between the smart management and control device and a second server. Optionally, the first server and the second server can be the same, and of course can be different, such as the first server can be the smart life cloud described above, and the second server can be the remote server described above.
[0232] Optionally, the first account can refer to a login account of a first application, wherein the first application can be an application for managing one or more of at least one smart device connected to the smart management and control device. Alternatively, the first account can also refer to a terminal device logged in with the first account, or the first account can also refer to a user to which the first account belongs, etc.
[0233] S2002, the smart management and control device manages and controls the first smart device based on the first instruction of the first account.
[0234] The intelligent management and control device can be connected with at least one smart device of a user, and is configured to manage the at least one connected smart device. The at least one smart device can include a first smart device. Optionally, the number of the first smart device can be one or more. For example, the smart device can be a smart home device as described above.
[0235] In S2003, the intelligent management and control device receives a first instruction from a second account via a second communication channel.
[0236] Optionally, the second account can refer to a login account of a second application, and the second application can be an application for managing one or more of the at least one smart device connected with the intelligent management and control device. Alternatively, the second account can refer to a terminal device logged in with the second account, or the second account can refer to a user to which the second account belongs, and the like. Optionally, the first application and the second application can be the same type of application, such as both being smart life applications, or can be different types of applications, such as the first application being a smart life application and the second application being an enterprise application, and the like.
[0237] Optionally, the second account can refer to a login account of a second application, and the second application can be an application for managing one or more of the at least one smart device connected with the intelligent management and control device. Alternatively, the second account can refer to a terminal device logged in with the second account, or the second account can refer to a user to which the second account belongs, and the like. Optionally, the first application and the second application can be the same type of application, such as both being smart life applications, or can be different types of applications, such as the first application being a smart life application and the second application being an enterprise application, and the like.
[0238] In S2004, the intelligent management and control device manages the first smart device based on the first instruction of the second account.
[0239] Optionally, the present application does not limit the order of execution of the above steps S2001 to S2202 and steps S2003 to S2004.
[0240] In some embodiments, the intelligent management and control device can manage a first attribute of the first smart device based on the first instruction of the first account, and manage a second attribute of the first smart device based on the first instruction of the second account, the first attribute being different from the second attribute. That is, the first account and the second account have the right to manage different attributes of the same smart device.
[0241] In some embodiments, the intelligent management and control device can manage a first attribute of the first smart device based on the first instruction of the first account, and manage a second attribute of the first smart device based on the first instruction of the second account, the first attribute being different from the second attribute. That is, the first account and the second account have the right to manage different attributes of the same smart device.
[0242] The above embodiments introduce the management and control of different accounts to the same smart device. In some embodiments, different accounts can also manage and control different smart devices, that is, different accounts have the right to manage and control different smart devices respectively. For example, the smart management and control device can also receive a second instruction from the first account through the first communication channel, and manage and control the second smart device based on the second instruction of the first account. And receive a second instruction from the second account through the second communication channel, and manage and control the third smart device based on the second instruction of the second account. The second smart device and the third smart device are different smart devices. Optionally, the number of second smart devices and third smart devices can be one or more. The second smart device and the third smart device are smart devices connected to the smart management and control device, such as the smart home devices described above.
[0243] In some embodiments, the method shown in FIG. 20 can also include steps S2005 to S2006, or can include steps S2007 to S2008 (steps S2005 to S2008 are not shown in FIG. 20).
[0244] S2005, the smart management and control device receives a third instruction from the first account through the first communication channel.
[0245] Optionally, the second instruction of the third account can be an instruction for managing and controlling the smart device.
[0246] S2006, in the case that the first account does not have the management and control right corresponding to the third instruction of the first account, in response to the third instruction of the first account, the second account is requested to grant the management and control right corresponding to the third instruction of the first account through the second communication channel.
[0247] Among them, the management and control right corresponding to the third instruction of the first account can refer to the management and control right that the first account needs to have to execute the third instruction of the first account. For the specific implementation of requesting the first account to authorize the second account, please refer to the related implementation above.
[0248] Similarly, the second account can also request authorization from the first account in a similar manner as steps S2005 to S2006.
[0249] S2007, the smart management and control device receives a third instruction from the second account through the second communication channel.
[0250] Among them, the third instruction of the second account is used to request to obtain the target management and control right, and the target management and control right is the right to manage and control one or more smart devices in at least one smart device connected to the smart management and control device.
[0251] S2008, the intelligent management and control device responds to the third instruction of the second account, and requests the first account to grant the target management and control right of the second account through the first communication channel.
[0252] For implementation of the request authorization, refer to the related implementation described above.
[0253] Similarly, the first account can also request the authorization of the second account in a similar manner of steps S2007 to S2008.
[0254] Optionally, in some embodiments, after performing the above step S2006, step S2009 (not shown in FIG. 20) can also be performed.
[0255] S2009, in the case that the third instruction of the first account is used to instruct to manage and control the fourth intelligent device, the fourth intelligent device is managed and controlled in response to the authorization of the second account; or, in the case that the third instruction of the first account is used to instruct to manage and control the third attribute of the fourth intelligent device, the third attribute is managed and controlled in response to the authorization of the second account; or, in the case that the third instruction of the first account is used to instruct to manage and control the third attribute of the fourth intelligent device in the third type, the third attribute is managed and controlled in the third type in response to the authorization of the second account.
[0256] Wherein, the fourth intelligent device can be an intelligent device connected to the intelligent management and control device, and the number of the fourth intelligent device can be one or more. The fourth intelligent device can be the same as or different from the above-mentioned first intelligent device, second intelligent device, third intelligent device, etc.
[0257] The above mainly introduces the schemes provided by the embodiments of the present application from the perspective of methods. It can be understood that, in order to implement the above functions, the device contains the corresponding hardware structure and / or software module for executing each function. The units and algorithm steps of each example described in combination with the embodiments disclosed in the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer-driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of the embodiments of the present application.
[0258] The embodiments can divide the functions of the device according to the above method examples, for example, each function module can be divided according to each function, or two or more functions can be integrated in one processing unit. The integrated unit can be in the form of hardware or software function module. It should be noted that the division of the unit in the embodiments of the present application is illustrative, and is only a logical function division. In actual implementation, there can be another division method.
[0259] As shown in FIG. 21, it is a structural schematic diagram of a device provided by the embodiments of the present application. The device 2100 can be used to implement the method executed by each device described in the above method embodiments. For example, the device 2100 can include a communication unit 2101.
[0260] In a possible example, taking the device 2100 as a second device, the device 2100 can further include a processing unit 2102. The processing unit 2102 is configured to support the device 2100 to perform the processing functions performed by the first device described in any one of FIGS. 1 to 20. The communication unit 2101 is configured to support the device 2100 to perform the communication functions performed by the first device described in any one of FIGS. 1 to 20.
[0261] In another possible example, taking the device 2100 as a third device or a fourth device, the device 2100 can further include a display unit 2103. The communication unit 2101 is configured to support the device 2100 to perform the communication functions performed by the third device or the fourth device described in any one of FIGS. 1 to 20. The display unit 2103 is configured to support the device 2100 to perform the display functions performed by the third device or the fourth device described in any one of FIGS. 1 to 20.
[0262] Optionally, the device 2100 shown in FIG. 21 can further include a storage unit (not shown in FIG. 21), which stores programs or instructions. When the processing unit 2102 executes the programs or instructions, the device 2100 shown in FIG. 21 can execute the methods described in the above method embodiments.
[0263] The technical effects of the device 2100 shown in FIG. 21 can refer to the technical effects described in the above method embodiments, which will not be described here. The processing unit 2102 involved in the device 2100 shown in FIG. 21 can be realized by a processor or a processor-related circuit component, which can be a processor or a processing module. The communication unit 2101 can be realized by a transceiver or a transceiver-related circuit component, which can be a transceiver or a transceiving module. The display unit 2103 can be realized by a display screen-related component.
[0264] The embodiments of the present application also provide a chip system, as shown in FIG. 22, which comprises at least one processor 2201 and at least one interface circuit 2202. The processor 2201 and the interface circuit 2202 can be interconnected by a line. For example, the interface circuit 2202 can be used to receive signals from other devices. For another example, the interface circuit 2202 can be used to send signals to other devices (e.g. the processor 2201). Illustratively, the interface circuit 2202 can read instructions stored in a memory and send the instructions to the processor 2201. When the instructions are executed by the processor 2201, the device can perform various steps performed by the device in the above embodiments. Of course, the chip system can also comprise other discrete devices, which are not limited in the embodiments of the present application.
[0265] Optionally, the processor in the chip system can be one or more. The processor can be implemented by hardware or software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor, which is implemented by reading software codes stored in a memory.
[0266] Optionally, the memory in the chip system can also be one or more. The memory can be integrated with the processor or arranged separately from the processor, which is not limited in the present application. Illustratively, the memory can be a non-transient processor, for example, a read-only memory (ROM), which can be integrated on the same chip as the processor or arranged on different chips respectively, and the type of the memory and the arrangement of the memory and the processor are not limited in the present application.
[0267] Illustratively, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0268] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits of hardware in the processor or instructions in the form of software. The method steps disclosed in combination with the embodiments of the present application can be directly embodied as execution completed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
[0269] The embodiments of the present application further provide a computer storage medium, which stores computer instructions. When the computer instructions run on a device, the device executes the method described in the above method embodiments.
[0270] The embodiments of the present application provide a computer program product, which comprises computer programs or instructions. When the computer programs or instructions run on a computer, the computer executes the method described in the above method embodiments.
[0271] In addition, the embodiments of the present application further provide a device, which can be a chip, a component or a module. The device can comprise a processor and a memory connected to each other. The memory is used to store computer execution instructions. When the device runs, the processor can execute the computer execution instructions stored in the memory, so that the device executes the method in the above method embodiments.
[0272] The device, the computer storage medium, the computer program product or the chip provided by the embodiments can be used to execute the corresponding method provided above, and thus the beneficial effects achieved by the device, the computer storage medium, the computer program product or the chip can refer to the beneficial effects of the corresponding method provided above, which will not be described here.
[0273] Through the above description of the embodiments, those skilled in the art can understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for illustration. In actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0274] In the several embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. Each embodiment in the non-conflicting case can be combined or referred to each other. The device embodiment described above is only schematic, for example, the division of the module or unit is only a logical function division, and the actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed mutually can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.
[0275] The units described as separate components may or may not be physically separate, and the components displayed as units may be a physical unit or multiple physical units, that is, may be located in one place, or also can be distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0276] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present alone, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0277] If the integrated unit is realized 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 scheme of the embodiments of the present application essentially or the part that contributes to the prior art or the whole or part of the technical scheme can be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making a device (which can be a single-chip microcomputer, a chip, etc.) or a processor execute all or part of the steps of the method of each embodiment of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.
[0278] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A device management method, characterized by, The application is applied to an intelligent management and control device connected with at least one smart device of a user, the at least one smart device comprises a first smart device, the intelligent management and control device comprises a first communication channel and a second communication channel, and the method comprises the following steps: receiving a first instruction from a first account through the first communication channel; controlling the first smart device based on the first instruction of the first account; receiving a first instruction from a second account through the second communication channel, the first account being different from the second account; controlling the first smart device based on the first instruction of the second account.
2. The method of claim 1, wherein, The controlling the first smart device based on the first instruction of the first account comprises: controlling a first attribute of the first smart device based on the first instruction of the first account; The controlling the first smart device based on the first instruction of the second account comprises: controlling a second attribute of the first smart device based on the first instruction of the second account, the first attribute being the same as or different from the second attribute.
3. The method of claim 1, wherein, The controlling the first smart device based on the first instruction of the first account comprises: controlling a first attribute of the first smart device based on the first instruction of the first account; The controlling the first smart device based on the first instruction of the second account comprises: controlling the first attribute of the first smart device based on the first instruction of the second account, the first type of control being different from the second type of control.
4. The method of claim 1, wherein, The at least one smart device further comprises a second smart device and a third smart device, the second smart device and the third smart device being different smart devices, and the method further comprises the following steps: receiving a second instruction from a first account through the first communication channel; controlling the second smart device based on the second instruction of the first account; receiving a second instruction from a second account through the second communication channel; controlling the third smart device based on the second instruction of the second account.
5. The method according to any one of claims 1-4, characterized in that, The method further comprises the following steps: receiving a third instruction from a first account through the first communication channel; in the case that the first account does not have a control right corresponding to the third instruction of the first account, responding to the third instruction of the first account, requesting the second account to grant the control right corresponding to the third instruction of the first account through the second communication channel; or, receiving a third instruction from a second account through the second communication channel, the third instruction of the second account being used to request to obtain a target control right, the target control right being a right of controlling one or more smart devices in the at least one smart device; responding to the third instruction of the second account, requesting the first account to grant the target control right of the second account through the first communication channel.
6. The method of claim 5, wherein, The at least one smart device further comprises a fourth smart device, and after the third instruction of the first account for requesting the second account to grant the management and control authority of the first account is sent through the second communication channel, the method further comprises: In a case where the third instruction of the first account is used to instruct to manage and control the fourth smart device, the fourth smart device is managed and controlled in response to the authorization of the second account; Or, in a case where the third instruction of the first account is used to instruct to manage and control a third attribute of the fourth smart device, the third attribute is managed and controlled in response to the authorization of the second account; Or, in a case where the third instruction of the first account is used to instruct to manage and control a third attribute of the fourth smart device in a third type, the third attribute is managed and controlled in the third type in response to the authorization of the second account.
7. The method according to any one of claims 1 to 6, characterized in that, The method further comprises: receiving a fourth instruction from the first account through the first communication channel; updating the management and control authority of the second account in response to the fourth instruction of the first account, the management and control authority of the second account being the authority to manage and control one or more smart devices in the at least one smart device.
8. The method according to any one of claims 1-7, characterized in that, The method further comprises: sending the management and control authority of the second account to the first account through the first communication channel; Or, sending the management and control authority of the first account to the first account through the first communication channel; Or, sending the management and control authority of the second account to the second account through the second communication channel; Or, sending the management and control authority of the first account to the second account through the second communication channel; Wherein, the management and control authority of the first account and the management and control authority of the second account are both the authority to manage and control one or more smart devices in the at least one smart device.
9. The method of claim 8, wherein, Before the management and control authority of the second account is sent to the first account through the first communication channel, the method further comprises: receiving the authority configuration information of the second account, the authority configuration information being used to determine the authority of the second account to manage and control one or more smart devices in the at least one smart device.
10. The method according to any one of claims 1-9, characterized in that, The first communication channel is a communication channel between the smart management and control device and a first server, and the second communication channel is a communication channel between the smart management and control device and a second server, the first server and the second server being the same or different.
11. The method according to any one of claims 1-10, characterized in that, The first communication channel and the second communication channel connect the same interface of the smart management and control device, or the first communication channel and the second communication channel connect different interfaces of the smart management and control device.
12. The method of any one of claims 1-11, wherein: The smart management and control device is a whole-house smart host; Or, the first account is a login account of a first application, and the first application is an application for managing one or more of the at least one smart device; Or, the second account is a login account of a second application, and the second application is an application for managing one or more of the at least one smart device.
13. A device management method, characterized by, The method is applied to a terminal device comprising a display screen, the terminal device is logged in a first account, and the method comprises: receiving, through a first communication channel, a control right of a second account from a smart control device, the control right of the second account being a right to control at least one smart device through a second communication channel, the at least one smart device being one or more of the user's smart devices connected to the smart control device, the second account being different from the first account, the first communication channel and the second communication channel being channels on the smart control device; displaying the control right of the second account.
14. The method of claim 13, wherein, After the displaying of the control right of the second account, the method further comprises: receiving a target operation performed by the first account; in response to the target operation, instructing the smart control device to update the control right of the second account.
15. The method according to claim 13 or 14, characterized in that, The method further comprises: prompting the first account to configure the control right of the second account.
16. A device management method, characterized by, The method is applied to a terminal device comprising a display screen, the terminal device is logged in a second account, and the method comprises: receiving, through a second communication channel of each smart control device of at least one smart control device, a control right of the second account, each smart control device comprising a first communication channel and the second communication channel, the control right of the second account being a right to control at least one smart device through the second communication channel, the at least one smart device being one or more of the user's smart devices connected to each smart control device; displaying the control right of the second account.
17. The method of claim 16, wherein, After the displaying of the control right of the second account, the method further comprises: receiving a target operation performed by the second account, the target operation being used to control smart devices connected to multiple smart control devices.
18. The method according to claim 16 or 17, characterized in that, The at least one smart control device comprises a first smart control device and a second smart control device; the method further comprises: prompting the second account to configure a control right of a first account, the control right of the first account being a right to control one or more smart devices through a first communication channel of the first smart control device; or, prompting the second account to configure a control right of a third account, the control right of the third account being a right to control one or more smart devices through a first communication channel of the second smart control device; wherein the first account, the second account, and the third account are different accounts.
19. An intelligent management and control device, characterized in that, comprise: a communication interface, a processor, and a memory, the communication interface, the memory, and the processor being coupled, the communication interface being used to communicate with other devices, the memory being used to store program code, the program code comprising instructions, the processor reading the instructions from the memory to enable the smart control device to perform the method of any one of claims 1-12.
20. A terminal device, comprising: comprise: A communication interface, a processor, a memory and a display screen, the communication interface, the display screen, the memory and the processor being coupled, the communication interface being configured to communicate with other devices, the memory being configured to store program code, the program code comprising instructions, the processor reading the instructions from the memory to cause the terminal device to perform the method of any one of claims 13-15, or to cause the terminal device to perform the method of any one of claims 16-18.
21. A computer-readable storage medium, characterized in that, The computer readable storage medium comprises a computer program which, when running on a device, causes the device to perform the method of any one of claims 1-12, or to perform the method of any one of claims 13-15, or to perform the method of any one of claims 16-18.
22. A computer program product, characterised in that, The computer program product comprises a computer program or instructions which, when running on a computer, cause the computer to perform the method of any one of claims 1-12, or to perform the method of any one of claims 13-15, or to perform the method of any one of claims 16-18.
23. A communication system, characterized by The computer program product comprises a computer program or instructions which, when running on a computer, cause the computer to perform the method of any one of claims 1-12, or to perform the method of any one of claims 13-15, or to perform the method of any one of claims 16-18. Intelligent management and control equipment for performing the method of any one of claims 1-12, and terminal equipment for performing the method of any one of claims 13-15, or the terminal equipment for performing the method of any one of claims 16-18.
Citation Information
Patent Citations
Intelligent interaction equipment management and control method and system, controller and medium
CN110046486A
Domain-driven design method of cross-border marine product traceability system based on block chain technology
CN117094738A
Equipment management and control method and intelligent management and control equipment
CN119109721A
Multichannel messaging system and method
US20220200939A1