Movatterモバイル変換


[0]ホーム

URL:


CN105511273A - Client operation management method and client - Google Patents

Client operation management method and client
Download PDF

Info

Publication number
CN105511273A
CN105511273ACN201510812221.3ACN201510812221ACN105511273ACN 105511273 ACN105511273 ACN 105511273ACN 201510812221 ACN201510812221 ACN 201510812221ACN 105511273 ACN105511273 ACN 105511273A
Authority
CN
China
Prior art keywords
control logic
client
control
logic plug
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510812221.3A
Other languages
Chinese (zh)
Other versions
CN105511273B (en
Inventor
魏枫
刘吉振
朱平洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Electronics Co LtdfiledCriticalQingdao Hisense Electronics Co Ltd
Priority to CN201510812221.3ApriorityCriticalpatent/CN105511273B/en
Priority to CN201810394921.9Aprioritypatent/CN108710304B/en
Priority to CN201810394915.3Aprioritypatent/CN108646577B/en
Publication of CN105511273ApublicationCriticalpatent/CN105511273A/en
Application grantedgrantedCritical
Publication of CN105511273BpublicationCriticalpatent/CN105511273B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a client operation management method and a client, which are used for solving the problems of increased storage space occupied by the client, increased internal memory occupied during operation, increased redundancy and reduced operation efficiency caused by the integral upgrade of the client when the control logic of the client needs to be adjusted. The method comprises the following steps: the client sends equipment model indicating information of the bound intelligent equipment to a cloud server, and receives a control logic plug-in returned by the cloud server according to the equipment model indicating information, wherein the control logic plug-in is used for realizing a control function of the intelligent equipment; and the client saves the received control logic plug-in, selects the control logic plug-in related to the current control operation of the intelligent equipment, loads the selected control logic plug-in to the memory, and runs the control logic plug-in loaded to the memory.

Description

Translated fromChinese
一种客户端运行管理方法及客户端A client operation management method and client

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种客户端运行管理方法及客户端。The present invention relates to the field of communication technology, in particular to a client operation management method and a client.

背景技术Background technique

目前,智能家居系统中,用户可以通过安装在手机、平板电脑、笔记本电脑等智能终端上的客户端控制智能家电设备。控制智能家电设备的客户端中,用于实现智能家电设备的控制逻辑是固化在客户端应用程序中的。Currently, in a smart home system, users can control smart home appliances through clients installed on smart terminals such as mobile phones, tablet computers, and laptops. In the client for controlling the smart home appliance, the control logic for realizing the smart home appliance is solidified in the client application program.

如果需要在客户端中增加智能家电设备的新的控制逻辑,则需要对客户端整体修改,以将新的控制逻辑加入到该客户端,或者,需要对客户端进行整体升级以将新的控制逻辑升级到该客户端。If it is necessary to add new control logic of smart home appliances to the client, the client needs to be modified as a whole to add the new control logic to the client, or the client needs to be upgraded as a whole to incorporate the new control logic. Logical upgrade to that client.

随着智能设备(包括智能家电设备)的种类以及型号的增加,客户端中需要不断增加新的控制逻辑,这将导致客户端占用的存储空间增大、运行时占用的内存不断增大,并且很多情况下,升级所增加的控制逻辑对用户没有用处,冗余的升级操作导致客户端的运行效率下降,降低了用户体验。With the increase of the types and models of smart devices (including smart home appliances), new control logic needs to be continuously added to the client, which will lead to an increase in the storage space occupied by the client and an increase in the memory occupied by the runtime, and In many cases, the control logic added by the upgrade is of no use to users, and redundant upgrade operations lead to a decrease in the operating efficiency of the client and a reduction in user experience.

鉴于此,需要寻求一种新的客户端管理方法,以解决在需要对客户端的控制逻辑进行调整时,对客户端整体升级,所导致的客户端占用的存储空间增大、运行时占用的内存增大以及冗余增大,以及运行效率下降的问题。In view of this, it is necessary to find a new client management method to solve the problem of increasing the storage space occupied by the client and the memory occupied by the runtime when the client’s control logic needs to be adjusted and the client is upgraded as a whole. Increase and redundancy increase, as well as the problem of decreased operating efficiency.

发明内容Contents of the invention

本发明实施例提供一种客户端运行管理方法及客户端,用以解决在需要对客户端的控制逻辑进行调整时,对客户端整体升级所导致的客户端占用的存储空间增大、运行时占用的内存增大以及冗余增大,以及运行效率下降的问题。The embodiment of the present invention provides a client operation management method and a client, which are used to solve the problem of increasing the storage space occupied by the client and the runtime occupation caused by the overall upgrade of the client when the control logic of the client needs to be adjusted. Increased memory, increased redundancy, and decreased operating efficiency.

本发明实施例提供的具体技术方案如下:The specific technical scheme that the embodiment of the present invention provides is as follows:

本发明实施例提供了一种客户端运行管理方法,包括:An embodiment of the present invention provides a client operation management method, including:

客户端向云服务器发送所绑定的智能设备的设备型号指示信息,并接收所述云服务器根据所述设备型号指示信息返回的控制逻辑插件,所述控制逻辑插件用于实现对所述智能设备的控制功能;The client sends the device model indication information of the bound smart device to the cloud server, and receives the control logic plug-in returned by the cloud server according to the device model indication information, and the control logic plug-in is used to control the smart device control function;

所述客户端保存接收的所述控制逻辑插件,并选择与对所述智能设备的当前控制操作相关的控制逻辑插件,将选择的控制逻辑插件加载到内存,并运行加载到内存的控制逻辑插件。The client saves the received control logic plug-in, selects a control logic plug-in related to the current control operation of the smart device, loads the selected control logic plug-in into the memory, and runs the control logic plug-in loaded into the memory .

可能的实施方式中,所述控制逻辑插件包括原始控制命令帧获取接口、状态解析接口和命令操作的互斥判断接口中的一种或多种,其中,所述控制命令帧获取接口用于获取所述客户端的控制指令并返回所述控制指令对应的原始控制命令帧,所述状态解析接口用于获取所述客户端的工作状态指示并返回所述智能设备的工作状态的解析信息,所述命令操作的互斥判断接口用于获取所述客户端的控制指令并返回是否允许发送所述控制指令的相关信息。In a possible implementation, the control logic plug-in includes one or more of an original control command frame acquisition interface, a status analysis interface, and a mutually exclusive judgment interface for command operations, wherein the control command frame acquisition interface is used to acquire The control command of the client and return the original control command frame corresponding to the control command, the state analysis interface is used to obtain the working status indication of the client and return the analysis information of the working status of the smart device, the command The mutually exclusive judging interface of the operation is used to acquire the control command of the client and return information about whether the control command is allowed to be sent.

可能的实施方式中,所述客户端运行加载到内存的控制逻辑插件,包括:In a possible implementation manner, the client runs a control logic plug-in loaded into memory, including:

所述客户端获取用户的控制指令,根据所述控制指令调用所述加载到内存的控制逻辑插件的原始控制命令帧获取接口,获取所述原始控制命令帧获取接口返回的、与所述控制指令对应的原始控制命令帧,将所述原始控制命令帧发送给所述智能设备;The client obtains the user's control instruction, calls the original control command frame acquisition interface of the control logic plug-in loaded into the memory according to the control instruction, and obtains the original control command frame acquisition interface returned by the control instruction. The corresponding original control command frame, sending the original control command frame to the smart device;

和/或,and / or,

所述客户端接收所述智能设备发送的工作状态指示,根据所述工作状态指示调用所述加载到内存的控制逻辑插件的状态解析接口,获取所述状态解析接口返回的所述工作状态指示的解析信息,根据所述解析信息显示所述智能设备的工作状态;The client receives the working state indication sent by the smart device, calls the state analysis interface of the control logic plug-in loaded into the memory according to the working state indication, and obtains the working state indication returned by the state analysis interface. Analyzing information, displaying the working status of the smart device according to the analyzing information;

和/或,and / or,

所述客户端获取用户的控制指令,根据所述控制指令调用所述加载到内存的控制逻辑插件的命令操作的互斥判断接口,获取所述命令操作的互斥判断接口返回的提示信息,所述提示信息用于提示用户是否能够发送所述控制指令,和/或用于提示用户所述智能设备执行所述控制指令之后的状态变化。The client obtains the user's control instruction, calls the mutual exclusion judgment interface of the command operation of the control logic plug-in loaded into the memory according to the control instruction, and obtains the prompt information returned by the mutual exclusion judgment interface of the command operation, so The prompt information is used to prompt the user whether the control command can be sent, and/or is used to prompt the user of the status change after the smart device executes the control command.

可能的实施方式中,所述控制逻辑插件还包括授权接口,所述授权接口用于获取所述客户端的授权码并返回所述控制逻辑插件对所述授权码的验证结果;In a possible implementation manner, the control logic plug-in further includes an authorization interface, the authorization interface is used to obtain the authorization code of the client and return the verification result of the authorization code by the control logic plug-in;

所述客户端根据所述控制指令调用所述加载到内存的控制逻辑插件的原始控制命令帧获取接口之前,或者,根据所述工作状态指示调用所述加载到内存的控制逻辑插件的状态解析接口之前,或者,根据所述控制指令调用所述加载到内存控制逻辑插件的命令操作的互斥判断接口之前,包括:Before the client calls the original control command frame acquisition interface of the control logic plug-in loaded into the memory according to the control instruction, or calls the state resolution interface of the control logic plug-in loaded into the memory according to the working status indication Before, or before invoking the mutual exclusion judgment interface of the command operation loaded into the memory control logic plug-in according to the control instruction, including:

所述客户端采用预设的授权码调用所述加载到内存的控制逻辑插件的授权接口,获取所述授权接口返回的对所述验证码的验证结果,并确定所述验证结果为所述授权码有效,其中,所述控制逻辑插件中保存对所述授权码的验证结果。The client uses the preset authorization code to call the authorization interface of the control logic plug-in loaded into the memory, obtains the verification result of the verification code returned by the authorization interface, and determines that the verification result is the authorized The authorization code is valid, wherein the verification result of the authorization code is stored in the control logic plug-in.

可能的实施方式中,所述云服务器返回的控制逻辑插件为:In a possible implementation manner, the control logic plug-in returned by the cloud server is:

所述设备型号指示信息对应的所有控制逻辑插件,或者,所述设备型号指示信息对应的有更新的控制逻辑插件。The device model indicates all the control logic plug-ins corresponding to the information, or, the device model indicates that the information corresponds to an updated control logic plug-in.

本发明实施例还提供了一种客户端,包括:The embodiment of the present invention also provides a client, including:

通信模块,用于向云服务器发送所绑定的智能设备的设备型号指示信息,并接收所述云服务器根据所述设备型号指示信息返回的控制逻辑插件,所述控制逻辑插件用于实现对所述智能设备的控制功能;The communication module is configured to send the device model indication information of the bound smart device to the cloud server, and receive the control logic plug-in returned by the cloud server according to the device model indication information, and the control logic plug-in is used to realize the Describe the control functions of smart devices;

处理模块,用于保存接收的所述控制逻辑插件,并选择与对所述智能设备的当前控制操作相关的控制逻辑插件,将选择的控制逻辑插件加载到内存,并运行加载到内存的控制逻辑插件。A processing module, configured to save the received control logic plug-in, select a control logic plug-in related to the current control operation on the smart device, load the selected control logic plug-in into the memory, and run the control logic loaded into the memory plugin.

可能的实施方式中,所述控制逻辑插件包括原始控制命令帧获取接口、状态解析接口和命令操作的互斥判断接口中的一种或多种,其中,所述控制命令帧获取接口用于获取所述客户端的控制指令并返回所述控制指令对应的原始控制命令帧,所述状态解析接口用于获取所述客户端的工作状态指示并返回所述智能设备的工作状态的解析信息,所述命令操作的互斥判断接口用于获取所述客户端的控制指令并返回是否允许发送所述控制指令的相关信息。In a possible implementation, the control logic plug-in includes one or more of an original control command frame acquisition interface, a status analysis interface, and a mutually exclusive judgment interface for command operations, wherein the control command frame acquisition interface is used to acquire The control command of the client and return the original control command frame corresponding to the control command, the state analysis interface is used to obtain the working status indication of the client and return the analysis information of the working status of the smart device, the command The mutually exclusive judging interface of the operation is used to acquire the control command of the client and return information about whether the control command is allowed to be sent.

可能的实施方式中,所述处理模块具体用于:In a possible implementation manner, the processing module is specifically used for:

获取用户的控制指令,根据所述控制指令调用所述加载到内存的控制逻辑插件的原始控制命令帧获取接口,获取所述原始控制命令帧获取接口返回的、与所述控制指令对应的原始控制命令帧,将所述原始控制命令帧发送给所述智能设备;Obtain the user's control instruction, call the original control command frame acquisition interface of the control logic plug-in loaded into the memory according to the control instruction, and acquire the original control command corresponding to the control instruction returned by the original control command frame acquisition interface A command frame, sending the original control command frame to the smart device;

和/或,and / or,

接收所述智能设备发送的工作状态指示,根据所述工作状态指示调用所述加载到内存的控制逻辑插件的状态解析接口,获取所述状态解析接口返回的所述工作状态指示的解析信息,根据所述解析信息显示所述智能设备的工作状态;receiving the working state indication sent by the smart device, calling the state analysis interface of the control logic plug-in loaded into the memory according to the working state indication, obtaining the analysis information of the working state indication returned by the state analysis interface, according to The parsing information displays the working status of the smart device;

和/或,and / or,

获取用户的控制指令,根据所述控制指令调用所述加载到内存的控制逻辑插件的命令操作的互斥判断接口,获取所述命令操作的互斥判断接口返回的提示信息,所述提示信息用于提示用户是否能够发送所述控制指令,和/或用于提示用户所述智能设备执行所述控制指令之后的状态变化。Obtain the user's control instruction, call the mutual exclusion judgment interface of the command operation of the control logic plug-in loaded into the memory according to the control instruction, and obtain the prompt information returned by the mutual exclusion judgment interface of the command operation, and the prompt information is used It is used to prompt the user whether the control instruction can be sent, and/or to remind the user of the status change after the smart device executes the control instruction.

可能的实施方式中,所述控制逻辑插件还包括授权接口,所述授权接口用于获取所述客户端的授权码并返回所述控制逻辑插件对所述授权码的验证结果;In a possible implementation manner, the control logic plug-in further includes an authorization interface, the authorization interface is used to obtain the authorization code of the client and return the verification result of the authorization code by the control logic plug-in;

所述处理模块还用于:The processing module is also used to:

根据所述控制指令调用所述加载到内存的控制逻辑插件的原始控制命令帧获取接口之前,或者,根据所述工作状态指示调用所述加载到内存的控制逻辑插件的状态解析接口之前,或者,根据所述控制指令调用所述加载到内存控制逻辑插件的命令操作的互斥判断接口之前,Before calling the original control command frame acquisition interface of the control logic plug-in loaded into the memory according to the control instruction, or before calling the state analysis interface of the control logic plug-in loaded into the memory according to the working state indication, or, Before invoking the mutual exclusion judgment interface of the command operation loaded into the memory control logic plug-in according to the control instruction,

采用预设的授权码调用所述加载到内存的控制逻辑插件的授权接口,获取所述授权接口返回的对所述验证码的验证结果,并确定所述验证结果为所述授权码有效,其中,所述控制逻辑插件中保存对所述授权码的验证结果。Using the preset authorization code to call the authorization interface of the control logic plug-in loaded into the memory, obtain the verification result of the verification code returned by the authorization interface, and determine that the verification result is that the authorization code is valid, wherein , saving the verification result of the authorization code in the control logic plug-in.

可能的实施方式中,所述云服务器返回的控制逻辑插件为:In a possible implementation manner, the control logic plug-in returned by the cloud server is:

所述设备型号指示信息对应的所有控制逻辑插件,或者,所述设备型号指示信息对应的有更新的控制逻辑插件。The device model indicates all the control logic plug-ins corresponding to the information, or, the device model indicates that the information corresponds to an updated control logic plug-in.

基于上述技术方案,本发明实施例中,将对智能设备的控制功能设计为独立的控制逻辑插件,与客户端分开设计,并将控制逻辑插件保存至云服务器,客户端根据需要从云服务器获取智能设备的控制逻辑插件,并且客户端在运行时可以仅将当前控制操作相关的控制逻辑插件加载到内存运行,从而避免了对客户端整体升级,减少了客户端占用的存储空间,以及减少了客户端运行时占用的内存,降低了客户端的冗余量,提高了客户端的运行效率。Based on the above technical solution, in the embodiment of the present invention, the control function of the smart device is designed as an independent control logic plug-in, designed separately from the client, and the control logic plug-in is saved to the cloud server, and the client obtains it from the cloud server as needed The control logic plug-in of the smart device, and the client can only load the control logic plug-in related to the current control operation into the memory to run, thus avoiding the overall upgrade of the client, reducing the storage space occupied by the client, and reducing the The memory occupied by the client when it is running reduces the redundancy of the client and improves the operating efficiency of the client.

附图说明Description of drawings

图1为本发明实施例中客户端运行管理的方法流程示意图;FIG. 1 is a schematic flow diagram of a method for client operation management in an embodiment of the present invention;

图2为为本发明实施例中客户端结构示意图。FIG. 2 is a schematic diagram of the structure of the client in the embodiment of the present invention.

具体实施方式detailed description

为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明各实施例中,客户端安装在智能终端上,例如,安装在手机或平板电脑上。In each embodiment of the present invention, the client is installed on a smart terminal, for example, a mobile phone or a tablet computer.

本发明实施例中,如图1所示,客户端运行管理的详细方法流程如下:In the embodiment of the present invention, as shown in Figure 1, the detailed method flow of client operation management is as follows:

步骤101:客户端向云服务器发送所绑定的智能设备的设备型号指示信息,并接收云服务器根据该设备型号指示信息返回的控制逻辑插件。Step 101: the client sends the device model indication information of the bound smart device to the cloud server, and receives the control logic plug-in returned by the cloud server according to the device model indication information.

其中,控制逻辑插件用于实现对智能设备的控制功能。Among them, the control logic plug-in is used to realize the control function of the smart device.

其中,控制逻辑插件包括但不限于原始控制命令帧获取接口、状态解析接口和命令操作的互斥判断接口中的一种或多种。Wherein, the control logic plug-in includes, but is not limited to, one or more of the original control command frame acquisition interface, the status analysis interface, and the mutual exclusion judgment interface of command operation.

其中,控制命令帧获取接口用于获取客户端的控制指令并返回该控制指令对应的原始控制命令帧。Wherein, the control command frame acquisition interface is used to acquire the control command of the client and return the original control command frame corresponding to the control command.

其中,状态解析接口用于获取客户端的工作状态指示并返回智能设备的工作状态的解析信息。Wherein, the status analysis interface is used to obtain the working status indication of the client and return the analysis information of the working status of the smart device.

其中,命令操作的互斥判断接口用于获取客户端的控制指令并返回是否允许发送该控制指令的相关信息。Wherein, the mutually exclusive judging interface of the command operation is used to obtain the control command of the client and return relevant information about whether the control command is allowed to be sent.

可选地,控制逻辑插件还包括授权接口。其中,授权接口用于获取客户端的授权码并返回该控制逻辑插件对该授权码的验证结果。Optionally, the control logic plug-in also includes an authorization interface. Wherein, the authorization interface is used to obtain the authorization code of the client and return the verification result of the authorization code by the control logic plug-in.

实施中,云服务器保存有不同设备类型下各个设备型号的智能设备的控制逻辑插件库,控制逻辑插件库中包含多个控制逻辑插件。During implementation, the cloud server stores control logic plug-in libraries of smart devices of various device models under different device types, and the control logic plug-in library includes multiple control logic plug-ins.

具体地,一种设备类型或设备型号对应的控制逻辑插件库中的每个控制逻辑插件采用相同的接口形式,以便于维护。Specifically, each control logic plug-in in the control logic plug-in library corresponding to a device type or device model adopts the same interface form to facilitate maintenance.

具体地,云服务器中还保存有每个控制逻辑插件库对应的配置信息数据库,配置信息数据库可以保存控制逻辑插件库对应的智能设备的配置信息。具体实现中,控制逻辑插件库以及配置信息数据库均以设备型号作为索引。Specifically, the cloud server also stores a configuration information database corresponding to each control logic plug-in library, and the configuration information database can store configuration information of the smart device corresponding to the control logic plug-in library. In a specific implementation, both the control logic plug-in library and the configuration information database use the device model as an index.

其中,控制逻辑插件库对应的配置信息,即该控制逻辑插件库对应的设备型号的智能设备所对应的配置信息,该配置信息主要用户描述该设备型号的智能设备的哪些功能能够通过客户端控制。Among them, the configuration information corresponding to the control logic plug-in library is the configuration information corresponding to the smart device of the device model corresponding to the control logic plug-in library. The configuration information mainly describes which functions of the smart device of the device model can be controlled by the client .

客户端在获取所绑定的智能设备对应的控制逻辑插件并获取该控制逻辑插件对应的配置信息,根据该配置信息的描述配置客户端的显示界面,以使得用户能够根据显示界面的显示获知可以对智能设备的哪些功能进行操作。The client obtains the control logic plug-in corresponding to the bound smart device and obtains the configuration information corresponding to the control logic plug-in, and configures the display interface of the client according to the description of the configuration information, so that the user can know that the device can be controlled according to the display interface. Which functions of the smart device operate.

其中,设备型号指示信息具体可以为设备类型和设备型号。Wherein, the device model indication information may specifically be a device type and a device model.

具体地,客户端程序在打包发布时可以不包含对应的智能设备的控制逻辑插件库。客户端在第一次绑定一种设备型号的智能设备时,向云服务器发送该智能设备的设备型号指示信息,云服务器将该设备型号相关的所有控制逻辑插件发送给该客户端。Specifically, the client program may not contain the corresponding control logic plug-in library of the smart device when it is packaged and released. When the client binds a smart device of a device model for the first time, it sends the device model indication information of the smart device to the cloud server, and the cloud server sends all control logic plug-ins related to the device model to the client.

具体地,客户端所安装的智能终端通过扫描智能设备外壳粘贴的二维码获取该智能设备的设备类型以及设备型号;也可以是,客户端获取用户通过人机交互界面输入的设备类型以及设备型号;也可以是,客户端所安装的智能终端在设备发现阶段,通过网络通信协议获取智能终端的设备类型以及设备型号。Specifically, the smart terminal installed on the client obtains the device type and device model of the smart device by scanning the two-dimensional code pasted on the casing of the smart device; it may also be that the client obtains the device type and device model; or, the smart terminal installed on the client terminal obtains the device type and device model of the smart terminal through a network communication protocol during the device discovery phase.

具体地,客户端在每次启动后向云服务器发送该智能设备的设备型号指示信息;云服务器检测该设备型号对应的控制逻辑插件库是否有更新,若存在更新,则将有更新的控制逻辑插件发送给客户端;客户端接收云服务器返回的有更新的控制逻辑插件并保存至缓存,并根据需要加载到内存。客户端的控制逻辑更新过程可以在程序运行的状态下执行,耗用时间与客户端整体升级的方式相比大大缩短,并且可以降低升级对用户操作造成的影响。Specifically, the client sends the device model indication information of the smart device to the cloud server after each startup; the cloud server detects whether the control logic plug-in library corresponding to the device model has been updated, and if there is an update, there will be an updated control logic The plug-in is sent to the client; the client receives the updated control logic plug-in returned by the cloud server and saves it to the cache, and loads it into the memory as needed. The update process of the client's control logic can be executed while the program is running, which greatly shortens the time-consuming compared with the overall upgrade of the client, and can reduce the impact of the upgrade on user operations.

步骤102:客户端保存接收的控制逻辑插件,并选择与对智能设备的当前控制操作相关的控制逻辑插件,将选择的控制逻辑插件加载到内存,并运行加载到内存的控制逻辑插件。Step 102: the client saves the received control logic plug-ins, selects the control logic plug-ins related to the current control operation on the smart device, loads the selected control logic plug-ins into the memory, and runs the control logic plug-ins loaded into the memory.

其中,选择与当前控制操作相关的控制逻辑插件加载到内存,可以有效减少占用的内存。Among them, selecting a control logic plug-in related to the current control operation and loading it into the memory can effectively reduce the occupied memory.

具体实施中,客户端运行加载到内存的控制逻辑插件的具体过程,可以是以下三种具体过程中的任意一种或多种的组合:In specific implementation, the specific process for the client to run the control logic plug-in loaded into the memory may be any one or a combination of the following three specific processes:

第一,客户端获取用户的控制指令,根据该控制指令调用加载到内存的控制逻辑插件的原始控制命令帧获取接口,获取该原始控制命令帧获取接口返回的、与该控制指令对应的原始控制命令帧,将该原始控制命令帧发送给智能设备。First, the client obtains the user's control command, calls the original control command frame acquisition interface of the control logic plug-in loaded into the memory according to the control command, and obtains the original control command corresponding to the control command returned by the original control command frame acquisition interface. command frame, sending the original control command frame to the smart device.

第二,客户端接收智能设备发送的工作状态指示,根据该工作状态指示调用加载到内存的状态解析接口,获取该状态解析接口返回的工作状态指示的解析信息,根据该解析信息显示该智能设备的工作状态。Second, the client receives the work status indication sent by the smart device, calls the status analysis interface loaded into the memory according to the work status indication, obtains the analysis information of the work status indication returned by the status analysis interface, and displays the smart device according to the analysis information working status.

第三,客户端获取用户的控制指令,根据该控制指令调用加载到内存的控制逻辑插件的命令操作的互斥判断接口,获取该命令操作的互斥判断接口返回的提示信息,该提示信息用于提示用户是否能够发送该控制指令,和/或用于提示用户该智能设备执行该控制指令之后的状态变化。具体地,若命令操作的互斥判断接口返回的提示信息为能够发送该控制指令,则该提示信息还提供用户在发送该控制指令之后的状态变化。Third, the client obtains the user's control instruction, calls the mutual exclusion judgment interface of the command operation of the control logic plug-in loaded into the memory according to the control instruction, and obtains the prompt information returned by the mutual exclusion judgment interface of the command operation. It is used to prompt the user whether the control instruction can be sent, and/or to remind the user of the status change after the smart device executes the control instruction. Specifically, if the prompt information returned by the mutual exclusion judgment interface of the command operation is that the control instruction can be sent, the prompt information also provides the status change of the user after sending the control instruction.

实施中,为了防止控制逻辑插件被恶意调用,客户端采用预设的授权码调用控制逻辑插件的授权接口,由控制逻辑插件验证该授权码后将验证结果通过授权接口返回,客户端获取控制逻辑插件的授权接口返回的对验证码的验证结果。During implementation, in order to prevent the control logic plug-in from being maliciously invoked, the client uses a preset authorization code to call the authorization interface of the control logic plug-in, and the control logic plug-in verifies the authorization code and returns the verification result through the authorization interface, and the client obtains the control logic The verification result of the verification code returned by the authorization interface of the plug-in.

其中,控制逻辑插件内保存对授权码的验证结果。Wherein, the verification result of the authorization code is stored in the control logic plug-in.

具体地,控制逻辑插件在被客户端通过原始控制命令帧获取接口调用时,判断授权码的验证结果是否为有效,若有效,则确定原始控制命令帧获取接口传入的控制指令对应的原始控制命令帧,并将该原始控制命令帧通过原始控制命令帧获取接口返回给客户端。若无效,则通过原始控制命令帧获取接口向客户端返回错误调用的提示信息。Specifically, when the control logic plug-in is called by the client through the original control command frame acquisition interface, it judges whether the verification result of the authorization code is valid, and if it is valid, then determines the original control command frame, and return the original control command frame to the client through the original control command frame acquisition interface. If it is invalid, the prompt information of the wrong call is returned to the client through the original control command frame acquisition interface.

具体地,控制逻辑插件在被客户端通过状态解析接口调用时,判断授权码的验证结果是否为有效,若有效,则确定状态解析接口传入的工作状态指示所对应的解析信息,并将该解析信息通过状态解析接口返回给客户端。若无效,则通过状态解析接口向客户端返回错误调用的提示信息。Specifically, when the control logic plug-in is called by the client through the state analysis interface, it judges whether the verification result of the authorization code is valid, and if it is valid, then determines the analysis information corresponding to the work status indication passed in by the state analysis interface, and sends the The analysis information is returned to the client through the status analysis interface. If it is invalid, a prompt message of the wrong call will be returned to the client through the status analysis interface.

具体地,控制逻辑插件在被客户端通过命令操作的互斥判断接口调用时,判断授权码的验证结果是否为有效,若有效,则确定是否允许发送命令操作的互斥判断接口传入的控制指令,并在确定允许发送该控制指令的情况下进一步模拟智能设备执行该控制指令之后的状态变化情况,通过命令操作的互斥判断接口向客户端返回该控制指令相关的提示信息,该提示信息用于提示用户是否能够发送该控制指令,并且在允许发送该控制指令的情况下提示用户智能设备执行该控制指令之后的状态变化。若无效,则通过命令操作的互斥判断接口向客户端返回错误调用的提示信息。Specifically, when the control logic plug-in is called by the client through the mutual exclusion judgment interface of the command operation, it judges whether the verification result of the authorization code is valid, and if it is valid, determines whether to allow the incoming control of the mutual exclusion judgment interface of the command operation to be sent. command, and further simulate the status change of the smart device after executing the control command when it is determined that the control command is allowed to be sent, and return the prompt information related to the control command to the client through the mutually exclusive judgment interface of the command operation, the prompt information It is used to prompt the user whether the control instruction can be sent, and if the control instruction is allowed to be sent, the user is prompted for the state change after the smart device executes the control instruction. If it is invalid, the prompt information of the wrong call will be returned to the client through the mutual exclusion judgment interface of the command operation.

基于同一发明构思,本发明实施例中还提供了一种客户端,该客户端的具体实施可参见上述方法实施例部分关于客户端的描述,重复之处不再赘述,该客户端为安装在智能终端上的应用软件,如图2所示,该客户端主要包括:Based on the same inventive concept, the embodiment of the present invention also provides a client. For the specific implementation of the client, please refer to the description of the client in the above-mentioned method embodiment. The application software on the client, as shown in Figure 2, the client mainly includes:

通信模块201,用于向云服务器发送所绑定的智能设备的设备型号指示信息,并接收所述云服务器根据所述设备型号指示信息返回的控制逻辑插件,所述控制逻辑插件用于实现对所述智能设备的控制功能;The communication module 201 is configured to send the device model indication information of the bound smart device to the cloud server, and receive the control logic plug-in returned by the cloud server according to the device model indication information, and the control logic plug-in is used to realize the the control function of the smart device;

处理模块202,用于保存接收的所述控制逻辑插件,并选择与对所述智能设备的当前控制操作相关的控制逻辑插件,将选择的控制逻辑插件加载到内存,并运行加载到内存的控制逻辑插件。The processing module 202 is configured to save the received control logic plug-in, select a control logic plug-in related to the current control operation of the smart device, load the selected control logic plug-in into the memory, and run the control logic plug-in loaded into the memory. Logic plugin.

实施中,所述控制逻辑插件包括原始控制命令帧获取接口、状态解析接口和命令操作的互斥判断接口中的一种或多种,其中,所述控制命令帧获取接口用于获取所述客户端的控制指令并返回所述控制指令对应的原始控制命令帧,所述状态解析接口用于获取所述客户端的工作状态指示并返回所述智能设备的工作状态的解析信息,所述命令操作的互斥判断接口用于获取所述客户端的控制指令并返回是否允许发送所述控制指令的相关信息。In implementation, the control logic plug-in includes one or more of an original control command frame acquisition interface, a status analysis interface, and a mutually exclusive judgment interface for command operations, wherein the control command frame acquisition interface is used to acquire the client terminal control command and return the original control command frame corresponding to the control command, the status analysis interface is used to obtain the working status indication of the client and return the analysis information of the working status of the smart device, the interaction of the command operation The exclusion judgment interface is used to obtain the control command of the client and return information about whether the control command is allowed to be sent.

实施中,所述处理模块具体用于:In implementation, the processing module is specifically used for:

获取用户的控制指令,根据所述控制指令调用所述加载到内存的控制逻辑插件的原始控制命令帧获取接口,获取所述原始控制命令帧获取接口返回的、与所述控制指令对应的原始控制命令帧,将所述原始控制命令帧发送给所述智能设备;Obtain the user's control instruction, call the original control command frame acquisition interface of the control logic plug-in loaded into the memory according to the control instruction, and acquire the original control command corresponding to the control instruction returned by the original control command frame acquisition interface A command frame, sending the original control command frame to the smart device;

和/或,and / or,

接收所述智能设备发送的工作状态指示,根据所述工作状态指示调用所述加载到内存的控制逻辑插件的状态解析接口,获取所述状态解析接口返回的所述工作状态指示的解析信息,根据所述解析信息显示所述智能设备的工作状态;receiving the working state indication sent by the smart device, calling the state analysis interface of the control logic plug-in loaded into the memory according to the working state indication, obtaining the analysis information of the working state indication returned by the state analysis interface, according to The parsing information displays the working status of the smart device;

和/或,and / or,

获取用户的控制指令,根据所述控制指令调用所述加载到内存的控制逻辑插件的命令操作的互斥判断接口,获取所述命令操作的互斥判断接口返回的提示信息,所述提示信息用于提示用户是否能够发送所述控制指令,和/或用于提示用户所述智能设备执行所述控制指令之后的状态变化。Obtain the user's control instruction, call the mutual exclusion judgment interface of the command operation of the control logic plug-in loaded into the memory according to the control instruction, and obtain the prompt information returned by the mutual exclusion judgment interface of the command operation, and the prompt information is used It is used to prompt the user whether the control instruction can be sent, and/or to remind the user of the status change after the smart device executes the control instruction.

实施中,所述控制逻辑插件还包括授权接口,所述授权接口用于获取所述客户端的授权码并返回所述控制逻辑插件对所述授权码的验证结果;In implementation, the control logic plug-in further includes an authorization interface, and the authorization interface is used to obtain the authorization code of the client and return the verification result of the authorization code by the control logic plug-in;

所述处理模块还用于:The processing module is also used to:

根据所述控制指令调用所述加载到内存的控制逻辑插件的原始控制命令帧获取接口之前,或者,根据所述工作状态指示调用所述加载到内存的控制逻辑插件的状态解析接口之前,或者,根据所述控制指令调用所述加载到内存控制逻辑插件的命令操作的互斥判断接口之前,Before calling the original control command frame acquisition interface of the control logic plug-in loaded into the memory according to the control instruction, or before calling the state analysis interface of the control logic plug-in loaded into the memory according to the working state indication, or, Before invoking the mutual exclusion judgment interface of the command operation loaded into the memory control logic plug-in according to the control instruction,

采用预设的授权码调用所述加载到内存的控制逻辑插件的授权接口,获取所述授权接口返回的对所述验证码的验证结果,并确定所述验证结果为所述授权码有效,其中,所述控制逻辑插件中保存对所述授权码的验证结果。Using the preset authorization code to call the authorization interface of the control logic plug-in loaded into the memory, obtain the verification result of the verification code returned by the authorization interface, and determine that the verification result is that the authorization code is valid, wherein , saving the verification result of the authorization code in the control logic plug-in.

实施中,所述云服务器返回的控制逻辑插件为:In implementation, the control logic plug-in returned by the cloud server is:

所述设备型号指示信息对应的所有控制逻辑插件,或者,所述设备型号指示信息对应的有更新的控制逻辑插件。The device model indicates all the control logic plug-ins corresponding to the information, or, the device model indicates that the information corresponds to an updated control logic plug-in.

基于上述技术方案,本发明实施例中,将对智能设备的控制功能设计为独立的控制逻辑插件,与客户端分开设计,并将控制逻辑插件保存至云服务器,客户端根据需要从云服务器获取智能设备的控制逻辑插件,并且客户端在运行时可以仅将当前控制操作相关的控制逻辑插件加载到内存运行,从而避免了对客户端整体升级,减少了客户端占用的存储空间,以及减少了客户端运行时占用的内存,降低了客户端的冗余量,提高了客户端的运行效率。Based on the above technical solution, in the embodiment of the present invention, the control function of the smart device is designed as an independent control logic plug-in, designed separately from the client, and the control logic plug-in is saved to the cloud server, and the client obtains it from the cloud server as needed The control logic plug-in of the smart device, and the client can only load the control logic plug-in related to the current control operation into the memory to run, thus avoiding the overall upgrade of the client, reducing the storage space occupied by the client, and reducing the The memory occupied by the client when it is running reduces the redundancy of the client and improves the operating efficiency of the client.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (10)

Translated fromChinese
1.一种客户端运行管理方法,其特征在于,包括:1. A client operation management method, characterized in that, comprising:客户端向云服务器发送所绑定的智能设备的设备型号指示信息,并接收所述云服务器根据所述设备型号指示信息返回的控制逻辑插件,所述控制逻辑插件用于实现对所述智能设备的控制功能;The client sends the device model indication information of the bound smart device to the cloud server, and receives the control logic plug-in returned by the cloud server according to the device model indication information, and the control logic plug-in is used to control the smart device control function;所述客户端保存接收的所述控制逻辑插件,并选择与对所述智能设备的当前控制操作相关的控制逻辑插件,将选择的控制逻辑插件加载到内存,并运行加载到内存的控制逻辑插件。The client saves the received control logic plug-in, selects a control logic plug-in related to the current control operation of the smart device, loads the selected control logic plug-in into the memory, and runs the control logic plug-in loaded into the memory .2.如权利要求1所述的方法,其特征在于,所述控制逻辑插件包括原始控制命令帧获取接口、状态解析接口和命令操作的互斥判断接口中的一种或多种,其中,所述控制命令帧获取接口用于获取所述客户端的控制指令并返回所述控制指令对应的原始控制命令帧,所述状态解析接口用于获取所述客户端的工作状态指示并返回所述智能设备的工作状态的解析信息,所述命令操作的互斥判断接口用于获取所述客户端的控制指令并返回是否允许发送所述控制指令的相关信息。2. The method according to claim 1, wherein the control logic plug-in includes one or more of an original control command frame acquisition interface, a status analysis interface, and a mutually exclusive judgment interface for command operations, wherein the The control command frame acquisition interface is used to obtain the control command of the client and return the original control command frame corresponding to the control command, and the state analysis interface is used to obtain the working status indication of the client and return the smart device The parsing information of the working state, the mutual exclusion judgment interface of the command operation is used to obtain the control command of the client and return the related information of whether the control command is allowed to be sent.3.如权利要求2所述的方法,其特征在于,所述客户端运行加载到内存的控制逻辑插件,包括:3. The method according to claim 2, wherein the client runs a control logic plug-in loaded into memory, comprising:所述客户端获取用户的控制指令,根据所述控制指令调用所述加载到内存的控制逻辑插件的原始控制命令帧获取接口,获取所述原始控制命令帧获取接口返回的、与所述控制指令对应的原始控制命令帧,将所述原始控制命令帧发送给所述智能设备;The client obtains the user's control instruction, calls the original control command frame acquisition interface of the control logic plug-in loaded into the memory according to the control instruction, and obtains the original control command frame acquisition interface returned by the control instruction. The corresponding original control command frame, sending the original control command frame to the smart device;和/或,and / or,所述客户端接收所述智能设备发送的工作状态指示,根据所述工作状态指示调用所述加载到内存的控制逻辑插件的状态解析接口,获取所述状态解析接口返回的所述工作状态指示的解析信息,根据所述解析信息显示所述智能设备的工作状态;The client receives the working state indication sent by the smart device, calls the state analysis interface of the control logic plug-in loaded into the memory according to the working state indication, and obtains the working state indication returned by the state analysis interface. Analyzing information, displaying the working status of the smart device according to the analyzing information;和/或,and / or,所述客户端获取用户的控制指令,根据所述控制指令调用所述加载到内存的控制逻辑插件的命令操作的互斥判断接口,获取所述命令操作的互斥判断接口返回的提示信息,所述提示信息用于提示用户是否能够发送所述控制指令,和/或用于提示用户所述智能设备执行所述控制指令之后的状态变化。The client obtains the user's control instruction, calls the mutual exclusion judgment interface of the command operation of the control logic plug-in loaded into the memory according to the control instruction, and obtains the prompt information returned by the mutual exclusion judgment interface of the command operation, so The prompt information is used to prompt the user whether the control command can be sent, and/or is used to prompt the user of the status change after the smart device executes the control command.4.如权利要求2所述的方法,其特征在于,所述控制逻辑插件还包括授权接口,所述授权接口用于获取所述客户端的授权码并返回所述控制逻辑插件对所述授权码的验证结果;4. The method according to claim 2, wherein the control logic plug-in further comprises an authorization interface, the authorization interface is used to obtain the authorization code of the client and return the authorization code of the control logic plug-in verification results;所述客户端根据所述控制指令调用所述加载到内存的控制逻辑插件的原始控制命令帧获取接口之前,或者,根据所述工作状态指示调用所述加载到内存的控制逻辑插件的状态解析接口之前,或者,根据所述控制指令调用所述加载到内存控制逻辑插件的命令操作的互斥判断接口之前,包括:Before the client calls the original control command frame acquisition interface of the control logic plug-in loaded into the memory according to the control instruction, or calls the state resolution interface of the control logic plug-in loaded into the memory according to the working status indication Before, or before invoking the mutual exclusion judgment interface of the command operation loaded into the memory control logic plug-in according to the control instruction, including:所述客户端采用预设的授权码调用所述加载到内存的控制逻辑插件的授权接口,获取所述授权接口返回的对所述验证码的验证结果,并确定所述验证结果为所述授权码有效,其中,所述控制逻辑插件中保存对所述授权码的验证结果。The client uses the preset authorization code to call the authorization interface of the control logic plug-in loaded into the memory, obtains the verification result of the verification code returned by the authorization interface, and determines that the verification result is the authorized The authorization code is valid, wherein the verification result of the authorization code is stored in the control logic plug-in.5.如权利要求1-4任一项所述的方法,其特征在于,所述云服务器返回的控制逻辑插件为:5. The method according to any one of claims 1-4, wherein the control logic plug-in returned by the cloud server is:所述设备型号指示信息对应的所有控制逻辑插件,或者,所述设备型号指示信息对应的有更新的控制逻辑插件。The device model indicates all the control logic plug-ins corresponding to the information, or, the device model indicates that the information corresponds to an updated control logic plug-in.6.一种客户端,其特征在于,包括:6. A client, characterized in that, comprising:通信模块,用于向云服务器发送所绑定的智能设备的设备型号指示信息,并接收所述云服务器根据所述设备型号指示信息返回的控制逻辑插件,所述控制逻辑插件用于实现对所述智能设备的控制功能;The communication module is configured to send the device model indication information of the bound smart device to the cloud server, and receive the control logic plug-in returned by the cloud server according to the device model indication information, and the control logic plug-in is used to realize the Describe the control functions of smart devices;处理模块,用于保存接收的所述控制逻辑插件,并选择与对所述智能设备的当前控制操作相关的控制逻辑插件,将选择的控制逻辑插件加载到内存,并运行加载到内存的控制逻辑插件。A processing module, configured to save the received control logic plug-in, select a control logic plug-in related to the current control operation on the smart device, load the selected control logic plug-in into the memory, and run the control logic loaded into the memory plugin.7.如权利要求6所述的客户端,其特征在于,所述控制逻辑插件包括原始控制命令帧获取接口、状态解析接口和命令操作的互斥判断接口中的一种或多种,其中,所述控制命令帧获取接口用于获取所述客户端的控制指令并返回所述控制指令对应的原始控制命令帧,所述状态解析接口用于获取所述客户端的工作状态指示并返回所述智能设备的工作状态的解析信息,所述命令操作的互斥判断接口用于获取所述客户端的控制指令并返回是否允许发送所述控制指令的相关信息。7. The client according to claim 6, wherein the control logic plug-in includes one or more of an original control command frame acquisition interface, a status analysis interface, and a mutually exclusive judgment interface for command operations, wherein, The control command frame acquisition interface is used to obtain the control command of the client and return the original control command frame corresponding to the control command, and the state analysis interface is used to obtain the working status indication of the client and return it to the smart device The analysis information of the working status of the command operation, the mutual exclusion judgment interface of the command operation is used to obtain the control command of the client and return the relevant information of whether the control command is allowed to be sent.8.如权利要求7所述的客户端,其特征在于,所述处理模块具体用于:8. The client according to claim 7, wherein the processing module is specifically used for:获取用户的控制指令,根据所述控制指令调用所述加载到内存的控制逻辑插件的原始控制命令帧获取接口,获取所述原始控制命令帧获取接口返回的、与所述控制指令对应的原始控制命令帧,将所述原始控制命令帧发送给所述智能设备;Obtain the user's control instruction, call the original control command frame acquisition interface of the control logic plug-in loaded into the memory according to the control instruction, and acquire the original control command corresponding to the control instruction returned by the original control command frame acquisition interface A command frame, sending the original control command frame to the smart device;和/或,and / or,接收所述智能设备发送的工作状态指示,根据所述工作状态指示调用所述加载到内存的控制逻辑插件的状态解析接口,获取所述状态解析接口返回的所述工作状态指示的解析信息,根据所述解析信息显示所述智能设备的工作状态;receiving the working state indication sent by the smart device, calling the state analysis interface of the control logic plug-in loaded into the memory according to the working state indication, obtaining the analysis information of the working state indication returned by the state analysis interface, according to The parsing information displays the working status of the smart device;和/或,and / or,获取用户的控制指令,根据所述控制指令调用所述加载到内存的控制逻辑插件的命令操作的互斥判断接口,获取所述命令操作的互斥判断接口返回的提示信息,所述提示信息用于提示用户是否能够发送所述控制指令,和/或用于提示用户所述智能设备执行所述控制指令之后的状态变化。Obtain the user's control instruction, call the mutual exclusion judgment interface of the command operation of the control logic plug-in loaded into the memory according to the control instruction, and obtain the prompt information returned by the mutual exclusion judgment interface of the command operation, and the prompt information is used It is used to prompt the user whether the control instruction can be sent, and/or to remind the user of the status change after the smart device executes the control instruction.9.如权利要求7所述的客户端,其特征在于,所述控制逻辑插件还包括授权接口,所述授权接口用于获取所述客户端的授权码并返回所述控制逻辑插件对所述授权码的验证结果;9. The client according to claim 7, wherein the control logic plug-in further comprises an authorization interface, and the authorization interface is used to obtain the authorization code of the client and return the authorization code of the control logic plug-in to the authorization code. Code verification result;所述处理模块还用于:The processing module is also used to:根据所述控制指令调用所述加载到内存的控制逻辑插件的原始控制命令帧获取接口之前,或者,根据所述工作状态指示调用所述加载到内存的控制逻辑插件的状态解析接口之前,或者,根据所述控制指令调用所述加载到内存控制逻辑插件的命令操作的互斥判断接口之前,Before calling the original control command frame acquisition interface of the control logic plug-in loaded into the memory according to the control instruction, or before calling the state analysis interface of the control logic plug-in loaded into the memory according to the working state indication, or, Before invoking the mutual exclusion judgment interface of the command operation loaded into the memory control logic plug-in according to the control instruction,采用预设的授权码调用所述加载到内存的控制逻辑插件的授权接口,获取所述授权接口返回的对所述验证码的验证结果,并确定所述验证结果为所述授权码有效,其中,所述控制逻辑插件中保存对所述授权码的验证结果。Using the preset authorization code to call the authorization interface of the control logic plug-in loaded into the memory, obtain the verification result of the verification code returned by the authorization interface, and determine that the verification result is that the authorization code is valid, wherein , saving the verification result of the authorization code in the control logic plug-in.10.如权利要求6-9任一项所述的客户端,其特征在于,所述云服务器返回的控制逻辑插件为:10. The client according to any one of claims 6-9, wherein the control logic plug-in returned by the cloud server is:所述设备型号指示信息对应的所有控制逻辑插件,或者,所述设备型号指示信息对应的有更新的控制逻辑插件。The device model indicates all the control logic plug-ins corresponding to the information, or, the device model indicates that the information corresponds to an updated control logic plug-in.
CN201510812221.3A2015-11-202015-11-20 A client operation management method and clientActiveCN105511273B (en)

Priority Applications (3)

Application NumberPriority DateFiling DateTitle
CN201510812221.3ACN105511273B (en)2015-11-202015-11-20 A client operation management method and client
CN201810394921.9ACN108710304B (en)2015-11-202015-11-20Client operation management method and client
CN201810394915.3ACN108646577B (en)2015-11-202015-11-20Client operation management method and client

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510812221.3ACN105511273B (en)2015-11-202015-11-20 A client operation management method and client

Related Child Applications (2)

Application NumberTitlePriority DateFiling Date
CN201810394921.9ADivisionCN108710304B (en)2015-11-202015-11-20Client operation management method and client
CN201810394915.3ADivisionCN108646577B (en)2015-11-202015-11-20Client operation management method and client

Publications (2)

Publication NumberPublication Date
CN105511273Atrue CN105511273A (en)2016-04-20
CN105511273B CN105511273B (en)2018-06-12

Family

ID=55719343

Family Applications (3)

Application NumberTitlePriority DateFiling Date
CN201810394921.9AActiveCN108710304B (en)2015-11-202015-11-20Client operation management method and client
CN201510812221.3AActiveCN105511273B (en)2015-11-202015-11-20 A client operation management method and client
CN201810394915.3AActiveCN108646577B (en)2015-11-202015-11-20Client operation management method and client

Family Applications Before (1)

Application NumberTitlePriority DateFiling Date
CN201810394921.9AActiveCN108710304B (en)2015-11-202015-11-20Client operation management method and client

Family Applications After (1)

Application NumberTitlePriority DateFiling Date
CN201810394915.3AActiveCN108646577B (en)2015-11-202015-11-20Client operation management method and client

Country Status (1)

CountryLink
CN (3)CN108710304B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108134701A (en)*2017-12-222018-06-08上海携程商务有限公司Client runs the management method and system of benchmark
CN110336720A (en)*2019-06-292019-10-15华为技术有限公司 Device control method and device
CN111858109A (en)*2020-07-222020-10-30中国第一汽车股份有限公司Mutually exclusive logic verification method, device, equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108710304B (en)*2015-11-202021-07-06海信视像科技股份有限公司Client operation management method and client
CN114697150B (en)*2022-02-252024-03-22青岛海尔科技有限公司Command issuing method and device, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20070288662A1 (en)*2006-06-122007-12-13Telepaq Technology Inc.Distributed push-pull information service system
CN102868729A (en)*2012-08-242013-01-09中兴通讯股份有限公司Method, client and cloud server for realizing software service based on cloud service
CN103186861A (en)*2011-12-302013-07-03上海博泰悦臻电子设备制造有限公司Electronic payment method based on cloud data processing technology
CN103763392A (en)*2014-01-292014-04-30百度在线网络技术(北京)有限公司Control method, device and system for equipment
CN104320480A (en)*2014-11-032015-01-28中国联合网络通信集团有限公司Control method for intelligent home equipment and cloud server
CN104572885A (en)*2014-12-222015-04-29广东美的制冷设备有限公司Method and system for collecting and analyzing preference data of user function

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050021839A1 (en)*2003-06-232005-01-27Russell Thomas C.Method and apparatus for providing a selectively isolated equipment area network for machine elements with data communication therebetween and with remote sites
CN101610226A (en)*2009-07-172009-12-23阿里巴巴集团控股有限公司A kind of method and system of plug-in download
US20120240048A1 (en)*2011-03-182012-09-20Microsoft CorporationImaging extensibility for device management platforms
US9069637B2 (en)*2011-07-252015-06-30Intel CorporationDynamic feature enhancement in client server applications and high volume server deployment with dynamic app store integration
US9015326B2 (en)*2011-09-142015-04-21General Electric CompanyMethod and system for managing power consumption of a meter during communication activities
US20150264144A1 (en)*2014-03-112015-09-17Datasphere Technologies, Inc.Hyper-local targeting based on user location
CN105005199A (en)*2015-05-282015-10-28北京海尔广科数字技术有限公司Method and apparatus for controlling equipment through gateway
CN104954462A (en)*2015-06-122015-09-30福建新大陆通信科技股份有限公司High-concurrency extensible smart home communication method and high-concurrency extensible smart home communication system
CN108710304B (en)*2015-11-202021-07-06海信视像科技股份有限公司Client operation management method and client
CN106161100B (en)*2016-08-032019-09-27青岛海信电器股份有限公司A kind of internet of things equipment configuration method and internet-of-things terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20070288662A1 (en)*2006-06-122007-12-13Telepaq Technology Inc.Distributed push-pull information service system
CN103186861A (en)*2011-12-302013-07-03上海博泰悦臻电子设备制造有限公司Electronic payment method based on cloud data processing technology
CN102868729A (en)*2012-08-242013-01-09中兴通讯股份有限公司Method, client and cloud server for realizing software service based on cloud service
CN103763392A (en)*2014-01-292014-04-30百度在线网络技术(北京)有限公司Control method, device and system for equipment
CN104320480A (en)*2014-11-032015-01-28中国联合网络通信集团有限公司Control method for intelligent home equipment and cloud server
CN104572885A (en)*2014-12-222015-04-29广东美的制冷设备有限公司Method and system for collecting and analyzing preference data of user function

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108134701A (en)*2017-12-222018-06-08上海携程商务有限公司Client runs the management method and system of benchmark
CN110336720A (en)*2019-06-292019-10-15华为技术有限公司 Device control method and device
CN110336720B (en)*2019-06-292021-08-20华为技术有限公司 Device control method and device
US12058145B2 (en)2019-06-292024-08-06Huawei Technologies Co., Ltd.Device control method and device
CN111858109A (en)*2020-07-222020-10-30中国第一汽车股份有限公司Mutually exclusive logic verification method, device, equipment and storage medium

Also Published As

Publication numberPublication date
CN108646577B (en)2021-06-01
CN105511273B (en)2018-06-12
CN108710304B (en)2021-07-06
CN108646577A (en)2018-10-12
CN108710304A (en)2018-10-26

Similar Documents

PublicationPublication DateTitle
US11853820B2 (en)Cross-process communication method, apparatus, and device
CN108376079B (en)Automatic application updates
CN105511273B (en) A client operation management method and client
CN111800462A (en)Micro-service instance processing method and device, computer equipment and storage medium
CN105677404A (en)Zookeeper-based configuration updating method and device
CN105930020A (en)Method and apparatus for function icons of management terminal application program
WO2019228344A1 (en)Resource configuration method and apparatus, and terminal and storage medium
JP2017517172A (en) Information recalling method and apparatus, and electronic terminal
CN103294428A (en)Information display method and electronic equipment
CN106843537A (en)The synchronous methods, devices and systems of mouse
CN106851779A (en)A kind of method and mobile terminal for recognizing access point and focus
CN109522131A (en)Resource allocation method, device and equipment
CN111176715A (en)Information calling method and server
CN110780871A (en) A negative-screen loading method, device, terminal and computer-readable storage medium
CN109086077A (en)A kind of operation method and device of application program
US20150293679A1 (en)Method and Device for Controlling Switching of Virtual Navigation Bar
CN107092507A (en)Skin change method, the apparatus and system of application program
WO2016115753A1 (en)Multi-system operation method, device, and terminal
JP6751778B2 (en) Methods, electronic devices and storage media for realizing communication between business systems and multi-assembly
CN115905742A (en) A data display method, device, equipment and storage medium
CN109800229B (en)Data access method and related equipment
CN110704157B (en)Application starting method, related device and medium
CN113721936B (en)Application management method, intelligent terminal, device and storage medium
CN114840194B (en) Code and operating system generation method and device, server and electronic equipment
CN113950043B (en)Communication method, device, storage medium and terminal

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CP01Change in the name or title of a patent holder
CP01Change in the name or title of a patent holder

Address after:266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee after:Hisense Visual Technology Co., Ltd.

Address before:266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee before:QINGDAO HISENSE ELECTRONICS Co.,Ltd.


[8]ページ先頭

©2009-2025 Movatter.jp