CN108646577A - A kind of client operation management method and client - Google Patents

A kind of client operation management method and client Download PDF

Info

Publication number
CN108646577A
CN108646577A CN201810394915.3A CN201810394915A CN108646577A CN 108646577 A CN108646577 A CN 108646577A CN 201810394915 A CN201810394915 A CN 201810394915A CN 108646577 A CN108646577 A CN 108646577A
Authority
CN
China
Prior art keywords
unit
control
control logic
interface
client
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
CN201810394915.3A
Other languages
Chinese (zh)
Other versions
CN108646577B (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.)
Qingdao Hisense Electronics 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 Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201510812221.3A priority Critical patent/CN105511273B/en
Priority to CN201810394915.3A priority patent/CN108646577B/en
Publication of CN108646577A publication Critical patent/CN108646577A/en
Application granted granted Critical
Publication of CN108646577B publication Critical patent/CN108646577B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a kind of client operation management method and clients, to solve when needing the control logic to client to be adjusted, the problem of memory that the memory space that client caused by integrally upgrading to client occupies occupies when increasing, running increases and redundancy increases and operational efficiency declines.Method is:The unit type that client sends bound smart machine to Cloud Server indicates information, and the control logic plug-in unit that the Cloud Server indicates information return according to the unit type is received, the control logic plug-in unit is for realizing the control function to the smart machine;The client preserves the control logic plug-in unit received, and selects to operate relevant control logic plug-in unit with to the current control of the smart machine, the control logic plug-in unit of selection is loaded into memory, and run the control logic plug-in unit for being loaded into memory.

Description

A kind of client operation management method and client
The application is entitled " a kind of client operation management method and the client proposed on November 20th, 2015 The divisional application of the Chinese invention patent application 201510812221.3 at end ".
Technical field
The present invention relates to field of communication technology more particularly to a kind of client operation management method and clients.
Background technology
Currently, in intelligent domestic system, user can be by being mounted on the intelligence such as mobile phone, tablet computer, laptop Client in terminal controls intelligent appliance equipment.In the client for controlling intelligent appliance equipment, set for realizing intelligent appliance Standby control logic is solidificated in client application.
If necessary to increase the new control logic of intelligent appliance equipment in the client, then need integrally to repair client Change, new control logic is added to the client, alternatively, needing to carry out whole upgrading to client to patrol new control It collects and is upgraded to the client.
With smart machine(Including intelligent appliance equipment)Type and model increase, need constantly to increase in client Adding new control logic, this constantly increases the memory occupied when the memory space that client occupies being caused to increase, run, and In many cases, the increased control logic of upgrading institute is useless to user, and the updating operation of redundancy leads to the operation of client Efficiency declines, and reduces user experience.
In consideration of it, needing to seek a kind of new client-side management method, to solve needing the control logic to client When being adjusted, client is integrally upgraded, the memory that the memory space that caused client occupies occupies when increasing, running The problem of increase and redundancy increase and operational efficiency declines.
Invention content
A kind of client operation management method of offer of the embodiment of the present invention and client, to solve needing to client Control logic when being adjusted, client is integrally upgraded caused by the memory space that occupies of client increase, operation when The problem of memory of occupancy increases and redundancy increases and operational efficiency declines.
Specific technical solution provided in an embodiment of the present invention is as follows:
An embodiment of the present invention provides a kind of client operation management methods, including:
The unit type that client sends bound smart machine to Cloud Server indicates information, and receives the Cloud Server The control logic plug-in unit that information returns is indicated according to the unit type, and the control logic plug-in unit is for realizing to the intelligence The control function of equipment;
The client preserves the control logic plug-in unit received, and selects to operate with to the current control of the smart machine The control logic plug-in unit of selection is loaded into memory, and runs the control logic for being loaded into memory by relevant control logic plug-in unit Plug-in unit.
In possible embodiment, the control logic plug-in unit includes that original control command frame obtains interface, state parsing The mutual exclusion of interface and command operation judges one or more in interface, wherein the control command frame obtains interface for obtaining It takes the control instruction of the client and returns to the corresponding original control command frame of the control instruction, the state parses interface Working status indication for obtaining the client and return the smart machine working condition parsing information, the life The mutual exclusion of operation is enabled to judge control instruction of the interface for obtaining the client and return whether allow to send described control and refer to The relevant information of order.
In possible embodiment, the client operation is loaded into the control logic plug-in unit of memory, including:
The client obtains the control instruction of user, according to the control logic for being loaded into memory described in control instruction calling The original control command frame of plug-in unit obtains interface, obtains the original control command frame and obtains interface the returns and control Corresponding original control command frame is instructed, the original control command frame is sent to the smart machine;
And/or
The client receives the working status indication that the smart machine is sent, according to working status indication calling It is loaded into the state parsing interface of the control logic plug-in unit of memory, obtains the working condition that the state parsing interface returns The parsing information of instruction, according to the working condition of smart machine described in the parsing presentation of information;
And/or
The client obtains the control instruction of user, according to the control logic for being loaded into memory described in control instruction calling The mutual exclusion of the command operation of plug-in unit judges interface, and the mutual exclusion for obtaining the command operation judges the prompt message that interface returns, institute It states prompt message to be used to prompt the user whether that the control instruction can be sent, and/or for prompting smart machine described in user Execute the state change after the control instruction.
In possible embodiment, the control logic plug-in unit further includes authorizing interface, and the mandate interface is for obtaining The authorization code of the client simultaneously returns to verification result of the control logic plug-in unit to the authorization code;
The client according to the control instruction call described in be loaded into memory control logic plug-in unit original control command Before frame obtains interface, alternatively, according to the shape for the control logic plug-in unit for being loaded into memory described in working status indication calling Before state parses interface, alternatively, according to the command operation for being loaded into memory control logic plug-in unit described in control instruction calling Mutual exclusion judge interface before, including:
The client is obtained using the mandate interface for the control logic plug-in unit for being loaded into memory described in preset authorization code calling The verification result to the identifying code for authorizing interface to return, and determine that the verification result is that the authorization code is effective, Wherein, the verification result to the authorization code is preserved in the control logic plug-in unit.
In possible embodiment, the control logic plug-in unit that the Cloud Server returns is:
The unit type indicates the corresponding all control logic plug-in units of information, alternatively, unit type instruction information corresponds to Have newer control logic plug-in unit.
The embodiment of the present invention additionally provides a kind of client, including:
Communication module, the unit type for sending bound smart machine to Cloud Server indicate information, and described in reception Cloud Server indicates the control logic plug-in unit that information returns according to the unit type, and the control logic plug-in unit is for realizing right The control function of the smart machine;
Processing module for preserving the control logic plug-in unit received, and selects and the current control to the smart machine Relevant control logic plug-in unit is operated, the control logic plug-in unit of selection is loaded into memory, and run the control for being loaded into memory Logica board.
In possible embodiment, the control logic plug-in unit includes that original control command frame obtains interface, state parsing The mutual exclusion of interface and command operation judges one or more in interface, wherein the control command frame obtains interface for obtaining It takes the control instruction of the client and returns to the corresponding original control command frame of the control instruction, the state parses interface Working status indication for obtaining the client and return the smart machine working condition parsing information, the life The mutual exclusion of operation is enabled to judge control instruction of the interface for obtaining the client and return whether allow to send described control and refer to The relevant information of order.
In possible embodiment, the processing module is specifically used for:
The control instruction for obtaining user, according to the original of the control logic plug-in unit for being loaded into memory described in control instruction calling Control command frame obtains interface, obtains that the original control command frame acquisition interface returns, corresponding with the control instruction The original control command frame is sent to the smart machine by original control command frame;
And/or
The working status indication that the smart machine is sent is received, memory is loaded into according to described in working status indication calling The state of control logic plug-in unit parse interface, obtain the parsing for the working status indication that state parsing interface returns Information, according to the working condition of smart machine described in the parsing presentation of information;
And/or
The control instruction for obtaining user, according to the order for the control logic plug-in unit for being loaded into memory described in control instruction calling The mutual exclusion of operation judges interface, and the mutual exclusion for obtaining the command operation judges the prompt message that interface returns, the prompt message For prompting the user whether can to send the control instruction, and/or for prompting smart machine described in user to execute the control State change after system instruction.
In possible embodiment, the control logic plug-in unit further includes authorizing interface, and the mandate interface is for obtaining The authorization code of the client simultaneously returns to verification result of the control logic plug-in unit to the authorization code;
The processing module is additionally operable to:
Interface is obtained according to the original control command frame for the control logic plug-in unit for being loaded into memory described in control instruction calling Before, alternatively, parsing interface according to the state for the control logic plug-in unit for being loaded into memory described in working status indication calling Before, alternatively, being judged according to the mutual exclusion for the command operation for being loaded into memory control logic plug-in unit described in control instruction calling Before interface,
Using the mandate interface for the control logic plug-in unit for being loaded into memory described in preset authorization code calling, obtains the mandate and connect The verification result to the identifying code that mouth returns, and determine that the verification result is that the authorization code is effective, wherein the control The verification result to the authorization code is preserved in logica board processed.
In possible embodiment, the control logic plug-in unit that the Cloud Server returns is:
The unit type indicates the corresponding all control logic plug-in units of information, alternatively, unit type instruction information corresponds to Have newer control logic plug-in unit.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, control will be independent to the design of the control function of smart machine Logica board processed is separately designed with client, and control logic plug-in unit is preserved to Cloud Server, and client is as needed from cloud Server obtain smart machine control logic plug-in unit, and client only will can currently control at runtime operation it is relevant Control logic plug-in unit is loaded into memory operation, integrally upgrades so as to avoid to client, reduces the storage of client occupancy Space, and reduce the memory occupied when client operation, the amount of redundancy of client is reduced, the operation of client is improved Efficiency.
Description of the drawings
Fig. 1 is the method flow schematic diagram of client operational management in the embodiment of the present invention;
Fig. 2 is client terminal structure schematic diagram in the embodiment of the present invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
In various embodiments of the present invention, client is mounted on intelligent terminal, for example, on mobile phone or tablet computer.
In the embodiment of the present invention, as shown in Figure 1, the method detailed flow of client operational management is as follows:
Step 101:The unit type that client sends bound smart machine to Cloud Server indicates information, and receives cloud clothes Business device indicates the control logic plug-in unit that information returns according to the unit type.
Wherein, control logic plug-in unit is for realizing the control function to smart machine.
Wherein, control logic plug-in unit includes but not limited to that original control command frame obtains interface, state parsing interface and life The mutual exclusion of operation is enabled to judge one or more in interface.
Wherein, control command frame obtains that interface is used to obtain the control instruction of client and to return to the control instruction corresponding Original control command frame.
Wherein, state parsing interface is used to obtain the working status indication of client and returns to the working condition of smart machine Parsing information.
Wherein, the mutual exclusion of command operation judges whether control instruction and return of the interface for obtaining client allow to send The relevant information of the control instruction.
Optionally, control logic plug-in unit further includes authorizing interface.Wherein, interface is authorized to be used to obtain the authorization code of client And return to verification result of the control logic plug-in unit to the authorization code.
In implementation, the control logic that Cloud Server preserves the smart machine of each unit type under distinct device type is inserted Part library includes multiple control logic plug-in units in control logic plugin library.
Specifically, each control logic plug-in unit in a kind of device type or the corresponding control logic plugin library of unit type Using identical interface form, in order to safeguard.
Specifically, the corresponding configuration information database of each control logic plugin library is also preserved in Cloud Server, is configured Information database can preserve the configuration information of the corresponding smart machine of control logic plugin library.In the specific implementation, control logic Plugin library and configuration information database are using unit type as index.
Wherein, the corresponding configuration information of control logic plugin library, the i.e. corresponding unit type of control logic plugin library Configuration information corresponding to smart machine, the configuration information main users describe which function of the smart machine of the unit type It can be controlled by client.
Client is obtaining the bound corresponding control logic plug-in unit of smart machine and is obtaining the control logic plug-in unit pair The configuration information answered is enabled a user to according to the display interface of the description configuration client of the configuration information according to display The display at interface, which is known, to operate which function of smart machine.
Wherein, unit type instruction information is specifically as follows device type and unit type.
Specifically, client-side program can not include the control logic plug-in unit of corresponding smart machine in packing and issuing Library.Client is in the smart machine for binding a kind of unit type for the first time, equipment from the smart machine to Cloud Server that send Model indicates that the relevant all control logic plug-in units of the unit type are sent to the client by information, Cloud Server.
Specifically, the intelligent terminal that client is installed obtains the intelligence by scanning the Quick Response Code that smart machine shell is pasted The device type and unit type of energy equipment;Can also be that client obtains user and set by what human-computer interaction interface inputted Standby type and unit type;Can also be that the intelligent terminal that client is installed passes through network communication in equipment discovery phase Agreement obtains the device type and unit type of intelligent terminal.
Specifically, client sends the unit type instruction information of the smart machine after each start to Cloud Server; Cloud Server detects whether the corresponding control logic plugin library of the unit type has update, if there is update, will have newer Control logic plug-in unit is sent to client;Client receives having newer control logic plug-in unit and preserving extremely for Cloud Server return Caching, and it is loaded into memory as needed.The control logic renewal process of client can execute in the state that program is run, Elapsed time greatly shortens compared with the mode that client integrally upgrades, and can reduce upgrading shadow caused by user's operation It rings.
Step 102:Client preserves the control logic plug-in unit received, and selects to operate with to the current control of smart machine The control logic plug-in unit of selection is loaded into memory, and runs the control logic for being loaded into memory by relevant control logic plug-in unit Plug-in unit.
Wherein, selection operates relevant control logic plug-in unit with current control and is loaded into memory, can effectively reduce occupancy Memory.
In specific implementation, client operation is loaded into the detailed process of the control logic plug-in unit of memory, can be following three The combination of any one or more in kind detailed process:
First, client obtains the control instruction of user, and the control logic plug-in unit for being loaded into memory is called according to the control instruction Original control command frame obtain interface, obtain the original control command frame obtain it is that interface returns, corresponding with the control instruction Original control command frame, which is sent to smart machine.
Second, client receives the working status indication that smart machine is sent, and is called and is loaded according to the working status indication State to memory parses interface, the parsing information for the working status indication that state parsing interface returns is obtained, according to the solution Analyse the working condition of the presentation of information smart machine.
Third, client obtain the control instruction of user, and the control logic for being loaded into memory is called according to the control instruction The mutual exclusion of the command operation of plug-in unit judges interface, and the mutual exclusion for obtaining the command operation judges the prompt message that interface returns, this is carried Show that information is used to prompt the user whether that the control instruction can be sent, and/or for prompting user's smart machine to execute the control State change after system instruction.Specifically, if the mutual exclusion of command operation judges the prompt message that interface returns for that can send The control instruction, then the prompt message state change of the user after sending the control instruction is also provided.
In implementation, control logic plug-in unit is maliciously called in order to prevent, and client calls control using preset authorization code The mandate interface of logica board, is verified to pass through verification result after the authorization code by control logic plug-in unit interface is authorized to return, visitor Family end obtains the verification result to identifying code for authorizing interface to return of control logic plug-in unit.
Wherein, the verification result to authorization code is preserved in control logic plug-in unit.
Specifically, control logic plug-in unit judges to award when obtaining interface calling by original control command frame by client Whether the verification result of weighted code is effective, if effectively, it is determined that original control command frame obtains the incoming control instruction pair of interface The original control command frame answered, and the original control command frame is obtained into interface by original control command frame and returns to client End.If invalid, prompt message of the interface to client return error calls is obtained by original control command frame.
Specifically, control logic plug-in unit judges the verification of authorization code when parsing interface calling by state by client As a result whether it is effective, if effectively, it is determined that state parses the parsing information corresponding to the incoming working status indication of interface, and The parsing information is parsed into interface by state and returns to client.If invalid, interface is parsed by state and is returned to client Return the prompt message of error calls.
Specifically, control logic plug-in unit judges to award when judging that interface calls by the mutual exclusion of command operation by client Whether the verification result of weighted code is effective, if effectively, it is determined whether the mutual exclusion for sending command operation is allowed to judge that interface is incoming Control instruction, and determine allow to send the control instruction in the case of further stimulating intelligent equipment execute the control instruction State change situation later judges that interface returns to the relevant prompt of the control instruction to client by the mutual exclusion of command operation Information, the prompt message are allowing to send the control instruction for prompting the user whether that the control instruction can be sent In the case of prompt user's smart machine execute the state change after the control instruction.If invalid, pass through the mutual of command operation Reprimand judges that interface returns to the prompt message of error calls to client.
Based on same inventive concept, a kind of client, the specific implementation of the client are additionally provided in the embodiment of the present invention The description as described in client of above method embodiment part is can be found in, overlaps will not be repeated, which is mounted on intelligence Application software in energy terminal, as shown in Fig. 2, the client includes mainly:
Communication module 201, the unit type for sending bound smart machine to Cloud Server indicates information, and receives institute State Cloud Server according to the unit type indicate information return control logic plug-in unit, the control logic plug-in unit for realizing To the control function of the smart machine;
Processing module 202 for preserving the control logic plug-in unit received, and selects and the current control to the smart machine System operates relevant control logic plug-in unit, the control logic plug-in unit of selection is loaded into memory, and run the control for being loaded into memory Logica board processed.
In implementation, the control logic plug-in unit includes that original control command frame obtains interface, state parsing interface and order The mutual exclusion of operation judges one or more in interface, wherein the control command frame obtains interface for obtaining the client The control instruction at end simultaneously returns to the corresponding original control command frame of the control instruction, and the state parsing interface is for obtaining institute State the working status indication of client and return to the parsing information of the working condition of the smart machine, the command operation it is mutual Reprimand judges whether control instruction and return of the interface for obtaining the client allow the related letter for sending the control instruction Breath.
In implementation, the processing module is specifically used for:
The control instruction for obtaining user, according to the original of the control logic plug-in unit for being loaded into memory described in control instruction calling Control command frame obtains interface, obtains that the original control command frame acquisition interface returns, corresponding with the control instruction The original control command frame is sent to the smart machine by original control command frame;
And/or
The working status indication that the smart machine is sent is received, memory is loaded into according to described in working status indication calling The state of control logic plug-in unit parse interface, obtain the parsing for the working status indication that state parsing interface returns Information, according to the working condition of smart machine described in the parsing presentation of information;
And/or
The control instruction for obtaining user, according to the order for the control logic plug-in unit for being loaded into memory described in control instruction calling The mutual exclusion of operation judges interface, and the mutual exclusion for obtaining the command operation judges the prompt message that interface returns, the prompt message For prompting the user whether can to send the control instruction, and/or for prompting smart machine described in user to execute the control State change after system instruction.
In implementation, the control logic plug-in unit further includes authorizing interface, and the mandate interface is for obtaining the client Authorization code and return to verification result of the control logic plug-in unit to the authorization code;
The processing module is additionally operable to:
Interface is obtained according to the original control command frame for the control logic plug-in unit for being loaded into memory described in control instruction calling Before, alternatively, parsing interface according to the state for the control logic plug-in unit for being loaded into memory described in working status indication calling Before, alternatively, being judged according to the mutual exclusion for the command operation for being loaded into memory control logic plug-in unit described in control instruction calling Before interface,
Using the mandate interface for the control logic plug-in unit for being loaded into memory described in preset authorization code calling, obtains the mandate and connect The verification result to the identifying code that mouth returns, and determine that the verification result is that the authorization code is effective, wherein the control The verification result to the authorization code is preserved in logica board processed.
In implementation, the control logic plug-in unit that the Cloud Server returns is:
The unit type indicates the corresponding all control logic plug-in units of information, alternatively, unit type instruction information corresponds to Have newer control logic plug-in unit.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, control will be independent to the design of the control function of smart machine Logica board processed is separately designed with client, and control logic plug-in unit is preserved to Cloud Server, and client is as needed from cloud Server obtain smart machine control logic plug-in unit, and client only will can currently control at runtime operation it is relevant Control logic plug-in unit is loaded into memory operation, integrally upgrades so as to avoid to client, reduces the storage of client occupancy Space, and reduce the memory occupied when client operation, the amount of redundancy of client is reduced, the operation of client is improved Efficiency.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer Usable storage medium(Including but not limited to magnetic disk storage and optical memory etc.)The shape of the computer program product of upper implementation Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, equipment(System)And the flow of computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (8)

1. a kind of client operation management method, which is characterized in that including:
The unit type that client sends bound smart machine to Cloud Server indicates information, and receives the Cloud Server The control logic plug-in unit that information returns is indicated according to the unit type, and the control logic plug-in unit is for realizing to the intelligence The control function of equipment;
The client preserves the control logic plug-in unit received, and the current control with the smart machine is selected to operate phase The control logic plug-in unit of selection is loaded into memory by the control logic plug-in unit of pass, and is run and be loaded into the control logic of memory and insert Part, the control logic plug-in unit include that original control command frame obtains interface, state parses interface and the mutual exclusion of command operation is sentenced It is one or more in slave interrupt interface, wherein the original control command frame obtains the control that interface is used to obtain the client The corresponding original control command frame of the control instruction is instructed and returns, the state parsing interface is for obtaining the client Working status indication and return the smart machine working condition parsing information, the command operation mutual exclusion judgement connect Whether control instruction and return of the mouth for obtaining the client allow the relevant information for sending the control instruction;
The client obtains the bound corresponding control logic plug-in unit of smart machine, and obtains control logic plug-in unit correspondence Configuration information, according to the configuration information description configuration client display interface, enable a user to according to display circle Face, which is known, operates the function of smart machine.
2. the method as described in claim 1, which is characterized in that the control logic that the client operation is loaded into memory is inserted Part, including:
The client obtains the control instruction of user, according to the control logic for being loaded into memory described in control instruction calling The original control command frame of plug-in unit obtains interface, obtains the original control command frame and obtains interface the returns and control Corresponding original control command frame is instructed, the original control command frame is sent to the smart machine;
And/or
The client receives the working status indication that the smart machine is sent, according to working status indication calling It is loaded into the state parsing interface of the control logic plug-in unit of memory, obtains the working condition that the state parsing interface returns The parsing information of instruction, according to the working condition of smart machine described in the parsing presentation of information;
And/or
The client obtains the control instruction of user, according to the control logic for being loaded into memory described in control instruction calling The mutual exclusion of the command operation of plug-in unit judges interface, and the mutual exclusion for obtaining the command operation judges the prompt message that interface returns, institute It states prompt message to be used to prompt the user whether that the control instruction can be sent, and/or for prompting smart machine described in user Execute the state change after the control instruction.
3. method as claimed in claim 2, which is characterized in that the control logic plug-in unit further includes authorizing interface, described to award The verification result that power interface is used to obtain the authorization code of the client and return to the control logic plug-in unit to the authorization code;
The client according to the control instruction call described in be loaded into memory control logic plug-in unit original control command Before frame obtains interface, alternatively, according to the shape for the control logic plug-in unit for being loaded into memory described in working status indication calling Before state parses interface, alternatively, being grasped according to the order for the control logic plug-in unit for being loaded into memory described in control instruction calling Before the mutual exclusion of work judges interface, including:
The client is obtained using the mandate interface for the control logic plug-in unit for being loaded into memory described in preset authorization code calling The verification result to the authorization code for authorizing interface to return, and determine that the verification result is that the authorization code is effective, Wherein, the verification result to the authorization code is preserved in the control logic plug-in unit.
4. method as described in any one of claims 1-3, which is characterized in that the control logic plug-in unit that the Cloud Server returns For:
The unit type indicates the corresponding all control logic plug-in units of information, alternatively, unit type instruction information corresponds to Have newer control logic plug-in unit.
5. a kind of client, which is characterized in that including:
Communication module, the unit type for sending bound smart machine to Cloud Server indicate information, and described in reception Cloud Server indicates the control logic plug-in unit that information returns according to the unit type, and the control logic plug-in unit is for realizing right The control function of the smart machine;
Processing module for preserving the control logic plug-in unit received, and selects the current control with the smart machine to grasp Make relevant control logic plug-in unit, the control logic plug-in unit of selection is loaded into memory, and runs and be loaded into the control of memory and patrol Collect plug-in unit;
The control logic plug-in unit includes that original control command frame obtains interface, state parses interface and the mutual exclusion of command operation is sentenced It is one or more in slave interrupt interface, wherein the original control command frame obtains the control that interface is used to obtain the client The corresponding original control command frame of the control instruction is instructed and returns, the state parsing interface is for obtaining the client Working status indication and return the smart machine working condition parsing information, the command operation mutual exclusion judgement connect Whether control instruction and return of the mouth for obtaining the client allow the relevant information for sending the control instruction;
The client obtains the bound corresponding control logic plug-in unit of smart machine, and obtains control logic plug-in unit correspondence Configuration information, according to the configuration information description configuration client display interface, enable a user to according to display circle Face, which is known, operates the function of smart machine.
6. client as claimed in claim 5, which is characterized in that the processing module is specifically used for:
The control instruction for obtaining user, according to the original of the control logic plug-in unit for being loaded into memory described in control instruction calling Control command frame obtains interface, obtains that the original control command frame acquisition interface returns, corresponding with the control instruction The original control command frame is sent to the smart machine by original control command frame;
And/or
The working status indication that the smart machine is sent is received, memory is loaded into according to described in working status indication calling The state of control logic plug-in unit parse interface, obtain the parsing for the working status indication that state parsing interface returns Information, according to the working condition of smart machine described in the parsing presentation of information;
And/or
The control instruction for obtaining user, according to the order for the control logic plug-in unit for being loaded into memory described in control instruction calling The mutual exclusion of operation judges interface, and the mutual exclusion for obtaining the command operation judges the prompt message that interface returns, the prompt message For prompting the user whether can to send the control instruction, and/or for prompting smart machine described in user to execute the control State change after system instruction.
7. client as claimed in claim 6, which is characterized in that the control logic plug-in unit further includes authorizing interface, described The verification knot for authorizing interface to be used to obtain the authorization code of the client and return to the control logic plug-in unit to the authorization code Fruit;
The processing module is additionally operable to:
Interface is obtained according to the original control command frame for the control logic plug-in unit for being loaded into memory described in control instruction calling Before, alternatively, parsing interface according to the state for the control logic plug-in unit for being loaded into memory described in working status indication calling Before, alternatively, being sentenced according to the mutual exclusion of the command operation for the control logic plug-in unit for being loaded into memory described in control instruction calling Before slave interrupt interface,
Using the mandate interface for the control logic plug-in unit for being loaded into memory described in preset authorization code calling, obtains the mandate and connect The verification result to the authorization code that mouth returns, and determine that the verification result is that the authorization code is effective, wherein the control The verification result to the authorization code is preserved in logica board processed.
8. such as claim 5-7 any one of them clients, which is characterized in that the control logic that the Cloud Server returns is inserted Part is:
The unit type indicates the corresponding all control logic plug-in units of information, alternatively, unit type instruction information corresponds to Have newer control logic plug-in unit.
CN201810394915.3A 2015-11-20 2015-11-20 Client operation management method and client Active CN108646577B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510812221.3A CN105511273B (en) 2015-11-20 2015-11-20 A kind of client operation management method and client
CN201810394915.3A CN108646577B (en) 2015-11-20 2015-11-20 Client operation management method and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810394915.3A CN108646577B (en) 2015-11-20 2015-11-20 Client operation management method and client

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510812221.3A Division CN105511273B (en) 2015-11-20 2015-11-20 A kind of client operation management method and client

Publications (2)

Publication Number Publication Date
CN108646577A true CN108646577A (en) 2018-10-12
CN108646577B CN108646577B (en) 2021-06-01

Family

ID=55719343

Family Applications (3)

Application Number Title Priority Date Filing Date
CN201510812221.3A Active CN105511273B (en) 2015-11-20 2015-11-20 A kind of client operation management method and client
CN201810394921.9A Active CN108710304B (en) 2015-11-20 2015-11-20 Client operation management method and client
CN201810394915.3A Active CN108646577B (en) 2015-11-20 2015-11-20 Client operation management method and client

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN201510812221.3A Active CN105511273B (en) 2015-11-20 2015-11-20 A kind of client operation management method and client
CN201810394921.9A Active CN108710304B (en) 2015-11-20 2015-11-20 Client operation management method and client

Country Status (1)

Country Link
CN (3) CN105511273B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511273B (en) * 2015-11-20 2018-06-12 青岛海信电器股份有限公司 A kind of client operation management method and client
CN108134701A (en) * 2017-12-22 2018-06-08 上海携程商务有限公司 Client runs the management method and system of benchmark
CN110336720B (en) * 2019-06-29 2021-08-20 华为技术有限公司 Equipment control method and equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288662A1 (en) * 2006-06-12 2007-12-13 Telepaq Technology Inc. Distributed push-pull information service system
CN101610226A (en) * 2009-07-17 2009-12-23 阿里巴巴集团控股有限公司 A kind of method and system of plug-in download
US20120240048A1 (en) * 2011-03-18 2012-09-20 Microsoft Corporation Imaging extensibility for device management platforms
CN102868729A (en) * 2012-08-24 2013-01-09 中兴通讯股份有限公司 Method, client and cloud server for realizing software service based on cloud service
US20150254460A1 (en) * 2011-07-25 2015-09-10 Intel Corporation Dynamic feature enhancement in client server applications and high volume server deployment with dynamic app store integration
CN104954462A (en) * 2015-06-12 2015-09-30 福建新大陆通信科技股份有限公司 High-concurrency extensible smart home communication method and high-concurrency extensible smart home communication system
CN105005199A (en) * 2015-05-28 2015-10-28 北京海尔广科数字技术有限公司 Method and apparatus for controlling equipment through gateway
CN106161100A (en) * 2016-08-03 2016-11-23 青岛海信电器股份有限公司 A kind of internet of things equipment collocation method and internet-of-things terminal
CN108710304A (en) * 2015-11-20 2018-10-26 青岛海信电器股份有限公司 A kind of client operation management method and client

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050021839A1 (en) * 2003-06-23 2005-01-27 Russell Thomas C. Method and apparatus for providing a selectively isolated equipment area network for machine elements with data communication therebetween and with remote sites
US9015326B2 (en) * 2011-09-14 2015-04-21 General Electric Company Method and system for managing power consumption of a meter during communication activities
CN103186861B (en) * 2011-12-30 2018-04-03 上海博泰悦臻电子设备制造有限公司 Electric paying method based on cloud data processing technique
CN103763392B (en) * 2014-01-29 2018-09-07 百度在线网络技术(北京)有限公司 The control method of equipment, apparatus and system
US20150264144A1 (en) * 2014-03-11 2015-09-17 Datasphere Technologies, Inc. Hyper-local targeting based on user location
CN104320480B (en) * 2014-11-03 2018-06-01 中国联合网络通信集团有限公司 The control method and Cloud Server of smart home device
CN104572885B (en) * 2014-12-22 2017-11-10 广东美的制冷设备有限公司 A kind of user function preference data collects and surveys method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288662A1 (en) * 2006-06-12 2007-12-13 Telepaq Technology Inc. Distributed push-pull information service system
CN101610226A (en) * 2009-07-17 2009-12-23 阿里巴巴集团控股有限公司 A kind of method and system of plug-in download
US20120240048A1 (en) * 2011-03-18 2012-09-20 Microsoft Corporation Imaging extensibility for device management platforms
US20150254460A1 (en) * 2011-07-25 2015-09-10 Intel Corporation Dynamic feature enhancement in client server applications and high volume server deployment with dynamic app store integration
CN102868729A (en) * 2012-08-24 2013-01-09 中兴通讯股份有限公司 Method, client and cloud server for realizing software service based on cloud service
CN105005199A (en) * 2015-05-28 2015-10-28 北京海尔广科数字技术有限公司 Method and apparatus for controlling equipment through gateway
CN104954462A (en) * 2015-06-12 2015-09-30 福建新大陆通信科技股份有限公司 High-concurrency extensible smart home communication method and high-concurrency extensible smart home communication system
CN108710304A (en) * 2015-11-20 2018-10-26 青岛海信电器股份有限公司 A kind of client operation management method and client
CN106161100A (en) * 2016-08-03 2016-11-23 青岛海信电器股份有限公司 A kind of internet of things equipment collocation method and internet-of-things terminal

Also Published As

Publication number Publication date
CN108710304B (en) 2021-07-06
CN108710304A (en) 2018-10-26
CN105511273A (en) 2016-04-20
CN108646577B (en) 2021-06-01
CN105511273B (en) 2018-06-12

Similar Documents

Publication Publication Date Title
CN105739460B (en) A kind of method and apparatus for the control interface automatically generating Internet of Things household electrical appliances
KR20200113276A (en) Resource arrangement method, device, terminal and storage medium
EP2830044B1 (en) Instruction processing method, apparatus, and system
CN105511273B (en) A kind of client operation management method and client
CN103281373A (en) Home gateway intelligent upgrading device and upgrading method
CN102394780B (en) Equipment management system and method
CN102607236A (en) Cloud refrigerator system based on cloud of things and service method
CN102130802A (en) Internet of things home appliance management system and management method
CN104427586A (en) Networking method and terminal
CN104986634A (en) System and method for cloud group control of elevator
CN103686226A (en) Method and system for monitoring internet access of set top box based on cloud computation and set top box
CN105335192B (en) A kind of information processing method and electronic equipment
CN104635543A (en) Method and device for carrying out management operation
CN105072139A (en) Recommendation method and recommendation device
CN104182704A (en) Safety strategy setting method, safety strategy setting device and terminal
CN104753996A (en) Remote hosting system, method and device for mobile terminal
CN105739956B (en) The method and system of the building intelligent rules model of computer system
CN105956426A (en) Application program authority authentication and authorization method and intelligent equipment
CN109343944A (en) Data processing method, device, terminal and the storage medium of eSIM card
CN102053917B (en) Smart card capable of reducing memory footprint and instruction processing method thereof
CN110986298A (en) Control parameter adjusting method and device and electronic equipment
CN106294027A (en) A kind of data back up method, device, carrier server and mobile terminal
CN104951325B (en) A kind of information display method and electronic equipment
EP3438824A1 (en) Method for resource allocation and terminal device
CN107979580B (en) A kind of access control method, device and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

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

Applicant after: Hisense Video Technology Co.,Ltd.

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

Applicant before: HISENSE ELECTRIC Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant