CN108710304A - A kind of client operation management method and client - Google Patents
A kind of client operation management method and client Download PDFInfo
- Publication number
- CN108710304A CN108710304A CN201810394921.9A CN201810394921A CN108710304A CN 108710304 A CN108710304 A CN 108710304A CN 201810394921 A CN201810394921 A CN 201810394921A CN 108710304 A CN108710304 A CN 108710304A
- Authority
- CN
- China
- Prior art keywords
- unit
- interface
- client
- control logic
- control
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 11
- 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
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 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
- 238000013461 design Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 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 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
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
Indicate that information returns to newer control logic plug-in unit according to the unit type;
The client preserves the newer control logic plug-in unit received, is loaded into memory, and run and be loaded into memory
Newer control logic plug-in unit, the newer control logic plug-in unit include 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 original control command frame obtains interface and uses
In the control instruction for obtaining the client and the corresponding original control command frame of the control instruction is returned to, the state parsing
Interface be used for obtain the working status indication of the client and return the smart machine working condition parsing information, institute
The mutual exclusion for stating command operation judges whether control instruction and return of the interface for obtaining the client allow to send the control
Make the relevant information of instruction;
Smart machine of the client bound in obtaining corresponds to newer control logic plug-in unit, and obtains the newer control
The corresponding configuration information of logica board, according to the display interface of the description configuration client of the configuration information, so that user's energy
Enough known according to display interface and the function of smart machine is operated.
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.
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 that information returns to newer control logic plug-in unit according to the unit type;
Processing module is loaded into memory, and run and be loaded into memory for preserving the newer control logic plug-in unit received
Newer control logic 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;
Smart machine of the client bound in obtaining corresponds to newer control logic plug-in unit, and obtains the newer control
The corresponding configuration information of logica board, according to the display interface of the description configuration client of the configuration information, so that user's energy
Enough known according to display interface and the function of smart machine is operated.
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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810394921.9A CN108710304B (en) | 2015-11-20 | 2015-11-20 | Client operation management method and client |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810394921.9A CN108710304B (en) | 2015-11-20 | 2015-11-20 | Client operation management method and client |
CN201510812221.3A CN105511273B (en) | 2015-11-20 | 2015-11-20 | A kind of 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 |
---|---|
CN108710304A true CN108710304A (en) | 2018-10-26 |
CN108710304B CN108710304B (en) | 2021-07-06 |
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 |
CN201810394921.9A Active CN108710304B (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 |
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 |
---|---|---|---|
CN201510812221.3A Active CN105511273B (en) | 2015-11-20 | 2015-11-20 | A kind of client operation management method and client |
Country Status (1)
Country | Link |
---|---|
CN (3) | CN108646577B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108646577A (en) * | 2015-11-20 | 2018-10-12 | 青岛海信电器股份有限公司 | A kind of client operation management method and client |
CN114697150A (en) * | 2022-02-25 | 2022-07-01 | 青岛海尔科技有限公司 | Command issuing method and device, storage medium and electronic device |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN111858109B (en) * | 2020-07-22 | 2024-09-13 | 中国第一汽车股份有限公司 | Method, device, equipment and storage medium for verifying mutex logic |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1492309A2 (en) * | 2003-06-23 | 2004-12-29 | The Boc Group, Inc. | Equipment area network |
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 |
US20150227150A1 (en) * | 2011-09-14 | 2015-08-13 | 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 |
Family Cites Families (9)
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 |
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 |
CN103186861B (en) * | 2011-12-30 | 2018-04-03 | 上海博泰悦臻电子设备制造有限公司 | Electric paying method based on cloud data processing technique |
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 CN201810394921.9A patent/CN108710304B/en active Active
- 2015-11-20 CN CN201510812221.3A patent/CN105511273B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1492309A2 (en) * | 2003-06-23 | 2004-12-29 | The Boc Group, Inc. | Equipment area network |
US20150227150A1 (en) * | 2011-09-14 | 2015-08-13 | General Electric Company | Method and System for Managing Power Consumption of a Meter During Communication Activities |
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 |
US20150264144A1 (en) * | 2014-03-11 | 2015-09-17 | Datasphere Technologies, Inc. | Hyper-local targeting based on user location |
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 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108646577A (en) * | 2015-11-20 | 2018-10-12 | 青岛海信电器股份有限公司 | A kind of client operation management method and client |
CN108646577B (en) * | 2015-11-20 | 2021-06-01 | 海信视像科技股份有限公司 | Client operation management method and client |
CN114697150A (en) * | 2022-02-25 | 2022-07-01 | 青岛海尔科技有限公司 | Command issuing method and device, storage medium and electronic device |
CN114697150B (en) * | 2022-02-25 | 2024-03-22 | 青岛海尔科技有限公司 | Command issuing method and device, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN105511273A (en) | 2016-04-20 |
CN108710304B (en) | 2021-07-06 |
CN108646577B (en) | 2021-06-01 |
CN105511273B (en) | 2018-06-12 |
CN108646577A (en) | 2018-10-12 |
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 | |
CN106528193B (en) | A kind of application update method and terminal | |
CN106850589B (en) | Method for managing and controlling operation of cloud computing terminal and cloud server | |
CN103841134B (en) | Based on API transmission, the method for receive information, apparatus and system | |
KR20200113276A (en) | Resource arrangement method, device, terminal and storage medium | |
CN112612214B (en) | Method and system for generating functional interface and electronic equipment | |
CN105301978B (en) | A kind of connection method and mobile terminal | |
CN102607236A (en) | Cloud refrigerator system based on cloud of things and service method | |
CN105451299B (en) | A kind of method and its electronic equipment controlling WiFi connection | |
CN110650503B (en) | Network access method, device, system and computer readable storage medium | |
CN102130802A (en) | Internet of things home appliance management system and management method | |
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 | |
EP3438824A1 (en) | Method for resource allocation and terminal device | |
CN111790159B (en) | Data processing method, device, equipment and computer readable storage medium | |
CN202799005U (en) | Cloud computing based internet monitoring system of set top box and set top box | |
CN113473395B (en) | Message processing method, device, medium and electronic equipment | |
CN107426624A (en) | Video game realization method and system, television terminal, cloud server, medium | |
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 | |
CN110493120A (en) | A kind of method and apparatus for sending device operational order | |
CN106792955B (en) | Method and device for switching analog network and terminal equipment | |
CN114115074A (en) | Device control method and device, computer readable storage medium, processor | |
CN113377710B (en) | Data acquisition method and device and electronic equipment |
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 Visual Technology Co., Ltd. Address before: 266100 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |