CN110248228A - 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
CN110248228A
CN110248228A CN201910450777.0A CN201910450777A CN110248228A CN 110248228 A CN110248228 A CN 110248228A CN 201910450777 A CN201910450777 A CN 201910450777A CN 110248228 A CN110248228 A CN 110248228A
Authority
CN
China
Prior art keywords
target
controlled
control
small routine
touch
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
CN201910450777.0A
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 CN201910450777.0A priority Critical patent/CN110248228A/en
Publication of CN110248228A publication Critical patent/CN110248228A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • 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
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

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, at the interactive interface display control interface of the default small routine;Obtain the control instruction triggered by the control interface;The control instruction is sent to the target apparatus to be controlled;The control instruction executes the corresponding predetermined registration operation of the control instruction for triggering 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, control instruction is obtained in the control interface of default small routine, and control instruction is sent to target apparatus to be controlled, and triggering target apparatus to be controlled executes the corresponding predetermined registration operation of control instruction.It realizes and does not need whenever and wherever possible control target apparatus to be controlled by traditional remote controller.

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
When people manipulate television set by traditional TV remote controller, often occur can not find the feelings of remote controler Condition at this time can not control television set.Traditional remote controler is remotely controlled television set by infrared ray, so as to TV Machine command range is limited, and control inaccuracy, the insensitive problem of control often occurs.
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 Solution when can not find remote controler, can not be remotely controlled television set in the prior art;And traditional remote controler passes through infrared ray Television set is remotely controlled, causes limited to television set command range, control inaccuracy often occurs, control insensitive is asked Topic.
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 control interface;
Obtain the control instruction triggered by the control interface;
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 control interface of default small routine;
Acquiring unit, for obtaining the control instruction triggered by the control interface;
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 control interface;
Obtain the control instruction triggered by the control interface;
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 control interface;
Obtain the control instruction triggered by the control interface;
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, when detecting through default small routine and the foundation communication connection of target apparatus to be controlled, in institute State the interactive interface display control interface of default small routine;Obtain the control instruction triggered by the control interface;It will be described Control instruction is sent to the target apparatus to be controlled;The control instruction executes the control for triggering the target apparatus to be controlled System instructs corresponding predetermined registration operation.The embodiment of the present invention establishes connection by default small routine and target apparatus to be controlled, default It obtains control instruction in the control interface of small routine, and control instruction is sent to target apparatus to be controlled, target is to be controlled sets for triggering It is standby to execute the corresponding predetermined registration operation of control instruction.Realize that do not need can be to be controlled to target whenever and wherever possible by traditional remote controller Equipment is controlled, and is communicated to connect due to establishing with target apparatus to be controlled, does not need to reduce by infrared ray and wait for target Limitation when control equipment is controlled increases command range, ignores barrier presence, improves accuracy, the spirit of control Sensitivity.
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 the first control interface schematic diagram provided by the invention;
Fig. 3 is the second control interface schematic diagram provided by the invention;
Fig. 4 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. 5 is default small routine interactive interface figure provided by the invention;
Fig. 6 is default small routine search target apparatus to be controlled schematic diagram provided by the invention;
Fig. 7 is that default small routine provided by the invention and target apparatus to be controlled establish communication connection schematic diagram;
Fig. 8 is a kind of implementation process for method based on small routine control smart machine that further embodiment of this invention provides Figure;
Fig. 9 is a kind of schematic diagram for terminal that one embodiment of the invention provides;
Figure 10 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 DigitalAssistant, PDA).Such as Fig. 1 Shown in based on small routine control smart machine method 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 control interface of program.
Terminal is when detecting based on default small routine with the foundation communication connection of target apparatus to be controlled, in default small routine Display control interface in interactive interface.
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 pre-sets for user may operate in terminal For controlling the small routine of smart machine, default small routine can be wechat small routine, Alipay small routine, Baidu's small routine Deng user can preset according to the actual situation, not limit this.In the present embodiment, said by taking wechat small routine as an example It is bright.
Target apparatus to be controlled refers to the smart machine that can be networked, such as television set, air-conditioning, refrigerator, projector, the present embodiment In be illustrated by taking television set as an example.
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 Display control interface in the interactive interface of sequence.
Further, control interface may include the first control interface or the second control interface;First control interface is based on The picture that the target apparatus to be controlled acquired in real time is currently shown generates, and the second control interface includes at least one for triggering The virtual control of control instruction.It is the first control that user can preset the control interface in default small routine according to the actual situation Interface or the second control interface, can also be according to the actual situation in default small routine to the first control interface, the second control circle Face is selected and is switched.
When control interface is the first control interface, S101 may include S1011-S1013, specific as follows:
S1011: when detecting through default small routine and the foundation communication connection of target apparatus to be controlled, Xiang Suoshu target is waited for It controls equipment and sends picture acquisition instruction;The picture acquisition instruction for obtaining what the target apparatus to be controlled was currently shown in real time Picture.
Picture acquisition instruction obtains the picture that target apparatus to be controlled is currently shown for terminal in real time.Terminal is detecting base When default small routine and target apparatus to be controlled are established and communicated to connect, picture acquisition instruction is sent to target apparatus to be controlled;Target After apparatus to be controlled receives picture acquisition instruction, the corresponding picture data of picture that shows of current screen is obtained, and by the picture Data are sent to target apparatus to be controlled.
S1012: the picture data that the target apparatus to be controlled is sent based on the picture acquisition instruction is received.
Terminal receives the picture data that target apparatus to be controlled is sent based on picture acquisition instruction.Further, in order to make to control Result processed is more acurrate, guarantees the newest picture that the picture that terminal is got shows for target apparatus to be controlled screen, and user can set The frequency that terminal sends picture acquisition instruction is set, frequency is bigger, and the picture data got is more timely.Specifically, terminal according to Frequency sends picture acquisition instruction;Target apparatus to be controlled at the same frequency to terminal send picture data, corresponding terminal with The picture data that the frequency reception target apparatus to be controlled is sent, and the picture data that timely updates, guarantee the picture data received It is newest.
S1013: being generated based on the picture data and shows the first control interface.
Terminal generates the first control interface according to the picture data received, and shows in the interactive interface of default small routine Show the first control interface.As shown in Fig. 2, presetting the control interface that small routine interactive interface is shown in Fig. 2 is the first control interface.
S102: the control instruction triggered by the control interface is obtained.
Terminal obtains the control instruction triggered by control interface.Control interface may include the first control interface or second Control interface;First control interface is generated based on the picture that the target apparatus to be controlled acquired in real time is currently shown, the second control Interface processed includes the virtual control that at least one is used to trigger control instruction.User can preset according to the actual situation preset it is small Control interface in program is the first control interface or the second control interface, can also be according to the actual situation in default small routine First control interface, the second control interface are selected and switched.
Fig. 2 is the situation that the control interface that interactive interface is shown in default small routine is the first control interface, at this point, control The picture that the target apparatus to be controlled that interface is obtained by terminal is currently shown generates.Obtain the control triggered by the first control interface Instruction, specifically, the touch operation that detection user inputs in the first control interface;Based on the corresponding touch gestures of touch operation And the content that the corresponding display area of touch location of the touch operation is shown is inputted, determine the first control instruction.
Fig. 3 is the situation that the control interface that interactive interface is shown in default small routine is the second control interface, at this point, control It include the virtual control that at least one is used to trigger control instruction in interface.Acquisition is referred to by the control that the second control interface triggers It enables, specifically, obtaining the touch operation that user carries out each virtual control in the second control interface;Based on by the void of touch-control The quasi- corresponding default control function of control and touch control operation, determine the second control instruction.
Further, when control interface is the first control interface, S102 may include S1021-S1022, specific as follows:
S1021: the first touch operation that detection user inputs in first control interface.
The first touch operation that terminal detection user inputs in the first control interface.First touch operation is user the It single clicks on to what arbitrary region carried out in one control interface, double-click, slide etc. and operate.When user inputs in the first control interface When the first touch operation, terminal records first touch operation and the corresponding touch gestures of the first touch operation and touching Touch position.
S1022: the touch position based on the corresponding touch gestures of first touch operation and first touch operation The content that corresponding display area is shown is set, determines the first control instruction.
When the first touch operation that user inputs in the first control interface, it is corresponding that terminal records the first touch operation Touch gestures, and obtain the content that shows of the corresponding display area of touch location of the first touch operation, according to touch gestures with And display content, determine the first control instruction.
Further, in order to improve the speed of control, user can be set different touch gestures and correspond to different control Function.Such as when touch gestures are to single click on screen, corresponding control function is to open the touch location pair of the touch gestures The content that the display area answered is shown;When touch gestures are to double-click screen, corresponding control function is to open the touch gestures The corresponding display area of touch location setting menu.User can be according to the actual situation to the corresponding control function of touch gestures It is configured, does not limit this.
Terminal is according to touch gestures of the user when the first control interface operates and the corresponding display area of touch location The content of display determines the first control instruction.For example, carrying out first in user's the first control interface shown in Fig. 2 touches behaviour Make: single clicing on the member prefecture in figure, terminal is according to touch gestures: single clicing on, the corresponding display area of touch location is aobvious The content shown: member prefecture generates the first control instruction: opening member prefecture.
Further, in order to more accurately control target apparatus to be controlled, S1022 may include S10221-S10223, specifically It is as follows:
S10221: the touch position of the corresponding touch gestures of first touch operation and first touch operation is determined The coordinate information set.
When the first touch operation that user inputs in the first control interface, it is corresponding that terminal records the first touch operation Touch gestures, and obtain the coordinate information of the touch location of the first touch operation.Specifically, terminal carries out touch behaviour according to user The size of touch pressure value when making, determination can represent the touch point of user's this time touch operation, and obtain the coordinate of the touch point Information.Specifically terminal determines touch point according to touch pressure value, and the maximum point of pressure value is touch point,
S10222: it based on current resolution ratio, the resolution ratio of the target apparatus to be controlled and the coordinate information, determines Touch location target position information corresponding in the picture that the target apparatus to be controlled is currently shown, and described in determination The target position information corresponding display content of display subregion affiliated in the picture currently shown.
The mode that terminal obtains the resolution ratio of target apparatus to be controlled can be to store target apparatus to be controlled in the terminal in advance Resolution ratio;Or resolution inquiry request is sent to target apparatus to be controlled, receive the resolution ratio letter that target apparatus to be controlled is sent Breath.
Terminal according to the current resolution ratio of terminal, the resolution ratio of target apparatus to be controlled and the coordinate information of touch location, Determine user the first control interface touch location in the picture that target apparatus to be controlled is currently shown corresponding target position Information, and determine the target position information corresponding display content of display subregion affiliated in currently display picture.
Specifically, terminal calculates the corresponding resolution ratio of target apparatus to be controlled display area long side and terminal display area long side Quotient between corresponding resolution ratio is denoted as the first numerical value;Calculate the corresponding resolution ratio of target apparatus to be controlled display area short side with Quotient between the corresponding resolution ratio of terminal display area short side, is denoted as second value;Calculate the abscissa in the coordinate information With the product of first numerical value, target lateral coordinates are obtained;Calculate the ordinate and the second value in the coordinate information Product, obtains target ordinate;Determine that touch location is current in target apparatus to be controlled based on target lateral coordinates and target ordinate Corresponding target position information in the picture of display.Record current location information display affiliated in the first control interface The corresponding display content of subregion, the display content is also the picture that target position information is currently shown in target apparatus to be controlled at this time In belonging to the corresponding display content of display subregion.
S10223: based on the corresponding touch gestures of first touch operation, the target position information and described aobvious Show content, determines the first control instruction.
Terminal is according to the corresponding touch gestures of the first touch operation, target position information and the target position information in mesh The corresponding display content of display subregion belonging in the picture that mark apparatus to be controlled is currently shown, determines the first control instruction.For example, The first touch operation is carried out in user's the first control interface shown in Fig. 2: single clicing on the member prefecture in figure.Terminal according to Touch gestures: single clicing on, and user determines target position information in the touch location of the first control interface, and determines display content Are as follows: member prefecture generates the first control instruction: opening member prefecture in target position.
Further, various control interface and control mode are provided for user, facilitates user's control target apparatus to be controlled. When control interface be the second control interface when, S102 may include S1023-S1024, it should be noted that S1023-S1024 with S1021-S1022 is arranged side by side, and S1023-S1024 is not executed after S1022.According to the difference of control interface, S102 may include S1021-S1022 or S1023-S1024.
S1023: it obtains user and the second touch that each virtual control carries out is grasped in second control interface Make.
It include the virtual control that at least one is used to trigger control instruction in second control interface.Control as shown in Figure 3 In interface, virtual control is closing key, up and down toggle control, mute control, confirmation control, Menu key, volume progress bar Deng.Wherein, when virtual control is progress bar, the corresponding numerical value of the progress bar is can be preset in user, for example, volume progress bar When sliding into centre, corresponding volume is 50.The corresponding numerical value of progress bar sliding length can be arranged in user according to the actual situation, to this Without limitation.
Terminal obtains the second touch operation that user carries out each virtual control in the second control interface.Wherein, Two touch operations can be single click on, double-click, long-pressing, sliding etc., each different touch operation corresponds to different control Function.
S1024: based on the corresponding default control function of the virtual control of being touched and second touch operation, Determine the second control instruction.
User presets the corresponding control function of each virtual control in the second control interface, as shown in figure 3, the upper left corner Round virtual control be closing key, can be used for closing target apparatus to be controlled;The round virtual control in the upper right corner is mute key, can For closing the sound of target apparatus to be controlled;Virtual control of the lower left as house can be used for target apparatus to be controlled and directly jump Go to homepage;Sound progress bar is for adjusting target apparatus to be controlled sound size;Intermediate four triangles up and down are virtual Control respectively corresponds four direction up and down, the cursor in the target apparatus to be controlled display interface that can be used for moving up and down; The virtual control of most intermediate square is acknowledgement key, when user will be in target apparatus to be controlled display interface by the second control interface Cursor be moved to want movement region when, can click acknowledgement key carry out confirmation operation.
Further, in order to enable control operation diversification, the control habit of more fitting user, can be preset different When touch operation acts on different virtual controls, corresponding different control function.For example, user double-clicks arrow direction in Fig. 3 When triangle virtual control to the right, corresponding default control function can be F.F.;User double-clicks in Fig. 3 arrow direction to the left Triangle virtual control when, corresponding default control function can be rewind;User can be according to the actual situation to touch operation It is configured, does not limit this.
Terminal is according to the corresponding default control function of the virtual control touched and second touch operation, really Fixed second control instruction.Specifically, terminal records the virtual control touched, obtains the corresponding default control function of the virtual control Can, and the second touch operation that user carries out in the virtual control is obtained, determine the second control instruction.
S103: 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 switching succeeding channel, television set is receiving the control Current play channel is switched to the corresponding next broadcasting channel of control instruction when system instruction;When control instruction is to switch a upper frequency When road, current play channel is switched to the corresponding upper broadcasting channel of control instruction when receiving the control instruction by television set. Above-mentioned predetermined registration operation is merely illustrative, and user can be configured according to the actual situation, is not limited this.
Specifically, terminal obtains the control instruction triggered by control interface, often gets a control instruction, just in time The control instruction that will acquire is sent to target apparatus to be controlled.Target apparatus to be controlled receives the control instruction that terminal is sent, and According to executing the corresponding predetermined registration operation of the control instruction.
Above scheme, when detecting through default small routine and the foundation communication connection of target apparatus to be controlled, described pre- If the interactive interface display control interface of small routine;Obtain the control instruction triggered by the control interface;By the control Instruction is sent to the target apparatus to be controlled;The control instruction refers to for triggering the target apparatus to be controlled execution control Enable corresponding predetermined registration operation.The embodiment of the present invention establishes connection by default small routine and target apparatus to be controlled, in default little Cheng Control instruction is obtained in the control interface of sequence, and control instruction is sent to target apparatus to be controlled, and triggering target apparatus to be controlled is held The corresponding predetermined registration operation of row control instruction.Realize that do not need can be whenever and wherever possible to target apparatus to be controlled by traditional remote controller It is controlled, and is communicated to connect due to being established with target apparatus to be controlled, do not need to reduce set to be controlled to target by infrared ray For limitation when being controlled, increases command range, ignores barrier presence, improve accuracy, the sensitivity of control.
Refer to Fig. 4, Fig. 4 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.
The present embodiment embodiment corresponding with Fig. 1 is distinguished as S201-S202, S203-S205 and upper one in the present embodiment S101-S103 in embodiment is identical, referring specifically to the associated description of S101-S103 in a upper embodiment, herein not It repeats.
S201: when detecting access to LAN and starting the default small routine, search access the local area network to Control equipment.
After target apparatus to be controlled starting up, network service initialisation will do it, so that the other equipment in local area network can To search target apparatus to be controlled.When terminal detects access to LAN and has been started up default small routine, by pre- If small routine search accesses the apparatus to be controlled of the local area network.As shown in figure 5, user can click in default small routine, " 1. are searched Rope TV ", into picture shown in fig. 6, i.e., default small routine searches for apparatus to be controlled in a local network.When in same local area network Apparatus to be controlled only one when, default the apparatus to be controlled be target apparatus to be controlled;When the apparatus to be controlled in same local area network have it is more When a, user can select to want the apparatus to be controlled of control, i.e. target apparatus to be controlled in multiple apparatus to be controlled.
S202: it when searching the target apparatus to be controlled, establishes and communicates to connect with the target apparatus to be controlled.
When the apparatus to be controlled in local area network only one when, default the apparatus to be controlled be target apparatus to be controlled.As shown in Figure 7 Picture establish and communicate to connect with target apparatus to be controlled, and connection result is shown pre- when searching target apparatus to be controlled If in the interactive interface of small routine.When the apparatus to be controlled in local area network has multiple, user can select in multiple apparatus to be controlled Target apparatus to be controlled after determining target apparatus to be controlled, establishes communication connection by default small routine.Specifically, it searches for When to target apparatus to be controlled, establish communication connection request to the transmission of target apparatus to be controlled, receive target apparatus to be controlled be based on it is described The link information of establishing of communication connection request transmission is established, and establishes and communicates to connect with target apparatus to be controlled.
Above scheme, when detecting through default small routine and the foundation communication connection of target apparatus to be controlled, described pre- If the interactive interface display control interface of small routine;Obtain the control instruction triggered by the control interface;By the control Instruction is sent to the target apparatus to be controlled;The control instruction refers to for triggering the target apparatus to be controlled execution control Enable corresponding predetermined registration operation.The embodiment of the present invention establishes connection by default small routine and target apparatus to be controlled, in default little Cheng Control instruction is obtained in the control interface of sequence, and control instruction is sent to target apparatus to be controlled, and triggering target apparatus to be controlled is held The corresponding predetermined registration operation of row control instruction.Realize that do not need can be whenever and wherever possible to target apparatus to be controlled by traditional remote controller It is controlled, and is communicated to connect due to being established with target apparatus to be controlled, do not need to reduce set to be controlled to target by infrared ray For limitation when being controlled, increases command range, ignores barrier presence, improve accuracy, the sensitivity of control.
Refer to Fig. 8, Fig. 8 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.
The present embodiment embodiment corresponding with Fig. 1 is distinguished as S301-S302, S303-S305 and upper one in the present embodiment S101-S103 in embodiment is identical, referring specifically to the associated description of S101-S103 in a upper embodiment, herein not It repeats.
Further, it when detecting access wide area network, is communicated to connect to accurately be established with target apparatus to be controlled, It may also include S301-S302 before S303, specific as follows:
S301: the target identification information of the target apparatus to be controlled is obtained by the default small routine.
Target identification information can be different apparatus to be controlled settings by user for identifying target apparatus to be controlled in advance, It can also be automatically generated by apparatus to be controlled.Apparatus to be controlled obtains the ethernet address of itself, and generates a character string at random, will Ethernet address encrypts in conjunction with random string, and in conjunction with result, generates target identification information.For example, generate Target identification information can be ID, two dimensional code, bar code etc., not limit this.
When target identification information is two dimensional code, user can scan target apparatus to be controlled display screen by default small routine Two dimensional code on curtain, and the two dimensional code is decrypted using manner of decryption corresponding with encryption target identification information, it obtains The target identification information.
S302: the target identification information is sent to server;Multiple apparatus to be controlled are stored in the server Identification information;The target identification information finds the target identification information for triggering the server in the database When, establish the communication connection between this terminal and the target apparatus to be controlled.
The identification information of multiple apparatus to be controlled is previously stored in server, when target identification information is sent to clothes by terminal It is engaged in after device, server searches target identification information in the database, when finding target identification information, establishes terminal and target Communication connection between apparatus to be controlled.
Further, the 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.
It should be noted that no matter terminal and target apparatus to be controlled be in local area network or wide area network, terminal is based on presetting Small routine can control target apparatus to be controlled, and control result is identical.It is uniquely distinguished as in local area network, terminal can be straight It connects and carries out data interaction with target apparatus to be controlled, in wide area network, terminal needs to do transfer realization by server and waits for target Control the data interaction between equipment.
Above scheme, when detecting through default small routine and the foundation communication connection of target apparatus to be controlled, described pre- If the interactive interface display control interface of small routine;Obtain the control instruction triggered by the control interface;By the control Instruction is sent to the target apparatus to be controlled;The control instruction refers to for triggering the target apparatus to be controlled execution control Enable corresponding predetermined registration operation.The embodiment of the present invention establishes connection by default small routine and target apparatus to be controlled, in default little Cheng Control instruction is obtained in the control interface of sequence, and control instruction is sent to target apparatus to be controlled, and triggering target apparatus to be controlled is held The corresponding predetermined registration operation of row control instruction.Realize that do not need can be whenever and wherever possible to target apparatus to be controlled by traditional remote controller It is controlled, and is communicated to connect due to being established with target apparatus to be controlled, do not need to reduce set to be controlled to target by infrared ray For limitation when being controlled, increases command range, ignores barrier presence, improve accuracy, the sensitivity of control.
Fig. 9 is referred to, Fig. 9 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. 4, Fig. 8.Referring specifically to figure 1, the associated description in the corresponding embodiment of Fig. 4, Fig. 8.For ease of description, portion related to the present embodiment is illustrated only Point.Referring to Fig. 9, terminal 4 includes:
Display unit 410, for when detect established by default small routine and target apparatus to be controlled communicate to connect when, The interactive interface display control interface of the default small routine;
Acquiring unit 420, for obtaining the control instruction triggered by the control interface;
Transmission unit 430, 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, control interface includes the first control interface;First control interface based on acquiring in real time The picture that the target apparatus to be controlled is currently shown generates.
Display unit 410 includes:
Instruction sending unit, for when detect established by default small routine and target apparatus to be controlled communicate to connect when, Picture acquisition instruction is sent to the target apparatus to be controlled;For obtaining in real time, the target is to be controlled to be set the picture acquisition instruction The standby picture currently shown;
Picture receiving unit, the frame numbers sent for receiving the target apparatus to be controlled based on the picture acquisition instruction According to;
Generation unit, for being generated based on the picture data and showing the first control interface.
Further, acquiring unit 420 includes:
Detection unit, the first touch operation inputted in first control interface for detecting user;
Determination unit, for based on the corresponding touch gestures of first touch operation and first touch operation The content that the corresponding display area of touch location is shown, determines the first control instruction.
Further, it is determined that unit is specifically used for:
Determine the seat of the touch location of the corresponding touch gestures of first touch operation and first touch operation Mark information;
Based on current resolution ratio, the resolution ratio of the target apparatus to be controlled and the coordinate information, the touching is determined Position target position information corresponding in the picture that the target apparatus to be controlled is currently shown is touched, and determines the target position The confidence breath corresponding display content of display subregion affiliated in the picture currently shown;
Based on the corresponding touch gestures of first touch operation, the target position information and the display content, Determine the first control instruction.
Further, acquiring unit 420 is specifically used for:
Obtain the second touch operation that user carries out each virtual control in second control interface;
Based on the corresponding default control function of the virtual control of being touched and second touch operation, is determined Two control instructions.
Further, terminal further include:
Search unit, for when detecting access to LAN and starting the default small routine, search to access the office The apparatus to be controlled of domain net;
Communication unit is established, for establishing with the target apparatus to be controlled logical when searching the target apparatus to be controlled Letter connection.
Further, terminal further include:
Mark acquiring unit, the target identification for obtaining the target apparatus to be controlled by the default small routine are believed Breath;
Transmission unit is identified, for the target identification information to be sent to server;It is stored in the server more The identification information of a apparatus to be controlled;The target identification information finds the mesh for triggering the server in the database When marking identification information, the communication connection between this terminal and the target apparatus to be controlled is established.
Referring to Figure 10, Figure 10 be another embodiment of the present invention provides a kind of terminal schematic diagram.As shown in Figure 10, should The terminal 5 of embodiment includes: processor 50, memory 51 and is stored in the memory 51 and can be in the processor 50 The computer program 52 of upper operation.The processor 50 realized when executing the computer program 52 above-mentioned each terminal based on Small routine controls the step in the embodiment of the method for smart machine, such as S101 shown in FIG. 1 to S103.Alternatively, the processing Device 50 realizes the function of each unit in above-mentioned each Installation practice, such as unit shown in Fig. 9 when executing the computer program 52 410 to 430 functions.
Illustratively, the computer program 52 can be divided into one or more units, one or more of Unit is stored in the memory 51, and is executed by the processor 50, 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 52 in the terminal 5.For example, the computer program 52 can be divided into display unit, obtain list Member and transmission unit, each unit concrete function are as described above.
The terminal may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that figure 10 be only the example of terminal 5, and the not restriction of structure paired terminal 5 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 50 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 51 can be the internal storage unit of the terminal 5, such as the hard disk or memory of terminal 5.It is described Memory 51 is also possible to the external storage terminal of the terminal 5, such as the plug-in type hard disk being equipped in the terminal 5, intelligence Storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) Deng.Further, the memory 51 can also both including the terminal 5 internal storage unit and also including external storage end End.The memory 51 is for other programs and data needed for storing the computer program and the terminal.It is described to deposit Reservoir 51 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 control interface;
Obtain the control instruction triggered by the control interface;
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 the control interface includes the first control interface;Described first Control interface is generated based on the picture that the target apparatus to be controlled acquired in real time is currently shown;
It is described when detect established by default small routine and target apparatus to be controlled communicate to connect when, in the default small routine Interactive interface display control interface, comprising:
When detecting through default small routine and the foundation communication connection of target apparatus to be controlled, Xiang Suoshu target apparatus to be controlled is sent Picture acquisition instruction;The picture acquisition instruction for obtaining the picture that the target apparatus to be controlled is currently shown in real time;
Receive the picture data that the target apparatus to be controlled is sent based on the picture acquisition instruction;
It is generated based on the picture data and shows the first control interface.
3. method according to claim 2, which is characterized in that when the control interface is first control interface, institute State the control instruction for obtaining and triggering by the control interface, comprising:
The first touch operation that detection user inputs in first control interface;
Touch location based on the corresponding touch gestures of first touch operation and first touch operation is corresponding aobvious Show the content that region is shown, determines the first control instruction.
4. method as claimed in claim 3, which is characterized in that described to be based on the corresponding touch gestures of first touch operation And the content that the corresponding display area of touch location of first touch operation is shown, determine the first control instruction, comprising:
Determine the coordinate letter of the touch location of the corresponding touch gestures of first touch operation and first touch operation Breath;
Based on current resolution ratio, the resolution ratio of the target apparatus to be controlled and the coordinate information, the touch position is determined Corresponding target position information in the picture that the target apparatus to be controlled is currently shown is set, and determines the target position letter The corresponding display content of display subregion belonging to ceasing in the picture currently shown;
Based on the corresponding touch gestures of first touch operation, the target position information and the display content, determine First control instruction.
5. the method as described in claim 1, which is characterized in that the control interface include the second control interface, described second Control interface includes the virtual control that at least one is used to trigger control instruction;What the acquisition was triggered by the control interface Control instruction, comprising:
Obtain the second touch operation that user carries out each virtual control in second control interface;
Based on the corresponding default control function of the virtual control of being touched and second touch operation, the second control is determined System instruction.
6. the method as described in claim 1, which is characterized in that it is described when detect by default small routine with target is to be controlled sets When standby foundation communication connection, before the interactive interface display control interface of the default small routine, further includes:
When detecting access to LAN and starting the default small routine, search accesses the apparatus to be controlled of the local area network;
When searching the target apparatus to be controlled, establishes and communicate to connect with the target apparatus to be controlled.
7. the method as described in claim 1, which is characterized in that it is described when detect by default small routine with target is to be controlled sets When standby foundation communication connection, before the interactive interface display control interface of the default small routine, further includes:
The target identification information of the target apparatus to be controlled is obtained by the default small routine;
The identification information of multiple apparatus to be controlled is stored in the server;The target identification information is for triggering the service When device finds the target identification information in the database, the communication link between this terminal and the target apparatus to be controlled is established It connects.
8. 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 control interface of small routine;
Acquiring unit, for obtaining the control instruction triggered by the control interface;
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.
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 7 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 7 of realization the method.
CN201910450777.0A 2019-05-28 2019-05-28 A kind of method and terminal based on small routine control smart machine Pending CN110248228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910450777.0A CN110248228A (en) 2019-05-28 2019-05-28 A kind of method and terminal based on small routine control smart machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910450777.0A CN110248228A (en) 2019-05-28 2019-05-28 A kind of method and terminal based on small routine control smart machine

Publications (1)

Publication Number Publication Date
CN110248228A true CN110248228A (en) 2019-09-17

Family

ID=67885231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910450777.0A Pending CN110248228A (en) 2019-05-28 2019-05-28 A kind of method and terminal based on small routine control smart machine

Country Status (1)

Country Link
CN (1) CN110248228A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327382A (en) * 2012-03-19 2013-09-25 莱福科技(中国)有限公司 Picture far-end control method
CN107241652A (en) * 2017-06-28 2017-10-10 百视通网络电视技术发展有限责任公司 A kind of TV speech remote control system and method based on wechat small routine
CN107360454A (en) * 2017-06-28 2017-11-17 百视通网络电视技术发展有限责任公司 A kind of tv remote control system and method based on mobile terminal wechat small routine
CN107608602A (en) * 2017-08-31 2018-01-19 广东美芝制冷设备有限公司 Control method, mobile terminal, control system and the storage medium of on-board air conditioner
CN109803161A (en) * 2019-01-14 2019-05-24 深圳市金锐显数码科技有限公司 TV remote controlling method, device and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327382A (en) * 2012-03-19 2013-09-25 莱福科技(中国)有限公司 Picture far-end control method
CN107241652A (en) * 2017-06-28 2017-10-10 百视通网络电视技术发展有限责任公司 A kind of TV speech remote control system and method based on wechat small routine
CN107360454A (en) * 2017-06-28 2017-11-17 百视通网络电视技术发展有限责任公司 A kind of tv remote control system and method based on mobile terminal wechat small routine
CN107608602A (en) * 2017-08-31 2018-01-19 广东美芝制冷设备有限公司 Control method, mobile terminal, control system and the storage medium of on-board air conditioner
CN109803161A (en) * 2019-01-14 2019-05-24 深圳市金锐显数码科技有限公司 TV remote controlling method, device and terminal device

Similar Documents

Publication Publication Date Title
US20170115941A1 (en) Electronic device and control method thereof
CN106489080B (en) Gesture sensing and data transmission based on radar
US9160819B2 (en) System and method for controlling a networked display
EP3014595B1 (en) Methods, systems, and media for controlling a remote device using a touchscreen of a mobile device in a display inhibited state
US10551987B2 (en) Multiple screen mode in mobile terminal
US9491501B2 (en) Mobile terminal, television broadcast receiver, and device linkage method
EP2787683B1 (en) Apparatus and method for providing private chat in group chat
US20180203662A1 (en) Methods, systems, and media for launching a mobile application using a public display device
US8648827B2 (en) Portable devices, data transmission systems and display sharing methods thereof
US8762863B2 (en) Method and apparatus for gesture manipulation across multiple devices
EP2419809B1 (en) Custom pointer features for touch-screen on remote client devices
KR102020345B1 (en) The method for constructing a home screen in the terminal having touchscreen and device thereof
KR101017099B1 (en) User interface for transferring data with a communications terminal
RU2541125C2 (en) Information processing device, information processing method and programme
KR102135052B1 (en) System and method for detecting three dimensional gestures to initiate and complete the transfer of application data between networked devices
CN102279665B (en) Television remote control method, device and system based on touchpad remote control
KR101690232B1 (en) Electronic Device And Method Of Controlling The Same
US9191449B2 (en) System and method for communicating events at a server to a remote device
US8230075B1 (en) Method and device for identifying devices which can be targeted for the purpose of establishing a communication session
RU2617384C2 (en) Method and device for content management using graphical object
US9448815B2 (en) Server-side computing from a remote client device
JP2015524110A (en) Context user interface
US20140181683A1 (en) Method and system for controlling external device
US9544714B2 (en) Companion application for activity cooperation
US10928988B2 (en) Method and system for providing information based on context, and computer-readable recording medium thereof

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