Nothing Special   »   [go: up one dir, main page]

CN105892912A - Instruction generation method and device - Google Patents

Instruction generation method and device Download PDF

Info

Publication number
CN105892912A
CN105892912A CN201610186123.8A CN201610186123A CN105892912A CN 105892912 A CN105892912 A CN 105892912A CN 201610186123 A CN201610186123 A CN 201610186123A CN 105892912 A CN105892912 A CN 105892912A
Authority
CN
China
Prior art keywords
generation
signal
equipment
secondary signal
control instruction
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.)
Pending
Application number
CN201610186123.8A
Other languages
Chinese (zh)
Inventor
谭康喜
崔巍
孙韬正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610186123.8A priority Critical patent/CN105892912A/en
Publication of CN105892912A publication Critical patent/CN105892912A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an instruction generation method and device, and belongs to the field of the mobile terminal. The instruction generation method is applied to first equipment and comprises the following steps: generating a first signal when an operation which acts on the first equipment is induced; receiving a second signal, wherein the second signal is generated and sent when second equipment induces the operation which acts on the first equipment; and according to the first signal and the second signal, generating a control instruction. The problem that a user operation is limited to one piece of electronic equipment when a user uses the electronic equipment is solved, and the effect that first equipment and second equipment are used for generating a control instruction, and then, the equipment is controlled to increase the use scene of the electronic equipment can be achieved.

Description

Instruction generates method and device
Technical field
It relates to field of mobile terminals, generate method and device particularly to one instruction.
Background technology
Along with expanding economy, a user would generally have multiple mobile terminal, and user can utilize simultaneously Same multimedia file is manipulated by two or more mobile terminals.Such as, need as user When showing a pictures, it is possible to use two mobile terminals show this pictures, the most each mobile terminal jointly Each a portion showing this pictures, the picture of the displaying in two mobile terminals collectively constitute one complete Whole picture.
Disclosure
Being limited in the problem of in an electronic equipment to solve user operation, the disclosure provides one to refer to Order generates method and device.Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of instruction generation method, the method is applied to the In one equipment, the method includes:
The first signal is generated when sensing the operation acting on the first equipment;
Receiving secondary signal, secondary signal is that the second equipment is raw when sensing the operation acting on the second equipment Become and send;
Control instruction is generated according to the first signal and secondary signal.
Optionally, generate control instruction according to the first signal and secondary signal, including:
Obtain the generation parameter of the first signal and the generation parameter of secondary signal, generate parameter include generating track, Generation dynamics and at least one in the generation time;
Generation parameter and the generation parameter of secondary signal according to the first signal generate control instruction.
Optionally, generate control instruction according to the generation parameter of the first signal and the generation parameter of secondary signal, Including:
When generating parameter and including the generation time and generate track, detect the generation time and second of the first signal Whether the time interval between the generation time of signal is less than predetermined threshold;
If time interval is less than predetermined threshold, then according to generation track and the generation of secondary signal of the first signal Track Pick-up control instruction.
Optionally, generate control instruction according to the generation parameter of the first signal and the generation parameter of secondary signal, Including:
When generating parameter and including generation dynamics and generate track, detect the generation dynamics and second of the first signal Whether the ratio between the generation dynamics of signal is less than predetermined ratio;
If ratio is less than predetermined ratio, then according to generation track and the generation track of secondary signal of the first signal Generate control instruction.
Optionally, generate control instruction according to the generation parameter of the first signal and the generation parameter of secondary signal, Including:
When generating parameter and including generation time, generation dynamics and generate track, detect the generation of the first signal Whether the time interval between the generation time of time and secondary signal is less than predetermined threshold, and detects the first letter Number generation dynamics and the generation dynamics of secondary signal between ratio whether less than predetermined ratio;
If time interval is less than predetermined threshold, and ratio is less than predetermined ratio, then according to the generation of the first signal The generation Track Pick-up control instruction of track and secondary signal.
Optionally, it is characterised in that method also includes:
Perform the operation indicated by control instruction;
Or,
Control instruction is sent to the second equipment, and the second equipment is for performing the operation indicated by control instruction.
Optionally, it is characterised in that control instruction is sent to the second equipment, including:
When receiving the secondary signal that at least two the second equipment sends, from least two the second equipment really Fixed the second in running order equipment;
Control instruction is sent to the second equipment determined.
Second aspect according to disclosure embodiment, it is provided that a kind of command generating device, in the first equipment, This device includes:
Signal generation module, is configured to when sensing the operation acting on the first equipment generate the first signal;
Receiver module, is configured to receive secondary signal, and secondary signal is the second equipment to be acted on sensing Generate and send during the operation of the second equipment;
Directive generation module, the first signal and the receiver module that are configured to generate according to signal generation module connect The secondary signal received generates control instruction.
Optionally, directive generation module, including:
Obtain submodule, be configured to obtain the generation parameter of the generation parameter of the first signal and secondary signal, Generate parameter to include generating track, generation dynamics and at least one in the generation time;
Generate submodule, be configured to according to the generation parameter and second obtaining the first signal that submodule obtains The generation parameter of signal generates control instruction.
Optionally, generate submodule, including:
First detection sub-module, is configured as generating parameter and includes that the generation time, with when generating track, is detected Whether the time interval generated between time and the generation time of secondary signal of the first signal is less than predetermined threshold Value;
First generates submodule, if being configured to the first detection sub-module to detect that time interval is less than predetermined threshold Value, then according to generation track and the generation Track Pick-up control instruction of secondary signal of the first signal.
Optionally, including:
Second detection sub-module, is configured as generating parameter and includes that generation dynamics, with when generating track, detects Whether the ratio between generation dynamics and the generation dynamics of secondary signal of the first signal is less than predetermined ratio;
Second generates submodule, if being configured to the second detection sub-module to detect that ratio is less than predetermined ratio, Then according to generation track and the generation Track Pick-up control instruction of secondary signal of the first signal.
Optionally, including:
3rd detection sub-module, is configured as generating parameter and includes generation time, generation dynamics and generate rail During mark, detect the time interval between the generation time of the first signal and the generation time of secondary signal the least In predetermined threshold, and the ratio detected between the generation dynamics of the first signal and the generation dynamics of secondary signal is No less than predetermined ratio;
3rd generates submodule, if being configured to the 3rd detection sub-module to detect that time interval is less than predetermined threshold Value, and ratio is less than predetermined ratio, then according to generation track and the generation track of secondary signal of the first signal Generate control instruction.
Optionally, device also includes:
First performs module, is configured to perform the operation indicated by control instruction;
Or,
Second performs module, is configured to be sent to control instruction the second equipment, and the second equipment is used for performing Operation indicated by control instruction.
Optionally, second performs module, including:
Receive submodule, when being configured as the secondary signal receiving the transmission of at least two the second equipment, from At least two the second equipment determines the second in running order equipment;
Send submodule, be configured to the second equipment being sent to control instruction determine.
The third aspect according to disclosure embodiment, it is provided that a kind of command generating device, in the first equipment, This device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
The first signal is generated when sensing the operation acting on the first equipment;
Receiving secondary signal, secondary signal is that the second equipment is raw when sensing the operation acting on the second equipment Become and send;
Control instruction is generated according to the first signal and secondary signal.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
By generating the first signal when sensing the operation acting on described first equipment;Receive secondary signal, Described secondary signal is that the second equipment generates and sends when sensing the operation acting on described second equipment 's;Control instruction is generated according to described first signal and described secondary signal;Solve user and use electronics During equipment, user operation is limited in the problem on an electronic equipment;Reach to utilize the first equipment and Two equipment generate control instruction, then are controlled equipment, add the effect of the use scene of electronic equipment.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, can not Limit the disclosure.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the disclosure Embodiment, and in description together for explaining the principle of the disclosure.
Fig. 1 is showing according to a kind of implementation environment instructing generation method shown in disclosure exemplary embodiment It is intended to;
Fig. 2 is according to a kind of flow chart instructing generation method shown in the disclosure one exemplary embodiment;
Fig. 3 A is according to a kind of flow chart instructing generation method shown in disclosure another exemplary embodiment;
Fig. 3 B is according to a kind of flow chart instructing generation method shown in disclosure another exemplary embodiment;
Fig. 3 C is according to a kind of flow chart instructing generation method shown in disclosure another exemplary embodiment;
Fig. 3 D is according to a kind of flow chart instructing generation method shown in disclosure another exemplary embodiment;
Fig. 4 is according to a kind of flow process instructing generation method shown in disclosure another exemplary embodiment;
Fig. 5 is the block diagram according to a kind of command generating device shown in the disclosure one exemplary embodiment;
Fig. 6 is the block diagram according to a kind of command generating device shown in disclosure another exemplary embodiment;
Fig. 7 is the block diagram according to a kind of command generating device shown in the disclosure one exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following retouches Stating when relating to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the disclosure Formula.On the contrary, they only with describe in detail in appended claims, the disclosure some in terms of mutually one The method caused and the example of method.
Refer to Fig. 1, it illustrates a kind of enforcement instructed involved by generation method that disclosure embodiment provides The schematic diagram of environment, as it is shown in figure 1, this implementation environment can include first equipment the 120, second equipment 140.
First equipment 120 is the equipment with data transmission capabilities, and the first equipment 120 has touch screen, or Trackpad, or physical button, such as smart mobile phone, panel computer, bluetooth desk lamp, Intelligent bracelet, bluetooth Audio amplifier.
Second equipment 140 and the first equipment 120 have same or analogous function.Optionally, the second equipment The quantity of 140 is at least one.
Optionally, the first equipment 120 can send message in LAN, sets up even with the second equipment 140 Connect and communicate.This LAN can be WIFI (Wireless Fidelity, Wireless Fidelity) LAN, meets The ethernet local area network etc. of RJ45 (Registered Jack 45, the socket 45 of registration) cable interface standard.Or, First equipment 120 and the second equipment 140 by Bluetooth technology, NFC (Near Field Communication, Near-field communication) technology, RFID (Radio Frequency Identification, RF identification) technology set up even Connect and communicate.Disclosure embodiment is to the connected mode between the first equipment 120 and the second equipment 140, logical Letter mode does not limits.
Optionally, the second equipment 140 is the slave of the first equipment 120, and it is right that the first equipment 120 has The control ability of the second equipment 140.
Optionally, also including server in this implementation environment, this server is that the first equipment 120 and second sets Standby 140 common background servers, such as: the first equipment 120 and the second equipment 140 are bundled in same Under account number, server is the background server that account is corresponding;Or, the account logged in the first equipment 120 Number with the second equipment 140 in log in account number be friend relation, server is the background server that account number is corresponding.
There is provided it should be noted that the first equipment 120 and the second equipment 140 all can perform disclosure embodiment Instruction generate method, disclosure embodiment illustrates with the first equipment 120 for executive agent.
Refer to Fig. 2, it illustrates the flow process of the instruction generation method that one exemplary embodiment of the disclosure provides Figure.This instruction generates method and can perform by the first equipment as shown in Figure 1.As in figure 2 it is shown, this instruction generates Method may comprise steps of.
In step 202., the first signal is generated when sensing the operation acting on the first equipment.
User operates in the touch area of the first equipment or key area, and the first equipment senses Touch Zone The first signal is generated during the operation of territory or key area.
In step 204, receiving secondary signal, secondary signal is the second equipment acts on second sensing Generate and send during the operation of equipment.
First equipment receives secondary signal.
Optionally, there is incidence relation, such as in the first equipment and the second equipment: the first equipment and the second equipment In same LAN, or the first equipment and the second apparatus bound are under same account number, or second Equipment is to log in the account number and the second equipment logged in the slave of the first equipment, or the first equipment Account number is friend relation.
User operates in the touch area of the second equipment or key area, and the second equipment senses Touch Zone Generate secondary signal during the operation of territory or key area, and secondary signal is sent to the first equipment.
It should be noted that this step can also perform before step 202, this is walked by disclosure embodiment Rapid execution sequence does not limits.
In step 206, control instruction is generated according to the first signal and secondary signal.
First equipment generates control instruction according to the first signal and secondary signal.
In sum, the instruction that disclosure embodiment is provided generates method, is being sensed by the first equipment Generate the first signal when acting on the operation of the first equipment, receive secondary signal, according to the first signal and second Signal generates control instruction;Solve user use electronic equipment time, user operation is limited in an electricity Problem on subset;Reach to utilize the first equipment and the second equipment to generate control instruction, then equipment has been entered Row controls, and adds the effect of the use scene of electronic equipment.
Refer to Fig. 3 A, the instruction generation method of another exemplary embodiment of disclosure offer is provided Flow chart.The present embodiment generates method with this instruction can the first equipment execution as shown in Figure 1.Such as figure Shown in 3A, this instruction generates method and may comprise steps of:
In step 301, the first signal is generated when sensing the operation acting on the first equipment.
User operates in the touch area of the first equipment or key area, and the first equipment senses Touch Zone The first signal is generated during the operation of territory or key area.
In step 302, receiving secondary signal, secondary signal is the second equipment acts on second sensing Generate and send during the operation of equipment.
First equipment receives secondary signal.
Optionally, there is incidence relation, such as in the first equipment and the second equipment: the first equipment and the second equipment In same LAN, or the first equipment and the second apparatus bound are under same account number, or second Equipment is to log in the account number and the second equipment logged in the slave of the first equipment, or the first equipment Account number is friend relation.
User operates in the touch area of the second equipment or key area, and the second equipment senses Touch Zone Generate secondary signal during the operation of territory or key area, and secondary signal is sent to the first equipment.
It should be noted that this step can also perform before step 301, this is walked by disclosure embodiment Rapid execution sequence does not limits.
In step 303, the generation parameter of the first signal and the generation parameter of secondary signal are obtained.
Generate parameter to include generating track, generation dynamics and at least one in the generation time.
Optionally, generating track is the route that user operates on the touch area or key area of equipment, than As, the finger of user slides on the touch area of the first equipment, then the slip route of the finger of user is exactly The generation track of the first signal.
Optionally, generation dynamics is the dynamics that user presses on the touch area or key area of equipment.
Optionally, the generation time is that equipment generates signal when sensing and acting on touch area or key area Time.
Step 304, generates control instruction according to the generation parameter of the first signal and the generation parameter of secondary signal.
This step has following several embodiments:
One, when generating parameter and including the generation time and generate track, as shown in Figure 3 B:
In step 3041, detect between the generation time of the first signal and the generation time of secondary signal time Between be spaced whether less than predetermined threshold.
Optionally, predetermined threshold is that user pre-sets, or the time of acquiescence in equipment.
Such as: predetermined threshold is 2 seconds, first equipment Inspection the first signal generate time and secondary signal Whether the time interval between the generation time is less than 2 seconds.
In step 3042, if time interval is less than predetermined threshold, then according to the generation track of the first signal and The generation Track Pick-up control instruction of secondary signal.
During in order to avoid user's touches device by mistake, equipment response is touched the signal of generation due to false touch, is needed detection Whether the time interval generated between time and the generation time of secondary signal of the first signal is less than predetermined threshold Value, when the time interval generated between time and the generation time of secondary signal of the first signal is less than predetermined threshold During value, explanation is that user on purpose operates on equipment, then the first equipment is according to the generation rail of the first signal The generation Track Pick-up control instruction of mark and secondary signal.
Optionally, the first equipment generates track and the generation Track Pick-up control of secondary signal according to the first signal The method of system instruction has a variety of, such as, when the type of the first signal and the type of secondary signal are different, By the generation track synthesis generating track and secondary signal of the first signal, the first equipment closes according to presetting correspondence System generates the control instruction corresponding with the generation track after synthesis;Or, when the type and second of the first signal The type of signal is identical, and the first signal generate track different from the generation track of secondary signal time, by the After the generation track synthesis generating track and secondary signal of one signal, the first equipment is according to default corresponding relation Generate the control instruction corresponding with the generation track after synthesis;Or, when type and second letter of the first signal Number type identical, and the first signal generate track identical with the generation track of secondary signal time, first sets The standby control instruction corresponding according to the generation Track Pick-up generating track or secondary signal of the first signal.Wherein, Preset the corresponding relation corresponding relation generated between track and control instruction after recording synthesis
Such as: the type of the first signal is for clicking on, and the type of secondary signal is slip, the generation of the first signal Track is a point, and the generation track of secondary signal is to slide 2 centimetres to the right, then the control that the first equipment generates System instruction is for choosing and sliding 2 centimetres to the right;Or, the type of the first signal and the type of secondary signal are all Being to slide, the generation track of the first signal is for sliding laterally 2 centimetres, and the generation track of secondary signal is horizontal Slide 1 centimetre, then the generation track after the generation track synthesis generating track and secondary signal of the first signal For sliding laterally 3 centimetres, then the first equipment generates and generates track is to slide laterally 3 centimetres of corresponding controls Instruction;Or, the type of the first signal and the type of secondary signal are all to rotate, the generation rail of the first signal Mark be radius be the circle of 10 millimeters, secondary signal generate track be radius be the circle of 10 millimeters, then first Equipment with generate the round corresponding control instruction that track is 10 millimeters.
Two, when generating parameter and including generation dynamics and generate track, as shown in Figure 3 C:
In step 3043, detect the ratio between the generation dynamics of the first signal and the generation dynamics of secondary signal Whether value is less than predetermined ratio.
Optionally, predetermined ratio is that user pre-sets, or the numerical value of acquiescence in equipment.
Such as: predetermined ratio is 0.9, the generation dynamics of first equipment Inspection the first signal and the life of secondary signal Whether the ratio between one-tenth dynamics is less than 0.9.
In step 3044, if ratio is less than predetermined ratio, then according to the generation track and second of the first signal The generation Track Pick-up control instruction of signal.
During in order to avoid user's touches device by mistake, equipment response is touched the signal of generation due to false touch, is needed detection Whether the ratio between generation dynamics and the generation dynamics of secondary signal of the first signal is less than predetermined ratio, when When ratio between generation dynamics and the generation dynamics of secondary signal of the first signal is less than predetermined ratio, explanation Be that user on purpose operates on equipment, then the first equipment is believed according to the generation track and second of the first signal Number generation Track Pick-up control instruction.
First equipment sees according to the concrete grammar generating track generating track and secondary signal of the first signal Above-mentioned steps 3042, repeats no more here.
Three, when generating parameter and including generation time, generation dynamics and generate track, as shown in Figure 3 D:
In step 3045, detect between the generation time of the first signal and the generation time of secondary signal time Between be spaced whether less than predetermined threshold, and detect the generation dynamics of the first signal and the generation dynamics of secondary signal Between ratio whether less than predetermined ratio.
Optionally, the first equipment can detect the generation time of the first signal and the generation time of secondary signal simultaneously Between time interval whether less than predetermined threshold, and the generations dynamics of the first signal and the life of secondary signal Whether the ratio between one-tenth dynamics is less than predetermined ratio;Or, the first equipment first detects the generation of the first signal Whether the time interval between the generation time of time and secondary signal is less than predetermined threshold, then detects the first letter Number generation dynamics and the generation dynamics of secondary signal between ratio whether less than predetermined ratio;Or, the One equipment first detects whether the ratio between the generation dynamics of the first signal and the generation dynamics of secondary signal is less than Predetermined ratio, then detect the time interval between the generation time of the first signal and the generation time of secondary signal Whether less than predetermined threshold.
In step 3046, if time interval is less than predetermined threshold, and ratio is less than predetermined ratio, then basis The generation track of the first signal and the generation Track Pick-up control instruction of secondary signal.
First equipment sees according to the concrete grammar generating track generating track and secondary signal of the first signal Above-mentioned steps 3042, repeats no more here.
In step 305, the operation indicated by control instruction is performed.
First equipment performs the operation indicated by control instruction.
Optionally, the operation that in the first equipment, control store instruction is corresponding with control instruction, and control instruction And the corresponding relation between operation.
Such as: the operation indicated by control instruction that the first equipment generates is page turning, then the first equipment performs to turn over The operation of page.
In sum, the instruction that disclosure embodiment is provided generates method, is being sensed by the first equipment Generate the first signal when acting on the operation of the first equipment, receive secondary signal, according to the first signal and second Signal generates control instruction;Solve user use electronic equipment time, user operation is limited in an electricity Problem on subset;Reach to utilize the first equipment and the second equipment to generate control instruction, then equipment has been entered Row controls, and adds the effect of the use scene of electronic equipment.
Additionally, the instruction that disclosure embodiment is provided generates method, believe also by the first equipment Inspection first Number the time interval generated between time and the generation time of secondary signal whether less than predetermined threshold, or Whether the generation dynamics of the generation dynamics of the first signal or secondary signal that detects less than predetermined ratio, it is to avoid because of with Family false touch is touched and is generated control instruction, improves Consumer's Experience.
In alternative embodiment based on embodiment as shown in Figure 3A, the first equipment is generating after control instruction, Control instruction can also be sent to the second equipment, the second equipment perform the operation indicated by control instruction, I.e. above-mentioned steps 305 is substituted realization by step 405 to step 406, as shown in Figure 4:
In step 405, when receiving the secondary signal that at least two the second equipment sends, from least two Individual second equipment determines the second in running order equipment.
Optionally, the second equipment sends secondary signal, the mark of the second equipment and the shape of the second equipment simultaneously State, the first equipment receives secondary signal, the mark of the second equipment transmission and the state that the second equipment sends simultaneously, And the mark and state according to the second equipment determines the second in running order equipment.
In a step 406, control instruction is sent to the second equipment determined.
Optionally, the first equipment sends control instruction according to the mark of the second equipment to the second equipment, receives Second equipment of the control instruction that the first equipment sends performs the operation indicated by control instruction.
Optionally, the first equipment and the second equipment are carried out the operation indicated by control instruction.
Such as: the first equipment and second equipment show a pictures jointly, the first equipment exhibiting pictures Half, second half of the second equipment exhibiting pictures, when the first equipment generates according to the first signal and secondary signal The operation indicated by control instruction when being 90-degree rotation counterclockwise, control instruction is sent to by the first equipment Two equipment, the first equipment and the second equipment are carried out the operation indicated by control instruction, and the i.e. first equipment is by exhibition The picture 90-degree rotation counterclockwise shown, the picture 90-degree rotation counterclockwise that the second equipment also will be shown.
If it should be noted that during only one of which the second equipment, the first equipment receives what the second equipment sent After secondary signal, the most in running order without judging the second equipment when sending control instruction, but directly Connect second equipment that control instruction is sent to, the second equipment perform the operation indicated by control instruction.
Additionally, the instruction that provided of disclosure embodiment generates method, also by when receive at least two the During the secondary signal that two equipment send, from least two the second equipment, determine that in running order second sets Standby so that the second equipment in resting state need not to be waken up up, reduce the energy of the second equipment to a certain extent Consumption.
Refer to Fig. 5, it illustrates the structure square frame of the command generating device that one embodiment of the disclosure provides Figure.This command generating device can pass through software, hardware or both be implemented in combination with become above-mentioned and provide The all or part of the electronic equipment of instruction generation method.This device includes:
Signal generation module 510, is configured to when sensing the operation acting on the first equipment generate the first letter Number.
Receiver module 520, is configured to receive secondary signal, and secondary signal is that the second equipment is sensing effect Generate and send when the operation of the second equipment.
Directive generation module 530, is configured to the first signal and the reception generated according to signal generation module 510 Module receives the secondary signal of 520 and generates control instruction.
In sum, the command generating device that disclosure embodiment is provided, sensed by the first equipment Generate the first signal when acting on the operation of the first equipment, receive secondary signal, according to the first signal and second Signal generates control instruction;Solve user use electronic equipment time, user operation is limited in an electricity Problem on subset;Reach to utilize the first equipment and the second equipment to generate control instruction, then equipment has been entered Row controls, and adds the effect of the use scene of electronic equipment.
Refer to Fig. 6, it illustrates the structure square frame of the command generating device that another embodiment of the disclosure provides Figure.This command generating device can pass through software, hardware or both be implemented in combination with become above-mentioned and provide The all or part of the electronic equipment of instruction generation method.This device includes:
Signal generation module 610, is configured to when sensing the operation acting on the first equipment generate the first letter Number.
Receiver module 620, is configured to receive secondary signal, and secondary signal is that the second equipment is sensing effect Generate and send when the operation of the second equipment.
Directive generation module 630, is configured to the first signal and the reception generated according to signal generation module 610 Module receives the secondary signal of 620 and generates control instruction.
Optionally, directive generation module 630, including:
Obtain submodule 631, be configured to obtain the generation ginseng of the generation parameter of the first signal and secondary signal Number, generates parameter and includes generating track, generation dynamics and at least one in the generation time;
Generate submodule 632, be configured to according to the generation parameter obtaining the first signal that submodule 631 obtains Control instruction is generated with the generation parameter of secondary signal.
Optionally, according to generating submodule 632, including:
First detection sub-module 6321, be configured as generate parameter include the generation time and generate track time, Whether detect the time interval between the generation time of the first signal and the generation time of secondary signal less than predetermined Threshold value;
First generates submodule 6322, if being configured to the first detection sub-module 6321 to detect that time interval is little In predetermined threshold, then according to generation track and the generation Track Pick-up control instruction of secondary signal of the first signal.
Optionally, according to generating submodule 632, including:
Second detection sub-module 6323, be configured as generate parameter include generation dynamics and generate track time, Whether detect the ratio between the generation dynamics of the first signal and the generation dynamics of secondary signal less than pre-definite proportion Value;
Second generates submodule 6324, if being configured to the second detection sub-module 6323, to detect that ratio is less than pre- Definite proportion value, then according to generation track and the generation Track Pick-up control instruction of secondary signal of the first signal.
Optionally, generate submodule 632, including:
3rd detection sub-module 6325, is configured as generating parameter and includes generation time, generation dynamics and life When becoming track, the time interval detected between the generation time of the first signal and the generation time of secondary signal is No less than predetermined threshold, and detect the ratio between the generation dynamics of the first signal and the generation dynamics of secondary signal Whether value is less than predetermined ratio;
3rd generates submodule 6326, if being configured to the 3rd detection sub-module 6325 to detect that time interval is little In predetermined threshold, and ratio is less than predetermined ratio, then generate track and secondary signal according to the first signal Generate Track Pick-up control instruction.
Optionally, this device also includes:
First performs module 640, is configured to perform the operation indicated by control instruction;
Or,
Second performs module 650, is configured to be sent to control instruction the second equipment, and the second equipment is used for holding Operation indicated by row control instruction.
Optionally, second performs module 650, including:
Receive submodule 651, when being configured as the secondary signal receiving the transmission of at least two the second equipment, The second in running order equipment is determined from least two the second equipment;
Send submodule 652, be configured to the second equipment being sent to control instruction determine.
In sum, the command generating device that disclosure embodiment is provided, sensed by the first equipment Generate the first signal when acting on the operation of the first equipment, receive secondary signal, according to the first signal and second Signal generates control instruction;Solve user use electronic equipment time, user operation is limited in an electricity Problem on subset;Reach to utilize the first equipment and the second equipment to generate control instruction, then equipment has been entered Row controls, and adds the effect of the use scene of electronic equipment.
Additionally, the command generating device that disclosure embodiment is provided, believe also by the first equipment Inspection first Number the time interval generated between time and the generation time of secondary signal whether less than predetermined threshold, or Whether the generation dynamics of the generation dynamics of the first signal or secondary signal that detects less than predetermined ratio, it is to avoid because of with Family false touch is touched and is generated control instruction, improves Consumer's Experience.
Additionally, the command generating device that disclosure embodiment is provided, also by when receive at least two the During the secondary signal that two equipment send, from least two the second equipment, determine that in running order second sets Standby so that the second equipment in resting state need not to be waken up up, reduce the energy of the second equipment to a certain extent Consumption.
The disclosure also provides for a kind of command generating device, and this device includes: processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
The first signal is generated when sensing the operation acting on the first equipment;
Receiving secondary signal, secondary signal is that the second equipment is raw when sensing the operation acting on the second equipment Become and send;
Control instruction is generated according to the first signal and secondary signal.
In sum, the command generating device that disclosure embodiment is provided, sensed by the first equipment Generate the first signal when acting on the operation of the first equipment, receive secondary signal, according to the first signal and second Signal generates control instruction;Solve user use electronic equipment time, user operation is limited in an electricity Problem on subset;Reach to utilize the first equipment and the second equipment to generate control instruction, then equipment has been entered Row controls, and adds the effect of the use scene of electronic equipment.
Fig. 7 is according to a kind of device that can be used for performing command generating device shown in an exemplary embodiment Block diagram.Such as, device 700 can be mobile phone, computer, digital broadcast terminal, and information receiving and transmitting sets Standby, game console, tablet device, armarium, body-building equipment, personal digital assistant etc..
With reference to Fig. 7, device 700 can include following one or more assembly: processes assembly 702, memorizer 704, power supply module 707, multimedia groupware 708, audio-frequency assembly 710, input/output (I/O) interface 712, Sensor cluster 714, and communications component 717.
Process assembly 702 and generally control the integrated operation of device 700, such as with display, call, number The operation being associated according to communication, camera operation and record operation.Process assembly 702 and can include one or many Individual processor 718 performs instruction, to complete all or part of step of above-mentioned device.Additionally, process Assembly 702 can include one or more module, it is simple to process between assembly 702 and other assemblies is mutual. Such as, process assembly 702 and can include multi-media module, to facilitate multimedia groupware 708 and to process assembly Mutual between 702.
Memorizer 704 is configured to store various types of data to support the operation at device 700.These The example of data includes any application program for operation on device 700 or the instruction of device, contact person Data, telephone book data, message, picture, video etc..Memorizer 704 can be by any kind of volatile Property or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), Programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, Disk or CD.
The various assemblies that power supply module 706 is device 700 provide electric power.Power supply module 706 can include electricity Management system, one or more power supplys, and other generate, manage and distribute electric power phase with for device 700 The assembly of association.
The screen of one output interface of offer that multimedia groupware 708 is included between device 700 and user. In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen Curtain includes that touch panel, screen may be implemented as touch screen, to receive the input signal from user.Touch Touch panel and include that one or more touch sensor is with the gesture on sensing touch, slip and touch panel.Touch Touch sensor and can not only sense touch or the border of sliding action, but also detect and touch or slide Relevant persistent period and pressure.In certain embodiments, multimedia groupware 708 includes a preposition shooting Head and/or post-positioned pick-up head.When device 700 is in operator scheme, during such as screening-mode or video mode, front Put photographic head and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and rearmounted Photographic head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 710 is configured to output and/or input audio signal.Such as, audio-frequency assembly 710 includes One mike (MIC), when device 700 is in operator scheme, such as call model, logging mode and voice During recognition mode, mike is configured to receive external audio signal.The audio signal received can be entered One step is stored in memorizer 704 or sends via communications component 716.In certain embodiments, audio-frequency assembly 710 also include a speaker, are used for exporting audio signal.
I/O interface 712 provides interface, above-mentioned peripheral interface for processing between assembly 702 and peripheral interface module Module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: home button, sound Amount button, start button and locking press button.
Sensor cluster 714 includes one or more sensor, for providing various aspects for device 700 State estimation.Such as, what sensor cluster 714 can detect device 700 opens/closed mode, assembly Relative localization, such as assembly is display and the keypad of device 700, and sensor cluster 714 is all right Detection the device 700 or position change of 700 1 assemblies of device, existence that user contacts with device 700 or Do not exist, device 700 orientation or acceleration/deceleration and the variations in temperature of device 700.Sensor cluster 714 can To include proximity transducer, it is configured to when there is no any physical contact object near detecting. Sensor cluster 714 can also include optical sensor, such as CMOS or ccd image sensor, is used for becoming Use as in application.In certain embodiments, this sensor cluster 714 can also include acceleration transducer, Gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor and fingerprint Identification sensor.
Communications component 716 is configured to facilitate the logical of wired or wireless mode between device 700 and other equipment Letter.Device 700 can access wireless network based on communication standard, such as Wi-Fi, 2G or 3G, or they Combination.In one exemplary embodiment, communications component 716 receives wide from outside via broadcast channel The broadcast singal of broadcast management system or broadcast related information.In one exemplary embodiment, communications component 716 Also include near-field communication (NFC) module, to promote junction service.Such as, can be based on penetrating in NFC module Frequency identifies (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, indigo plant Tooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 700 can by one or more application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), Field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are real Existing, it is used for performing above-mentioned command generating device.
In the exemplary embodiment, a kind of non-transitory computer-readable storage medium including instruction is additionally provided Matter, such as, include the memorizer 704 of instruction, and above-mentioned instruction can be performed by the processor 718 of device 700 with complete Become above-mentioned command generating device.Such as, non-transitory computer-readable recording medium can be ROM, random Access memorizer (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to these public affairs Other embodiment opened.The application is intended to any modification, purposes or the adaptations of the disclosure, These modification, purposes or adaptations are followed the general principle of the disclosure and include that the disclosure is not disclosed Common knowledge in the art or conventional techniques means.Description and embodiments is considered only as exemplary , the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to accurate knot described above and illustrated in the accompanying drawings Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by appended Claim limits.

Claims (15)

1. an instruction generation method, it is characterised in that being applied in the first equipment, described method includes:
The first signal is generated when sensing the operation acting on described first equipment;
Receiving secondary signal, described secondary signal is the second equipment acts on described second equipment sensing Generate and send during operation;
Control instruction is generated according to described first signal and described secondary signal.
Method the most according to claim 1, it is characterised in that described according to described first signal and institute State secondary signal and generate control instruction, including:
Obtain the generation parameter of described first signal and the generation parameter of described secondary signal, described generation parameter Including generating track, generation dynamics and at least one in the generation time;
Described generation parameter and the described generation parameter of described secondary signal according to described first signal generate institute State control instruction.
Method the most according to claim 2, the described described generation parameter according to described first signal and The described generation parameter of described secondary signal generates described control instruction, including:
When described generation parameter includes the generation time and generates track, when detecting the generation of described first signal Between and the generation time of described secondary signal between time interval whether less than predetermined threshold;
If described time interval is less than described predetermined threshold, then according to generation track and the institute of described first signal State control instruction described in the generation Track Pick-up of secondary signal.
Method the most according to claim 2, the described described generation parameter according to described first signal and The described generation parameter of described secondary signal generates described control instruction, including:
When described generation parameter includes generation dynamics and generates track, detect the generative power of described first signal Whether the ratio between degree and the generation dynamics of described secondary signal is less than predetermined ratio;
If described ratio is less than described predetermined ratio, then according to the generation track of described first signal and described the Control instruction described in the generation Track Pick-up of binary signal.
Method the most according to claim 2, the described described generation parameter according to described first signal and The described generation parameter of described secondary signal generates described control instruction, including:
When described generation parameter includes generation time, generation dynamics and generates track, detect described first letter Number the time interval generated between time and the generation time of described secondary signal whether less than predetermined threshold, And it is the least to detect the ratio between generation dynamics and the generation dynamics of described secondary signal of described first signal In predetermined ratio;
If described time interval is less than described predetermined threshold, and described ratio is less than described predetermined ratio, then root According to control instruction described in the generation Track Pick-up generating track and described secondary signal of described first signal.
6. according to the arbitrary described method of claim 1 to 5, it is characterised in that described method also includes:
Perform the operation indicated by described control instruction;
Or,
Described control instruction is sent to described second equipment, and described second equipment is used for performing described control and refers to Operation indicated by order.
Method the most according to claim 6, it is characterised in that described described control instruction is sent to Described second equipment, including:
When receiving the secondary signal that at least two the second equipment sends, from described at least two the second equipment Middle determine the second in running order equipment;
Described control instruction is sent to described second equipment determined.
8. a command generating device, it is characterised in that in the first equipment, described device includes:
Signal generation module, is configured to when sensing the operation acting on described first equipment generate first Signal;
Receiver module, is configured to receive secondary signal, and described secondary signal is that the second equipment is sensing work Generate and send when the operation of described second equipment;
Directive generation module, is configured to described first signal and the institute generated according to described signal generation module State the described secondary signal generation control instruction that receiver module receives.
Device the most according to claim 8, it is characterised in that described directive generation module, including:
Obtain submodule, be configured to obtain generation parameter and the life of described secondary signal of described first signal Becoming parameter, described generation parameter includes generating track, generation dynamics and at least one in the generation time;
Generate submodule, be configured to the described life of described first signal obtained according to described acquisition submodule The described generation parameter becoming parameter and described secondary signal generates described control instruction.
Device the most according to claim 9, described generation submodule, including:
First detection sub-module, be configured as described generation parameter include the generation time and generate track time, Whether the time interval between generation time and the generation time of described secondary signal of detecting described first signal Less than predetermined threshold;
First generates submodule, if being configured to described first detection sub-module to detect that described time interval is little In described predetermined threshold, then according to generation track and the generation track of described secondary signal of described first signal Generate described control instruction.
11. devices according to claim 9, described generation submodule, including:
Second detection sub-module, be configured as described generation parameter include generation dynamics and generate track time, Whether the ratio detected between generation dynamics and the generation dynamics of described secondary signal of described first signal is less than Predetermined ratio;
Second generates submodule, if being configured to described second detection sub-module to detect that described ratio is less than institute State predetermined ratio, then according to generation track and the generation Track Pick-up of described secondary signal of described first signal Described control instruction.
12. devices according to claim 9, described generation submodule, including:
3rd detection sub-module, is configured as described generation parameter and includes generation time, generation dynamics and life Become track time, between generation time and the generation time of described secondary signal of detecting described first signal time Between be spaced whether less than predetermined threshold, and detect the generation dynamics of described first signal and described secondary signal Whether the ratio between generation dynamics is less than predetermined ratio;
3rd generates submodule, if being configured to described 3rd detection sub-module to detect that described time interval is little In described predetermined threshold, and described ratio is less than described predetermined ratio, then according to the generation of described first signal Control instruction described in the generation Track Pick-up of track and described secondary signal.
13. according to Claim 8 to 12 arbitrary described devices, it is characterised in that described device also includes:
First performs module, is configured to perform the operation indicated by described control instruction;
Or,
Second performs module, is configured to be sent to described control instruction described second equipment, and described second Equipment is for performing the operation indicated by described control instruction.
14. devices according to claim 13, it is characterised in that described second performs module, including:
Receive submodule, when being configured as the secondary signal receiving the transmission of at least two the second equipment, from Described at least two the second equipment determines the second in running order equipment;
Send submodule, be configured to described second equipment being sent to described control instruction determine.
15. 1 kinds of command generating devices, it is characterised in that in the first equipment, described device includes:
Processor;
For storing the memorizer of described processor executable;
Wherein, described processor is configured to:
The first signal is generated when sensing the operation acting on described first equipment;
Receiving secondary signal, described secondary signal is the second equipment acts on described second equipment sensing Generate and send during operation;
Control instruction is generated according to described first signal and described secondary signal.
CN201610186123.8A 2016-03-29 2016-03-29 Instruction generation method and device Pending CN105892912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610186123.8A CN105892912A (en) 2016-03-29 2016-03-29 Instruction generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610186123.8A CN105892912A (en) 2016-03-29 2016-03-29 Instruction generation method and device

Publications (1)

Publication Number Publication Date
CN105892912A true CN105892912A (en) 2016-08-24

Family

ID=57013965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610186123.8A Pending CN105892912A (en) 2016-03-29 2016-03-29 Instruction generation method and device

Country Status (1)

Country Link
CN (1) CN105892912A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999248A (en) * 2011-07-18 2013-03-27 罗技欧洲公司 Remote control user interface for handheld device
CN103530043A (en) * 2012-07-02 2014-01-22 腾讯科技(深圳)有限公司 Operation method and device for touch screen application program
CN103995667A (en) * 2014-05-14 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal screen unlocking method
CN104144184A (en) * 2013-05-08 2014-11-12 华为终端有限公司 Method for controlling far-end device and electronic devices
CN104765553A (en) * 2013-12-13 2015-07-08 中兴通讯股份有限公司 Control method and device for electronic apparatus having touch sensitive display, and electronic apparatus thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999248A (en) * 2011-07-18 2013-03-27 罗技欧洲公司 Remote control user interface for handheld device
CN103530043A (en) * 2012-07-02 2014-01-22 腾讯科技(深圳)有限公司 Operation method and device for touch screen application program
CN104144184A (en) * 2013-05-08 2014-11-12 华为终端有限公司 Method for controlling far-end device and electronic devices
CN104765553A (en) * 2013-12-13 2015-07-08 中兴通讯股份有限公司 Control method and device for electronic apparatus having touch sensitive display, and electronic apparatus thereof
CN103995667A (en) * 2014-05-14 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal screen unlocking method

Similar Documents

Publication Publication Date Title
CN106020784A (en) Method and device for displaying application message, and terminal
CN105933899A (en) Access method and device of wireless access point
CN104506443B (en) Router sets interface display method and device
CN105068467B (en) Control the method and device of smart machine
CN104159218A (en) Network connection establishment method and device
CN105975156A (en) Application interface display method and device
CN105392141A (en) Device control method and device
CN106446185A (en) Product recommendation method and device and server
CN105898573A (en) Method and device for multimedia file playing
CN107330391A (en) Product information reminding method and device
CN104820549A (en) Method, device and terminal for transmitting social networking application message
CN106792041A (en) Content share method and device
CN106101177A (en) Network access method and device
CN105491518A (en) Method and device for social reminding based on wearable devices
CN106572010A (en) Data package grabbing method and device, and terminal
CN107404429A (en) Circle of friends answering method, device and computer-readable recording medium
CN104539497B (en) Method for connecting network and device
CN104883603B (en) Control method for playing back, system and terminal device
CN104184888A (en) Call transfer method, device and terminal
CN106339452B (en) Event response method and device
CN107463809A (en) The display methods and device of application icon
CN106535194A (en) Screen content sharing method, device and system
CN107133551A (en) Fingerprint authentication method and device
CN105894281A (en) Payment method and device
CN107133550A (en) Fingerprint authentication method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160824

RJ01 Rejection of invention patent application after publication