Control method and device of intelligent device, computer device and storage medium
By authorizing the smart device with a key from the user terminal, the smart device can automatically adjust its time, solving the problem of tedious manual adjustment by the user and improving the efficiency and security of human-computer interaction.
Patent Information
- Application Number
- CN202210799537.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-06
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2042-07-06
AI Technical Summary
When there are many smart devices, users need to manually adjust the device's working time, which makes the operation cumbersome and the human-computer interaction inefficient, especially when the user cannot get home on time and the device time cannot be adjusted automatically.
The user terminal displays a key acquisition interface to obtain the target key, which is then authorized to the second server associated with the smart device. The second server uses this key to obtain multiple working events from the first server and adjusts the device time.
No need for users to manually adjust the time of smart devices; simple operation; improved human-computer interaction efficiency; and guaranteed information security.
Smart Images

Figure CN116996544B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a control method, apparatus, computer equipment, and storage medium for a smart device. Background Technology
[0002] With the development of the Internet of Things (IoT) technology, smart devices based on IoT technology have brought many conveniences to people's daily lives. Taking a water heater as an example, a user typically gets off work at 6 pm and arrives home at 7 pm. The user can set a timer for the water heater to turn on and off via an app, so that hot water is available when the user arrives home without having to wait for the water heater to heat up. However, if the user arrives home earlier or later, the water heater will still turn on and off on its own, which may cause inconvenience. To avoid this, the user needs to manually adjust the on / off time of the smart device if they are not home on time. When there are many smart devices, the operation becomes very cumbersome, and the human-computer interaction efficiency is low. Summary of the Invention
[0003] This application provides a control method, apparatus, computer device, and storage medium for intelligent devices. It eliminates the need for users to manually adjust the operating time of the intelligent device, simplifying operation and improving human-computer interaction efficiency. The technical solution is as follows:
[0004] On the one hand, a method for controlling a smart device is provided, the method comprising:
[0005] The key acquisition interface of the first application is displayed. The key acquisition interface displays the target key obtained from the first server. The first server is used to provide background services for the first account that logs in to the first application. The target key is used to obtain multiple working events of the first account.
[0006] In response to the interface switching command, a key authorization interface is displayed, which is used to authorize the target key to a second server that provides backend services for smart devices;
[0007] Based on the authorization operation of the target key on the key authorization interface, a key authorization instruction is sent to at least one second server. The key authorization instruction is used to instruct at least one second server to push the plurality of working events to at least one smart device associated with the second server based on the target key, and the smart device associated with the at least one second server adjusts the working time based on the plurality of working events.
[0008] On the other hand, a control system for a smart device is provided, the control system including a user terminal, at least one smart device, a first server and at least one second server;
[0009] The first server is used to provide background services for the first account that logs in to the first application, and the first application is the application on the user terminal;
[0010] The user terminal is used to display the key acquisition interface of the first application. The key acquisition interface displays the target key obtained from the first server. The target key is used to obtain multiple working events of the first account logged in by the first application.
[0011] The user terminal is also configured to respond to an interface switching instruction, display a key authorization interface, and send a key authorization instruction to the at least one second server based on the authorization operation of the target key on the key authorization interface. The key authorization interface is configured to authorize the target key to the second server that provides background services for the smart device, and the key authorization instruction carries the target key.
[0012] For any second server, the second server is used to push the plurality of working events to at least one smart device associated with the second server based on the target key;
[0013] At least one smart device associated with the second server is used to adjust working hours based on the plurality of working events.
[0014] On the other hand, a control device for a smart device is provided, the device comprising:
[0015] The first display module is used to display the key acquisition interface of the first application. The key acquisition interface displays the target key obtained from the first server. The first server is used to provide background services for the first account that logs in to the first application. The target key is used to obtain multiple working events of the first account.
[0016] The first display module is further configured to display a key authorization interface in response to an interface switching command, wherein the key authorization interface is configured to authorize the target key to a second server that provides backend services for the smart device;
[0017] The first sending module is configured to send a key authorization instruction to at least one second server based on the authorization operation of the target key on the key authorization interface. The key authorization instruction is configured to instruct at least one second server to push the plurality of working events to at least one smart device associated with the second server based on the target key, and the smart device associated with the at least one second server adjusts the working time based on the plurality of working events.
[0018] In some embodiments, the key authorization interface is an interface in the first application, and the key authorization interface displays at least one second account associated with the first account, the second account being an account in the second server;
[0019] The first sending module is configured to determine at least one authorized third account from the at least one second account based on the authorization operation of the target key on the key authorization interface; for any third account, send the key authorization instruction to the target third server corresponding to the third account, the key authorization instruction being configured to instruct the target third server to push the plurality of work events to at least one smart device associated with the third account based on the target key, and the at least one smart device adjusting the work time based on the plurality of work events.
[0020] In some embodiments, the apparatus further includes:
[0021] The first display module is also used to display the account association interface in the first application, wherein the account association interface displays multiple manufacturer logos;
[0022] The acquisition module is used to acquire the fourth account based on the input of the account association interface in response to the trigger operation of the target manufacturer's identifier;
[0023] The first sending module is further configured to send an account verification request to a third server corresponding to the target manufacturer identifier, the account verification request being used to instruct the third server to verify the legitimacy of the fourth account;
[0024] A storage module is used to store the association between the fourth account and the first account in response to the fourth account being deemed legitimate.
[0025] In some embodiments, the key authorization interface is an interface in a second application, and the second application is logged in with a fifth account;
[0026] The first display module is configured to display the key authorization interface through the first application in response to the interface switching instruction triggered based on the key acquisition interface;
[0027] The first sending module is configured to receive a key authorization instruction sent by the second application through the first application based on the authorization operation of the target key on the key authorization interface; and send the key authorization instruction to a target second server that provides background services for the second application through the first application. The key authorization instruction is configured to instruct the target second server to push the plurality of work events to at least one smart device associated with the fifth account based on the target key, and the at least one smart device to adjust the work time based on the plurality of work events.
[0028] In some embodiments, the apparatus further includes:
[0029] The first display module is further configured to display the event editing interface of the first application, wherein the event editing interface is used to edit the work events of the first account;
[0030] The second sending module is used to send the edited time of any work event displayed in the event editing interface to the first server in response to the editing operation of the work event.
[0031] In some embodiments, the first display module is further configured to display the authorization management interface of the first application, wherein the authorization management interface displays multiple vendor identifiers, and the second server corresponding to the vendor identifier has obtained authorization for the target key;
[0032] The second sending module is further configured to send an authorization cancellation instruction to the first server in response to a deauthorization operation on any vendor identifier. The authorization cancellation instruction is used to instruct the first server to reject the request from the second server corresponding to the vendor identifier to obtain the plurality of working events.
[0033] In some embodiments, the apparatus further includes:
[0034] The second display module is used to display a device management interface, which displays at least one smart device.
[0035] The second display module is further configured to display the task editing interface of the smart device in response to a trigger operation on any smart device, the task editing interface being used to edit the work tasks of the smart device;
[0036] The third sending module is used to send a newly created first work task to the smart device in response to the task creation operation. The first work task includes a work time and a work event associated with the work time.
[0037] In some embodiments, the apparatus further includes:
[0038] A determination module is configured to determine an edited second task in response to a task editing operation for any task, the second task including a work time or a modified work event associated with the work time;
[0039] The third sending module is further configured to send the second work task to the smart device, so that the smart device updates the work task to the second work task.
[0040] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory being used to store at least one computer program, the at least one computer program being loaded and executed by the processor to implement the control method of the smart device in the embodiments of this application.
[0041] On the other hand, a computer-readable storage medium is provided for storing at least one computer program for executing to implement the control method of the smart device as described in the embodiments of this application.
[0042] On the other hand, a computer program product is provided, including a computer program that is executed by a processor to implement the control method of the smart device in the embodiments of this application.
[0043] This application provides a control method for a smart device. Through a key acquisition interface of a first application, a target key associated with multiple work events of a first account is obtained from a first server. Then, through a key authorization interface, the target key is authorized to a second server associated with the smart device. This enables the second server to obtain multiple work events from the first server based on the target key, ensuring information security. Furthermore, at least one smart device associated with the second server can adjust its working time based on multiple work events, eliminating the need for manual adjustment by the user. This method is simple to operate and improves human-computer interaction efficiency. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 This is an implementation environment for a control method for an intelligent device provided in an embodiment of this application;
[0046] Figure 2 This is a flowchart of a control method for a smart device according to an embodiment of this application;
[0047] Figure 3 This is a flowchart illustrating information interaction in a control system of an intelligent device according to an embodiment of this application;
[0048] Figure 4 This is a schematic diagram of a control system for an intelligent device according to an embodiment of this application;
[0049] Figure 5 This is an interactive flowchart of a control method for a smart device according to an embodiment of this application;
[0050] Figure 6 This is a schematic diagram illustrating how a user terminal obtains a target key according to an embodiment of this application;
[0051] Figure 7 This is a schematic diagram illustrating how a smart device acquires work events according to an embodiment of this application;
[0052] Figure 8 This is a schematic diagram illustrating how a smart device acquires updated work events according to an embodiment of this application;
[0053] Figure 9 This is a schematic diagram of the structure of a control device for a smart device according to an embodiment of this application;
[0054] Figure 10 This is a schematic diagram of the structure of a control device for another smart device according to an embodiment of this application;
[0055] Figure 11 This is a schematic diagram of the structure of a terminal according to an embodiment of this application;
[0056] Figure 12 This is a schematic diagram of the structure of a server according to an embodiment of this application. Detailed Implementation
[0057] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0058] In this application, the terms "first," "second," etc., are used to distinguish identical or similar items with essentially the same function. It should be understood that there is no logical or temporal dependency between "first," "second," and "nth," nor are there any restrictions on quantity or execution order.
[0059] In this application, the term "at least one" means one or more, and "multiple" means two or more.
[0060] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the work events involved in this application were all obtained with full authorization.
[0061] For ease of understanding, the terms used in this application are explained below.
[0062] The Internet of Things (IoT) is an information carrier based on the Internet, traditional telecommunications networks, etc. It enables all ordinary physical objects that can be independently addressed to form an interconnected network. Through network access, ubiquitous connections between things and between things and people are realized, enabling intelligent perception, identification, and management of objects and processes.
[0063] Artificial Intelligence (AI) is the theory, methods, technology, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, AI is a comprehensive technology within computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine that can react in a way similar to human intelligence. AI studies the design principles and implementation methods of various intelligent machines, enabling them to possess the functions of perception, reasoning, and decision-making.
[0064] Artificial intelligence (AI) is a comprehensive discipline encompassing a wide range of fields, including both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies primarily include computer vision, speech processing, natural language processing, and machine learning / deep learning.
[0065] With the research and advancement of artificial intelligence (AI) technology, AI is being researched and applied in various fields, such as smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, autonomous driving, drones, robots, smart healthcare, and smart customer service. It is believed that with further technological development, AI will be applied in even more fields and play an increasingly important role. The smart devices involved in the embodiments of this application are devices employing AI technology.
[0066] The intelligent device control method provided in this application can be executed by a user terminal. The following describes the implementation environment of the intelligent device control method provided in this application. Figure 1 This is a schematic diagram illustrating the implementation environment of a control method for a smart device according to an embodiment of this application. See also... Figure 1The implementation environment includes a user terminal 101, a smart device 102, a first server 103, and a second server 104. The user terminal 101 and the smart device 102 can be directly or indirectly connected via wired or wireless communication. The user terminal 101 and the first server 103 can be directly or indirectly connected via wired or wireless communication. The user terminal 101 and the second server 104 can be directly or indirectly connected via wired or wireless communication. The smart device 102 and the second server 104 can be directly or indirectly connected via wired or wireless communication. The first server 103 and the second server 104 can be directly or indirectly connected via wired or wireless communication. This application embodiment does not limit the connection methods between the above-mentioned devices.
[0067] In some embodiments, the user terminal 101 may be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, smart voice interaction device, smart home appliance, vehicle terminal, aircraft, etc., but is not limited thereto. The terminal 101 has an application installed that supports editing work events. This application may be an office application, a social application, or a note-taking application, etc., and this application embodiment does not impose any limitations on this. The user terminal 101 sets work events through this application, such as going to work, leaving get off work, and business trips. Those skilled in the art will understand that the number of user terminals may be more or less. For example, there may be only one user terminal, or there may be dozens or hundreds of user terminals, or even more. This application embodiment does not limit the number or type of user terminals.
[0068] In some embodiments, the smart device 102 is a smart speaker, a smart voice interaction device, a smart home appliance, etc., but is not limited to these. The smart device 102 can adjust its working time according to the working events set by the user terminal 101. Those skilled in the art will understand that the number of the above-mentioned smart devices can be more or less. For example, there may be only one smart device, or there may be dozens or hundreds of smart devices, or even more. This application does not limit the number or type of smart devices.
[0069] In some embodiments, the first server 103 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The first server 103 provides background services for applications that support editing work events. In some embodiments, the first server 103 undertakes the primary computing work, and the user terminal 101 undertakes the secondary computing work; or, the first server 103 undertakes the secondary computing work, and the user terminal 101 undertakes the primary computing work; or, the first server 103 and the user terminal 101 collaborate on computing using a distributed computing architecture.
[0070] In some embodiments, the second server 104 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The second server 104 provides backend services to the smart device 102. In some embodiments, the second server 104 undertakes the primary computing work, and the smart device 102 undertakes the secondary computing work; or, the second server 104 undertakes the secondary computing work, and the smart device 102 undertakes the primary computing work; or, the second server 104 and the smart device 102 collaborate on computing using a distributed computing architecture.
[0071] Figure 2 This is a flowchart of a control method for a smart device according to an embodiment of this application. See also... Figure 2 In this embodiment, the method is described using an example executed by a user terminal. The control method for the smart device includes the following steps:
[0072] 201. The user terminal displays the key acquisition interface of the first application. The key acquisition interface displays the target key obtained from the first server. The first server is used to provide background services for the first account that logs in to the first application. The target key is used to obtain multiple working events of the first account.
[0073] In this embodiment of the application, the user terminal is Figure 1The user terminal 101 shown has a first application installed on it. This first application is an application that supports editing the user's work events. The first application can be an office application, a social application, or a note-taking application, etc., and this embodiment does not limit this. A first account is logged into the first application, and the user can create multiple work events for the first account through the first application. These work events include going to work, leaving get off work, working overtime, and business trips, etc., and this embodiment does not limit this. These multiple work events are stored in a first server that provides background services for the first account. The first application includes a key acquisition interface. The user terminal sends a key acquisition request to the first server through this key acquisition interface. Then, the first server responds to the key acquisition request and sends the target key for the multiple work events to the user terminal. The user terminal then displays the target key in the key acquisition interface.
[0074] 202. In response to the interface switching command, the user terminal displays a key authorization interface, which is used to authorize the target key to a second server that provides backend services for smart devices.
[0075] In this embodiment, the second server is the backend server of the smart device. After the first account obtains the target key, the user can switch the interface displayed on the user terminal. This interface switching instruction can be a switching instruction between interfaces of the same application or a switching instruction between interfaces of different applications. After the interface displayed on the user terminal switches from the key acquisition interface to the key authorization interface, the user terminal authorizes the target key to the second server that provides backend services for the smart device through the key authorization interface.
[0076] 203. Based on the authorization operation of the target key in the key authorization interface, the user terminal sends a key authorization instruction to at least one second server. The key authorization instruction is used to instruct at least one second server to push multiple working events to at least one smart device associated with the second server based on the target key, and the smart device associated with the at least one second server adjusts the working time based on the multiple working events.
[0077] In this embodiment, the key authorization instruction carries a target key, indicating that the user terminal authorizes the target key to the at least one second server. For any second server, after receiving the key authorization instruction, the second server can request multiple work events for the first account from the first server using the target key. Then, the second server pushes the obtained work events to at least one smart device, which can adjust its own working hours based on the timing of the multiple work events to provide better service to the user represented by the first account.
[0078] This application provides a control method for a smart device. Through a key acquisition interface of a first application, a target key associated with multiple work events of a first account is obtained from a first server. Then, through a key authorization interface, the target key is authorized to a second server associated with the smart device. This enables the second server to obtain multiple work events from the first server based on the target key, ensuring information security. Furthermore, at least one smart device associated with the second server can adjust its working time based on multiple work events, eliminating the need for manual adjustment by the user. This method is simple to operate and improves human-computer interaction efficiency.
[0079] Figure 3 This is a flowchart illustrating information interaction in a control system of an intelligent device according to an embodiment of this application. See also... Figure 3 The control system of the intelligent device includes a user terminal, at least one intelligent device, a first server, and at least one second server. Information interaction within the control system of the intelligent device includes the following steps:
[0080] 301. The first server provides backend services for the first account that the first application logs in to, and the first application is an application on the user terminal.
[0081] In this embodiment, a user can edit multiple work events of a first account through a first application on the user's terminal. Since the first server provides background services for the first account logged into the first application, the first server can store these multiple work events.
[0082] 302. The user terminal displays the key acquisition interface of the first application. The key acquisition interface displays the target key obtained from the first server. The target key is used to obtain multiple working events of the first account logged in by the first application.
[0083] In this embodiment, the way the user terminal displays the key acquisition interface is similar to the way the user terminal displays the key acquisition interface in step 201, and will not be described again here.
[0084] 303. In response to the interface switching command, the user terminal displays a key authorization interface. Based on the authorization operation of the target key in the key authorization interface, the user terminal sends a key authorization command to at least one second server. The key authorization interface is used to authorize the target key to the second server that provides background services for the smart device. The key authorization command carries the target key.
[0085] In this embodiment of the application, the method by which the user terminal authorizes the target key through the key authorization interface is similar to the method of authorizing the target key in steps 202 to 203, and will not be described again here.
[0086] 304. For any second server, the second server pushes multiple working events to at least one smart device associated with the second server based on the target key.
[0087] In this embodiment, the second server can obtain multiple work events of the first account from the first server using the target key. Then, the second server pushes the obtained work events to at least one associated smart device.
[0088] 305. At least one smart device associated with the second server adjusts its working time based on multiple working events.
[0089] In this embodiment of the application, for any smart device, the smart device can adjust its own working time based on the time of multiple working events in order to provide better service to the user represented by the first account.
[0090] To more clearly describe the information interaction in the control system of the intelligent device, the following description, in conjunction with the accompanying drawings, will provide a further explanation of the information interaction in the control system. Figure 4 This is a schematic diagram of a control system for an intelligent device according to an embodiment of this application. See also... Figure 4 The control system of this intelligent device includes a user terminal, the intelligent device, a first server, a second server, and a management terminal. The user terminal is operated by company employees, and the management terminal is operated by company administrators. Both the user terminal and the management terminal have a first application installed. The first server provides background services for this first application. The user terminal, management terminal, and first server interact through the first application. For example, the user terminal can obtain a target key from the first server through the first application. This target key is sent to the user terminal by the first server with the consent of the company administrator. The user terminal and the intelligent device can exchange information; for example, the user terminal can send created work tasks to the intelligent device. The second server provides background services for the intelligent device. The user terminal can interact with the second server; for example, the user terminal can authorize the second server with the target key. The second server and the first server interact through an open platform. For example, the second server sends the target key to the first server through the open platform, and the first server returns multiple work events corresponding to the target key if the target key is successfully verified.
[0091] This application provides a control system for a smart device. A user terminal obtains a target key associated with multiple work events of a first account from a first server through a key acquisition interface of a first application. Then, through a key authorization interface, the user terminal authorizes the target key to a second server associated with the smart device, enabling the second server to obtain multiple work events from the first server based on the target key. This ensures information security. Furthermore, at least one smart device associated with the second server can adjust its working time based on multiple work events without requiring the user to manually adjust the working time of the smart device associated with the second server. This simplifies operation and improves human-computer interaction efficiency.
[0092] Figure 5 This is an interactive flowchart of a control method for an intelligent device according to an embodiment of this application. This control method is applied in the control system of an intelligent device. (See also...) Figure 5 The control system of the intelligent device includes a user terminal, the intelligent device, a first server, and a second server. The control method of the intelligent device includes the following steps:
[0093] 501. In response to a task editing operation, the user terminal sends the edited work task to the smart device. The work task includes the work time and the work events associated with the work time.
[0094] In this embodiment, the work task of the smart device includes work content, work time, and work events associated with the work time. The work content includes starting, stopping, or switching work modes, etc., and this embodiment does not limit this. The work time is the moment when the smart device begins executing the work task. The work event associated with the work time is the user's work event, which can be starting work, ending get off work, working overtime, or traveling for work, etc., and this embodiment does not limit this. The work tasks of different smart devices can be the same or different, and this embodiment does not limit this. A second application for controlling the smart device is installed on the user terminal. Through this second application, at least one work task can be set for the smart device, and this embodiment does not limit the number of work tasks for the smart device.
[0095] For example, consider a smart device like a water heater. Users can set the water heater to start half an hour after they leave work via their user terminal. Starting half an hour after get off work is the water heater's task.
[0096] In some embodiments, a user terminal can create new work tasks for a smart device, and can also modify an existing work task. See the following two cases.
[0097] In the first scenario, a new work task is created for the smart device via a user terminal. Accordingly, the user terminal displays a device management interface showing at least one smart device. Then, in response to a trigger operation on any smart device, the user terminal displays the smart device's task editing interface. Then, in response to a task creation operation, the user terminal sends the newly created first work task to the smart device. The task editing interface is used to edit the smart device's work task. This first work task includes work time and work events associated with that work time. The solution provided in this application embodiment allows for the creation of new work tasks for the smart device through its task editing interface, enabling the smart device to perform work according to the created tasks, which better aligns with the user's intentions. Furthermore, since a task can be created individually for a single smart device through its task editing interface, the task settings are more targeted, thus making the smart device more intelligent.
[0098] In the second scenario, a user terminal modifies an existing work task for a smart device. Accordingly, in response to a task editing operation on any work task, the user terminal determines an edited second work task. Then, the user terminal sends the second work task to the smart device, causing the smart device to update its work task to the second work task. This second work task includes a work time or a modified work event associated with that work time. The solution provided in this application allows modification of existing work tasks for a smart device through its task editing interface, enabling the smart device to perform work according to the modified task, better aligning with the user's intentions. Furthermore, since work tasks can be modified individually for a single smart device through its task editing interface, the modification of work tasks is more targeted, thereby making the smart device more intelligent.
[0099] It should be noted that since the working time of the smart device is associated with the work events of the first account, if the user terminal has previously authorized the target key to the smart device's backend server and the target key has not expired, the smart device's backend server can obtain multiple work events of the first account from the first server based on the target key and provide them to the smart device. In this case, after the user terminal sends a newly created or modified work task to the smart device, the smart device can adjust its own working time according to the work task set by the user terminal and the corresponding multiple work events sent by the backend server. If the user terminal has not authorized the target key to the smart device's backend server, or if the target key has expired, the smart device cannot obtain the multiple work events of the first account, and therefore cannot adjust its own working time based on these multiple work events. In this case, the user terminal can display a prompt message to remind the user to obtain the target key corresponding to the multiple work events and authorize the target key to the smart device's backend server. Correspondingly, if the user terminal has not authorized the target key to the smart device's backend server, or if the target key has expired, the user terminal continues to execute step 502 to obtain the target key.
[0100] 502. The user terminal displays the key acquisition interface of the first application. Based on the key acquisition interface, a key acquisition request is sent to the first server. The first server is used to provide background services for the first account that logs in to the first application. The key acquisition request is used to request the first server to provide a target key. The target key is used to obtain multiple working events of the first account.
[0101] In this embodiment, the first application supports editing work events of a first account. The user represented by the first account can create multiple work events through the first application. These multiple created work events are stored in a first server. Each work event corresponds to a time, which is the start time of the work event. The user terminal can provide the time of the work event to a smart device, allowing the smart device to adjust its own work time based on the user's work event time. The user terminal sends a key acquisition request to the first server based on a key acquisition operation triggered by the key acquisition interface of the first application. This key acquisition request carries the first account information. Different accounts correspond to different target keys. The user terminal requests the first server to return the target key for the first account. Optionally, the target key is a 64-bit string.
[0102] 503. The first server returns the target key to the user terminal.
[0103] In this embodiment, when the first server receives a key acquisition request from a user terminal, it pushes the request to a management terminal controlled by the enterprise administrator. The management terminal also has a first application installed, and a management account is logged into that application. If the enterprise administrator allows the first account to acquire the target key, the management terminal sends a key generation instruction to the first server. In response to this instruction, the first server generates a target key corresponding to the first account and sends it to the user terminal.
[0104] 504. The user terminal receives the target key and displays it on the key acquisition interface.
[0105] In this embodiment of the application, the user terminal displays the received target key in the key acquisition interface to present it to the user intuitively.
[0106] To more clearly describe the process by which the user terminal obtains the target key, the following description, in conjunction with the accompanying drawings, provides a further explanation of this process. Figure 6 This is a schematic diagram illustrating how a user terminal obtains a target key according to an embodiment of this application. See also... Figure 6 The user terminal is operated by an employee of the company. First, the employee sends a key acquisition request to a first server. Then, the first server forwards this request to a management terminal operated by the company administrator. Next, with the administrator's permission, the management terminal sends a key generation command to the first server. The first server then generates the corresponding target key and returns it to the user terminal.
[0107] 505. In response to the interface switching command, the user terminal displays a key authorization interface, which is used to authorize the target key to a second server that provides backend services to the smart device.
[0108] In this embodiment, after the user terminal obtains the target key, it can authorize the target key to the backend server of the smart device through a key authorization interface. This key authorization interface can be an interface in a first application or an interface in a second application used to control the smart device; this embodiment does not impose any restrictions. If the key authorization interface is in the first application, the user terminal authorizes the target key through the key authorization interface of the first application; details of this authorization process are provided in step 506. If the key authorization interface is in the second application, the user terminal can display the key authorization interface through the first application. Accordingly, in response to an interface switching instruction triggered based on the key acquisition interface, the user terminal displays the key authorization interface through the first application. In this case, the user terminal authorizes the target key through the key authorization interface of the second application; details of this authorization process are provided in step 507. Only one step needs to be performed in steps 506 and 507.
[0109] It should be noted that the user terminal can also revoke the authorization of the target key, preventing the second server from obtaining multiple work events from the user based on the target key. The user terminal can revoke the authorization of the target key through the authorization management interface of the first application. Accordingly, the user terminal displays the authorization management interface of the first application, which displays multiple vendor identifiers, and the second server corresponding to each vendor identifier has obtained authorization for the target key. Then, in response to the revocation of authorization for any vendor identifier, the user terminal sends an authorization cancellation instruction to the first server, which instructs the first server to reject the request of the second server corresponding to the vendor identifier to obtain multiple work events. The solution provided in this application embodiment, since the authorization management interface of the first application displays multiple vendor identifiers corresponding to the second server that has obtained authorization for the target key, can revoke the authorization of the target key to one or more second servers in the authorization management interface by triggering the revocation operation, thereby preventing the revoked second server from obtaining multiple work events. This not only meets the user's needs and ensures information security, but also is simple to operate and can improve human-computer interaction efficiency.
[0110] 506. Based on the authorization operation of the target key on the key authorization interface, the user terminal determines at least one authorized third account from at least one second account. For any third account, a key authorization instruction is sent to the target third server corresponding to the third account. The key authorization instruction is used to instruct the target third server to push multiple work events to at least one smart device associated with the third account based on the target key, and the at least one smart device adjusts the work time based on the multiple work events.
[0111] In this embodiment, the key authorization interface is an interface within a first application, through which the user terminal authorizes the target key. The key acquisition interface displays a deauthorization control; in response to triggering this control, the user terminal switches the key acquisition interface to the key authorization interface, where the target key is displayed. This key authorization interface also displays at least one second account associated with the first account, which is an account on a second server. Then, the user terminal selects at least one authorized third account from the at least one second account and authorizes at least one target third server corresponding to that third account. The second and third accounts can be the same as or different from the second account; this embodiment does not impose such limitations. The solution provided in this embodiment, by selecting at least one authorized third account from the at least one second account displayed on the key authorization interface of the first application and authorizing the target key to at least one target third server corresponding to the at least one third account, achieves simultaneous authorization of target keys to multiple servers. This simplifies the operation, improves the efficiency of target key authorization, and thus enhances human-computer interaction efficiency.
[0112] It should be noted that before the user terminal authorizes the target key through the key authorization interface in the first application, the user terminal needs to associate the account in the server associated with the smart device with the first account. Accordingly, the user terminal displays the account association interface of the first application, which displays multiple vendor identifiers. Then, in response to a trigger operation on the target vendor identifier, the user terminal obtains a fourth account based on the input in the account association interface. The user terminal then sends an account verification request to the third server corresponding to the target vendor identifier, instructing the third server to verify the legitimacy of the fourth account. Finally, in response to the fourth account being valid, the user terminal stores the association relationship between the fourth account and the first account.
[0113] The server associated with the smart device is a server managed by the manufacturer providing backend services for the smart device. If the fourth account is valid, it means that the fourth account is an account in the third server corresponding to the target manufacturer's identifier; if the fourth account is invalid, it means that the fourth account is not an account in the third server corresponding to the target manufacturer's identifier. The fourth account can be the same as or different from the second account, and this application embodiment does not impose any restrictions on this. The solution provided in this application embodiment, when the target manufacturer's identifier in the account association interface of the first application is triggered, sends an account verification request to the third server corresponding to the target manufacturer's identifier, so that the third server verifies the fourth account entered in the account association interface, and if the fourth account is valid, associates the fourth account with the first account, ensuring information security. Furthermore, by storing the association relationship between the fourth account and the first account, the target key can be authorized to the server corresponding to the fourth account in the first application, which can improve the efficiency of authorizing the target key and thus improve the efficiency of human-computer interaction.
[0114] 507. Based on the authorization operation of the target key in the key authorization interface, the user terminal receives the key authorization instruction sent by the second application through the first application, and sends the key authorization instruction to the target second server that provides background services for the second application through the first application. The key authorization instruction is used to instruct the target second server to push multiple work events to at least one smart device associated with the fifth account based on the target key, and the at least one smart device adjusts the work time based on the multiple work events.
[0115] In this embodiment, the key authorization interface is an interface within a second application, which is logged into a fifth account. During the authorization of the target key through the key authorization interface of the second application, when the authorization operation is triggered, the second application can send a key authorization instruction to the first application. The first application then sends this instruction to the target second server providing background services to the second application, thereby authorizing the target key to that target second server. Since the key acquisition interface and the key authorization interface are interfaces of different applications, the user can copy the target key displayed in the key acquisition interface to the key authorization interface, enabling the user terminal to authorize the target key to the second server providing background services to the smart device. The solution provided in this embodiment authorizes the target key to the target second server providing background services to the second application through the key authorization interface of the second application, without requiring the selection of the server to be authorized, simplifying the operation and improving human-computer interaction efficiency.
[0116] 508. The second server sends an information retrieval request to the first server. The information retrieval request carries the target key and is used to request the first server to provide multiple working events of the first account.
[0117] In this embodiment, for any second server, after receiving a key authorization instruction, the second server obtains the target key from the key authorization instruction. Then, the second server sends an information retrieval request to the first server, requesting to retrieve multiple working events of the first account from the first server.
[0118] 509. The first server verifies the target key. If the target key passes the verification, it sends multiple working events to the second server.
[0119] In this embodiment, after receiving the information retrieval request, the first server verifies the target key. If the target key verification passes, the first server sends multiple working events of the first account to the second server; if the target key verification fails, the first server does not send multiple working events of the first account to the second server. In this case, the first server can send a prompt message to the second server to indicate that the target key of the corresponding vendor of the second server is incorrect.
[0120] In this application embodiment, the number of conditions under which the target key passes is not limited. The conditions under which the target key passes may include the following:
[0121] The first requirement is that the target key is in the correct format. This format represents the generation rule for the target key. For example, the target key generated according to the generation rule is a 64-bit string, which includes numbers, letters, and symbols.
[0122] The second item indicates that the target key is in an authorized state. This authorized state signifies that the first server has authorized the target key to the second server. The target key is only in an authorized state if both an employee and an administrator on their respective management terminals have authorized the same authorization. If either the employee or the administrator cancels authorization of the target key to the second server, the target key becomes unauthorized.
[0123] Thirdly, the target key is currently within its validity period. The target key has an expiration date, which can be one month, two months, or six months, etc., and this embodiment does not impose such a limitation. If the target key expires, the user terminal needs to obtain a new target key and authorize the new target key to the second server.
[0124] 510. The second server receives multiple work events and sends multiple work events to the smart devices associated with the second server.
[0125] In this embodiment, the second server is associated with at least one smart device. The number of smart devices associated with the second server can be one, two, or more, and this embodiment does not impose any limitation on this. After receiving multiple work events, the second server can directly forward these multiple work events to the associated smart devices. Alternatively, the second server can store the multiple work events after receiving them and send them to the associated smart devices at a preset frequency, and this embodiment does not impose any limitation on this either. The at least one smart device associated with the second server adjusts its working time based on these multiple work events.
[0126] To more clearly describe the process by which smart devices acquire work events, the following description, in conjunction with the accompanying drawings, further illustrates this process. Figure 7 This is a schematic diagram illustrating how a smart device acquires work events according to an embodiment of this application. See also... Figure 7 First, an employee uses a user terminal to send a key authorization command to a second server, which carries the target key. Then, based on this target key, the second server sends an information retrieval request to the first server, also carrying the target key. The first server then verifies the target key. If the target key verification is successful, the first server sends multiple work events to the second server. Finally, the second server pushes these work events to the smart devices associated with it.
[0127] 511. The second server sends a change subscription request to the first server, which carries the target key.
[0128] In this embodiment, the second server can request the first server to subscribe to event change notifications for multiple work events of the first account. This allows the second server to retrieve updated work events from the first server and push them to associated smart devices when work events for the first account change, enabling the smart devices to adjust their work schedules accordingly. The second server sends a change subscription request to the first server to subscribe to the first server's event change notifications.
[0129] 512. The user terminal edits the multiple working events and sends the edited multiple working events to the first server.
[0130] In this embodiment, a user's multiple work events are not static. Employees can edit their own multiple work events using user terminals, or enterprise administrators can edit employees' multiple work events using management terminals; this embodiment does not impose any limitations on this. The edited multiple work events are sent to a first server, which stores them. Editing work events can involve creating new work events, modifying existing work events, or deleting existing work events; this application does not impose any limitations on this.
[0131] In some embodiments, a user terminal can edit multiple work events through a first application. Accordingly, the user terminal displays an event editing interface of the first application. Then, for any work event displayed in the event editing interface, in response to the editing operation on the work event, the user terminal sends the edited time of the work event to a first server. The event editing interface is used to edit work events for a first account. The solution provided in this application embodiment allows users to edit multiple work events through the event editing interface of a first application, enabling users to adjust the corresponding work events according to their own needs. This allows smart devices to adjust their working time based on the latest work events, making smart devices more intelligent and improving human-computer interaction efficiency.
[0132] 513. If multiple job events change and the target key is verified, the first server returns the updated job events to the second server based on the change subscription request.
[0133] In this embodiment, when the first server determines that any one of the multiple working events of the first account has changed, the first server verifies the target key provided by the second server. The method of verifying the target key is the same as that in step 508, and will not be repeated here. If the target key verification passes, the first server sends the updated multiple working events to the second server.
[0134] 514. The second server sends multiple updated work events to at least one smart device associated with the second server.
[0135] In this embodiment, the second server may, upon receiving multiple updated work events, directly forward the updated work events to the associated smart device. Alternatively, the second server may, upon receiving multiple updated work events, store the updated work events and send them to the associated smart device at a preset frequency. This embodiment does not impose any limitations on this approach. At least one smart device associated with the second server adjusts its working time based on the updated work events.
[0136] To more clearly describe the process by which smart devices acquire updated work events, the process will be further described below with reference to the accompanying drawings. Figure 8 This is a schematic diagram illustrating how a smart device acquires updated operational events according to an embodiment of this application. See also... Figure 8 First, the second server sends a change subscription request to the first server, carrying the target key. Then, the first server verifies the target key. If the target key verification passes, the first server registers event change notifications for multiple job events for the first account. Then, when multiple job events change, the first server returns updated job events to the second server. The second server then pushes these updated job events to the associated smart devices. It should be noted that, since the target key may become invalid, when multiple job events change, the first server can verify the target key again, and if the target key verification passes, send the updated job events to the second server.
[0137] To more clearly describe the application of the control method for intelligent devices in the control system of intelligent devices, the control method for intelligent devices will be further described below with reference to the accompanying drawings. Figure 8 This is a schematic diagram of a control system for an intelligent device according to an embodiment of this application. See also... Figure 8 The control system of this intelligent device includes a user terminal, a management terminal, the intelligent device, a first server, and a second server. A first application is installed on both the user terminal and the management terminal. The first server provides background services for this first application. The user terminal, management terminal, and first server interact through the first application. For example, the user terminal can obtain a target key from the first server through the first application. This target key is sent to the user terminal by the first server with the consent of the enterprise administrator. The user terminal and the intelligent device can exchange information; for example, the user terminal can send created work tasks to the intelligent device. The second server provides background services for the intelligent device. The user terminal can interact with the second server; for example, the user terminal can authorize the second server with the target key. The second server and the first server interact through an open platform. For example, the second server sends the target key to the first server through the open platform, and the first server returns multiple work events corresponding to the target key if the target key is successfully verified.
[0138] This application provides a control method for a smart device. Through a key acquisition interface of a first application, a target key associated with multiple work events of a first account is obtained from a first server. Then, through a key authorization interface, the target key is authorized to a second server associated with the smart device. This enables the second server to obtain multiple work events from the first server based on the target key, ensuring information security. Furthermore, at least one smart device associated with the second server can adjust its working time based on multiple work events, eliminating the need for manual adjustment by the user. This method is simple to operate and improves human-computer interaction efficiency.
[0139] Figure 9 This is a schematic diagram of a control device for a smart device according to an embodiment of this application. This device is used to execute the steps of the control method for the smart device described above. (See attached diagram.) Figure 9 The device includes a first display module 901 and a first transmission module 902.
[0140] The first display module 901 is used to display the key acquisition interface of the first application. The key acquisition interface displays the target key obtained from the first server. The first server is used to provide background services for the first account that logs in to the first application. The target key is used to obtain multiple working events of the first account.
[0141] The first display module 901 is also used to respond to the interface switching command and display a key authorization interface, which is used to authorize the target key to a second server that provides backend services for the smart device;
[0142] The first sending module 902 is used to send a key authorization instruction to at least one second server based on the authorization operation of the target key in the key authorization interface. The key authorization instruction is used to instruct at least one second server to push multiple working events to at least one smart device associated with the second server based on the target key, and the smart device associated with the at least one second server adjusts the working time based on the multiple working events.
[0143] In some embodiments, Figure 10 This is a schematic diagram of the structure of a control device for another smart device according to an embodiment of this application. See also... Figure 10 The key authorization interface is the interface in the first application. The key authorization interface displays at least one second account associated with the first account. The second account is an account in the second server.
[0144] The first sending module 902 is used to determine at least one authorized third account from at least one second account based on the authorization operation of the target key in the key authorization interface; for any third account, a key authorization instruction is sent to the target third server corresponding to the third account. The key authorization instruction is used to instruct the target third server to push multiple work events to at least one smart device associated with the third account based on the target key, and the at least one smart device adjusts the work time based on the multiple work events.
[0145] In some embodiments, see continue to see Figure 10 The device also includes:
[0146] The first display module 901 is also used to display the account association interface in the first application, which displays multiple manufacturer logos.
[0147] The acquisition module 903 is used to acquire the fourth account based on the input of the account association interface in response to the trigger operation of the target manufacturer's identifier;
[0148] The first sending module 902 is also used to send an account verification request to the third server corresponding to the target manufacturer identifier. The account verification request is used to instruct the third server to verify the legitimacy of the fourth account.
[0149] Storage module 904 is used to store the association between the fourth account and the first account in response to the fourth account being valid.
[0150] In some embodiments, see continue to see Figure 10 The key authorization interface is the interface in the second application, and the second application login has a fifth account;
[0151] The first display module 901 is used to receive a key authorization instruction sent by the second application through the first application based on the authorization operation of the target key in the key authorization interface.
[0152] The first sending module 902 is used to send a key authorization instruction to a target second server that provides background services for the second application through the first application. The key authorization instruction is used to instruct the target second server to push multiple work events to at least one smart device associated with the fifth account based on the target key, and the at least one smart device adjusts the work time based on the multiple work events.
[0153] In some embodiments, see continue to see Figure 10 The device also includes:
[0154] The first display module 901 is also used to display the event editing interface of the first application, which is used to edit the work events of the first account;
[0155] The second sending module 905 is used to send the edited time of any working event displayed in the event editing interface to the first server in response to the editing operation of the working event.
[0156] In some embodiments, see continue to see Figure 10 The first display module 901 is also used to display the authorization management interface of the first application. The authorization management interface displays multiple vendor identifiers, and the second server corresponding to the vendor identifier has obtained authorization for the target key.
[0157] The second sending module 905 is further configured to send an authorization cancellation instruction to the first server in response to a deauthorization operation on any vendor identifier. The authorization cancellation instruction is used to instruct the first server to reject the request from the second server corresponding to the vendor identifier to obtain multiple working events.
[0158] In some embodiments, see continue to see Figure 10 The device also includes:
[0159] The second display module 906 is used to display a device management interface, which shows at least one smart device.
[0160] The second display module 906 is also used to display the task editing interface of the smart device in response to a trigger operation on any smart device. The task editing interface is used to edit the work tasks of the smart device.
[0161] The third sending module 907 is used to send a newly created first work task to the smart device in response to the task creation operation. The first work task includes work time and work events associated with work time.
[0162] In some embodiments, see continue to see Figure 10 The device also includes:
[0163] The determination module 908 is configured to determine, in response to a task editing operation for any work task, an edited second work task, the second work task including a work time or a modified work event associated with the work time;
[0164] The third sending module 907 is also used to send a second work task to the smart device so that the smart device updates the work task to the second work task.
[0165] This application provides a control device for a smart device. Through the key acquisition interface of a first application, a target key associated with multiple work events of a first account is obtained from a first server. Then, through the key authorization interface, the target key is authorized to a second server associated with the smart device. This enables the second server to obtain multiple work events from the first server based on the target key, ensuring information security. Furthermore, at least one smart device associated with the second server can adjust its working time according to multiple work events without requiring the user to manually adjust the working time of the smart device associated with the at least one second server. This simplifies operation and improves human-computer interaction efficiency.
[0166] It should be noted that the control device for the intelligent device provided in the above embodiments is only illustrated by the division of the above functional modules when running the application. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the control device for the intelligent device provided in the above embodiments and the control method embodiments for the intelligent device belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0167] In the embodiments of this application, the computer device can be configured as a terminal or a server. When the computer device is configured as a terminal, the terminal can act as the execution subject to implement the technical solutions provided in the embodiments of this application. When the computer device is configured as a server, the server can act as the execution subject to implement the technical solutions provided in the embodiments of this application. Alternatively, the technical solutions provided in this application can be implemented through the interaction between the terminal and the server. The embodiments of this application do not limit this.
[0168] Figure 11 This is a schematic diagram of the structure of a terminal 1100 according to an embodiment of this application. The terminal 1100 can be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 1100 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.
[0169] Typically, terminal 1100 includes a processor 1101 and a memory 1102.
[0170] Processor 1101 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1101 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1101 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1101 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1101 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0171] The memory 1102 may include one or more computer-readable storage media, which may be non-transitory. The memory 1102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1102 are used to store at least one computer program, which is executed by the processor 1101 to implement the control method of the smart device provided in the method embodiments of this application.
[0172] In some embodiments, the terminal 1100 may also optionally include a peripheral device interface 1103 and at least one peripheral device. The processor 1101, memory 1102, and peripheral device interface 1103 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1104, a display screen 1105, a camera assembly 1106, an audio circuit 1107, and a power supply 1108.
[0173] Peripheral device interface 1103 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1101 and memory 1102. In some embodiments, processor 1101, memory 1102 and peripheral device interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1101, memory 1102 and peripheral device interface 1103 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0174] The radio frequency (RF) circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. In some embodiments, the RF circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1104 can communicate with other terminals via at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1104 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0175] Display screen 1105 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1105 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1101 for processing. In this case, display screen 1105 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1105, disposed on the front panel of terminal 1100; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 1100 or in a folded design; in still other embodiments, display screen 1105 may be a flexible display screen, disposed on a curved or folded surface of terminal 1100. Furthermore, display screen 1105 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0176] The camera assembly 1106 is used to acquire images or videos. In some embodiments, the camera assembly 1106 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1106 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cool light flash, which can be used for light compensation at different color temperatures.
[0177] The audio circuit 1107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1101 for processing, or input to the radio frequency circuit 1104 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1100. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1107 may also include a headphone jack.
[0178] Power supply 1108 is used to power the various components in terminal 1100. Power supply 1108 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1108 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0179] In some embodiments, the terminal 1100 further includes one or more sensors 1109. The one or more sensors 1109 include, but are not limited to: an acceleration sensor 1110, a gyroscope sensor 1111, a pressure sensor 1112, an optical sensor 1113, and a proximity sensor 1114.
[0180] Accelerometer 1110 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established with terminal 1100. For example, accelerometer 1110 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 1101 can control display screen 1105 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1110. Accelerometer 1110 can also be used for games or for acquiring user motion data.
[0181] The gyroscope sensor 1111 can detect the orientation and rotation angle of the terminal 1100. The gyroscope sensor 1111 can work in conjunction with the accelerometer sensor 1110 to collect the user's 3D movements on the terminal 1100. Based on the data collected by the gyroscope sensor 1111, the processor 1101 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0182] The pressure sensor 1112 can be disposed on the side bezel of the terminal 1100 and / or on the lower layer of the display screen 1105. When the pressure sensor 1112 is disposed on the side bezel of the terminal 1100, it can detect the user's grip signal on the terminal 1100, and the processor 1101 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1112. When the pressure sensor 1112 is disposed on the lower layer of the display screen 1105, the processor 1101 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 1105. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0183] An optical sensor 1113 is used to collect ambient light intensity. In one embodiment, the processor 1101 can control the display brightness of the display screen 1105 based on the ambient light intensity collected by the optical sensor 1113. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1105 is increased; when the ambient light intensity is low, the display brightness of the display screen 1105 is decreased. In another embodiment, the processor 1101 can also dynamically adjust the shooting parameters of the camera assembly 1106 based on the ambient light intensity collected by the optical sensor 1113.
[0184] The proximity sensor 1114, also known as a distance sensor, is typically located on the front panel of the terminal 1100. The proximity sensor 1114 is used to detect the distance between the user and the front of the terminal 1100. In one embodiment, when the proximity sensor 1114 detects that the distance between the user and the front of the terminal 1100 is gradually decreasing, the processor 1101 controls the display screen 1105 to switch from a screen-on state to a screen-off state; when the proximity sensor 1114 detects that the distance between the user and the front of the terminal 1100 is gradually increasing, the processor 1101 controls the display screen 1105 to switch from a screen-off state to a screen-on state.
[0185] Those skilled in the art will understand that Figure 11 The structure shown does not constitute a limitation on terminal 1100 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0186] Figure 12This is a schematic diagram of a server structure according to an embodiment of this application. The server 1200 can vary considerably due to different configurations or performance. It may include one or more Central Processing Units (CPUs) 1201 and one or more memories 1202. The memory 1202 stores at least one computer program, which is loaded and executed by the processor 1201 to implement the control methods of the intelligent devices provided in the above-described method embodiments. Of course, the server 1200 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server may also include other components for implementing device functions, which will not be elaborated here.
[0187] This application also provides a computer-readable storage medium storing at least one computer program. This computer program is loaded and executed by a processor of a computer device to implement the operations performed by the computer device in the control method of the intelligent device described above. For example, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, or optical data storage device, etc.
[0188] This application also provides a computer program product or computer program, which includes computer program code stored in a computer-readable storage medium. A processor of a computer device reads the computer program code from the computer-readable storage medium and executes the computer program code, causing the computer device to perform the control method for the intelligent device provided in the various optional implementations described above.
[0189] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0190] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A control method for an intelligent device, characterized in that, The method, executed by a user terminal, includes: The key acquisition interface of the first application is displayed. The key acquisition interface displays the target key obtained from the first server. The first server is used to provide background services for the first account that logs in to the first application. The target key is used to obtain multiple working events of the first account. In response to the interface switching command, a key authorization interface is displayed, which is used to authorize the target key to a second server that provides backend services for smart devices; Based on the authorization operation of the target key on the key authorization interface, a key authorization instruction is sent to at least one second server. The key authorization instruction is used to instruct at least one second server to push the plurality of working events to at least one smart device associated with the second server based on the target key, and the smart device associated with the at least one second server adjusts the working time based on the plurality of working events.
2. The method according to claim 1, characterized in that, The key authorization interface is the interface in the first application, and the key authorization interface displays at least one second account associated with the first account, and the second account is an account in the second server; The step of sending a key authorization instruction to at least one second server based on the authorization operation of the target key on the key authorization interface includes: Based on the authorization operation of the target key on the key authorization interface, at least one authorized third account is determined from the at least one second account; For any third account, the key authorization instruction is sent to the target third server corresponding to the third account. The key authorization instruction is used to instruct the target third server to push the multiple work events to at least one smart device associated with the third account based on the target key, and the at least one smart device adjusts the work time based on the multiple work events.
3. The method according to claim 2, characterized in that, The method further includes: The account association interface of the first application is displayed, and the account association interface displays multiple manufacturer logos; In response to a trigger operation on the target manufacturer's identifier, obtain a fourth account based on the input from the account association interface; Send an account verification request to the third server corresponding to the target manufacturer identifier. The account verification request is used to instruct the third server to verify the legitimacy of the fourth account. In response to the validity of the fourth account, the association between the fourth account and the first account is stored.
4. The method according to claim 1, characterized in that, The key authorization interface is the interface in the second application, and the second application is logged in with a fifth account; The step of displaying the key authorization interface in response to the interface switching command includes: In response to the interface switching instruction triggered based on the key acquisition interface, the key authorization interface is displayed through the first application; The step of sending a key authorization instruction to at least one second server based on the authorization operation of the target key on the key authorization interface includes: Based on the authorization operation of the target key on the key authorization interface, the first application receives the key authorization instruction sent by the second application; Through the first application, the key authorization instruction is sent to the target second server that provides background services for the second application. The key authorization instruction is used to instruct the target second server to push the multiple work events to at least one smart device associated with the fifth account based on the target key, and the at least one smart device adjusts the work time based on the multiple work events.
5. The method according to claim 1, characterized in that, Before displaying the key acquisition interface of the first application, the method further includes: Display the event editing interface of the first application, which is used to edit the work events of the first account; For any work event displayed in the event editing interface, in response to the editing operation on the work event, the time after the work event is edited is sent to the first server.
6. The method according to claim 1, characterized in that, The method further includes: The authorization management interface of the first application is displayed. The authorization management interface displays multiple vendor identifiers, and the second server corresponding to the vendor identifier has obtained authorization for the target key. In response to a deauthorization operation on any vendor identifier, an authorization cancellation instruction is sent to the first server, the authorization cancellation instruction being used to instruct the first server to reject the request from the second server corresponding to the vendor identifier to obtain the plurality of working events.
7. The method according to claim 1, characterized in that, Before displaying the key acquisition interface of the first application, the method further includes: Display device management interface, which shows at least one smart device; In response to a trigger operation on any smart device, the task editing interface of the smart device is displayed, and the task editing interface is used to edit the work tasks of the smart device; In response to a task creation operation, a newly created first work task is sent to the smart device, the first work task including a work time and a work event associated with the work time.
8. The method according to claim 7, characterized in that, The method further includes: In response to a task editing operation for any work task, an edited second work task is determined, the second work task including a work time or a modified work event associated with the work time; The second task is sent to the smart device so that the smart device updates the task to the second task.
9. A control system for an intelligent device, characterized in that, The control system includes a user terminal, at least one smart device, a first server, and at least one second server. The first server is used to provide background services for the first account that logs in to the first application, where the first application is an application on the user terminal; The user terminal is used to display the key acquisition interface of the first application. The key acquisition interface displays the target key obtained from the first server. The target key is used to obtain multiple working events of the first account logged in by the first application. The user terminal is also configured to respond to an interface switching instruction, display a key authorization interface, and send a key authorization instruction to the at least one second server based on the authorization operation of the target key on the key authorization interface. The key authorization interface is configured to authorize the target key to the second server that provides background services for the smart device, and the key authorization instruction carries the target key. For any second server, the second server is used to push the plurality of working events to at least one smart device associated with the second server based on the target key; At least one smart device associated with the second server is used to adjust working hours based on the plurality of working events.
10. The system according to claim 9, characterized in that, The step of pushing the multiple working events to the smart device associated with the second server based on the target key includes: The second server sends an information retrieval request to the first server. The information retrieval request carries the target key and is used to request the first server to provide the plurality of working events. The second server receives the plurality of working events, which are sent by the first server upon successful verification of the target key. The second server sends the multiple working events to the smart device associated with the second server.
11. The system according to claim 9, characterized in that, The second server is also configured to send a change subscription request to the first server, the change subscription request carrying the target key; The first server is also configured to, based on the change subscription request, return updated multiple working events to the second server when the multiple working events change and the target key verification passes; The second server is also used to send the updated multiple working events to at least one smart device associated with the second server.
12. The system according to claim 10 or 11, characterized in that, The conditions for the target key to pass verification include: The target key has a correct format, and the format of the target key is used to represent the generation rule of the target key; The target key is in an authorized state, which indicates that the first server has authorized the target key to the second server. The target key is currently within its validity period.
13. A control device for an intelligent device, characterized in that, The device includes: The first display module is used to display the key acquisition interface of the first application. The key acquisition interface displays the target key obtained from the first server. The first server is used to provide background services for the first account that logs in to the first application. The target key is used to obtain multiple working events of the first account. The first display module is further configured to display a key authorization interface in response to an interface switching command, wherein the key authorization interface is configured to authorize the target key to a second server that provides backend services for the smart device; The first sending module is configured to send a key authorization instruction to at least one second server based on the authorization operation of the target key on the key authorization interface. The key authorization instruction is configured to instruct at least one second server to push the plurality of working events to at least one smart device associated with the second server based on the target key, and the smart device associated with the at least one second server adjusts the working time based on the plurality of working events.
14. A computer device, characterized in that, The computer device includes a processor and a memory, the memory being used to store at least one computer program, the at least one computer program being loaded by the processor and executed as the control method of the intelligent device according to any one of claims 1 to 8.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store at least one computer program for executing the control method of the smart device according to any one of claims 1 to 8.
16. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the control method of the intelligent device as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Intelligent equipment capable of realizing remote control, terminal equipment and method
CN105471974A
Method and device for obtaining cloud service, electronic device and medium
CN110401648A