CN105511273B - A kind of client operation management method and client - Google Patents
A kind of client operation management method and client Download PDFInfo
- Publication number
- CN105511273B CN105511273B CN201510812221.3A CN201510812221A CN105511273B CN 105511273 B CN105511273 B CN 105511273B CN 201510812221 A CN201510812221 A CN 201510812221A CN 105511273 B CN105511273 B CN 105511273B
- Authority
- CN
- China
- Prior art keywords
- unit
- control logic
- control
- 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.)
- Active
Links
- 238000007726 management method Methods 0.000 title claims abstract description 10
- 230000006870 function Effects 0.000 claims abstract description 14
- 238000000034 method Methods 0.000 claims abstract description 12
- 238000013475 authorization Methods 0.000 claims description 33
- 230000007717 exclusion Effects 0.000 claims description 32
- 238000012795 verification Methods 0.000 claims description 27
- 238000012545 processing Methods 0.000 claims description 14
- 230000008859 change Effects 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 5
- 230000006399 behavior Effects 0.000 claims 1
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 230000007423 decrease Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000004936 stimulating effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
- Selective Calling Equipment (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of client operation management method and clients, to solve when the control logic to client is needed to be adjusted, the problem of memory increase and redundancy increase and operational efficiency that the memory space that client caused by integrally upgrading to client occupies occupies when increasing, running decline.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 used to implement the control function to the smart machine;The client preserves the control logic plug-in unit received, and selects, with operating relevant control logic plug-in unit to the current control of the smart machine, the control logic plug-in unit of selection to be loaded into memory, and run the control logic plug-in unit for being loaded into memory.
Description
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
At present, in intelligent domestic system, user can be by being mounted on the intelligence such as mobile phone, tablet computer, laptop
Client control intelligent appliance equipment in terminal.In the client for controlling intelligent appliance equipment, it is used to implement intelligent appliance and sets
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 client whole upgrading so that new control to be patrolled
It collects and is upgraded to the client.
With the increase of the type and model of smart machine (including intelligent appliance equipment), 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, it needs 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 decline.
Invention content
The embodiment of the present invention provides a kind of client operation management method and client, to solve needing to client
Control logic when being adjusted, client is integrally upgraded caused by client occupy memory space increase, operation when
The problem of memory increase and redundancy increase of occupancy and operational efficiency decline.
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 method, including:
The unit type that client sends bound smart machine to Cloud Server indicates information, and receives the cloud clothes
Business device indicates the control logic plug-in unit of information return according to the unit type, and the control logic plug-in unit is used to implement to described
The control function of smart machine;
The client preserves 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 original control command frame and obtains interface, state parsing
The mutual exclusion of interface and command operation judge it is 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
For obtain the working status indication of the client and return the smart machine working condition parsing information, the life
Whether the mutual exclusion of operation is enabled to judge interface allows to send described control and refers to for obtaining the control instruction of the client and returning
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, and the control of memory is loaded into according to being called the control instruction
The original control command frame of logica board obtains interface, obtain the original control command frame obtain it is that interface returns, with it is described
The original control command frame is sent to the smart machine by the corresponding original control command frame of control instruction;
And/or
The client receives the working status indication that the smart machine is sent, and is called according to the working status indication
The state parsing interface of the control logic plug-in unit for being loaded into memory obtains the work that the state parsing interface returns
The parsing information of state 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, and the control of memory is loaded into according to being called the control instruction
The mutual exclusion of the command operation of logica board judges interface, and the mutual exclusion for obtaining the command operation judges the prompting letter that interface returns
Breath, the prompt message is for prompting the user whether to send the control instruction and/or for prompting intelligence described in user
Equipment performs the state change after the control instruction.
In possible embodiment, the control logic plug-in unit further includes mandate interface, and the mandate interface is used to obtain
The authorization code of the client simultaneously returns to verification result of the control logic plug-in unit to the authorization code;
The client is loaded into the original control of the control logic plug-in unit of memory according to being called the control instruction
Before command frame obtains interface, alternatively, being loaded into the control logic plug-in unit of memory according to being called the working status indication
State parsing interface before, alternatively, being loaded into the order of memory control logic plug-in unit according to being called the control instruction
Before the mutual exclusion of operation judges interface, including:
The client uses the mandate interface for the control logic plug-in unit that memory is loaded into described in preset authorization code calling,
The verification result to the identifying code that the mandate interface returns is obtained, and determines that the verification result has for the authorization code
Effect, 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, the unit type indicates information
It is corresponding to have newer control logic plug-in unit.
The embodiment of the present invention additionally provides a kind of client, including:
Communication module indicates information, and receive for sending the unit type of bound smart machine to Cloud Server
The Cloud Server indicates the control logic plug-in unit of information return according to the unit type, and the control logic plug-in unit is for real
Now to the control function of the smart machine;
Processing module, for preserve receive the control logic plug-in unit, and select with to the current of the smart machine
Control operates relevant control logic plug-in unit, and the control logic plug-in unit of selection is loaded into memory, and run and be loaded into memory
Control logic plug-in unit.
In possible embodiment, the control logic plug-in unit includes original control command frame and obtains interface, state parsing
The mutual exclusion of interface and command operation judge it is 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
For obtain the working status indication of the client and return the smart machine working condition parsing information, the life
Whether the mutual exclusion of operation is enabled to judge interface allows to send described control and refers to for obtaining the control instruction of the client and returning
The relevant information of order.
In possible embodiment, the processing module is specifically used for:
The control instruction of user is obtained, the control logic plug-in unit of memory is loaded into according to being called the control instruction
Original control command frame obtains interface, obtains the original control command frame and obtains interface the returns and control instruction pair
The original control command frame is sent to the smart machine by the original control command frame answered;
And/or
The working status indication that the smart machine is sent is received, is loaded into according to being called the working status indication
The state parsing interface of the control logic plug-in unit of memory obtains the working status indication that the state parsing interface returns
Information is parsed, according to the working condition of smart machine described in the parsing presentation of information;
And/or
The control instruction of user is obtained, the control logic plug-in unit of memory is loaded into according to being called the control instruction
The mutual exclusion of command operation judges interface, and the mutual exclusion for obtaining the command operation judges the prompt message that interface returns, the prompting
Information is for prompting the user whether to send the control instruction and/or for smart machine described in user to be prompted to perform institute
State the state change after control instruction.
In possible embodiment, the control logic plug-in unit further includes mandate interface, and the mandate interface is used to obtain
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:
The original control command frame that the control logic plug-in unit of memory is loaded into according to being called the control instruction obtains
Before interface, alternatively, being loaded into the state parsing of the control logic plug-in unit of memory according to being called the working status indication
Before interface, alternatively, being loaded into the mutual exclusion of the command operation of memory control logic plug-in unit according to being called the control instruction
Before judging interface,
Using the mandate interface for the control logic plug-in unit that memory is loaded into described in preset authorization code calling, awarded described in acquisition
The verification result to the identifying code that interface returns is weighed, and determines that the verification result is effective for the authorization code, wherein, institute
State the verification result preserved in control logic plug-in unit to the authorization code.
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, the unit type indicates information
It is corresponding to have newer control logic plug-in unit.
Based on above-mentioned technical proposal, in the embodiment of the present invention, the control function of smart machine will be designed and be independent control
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 obtains the control logic plug-in unit of smart machine, and client only will can currently control operation relevant at runtime
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 the memory that occupies when reducing client operation, reduce the amount of redundancy of client, improve the operation of client
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 embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention is made below in conjunction with attached drawing into
It is described in detail to one step, it is clear that described embodiment is only the implementation of part of the embodiment of the present invention rather than whole
Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work
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 receive
Cloud Server indicates the control logic plug-in unit of information return according to the unit type.
Wherein, control logic plug-in unit is used to implement the control function to smart machine.
Wherein, control logic plug-in unit includes but not limited to original control command frame acquisition interface, state parsing interface and life
The mutual exclusion operated 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, whether the mutual exclusion of command operation judges interface allows to send for obtaining the control instruction of client and returning
The relevant information of the control instruction.
Optionally, control logic plug-in unit further includes mandate 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 according to the display interface of the description configuration client of the configuration information, is enabled a user to 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 that the smart machine is sent to Cloud Server
Model indicates information, and the relevant all control logic plug-in units of the unit type are sent to the client by 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 perform in the state of program operation,
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 with being operated to the current control of smart machine
The control logic plug-in unit of selection is loaded into memory, and run 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 of memory is loaded into according to 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 instruction
The original control command frame is sent to smart machine by corresponding original control command frame.
Second, client receives the working status indication that smart machine is sent, and is called and loaded according to the working status indication
State to memory parses interface, the parsing information of 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 of memory is loaded into according to 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, this is carried
Show information for prompting the user whether that the control instruction can be sent and/or for prompting user that the smart machine performs the control
State change after system instruction.Specifically, if the mutual exclusion of command operation judges the prompt message of interface return for that can send
The control instruction, then the prompt message state change of the user after the control instruction is sent also is 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 verified verification result after the authorization code by control logic plug-in unit by the way that interface is authorized to return, visitor
Family end obtains the verification result to identifying code that interface is authorized 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 control instruction pair that interface is passed to
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, interface is obtained to the prompt message of client return error calls 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 the parsing information corresponding to working status indication that state parsing interface is passed to, 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 passed to
Control instruction, and further stimulating intelligent equipment performs the control instruction in the case where determining to allow to send the control instruction
State change situation later judges that interface returns to the relevant prompting of the control instruction to client by the mutual exclusion of command operation
Information, the prompt message are used to prompt the user whether that the control instruction can be sent, and allowing to send the control instruction
In the case of prompting user's smart machine perform 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 mainly includes:
Communication module 201 indicates information, and connect for sending the unit type of bound smart machine to Cloud Server
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 used for
Realize the control function to the smart machine;
Processing module 202 for preserving the control logic plug-in unit received, and selects and the smart machine is worked as
Preceding control operates relevant control logic plug-in unit, and the control logic plug-in unit of selection is loaded into memory, and run and be loaded into memory
Control logic plug-in unit.
In implementation, the control logic plug-in unit includes original control command frame and obtains interface, state parsing interface and order
The mutual exclusion of operation judge it is 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 used to obtain 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 interface for obtaining the control instruction of the client and returning whether allow the related letter for sending the control instruction
Breath.
In implementation, the processing module is specifically used for:
The control instruction of user is obtained, the control logic plug-in unit of memory is loaded into according to being called the control instruction
Original control command frame obtains interface, obtains the original control command frame and obtains interface the returns and control instruction pair
The original control command frame is sent to the smart machine by the original control command frame answered;
And/or
The working status indication that the smart machine is sent is received, is loaded into according to being called the working status indication
The state parsing interface of the control logic plug-in unit of memory obtains the working status indication that the state parsing interface returns
Information is parsed, according to the working condition of smart machine described in the parsing presentation of information;
And/or
The control instruction of user is obtained, the control logic plug-in unit of memory is loaded into according to being called the control instruction
The mutual exclusion of command operation judges interface, and the mutual exclusion for obtaining the command operation judges the prompt message that interface returns, the prompting
Information is for prompting the user whether to send the control instruction and/or for smart machine described in user to be prompted to perform institute
State the state change after control instruction.
In implementation, the control logic plug-in unit further includes mandate interface, and the mandate interface is used to obtain 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:
The original control command frame that the control logic plug-in unit of memory is loaded into according to being called the control instruction obtains
Before interface, alternatively, being loaded into the state parsing of the control logic plug-in unit of memory according to being called the working status indication
Before interface, alternatively, being loaded into the mutual exclusion of the command operation of memory control logic plug-in unit according to being called the control instruction
Before judging interface,
Using the mandate interface for the control logic plug-in unit that memory is loaded into described in preset authorization code calling, awarded described in acquisition
The verification result to the identifying code that interface returns is weighed, and determines that the verification result is effective for the authorization code, wherein, institute
State the verification result preserved in control logic plug-in unit to the authorization code.
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, the unit type indicates information
It is corresponding to have newer control logic plug-in unit.
Based on above-mentioned technical proposal, in the embodiment of the present invention, the control function of smart machine will be designed and be independent control
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 obtains the control logic plug-in unit of smart machine, and client only will can currently control operation relevant at runtime
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 the memory that occupies when reducing client operation, reduce the amount of redundancy of client, improve the operation of client
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, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention
The shape of computer program product that usable storage medium is implemented on (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it 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
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device of function 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 the instruction generation being 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 can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement 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 receive the Cloud Server
The control logic plug-in unit of information return is indicated according to the unit type, the control logic plug-in unit is used to implement to the intelligence
The control function of equipment;
The client preserves the control logic plug-in unit received, and selects the current control operation phase with the smart machine
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 includes original control command frame acquisition interface, state parsing interface and the mutual exclusion of command operation and sentences
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
It instructs and returns to the corresponding original control command frame of the control instruction, the state parsing interface is used to obtain the client
Working status indication and return the smart machine working condition parsing information, the command operation mutual exclusion judgement connect
Whether mouth allows to send the relevant information of the control instruction for obtaining the control instruction of the client and returning.
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, and the control logic of memory is loaded into according to being called the control instruction
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 being called the working status indication
The state parsing interface of the control logic plug-in unit of memory is loaded into, 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, and the control logic of memory is loaded into according to being called 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, institute
Prompt message is stated for prompting the user whether that the control instruction can be sent and/or for prompting smart machine described in user
Perform 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 mandate interface, described to award
Power interface is used to obtain the authorization code of the client and returns to verification result of the control logic plug-in unit to the authorization code;
The client is loaded into the original control command of the control logic plug-in unit of memory according to being called the control instruction
Before frame obtains interface, alternatively, being loaded into the shape of the control logic plug-in unit of memory according to being called the working status indication
Before state parsing interface, alternatively, being loaded into the order behaviour of the control logic plug-in unit of memory according to being called the control instruction
Before the mutual exclusion of work judges interface, including:
The client is obtained using the mandate interface for the control logic plug-in unit that memory is loaded into described in preset authorization code calling
The verification result to the authorization code that interface is authorized to return, and determine that the verification result is effective for the authorization code,
Wherein, the verification result to the authorization code is preserved in the control logic plug-in unit.
4. such as claim 1-3 any one of them methods, 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 indicates information, and described in reception for sending the unit type of bound smart machine to Cloud Server
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 used to implement pair
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 run and be loaded into the control of memory and patrol
Collect plug-in unit;
The control logic plug-in unit includes original control command frame acquisition interface, state parsing interface and the mutual exclusion of command operation and sentences
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
It instructs and returns to the corresponding original control command frame of the control instruction, the state parsing interface is used to obtain the client
Working status indication and return the smart machine working condition parsing information, the command operation mutual exclusion judgement connect
Whether mouth allows to send the relevant information of the control instruction for obtaining the control instruction of the client and returning.
6. client as claimed in claim 5, which is characterized in that the processing module is specifically used for:
Obtain user control instruction, according to the control instruction call described in be loaded into memory control logic plug-in unit it is original
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 being called the working status indication
Control logic plug-in unit state parsing interface, obtain the parsing of 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 of user is obtained, the order of the control logic plug-in unit of memory is loaded into according to being called the control instruction
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 to send the control instruction and/or for smart machine described in user to be prompted to perform 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 mandate interface, described
Interface is authorized to be used to obtain the authorization code of the client and returns to verification knot of the control logic plug-in unit to the authorization code
Fruit;
The processing module is additionally operable to:
The original control command frame that the control logic plug-in unit of memory is loaded into according to being called the control instruction obtains interface
Before, alternatively, the state that the control logic plug-in unit of memory is loaded into according to being called the working status indication parses interface
Before, alternatively, the mutual exclusion that the command operation of the control logic plug-in unit of memory is loaded into according to being called the control instruction is sentenced
Before slave interrupt interface,
Using the mandate interface for the control logic plug-in unit that memory is loaded into described in preset authorization code calling, obtain the mandate and connect
The verification result to the authorization code that mouth returns, and determine that the verification result is effective for the authorization code, 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.
Priority Applications (3)
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 |
CN201810394921.9A CN108710304B (en) | 2015-11-20 | 2015-11-20 | 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 |
---|---|---|---|
CN201510812221.3A CN105511273B (en) | 2015-11-20 | 2015-11-20 | A kind of client operation management method and client |
Related Child Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810394921.9A Division CN108710304B (en) | 2015-11-20 | 2015-11-20 | Client operation management method and client |
CN201810394915.3A Division CN108646577B (en) | 2015-11-20 | 2015-11-20 | Client operation management method and client |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105511273A CN105511273A (en) | 2016-04-20 |
CN105511273B true CN105511273B (en) | 2018-06-12 |
Family
ID=55719343
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810394915.3A Active CN108646577B (en) | 2015-11-20 | 2015-11-20 | Client operation management method and client |
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 |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810394915.3A Active CN108646577B (en) | 2015-11-20 | 2015-11-20 | Client operation management method and client |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810394921.9A Active CN108710304B (en) | 2015-11-20 | 2015-11-20 | Client operation management method and client |
Country Status (1)
Country | Link |
---|---|
CN (3) | CN108646577B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108646577B (en) * | 2015-11-20 | 2021-06-01 | 海信视像科技股份有限公司 | 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 |
CN111858109A (en) * | 2020-07-22 | 2020-10-30 | 中国第一汽车股份有限公司 | Mutually exclusive logic verification method, device, equipment and storage medium |
CN114697150B (en) * | 2022-02-25 | 2024-03-22 | 青岛海尔科技有限公司 | Command issuing method and device, storage medium and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868729A (en) * | 2012-08-24 | 2013-01-09 | 中兴通讯股份有限公司 | Method, client and cloud server for realizing software service based on cloud service |
CN103186861A (en) * | 2011-12-30 | 2013-07-03 | 上海博泰悦臻电子设备制造有限公司 | Electronic payment method based on cloud data processing technology |
CN103763392A (en) * | 2014-01-29 | 2014-04-30 | 百度在线网络技术(北京)有限公司 | Control method, device and system for equipment |
CN104320480A (en) * | 2014-11-03 | 2015-01-28 | 中国联合网络通信集团有限公司 | Control method for intelligent home equipment and cloud server |
CN104572885A (en) * | 2014-12-22 | 2015-04-29 | 广东美的制冷设备有限公司 | Method and system for collecting and analyzing preference data of user function |
Family Cites Families (11)
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 |
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 |
US9069637B2 (en) * | 2011-07-25 | 2015-06-30 | Intel Corporation | Dynamic feature enhancement in client server applications and high volume server deployment with dynamic app store integration |
US9015326B2 (en) * | 2011-09-14 | 2015-04-21 | General Electric Company | Method and system for managing power consumption of a meter during communication activities |
US20150264144A1 (en) * | 2014-03-11 | 2015-09-17 | Datasphere Technologies, Inc. | Hyper-local targeting based on user location |
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 |
CN108646577B (en) * | 2015-11-20 | 2021-06-01 | 海信视像科技股份有限公司 | Client operation management method and client |
CN106161100B (en) * | 2016-08-03 | 2019-09-27 | 青岛海信电器股份有限公司 | A kind of internet of things equipment configuration method and internet-of-things terminal |
-
2015
- 2015-11-20 CN CN201810394915.3A patent/CN108646577B/en active Active
- 2015-11-20 CN CN201510812221.3A patent/CN105511273B/en active Active
- 2015-11-20 CN CN201810394921.9A patent/CN108710304B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103186861A (en) * | 2011-12-30 | 2013-07-03 | 上海博泰悦臻电子设备制造有限公司 | Electronic payment method based on cloud data processing technology |
CN102868729A (en) * | 2012-08-24 | 2013-01-09 | 中兴通讯股份有限公司 | Method, client and cloud server for realizing software service based on cloud service |
CN103763392A (en) * | 2014-01-29 | 2014-04-30 | 百度在线网络技术(北京)有限公司 | Control method, device and system for equipment |
CN104320480A (en) * | 2014-11-03 | 2015-01-28 | 中国联合网络通信集团有限公司 | Control method for intelligent home equipment and cloud server |
CN104572885A (en) * | 2014-12-22 | 2015-04-29 | 广东美的制冷设备有限公司 | Method and system for collecting and analyzing preference data of user function |
Also Published As
Publication number | Publication date |
---|---|
CN108710304B (en) | 2021-07-06 |
CN108646577A (en) | 2018-10-12 |
CN105511273A (en) | 2016-04-20 |
CN108646577B (en) | 2021-06-01 |
CN108710304A (en) | 2018-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105511273B (en) | A kind of client operation management method and client | |
CN105739460B (en) | A kind of method and apparatus for the control interface automatically generating Internet of Things household electrical appliances | |
CN105159122B (en) | A kind of intelligent home control system and control method | |
CN103841134B (en) | Based on API transmission, the method for receive information, apparatus and system | |
CN112612214B (en) | Method and system for generating functional interface and electronic equipment | |
CN102821150B (en) | Based on application management method and the Cloud Server of cloud service | |
CN111045901A (en) | Container monitoring method and device, storage medium and electronic equipment | |
CN106302448B (en) | Remote access control method and device | |
CN105580383A (en) | Method and apparatus for real-time sharing of multimedia content between wireless devices | |
CN106164917B (en) | User's specific application for remote session activates | |
CN103686354B (en) | Smart television terminal and method for counting reporting key use behaviors | |
CN103686226A (en) | Method and system for monitoring internet access of set top box based on cloud computation and set top box | |
CN104427586A (en) | Networking method and terminal | |
CN105072139A (en) | Recommendation method and recommendation device | |
CN109450747A (en) | A kind of method, apparatus and computer storage medium waking up smart home device | |
CN104635543A (en) | Method and device for carrying out management operation | |
CN107920117A (en) | A kind of method for managing resource, control device and resource management system | |
CN109343944A (en) | Data processing method, device, terminal and the storage medium of eSIM card | |
CN104951325B (en) | A kind of information display method and electronic equipment | |
CN110045980B (en) | Method, device and system for remotely upgrading NB-IOT (NB-IOT) device | |
CN109698974A (en) | A kind of method, apparatus, electronic equipment and the medium of display progress | |
CN107783722B (en) | Data transmission method and data forwarding device | |
CN114115074A (en) | Device control method and device, computer readable storage medium, processor | |
CN109800229B (en) | Data access method and related equipment | |
CN106527388B (en) | A kind of control system and method for smart home device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee after: Hisense Video Technology Co.,Ltd. Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee before: HISENSE ELECTRIC Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |