CN106933111A - A kind of method and device of control device - Google Patents
A kind of method and device of control device Download PDFInfo
- Publication number
- CN106933111A CN106933111A CN201710116598.4A CN201710116598A CN106933111A CN 106933111 A CN106933111 A CN 106933111A CN 201710116598 A CN201710116598 A CN 201710116598A CN 106933111 A CN106933111 A CN 106933111A
- Authority
- CN
- China
- Prior art keywords
- control command
- device identification
- equipment
- marking keys
- user
- 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
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], computer integrated manufacturing [CIM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72415—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
-
- 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]
Abstract
The disclosure is directed to a kind of method and device of control device, belong to the communications field.Methods described includes:Obtain the marking keys of each button at least one button that terminal is pressed under screen lock state and the marking keys of each button are constituted into the first marking keys set;According to the first marking keys set, corresponding device identification and control command are obtained in the corresponding relation of control command from marking keys set, device identification;According to the device identification, the control command is sent to the corresponding equipment of the device identification, to control the equipment to perform the corresponding operation of the control command.Described device includes the first acquisition module, the second acquisition module and sending module.The disclosure can improve the efficiency of control device.
Description
Technical field
This disclosure relates to the communications field, more particularly to a kind of method and device of control device.
Background technology
With the development of smart home business, occurs the equipment for household of many intelligence at present, for convenience user
Using these equipment, user can be controlled using mobile terminals such as mobile phones to these equipment.For example, user can use hand
The intelligent electric lamp of machine control family is turned on and off.
Correlation technique, user wants the control device on mobile phone, is first turned on mobile phone, is found for controlling this in mobile phone
The client of equipment;Then start the client and open in client for controlling the control interface of the equipment, control circle
Face includes each control command for controlling the equipment;Finally, user can select certain control command, and mobile terminal sets to this
Preparation send the control command that user selects, to allow the equipment to perform the control command that user selects.
The content of the invention
In order to improve the efficiency of control device, the embodiment of the present disclosure provides a kind of method and device of control device.Institute
State technical scheme as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method of control device, methods described includes:
Obtain the marking keys of each button at least one button that is pressed under screen lock state of terminal and by institute
The marking keys for stating each button constitute the first marking keys set;
According to the first marking keys set, from the corresponding relation of marking keys set, device identification and control command
It is middle to obtain corresponding device identification and control command;
According to the device identification, the control command is sent to the corresponding equipment of the device identification, it is described to control
Equipment performs the corresponding operation of the control command.
Optionally, it is described according to the first marking keys set, from marking keys set, device identification and control command
Corresponding relation in obtain corresponding device identification and control command, including:
Inquiry request message is sent to server, the inquiry request message carries user account and the first button mark
Know set, the inquiry request message is used for the server according to the first marking keys set, from the user account
Corresponding marking keys set, device identification and corresponding device identification is obtained in the corresponding relation of control command and control life
Order;
The query response message that the server sends is received, the query response message carries what the server was obtained
Device identification and control command.
Optionally, methods described also includes:
Device identification and the control command of user's selection are obtained, and obtains at least one button that is pressed of terminal
The marking keys of each button simultaneously constitute the second marking keys set;
The device identification that second marking keys set, the user select corresponding with control command is stored in button
In the corresponding relation of logo collection, device identification and control command.
Optionally, it is described obtain user selection device identification and control command before, also include:
User account is obtained, the control that the device identification and the equipment for obtaining the equipment bound with the user account include
System order;
The control command that the device identification of the display equipment bound with the user account and the equipment include.
Optionally, the control that the device identification of the equipment that the acquisition is bound with the user account and the equipment include
Order, including:
Obtain and show device identification and the device type of the equipment bound with the user account;
Obtain device identification and the device type of the equipment of user's selection;
The device type of the equipment selected according to the user, obtains and shows the control that the equipment of user's selection includes
System order.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device of control device, described device includes:
First acquisition module, is configured as obtaining each at least one button that is pressed under screen lock state of terminal
The marking keys of each button are simultaneously constituted the first marking keys set by the marking keys of button;
Second acquisition module, is configured as according to the first marking keys set, from marking keys set, device identification
With corresponding device identification and control command are obtained in the corresponding relation of control command;
Sending module, is configured as according to the device identification, and the control is sent to the corresponding equipment of the device identification
System order, to control the equipment to perform the corresponding operation of the control command.
Optionally, second module includes:
Transmitting element, for sending inquiry request message to server, the inquiry request message carry user account and
The first marking keys set, the inquiry request message is used for the server according to the first marking keys set,
Corresponding equipment is obtained in the corresponding relation of control command from the corresponding marking keys set of the user account, device identification
Mark and control command;
Receiving unit, for receiving the query response message that the server sends, the query response message carries institute
State device identification and the control command of server acquisition.
Optionally, described device also includes:
3rd acquisition module, is configured as obtaining device identification and the control command of user's selection, and obtain terminal quilt
The marking keys of each button at least one button pressed simultaneously constitute the second marking keys set;
Preserving module, is configured as the device identification and control for selecting second marking keys set, the user
Order correspondence is stored in the corresponding relation of marking keys set, device identification and control command.
Optionally, described device also includes:
4th acquisition module, is configured as obtaining user account, the equipment for obtaining the equipment bound with the user account
The control command that mark and the equipment include;
Display module, is configured as the device identification of the display equipment bound with the user account and the equipment
Including control command.
Optionally, the 4th acquisition module includes:
Obtain display unit, for obtaining and show with the user account bind equipment device identification and equipment class
Type;
Acquiring unit, device identification and device type for obtaining the equipment of user's selection;Selected according to the user
Equipment device type, obtain and show the control command that the equipment of user selection includes.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of device of control device, including:
Processor;
Memory for storing the executable instruction of the processor;
Wherein, the processor is configured as:
Obtain the marking keys of each button at least one button that is pressed under screen lock state of terminal and by institute
The marking keys for stating each button constitute the first marking keys set;
According to the first marking keys set, from the corresponding relation of marking keys set, device identification and control command
It is middle to obtain corresponding device identification and control command;
According to the device identification, the control command is sent to the corresponding equipment of the device identification, it is described to control
Equipment performs the corresponding operation of the control command.
The technical scheme that the embodiment of the present disclosure is provided can include the following benefits:
It is under screen lock state in terminal, each button in pressing at least one button in terminal by obtaining user
Marking keys set is identified and constitutes, the equipment and control command controlled the need for obtaining correspondence according to the marking keys set,
The control command is sent to the equipment, so that the equipment performs the corresponding operation of the control command, compared to existing scheme, the disclosure
User's operation can be reduced, control efficiency is improved.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure
Example, and it is used to explain the principle of the disclosure together with specification.
Fig. 1 is a kind of flow chart of the method for the control device according to an exemplary embodiment;
Fig. 2-1 is a kind of set of configuration marking keys, device identification and the control according to another exemplary embodiment
The flow chart of the corresponding relation of order;
Fig. 2-2 is a kind of equipment choice interface schematic diagram according to another exemplary embodiment;
Fig. 2-3 is a kind of command selection interface schematic diagram according to another exemplary embodiment;
Fig. 3 is a kind of flow chart of the method for the control device according to another exemplary embodiment;
Fig. 4-1 is a kind of block diagram of the device of the control device according to an exemplary embodiment;
Fig. 4-2 is a kind of structured flowchart of second acquisition module according to an exemplary embodiment;
Fig. 4-3 is a kind of block diagram of the device of the control device according to another exemplary embodiment;
Fig. 4-4 is a kind of block diagram of the device of the control device according to another exemplary embodiment;
Fig. 4-5 is a kind of structured flowchart of 4th acquisition module according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of the device of the control device according to an exemplary embodiment.
By above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings
It is not intended to limit the scope that the disclosure is conceived by any mode with word description, but is by reference to specific embodiment
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in implementation method do not represent all implementation methods consistent with the disclosure.Conversely, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the method for the control device according to an exemplary embodiment, and the method can be wrapped
Include following several steps:
In a step 101:Obtain each button at least one button that is pressed under screen lock state of terminal by
Key identifies and the marking keys of each button is constituted into the first marking keys set.
In a step 102:According to the first marking keys set, from marking keys set, device identification and control command
Corresponding device identification and control command are obtained in corresponding relation.
In step 103:According to the device identification, the control command is sent to the corresponding equipment of the device identification, to control
Make the equipment and perform the corresponding operation of the control command.
Wherein, terminal can be the mobile terminals such as mobile phone or panel computer.
In the present embodiment, it is under screen lock state in terminal, user directly presses at least one button in terminal, eventually
End obtains at least one button, and needs device to be controlled and control to order according at least one button acquisition subscriber household
Order, the control command is sent to the equipment, so that the equipment performs the corresponding operation of the control command, compared to existing scheme, this
It is open to reduce user's operation, improve control efficiency.
User's using terminal controls the equipment in its family, it is necessary to first configuration marking keys set, device identification and control
The corresponding relation of order, then controls its family by the corresponding relation of marking keys set, device identification and control command again
In equipment perform operation.Wherein it is possible to configure marking keys set, device identification by the flow shown in below figure 2-1
With the corresponding relation of control command, and the equipment in family is controlled to perform operation by the flow being illustrated in fig. 3 shown below.
Referring to Fig. 2-1, the embodiment of the present disclosure provides a kind of set of configuration marking keys, device identification and control command
The flow of corresponding relation, the executive agent of the flow can be the mobile terminals such as mobile phone or panel computer, including:
In step 201:Device identification and the equipment of each equipment bound with the user account are obtained according to user account
Type.
This step is in order at least one button allowed in user configuring terminal is used to control certain equipment in family to hold
The corresponding operation of certain control command of row.For example, for intelligent bulbs, user can increase key and be used for the volume on configurating terminal
Control intelligent bulbs increase brightness, and the volume on configurating terminal reduces key and is used to control intelligent bulbs to reduce brightness.
User needs first to be input into user account to terminal in configuration, to allow terminal to obtain the user according to the user account
The device identification of each equipment that family includes and device type.This step can be:
Terminal obtains the user account that user provides, and is sent to server and obtains request, and acquisition request carries the user
Account;Server receive the acquisition request, according to the acquisition request carry user account, from user account, device identification with
In the corresponding relation of device type obtain with the user account binding each equipment device identification and device type, server to
Terminal sends and obtains response, and acquisition response carries the device identification and device type with each equipment of user account binding;
Terminal receives acquisition response, and the device identification with each equipment of user account binding and equipment are extracted from acquisition response
Type.
For each equipment in subscriber household, user in advance in the server can tie up the equipment with its user account
Fixed, binding procedure can be:
Equipment for needing binding, user can instruct to equipment input user account and binding;The equipment is received
The binding is instructed and the user account, obtains device identification and the device type of itself, and bind request is sent to server, and this is tied up
Fixed request carries the user account, the device identification of the equipment and device type;Server receives the bind request, and this is bound
The user account for carrying, device identification and device type correspondence is asked to be stored in user account, device identification and device type
In corresponding relation.
In step 202.:Device identification and the control command of user's selection are obtained, and obtains terminal and be pressed at least
The marking keys of each button are simultaneously constituted the second marking keys set by the marking keys of each button in one button.
In this step:The device identification of each equipment that terminal can bind with the user account and device type are shown to
User, to allow user to select device identification and the device type of the equipment of needs configuration;Terminal obtains the equipment of user's selection
Device identification and device type, the device type of the equipment selected according to user obtain each control that the equipment of user's selection includes
Order, shows each control command for obtaining, and to allow user to select control command, and obtains the control command of user's selection;Work as inspection
When measuring that at least one button is pressed in terminal, obtain marking keys that this takes each button in a few button and by each
The marking keys of button constitute the second marking keys set.
Wherein it is possible to preserve a configuration file in terminal local or server, the configuration file is used for storage device
The corresponding relation of type and control command.What the configuration file may be configured by equipment production firm, equipment production firm whenever
When designing the equipment of new type, this can be stored in by the device type of the equipment is corresponding with the control command that the equipment includes
In configuration file, the configuration file preserved in server is then updated using the configuration file.Same terminal can be from server
It is middle to obtain the configuration file and update the local configuration file for preserving.
When actually realizing, terminal can be with display device selection interface, and the equipment choice interface includes and user's account
The device identification of each equipment of number binding and device type, user can select setting for equipment in the equipment choice interface
Standby mark and device type.Terminal is preserved according to the device type that user selects from the local configuration file for preserving or server
Each control command that the equipment of user's selection includes is inquired in configuration file;Display command selection interface, command selection circle
Face includes each control command that the equipment that the device identification of the equipment of user's selection and user select includes;User can be in order
A control command, terminal is selected to obtain the control command of user's selection in selection interface.User can after have selected control command
To press at least one button in terminal, accordingly, terminal obtains this and takes few one when detecting at least one button and being pressed
The marking keys of each button are simultaneously constituted the second marking keys set by the marking keys of each button in individual button.
For example, it is assumed that including intelligent bulbs, intelligent television and intelligent refrigerator, intelligent bulbs with the equipment that user account is bound
Device identification be TID1, device type be bulb, the device identification of intelligent television is TID2, device type is TV, and
The device identification of intelligent refrigerator is TID3, device type is refrigerator.Terminal shows the equipment choice interface as shown in Fig. 2-2, should
Equipment choice interface includes the device identification TID1 and device type " bulb " of intelligent bulbs, the device identification TID2 of intelligent television
With device type " TV " and the device identification TID3 and device type " refrigerator " of intelligent refrigerator.
Then user have selected the device identification TID1 of intelligent bulbs and set in the equipment choice interface as shown in Fig. 2-2
Standby type " bulb ".Terminal obtains the device identification TID1 of intelligent bulbs and sets from the equipment choice interface as shown in Fig. 2-2
Standby type " bulb ", the control command of intelligent bulbs is obtained according to the device type " bulb ", it is assumed that the control command includes using
In increasing the increase order of brightness, reduction order, the opening order for opening bulb and for closing for reducing brightness
The shutdown command of bulb, the control command that will be obtained is included at the command selection interface of such as Fig. 2-3.User can be in such as Fig. 2-3
A control command is selected in shown command selection interface, it is assumed that have selected increase order;Terminal is from life as Figure 2-3
Make and obtain in selection interface the increase order, and when detecting user and pressing the button of terminal the button that acquisition is pressed button
Mark, it is assumed that user presses volume increases key, and it is EID1 that volume increases the marking keys of key, i.e., marking keys for EID1 simultaneously
Constitute the second marking keys set.
In step 203:The device identification that second marking keys set, user select corresponding with control command is stored in
In the corresponding relation of marking keys set, device identification and control command.
The corresponding relation of marking keys set, device identification and control command can be stored in terminal local, it is also possible to protect
Deposit server.When the corresponding relation of marking keys set, device identification and control command is stored in server, user can lead to
Cross different terminals and carry out control device.
When the corresponding relation of marking keys set, device identification and control command is stored in server, terminal is to service
Device sends and preserves request, and preservation request carries user account, the second marking keys set, the device identification and control of user's selection
System order.Server receives preservation request, according to the user account that preservation request is carried, obtains the user account corresponding
The corresponding relation of marking keys set, device identification and control command, the second marking keys for then carrying preservation request
Set, device identification and control command correspondence are stored in the corresponding marking keys set of the user account, device identification and control
In the corresponding relation of order.
For example, terminal can by the second marking keys set EID1, device identification TID1 with increase that order is corresponding is stored in
In the corresponding relation of marking keys set, device identification and control command as shown in table 1.
Table 1
Marking keys set | Device identification | Control command |
EID1 | TID1 | Increase order |
…… | …… | …… |
After corresponding at least one button of the complete equipment of user configuring, user can continue to configure other in a manner described
The corresponding button of equipment.After configuration terminates, it is possible to use the corresponding relation control of marking keys set, device identification and control command
Control equipment.Detailed control process may refer to the flow shown in Fig. 3.
Referring to Fig. 3, Fig. 3 is that the embodiment of the present disclosure provides a kind of method flow of control device, the execution master of the flow
Body can be the mobile terminals such as mobile phone or panel computer, including:
In step 301:Whether terminal is determined under screen lock state, if under screen lock state, performing step
302。
Because terminal is under screen lock state, user does not need the button in using terminal to carry out control terminal in itself, so can
Each equipment during each button of terminal is for controlling subscriber household under the screen lock state defining terminal.
In step 302:The marking keys for obtaining each button at least one button that terminal is pressed simultaneously should
The marking keys of each button constitute the first marking keys set.
User wants to control certain equipment to perform certain control command, can press this in the case where its terminal is in screen lock state
Equipment and the control command to should be in terminal at least one button.Accordingly, terminal obtains at least for being pressed by the user
The marking keys of each button in individual button.
For example, user wants that controlling intelligent bulbs to perform increases the corresponding operation for increasing brightness of order, and lock is in terminal
User can on their terminal press volume during screen state increases key.Terminal obtains the button mark of the volume increase key that user presses
Know EID1 and constitute the first marking keys set.
In step 303:According to the first marking keys set, from marking keys set, device identification and control command
Corresponding device identification and control command are obtained in corresponding relation.
When the corresponding relation of marking keys set, device identification and control command is stored in terminal local, the direct root of terminal
According to the first marking keys set, obtained from the corresponding relation of the local marking keys set, device identification and control command for preserving
Corresponding device identification and control command.
When the corresponding relation of marking keys set, device identification and control command is stored in server, terminal can be obtained
User account, inquiry request message is sent to server, and the inquiry request message carries the user account and the first marking keys
Set;Server receives the inquiry request message, according to the user account that the inquiry request message is carried, obtains the user account
The corresponding relation of corresponding marking keys set, device identification and control command;First carried according to the inquiry request message
Marking keys set, obtains from the corresponding relation of the corresponding marking keys set of the user account, device identification and control command
Corresponding device identification and control command are taken, query response message is sent to terminal, the query response message carries setting for acquisition
Standby mark and control command;The query response message that terminal the reception server sends, extracts setting for query response message carrying
Standby mark and control command.
For example, it is assumed that the corresponding relation of marking keys set, device identification and control command as shown in table 1 was stored at end
End is local, so the marking keys EID1 that the volume that terminal will can be obtained increases key constitutes the first marking keys set, according to
First marking keys set, obtains from the corresponding relation of marking keys set, device identification and control command as shown in table 1
Corresponding device identification is that " TID1 " and control command are " increasing order ".
In step 304:According to the device identification, the control command is sent to the corresponding equipment of the device identification, to control
Make the equipment and perform the corresponding operation of the control command.
For example, sent to intelligent bulbs increasing order according to device identification TID1, intelligent bulbs receive the increase order, root
Increase the luminosity of itself according to the increase order.
In the present embodiment, it is under screen lock state in terminal, acquisition user is pressed at least one button in terminal
Each marking keys and constitute marking keys set, according to the marking keys set obtain correspondence the need for control equipment and
Control command, the control command is sent to the equipment, so that the equipment performs the corresponding operation of the control command, compared to existing side
Case, the disclosure can reduce user's operation, improve control efficiency.
Following is disclosure device embodiment, can be used for performing method of disclosure embodiment.For disclosure device reality
The details not disclosed in example is applied, method of disclosure embodiment is refer to.
Fig. 4-1 is a kind of block diagram of the device 400 of the control device according to an exemplary embodiment, the device 400
Can by software, hardware or both be implemented in combination with turn into terminal it is some or all of.The device 400 can include:
First acquisition module 401, is configured as at least one button that acquisition terminal is pressed under screen lock state
The marking keys of each button are simultaneously constituted the first marking keys set by the marking keys of each button.
Second acquisition module 402, is configured as according to the first marking keys set, from marking keys set, equipment
Mark obtains corresponding device identification and control command with the corresponding relation of control command.
Sending module 403, is configured as according to the device identification, sends described to the corresponding equipment of the device identification
Control command, to control the equipment to perform the corresponding operation of the control command.
Optionally, referring to Fig. 4-2, second module 402 includes:
Transmitting element 4021, for sending inquiry request message to server, the inquiry request message carries user's account
Number and the first marking keys set, the inquiry request message be used for the server according to the first marking keys collection
Close, obtain corresponding in the corresponding relation of control command from the corresponding marking keys set of the user account, device identification
Device identification and control command;
Receiving unit 4022, for receiving the query response message that the server sends, the query response message is taken
The device identification obtained with the server and control command.
Optionally, referring to Fig. 4-3, described device 400 also includes:
3rd acquisition module 404, is configured as obtaining device identification and the control command of user's selection, and obtain terminal
The marking keys of each button at least one button being pressed simultaneously constitute the second marking keys set;
Preserving module 405, is configured as the device identification and control for selecting second marking keys set, the user
System order correspondence is stored in the corresponding relation of marking keys set, device identification and control command.
Optionally, referring to Fig. 4-4, described device 400 also includes:
4th acquisition module 406, is configured as obtaining user account, and acquisition sets with the equipment of user account binding
The control command that standby mark and the equipment include;
Display module 407, is configured as the device identification of the display equipment bound with the user account and described
The control command that equipment includes.
Optionally, referring to Fig. 4-5, the 4th acquisition module 406 includes:
Obtain display unit 4061, for obtaining and show with the user account bind equipment device identification and set
Standby type;
Acquiring unit 4062, device identification and device type for obtaining the equipment of user's selection;According to the user
The device type of the equipment of selection, obtains and shows the control command that the equipment of user's selection includes.
In the present embodiment, it is under screen lock state in terminal, acquisition user is pressed at least one button in terminal
Each marking keys and constitute marking keys set, according to the marking keys set obtain correspondence the need for control equipment and
Control command, the control command is sent to the equipment, so that the equipment performs the corresponding operation of the control command, compared to existing side
Case, the disclosure can reduce user's operation, improve control efficiency.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 5 is a kind of block diagram of the device 500 for control device according to an exemplary embodiment.For example, dress
It can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment to put 500
Equipment, body-building equipment, personal digital assistant etc..
Reference picture 5, device 500 can include following one or more assemblies:Processing assembly 502, memory 504, power supply
Component 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, and
Communication component 516.
The integrated operation of the usual control device 500 of processing assembly 502, such as with display, call, data communication, phase
Machine is operated and the associated operation of record operation.Processing assembly 502 can refer to including one or more processors 520 to perform
Order, to complete all or part of step of above-mentioned method.Additionally, processing assembly 502 can include one or more modules, just
Interaction between processing assembly 502 and other assemblies.For example, processing assembly 502 can include multi-media module, it is many to facilitate
Interaction between media component 508 and processing assembly 502.
Memory 504 is configured as storing various types of data supporting the operation in device 500.These data are shown
Example includes the instruction for any application program or method for operating on device 500, and contact data, telephone book data disappears
Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 can include power management system
System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 500.
Multimedia groupware 508 is included in one screen of output interface of offer between described device 500 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action
Border, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers
Body component 508 includes a front camera and/or rear camera.When device 500 be in operator scheme, such as screening-mode or
During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 510 is configured as output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike
Wind (MIC), when device 500 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody
It is set to reception external audio signal.The audio signal for being received can be further stored in memory 504 or via communication set
Part 516 sends.In certain embodiments, audio-frequency assembly 510 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 502 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 512
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented
Estimate.For example, sensor cluster 514 can detect the opening/closed mode of device 500, the relative positioning of component is for example described
Component is the display and keypad of device 500, and sensor cluster 514 can be with 500 1 components of detection means 500 or device
Position change, user is presence or absence of with what device 500 was contacted, the orientation of device 500 or acceleration/deceleration and device 500
Temperature change.Sensor cluster 514 can include proximity transducer, be configured to be detected when without any physical contact
The presence of neighbouring object.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In certain embodiments, the sensor cluster 514 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device
500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation
In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 516 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be by one or more application specific integrated circuits (ASIC), numeral letter
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components realization, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 504 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 520 of device 500.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the treatment of device 500
When device is performed so that device 500 is able to carry out a kind of method of control device, and methods described includes:
Obtain the marking keys of each button at least one button that is pressed under screen lock state of terminal and by institute
The marking keys for stating each button constitute the first marking keys set;
According to the first marking keys set, from the corresponding relation of marking keys set, device identification and control command
It is middle to obtain corresponding device identification and control command;
According to the device identification, the control command is sent to the corresponding equipment of the device identification, it is described to control
Equipment performs the corresponding operation of the control command.
Optionally, it is described according to the first marking keys set, from marking keys set, device identification and control command
Corresponding relation in obtain corresponding device identification and control command, including:
Inquiry request message is sent to server, the inquiry request message carries user account and the first button mark
Know set, the inquiry request message is used for the server according to the first marking keys set, from the user account
Corresponding marking keys set, device identification and corresponding device identification is obtained in the corresponding relation of control command and control life
Order;
The query response message that the server sends is received, the query response message carries what the server was obtained
Device identification and control command.
Optionally, methods described also includes:
Device identification and the control command of user's selection are obtained, and obtains at least one button that is pressed of terminal
The marking keys of each button simultaneously constitute the second marking keys set;
The device identification that second marking keys set, the user select corresponding with control command is stored in button
In the corresponding relation of logo collection, device identification and control command.
Optionally, it is described obtain user selection device identification and control command before, also include:
User account is obtained, the control that the device identification and the equipment for obtaining the equipment bound with the user account include
System order;
The control command that the device identification of the display equipment bound with the user account and the equipment include.
Optionally, the control that the device identification of the equipment that the acquisition is bound with the user account and the equipment include
Order, including:
Obtain and show device identification and the device type of the equipment bound with the user account;
Obtain device identification and the device type of the equipment of user's selection;
The device type of the equipment selected according to the user, obtains and shows the control that the equipment of user's selection includes
System order.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and
And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.
Claims (11)
1. a kind of method of control device, it is characterised in that methods described includes:
The marking keys of each button at least one button that acquisition terminal is pressed under screen lock state simultaneously will be described every
The marking keys of individual button constitute the first marking keys set;
According to the first marking keys set, obtained from the corresponding relation of marking keys set, device identification and control command
Take corresponding device identification and control command;
According to the device identification, the control command is sent to the corresponding equipment of the device identification, to control the equipment
Perform the corresponding operation of the control command.
2. the method for claim 1, it is characterised in that described according to the first marking keys set, from button mark
Know set, device identification and corresponding device identification and control command are obtained in the corresponding relation of control command, including:
Inquiry request message is sent to server, the inquiry request message carries user account and the first marking keys collection
Close, the inquiry request message is used for the server according to the first marking keys set, from user account correspondence
Marking keys set, device identification obtain corresponding device identification and control command with the corresponding relation of control command;
The query response message that the server sends is received, the query response message carries the equipment that the server is obtained
Mark and control command.
3. the method for claim 1, it is characterised in that methods described also includes:
Device identification and the control command of user's selection are obtained, and obtains each at least one button that is pressed of terminal
The marking keys of button simultaneously constitute the second marking keys set;
The device identification that second marking keys set, the user select corresponding with control command is stored in marking keys
In the corresponding relation of set, device identification and control command.
4. method as stated in claim 3, it is characterised in that the device identification of the acquisition user selection and control command it
Before, also include:
User account is obtained, the control that the device identification and the equipment for obtaining the equipment bound with the user account include is ordered
Order;
The control command that the device identification of the display equipment bound with the user account and the equipment include.
5. method as claimed in claim 4, it is characterised in that the equipment of the equipment that the acquisition is bound with the user account
The control command that mark and the equipment include, including:
Obtain and show device identification and the device type of the equipment bound with the user account;
Obtain device identification and the device type of the equipment of user's selection;
The device type of the equipment selected according to the user, obtains and shows the control life that the equipment of user's selection includes
Order.
6. a kind of device of control device, it is characterised in that described device includes:
First acquisition module, is configured as obtaining each button at least one button that terminal is pressed under screen lock state
Marking keys and the marking keys of each button are constituted into the first marking keys set;
Second acquisition module, is configured as according to the first marking keys set, from marking keys set, device identification and control
Corresponding device identification and control command are obtained in the corresponding relation for making order;
Sending module, is configured as according to the device identification, and the control life is sent to the corresponding equipment of the device identification
Order, to control the equipment to perform the corresponding operation of the control command.
7. device as claimed in claim 6, it is characterised in that second module includes:
Transmitting element, for sending inquiry request message to server, the inquiry request message carries user account and described
First marking keys set, the inquiry request message is used for the server according to the first marking keys set, from institute
State the corresponding marking keys set of user account, device identification and obtain corresponding device identification with the corresponding relation of control command
And control command;
Receiving unit, for receiving the query response message that the server sends, the query response message carries the clothes
Device identification and control command that business device is obtained.
8. device as claimed in claim 6, it is characterised in that described device also includes:
3rd acquisition module, is configured as obtaining device identification and the control command of user's selection, and acquisition terminal is pressed
At least one button in each button marking keys and constitute the second marking keys set;
Preserving module, is configured as device identification and the control command for selecting second marking keys set, the user
Correspondence is stored in the corresponding relation of marking keys set, device identification and control command.
9. the device as shown in claim 8, it is characterised in that described device also includes:
4th acquisition module, is configured as obtaining user account, obtains the device identification of the equipment bound with the user account
The control command included with the equipment;
Display module, the device identification and the equipment for being configured as the display equipment bound with the user account includes
Control command.
10. device as claimed in claim 9, it is characterised in that the 4th acquisition module includes:
Obtain display unit, for obtaining and show with the user account bind equipment device identification and device type;
Acquiring unit, device identification and device type for obtaining the equipment of user's selection;According to setting that the user selects
Standby device type, obtains and shows the control command that the equipment of user's selection includes.
A kind of 11. devices of control device, it is characterised in that including:
Processor;
Memory for storing the executable instruction of the processor;
Wherein, the processor is configured as:
The marking keys of each button at least one button that acquisition terminal is pressed under screen lock state simultaneously will be described every
The marking keys of individual button constitute the first marking keys set;
According to the first marking keys set, obtained from the corresponding relation of marking keys set, device identification and control command
Take corresponding device identification and control command;
According to the device identification, the control command is sent to the corresponding equipment of the device identification, to control the equipment
Perform the corresponding operation of the control command.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710116598.4A CN106933111B (en) | 2017-02-28 | 2017-02-28 | Method and device for controlling equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710116598.4A CN106933111B (en) | 2017-02-28 | 2017-02-28 | Method and device for controlling equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106933111A true CN106933111A (en) | 2017-07-07 |
CN106933111B CN106933111B (en) | 2020-10-30 |
Family
ID=59423948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710116598.4A Active CN106933111B (en) | 2017-02-28 | 2017-02-28 | Method and device for controlling equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106933111B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995355A (en) * | 2017-11-08 | 2018-05-04 | 浙江凯耀照明股份有限公司 | A kind of fast simple mobile phone control light method |
CN108494580A (en) * | 2018-02-07 | 2018-09-04 | 海尔优家智能科技(北京)有限公司 | A kind of method, medium, terminal and the equipment of update facility information |
CN110196671A (en) * | 2018-02-27 | 2019-09-03 | 杭州海康威视数字技术股份有限公司 | A kind of device management method, apparatus and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312526A (en) * | 2012-03-07 | 2013-09-18 | 施耐德电气东南亚(总部)有限公司 | Binding and pairing method, control system and control equipment |
CN104111727A (en) * | 2014-06-24 | 2014-10-22 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104346100A (en) * | 2014-10-17 | 2015-02-11 | 广东欧珀移动通信有限公司 | Method and device for rapidly operating smart mobile terminal in blank screen state |
CN104503688A (en) * | 2014-12-31 | 2015-04-08 | 小米科技有限责任公司 | Intelligent hardware device control achieving method and device |
US20150370272A1 (en) * | 2014-06-23 | 2015-12-24 | Google Inc. | Intelligent configuration of a smart environment based on arrival time |
US20160178226A1 (en) * | 2013-12-11 | 2016-06-23 | International Business Machines Corporation | Intelligent thermostat control system |
CN106303004A (en) * | 2016-08-04 | 2017-01-04 | 北京奇虎科技有限公司 | The way of recording, device and mobile terminal under screen lock state |
-
2017
- 2017-02-28 CN CN201710116598.4A patent/CN106933111B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312526A (en) * | 2012-03-07 | 2013-09-18 | 施耐德电气东南亚(总部)有限公司 | Binding and pairing method, control system and control equipment |
US20160178226A1 (en) * | 2013-12-11 | 2016-06-23 | International Business Machines Corporation | Intelligent thermostat control system |
US20150370272A1 (en) * | 2014-06-23 | 2015-12-24 | Google Inc. | Intelligent configuration of a smart environment based on arrival time |
US20160261425A1 (en) * | 2014-06-23 | 2016-09-08 | Google Inc. | Methods and apparatus for using smart environment devices via application program interfaces |
CN104111727A (en) * | 2014-06-24 | 2014-10-22 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104346100A (en) * | 2014-10-17 | 2015-02-11 | 广东欧珀移动通信有限公司 | Method and device for rapidly operating smart mobile terminal in blank screen state |
CN104503688A (en) * | 2014-12-31 | 2015-04-08 | 小米科技有限责任公司 | Intelligent hardware device control achieving method and device |
CN106303004A (en) * | 2016-08-04 | 2017-01-04 | 北京奇虎科技有限公司 | The way of recording, device and mobile terminal under screen lock state |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995355A (en) * | 2017-11-08 | 2018-05-04 | 浙江凯耀照明股份有限公司 | A kind of fast simple mobile phone control light method |
CN108494580A (en) * | 2018-02-07 | 2018-09-04 | 海尔优家智能科技(北京)有限公司 | A kind of method, medium, terminal and the equipment of update facility information |
CN108494580B (en) * | 2018-02-07 | 2022-02-25 | 海尔优家智能科技(北京)有限公司 | Method, medium, terminal and device for updating device information |
CN110196671A (en) * | 2018-02-27 | 2019-09-03 | 杭州海康威视数字技术股份有限公司 | A kind of device management method, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN106933111B (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106020784A (en) | Method and device for displaying application message, and terminal | |
CN105372998A (en) | A method and a device for binding of intelligent apparatuses | |
CN104503740A (en) | Memory management method and device | |
CN105516508A (en) | Method and device for activating virtual SIM card | |
CN105068467B (en) | Control the method and device of smart machine | |
CN105338083A (en) | Interface display method and interface display device | |
CN104898505A (en) | Smart scene configuration method and device | |
CN105306718A (en) | Event prompting method and device | |
CN104679599A (en) | Application program duplicating method and device | |
CN104298424A (en) | File operation method and device | |
CN104375760B (en) | Method for information display and device | |
CN106933111A (en) | A kind of method and device of control device | |
CN105187671A (en) | Recording method and device | |
CN105515923A (en) | Equipment control method and device | |
CN104679386A (en) | Method and device for carrying out sound recording processing | |
CN104536753B (en) | Backlog labeling method and device | |
CN105204712A (en) | Method and device for displaying icons of folder | |
CN104780256A (en) | Address book management method and device and intelligent terminal | |
CN104539497A (en) | Network connecting method and device | |
CN107369923A (en) | Antenna module and terminal | |
CN106878654A (en) | The method and device of video communication | |
CN106658668A (en) | Information processing method and device | |
CN106936986A (en) | Application processing method and device | |
CN104066210B (en) | Double-card dual-standby mobile communication terminal management system and mobile communication terminal | |
CN104836882A (en) | Method and device for processing contact information |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |