Control method and device, electronic equipment and storage medium

By building a communication connection between the server management system and subservers of different brands, personalized control of smart home appliances is achieved, and the problems of insufficient user experience and low control efficiency in the existing technology are solved, and efficient smart home equipment management solutions are provided .

CN119232775APending Publication Date: 2024-12-31GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411745229.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The existing smart home appliance remote control apps lack personalized design and real-time interactive data analysis capabilities, resulting in poor user experience and low control efficiency, which cannot meet the personalized needs of different brands of home appliances.

Method used

By establishing communication connections with subservers of different brands, building a server management system, synchronizing device information, determining brand information based on scenario instructions, converting it into device control instructions, and distributing it to the corresponding subserver for control operations, personalized control interface and improvement are realized Control efficiency.

Benefits of technology

It provides a personalized control interface, improves the control efficiency of smart home devices, ensures that the server management platform can accurately control the equipment information of different brands, and improves the efficiency of the user experience and management platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232775A_ABST
    Figure CN119232775A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device, electronic equipment and a storage medium, and the method comprises the steps: building communication connection with sub-servers of different brands, and constructing a server management system; one sub-server is used for controlling smart home equipment of one brand; synchronizing the equipment information stored in each sub-server to a server management platform; under the condition that a scene instruction sent by a client is received, first brand information corresponding to first equipment information is determined according to the first equipment information of the to-be-controlled equipment carried in the scene instruction; converting the scene instruction into an equipment control instruction according to the brand information; determining a first sub-server based on the brand information; distributing the equipment control instruction to a first sub-server; the equipment control instruction is used for indicating the target sub-server to control the to-be-controlled equipment. According to the embodiment of the invention, the control efficiency of the server management platform can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of control technology, and specifically relates to a control method, device, electronic device and storage medium. Background Art

[0002] Nowadays, smart home appliances can generally be remotely controlled through mobile software programs (Application, App), which greatly improves the convenience of use. However, most apps on the market are equipped with standardized control plug-ins or themes, which can only meet basic operations such as switching, temperature adjustment, and timing. These universal designs lack personality and are inconsistent with the interactive experience of different home appliance models, resulting in a greatly reduced user experience that is neither rich nor intuitive.

[0003] At present, existing user interface design technologies rely on fixed templates and cannot be dynamically adjusted according to user personalized needs. They also lack real-time interactive data analysis capabilities and cannot provide users with personalized control interfaces, thus reducing control efficiency. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a control method, device, electronic device and storage medium, which can solve the problem of low control efficiency in the control process of related technologies and the problem of being unable to provide users with a personalized control interface.

[0005] In a first aspect, an embodiment of the present application provides a control method, the method comprising: Establish communication connections with sub-servers of different brands respectively to build a server management system; one sub-server is used to control a brand of smart home devices; the server management system includes at least one user credential of a brand account, at least one authorization information of a brand account, a list of smart home devices associated with the brand account, and at least one item of device status information corresponding to the smart home device; Synchronize the device information stored in each sub-server to the server management platform; the device information includes the corresponding relationship between the device information and the brand information; In the case of receiving a scene instruction sent by the client, determining first brand information corresponding to the first device information according to the first device information of the device to be controlled carried in the scene instruction; converting the scene instruction into a device control instruction according to the first brand information; Determining a first sub-server based on the first brand information; The device control instruction is distributed to the first sub-server; the device control instruction is used to instruct the first sub-server to perform a control operation on the device to be controlled.

[0006] In a second aspect, an embodiment of the present application provides a control device, the device comprising: A communication connection module, used to establish communication connections with sub-servers of different brands respectively, and build a server management system; one sub-server is used to control a brand of smart home devices; the server management system includes at least one user credential of a brand account, at least one authorization information of a brand account, a list of smart home devices associated with the brand account, and at least one item of device status information corresponding to the smart home device; A synchronization module, used to synchronize the device information stored in each sub-server to the server management platform; the device information includes the corresponding relationship between the device information and the brand information; A determination module, configured to, upon receiving a scene instruction sent by a client, determine, according to first device information of a device to be controlled carried in the scene instruction, first brand information corresponding to the first device information; a conversion module, configured to convert the scene instruction into a device control instruction according to the first brand information; The determining module is used to determine the first sub-server based on the first brand information; A distribution module is used to distribute the device control instruction to the first sub-server; the device control instruction is used to instruct the first sub-server to perform a control operation on the device to be controlled.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store executable instructions, and the executable instructions enable the processor to execute the control method described in any one of the above items.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the control method as described in any one of the above items is implemented.

[0009] In an embodiment of the present application, a control method, a control method, an apparatus, an electronic device and a storage medium are provided, wherein the method comprises: establishing communication connections with sub-servers of different brands respectively to construct a server management system; a sub-server is used to control a brand of smart home devices; the server management system comprises user credentials of at least one brand account, authorization information of at least one brand account, a list of smart home devices associated with the brand account, and at least one item of device status information corresponding to the smart home devices; the device information stored in each sub-server is synchronized to a server management platform; the device information comprises a correspondence between the device information and the brand information; when a scene instruction sent by a client is received, the first brand information corresponding to the first device information of the device to be controlled carried in the scene instruction is determined; the scene instruction is converted into a device control instruction according to the brand information; the first sub-server is determined based on the brand information; the device control instruction is distributed to the first sub-server; the device control instruction is used to instruct the first sub-server to perform a control operation on the device to be controlled. While providing a personalized control interface, the embodiments of the present application also improve the efficiency of control. During the control process, the server management platform can first determine the first brand information corresponding to the first device information based on the scene instruction; convert the scene instruction into a device control instruction based on the brand information, and then distribute the device control instruction to the first sub-server, and implement control processing of the device to be controlled through the first sub-server, thereby improving the control efficiency of the server management platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 This is a step flow of a control method provided in an embodiment of the present application. Figure 1 ; Figure 2 This is a step flow of a control method provided in an embodiment of the present application. Figure 2 ; Figure 3 This is a step flow of a control method provided in an embodiment of the present application. Figure 3 ; Figure 4 is a logic block diagram of a control device provided in an embodiment of the present application; Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0011] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0012] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0013] Method Embodiment The control method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0014] Reference Figure 1 , showing the steps of a control method provided by an embodiment of the present application Figure 1 ,like Figure 1 As shown, the method specifically includes steps S101 to S106: Step S101, establish communication connections with sub-servers of different brands respectively to build a server management system; one sub-server is used to control one brand of smart home devices.

[0015] According to the control method provided in the embodiment of the present application, the server management platform can establish communication connections with sub-servers of different brands respectively, and it is also necessary to build a server management system. The server management system includes user credentials of at least one brand account, authorization information of at least one brand account, a list of smart home devices associated with the brand account, and at least one item of device status information corresponding to the smart home device.

[0016] Exemplarily, in this step, the device status information may include but is not limited to the working status or working mode of the smart home device, which is not limited in the embodiments of the present application.

[0017] In this step, the server management platform needs to establish a communication connection with at least one sub-server, and then perform control processing based on the communication connection.

[0018] For example, in this step, the server management system stores the associated brands, associated brand accounts, and detailed information under the associated brand accounts. Users can associate smart home application accounts of various brands through App A, and after association, select different brands for device binding and operation.

[0019] Exemplarily, in this step, a brand of smart home equipment is controlled and processed through a sub-server.

[0020] Step S102: Synchronize the device information stored in each sub-server to the server management platform; the device information includes the corresponding relationship between the device information and the brand information.

[0021] The control method provided in the embodiment of the present application establishes communication connections with sub-servers of different brands to build a server management system; after a sub-server is used to control a brand of smart home devices, the server management platform can synchronize the device information stored in each sub-server to the server management platform; the device information includes the correspondence between the device information and the brand information.

[0022] In this step, the device information may be hardware information or version information corresponding to the smart home device, etc., which is not limited in the embodiments of the present application.

[0023] In this step, the device information of different brands is different. The device information stored in each sub-server contains the correspondence between the device information and the brand information. In the subsequent control processing process, the brand information can be determined through the device information, or the device information can be determined based on the brand information. This is not limited in the embodiments of the present application.

[0024] Step S103: upon receiving a scene instruction sent by the client, determining first brand information corresponding to the first device information according to the first device information of the device to be controlled carried in the scene instruction.

[0025] The control method provided in the embodiment of the present application, after synchronizing the device information stored in each sub-server to the server management platform, the server management platform can, upon receiving the scene instruction sent by the client, determine the first brand information corresponding to the first device information based on the first device information of the device to be controlled carried in the scene instruction.

[0026] Exemplarily, in this step, in the process of determining the scene instruction, the trigger condition corresponding to the scene instruction can be determined first, and then the state of the device under the trigger condition is determined, and then a scene instruction is generated according to the trigger condition and the state of the device.

[0027] Exemplarily, in this step, the trigger condition may be set such that when the temperature is greater than 27 degrees Celsius, the brand A device is turned on and the brand B device is turned off.

[0028] In this step, the first device information of the device to be controlled carried in the scene instruction can be the hardware information or version information of any smart home device, which is not limited in the embodiments of the present application.

[0029] Exemplarily, in this step, in the process of determining the first brand information corresponding to the first device information of the device to be controlled carried in the scene instruction, the correspondence between the device information and the brand information can be found. When the first device information is obtained, the first brand information corresponding to the first device information can be determined based on the correspondence between the first device information and the first brand information.

[0030] Step S104: Convert the scene instruction into a device control instruction according to the brand information.

[0031] The control method provided in the embodiment of the present application, after receiving the scene instruction sent by the client and determining the first brand information corresponding to the first device information of the device to be controlled carried in the scene instruction, the server management platform can also convert the scene instruction into a device control instruction according to the brand information.

[0032] In this step, any conversion method may be used to determine the device control instruction for the scene instruction, and the device control instruction is used to control the smart home device.

[0033] Furthermore, the first brand information includes at least two brand identification information; when converting the scene instruction into the device control instruction according to the brand information, the server management platform can identify the control information corresponding to each brand identification information in the scene instruction; based on the at least two brand identification information and the control information corresponding to the brand identification information, the scene instruction is split into at least two device control instructions; the device control instruction is used to instruct the device to be controlled corresponding to the brand identification information to perform the control operation corresponding to the control information.

[0034] In the embodiments of the present application, brand identification information can be used to distinguish different brands.

[0035] Exemplarily, the A logo is added to the device information of the first brand, and the B logo is added to the device information of the second brand, so that different brands can be distinguished according to the brand identification information, which is not limited in the embodiments of the present application.

[0036] In this step, the control information corresponding to each brand is different, and then the scene instructions are unpacked according to the control information, and the control information corresponding to each brand identification information is obtained by identifying and processing each brand identification information, which is not limited in the embodiments of the present application.

[0037] In this step, the process of splitting the scene instruction into at least two device control instructions may be a process of unpacking the scene instruction according to the identification information and the control information, that is, the scene instruction may be split into at least two device control instructions.

[0038] Exemplarily, in the embodiments of the present application, the device control instruction may be any integer value greater than or equal to 2, and the device control instruction may be 2, or 700, etc., which is not limited in the embodiments of the present application.

[0039] In this step, the device to be controlled corresponding to the brand identification information may be a smart home device determined according to the brand identification information.

[0040] In this step, the control operation corresponding to the control information may be executing a corresponding control operation on the smart home device according to the control information. For example, if the control information is to turn off the air conditioner, the air conditioner can be turned off according to the control information.

[0041] Furthermore, when converting scene instructions into device control instructions based on brand information, the server management platform can encrypt the first device information and the first brand information to obtain a first execution code; the first execution code is used for communication verification between the server management platform and the sub-server; the first execution code is added to the scene instruction to obtain the device control instruction.

[0042] Exemplarily, the first execution code may be obtained by encrypting the first device information and the first brand information using any encryption processing method.

[0043] In this step, the communication verification may be a process of determining whether the communication between the server management platform and the sub-server is normal.

[0044] Exemplarily, in this step, the result of the communication verification may include but is not limited to verification passed, verification failed, verification result not displayed, etc., which is not limited in the embodiments of the present application.

[0045] In this step, the device control instruction can be determined according to the first execution code and the scene information.

[0046] Furthermore, the server management platform may receive verification feedback information sent by the first sub-server; the verification feedback information is used to indicate the communication verification between the server management platform and the first sub-server. The processing information corresponding to the verification feedback information is sent to the client; the processing information is used to notify the first sub-server that the verification fails; or, a new execution code is generated and sent to the first sub-server.

[0047] Exemplarily, the verification feedback information may be information fed back by the first sub-server after verification, and returns information indicating that the verification is passed, or that the verification is failed, or that no verification result is displayed to the server management platform.

[0048] In this step, after receiving the verification feedback information sent by the first sub-server, the server management platform will feedback processing information to the client, that is, the first sub-server can be notified of the verification result such as verification failure or success through the processing information.

[0049] In this step, if the verification fails, the server management platform will generate a new execution code and send the new execution code to the sub-server, which can be used for subsequent control processing.

[0050] Step S105: Determine the first sub-server based on the brand information.

[0051] In the control method provided in the embodiment of the present application, after converting the scene instruction into the device control instruction according to the brand information, the server management platform can determine the first sub-server based on the brand information.

[0052] In this step, brand information refers to configuration information of different brands, etc. The brand information of different manufacturers is different and is not limited in the embodiments of the present application.

[0053] In this step, the first sub-server may be a server for controlling any brand of smart home devices, and smart home devices of different brands are controlled by different sub-servers.

[0054] For example, for smart home devices of brand A, a first sub-server is required for control, and for smart home devices of brand B, a second sub-server is required for control, which is not limited in the embodiments of the present application.

[0055] Step S106: Distribute the device control instruction to the first sub-server; the device control instruction is used to instruct the target sub-server to perform a control operation on the device to be controlled.

[0056] In the control method provided in the embodiment of the present application, after determining the first sub-server based on the brand information, the server management platform can distribute the device control instruction to the first sub-server; the device control instruction is used to instruct the target sub-server to perform a control operation on the device to be controlled.

[0057] In this step, the device control instruction can be used to instruct the target sub-server to perform control operations on the controlled device. The device control instruction is an arbitrary control instruction, which may be an instruction to control the temperature of the refrigerator to be reduced to 10 degrees Celsius, or an instruction to control the temperature of the air conditioner to 28 degrees Celsius in heating mode, or an instruction to perform overall maintenance on the refrigerator, etc., which is not limited in the embodiments of the present application.

[0058] Furthermore, when distributing the device control instruction to the first sub-server, the server management platform may distribute at least two device control instructions to the first sub-servers corresponding to the at least two pieces of brand identification information respectively.

[0059] Exemplarily, in this step, one sub-server can control at least two smart home devices with brand identification information.

[0060] In this step, at least two device control instructions can be obtained from the scene instruction.

[0061] Furthermore, an account operation instruction sent by the client is received; the account operation instruction carries device account association information; the device account binding information is determined based on the device account association information; the device account binding information includes a brand account, and a device identifier and device status information associated with the brand account; and the device account binding information is distributed to a second sub-server corresponding to the device account association information.

[0062] In this step, the second sub-server may be determined based on the brand account, and the device identification and device status information associated with the brand account.

[0063] Exemplarily, in this step, the brand account may include, but is not limited to, user credentials corresponding to the brand account and authorization information corresponding to the brand account, which is not limited in the embodiments of the present application.

[0064] Exemplarily, in this step, the device status information may include but is not limited to the working status or working mode of the smart home device, which is not limited in the embodiments of the present application.

[0065] In this step, the account operation instruction can be used to instruct to associate or disassociate an account, which is not limited in the embodiments of the present application.

[0066] In this step, the account operation instruction includes device account association information, which is used to associate the device account.

[0067] In this step, the device account binding information is determined based on the device account association information, and the device account binding information may include a brand account, and a device identifier and device status information associated with the brand account.

[0068] Among them, the corresponding second sub-server can be determined according to the device account association information.

[0069] In this step, during the binding process of any smart home device, the bound device information needs to be updated on the server management platform.

[0070] In this step, the process of associating the account according to the device account binding information and the process of executing the scene instruction may not be the operation processes performed at the same time.

[0071] For example, in the present application, the process of changing the account information through the application software and shutting down the air conditioner according to the operating instructions can be steps processed at the same time or at different times, which is not limited in the embodiments of the present application.

[0072] In summary, in an embodiment of the present application, a control method, a control method, an apparatus, an electronic device and a storage medium are provided, wherein the method includes: establishing communication connections with sub-servers of different brands respectively to build a server management system; a sub-server is used to control a brand of smart home devices; the server management system includes user credentials of at least one brand account, authorization information of at least one brand account, a list of smart home devices associated with the brand account, and at least one item of device status information corresponding to the smart home devices; the device information stored in each sub-server is synchronized to the server management platform; the device information includes the correspondence between the device information and the brand information; when a scene instruction sent by a client is received, the first brand information corresponding to the first device information of the device to be controlled carried in the scene instruction is determined; the scene instruction is converted into a device control instruction according to the brand information; based on the brand information, the first sub-server is determined; the device control instruction is distributed to the first sub-server; the device control instruction is used to instruct the first sub-server to perform a control operation on the device to be controlled. While providing a personalized control interface, the embodiments of the present application also improve the efficiency of control. During the control process, the server management platform can first determine the first brand information corresponding to the first device information based on the scene instruction; convert the scene instruction into a device control instruction based on the brand information, and then distribute the device control instruction to the first sub-server, which implements the control processing of the device to be controlled, thereby improving the control efficiency of the server management platform.

[0073] Reference Figure 2 , showing the steps of a control method provided by an embodiment of the present application Figure 2 ,like Figure 2 As shown, the method specifically includes steps S201 to S208: Step S201: establish communication connections with sub-servers of different brands respectively to build a server management system; one sub-server is used to control one brand of smart home devices.

[0074] According to the control method provided in the embodiment of the present application, the server management platform can establish communication connections with sub-servers of different brands respectively, and a server management system needs to be built at the same time; the server management system includes user credentials of at least one brand account, authorization information of at least one brand account, a list of smart home devices associated with the brand account, and at least one item of device status information corresponding to the smart home device.

[0075] In this step, the server management platform needs to establish a communication connection with at least one sub-server, and then perform control processing based on the communication connection.

[0076] For example, in this step, the server management system stores the associated brands, associated brand accounts, and detailed information under the associated brand accounts. Users can associate smart home application accounts of various brands through App A, and after association, select different brands for device binding and operation.

[0077] Exemplarily, in this step, a brand of smart home equipment is controlled and processed through a sub-server.

[0078] Step S202: Synchronize the device information stored in each sub-server to the server management platform; the device information includes the corresponding relationship between the device information and the brand information.

[0079] The control method provided in the embodiment of the present application establishes communication connections with sub-servers of different brands to build a server management system; after a sub-server is used to control a brand of smart home devices, the server management platform can synchronize the device information stored in each sub-server to the server management platform; the device information includes the correspondence between the device information and the brand information.

[0080] In this step, the device information may be hardware information or version information corresponding to the smart home device, etc., which is not limited in the embodiments of the present application.

[0081] In this step, the device information of different brands is different. The device information stored in each sub-server contains the correspondence between the device information and the brand information. In the subsequent control processing process, the brand information can be determined through the device information, or the device information can be determined based on the brand information. This is not limited in the embodiments of the present application.

[0082] Step S203: upon receiving the scene instruction sent by the client, determining the first brand information corresponding to the first device information according to the first device information of the device to be controlled carried in the scene instruction.

[0083] The control method provided in the embodiment of the present application, after synchronizing the device information stored in each sub-server to the server management platform, the server management platform can, upon receiving the scene instruction sent by the client, determine the first brand information corresponding to the first device information based on the first device information of the device to be controlled carried in the scene instruction.

[0084] Exemplarily, in this step, in the process of determining the scene instruction, the trigger condition corresponding to the scene instruction can be determined first, and then the state of the device under the trigger condition is determined, and then a scene instruction is generated according to the trigger condition and the state of the device.

[0085] Exemplarily, in this step, the trigger condition may be set such that when the temperature is greater than 27 degrees Celsius, the brand A device is turned on and the brand B device is turned off.

[0086] In this step, the first device information of the device to be controlled carried in the scene instruction can be the hardware information or version information of any smart home device, which is not limited in the embodiments of the present application.

[0087] Exemplarily, in this step, in the process of determining the first brand information corresponding to the first device information of the device to be controlled carried in the scene instruction, the correspondence between the device information and the brand information can be found. When the first device information is obtained, the first brand information corresponding to the first device information can be determined based on the correspondence between the first device information and the first brand information.

[0088] Step S204: Convert the scene instruction into a device control instruction according to the brand information.

[0089] The control method provided in the embodiment of the present application, after receiving the scene instruction sent by the client and determining the first brand information corresponding to the first device information of the device to be controlled carried in the scene instruction, the server management platform can also convert the scene instruction into a device control instruction according to the brand information.

[0090] In this step, any conversion method may be used to determine the device control instruction for the scene instruction, and the device control instruction is used to control the smart home device.

[0091] Furthermore, the first brand information includes at least two brand identification information; when converting the scene instruction into the device control instruction according to the brand information, the server management platform can identify the control information corresponding to each brand identification information in the scene instruction; based on the at least two brand identification information and the control information corresponding to the brand identification information, the scene instruction is split into at least two device control instructions; the device control instruction is used to instruct the device to be controlled corresponding to the brand identification information to perform the control operation corresponding to the control information.

[0092] In the embodiments of the present application, brand identification information can be used to distinguish different brands.

[0093] Exemplarily, the A logo is added to the device information of the first brand, and the B logo is added to the device information of the second brand, so that different brands can be distinguished according to the brand identification information, which is not limited in the embodiments of the present application.

[0094] In this step, the control information corresponding to each brand is different, and then the scene instructions are unpacked according to the control information, and the control information corresponding to each brand identification information is obtained by identifying and processing each brand identification information, which is not limited in the embodiments of the present application.

[0095] In this step, the process of splitting the scene instruction into at least two device control instructions may be a process of unpacking the scene instruction according to the identification information and the control information, that is, the scene instruction may be split into at least two device control instructions.

[0096] Exemplarily, in the embodiments of the present application, the device control instruction may be any integer value greater than or equal to 2, and the device control instruction may be 2, or 700, etc., which is not limited in the embodiments of the present application.

[0097] In this step, the device to be controlled corresponding to the brand identification information may be a smart home device determined according to the brand identification information.

[0098] In this step, the control operation corresponding to the control information may be executing a corresponding control operation on the smart home device according to the control information. For example, if the control information is to turn off the air conditioner, the air conditioner can be turned off according to the control information.

[0099] Furthermore, when converting scene instructions into device control instructions based on brand information, the server management platform can encrypt the first device information and the first brand information to obtain a first execution code; the first execution code is used for communication verification between the server management platform and the sub-server; the first execution code is added to the scene instruction to obtain the device control instruction.

[0100] Exemplarily, the first execution code may be obtained by encrypting the first device information and the first brand information using any encryption processing method.

[0101] In this step, the communication verification may be a process of determining whether the communication between the server management platform and the sub-server is normal.

[0102] Exemplarily, in this step, the result of the communication verification may include but is not limited to verification passed, verification failed, verification result not displayed, etc., which is not limited in the embodiments of the present application.

[0103] In this step, the device control instruction can be determined according to the first execution code and the scene information.

[0104] Furthermore, the server management platform may receive verification feedback information sent by the first sub-server; the verification feedback information is used to indicate the communication verification between the server management platform and the first sub-server. The processing information corresponding to the verification feedback information is sent to the client; the processing information is used to notify the first sub-server that the verification fails; or, a new execution code is generated and sent to the first sub-server.

[0105] Exemplarily, the verification feedback information may be information fed back by the first sub-server after verification, and returns information indicating that the verification is passed, or that the verification is failed, or that no verification result is displayed to the server management platform.

[0106] In this step, after receiving the verification feedback information sent by the first sub-server, the server management platform will feedback processing information to the client, that is, the first sub-server can be notified of the verification result such as verification failure or success through the processing information.

[0107] In this step, if the verification fails, the server management platform will generate a new execution code and send the new execution code to the sub-server, which can be used for subsequent control processing.

[0108] Step S205: Determine the sub-server based on the brand information.

[0109] In the control method provided in the embodiment of the present application, after converting the scene instruction into the device control instruction according to the brand information, the server management platform can determine the first sub-server based on the brand information.

[0110] In this step, brand information refers to configuration information of different brands, etc. The brand information of different manufacturers is different and is not limited in the embodiments of the present application.

[0111] In this step, the first sub-server may be a server for controlling any brand of smart home devices, and smart home devices of different brands are controlled by different sub-servers.

[0112] For example, for smart home devices of brand A, a first sub-server is required for control, and for smart home devices of brand B, a second sub-server is required for control, which is not limited in the embodiments of the present application.

[0113] Step S206: Distribute the device control instruction to the sub-server; the device control instruction is used to instruct the sub-server to perform a control operation on the device to be controlled.

[0114] In the control method provided in the embodiment of the present application, after determining the first sub-server based on the brand information, the server management platform can distribute the device control instruction to the first sub-server; the device control instruction is used to instruct the target sub-server to perform a control operation on the device to be controlled.

[0115] In this step, the device control instruction can be used to instruct the target sub-server to perform control operations on the controlled device. The device control instruction is an arbitrary control instruction, which may be an instruction to control the temperature of the refrigerator to be reduced to 10 degrees Celsius, or an instruction to control the temperature of the air conditioner to 28 degrees Celsius in heating mode, or an instruction to perform overall maintenance on the refrigerator, etc., which is not limited in the embodiments of the present application.

[0116] Furthermore, when distributing the device control instruction to the first sub-server, the server management platform may distribute at least two device control instructions to the first sub-servers corresponding to the at least two pieces of brand identification information respectively.

[0117] Exemplarily, in this step, one sub-server can control at least two smart home devices with brand identification information.

[0118] In this step, at least two device control instructions are obtained from the scene instructions.

[0119] Furthermore, an account operation instruction sent by the client is received; the account operation instruction carries device account association information; the device account binding information is determined based on the device account association information; the device account binding information includes a brand account, and a device identifier and device status information associated with the brand account; and the device account binding information is distributed to a second sub-server corresponding to the device account association information.

[0120] In this step, the second sub-server may be determined based on the brand account, and the device identification and device status information associated with the brand account.

[0121] Exemplarily, in this step, the brand account may include, but is not limited to, user credentials corresponding to the brand account and authorization information corresponding to the brand account, which is not limited in the embodiments of the present application.

[0122] Exemplarily, in this step, the device status information may include but is not limited to the working status or working mode of the smart home device, which is not limited in the embodiments of the present application.

[0123] In this step, the account operation instruction is used to instruct to associate or disassociate an account, which is not limited in the embodiments of the present application.

[0124] In this step, the account operation instruction includes device account association information, which is used to associate the device account.

[0125] In this step, the device account binding information is determined based on the device account association information, and the device account binding information may include a brand account, and a device identifier and device status information associated with the brand account.

[0126] Among them, the corresponding second sub-server can be determined according to the device account association information.

[0127] In this step, during the binding process of any smart home device, the bound device information needs to be updated on the server management platform.

[0128] In this step, the process of associating the account according to the device account binding information and the process of executing the scene instruction may not be the operation processes performed at the same time.

[0129] For example, in the present application, the process of changing the account information through the application software and shutting down the air conditioner according to the operating instructions can be steps processed at the same time or at different times, which is not limited in the embodiments of the present application.

[0130] Step S207: The sub-server receives the device control instruction sent by the server management platform; the device control instruction is used to control the smart home device.

[0131] After distributing the device control instruction to the first sub-server; the device control instruction is used to instruct the first sub-server to perform a control operation on the device to be controlled, the sub-server receives the device control instruction sent by the server management platform; the device control instruction is used to control the smart home device.

[0132] Furthermore, the device control instruction carries a first execution code; after receiving the device control instruction sent by the server management platform, the sub-server extracts the execution code from the device control instruction; the execution code is verified; if the execution code verification passes, the execution code is sent to at least one smart home device, and the at least one smart home device is controlled based on the execution code.

[0133] Exemplarily, the process of verifying the execution code may include a process of verifying whether the communication between the server management platform and the sub-server is successful.

[0134] In this step, the smart home device can be any type of device, for example, an air conditioner, a refrigerator, a washing machine, etc., which is not limited in the embodiments of the present application.

[0135] In this step, the process of controlling at least one smart home device based on the execution code may be a control processing process of the smart home device by the sub-server according to the execution code and the device control instruction.

[0136] Furthermore, when the execution code verification fails, the sub-server sends verification feedback information to the server management platform; the verification feedback information is used to indicate the communication verification between the server management platform and the first sub-server.

[0137] In this step, when the execution code verification fails, the sub-server will send verification feedback information to the server management platform, that is, to realize information feedback between the server management platform and the first sub-server.

[0138] Furthermore, the sub-server receives and stores the device account binding information sent by the server management platform; wherein the device account binding information includes the brand account, and the device identification and device status information associated with the brand account.

[0139] In this step, after receiving the device account binding information sent by the server management platform, the sub-server will store the device account binding information locally.

[0140] Step S208: Distribute the device control instructions to the smart home devices to implement control processing of the smart home devices.

[0141] The sub-server receives the device control instruction sent by the server management platform; after the device control instruction is used to control the smart home device, the sub-server can distribute the device control instruction to the smart home device to realize the control processing of the smart home device.

[0142] In summary, in an embodiment of the present application, a control method, a control method, an apparatus, an electronic device and a storage medium are provided, wherein the method includes: establishing communication connections with sub-servers of different brands respectively to build a server management system; a sub-server is used to control a brand of smart home devices; the device information stored in each sub-server is synchronized to the server management platform; the device information includes the correspondence between the device information and the brand information; when a scene instruction sent by a client is received, the first brand information corresponding to the first device information is determined according to the first device information of the device to be controlled carried in the scene instruction; the scene instruction is converted into a device control instruction according to the brand information; the first sub-server is determined based on the brand information; the device control instruction is distributed to the first sub-server; the device control instruction is used to instruct the first sub-server to perform a control operation on the device to be controlled; the sub-server receives the device control instruction sent by the server management platform; the device control instruction is used to control the smart home device; the sub-server distributes the device control instruction to the smart home device to realize control processing of the smart home device. While providing a personalized control interface, the embodiments of the present application also improve the efficiency of control. During the control process, the server management platform can first determine the first brand information corresponding to the first device information based on the scene instruction; convert the scene instruction into a device control instruction based on the brand information, and then distribute the device control instruction to the first sub-server, which implements the control processing of the device to be controlled, thereby improving the control efficiency of the server management platform.

[0143] Reference Figure 3 , showing the steps of a control method provided by an embodiment of the present application Figure 3 ,like Figure 3 As shown, the method specifically includes steps S301 to S305: First, we need to design a server (called Server A) to store and manage the data of smart home appliances of various brands, and develop a user operation interface (called App A). ​​Server A will store the following data: associated brands, associated brand accounts, and detailed information under associated brand accounts. Users can associate smart home application accounts of various brands through App A, and after association, select different brands to bind and operate devices.

[0144] Step S301: Build a unified management platform.

