CN110381349A - A kind of method and terminal based on small routine control smart machine - Google Patents

A kind of method and terminal based on small routine control smart machine Download PDF

Info

Publication number
CN110381349A
CN110381349A CN201910499962.9A CN201910499962A CN110381349A CN 110381349 A CN110381349 A CN 110381349A CN 201910499962 A CN201910499962 A CN 201910499962A CN 110381349 A CN110381349 A CN 110381349A
Authority
CN
China
Prior art keywords
controlled
control
target apparatus
default
small routine
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
CN201910499962.9A
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.)
SHENZHEN CULTRAVIEW DIGITAL TECHNOLOGY CO LTD
Original Assignee
SHENZHEN CULTRAVIEW DIGITAL TECHNOLOGY 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 SHENZHEN CULTRAVIEW DIGITAL TECHNOLOGY CO LTD filed Critical SHENZHEN CULTRAVIEW DIGITAL TECHNOLOGY CO LTD
Priority to CN201910499962.9A priority Critical patent/CN110381349A/en
Publication of CN110381349A publication Critical patent/CN110381349A/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/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor

Abstract

The present invention is suitable for field of computer technology, provide a kind of method and terminal based on small routine control smart machine, this method comprises: when detecting through default small routine and the foundation communication connection of target apparatus to be controlled, in the interactive interface display simulation mouse control region of the default small routine;User is obtained in the touch operation of the simulation mouse control region input;The corresponding default control function of touch location and the touch operation based on the touch operation, determines control instruction;The control instruction is sent to the target apparatus to be controlled.The embodiment of the present invention, connection is established by default small routine and target apparatus to be controlled, obtain the control instruction that the touch operation inputted in the simulation mouse control region based on default small routine generates, control instruction is sent to target apparatus to be controlled, it triggers target apparatus to be controlled and executes the corresponding predetermined registration operation of control instruction, control user can to target apparatus to be controlled whenever and wherever possible.

Description

A kind of method and terminal based on small routine control smart machine
Technical field
The invention belongs to field of computer technology more particularly to a kind of methods and end based on small routine control smart machine End.
Background technique
With the development of cybertimes, people for television set manipulation in addition to traditional TV remote controller, also develop Some mobile terminal remote control equipments based on smart phone.Either traditional TV remote controller or mobile terminal remote control are set It is standby, it is all by the cursor in the key mobile television in manipulation remote controler, thus the option for choosing user to need to manipulate.This The cumbersome control mode of kind, so that it is highly inconvenient when user's manipulation television set, the speed that user manipulates television set is reduced, is held Easily there is maloperation.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method and terminal based on small routine control smart machine, with It solves in the prior art, the mode of tradition manipulation television set is all by the light in the key mobile television in manipulation remote controler Mark, so that the option for choosing user to need to manipulate, causes user highly inconvenient when manipulating television set, manipulation speed is slow, is easy There is the problem of maloperation.
The first aspect of the embodiment of the present invention provides a kind of method based on small routine control smart machine, comprising:
When detecting through default small routine and the foundation communication connection of target apparatus to be controlled, in the default small routine Interactive interface display simulation mouse control region;
User is obtained in the touch operation of the simulation mouse control region input;
The corresponding default control function of touch location and the touch operation based on the touch operation determines control Instruction;
The control instruction is sent to the target apparatus to be controlled;The control instruction is to be controlled for triggering the target Equipment executes the corresponding predetermined registration operation of the control instruction.
The second aspect of the embodiment of the present invention provides a kind of terminal, which includes:
Display unit, for when detect established by default small routine and target apparatus to be controlled communicate to connect when, in institute State the interactive interface display simulation mouse control region of default small routine;
Acquiring unit, for obtaining user in the touch operation of the simulation mouse control region input;
Determination unit, for touch location and the corresponding default control of the touch operation based on the touch operation Function determines control instruction;
Transmission unit, for the control instruction to be sent to the target apparatus to be controlled;The control instruction is for touching It sends out target apparatus to be controlled described and executes the corresponding predetermined registration operation of the control instruction.
The third aspect of the embodiment of the present invention provides another terminal, including processor, input equipment, output equipment and Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein the memory is for storing branch The computer program that terminal executes the above method is held, the computer program includes program instruction, and the processor is configured to use In calling described program instruction, following steps are executed:
When detecting through default small routine and the foundation communication connection of target apparatus to be controlled, in the default small routine Interactive interface display simulation mouse control region;
User is obtained in the touch operation of the simulation mouse control region input;
The corresponding default control function of touch location and the touch operation based on the touch operation determines control Instruction;
The control instruction is sent to the target apparatus to be controlled;The control instruction is to be controlled for triggering the target Equipment executes the corresponding predetermined registration operation of the control instruction.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program performs the steps of when being executed by processor
When detecting through default small routine and the foundation communication connection of target apparatus to be controlled, in the default small routine Interactive interface display simulation mouse control region;
User is obtained in the touch operation of the simulation mouse control region input;
The corresponding default control function of touch location and the touch operation based on the touch operation determines control Instruction;
The control instruction is sent to the target apparatus to be controlled;The control instruction is to be controlled for triggering the target Equipment executes the corresponding predetermined registration operation of the control instruction.
A kind of method and terminal device based on small routine control smart machine provided in an embodiment of the present invention has following The utility model has the advantages that
The embodiment of the present invention is established connection by default small routine and target apparatus to be controlled, is obtained based on default small routine Simulation mouse control region in the control instruction that generates of the touch operation that inputs, control instruction is sent to target is to be controlled to be set Standby, triggering target apparatus to be controlled executes the corresponding predetermined registration operation of control instruction.Based on small routine operate, allow user at any time Target apparatus to be controlled is controlled everywhere;And refer to due to generating control by the touch operation of simulation mouse control region input It enables, the control to target apparatus to be controlled is further realized, so that very convenient when user's control target apparatus to be controlled;Promote user The speed of target apparatus to be controlled is controlled, so that control is more accurate.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation process for method based on small routine control smart machine that one embodiment of the invention provides Figure;
Fig. 2 is target apparatus to be controlled display interface schematic diagram provided by the invention;
Fig. 3 be another embodiment of the present invention provides it is a kind of based on small routine control smart machine method implementation process Figure;
Fig. 4 is a kind of schematic diagram for terminal that one embodiment of the invention provides;
Fig. 5 be another embodiment of the present invention provides a kind of terminal schematic diagram.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Referring to Figure 1, Fig. 1 is a kind of showing for method based on small routine control smart machine provided in an embodiment of the present invention Meaning flow chart.The executing subject of method based on small routine control smart machine in the present embodiment is terminal, and terminal includes but not It is limited to the mobile terminals such as smart phone, tablet computer, palm PC (Personal Digital Assistant, PDA).Such as figure Method based on small routine control smart machine shown in 1 can include:
S101: when detect established by default small routine and target apparatus to be controlled communicate to connect when, it is described preset it is small The interactive interface display simulation mouse control region of program.
Default small routine is a kind of application that does not need downloading installation and can use at the terminal, and user can pass through scanning Small routine code or search small routine title, that is, openable application.Default small routine be may operate in terminal for controlling intelligence The small routine of terminal device, default small routine can be wechat small routine, Alipay small routine, Baidu's small routine etc., Yong Huke It presets, does not limit this according to the actual situation.
Terminal is detecting the default small routine of user's starting, and is communicated by default small routine with the foundation of target apparatus to be controlled When connection, simulation mouse control region is shown in the interactive interface of default small routine.Simulation mouse control region is existed by terminal It creates and shows in the interactive interface of default small routine, user can carry out the operation of simulation mouse in this region, pass through these Operated target control apparatus to be controlled.It such as clicks any position in the region, double-click any position in the region, in the zone Slide etc. is carried out behind certain position in progress slide, the long-pressing region, is merely illustrative herein, this is not limited It is fixed.
Target apparatus to be controlled refers to the intelligent terminal that can be networked, such as television set, air-conditioning, refrigerator, projector.
Specifically, user pre-actuates default small routine at the terminal, terminal by default small routine with target is to be controlled sets It is standby to establish communication connection.Terminal is when detecting that default small routine and target apparatus to be controlled establish communication connection, in default little Cheng Simulation mouse control region is shown in the interactive interface of sequence.
Further, S101 can specifically include: when detecting through default small routine and target apparatus to be controlled for the first time When establishing communication connection, according to pre-set dimension and predeterminated position, creates and show in the interactive interface of the default small routine The simulation mouse control region.
Pre-set dimension is user's pre-set size according to the actual situation, and terminal can determine creation mould according to pre-set dimension When quasi- mouse control region, size of the simulation mouse control region in the display interface of default small routine;Predeterminated position is The position that user is arranged according to the actual situation, when terminal can determine creation simulation mouse control region according to predeterminated position, the mould Position of the quasi- control area in the display interface of default small routine.
Further, terminal and target apparatus to be controlled can establish communication connection in same local area network, can also be wide Communication connection is established in the net of domain.When being in local area network, after target apparatus to be controlled starting up, it is initial to will do it network service Change, so that the other equipment in local area network may search for target apparatus to be controlled.When terminal detect access to LAN and When having been started up default small routine, the apparatus to be controlled of access to LAN is searched for by presetting small routine.It is to be controlled when searching target When equipment, establishes and communicate to connect with target apparatus to be controlled.When detect default small routine and target apparatus to be controlled be for the first time build When vertical communication connection, according to pre-set dimension and predeterminated position, is created in the interactive interface of default small routine and show simulation mouse Mark control area.
Further, can identification information be arranged for target apparatus to be controlled in advance in user, and target apparatus to be controlled can also give birth to automatically At identification information.Identification information can be digital coding, two dimensional code, bar code etc., not limit this.When in wide area network When, user can obtain identification information, service by presetting the two dimensional code on small routine scanning target apparatus to be controlled display screen The identification information of multiple apparatus to be controlled is previously stored in device, when the identification information of target apparatus to be controlled is sent to service by terminal After device, server searches the identification information of target apparatus to be controlled in the database, when the mark for finding target apparatus to be controlled is believed When breath, the communication connection between terminal and target apparatus to be controlled is established.If terminal and target apparatus to be controlled are to establish to lead to for the first time Letter connection, terminal create in the interactive interface of default small routine according to pre-set dimension and predeterminated position and show simulation mouse Control area.
When simulating mouse control region due to creation, the interactive interface in default small routine of the simulation mouse control region In size and position all obtained by user preset so that be created that come simulation mouse control region more meet making for user With habit, the experience sense of user is improved, and is set as the operating area of user's habit, control target is further improved and waits for Control the speed of equipment.
S102: user is obtained in the touch operation of the simulation mouse control region input.
Terminal obtains user in the touch operation of simulation mouse control region input, and specifically, user can be in default little Cheng Touch operation is carried out in the simulation mouse control region that the interactive interface of sequence is shown;Touch operation can be user in simulation mouse Any operation with control function of control area input, touch operation can be clicking operation, slide, drag operation Deng;Wherein, clicking operation can be single-click operation, double click operation, double hit operation etc..When detect user simulation mouse control When any touch operation of region input, the operation of user's input is immediately obtained.
S103: the corresponding default control function of touch location and the touch operation based on the touch operation, really Determine control instruction.
Terminal determines control according to the corresponding touch location of touch operation and the corresponding default control function of touch operation Instruction.When user carries out any touch operation to simulation mouse control region, it is corresponding that terminal can all record the touch operation Touch location, if the touch operation be slide or drag operation, terminal can record accordingly the slide with And the motion track of the drag operation.Wherein, default control function is set by user corresponding with touch operation for controlling The function of target apparatus to be controlled.
Specifically, terminal obtains user in the clicking operation of simulation mouse control region input, and record the clicking operation Corresponding location information and the corresponding default control function of the clicking operation are based on the location information and default control function Control instruction can be generated;For example, the corresponding default control function of clicking operation can be " checking ", " opening ", " closing " etc..
Terminal determines control according to the corresponding touch location of touch operation and the corresponding default control function of touch operation Instruction is also possible to terminal and obtains user in the slide of simulation mouse control region input, and records and rise in the slide The key coordinate information of crucial touch point, determines the slide with this in the coordinate information of beginning touch point and the slide Sliding trace, control is determined according to the origin coordinates information, sliding trace and the corresponding default control function of the sliding trace System instruction;The corresponding control function of slide is corresponding with sliding trace and currently shows picture for controlling target apparatus to be controlled Middle icon is mobile.
Terminal determines control according to the corresponding touch location of touch operation and the corresponding default control function of touch operation Instruction can also be that terminal obtains user in the drag operation of simulation mouse control region input, and record rising for the drag operation Beginning touching position information determines the corresponding dragging track of drag operation, based on the initial touch location information to drag track pair The default control function of answering, determines control instruction;The corresponding control function of drag operation is corresponding with dragging track and for controlling Target apparatus to be controlled moves region to be dragged along dragging track.
Further, in order to preferably determine control instruction, user is made more accurately to control target apparatus to be controlled, when described When touch operation is clicking operation, S103 may include S1031-S1032;When the touch operation is the first slide, S103 may include S1033-S1035;When the touch operation is drag operation, S103 may include S1036-S1037.It needs To illustrate that S1031-S1032, S1033-S1035 and S1036-S1037 three are arranged side by side, it is not necessary to be held after S1032 Row S1033-S1037.When touch operation difference, S103 may include S1031-S1032 perhaps S1033-S1035 or S1036-S1037.Can also according to different touch operations, any combination execute S1031-S1032, S1033-S1035 and S1036-S1037, or repeat any of them.Such as.User first carries out clicking operation, then carries out sliding behaviour Make, corresponding terminal first carries out S1031-S1032, then executes S1033-S1035.It above are only exemplary illustration, this do not done It limits.
Further, when the touch operation is clicking operation, S103 may include S1031-S1032, specific as follows:
S1031: obtaining the corresponding first location information of the clicking operation, and obtains the clicking operation corresponding the One default control function.
When simulating the touch operation of mouse control region input is clicking operation, terminal obtains the clicking operation and is working as Corresponding first location information in front simulation mouse control region, and obtain the corresponding first default control function of the clicking operation Energy.Wherein, the first default control function is that user is pre-set corresponding with clicking operation for controlling target apparatus to be controlled Function.Clicking operation can be single-click operation, double click operation, double hit operation etc..Double hit operation refers to be connected within a preset time The continuous number for clicking simulation mouse control region same position is more than or equal to three times.
When clicking operation is single-click operation, the corresponding first location information of the clicking operation is obtained, passes through this first Confidence breath can determine that first location information display subregion affiliated in the picture that target apparatus to be controlled is currently shown is corresponding First display content, at this point, the first default control function be confirmation, that is, open the corresponding first location information of the clicking operation The display content in picture under corresponding position is shown in target apparatus to be controlled, it can be understood as opens the first display content;Work as a little Hit operation be double click operation when, the first default control function be F.F., i.e., exist to the corresponding first location information of the clicking operation Target apparatus to be controlled shows that the display content in picture under corresponding position carries out F.F.;When clicking operation is that double hit operates, the One default control function is rewind, i.e., shows in picture to the corresponding first location information of the clicking operation in target apparatus to be controlled Display content under corresponding position carries out rewind.Above-mentioned default control function is merely illustrative, and user can be according to practical feelings Condition is configured, and is not limited this.
S1032: it is based on the first location information and the first default control function, determines the first control instruction; First control instruction includes the first location information;The first location information is used to indicate the target apparatus to be controlled Display subregion and its corresponding first display content belonging to determining the first location information in the picture currently shown.
Terminal determines the first control instruction according to first location information and the first default control function.Wherein, the first control System instruction includes first location information;The first location information can indicate that target apparatus to be controlled determines that first location information is being worked as Display subregion and corresponding first display content belonging in the picture of preceding display.
Specifically, target apparatus to be controlled can currently show lookup and first position in picture according to first location information The corresponding position of information, and obtain display subregion belonging to the position and corresponding display content.As shown in Fig. 2, user exists When simulating mouse control region progress touch operation, knows for the ease of user and shown in picture to target apparatus to be controlled at present Which region controlled, the corresponding icon for having an arrowhead form in the display picture of target apparatus to be controlled, convenient for use Family is checked.Target apparatus to be controlled can be automatically determined according to first location information in current display picture with first location information pair The position answered, if the first location information position of corresponding position where " member prefecture " in currently display picture, first Default control function is " checking ", the first control instruction are as follows: check member prefecture;If first location information is in currently display picture In corresponding position be position where " play record ", the first default control function is " checking ", the first control instruction are as follows: look into See broadcasting record.Control instruction is merely illustrative at this time, is not limited this.
Further, when the touch operation is the first slide, S103 may include S1033-S1035, specifically It is as follows:
S1033: the origin coordinates information of initial touch point in first slide is obtained, and obtains each key The corresponding key coordinate information in touch point.
First slide refers to the slide that white space of the user directly in simulation mouse control region carries out.When When simulating the touch operation of mouse control region input is slide, terminal obtains initial touch point in the slide The coordinate information of touch point when origin coordinates information, i.e. user just touch simulation mouse control region;When touch operation is to slide When dynamic operation, terminal can detect the crucial touch point in the slide, and obtain the corresponding crucial seat in each crucial touch point Mark information.Specifically, terminal can obtain the crucial touch point in this slide according to preset duration, i.e., when every default Current touch point of long just acquisition is denoted as crucial touch point, and obtains the key coordinate information of the key touch point.Wherein, in advance If duration can be configured according to the actual situation by user, it is known that, the duration of setting is shorter, and the crucial touch point of acquisition is more, The sliding trace obtained from is more accurate.
S1034: being based on the origin coordinates information and each key coordinate information, determines the first sliding behaviour Make corresponding sliding trace.
Terminal is based on the corresponding key coordinate information of origin coordinates information and multiple crucial touch points, determines first The corresponding sliding trace of slide.Specifically, origin coordinates information and each key coordinate information that terminal will acquire by Sequencing arrangement connects all touch points, obtained track is i.e. according to the coordinate position that each coordinate information indicates For sliding trace.
S1035: it is preset based on the origin coordinates information, the sliding trace and the sliding trace corresponding second Control function determines the second control instruction;Second control instruction includes the origin coordinates information;The origin coordinates letter Breath is used to indicate the target apparatus to be controlled and determines origin coordinates information display affiliated in the picture currently shown point Area and its corresponding second display content.
Terminal is determined according to origin coordinates information, sliding trace and the corresponding second default control function of sliding trace Second control instruction.Wherein, the second control instruction includes origin coordinates information;The origin coordinates information can indicate that target is to be controlled Equipment determines origin coordinates information display subregion affiliated in the picture currently shown and corresponding second display content.
Second default control function is preset by user, and the control function is corresponding with sliding trace and for controlling target Apparatus to be controlled currently shows that icon is mobile in picture.The icon as shown in the upper right corner Fig. 2, user are defeated in simulation mouse control region Enter slide, generate sliding trace, the icon in target apparatus to be controlled moves accordingly according to sliding trace.
Target apparatus to be controlled can search and origin coordinates information pair in currently display picture according to origin coordinates information The position answered, and display subregion belonging to the position and corresponding display content are obtained, be conducive to user in this way and know target Current icon is moved to the region for wanting movement convenient for user's control icon on which display content in apparatus to be controlled In.Specifically, target apparatus to be controlled obtains the resolution ratio and the resolution ratio of itself of terminal, and calculates target apparatus to be controlled and show Quotient between the corresponding resolution ratio of region long side resolution ratio corresponding with terminal display area long side, is denoted as the first numerical value;It calculates Quotient between the corresponding resolution ratio of target apparatus to be controlled display area short side resolution ratio corresponding with terminal display area short side, note For second value;The product for calculating the abscissa and the first numerical value in origin coordinates information, obtains target lateral coordinates;Starting is calculated to sit The product for marking the ordinate and second value in information, obtains target ordinate;It is true based on target lateral coordinates and target ordinate Determine starting coordinate position target position information corresponding in the picture that target apparatus to be controlled is currently shown.Record target position The information corresponding display content of display subregion affiliated in target apparatus to be controlled.
Further, target apparatus to be controlled can be automatically determined according to origin coordinates information in current display picture with starting The corresponding position of coordinate information, if origin coordinates information is currently showing that corresponding position is where " member prefecture " in picture Position, sliding trace are as follows: slide three centimetres horizontally to the right, the second default control function are as follows: it is to be controlled to move target along sliding trace Icon in equipment, the second control instruction are as follows: icon is slid into " film is selected " from " member prefecture ".Control instruction is only at this time For exemplary illustration, do not limit this.
Further, when the touch operation is drag operation, S103 may include S1036-S1037, specific as follows:
S1036: obtaining the initial touch location information of the drag operation, and obtains that the drag operation is corresponding to be dragged Dynamic rail mark.
When simulating the touch operation of mouse control region input is drag operation, terminal obtains to be originated in drag operation Touching position information, and obtain the corresponding dragging track of drag operation.Specifically, terminal detects user in simulation mouse control When region touches same position more than preset duration, marking this touch operation is drag operation, obtains the position of the touch point Information is denoted as initial touch location information;And successively obtain the corresponding coordinate in each key touch point letter in this drag operation Breath determines the corresponding dragging track of the drag operation according to the corresponding coordinate information in each key touch point.
S1037: according to the corresponding third default control function of the initial touch location information and the dragging track, Determine third control instruction;The third control instruction includes the initial touch location information;The initial touch position letter Breath be used to indicate the target apparatus to be controlled determine the initial touch location information in the picture currently shown belonging to it is aobvious Show that subregion and its corresponding third show content;The third control instruction is for triggering the target apparatus to be controlled according to institute It states dragging track and drags the third display content.
Terminal determines third control according to the corresponding third default control function of initial touch location information and dragging track System instruction.Wherein, third control instruction includes initial touch location information;The initial touch location information can indicate that target waits for Control equipment determines that initial touch location information display subregion and corresponding third affiliated in the picture currently shown are shown Content.Third control instruction shows content according to dragging track dragging third for triggering target apparatus to be controlled.
Third default control function is preset by user, and the control function is corresponding with dragging track and for controlling target Apparatus to be controlled moves region to be dragged along dragging track.Target apparatus to be controlled can be according to initial touch location information current It shows and searches position corresponding with initial touch location information in picture, and obtain display subregion and correspondence belonging to the position Display content.As shown in Fig. 2, working as initial touch location information corresponding position in target apparatus to be controlled current display interface When for " TV play ", then third control instruction are as follows: along dragging track dragging " TV play ".Target apparatus to be controlled receives the control and refers to When enabling, " TV play " is moved to the position where the touch point that dragging track terminates along the dragging track.
S104: the control instruction is sent to the target apparatus to be controlled;The control instruction is for triggering the mesh It marks apparatus to be controlled and executes the corresponding predetermined registration operation of the control instruction.
Control instruction is sent to target apparatus to be controlled by terminal;Control instruction executes the control for triggering target apparatus to be controlled System instructs corresponding predetermined registration operation.Predetermined registration operation feeling the pulse with the finger-tip mark apparatus to be controlled is according to the control instruction received to target apparatus to be controlled The operation actually executed.By taking target apparatus to be controlled is television set as an example, when control instruction is closing television machine, television set is being received The operation of closing television machine is executed when to the control instruction;When control instruction is to play some film, television set is receiving the control Corresponding film is played when system instruction.Above-mentioned predetermined registration operation is merely illustrative, and user can be configured according to the actual situation, It does not limit this.
Specifically, one control instruction of the every determination of terminal, is just sent to target apparatus to be controlled for the control instruction in time.Mesh It marks apparatus to be controlled and receives the control instruction that terminal is sent, and according to executing the corresponding predetermined registration operation of the control instruction.
It is worth noting that when target apparatus to be controlled and terminal are in same local area network, target apparatus to be controlled and terminal It can directly be communicated;Friendship when target apparatus to be controlled and terminal are in wide area network, between terminal and target apparatus to be controlled Mutually need to realize by transit server.When i.e. terminal sends information to target apparatus to be controlled, it is first sent to server, server Forward this information to target apparatus to be controlled;Similarly, when target apparatus to be controlled sends information to terminal, clothes are first sent information to Business device, server forward this information to terminal.No matter terminal and target apparatus to be controlled are in local area network or wide area network, terminal Target apparatus to be controlled can be controlled based on default small routine, control result is identical.
The embodiment of the present invention is established connection by default small routine and target apparatus to be controlled, is obtained based on default small routine Simulation mouse control region in the control instruction that generates of the touch operation that inputs, control instruction is sent to target is to be controlled to be set Standby, triggering target apparatus to be controlled executes the corresponding predetermined registration operation of control instruction.Based on small routine operate, allow user at any time Target apparatus to be controlled is controlled everywhere;And refer to due to generating control by the touch operation of simulation mouse control region input It enables, the control to target apparatus to be controlled is further realized, so that very convenient when user's control target apparatus to be controlled;Promote user The speed of target apparatus to be controlled is controlled, so that control is more accurate.
Refer to Fig. 3, Fig. 3 be another embodiment of the present invention provides a kind of method based on small routine control smart machine Schematic flow diagram.The executing subject of method based on small routine control smart machine in the present embodiment is terminal, and terminal includes But it is not limited to the mobile terminals such as smart phone, tablet computer, PDA.
In order to meet the needs of different users, realization is flexibly controlled based on the simulation mouse control region in default small routine Target apparatus to be controlled, the present embodiment further include S205 and S206, S205 and S206 on the basis of Fig. 1 corresponding embodiment It can be executed after S201, S202, S203 and S204 either step, S201-S204 implementation corresponding with Fig. 1 in the present embodiment S101-S104 in example is identical, referring specifically to the associated description of S101-S104 in the corresponding embodiment of Fig. 1, herein not It repeats.S205 and S206 are specific as follows:
S205: it obtains user and passes through the second slide of the virtual control input in the simulation mouse control region.
Terminal obtains user and passes through the second slide of the virtual control input in simulation mouse control region.Second is sliding Dynamic operation is different from the first slide, and the second slide is the slide that user carries out virtual control, and first is sliding Dynamic operation refers to the slide that white space of the user directly in simulation mouse control region carries out, and the first slide is not Virtual control is operated.Virtual control is to simulate in mouse control region for adjusting the control of sensitivity, it is possible to understand that It is user when simulating mouse control region input touch operation, target apparatus to be controlled is based on slide adjustment response speed Degree.Virtual control is made of virtual push button and progress bar, corresponding sensitivity percentages can be arranged for progress bar in advance.User It can be slided in progress bar by long-pressing virtual push button, sensitivity is adjusted with this.
When passing through the virtual control for sensitivity adjustment is 100%, the response speed of target apparatus to be controlled reaches most fast, There is no any delay;When passing through the virtual control for sensitivity adjustment is 50%, the response speed of target apparatus to be controlled reaches It is moderate;When passing through the virtual control for sensitivity adjustment is 20%, the response speed of target apparatus to be controlled is slower;User Ke Gen Factually the quality of internet network speed adjusts suitable sensitivity.
S206: determine that adjustment of sensitivity instructs based on the sliding distance of second slide;The adjustment of sensitivity Instruction is used to indicate the target apparatus to be controlled adjustment response speed.
Terminal determines that adjustment of sensitivity instructs based on the sliding distance of the second slide.Adjustment of sensitivity is instructed for referring to Show that target apparatus to be controlled adjusts response speed.Specifically, corresponding sensitivity percentages are set previously according to the length of progress bar, The distance that control virtual push button slides in progress bar, sliding distance is longer, and corresponding sensitivity is higher, and corresponding target is to be controlled The response speed of equipment is faster;Sliding distance is shorter, and corresponding sensitivity is lower, the response speed of corresponding target apparatus to be controlled It is slower.Terminal obtains the sliding distance of the second slide, and determines corresponding sensitivity percentages, generates adjustment of sensitivity and refers to It enables, which is instructed and is sent to target apparatus to be controlled, target apparatus to be controlled receiving sensitivity regulating command, and it is corresponding Adjustment response speed.User can according to the actual situation be adjusted sensitivity, be not construed as limiting to this.
Further, for the ease of user's control target apparatus to be controlled, simulating mouse control region can also include prompt Information, such as: when network speed is slower, please turning down sensitivity;Touch operation etc. can be carried out in the region, user can be according to the actual situation Prompt information is set, is not limited this.
The embodiment of the present invention is established connection by default small routine and target apparatus to be controlled, is obtained based on default small routine Simulation mouse control region in the control instruction that generates of the touch operation that inputs, control instruction is sent to target is to be controlled to be set Standby, triggering target apparatus to be controlled executes the corresponding predetermined registration operation of control instruction.Based on small routine operate, allow user at any time Target apparatus to be controlled is controlled everywhere;And refer to due to generating control by the touch operation of simulation mouse control region input It enables, the control to target apparatus to be controlled is further realized, so that very convenient when user's control target apparatus to be controlled;Promote user The speed of target apparatus to be controlled is controlled, so that control is more accurate.
Fig. 4 is referred to, Fig. 4 is a kind of terminal based on small routine control smart machine that one embodiment of the invention provides Schematic diagram.The each unit that terminal includes is used to execute each step in the corresponding embodiment of Fig. 1, Fig. 3.Referring specifically to Fig. 1, figure Associated description in 3 corresponding embodiments.For ease of description, only the parts related to this embodiment are shown.Referring to Fig. 4, terminal 3 include:
Display unit 310, for when detect established by default small routine and target apparatus to be controlled communicate to connect when, The interactive interface display simulation mouse control region of the default small routine;
Acquiring unit 320, for obtaining user in the touch operation of the simulation mouse control region input;
Determination unit 330, for based on the touch operation touch location and the touch operation it is corresponding default Control function determines control instruction;
Transmission unit 340, for the control instruction to be sent to the target apparatus to be controlled;The control instruction is used for It triggers the target apparatus to be controlled and executes the corresponding predetermined registration operation of the control instruction.
Further, when the touch operation is clicking operation, determination unit 330 is specifically used for:
The corresponding first location information of the clicking operation is obtained, and obtains the clicking operation corresponding first and presets Control function;
Based on the first location information and the first default control function, the first control instruction is determined;Described One control instruction includes the first location information;The first location information is used to indicate the target apparatus to be controlled and determines institute State first location information display subregion affiliated in the picture currently shown and its corresponding first display content.
Further, when the touch operation is the first slide, determination unit 330 is specifically used for:
The origin coordinates information of initial touch point in first slide is obtained, and obtains each crucial touch point Corresponding key coordinate information;
Based on the origin coordinates information and each key coordinate information, determine that first slide is corresponding Sliding trace;
Based on the origin coordinates information, the sliding trace and the corresponding second default control function of the sliding trace Can, determine the second control instruction;Second control instruction includes the origin coordinates information;The origin coordinates information is used for Indicate that the target apparatus to be controlled determines origin coordinates information display subregion affiliated in the picture currently shown, and its Corresponding second display content.
Further, when the touch operation is drag operation, determination unit 330 is specifically used for:
The initial touch location information of the drag operation is obtained, and obtains the corresponding dragging rail of the drag operation Mark;
According to the corresponding third default control function of the initial touch location information and the dragging track, is determined Three control instructions;The third control instruction includes the initial touch location information;The initial touch location information is used for Indicate that the target apparatus to be controlled determines initial touch location information display subregion affiliated in the picture currently shown, And its corresponding third shows content;The third control instruction is for triggering the target apparatus to be controlled according to the dragging rail Mark drags the third and shows content.
Further, terminal further include:
Second slide acquiring unit passes through the virtual control in the simulation mouse control region for obtaining user Second slide of input.
Adjustment of sensitivity instruction acquisition unit, for determining sensitivity tune based on the sliding distance of second slide Section instruction;The adjustment of sensitivity instruction is used to indicate the target apparatus to be controlled adjustment response speed.
Further, display unit 310 is specifically used for:
When detecting through the foundation communication connection for the first time of default small routine and target apparatus to be controlled, according to pre-set dimension And predeterminated position, it is created in the interactive interface of the default small routine and shows the simulation mouse control region.
Refer to Fig. 5, Fig. 5 be another embodiment of the present invention provides a kind of terminal schematic diagram.As shown in figure 5, the reality The terminal 4 for applying example includes: processor 40, memory 41 and is stored in the memory 41 and can be on the processor 40 The computer program 42 of operation.The processor 40 realized when executing the computer program 42 above-mentioned each terminal based on small Step in the embodiment of the method for process control smart machine, such as S101 shown in FIG. 1 to S104.Alternatively, the processor The function of each unit in above-mentioned each Installation practice, such as unit 310 shown in Fig. 4 are realized when the 40 execution computer program 42 To 340 functions.
Illustratively, the computer program 42 can be divided into one or more units, one or more of Unit is stored in the memory 41, and is executed by the processor 40, to complete the present invention.One or more of lists Member can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer journey Implementation procedure of the sequence 42 in the terminal 4.For example, the computer program 42 can be divided into display unit, obtain list Member, determination unit and transmission unit, each unit concrete function are as described above.
The terminal may include, but be not limited only to, processor 40, memory 41.It will be understood by those skilled in the art that figure 5 be only the example of terminal 4, and the not restriction of structure paired terminal 4 may include components more more or fewer than diagram, or Combine certain components or different components, for example, the terminal can also include input/output terminal, network insertion terminal, Bus etc..
Alleged processor 40 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 41 can be the internal storage unit of the terminal 4, such as the hard disk or memory of terminal 4.It is described Memory 41 is also possible to the external storage terminal of the terminal 4, such as the plug-in type hard disk being equipped in the terminal 4, intelligence Storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) Deng.Further, the memory 41 can also both including the terminal 4 internal storage unit and also including external storage end End.The memory 41 is for other programs and data needed for storing the computer program and the terminal.It is described to deposit Reservoir 41 can be also used for temporarily storing the data that has exported or will export.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of method based on small routine control smart machine characterized by comprising
When detecting through default small routine and the foundation communication connection of target apparatus to be controlled, in the interaction of the default small routine Interface display simulates mouse control region;
User is obtained in the touch operation of the simulation mouse control region input;
The corresponding default control function of touch location and the touch operation based on the touch operation determines that control refers to It enables;
The control instruction is sent to the target apparatus to be controlled;The control instruction is for triggering the target apparatus to be controlled Execute the corresponding predetermined registration operation of the control instruction.
2. the method as described in claim 1, which is characterized in that described to be based on institute when the touch operation is clicking operation The touch location and the corresponding default control function of the touch operation for stating touch operation, determine control instruction, comprising:
The corresponding first location information of the clicking operation is obtained, and obtains corresponding first default control of the clicking operation Function;
Based on the first location information and the first default control function, the first control instruction is determined;First control System instruction includes the first location information;The first location information is used to indicate the target apparatus to be controlled and determines described One location information display subregion affiliated in the picture currently shown and its corresponding first display content.
3. the method as described in claim 1, which is characterized in that when the touch operation is the first slide, the base In the touch location of the touch operation and the corresponding default control function of the touch operation, control instruction is determined, comprising:
The origin coordinates information of initial touch point in first slide is obtained, and obtains each crucial touch point and corresponds to Key coordinate information;
Based on the origin coordinates information and each key coordinate information, the corresponding cunning of first slide is determined Dynamic rail mark;
Based on the origin coordinates information, the sliding trace and the corresponding second default control function of the sliding trace, Determine the second control instruction;Second control instruction includes the origin coordinates information;The origin coordinates information is for referring to Show the target apparatus to be controlled determine the origin coordinates information in the picture currently shown belonging to display subregion and its right The the second display content answered.
4. the method as described in claim 1, which is characterized in that described to be based on institute when the touch operation is drag operation The touch location and the corresponding default control function of the touch operation for stating touch operation, determine control instruction, comprising:
The initial touch location information of the drag operation is obtained, and obtains the corresponding dragging track of the drag operation;
According to the corresponding third default control function of the initial touch location information and the dragging track, third control is determined System instruction;The third control instruction includes the initial touch location information;The initial touch location information is used to indicate The target apparatus to be controlled determines initial touch location information display subregion affiliated in the picture currently shown, and its Corresponding third shows content;The third control instruction is dragged for triggering the target apparatus to be controlled according to the dragging track It moves the third and shows content.
5. the method as described in claim 1, which is characterized in that further include:
It obtains user and passes through the second slide of the virtual control input in the simulation mouse control region;
Determine that adjustment of sensitivity instructs based on the sliding distance of second slide;The adjustment of sensitivity instruction is for referring to Show the target apparatus to be controlled adjustment response speed.
6. such as method described in any one of claim 1 to 5, which is characterized in that it is described when detect by default small routine with When target apparatus to be controlled establishes communication connection, in the interactive interface display simulation mouse control region of the default small routine, packet It includes:
When detect established for the first time by default small routine and target apparatus to be controlled communicate to connect when, according to pre-set dimension and Predeterminated position creates in the interactive interface of the default small routine and shows the simulation mouse control region.
7. a kind of terminal characterized by comprising
Display unit, for when detect established by default small routine and target apparatus to be controlled communicate to connect when, described pre- If the interactive interface display simulation mouse control region of small routine;
Acquiring unit, for obtaining user in the touch operation of the simulation mouse control region input;
Determination unit, for touch location and the corresponding default control function of the touch operation based on the touch operation Can, determine control instruction;
Transmission unit, for the control instruction to be sent to the target apparatus to be controlled;The control instruction is for triggering institute It states target apparatus to be controlled and executes the corresponding predetermined registration operation of the control instruction.
8. terminal as claimed in claim 7, which is characterized in that the display unit is specifically used for:
When detect established for the first time by default small routine and target apparatus to be controlled communicate to connect when, according to pre-set dimension and Predeterminated position creates in the interactive interface of the default small routine and shows the simulation mouse control region.
9. a kind of terminal, including memory, processor and storage can be run in the memory and on the processor Computer program, which is characterized in that the processor is realized when executing the computer program as claim 1 to 6 is any The step of item the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 6 of realization the method.
CN201910499962.9A 2019-06-11 2019-06-11 A kind of method and terminal based on small routine control smart machine Pending CN110381349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910499962.9A CN110381349A (en) 2019-06-11 2019-06-11 A kind of method and terminal based on small routine control smart machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910499962.9A CN110381349A (en) 2019-06-11 2019-06-11 A kind of method and terminal based on small routine control smart machine

Publications (1)

Publication Number Publication Date
CN110381349A true CN110381349A (en) 2019-10-25

Family

ID=68249987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910499962.9A Pending CN110381349A (en) 2019-06-11 2019-06-11 A kind of method and terminal based on small routine control smart machine

Country Status (1)

Country Link
CN (1) CN110381349A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115495807A (en) * 2022-09-26 2022-12-20 上海弘玑信息技术有限公司 Automatic drawing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297828A (en) * 2012-03-05 2013-09-11 深圳市快播科技有限公司 Method and system for operating set top box with simulation mouse of mobile terminal
CN103645847A (en) * 2013-12-02 2014-03-19 乐视致新电子科技(天津)有限公司 Method and system for simulating mouse to control intelligent television through mobile terminal
CN103905861A (en) * 2012-12-30 2014-07-02 青岛海尔软件有限公司 Touch screen device simulation mouse television control system and control method
CN104571913A (en) * 2014-12-25 2015-04-29 青岛歌尔声学科技有限公司 System and method for simulating mouse control
CN105430468A (en) * 2015-11-30 2016-03-23 北京奇艺世纪科技有限公司 Remote control method and device for television set-top box
CN109803161A (en) * 2019-01-14 2019-05-24 深圳市金锐显数码科技有限公司 TV remote controlling method, device and terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297828A (en) * 2012-03-05 2013-09-11 深圳市快播科技有限公司 Method and system for operating set top box with simulation mouse of mobile terminal
CN103905861A (en) * 2012-12-30 2014-07-02 青岛海尔软件有限公司 Touch screen device simulation mouse television control system and control method
CN103645847A (en) * 2013-12-02 2014-03-19 乐视致新电子科技(天津)有限公司 Method and system for simulating mouse to control intelligent television through mobile terminal
CN104571913A (en) * 2014-12-25 2015-04-29 青岛歌尔声学科技有限公司 System and method for simulating mouse control
CN105430468A (en) * 2015-11-30 2016-03-23 北京奇艺世纪科技有限公司 Remote control method and device for television set-top box
CN109803161A (en) * 2019-01-14 2019-05-24 深圳市金锐显数码科技有限公司 TV remote controlling method, device and terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115495807A (en) * 2022-09-26 2022-12-20 上海弘玑信息技术有限公司 Automatic drawing method and electronic equipment

Similar Documents

Publication Publication Date Title
KR102186864B1 (en) Network topology adaptive data visualization method, device, equipment and storage medium
CN103929464B (en) For detecting three-dimension gesture to initiate and complete the system and method for applying data transmission between networked devices
CN108733438A (en) Application program is integrated with digital assistants
CN110248228A (en) A kind of method and terminal based on small routine control smart machine
CN104424221B (en) A kind of information processing method and electronic equipment
CN106462630B (en) Method, system, and medium for searching video content
CN107329743A (en) Methods of exhibiting, device and the storage medium of five application page
CN103838856B (en) A kind of information processing method and device
CN107949823A (en) Zero-lag digital assistants
CN103744575B (en) A kind of method and apparatus for the input auxiliary area for being used to provide input application
CN103927000A (en) Input apparatus, output apparatus, and storage medium
CN107678823A (en) Control method, device and the storage medium and mobile terminal of mobile terminal application
CN105302461B (en) A kind of method and apparatus for the offer target pages in mobile application
KR20180050636A (en) Message service providing method for message service linking search service and message server and user device for performing the method
CN109891407A (en) Network-based communication and shared file system
CN111752426A (en) Chat thread display method, recording medium, and computer device
CN104756062B (en) Decode the inaccurate gesture for graphic keyboard
CN105493018A (en) Independent hit testing for touchpad manipulations and double-tap zooming
CN104020989B (en) Control method and system based on remote application
US20120250934A1 (en) Information processing apparatus, playlist creation method, and playlist creation program
CN114564604A (en) Media collection generation method and device, electronic equipment and storage medium
CN110381349A (en) A kind of method and terminal based on small routine control smart machine
CN107111415B (en) Equipment, method and graphic user interface for mobile application interface element
CN109656463A (en) The generation method of individual character expression, apparatus and system
CN109753148A (en) A kind of control method, device and the controlling terminal of VR equipment

Legal Events

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

Application publication date: 20191025