[0145] The main function of server A is to store and manage smart home appliance data of multiple brands. Its data structure should include: associated brands, associated brand accounts, detailed information under brand accounts, etc.

[0146] Exemplarily, the associated brands refer to a list of smart home appliance brands supported by the storage.

[0147] Exemplarily, the associated brand account refers to the user credentials and authorization information of each brand account.

[0148] Exemplarily, the detailed information under the brand account may include a list of smart home appliances associated with the brand account and their status information.

[0149] Exemplarily, App A will serve as the main interface for users to interact with smart home devices, providing the following functions: account association, device binding, device operation, etc., which are not limited in the embodiments of this application.

[0150] For example, during the account association process, the user can first associate the smart home application accounts of various brands through App A; App A will request the user to provide login credentials for the brand application and store the information in Server A.

[0151] After the association is completed, during the device binding process, the user can select the brand and bind the corresponding smart home appliance; at the same time, the device information will be stored in server A, including device ID, device status, etc.

[0152] During the device operation process, users can operate smart home appliances of the associated brand through App A; due to the different protocols and interfaces of each brand, App A will not communicate directly with the device, but will operate through the brand's own maintenance system.

[0153] After the user associates the brand account and binds the device through App A, the interaction of smart home appliances of various brands will be achieved through the following mechanisms: Brand A account association, multi-brand linkage, and scene command execution.

[0154] For example, after associating the account of Brand A, the account will be called Association A; the interaction between Association A and the smart home appliances under Brand A is maintained by Brand A itself, including the interface, protocol, etc., and App A will not directly intervene in these processes.

[0155] Step S302: Generate scene instructions.

[0156] For example, the multi-brand linkage process may include when a user requires devices of different brands to perform linkage operations (such as setting the air conditioner of brand A to execute cooling mode and the heater of brand B to execute heating mode), App A will generate a scene instruction.

[0157] Step S303: Generate execution code based on the scene instruction.

[0158] Exemplarily, the multi-brand linkage process may also include that the server of each brand will generate an execution code, and the execution code will be stored in the server of each brand and server A.

[0159] Exemplarily, the process of executing the scene instruction may include: when the user executes the scene instruction in App A, App A will obtain the corresponding execution code from Server A.

[0160] Step S304: transmit the execution code to the server of each brand.

[0161] The server passes the execution code to the server of each brand.

[0162] Step S305: Each brand server controls the device to perform corresponding actions according to the execution code.

[0163] Exemplarily, the preset condition of the scene instruction is that the temperature is greater than 27 degrees Celsius, that is, when the indoor temperature is greater than 27 degrees Celsius, the server controls the brand A device to start up and the brand B device to shut down, which is not limited in the embodiments of the present application.

[0164] Device Embodiment like Figure 4 As shown, Figure 4 A logic block diagram of a control device provided in an embodiment of the present application is shown, the device comprising: The communication connection module 1001 is used to establish communication connections with sub-servers of different brands to build a server management system; one sub-server is used to control one brand of smart home devices; Synchronization module 1002, used to synchronize the device information stored in each sub-server to the server management platform; the device information includes the corresponding relationship between the device information and the brand information; The determination module 1003 is used to determine the first brand information corresponding to the first device information of the device to be controlled carried in the scene instruction when receiving the scene instruction sent by the client; A conversion module 1004, configured to convert the scene instruction into a device control instruction according to the first brand information; The determining module is used to determine the first sub-server based on the first brand information; The distribution module 1005 is used to distribute the device control instruction to the first sub-server; the device control instruction is used to instruct the first sub-server to perform a control operation on the device to be controlled.

[0165] Optionally, the conversion module includes: An identification submodule, used to identify the control information corresponding to each brand identification information in the scene command; The splitting submodule is used to split the scene instruction into at least two device control instructions according to at least two brand identification information and the control information corresponding to the brand identification information; the device control instruction is used to instruct the device to be controlled corresponding to the brand identification information to execute the control operation corresponding to the control information.

[0166] Optionally, the distribution module includes: The distribution submodule is used to distribute at least two device control instructions to first sub-servers corresponding to at least two pieces of brand identification information.

[0167] Optionally, the conversion module includes: The encryption submodule is used to encrypt the first device information and the first brand information to obtain a first execution code; the first execution code is used for communication verification between the server management platform and the sub-server; The obtaining submodule is used to add the first execution code to the scene instruction to obtain the device control instruction.

[0168] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0169] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0170] The control device in the embodiment of the present application may be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than a terminal. Exemplarily, the electronic device may be a GPU BOX, a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0171] The control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, a Linux operating system, a Windows operating system, etc., or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0172] The control device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0173] Alternatively, if Figure 5 As shown, an embodiment of the present application also provides an electronic device 1100, including a processor 1101 and a memory 1102, wherein the memory 1102 stores programs or instructions that can be executed on the processor 1101, and when the program or instructions are executed by the processor 1101, the various steps of the above-mentioned control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0174] In an embodiment of the present application, the memory 1102 may be used to store software programs and various data. The memory 1102 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1102 may include a volatile memory or a non-volatile memory, or the memory 1102 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1102 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0175] The processor 1101 may include one or more processing units; optionally, the processor 1101 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1101.

[0176] An embodiment of the present application also provides an electronic device, which includes a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store executable instructions, and the executable instructions enable the processor to execute the various processes of the control method embodiment as described above, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0177] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0178] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0179] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0180] It should be understood that the chip involved in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0181] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0182] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.

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

[0184] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A control method, characterized in that: Applied to a server management platform, the method comprises: Establish communication connections with sub-servers of different brands respectively to build a server management system; one sub-server is used to control a brand of smart home devices; the server management system includes at least one user credential of a brand account, at least one authorization information of a brand account, a list of smart home devices associated with the brand account, and at least one item of device status information corresponding to the smart home device; Synchronize the device information stored in each sub-server to the server management platform; the device information includes the corresponding relationship between the device information and the brand information; In the case of receiving a scene instruction sent by the client, determining first brand information corresponding to the first device information according to first device information of the device to be controlled carried in the scene instruction; converting the scene instruction into a device control instruction according to the first brand information; Determining a first sub-server based on the first brand information; The device control instruction is distributed to the first sub-server; the device control instruction is used to instruct the first sub-server to perform a control operation on the device to be controlled.

2. The method according to claim 1, characterized in that The first brand information includes at least two pieces of brand identification information; and converting the scene instruction into a device control instruction according to the first brand information includes: Identify control information corresponding to each brand identification information in the scene command; According to the at least two pieces of brand identification information and the control information corresponding to the brand identification information, the scene instruction is split into at least two device control instructions; the device control instruction is used to instruct the to-be-controlled device corresponding to the brand identification information to perform the control operation corresponding to the control information; The distributing the device control instruction to the first sub-server includes: The at least two device control instructions are distributed to first sub-servers corresponding to the at least two pieces of brand identification information respectively.

3. The method according to claim 1, characterized in that The converting the scene instruction into a device control instruction according to the first brand information includes: Encrypting the first device information and the first brand information to obtain a first execution code; the first execution code is used for communication verification between the server management platform and the sub-server; The first execution code is added to the scene instruction to obtain the device control instruction.

4. The method according to claim 1, characterized in that: The method further comprises: Receiving an account operation instruction sent by a client; the account operation instruction carries device account association information; Determine device account binding information according to the device account association information; the device account binding information includes a brand account, a device identifier associated with the brand account, and the device status information; The device account binding information is distributed to a second sub-server corresponding to the device account association information.

5. The method according to claim 1, characterized in that The method further comprises: receiving verification feedback information sent by the first sub-server; the verification feedback information is used to indicate the communication verification between the server management platform and the first sub-server; Sending processing information corresponding to the verification feedback information to the client; the processing information is used to notify the first sub-server of the verification failure; or, A new execution code is generated, and the new execution code is sent to the first sub-server.

6. A control method, characterized in that: Applied to a sub-server, the sub-server includes any server connected to a server management platform, the method includes: Establish a communication connection with the server management platform; Receiving a device control instruction sent by the server management platform; the device control instruction is used to control the smart home device; The device control instruction is distributed to the smart home device to implement control processing of the smart home device.

7. The method according to claim 6, characterized in that The device control instruction carries a first execution code; after receiving the device control instruction sent by the server management platform, the method further includes: Extracting execution code from the device control instruction; Performing verification processing on the execution code; When the execution code passes the verification, the execution code is sent to at least one smart home device, and the at least one smart home device is controlled based on the execution code.

8. The method according to claim 7, characterized in that The method further comprises: If the execution code verification fails, sending verification feedback information to the server management platform; The verification feedback information is used to indicate the communication verification between the server management platform and the first sub-server.

9. The method according to claim 6, characterized in that The method further comprises: Receive and store the device account binding information sent by the server management platform; The device account binding information includes a brand account, and a device identifier and device status information associated with the brand account.

10. A control device, characterized in that: The device comprises: A communication connection module, used to establish communication connections with sub-servers of different brands respectively, and build a server management system; one sub-server is used to control a brand of smart home devices; the server management system includes at least one user credential of a brand account, at least one authorization information of a brand account, a list of smart home devices associated with the brand account, and at least one item of device status information corresponding to the smart home device; A synchronization module, used to synchronize the device information stored in each sub-server to the server management platform; the device information includes the corresponding relationship between the device information and the brand information; A determination module, configured to, upon receiving a scene instruction sent by a client, determine, according to first device information of a device to be controlled carried in the scene instruction, first brand information corresponding to the first device information; a conversion module, configured to convert the scene instruction into a device control instruction according to the first brand information; The determining module is used to determine the first sub-server based on the first brand information; A distribution module is used to distribute the device control instruction to the first sub-server; the device control instruction is used to instruct the first sub-server to perform a control operation on the device to be controlled.

11. An electronic device, characterized in that: The electronic device comprises a processor, a memory, a communication interface and a communication bus, and the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store executable instructions, and the executable instructions enable the processor to execute the control method according to any one of claims 1 to 5, or implement the control method according to any one of claims 6 to 9.

12. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the control method according to any one of claims 1 to 5 is implemented, or the control method according to any one of claims 6 to 9 is implemented.

Citation Information

Patent Citations

  • Smart home control system and method, and terminal equipment

    CN110488617A

  • Equipment control method and device, storage medium and electronic equipment

    CN112738805A

  • Control instruction transmission method and system, server and storage medium

    CN113014579A

  • Household intelligent energy consumption service cloud platform and user load optimization adjustment method thereof

    CN113541147A

  • Interaction and control method, device and system based on multi-platform intelligent equipment

    CN116599748A