CN103929470B - A kind of long-range control method, apparatus and system - Google Patents

A kind of long-range control method, apparatus and system Download PDF

Info

Publication number
CN103929470B
CN103929470B CN201410102605.1A CN201410102605A CN103929470B CN 103929470 B CN103929470 B CN 103929470B CN 201410102605 A CN201410102605 A CN 201410102605A CN 103929470 B CN103929470 B CN 103929470B
Authority
CN
China
Prior art keywords
terminal
fat
thin
instruction
iidentification
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.)
Active
Application number
CN201410102605.1A
Other languages
Chinese (zh)
Other versions
CN103929470A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410102605.1A priority Critical patent/CN103929470B/en
Publication of CN103929470A publication Critical patent/CN103929470A/en
Application granted granted Critical
Publication of CN103929470B publication Critical patent/CN103929470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A kind of long-range control method of offer of the embodiment of the present invention, apparatus and system, are used for the communications field, can simplify the flow of remote control, reduce the cost of remote control process.The long-range control method includes:Receive the first solicited message that thin terminal is sent;According to preset rules, parsing first request obtains the first instruction;When first instruction instructs in order to control, according to the terminal iidentification of the thin terminal, judge whether the thin terminal is the first thin terminal, the first thin terminal is the authorization terminal of the fat terminal;When the thin terminal is the first thin terminal, executes described first and instruct and generate the first feedback information;First feedback information is sent to the described first thin terminal.The embodiment of the present invention provides a kind of long-range control method, and apparatus and system can be used in the remote control between fat terminal and thin terminal.

Description

A kind of long-range control method, apparatus and system
Technical field
The present invention relates to the communications field more particularly to a kind of long-range control method, apparatus and systems.
Background technology
With the development of the communication technology, the application that remote control is carried out between various mobile intelligent terminals is also increasingly wider It is general, it can be common that the remote control between fat terminal and thin terminal, the fat terminal refer to configuring it is relative complex, function compared with It is more, the stronger mobile intelligent terminal of operability, such as smart mobile phone;The thin terminal refers to that configuration is relatively weak, function letter Single mobile intelligent terminal, such as smartwatch.In the prior art, the remote control between mobile intelligent terminal is to pass through third What square server was realized, for example, when the first intelligent terminal needs other intelligent terminals to carry out remote control to it, can pass through Communication, such as SMS(Short Messaging Service, short message service)Technology sends remote control notification To third-party server, third-party server carries out authentication operations after parsing the remote control notification, i.e., is stepped on from registered in advance The second intelligent terminal with remote control permission is selected in the mandate inventory of the executable remote control of note, it then will be urgent Remote control notification issues the second intelligent terminal, and the second intelligent terminal is handled after receiving the request, then passes through SMS Remote control commands are sent to third-party server by technology, and third-party server parses the remote control commands and incites somebody to action Remote control commands after parsing are sent to the first intelligent terminal and will be held after the first intelligent terminal receives and executes the instruction Row data issue the second intelligent terminal by third-party server, and the second intelligent terminal, which receives the execution data and exports, executes knot Fruit.
During existing remote control, the parsing of the authentication, control instruction of the remote control notification of intelligent terminal It is to be completed by third-party server, this needs arranges the resolution rules of instruction in third-party server side in advance, And configured on third-party server by intelligent terminal, it, can for the relatively simple thin terminal of function and configuration Operability is poor, influences user experience, and complete remote control by third-party server so that the flow of remote control is excessively Complexity increases the cost of remote control process.
Invention content
A kind of long-range control method of the embodiment of the present invention offer, apparatus and system, can simplify the flow of remote control, Reduce the cost of remote control process.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, providing a kind of long-range control method, it is used for fat terminal, including:
The first solicited message that thin terminal is sent is received, first solicited message includes the first request, the thin terminal Terminal iidentification;
According to preset rules, parsing first request obtains the first instruction;
When first instruction instructs in order to control, according to the terminal iidentification of the thin terminal, judge that the thin terminal is No is the first thin terminal, the first thin terminal be the fat terminal authorization terminal, the authorization terminal be with it is described Fat terminal completes the terminal remotely connected;
When the thin terminal is the first thin terminal, executes described first and instruct and generate the first feedback information, institute It includes the terminal that the fat terminal executes the first feedback and the fat terminal that first instruction obtains to state the first feedback information Mark;
First feedback information is sent to the described first thin terminal.
With reference to first aspect, the first can be in realization mode, in first solicited message for receiving thin terminal and sending Before, the method further includes:
Sessions is sent to the described first thin terminal, the sessions includes remote connection request, institute State the terminal iidentification of fat terminal;
Receive the connection feedback information that thin terminal is sent, the connection feedback information include connection feedback, update feed back and The terminal iidentification of the thin terminal;
According to the preset rules, the connection feedback and update feedback are parsed;
It is fed back when the connection and indicates that long-range successful connection and update feedback indicate that the thin terminal is successfully updated and award When weighing terminal inventory, the terminal iidentification of the thin terminal is obtained;
When the thin terminal is the first thin terminal, the authorization terminal inventory that the update fat terminal preserves is described Authorization terminal inventory includes all terminal iidentifications that the fat terminal or thin terminal that remotely connect are completed with the fat terminal.
Mode can be realized in conjunction with the first, in second of achievable mode, preserved in the update fat terminal After authorization terminal inventory, the method further includes:
The second solicited message is sent to the described first thin terminal, second solicited message asks including second, is described fat The terminal iidentification of terminal;
The second feedback information that thin terminal is sent is received, second feedback information includes the second feedback, the thin terminal Terminal iidentification;
According to the preset rules, parsing second feedback obtains the second instruction;
When second instruction is the control instruction, the terminal iidentification of the thin terminal is obtained;
When the thin terminal is the first thin terminal, second instruction is executed.
Can realize mode in conjunction with the first, the third can be in realization mode, the terminal mark according to the thin terminal Know, judges whether the thin terminal is that the first thin terminal includes:
Obtain the terminal iidentification of the thin terminal;
Judge the thin terminal terminal iidentification whether the described first thin terminal for including with the authorization terminal inventory Terminal iidentification it is identical;
When the terminal for the described first thin terminal that the terminal iidentification of the thin terminal includes with the authorization terminal inventory When identifying identical, the thin terminal is the described first thin terminal.
With reference to first aspect, the first can realize mode, second of achievable mode or the third can realize mode, In four kinds of achievable modes, the preset rules include at least one request and/or at least one feedback and/or at least one finger The encoding and decoding rule of order.
With reference to first aspect, the first can realize mode, and second of achievable mode, the third can realize mode or the 4th The achievable mode of kind, in the 5th kind of achievable mode, first feedback information, the sessions and described second Solicited message is sent respectively to the thin terminal in the form of short message;
Receive first solicited message, the connection feedback information that the thin terminal is sent respectively in the form of short message With second feedback information.
Second aspect, a kind of long-range control method are used for thin terminal, including:
The first solicited message is sent to the first fat terminal, first solicited message includes the first request, the thin terminal Terminal iidentification, the first fat terminal be the thin terminal authorization terminal, the authorization terminal be with the thin end Complete the terminal remotely connected in end;
The first feedback information that fat terminal is sent is received, first feedback information includes the first feedback and the fat terminal Terminal iidentification;
According to preset rules, parsing first feedback obtains third instruction;
When third instruction instructs in order to control, according to the terminal iidentification of the fat terminal, judge that the fat terminal is No is the described first fat terminal;
When the fat terminal is the first fat terminal, the third instruction is executed.
In conjunction with second aspect, the first solicited message can be sent to the first fat terminal described in realization mode at the first Before, the method further includes:
The sessions that the described first fat terminal is sent is received, the sessions includes that long-range connection is asked It asks, the terminal iidentification of the first fat terminal;
According to the preset rules, the remote connection request is parsed, obtains long-range link order;
When the long-range link order is link order, according to the terminal iidentification of the described first fat terminal, described in judgement Can the first fat terminal remotely be connect with the thin terminal;
When the described first fat terminal can remotely be connect with the thin terminal, the long-range link order and root are executed The authorization terminal inventory that the thin terminal preserves is updated according to implementing result, the authorization terminal inventory includes all and the thin end The terminal iidentification of the fat terminal or thin terminal that remotely connect is established at end;
Connection feedback information is generated, the connection feedback information includes connection feedback, update feedback and the thin terminal Terminal iidentification, the connection feedback are used to indicate the implementing result of the long-range link order, and the update feedback is used to indicate The thin terminal updates the result of the authorization terminal inventory;
The connection feedback information is sent to the described first fat terminal.
Mode can be realized in conjunction with the first, in second of achievable mode, sent out the connection feedback information described After giving the described first fat terminal, the method further includes:
The second solicited message that fat terminal is sent is received, second solicited message includes the second request, the fat terminal Terminal iidentification;
According to the preset rules, parsing second request obtains the 5th instruction;
When the 5th instruction instructs in order to control, according to the terminal iidentification of the fat terminal, judge that the fat terminal is No is the described first fat terminal;
When the fat terminal is the first fat terminal, the 5th instruction is executed;
According to the implementing result of the 5th instruction, the second feedback information is generated, second feedback information includes described Thin terminal execute it is described 5th instruction after second feedback, the thin terminal terminal iidentification;
Second feedback information is sent to the described first fat terminal.
Can realize mode in conjunction with the first, the third can be in realization mode, the terminal mark according to the fat terminal Know, judges whether the fat terminal is that the described first fat terminal includes:
Obtain the terminal iidentification of the fat terminal;
Judge the fat terminal terminal iidentification whether the end with the mandate inventory described first fat terminal that includes End mark is identical;
When the terminal iidentification for the described first fat terminal that the terminal iidentification of the fat terminal includes with the mandate inventory When identical, the fat terminal is the described first fat terminal.
In conjunction with second aspect, the first can realize that mode can be achieved mode or the third second and can realize mode, In four kinds of achievable modes, the preset rules include at least one request and/or at least one feedback and/or at least one finger The encoding and decoding rule of order.
In conjunction with second aspect, the first can realize mode, and second of achievable mode, the third can realize mode or the 4th Kind achievable mode, in the 5th kind of achievable mode, receive that the fat terminal sends respectively in the form of short message described the One feedback information, the sessions and second solicited message.
First solicited message, the connection feedback information and second feedback information are sent out respectively in the form of short message Give the fat terminal.
The third aspect, a kind of fat terminal, including:
Receiving unit, the first solicited message sent for receiving thin terminal, first solicited message are asked including first It asks, the terminal iidentification of the thin terminal;
Resolution unit, for according to preset rules, parsing in first solicited message that the receiving unit receives First request, obtains the first instruction;
Judging unit, when first instruction for being parsed when the resolution unit instructs in order to control, according to institute The terminal iidentification for stating thin terminal judges whether the thin terminal is the first thin terminal, and the first thin terminal is the fat terminal Authorization terminal, the authorization terminal is to have completed the terminal remotely having connect with the fat terminal;
Execution unit, for when the judging unit judge to obtain the thin terminal as the first thin terminal when, execute Described first instructs and generates the first feedback information, and first feedback information includes that the fat terminal executes first instruction The terminal iidentification of the first obtained feedback and the fat terminal;
Transmission unit, first feedback information for generating the execution unit were sent to for the described first thin end End.
, can be in realization mode at the first in conjunction with the third aspect, the transmission unit is additionally operable to the described first thin terminal Send sessions, the sessions include remote connection request, the fat terminal terminal iidentification;
The receiving unit is additionally operable to receive the connection feedback information that thin terminal is sent, and the connection feedback information includes connecting The terminal iidentification of reversed feedback and the thin terminal;
The resolution unit is additionally operable to, according to the preset rules, parse the connection feedback and update feedback;
The fat terminal further includes:
Acquiring unit, for indicating that long-range successful connection and update feedback indicate the thin end when connection feedback When end is successfully updated authorization terminal inventory, the terminal iidentification of the thin terminal is obtained;
Updating unit, for the mandate that when the thin terminal is the first thin terminal, the update fat terminal preserves Terminal inventory, the authorization terminal inventory include all ends that the fat terminal or thin terminal that remotely connect are completed with the fat terminal End mark.
Mode can be realized in conjunction with the first, and in second of achievable mode, the transmission unit is additionally operable to described One thin terminal sends the second solicited message, second solicited message include the second request, the fat terminal terminal iidentification;
The receiving unit is additionally operable to receive the second feedback information that thin terminal is sent, and second feedback information includes the The terminal iidentification of two feedbacks, the thin terminal;
The resolution unit is additionally operable to according to the preset rules, and parsing second feedback obtains the second instruction;
The acquiring unit is additionally operable to, when second instruction is the control instruction, obtain the terminal of the thin terminal Mark;
The execution unit is additionally operable to when the thin terminal is the first thin terminal, executes second instruction.
Mode can be realized in conjunction with the first, can be in realization mode at the third, the judging unit is specifically used for:
Obtain the terminal iidentification of the thin terminal;
Judge the thin terminal terminal iidentification whether the described first thin terminal for including with the authorization terminal inventory Terminal iidentification it is identical;
When the terminal for the described first thin terminal that the terminal iidentification of the thin terminal includes with the authorization terminal inventory When identifying identical, the thin terminal is the described first thin terminal.
In conjunction with the third aspect, the first can realize that mode can be achieved mode or the third second and can realize mode, In four kinds of achievable modes, the preset rules include at least one request and/or at least one feedback and/or at least one finger The encoding and decoding rule of order.
In conjunction with the third aspect, the first can realize mode, and second of achievable mode, the third can realize mode or the 4th Kind achievable mode, in the 5th kind of achievable mode, the transmission unit is specifically used for first feedback information, described Sessions and second solicited message are sent respectively to the thin terminal in the form of short message;
The receiving unit is specifically used for receiving first request that the thin terminal is sent respectively in the form of short message Information, the connection feedback information and second feedback information.
Fourth aspect, a kind of thin terminal, including:
Transmission unit, for sending the first solicited message to the first fat terminal, first solicited message is asked including first It asks, the terminal iidentification of the thin terminal, the first fat terminal is the authorization terminal of the thin terminal, and the authorization terminal is Through completing the terminal remotely connecting with the thin terminal;
Receiving unit, the first feedback information sent for receiving fat terminal, first feedback information include first anti- The terminal iidentification of feedback and the fat terminal;
Resolution unit, for according to preset rules, parsing the institute in the first feedback information that the receiving unit receives The first feedback is stated, third instruction is obtained;
Judging unit, when the third instruction for being parsed when the resolution unit instructs in order to control, according to institute The terminal iidentification for stating fat terminal judges whether the fat terminal is the described first fat terminal;
Execution unit, for when the judging unit judge to obtain the fat terminal as the first fat terminal when, execute The third instruction.
With reference to first aspect, can be in realization mode at the first, the receiving unit is additionally operable to receive for the described first fat end The sessions sent is held, the sessions includes remote connection request, the terminal mark of the first fat terminal Know;
The resolution unit is additionally operable to, according to the preset rules, parse the remote connection request, remotely connected Instruction;
The judging unit is additionally operable to when the long-range link order is link order, according to the described first fat terminal Terminal iidentification judges that can the described first fat terminal remotely be connect with the thin terminal;
The execution unit is additionally operable to when the described first fat terminal can remotely be connect with the thin terminal, executes institute It states long-range link order and the authorization terminal inventory that the thin terminal preserves, the authorization terminal inventory is updated according to implementing result Including all terminal iidentifications for establishing the fat terminal or thin terminal that remotely connect with the thin terminal;
Connection feedback information is generated, the connection feedback information includes connection feedback, update feedback and the thin terminal Terminal iidentification, the connection feedback are used to indicate the implementing result of the long-range link order, and the update feedback is used to indicate The thin terminal updates the result of the authorization terminal inventory;
The transmission unit is additionally operable to the connection feedback information being sent to the described first fat terminal.
Mode can be realized in conjunction with the first, and in second of achievable mode, the receiving unit is additionally operable to receive fat end Hold send the second solicited message, second solicited message include the second request, the fat terminal terminal iidentification;
The resolution unit is additionally operable to according to the preset rules, and parsing second request obtains the 5th instruction;
The judging unit is additionally operable to when the 5th instruction instructs in order to control, according to the terminal mark of the fat terminal Know, judges whether the fat terminal is the described first fat terminal;
The execution unit is additionally operable to when the fat terminal is the first fat terminal, executes the 5th instruction;
The generation unit is additionally operable to the implementing result according to the 5th instruction, generates the second feedback information, and described the Two feedback informations include the thin terminal execute it is described 5th instruction after second feedback, the thin terminal terminal iidentification;
The transmission unit is additionally operable to second feedback information being sent to the described first fat terminal.
Mode can be realized in conjunction with the first, can be in realization mode at the third, the judging unit is specifically used for:
Obtain the terminal iidentification of the fat terminal;
Judge the fat terminal terminal iidentification whether the end with the mandate inventory described first fat terminal that includes End mark is identical;
When the terminal iidentification for the described first fat terminal that the terminal iidentification of the fat terminal includes with the mandate inventory When identical, the fat terminal is the described first fat terminal.
In conjunction with fourth aspect, the first can realize mode, second of achievable mode or second of achievable mode, In four kinds of achievable modes, the preset rules include at least one request and/or at least one feedback and/or at least one finger The encoding and decoding rule of order.
In conjunction with fourth aspect, the first can realize mode, and second of achievable mode, the third can realize mode or the 4th Any one of the achievable mode of kind, in the 5th kind of achievable mode, the receiving unit is specifically used for receiving the fat end Hold first feedback information, the sessions and second solicited message sent respectively in the form of short message.
The transmission unit is specifically used for first solicited message, the connection feedback information and second feedback Information is sent respectively to the fat terminal in the form of short message.
5th aspect.A kind of tele-control system is provided, including:Fat terminal and thin terminal;
The fat terminal is initially used for sending sessions, the sessions packet to the described first thin terminal Include remote connection request, the fat terminal terminal iidentification;Receive the connection feedback information that thin terminal is sent, the connection feedback Information includes the terminal iidentification of connection feedback, update feedback and the thin terminal;According to preset rules, the connection feedback is parsed It is fed back with the update;It is fed back when the connection and indicates long-range successful connection and the update feedback instruction thin terminal success When updating authorization terminal inventory, the terminal iidentification of the thin terminal is obtained;When the thin terminal is the first thin terminal, more The authorization terminal inventory that the new fat terminal preserves, the authorization terminal inventory include all completing remotely to connect with the fat terminal The terminal iidentification of the fat terminal or thin terminal that connect;Then the fat terminal is used to receive the first solicited message that thin terminal is sent, First solicited message include the first request, the thin terminal terminal iidentification;According to the preset rules, parsing described the One request, obtains the first instruction;When first instruction instructs in order to control, according to the terminal iidentification of the thin terminal, judge Whether the thin terminal is the first thin terminal, and the first thin terminal is the authorization terminal of the fat terminal, the authorization terminal To complete the terminal remotely connecting with the fat terminal;When the thin terminal is the first thin terminal, described in execution First instructs and generates the first feedback information, and first feedback information includes that fat terminal execution first instruction obtains First feedback and the fat terminal terminal iidentification;First feedback information is sent to the described first thin terminal;Or Send the second solicited message to the described first thin terminal, second solicited message include the second request, the fat terminal end End mark;The second feedback information that thin terminal is sent is received, second feedback information includes the second feedback, the thin terminal Terminal iidentification;According to the preset rules, parsing second feedback obtains the second instruction;When second instruction is described When control instruction, the terminal iidentification of the thin terminal is obtained;When the thin terminal is the first thin terminal, described the is executed Two instructions;
The thin terminal is initially used for receiving the sessions that the described first fat terminal is sent, the long-range connection letter Breath includes remote connection request, the terminal iidentification of the first fat terminal;According to preset rules, parses the long-range connection and ask It asks, obtains long-range link order;When the long-range link order is link order, according to the terminal mark of the described first fat terminal Know, judges that can the described first fat terminal remotely be connect with the thin terminal;When the described first fat terminal can with it is described thin When terminal is remotely connected, executes the long-range link order and the mandate that the thin terminal preserves is updated according to implementing result Terminal inventory;Connection feedback information is generated, the connection feedback information includes connection feedback, update feedback and the thin terminal Terminal iidentification, the connection feedback are used to indicate the implementing result of the long-range link order, and the update feedback is used to indicate The thin terminal updates the result of the authorization terminal inventory;The connection feedback information is sent to the described first fat terminal; Then the fat terminal is used to send the first solicited message to the first fat terminal, first solicited message include the first request, The terminal iidentification of the thin terminal, the first fat terminal are the authorization terminal of the thin terminal, and the authorization terminal is The terminal remotely connecting is completed with the thin terminal;Receive the first feedback information that fat terminal is sent, first feedback information Include the terminal iidentification of the first feedback and the fat terminal;According to the preset rules, parsing first feedback obtains third Instruction;When third instruction instructs in order to control, according to the terminal iidentification of the fat terminal, judge the fat terminal whether be The first fat terminal;When the fat terminal is the first fat terminal, the third instruction is executed;Or receive fat terminal Send the second solicited message, second solicited message include the second request, the fat terminal terminal iidentification;According to described Preset rules, parsing second request, obtain the 5th instruction;When the 5th instruction instructs in order to control, according to described fat The terminal iidentification of terminal judges whether the fat terminal is the described first fat terminal;When the fat terminal was the described first fat end When end, the 5th instruction is executed;According to the implementing result of the 5th instruction, the second feedback information is generated, described second is anti- Feedforward information include the thin terminal execute it is described 5th instruction after second feedback, the thin terminal terminal iidentification;By institute It states the second feedback information and is sent to the described first fat terminal.
Long-range control method provided in an embodiment of the present invention, apparatus and system so that fat terminal can be direct with thin terminal Long-range connection is established, and after establishing long-range connection, can remote control flow be initiated by either side, and can not By the judgement of parsing and authorization terminal that third-party server is completed to instruct in remote control process, compared to the prior art, The flow for simplifying remote control reduces the cost of remote control process.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of long-range control method flow chart provided in an embodiment of the present invention;
Fig. 2 is another long-range control method flow chart provided in an embodiment of the present invention;
Fig. 3 is a kind of long-range connection method flow chart provided in an embodiment of the present invention;
Fig. 4 is another long-range control method flow chart provided in an embodiment of the present invention;
Fig. 5 is provided in an embodiment of the present invention and another long-range control method flow chart;
Fig. 6 is a kind of structural schematic diagram of fat terminal provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the fat terminal of another kind provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of thin terminal provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of the thin terminal of another kind provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of another fat terminal provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of another thin terminal provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of long-range control method, as shown in Figure 1, it is used for fat terminal, including:
Step 101 receives the first solicited message that thin terminal is sent, and first solicited message includes the first request, institute State the terminal iidentification of thin terminal.
In practical applications, thin terminal may need its progress remote control of fat terminal-pair, and at this moment the thin terminal can be led It is dynamic to initiate remote control process, the first solicited message is sent to fat terminal, which receives thin terminal is sent first and ask Seek information, first solicited message include the first request, the thin terminal terminal iidentification.
Step 102, according to preset rules, parsing first request obtains the first instruction.
The preset rules be it is pre-set, including it is at least one request and/or it is at least one feedback and/or at least one The encoding and decoding of a instruction are regular, need fat terminal identical as the preset rules of thin terminal in practical application, connect in this way in fat terminal After receiving the first solicited message, the first request in first solicited message is obtained first, is then parsed first request, is led to In the case of often, which is that thin terminal encodes generation according to preset rules, and fat terminal can be according to the preset rules First request is parsed, the first instruction is then obtained.For example, the first request is " RMBBBB ", by first being asked to this The first instruction that the parsing asked obtains is " safety certification ", i.e., what fat terminal needed to execute is the instruction of " safety certification ".
Step 103, when first instruction instructs in order to control, according to the terminal iidentification of the thin terminal, described in judgement Whether thin terminal is the first thin terminal, and the first thin terminal is the authorization terminal of the fat terminal, and the authorization terminal is Through completing the terminal remotely connecting with the fat terminal.
Common, the instruction that fat terminal parses may be control instruction, it is also possible to which link order, the control refer to It enables by carrying out required instruction when remote control between fat terminal and the thin terminal authorized, the link order is fat terminal Instruction required when remotely connecting is established between any one thin terminal.In practical application, the fat terminal has multiple mandates Terminal, the authorization terminal are to have completed the terminal remotely connecting, the only authorization terminal with the fat terminal with the fat terminal Remote control could be realized with the fat terminal, therefore after fat terminal judges that first instruction instructs in order to control, obtains thin end The terminal iidentification at end judges the thin terminal indicated by the terminal iidentification of the thin terminal then according to the terminal iidentification of the thin terminal Whether it is the first thin terminal, the first thin terminal is the authorization terminal of the fat terminal.
Step 104, when the thin terminal be the first thin terminal when, execute it is described first instruct simultaneously generates the first feedback Information, first feedback information include the first feedback and the fat terminal that the fat terminal executes that first instruction obtains Terminal iidentification.
After fat terminal judges that the thin terminal is the first thin terminal, that is, judge that the thin terminal is the fat end After the authorization terminal at end, which executes first instruction, obtains the first feedback, which is according to the fat terminal The implementing result for executing first instruction obtains, and then generates the first feedback information, and first feedback information includes the The terminal iidentification of one feedback and the fat terminal, it should be noted that first feedback is that fat terminal is carried out according to preset rules What coding generated.
First feedback information is sent to the described first thin terminal by step 105.
Optionally, fat terminal may be used the form of short message mode or short-distance wireless communication mode will by radio communication First feedback information is sent to the first thin terminal.
So, during remote control, request or refer to that fat terminal can include to the information received Order is parsed, and when the obtained instruction of parsing instructs in order to control, judges to send whether the thin terminal of information is authorization terminal, And when the thin terminal is authorization terminal, the instruction that parsing obtains, compared to the prior art, fat terminal and thin terminal energy are executed It is enough remote control not to be carried out directly by third-party server, the flow of remote control is simplified, remote control mistake is reduced The cost of journey.
When initialization, long-range connection relation is not present between fat terminal and the first thin terminal, the first thin terminal is not at this time The authorization terminal of fat terminal, it is therefore desirable to initially set up the long-range connection relation between fat terminal and the first thin terminal.Therefore exist Before receiving the first solicited message that thin terminal is sent, fat terminal can also send long-range connection letter to the described first thin terminal Breath, the sessions include remote connection request, the fat terminal terminal iidentification.
After sessions is sent to the first thin terminal, fat terminal receives the connection feedback letter that thin terminal is sent Breath, the connection feedback information includes the terminal iidentification of connection feedback, update feedback and the thin terminal, according to the default rule Then, the connection feedback and update feedback are parsed.When connection feedback indicates that long-range successful connection and the update are anti- When feedback indicates that the thin terminal is successfully updated authorization terminal inventory, the terminal iidentification of the thin terminal is obtained, according to the thin end The terminal iidentification at end judges whether the thin terminal is the first thin terminal, and when the thin terminal is the described first thin terminal When, the authorization terminal inventory that the update fat terminal preserves, the authorization terminal inventory includes that all and described fat terminal is completed The terminal iidentification of the fat terminal or thin terminal that remotely connect.So, fat terminal is only when the first thin terminal is successfully updated the When the authorization terminal inventory that one thin terminal preserves, the authorization terminal inventory locally preserved is just updated, is avoided due to the first thin end The situation for holding the authorization terminal inventory of both sides caused by not being successfully updated mandate inventory inconsistent.
After establishing long-range connection relation between fat terminal and the first thin terminal, that is, update awarding for the fat terminal preservation After weighing terminal inventory, remote control can be carried out between fat terminal and the first thin terminal, fat terminal is thin to described first at this time Terminal send the second solicited message, second solicited message include the second request, the fat terminal terminal iidentification, then connect The second feedback information that thin terminal is sent is received, second feedback information includes the terminal iidentification of the second feedback, the thin terminal, According to the preset rules, parsing second feedback obtains the second instruction.When second instruction is the control instruction When, obtain the terminal iidentification of the thin terminal, and judge whether the thin terminal is the according to the terminal iidentification of the thin terminal One thin terminal executes second instruction when the thin terminal is the first thin terminal.
It is exemplary, it is first when judging whether the thin terminal is the first thin terminal in the terminal iidentification according to the thin terminal The terminal iidentification for first obtaining the thin terminal, then judge the thin terminal terminal iidentification whether with the authorization terminal inventory The terminal iidentification for the described first thin terminal for including is identical, when terminal iidentification and the authorization terminal inventory of the thin terminal When the terminal iidentification for the described first thin terminal for including is identical, the thin terminal is the described first thin terminal.
Optionally, it is described send sessions to the described first thin terminal before, fat terminal also needs to set in advance Preset rules are set, the preset rules include at least one request and/or at least one feedback and/or the volume of at least one instruction Decoding rule, fat terminal according to the preset rules to needing the instructions or requests for issuing the first thin terminal to encode, and root The feedback received or request are parsed according to the preset rules, for example, parsing first request, obtain the first finger When enabling, fat terminal obtains first request first, and first request is the described first thin terminal according to the preset rules It is encoded and is later generated;According to the preset rules, parsing first request obtains first instruction.
Optionally, in the embodiment of the present invention fat terminal can by first feedback information, the sessions and Second solicited message is sent respectively to the thin terminal in the form of short message, while fat terminal can receive the thin terminal First solicited message, the connection feedback information and second feedback information sent respectively in the form of short message.
It should be noted that fat terminal can mode receives thin terminal transmission respectively by radio communication in the form of short message The first solicited message, the connection feedback information and second feedback information, can be in the form of short message by wireless First feedback information, the sessions and second solicited message are sent to thin terminal by communication mode respectively, real In the application of border, the short message can be instruction short message, and described instruction short message can add in the identification sequence of short message It labels so that terminal can distinguish described instruction short message and normal short message breath, and the communication can be GSM (Global system for mobile communications, Global System for Mobile Communications), CDMA (code division multiple access system, Code Division Multiple Access), GPRS(General packet radio service technology, General Packet Radio Service), EDGE(Enhanced data rates for gsm evolution technology, Enhanced Data Rate for GSM Evolution), or such as the WCDMA in 3G technology(Broadband CDMA system, Wideband Code Division Multiple Access),TD-SCDMA(TDS-CDMA system, Time Division-Synchronous Code Division Multiple Access) etc., in addition, when the distance between the first fat terminal and the first thin terminal are closer, than Such as less than 10 meters, the remote connection request can also be in the form of instructing short message, by short-distance wireless communication mode come real It is existing, such as ZigBee, UWB(Ultra-Wideband, ultra wide band),Wi-Fi,Bluetooth(Bluetooth),NFC(Near Field Communication, the short distance wireless communication technology)Deng the Zigbee is the low-power consumption based on IEEE802.15.4 standards Personal area network agreement.Receive the first request letter by radio communication or in a manner of short-distance wireless communication in the form of instructing short message Breath, the first feedback information of transmission need not be that fat terminal and thin terminal individually establish communication system, can be provided with existing communication Long-range connection is completed in source, saves resource.
Long-range control method provided in an embodiment of the present invention so that fat terminal, can be obstructed during remote control It crosses third-party server and is established directly between thin terminal and is remotely connect, and after establishing with thin terminal and remotely connecting, it can Judge whether the information that receives comes from authorization terminal, and can include to the information received ask summarizing instruction into Row parsing, compared to the prior art so that fat terminal and thin terminal can not directly be carried out remotely by third-party server Control, simplifies the flow of remote control, reduces the cost of remote control process.
The embodiment of the present invention provides a kind of long-range control method, as shown in Fig. 2, it is applied to thin terminal, including:
Step 201 sends the first solicited message to the first fat terminal, and first solicited message includes the first request, institute State the terminal iidentification of thin terminal, the first fat terminal is the authorization terminal of the thin terminal, the authorization terminal be with The thin terminal completes the terminal remotely connected.
In practical applications, thin terminal may need its progress remote control of the first fat terminal-pair, and at this moment the thin terminal can Actively to initiate remote control process, the first solicited message is sent to the first fat terminal, which receives thin terminal Send the first solicited message, first solicited message include the first request, the thin terminal terminal iidentification.
Step 202 receives the first feedback information that fat terminal is sent, and first feedback information includes the first feedback and institute State the terminal iidentification of fat terminal.
Thin terminal with the first fat terminal during carrying out remote control, it is also possible to carry out it between other fat terminals His remote control flow, so thin terminal can receive the first feedback information that any fat terminal is sent.
Step 203, according to preset rules, parsing first feedback obtains third instruction.
The preset rules be it is pre-set, including it is at least one request and/or it is at least one feedback and/or at least one The encoding and decoding of a instruction are regular, need fat terminal identical as the preset rules of thin terminal in practical application, connect in this way in thin terminal After receiving the first feedback information, the first feedback in first feedback information is obtained first, which is fat terminal root It is generated according to preset rules coding, thin terminal can be parsed to obtain third according to the preset rules to first feedback to be referred to It enables.
Step 204, when third instruction instructs in order to control, according to the terminal iidentification of the fat terminal, described in judgement Whether fat terminal is the described first fat terminal.
Common, the instruction that thin terminal parses may be control instruction, it is also possible to which link order, the control refer to It enables by carrying out required instruction when remote control between thin terminal and the fat terminal authorized, the link order is thin terminal Instruction required when remotely connecting is established between any one fat terminal.In practical application, the thin terminal has multiple mandates Terminal, the authorization terminal are to have completed the terminal remotely connecting, the only authorization terminal with the thin terminal with the thin terminal Remote control could be realized with the thin terminal, therefore after thin terminal judges that third instruction instructs in order to control, obtains first The terminal iidentification of the fat terminal in feedback information judges the fat terminal then according to the terminal iidentification of the fat terminal Whether it is the described first fat terminal.
Step 205, when the fat terminal is the first fat terminal, execute third instruction.
Exemplary, when the fat terminal is the first fat terminal, thin terminal can be assumed that the first feedback information is the What one fat terminal was sent, then thin terminal executes third instruction, and the third instruction indicates that thin terminal is completed to be sent out by the thin terminal The remote control risen.
So, during remote control, request or refer to that thin terminal can include to the information received Order is parsed, and when the obtained instruction of parsing instructs in order to control, judges to send whether the fat terminal of information is authorization terminal, And when the fat terminal is authorization terminal, the instruction that parsing obtains, compared to the prior art, fat terminal and thin terminal energy are executed It is enough remote control not to be carried out directly by third-party server, the flow of remote control is simplified, remote control mistake is reduced The cost of journey.
When initialization, long-range connection relation is not present between thin terminal and the first fat terminal, the first fat terminal is not at this time The authorization terminal of thin terminal, it is therefore desirable to initially set up the long-range connection relation between thin terminal and the first fat terminal.Therefore exist Before sending the first solicited message to the first fat terminal, thin terminal needs to receive the long-range connection letter that the described first fat terminal is sent Breath, the sessions includes remote connection request, the terminal iidentification of the first fat terminal, then according to described default Rule parses the remote connection request, obtains long-range link order.When the long-range link order is link order, root According to the terminal iidentification of the described first fat terminal, judge that can the described first fat terminal remotely be connect with the thin terminal, when When the first fat terminal can remotely be connect with the thin terminal, the long-range link order is executed and according to implementing result The authorization terminal inventory that the thin terminal preserves is updated, the authorization terminal inventory includes all long-range with the thin terminal foundation The fat terminal of connection or the terminal iidentification of thin terminal, then generate connection feedback information, and the connection feedback information includes connection The terminal iidentification of feedback, update feedback and the thin terminal, the connection feedback are used to indicate holding for the long-range link order Row as a result, the update feedback be used to indicate the thin terminal update the authorization terminal inventory as a result, and by the connection Feedback information is sent to the described first fat terminal, in order to which the first fat terminal updates more East Lake first according to the connection feedback information The authorization terminal inventory that fat terminal preserves.
After establishing long-range connection relation between thin terminal and the first fat terminal, i.e., described by the connection feedback letter Breath is sent to after the described first fat terminal, remote control can be carried out between thin terminal and the first fat terminal, at this time thin terminal Can receive the second solicited message that fat terminal is sent, second solicited message include the second request, the fat terminal end End mark, according to the preset rules, parsing second request obtains the 5th instruction.When the 5th instruction refers in order to control When enabling, according to the terminal iidentification of the fat terminal, judge whether the fat terminal is the described first fat terminal, when the fat terminal For the first fat terminal when, execute the 5th instruction, then according to the implementing result of the 5th instruction, it is anti-to generate second Feedforward information, second feedback information include the thin terminal execute it is described 5th instruction after second feedback, the thin end The terminal iidentification at end, and second feedback information is sent to the described first fat terminal.
It is exemplary, in the terminal iidentification according to the fat terminal, judge whether the fat terminal is the described first fat terminal When, thin terminal firstly the need of the terminal iidentification for obtaining the fat terminal, then judge the fat terminal terminal iidentification whether with The terminal iidentification for the described first fat terminal that the mandate inventory includes is identical.When the fat terminal terminal iidentification with it is described When the terminal iidentification for the described first fat terminal that mandate inventory includes is identical, the fat terminal is the described first fat terminal.
Optionally, before the sessions for receiving the described first fat terminal transmission, thin terminal also needs to pre- Preset rules are first set, and the preset rules include at least one request and/or at least one feedback and/or at least one instruction Encoding and decoding rule, fat terminal according to the preset rules to needing the instructions or requests for issuing the first fat terminal to encode, And the feedback received or request are parsed according to the preset rules, for example, parsing the remote connection request, obtain When to long-range link order, for thin terminal firstly the need of obtaining the remote connection request, the remote connection request is described the One fat terminal is encoded according to the preset rules to be generated later;According to the preset rules, the long-range connection is parsed Request, obtains the long-range link order.
Optionally, thin terminal can receive the institute that the fat terminal is sent respectively in the form of short message in the embodiment of the present invention The first feedback information, the sessions and second solicited message are stated, while thin terminal can also be by described first Solicited message, the connection feedback information and second feedback information are sent to the fat terminal in the form of short message.
It should be noted that thin terminal can mode receives fat terminal transmission respectively by radio communication in the form of short message First feedback information, the sessions and second solicited message, can be passed through in the form of short message First solicited message, the connection feedback information and second feedback information are sent to fat end by communication respectively It holds, in practical application, the short message can be instruction short message, and described instruction short message can be in the identification sequence of short message Middle addition label so that terminal can distinguish described instruction short message and normal short message breath, and the communication can be GSM, CDMA, GPRS, EDGE, or such as WCDMA, TD-SCDMA etc. in 3G technology, in addition, when the first fat terminal and first thin When the distance between terminal is closer, such as less than 10 meters, the remote connection request can also be led in the form of instructing short message Short distance communication is crossed to realize, such as ZigBee, UWB, Wi-Fi, Bluetooth, NFC etc., to instruct short message Form is by radio communication or the mode of short-distance wireless communication receives the first solicited message, sends the first feedback information to be Fat terminal and thin terminal individually establish communication system, and long-range connection can be completed with the existing communication resource, saves resource.
Long-range control method provided in an embodiment of the present invention so that thin terminal, can be obstructed during remote control It crosses third-party server and receives the sessions that fat terminal is sent, and complete long-range connection, and is remote being established with fat terminal After journey connection, it can judge whether the information received comes from authorization terminal, and can be to being wrapped in the information that receives What is included asks summarizing instruction to be parsed, compared to the prior art so that can not pass through third party between fat terminal and thin terminal Server and directly carry out remote control, simplify the flow of remote control, reduce the cost of remote control process.
The embodiment of the present invention provides a kind of long-range control method, in practical applications, fat terminal can with it is multiple thin Terminal realizes that long-range connection and remote control, a thin terminal remotely can also connect and control with multiple fat terminal realizations, this Inventive embodiments are illustrated by taking the first fat terminal and the first thin terminal as an example, and the first fat terminal is established long-range with the first thin terminal The process of connection, as shown in figure 3, including:
Step 301, the first fat terminal send sessions to the first thin terminal, and the sessions includes remote The terminal iidentification of journey connection request and the first fat terminal.
When initialization, long-range connection relation is not present between the first fat terminal and the first thin terminal, at this time the first thin terminal The authorization terminal of the first fat terminal, the first fat terminal nor the first thin terminal authorization terminal, it is therefore desirable to build first Vertical long-range connection relation between first fat terminal and the first thin terminal.
It should be noted that before remotely connect, the first fat terminal and the first thin terminal are default firstly the need of setting Rule encodes the instructions or requests of transmission according to preset rules, is decoded to the feedback or request that receive, described Preset rules can be an information encoding-decoding table, as shown in table 1,1 exemplary record of table the first fat terminal and the first thin end Common instructions or requests or feedback and described instruction or the corresponding coding of request, each instructions or requests is held to have corresponding volume Code, for example, being encoded to " LRMAAAA " to " long-range connection ", " safety certification " is encoded to " RMBBBB ", the coding in table 1 It is merely illustrative, can be configured as the case may be in practical application, the embodiment of the present invention is not construed as limiting this.The The preset rules of one fat terminal and the first thin terminal must be identical, and otherwise the first fat terminal and the first thin terminal can not be completed to dock The decoding of the instructions or requests received.
1 information encoding-decoding table of table
Coding Instructions or requests
LRMAAAA Long-range connection
LRMAAAA1 Long-range successful connection
LRMAAAA2 Long-range connection failure
RMBBBB Safety certification
RMCCCC It is remotely located
RCAAAA Operation camera is taken pictures
RCBBBB Operation microphone is recorded
RMSSSS1 Update the success of authorization terminal inventory
RMSSSS2 Update the failure of authorization terminal inventory
RCTTTT Send information
RCMMMM Change parameter
ACT*$CCCC$* The first application of activation
DS*$DDDD$* Show the first information
It is common, the process remotely connected is initiated by the first fat terminal, the first fat terminal firstly generates sessions, The sessions includes the terminal iidentification of remote connection request and the first fat terminal, and the remote connection request is basis Preset rules encode the character string " LRMAAAA " obtained later, and the terminal iidentification of the first fat terminal was the described first fat end The unique mark at end, for example, when the first fat terminal is smart mobile phone, the terminal iidentification of the first fat terminal can be described Cell-phone number or IMEI (International Mobile Equipment Identity, the international mobile device of smart mobile phone Identity code).
The sessions can mode be sent to the first thin terminal by radio communication with the form of short message, The short message for carrying remote connection request or instruction is to instruct short message, and in practical application, the short message can be that instruction is short Message, described instruction short message can add label in the identification sequence of short message so that terminal can distinguish described instruction Short message and normal short message breath, the communication can be GSM, CDMA, GPRS, EDGE, or as in 3G technology WCDMA, TD-SCDMA etc., in addition, when the distance between the first fat terminal and the first thin terminal are closer, such as less than 10 meters, The remote connection request can also be realized in the form of instructing short message by short-distance wireless communication mode, such as ZigBee, UWB, Wi-Fi, Bluetooth, NFC etc., in the form of instructing short message by radio communication or short-distance wireless communication Mode send remote control information need not to be that the first fat terminal and the first thin terminal individually establish communication system remote to complete Journey connects, and long-range connection can be completed with the existing communication resource, saves resource.In practical application, the first fat terminal also may be used The sessions is sent to the first thin terminal in the form of multimedia message.
Step 302, the first thin terminal parse the remote connection request according to the preset rules, obtain remotely connection and refer to It enables.
After receiving the sessions that the first fat terminal is sent, which obtains described long-range first The remote connection request in link information, the remote connection request are after the first fat terminal is encoded according to preset rules It obtains, the first thin terminal parses the remote connection request according to the preset rules locally preserved, is remotely connected Connect instruction.It should be noted that the preset rules of the first fat terminal and the preset rules of the first thin terminal are identical.It is exemplary, First thin terminal obtains the remote connection request " LRMAAAA " in sessions, long-range to this according to the preset rules Connection request is decoded, and obtains remote control commands, and the remote control commands are " long-range connection ".
Step 303, when the first thin terminal judges the long-range link order for link order, according to the described first fat end The terminal iidentification at end judges that can the described first fat terminal remotely be connect with the first thin terminal.
The instruction that first thin terminal parses is divided into two classes, respectively control instruction and link order, and the control refers to It enables for carrying out required instruction when remote control between the first thin terminal and the fat terminal authorized, the link order is the Instruction required when long-range connection is established between one thin terminal and any one fat terminal, it can be by control in practical application Different coding rules is arranged to distinguish in instruction and link order, and exemplary, link order passes through the character string that coding obtains First is " L ", and first of the character string that control instruction obtains later by coding is " R ".When the first thin terminal parses To after the long-range link order, the type of the long-range link order is judged, when the long-range link order is link order When, the terminal iidentification of the first fat terminal in the sessions is obtained, then judges that the described first fat terminal whether can Long-range connection is established with the first thin terminal.Under normal conditions, the terminal iidentification of the fat terminal remotely connected and thin end can be established The information of predeterminated position is identical in the terminal iidentification at end, when the first thin terminal detects the terminal mark of the described first fat terminal When the information of the predeterminated position of knowledge and local terminal the mark information of predeterminated position are identical, judge that the first fat terminal can be with the One thin terminal establishes long-range connection.
Step 304, when the described first fat terminal can remotely be connect with the thin terminal, the first thin terminal executes remote Journey link order simultaneously updates the authorization terminal inventory that the thin terminal preserves according to implementing result.
When the described first fat terminal can remotely be connect with the thin terminal, the first thin terminal executes remote control and refers to It enables, i.e., the first thin terminal executes " long-range to connect ", and generates connection instead according to the implementing result and preset rules of " long-range connection " Feedback, the connection feedback can indicate whether long-range link order runs succeeded, and in the embodiment of the present invention, the first thin terminal executes Instruction " long-range connection " is same as the prior art, and the embodiment of the present invention does not repeat this.When " long-range connection " runs succeeded it Afterwards, the first thin terminal is according to the terminal iidentification of the first fat terminal, the authorization terminal inventory that the first thin terminal local of update preserves, i.e., The terminal iidentification of first fat terminal is added in the authorization terminal inventory that the first thin terminal preserves, is wrapped in the authorization terminal inventory All terminal iidentifications for establishing the fat terminal or thin terminal that remotely connect with the first thin terminal are included, are then generated according to update result Update feedback, the update feedback are used to indicate the result that the thin terminal updates the authorization terminal inventory.
Step 305, the first thin terminal generate connection feedback information, and the connection feedback information includes connection feedback, update The terminal iidentification of feedback and the first thin terminal.
First thin terminal is fed back according to connection and update feedback generates connection feedback information, and the connection feedback is first thin Terminal is generated according to the implementing result of long-range link order, and the update feedback is that the first thin terminal is preserved according to update is local Authorization terminal inventory result generate.
Step 306, the first thin terminal send connection feedback information to the first fat terminal.
Exemplary, the first thin terminal can use form mode or the short-distance wireless communication by radio communication of instruction short message Connection feedback information is sent to the first fat terminal by mode.In practical application, the first thin terminal can also be by the way of multimedia message Connection feedback information is sent to the first fat terminal.
Step 307, the first fat terminal receive the connection feedback information that any one thin terminal is sent, the connection feedback letter Breath includes the terminal iidentification of connection feedback, update feedback and the thin terminal.
It is remotely connect since the first fat terminal can be established between multiple thin terminals, so the first fat terminal may be simultaneously The connection feedback information that multiple thin terminals are sent is received, exemplary, the first fat terminal receives multiple instruction short message, each Described instruction short message may be the connection feedback information that any one thin terminal is sent, which includes connection The terminal iidentification of feedback, update feedback and the thin terminal.
Step 308, the first fat terminal obtain and parse the connection feedback and update feedback.
After first fat terminal receives the connection feedback information that any one thin terminal is sent, it is anti-that the connection is obtained first Connection feedback in feedforward information and update feedback, and parsed respectively, the connection feedback information may indicate that for the first thin end End runs succeeded to remote control commands, it is also possible to indicate that the first thin terminal-pair remote control commands execute failure, the update Feedback may indicate that the authorization terminal inventory success that first thin the first thin terminal of terminal update preserves, it is also possible to indicate for the first thin end The authorization terminal inventory failure that update the first thin terminal in end preserves.In practical application, the connection feedback is the first thin terminal root It being generated according to preset rules, the first fat terminal parses connection feedback also according to the preset rules, exemplary, when When connection is fed back to " LRMAAAA1 ", the first fat terminal parses to obtain long-range successful connection, when connection is fed back to " LRMAAAA2 " When, the first fat terminal parses to obtain long-range connection failure;The update feedback is also that the first thin terminal is generated according to preset rules , the first fat terminal parses update feedback also according to the preset rules, exemplary, when update is fed back to When " RMSSSS1 ", the first fat terminal parses to obtain update authorization terminal inventory success, when connection is fed back to " RMSSSS2 ", the One fat terminal parses to obtain update authorization terminal inventory failure.
Step 309, when the connection feed back indicate long-range successful connection and the update feedback instruction thin terminal at When work(updates authorization terminal inventory, the first fat terminal obtains the terminal iidentification of the thin terminal.
It is fed back when the connection and indicates that long-range successful connection and update feedback indicate that the thin terminal is successfully updated and award When weighing terminal inventory, illustrate to be successfully established long-range connection relation between the first thin terminal and the first fat terminal, and first is thin Terminal successfully updates the authorization terminal inventory locally preserved, and the first fat terminal obtains the connection feedback information at this time Including the thin terminal terminal iidentification.
Step 310, when the thin terminal is the first thin terminal, the authorization terminal that the first fat terminal of update preserves is clear It is single.
After first fat terminal gets the terminal iidentification of the thin terminal, according to the terminal iidentification of the thin terminal, sentence Break the thin terminal terminal iidentification it is whether identical with the terminal iidentification of the first thin terminal, when the thin terminal terminal iidentification and When the terminal iidentification of first thin terminal is identical, judge the thin terminal for the first thin terminal.When the thin terminal is described first When thin terminal, the first fat terminal judge between the first thin terminal it is long-range connecting it has been established that and the first thin terminal It is successfully updated the authorization terminal inventory locally preserved, the first thin terminal is the authorization terminal of the first fat terminal at this time, then first The authorization terminal inventory that fat the first fat terminal of terminal update preserves, i.e., be added to the mandate by the terminal iidentification of the first thin terminal Terminal inventory, the authorization terminal inventory include all ends that the fat terminal or thin terminal that remotely connect are completed with the first fat terminal End mark.
It should be noted that establishing the process and the first fat terminal remotely connected between the first fat terminal and the second fat terminal Identical as the process that the first thin terminal foundation remotely connects, it is not described here in detail for the embodiment of the present invention.
It, can between the first fat terminal and the first thin terminal after the first fat terminal and the first thin terminal establish long-range connection It, can be by the when the first thin terminal needs first the first thin terminal of fat terminal-pair to carry out remote control to carry out remote control One thin terminal initiates remote control process, as shown in figure 4, the remote control process includes:
Step 311, the first thin terminal send the first solicited message to the first fat terminal, and first solicited message includes the The terminal iidentification of one request and the first thin terminal.
It, can be with when the first thin terminal needs first the first thin terminal of fat terminal-pair to carry out remote control in practical application The first solicited message is sent to the first fat terminal, first solicited message includes the terminal mark of the first request and the first thin terminal Know, first request is used to indicate the instruction that the first fat terminal needs the remote control executed, and the embodiment of the present invention is with first Thin terminal illustrates for needing the first fat terminal to execute safety certification, in practical application, other remote control process and institute The control process for stating safety certification is similar.
Exemplary, the first thin terminal may be the limited user of actual operational capacity, for example, great grand father or child, When the user finance business hall carry out financial business when, can be potentially encountered input username and password the case where, at this time due to The user itself can not correctly execute the operation, so the first thin terminal needs fat terminal-pair, it carries out remote control, described Fat terminal can be any one fat terminal in the authorization terminal inventory that the first thin terminal preserves, and the embodiment of the present invention is with first It is illustrated for fat terminal, at this point, the first thin terminal sends the first solicited message, the first request letter to the first fat terminal Breath is safety certification request information, and the safety certification request information includes safety certification request and the first thin terminal Terminal iidentification, safety certification described in practical application is that the first thin terminal encodes generation according to preset rules, for example, the safety Certification request is " RMBBBB ".
It should be noted that the first thin terminal needs to determine first before sending the first solicited message to the first fat terminal The use of the user of the first thin terminal whether is validated user, when the user is validated user, first is sent to the first fat terminal Solicited message.It is exemplary, it, can be first by the smartwatch rear cover close to sensing when the first thin terminal is smartwatch Device detects the relative distance between skin and sensor at user's wrist, when the relative distance detected is less than the threshold value of setting When, during smartwatch can judge that user is used, most of function including safety certification will open at this time, intelligent hand The display of table and input touch screen by the information for the function that display has activated and prompt user to carry out legitimate authentication, then user Legitimate authentication is carried out according to the prompt, typically legitimate authentication is carried out by inputting fingerprint, when fingerprint input by user and intelligence When the fingerprint similarity of the validated user preserved in energy wrist-watch is greater than or equal to predetermined threshold value, it is possible to determine that the user is legal use Family, at this point, if the user is carrying out financial business, smartwatch can initiate remote control according to user demand.
It should be noted that first solicited message further includes the geographical location of the described first thin terminal Location, when Between, the environmental informations such as Weather information, in order to the first fat terminal can be further confirmed that according to the environmental information can be to One thin terminal carries out remote control.
Step 312, the first fat terminal receive any thin terminal and send the first solicited message, and first solicited message includes The terminal iidentification of first request and the thin terminal.
Since the first fat terminal can carry out remote control between multiple thin terminals, so first solicited message may It is that any one thin terminal is sent, in the embodiment of the present invention, which is safety certification request information, including peace The terminal iidentification of full certification request and the thin terminal.Exemplary, the first fat terminal can be received by the form of short message pacifies Full authentication information.
Step 313, first fat the first request of terminal parsing, obtain the first instruction.
After first fat terminal receives the first solicited message, the first request in first solicited message is obtained first, And the first instruction is obtained by parsing.Exemplary, after the first fat terminal receives safety certification request information, obtaining first should The safety certification request of safety certification request information kind, the safety certification request are " RMBBBB ", and the first fat terminal passes through solution It is " safety certification " to analyse the first instruction obtained later.Under normal conditions, the first fat terminal may be controlled by parsing Instruction or link order, after parsing obtains the first instruction, the first fat terminal can judge the type of the first instruction.
Step 314, when first instruction instructs in order to control, the first fat terminal is according to the terminal mark of the thin terminal Know, judges whether the thin terminal is the first thin terminal.
When the first fat terminal judgement show that the first instruction instructs in order to control, the thin end in the first solicited message is obtained The terminal iidentification at end judges whether the thin terminal is the first thin terminal then according to the terminal iidentification of the thin terminal, i.e., described Thin terminal whether be the first fat terminal authorization terminal.Exemplary, the first fat terminal judges that " safety certification " instructs in order to control, Then the terminal iidentification for obtaining the thin terminal in the secure authenticated information, judges the terminal iidentification and first of the thin terminal Whether the terminal iidentification of the first thin terminal is identical in the authorization terminal inventory that fat terminal preserves, when the terminal iidentification of the thin terminal With when the terminal iidentification of the first thin terminal is identical in the authorization terminal inventory that the first fat terminal preserves, the thin terminal is first Thin terminal.
It should be noted that in practical applications the first fat terminal judge in the authorization terminal inventory locally preserved whether include The terminal iidentification of the thin terminal, when the authorization terminal inventory that the first fat terminal local preserves includes the terminal of the thin terminal When mark, the thin terminal is the authorization terminal of the first fat terminal, and the thin terminal can refer to the present embodiment and carry out following step Suddenly.
Step 315, when the thin terminal is the first thin terminal, the first fat terminal executes the first instruction and according to executing knot Fruit generate the first feedback information, first feedback information include indicate first instruction implementing result first feedback and it is described The terminal iidentification of fat terminal.
When the thin terminal is the first thin terminal, i.e., the described thin terminal is the authorization terminal of the first fat terminal, first is fat Terminal executes first instruction, and generates the first feedback information according to implementing result.It is exemplary, when the thin terminal is first thin When terminal, the first fat terminal executes " safety certification ", that is, inputs the first thin terminal and need the username and password inputted, then give birth to At the first feedback, first feedback is used to indicate the implementing result of the first fat terminal-pair first instruction, this in practical application the One feedback can be instruction, request, the execution result information of the first instruction can also be carried in described instruction and request, or only Only be execution result information can, first in the safety certification process of the embodiment of the present invention is fed back to carry user name and close The transmission instruction of code, the first fat terminal can encode transmission instruction according to preset rules, for example, transmission instruction can Think " RCTTTT ", the first fat terminal generates safety certification feedback letter according to the terminal iidentification of the first feedback and the first fat terminal Breath, the safety certification feedback information include the terminal iidentification of the first feedback and the described first fat terminal.
First feedback information is sent to the first thin terminal by step 316, the first fat terminal.
Optionally, the form of short message may be used in a manner of communication or short-distance wireless communication in the first fat terminal First feedback information is sent to the first thin terminal.In practical application, the form of multimedia message can also be used.
Step 317, the first thin terminal receive the first feedback information that any fat terminal is sent, the first feedback information packet Include the terminal iidentification of the first feedback and the fat terminal.
First thin terminal is during carrying out safety certification, it is also possible to be carried out between other fat terminals other long-range Control flow, so the first thin terminal can receive the first feedback information that any fat terminal is sent, in the embodiment of the present invention, institute State the first feedback information be safety certification feedback information, the safety certification feedback information include safety certification feedback with it is described The terminal iidentification of fat terminal.
Step 318, the first thin terminal parsing first feedback, obtain third instruction.
After first thin terminal receives the first feedback information, the first feedback in first feedback information is obtained first, And it is parsed to obtain third instruction.It is exemplary, after the first thin terminal receives safety certification feedback information, obtain first The first feedback in the safety certification feedback information, described first is fed back to " RCTTTT ", and the first thin terminal is according to local preservation The feedback of preset rules pair first parse, to send instruction, transmissions is instructed and is taken for the third instruction obtained by parsing The username and password is sent to financial business by the username and password with the first fat terminal input, the first thin terminal of instruction The reception terminal in the Room.
Step 319, when third instruction instruct in order to control when, the first thin terminal is sentenced according to the terminal iidentification of the fat terminal Whether the fat terminal of breaking is the described first fat terminal.
First thin terminal may determine that the third instruction that parsing obtains is control instruction or link order, when third refers to When order instructs in order to control, the first thin terminal obtains the terminal iidentification of the fat terminal in the first feedback information, then according to institute The terminal iidentification for stating fat terminal judges whether the fat terminal is the described first fat terminal, and exemplary, the first thin terminal is judged The transmission instruction instructs in order to control, then obtains the terminal iidentification of the fat terminal in safety certification feedback information, judges Whether the terminal iidentification of the fat terminal is identical as the terminal iidentification of the first fat terminal in the authorization terminal inventory locally preserved, when It is described when the terminal iidentification of the fat terminal is identical as the terminal iidentification of the first fat terminal in the authorization terminal inventory locally preserved Fat terminal is the first fat terminal.
Step 320, when the fat terminal is the first fat terminal, the first thin terminal executes the third instruction.
When the fat terminal is the first fat terminal, the first thin terminal can be assumed that the safety certification feedback information is What the first fat terminal was sent, then the first thin terminal executes third instruction, and the third instruction usually can make for the first thin end Complete the remote control initiated by the first thin terminal in end.Exemplary, when the fat terminal is the first fat terminal, first is thin Terminal, which executes, sends instruction, and according to the instruction for sending instruction, username and password is sent to the reception terminal of finance business hall, After the reception terminal of finance business hall receives the username and password, judge whether the username and password is correct, when When username and password is correct, the financial service needed for the first thin terminal is provided to the first thin terminal.
It should be noted that when the first thin terminal to the first fat terminal when sending the first solicited message as needed, first Fat terminal may can not send the first feedback to the first thin terminal in time because of situations such as communicating unsmooth or no normal use Information, the second fat terminal that the first thin terminal can also include to authorization terminal inventory at this time send the first solicited message, with Remote control is carried out according to the first thin terminal of request pair of the first thin terminal convenient for the second fat terminal, in practical application, first is thin The authorization terminal inventory of terminal can be arranged according to different priorities, and the priority of the first fat terminal was higher than for the second fat end End, the first thin terminal can select to send the first solicited message to fat terminal according to priority.
It is exemplary, after the first fat terminal and the first thin terminal establish long-range connection, it can also be sent out by the first fat terminal Remote control process is played, as shown in figure 5, the remote control process includes:
Step 321, the first fat terminal send the second solicited message to the first thin terminal, and second solicited message includes the Two request, the first fat terminal terminal iidentification.
It, can be thin to first when the first fat terminal to the first thin terminal if necessary to carry out remote control in practical application Terminal sends the second solicited message, and second solicited message includes the terminal iidentification of the second request and the first fat terminal, described Second request is used to indicate the instruction that the first thin terminal needs the remote control executed, and the embodiment of the present invention is needed with the first fat terminal It changes and illustrates for the configuration parameter of the first thin terminal, in practical application, other remote control process and the modification The control process for configuring parameter is similar.
Exemplary, in embodiments of the present invention, the user using the first thin terminal may be old man or child, and first is fat The user of terminal is the guardian of the old man or child, and the status information that old man understands child is saved in the first thin terminal, described Status information can be divided into five classes, respectively personal information, biological information, movable information, environmental information and sign information, described Personal information is the information such as name, the address of user;The biological information is the height of user, weight, the information such as medical history; The movable information is user's current motion state, such as walking, the information such as hurry up;The environmental information is the presently described ring of user Border, the information such as current geographic position;The sign information is user's current heartbeat rate, blood glucose value, the information such as pressure value.
In practical application, guardian needs the status information to old man or child to be monitored, at this point, the first thin terminal can With according to the configuration parameter of the first fat terminal, the selective status information by old man or child is sent to the first fat end End, exemplary, the configuration parameter can be 1,2,3,4 or 5, and configuration parameter 1 is defined as sending for every 5 minutes;It is fixed to configure parameter 2 Justice is that user's sign is sent when being more than normal index;Configuration parameter 3 is defined as every other day sending;Configuration parameter 4 is defined as working as Data are sent when having change;Configuration parameter 5 is defined as not sending, for example, if the individual of first the first thin terminal of fat terminal-pair The configuration parameter of information is 4, and it is fat which can be sent to first by the first thin terminal when the personal information has modification Terminal.
When the first fat terminal needs to modify to configuration parameter, modification parameter request can be sent to the first thin terminal Information, the modification parameter request information includes changing the terminal iidentification of parameter request and the first fat terminal, is actually answered In, the first fat terminal can encode modification parameter request according to preset rules, for example, sign information in preset rules Be encoded to 5, then the modification parameter request is " RCMMMM51 ", and the first thin terminal of request is by first the first thin terminal of fat terminal-pair The configuration parameter of sign information be changed to 1, wherein " RCMMMM " indicates to need to modify to configuration parameter, " 5 " indicate modification Information type, " 1 " indicate modification target.Optionally, the form of short message may be used by radio communication in the first fat terminal Mode or short-distance wireless communication mode are sent to the first thin terminal.
Step 322, the first thin terminal receive the second solicited message that any fat terminal is sent, second request packet Include the second request, the fat terminal terminal iidentification.
Since the first thin terminal may carry out remote control with multiple fat terminals simultaneously, the first thin terminal may be simultaneously Receive the second solicited message that multiple fat terminals are sent.Optionally, the first thin terminal can receive the by the form of short message Two solicited messages, the second solicited message is modification parameter request information, the modification parameter request information in the embodiment of the present invention It include the terminal iidentification for changing parameter request and the fat terminal.
Step 323, the first thin terminal parsing second request, obtain the 5th instruction.
After first thin terminal receives the second solicited message that any fat terminal is sent, obtains wait for that the second request is believed first Then the second request that breath includes is decoded second request, obtains the 5th instruction.Exemplary, the first thin terminal connects After receiving modification parameter request information, modification parameter request is obtained in the modification parameter request information, the modification parameter is asked It asks as " RCMMMM51 ", the first thin terminal parses the modification parameter request according to the preset rules locally preserved, obtains To modification parameter instruction, the modification parameter instruction indicates the first thin terminal by the configuration parameter of the first fat terminal-pair sign information It is changed to 1, the modification parameter instruction is the 5th instruction.
Step 324, when the 5th instruction instruct in order to control when, according to the terminal iidentification of the fat terminal, judge the fat end Whether end is the described first fat terminal.
After obtaining the 5th instruction, the first thin terminal may determine that the 5th instruction is that control instruction or connection refer to It enables, when the 5th instruction instructs in order to control, the terminal iidentification of the fat terminal in the second solicited message is obtained, then according to institute The terminal iidentification for stating fat terminal judges whether the fat terminal is the described first fat terminal.Exemplary, being obtained by parsing the Five instructions are modification parameter instruction, and the first thin terminal judges that the instruction is control instruction, then obtain the modification parameter letter The terminal iidentification of the fat terminal in breath, judge the terminal iidentification of the fat terminal in the authorization terminal inventory locally preserved Identifying whether for first fat terminal is identical, if the terminal iidentification of the fat terminal and in the authorization terminal inventory locally preserved first The mark of fat terminal is identical, then the fat terminal is the first fat terminal, and the modification parameter request information is the first fat terminal hair It send.
It should be noted that in practical applications the first thin terminal judge in the authorization terminal inventory locally preserved whether include The terminal iidentification of the fat terminal, when authorization terminal inventory includes the terminal iidentification of the fat terminal, the fat terminal is The authorization terminal of first thin terminal, the fat terminal can be followed the steps below with reference to the present embodiment.
Step 325, when the fat terminal is the first fat terminal, the first thin terminal executes the 5th instruction, and generates second Feedback information, second feedback information include the terminal for the second feedback and the first thin terminal for indicating the 5th instruction execution result Mark.
When the fat terminal is the first fat terminal, i.e., when the described fat terminal is the authorization terminal of the first thin terminal, first Thin terminal executes the 5th instruction, and generates the second feedback information, second feedback information according to the implementing result of the 5th instruction Terminal iidentification including the second feedback and the first thin terminal for indicating the 5th instruction execution result.
Exemplary, when the fat terminal is the first fat terminal, the first thin terminal executes modification parameter instruction, i.e., by first The configuration parameter of the sign information of the first thin terminal of fat terminal-pair is changed to 1 so that the sign information can just be sent every 5 minutes To the first fat terminal.First thin terminal generates modification feedback according to modification result, then thin according to modification feedback and first The terminal iidentification of terminal generates modification feedback information.In practical application, which can be instruction, request, described instruction With can also be carried in request the 5th instruction execution result information, or only execution result information can, the present invention Second in the modification parametric procedure of embodiment is fed back to carry the preservation instruction of configuration parameter, and the first thin terminal can be according to pre- If rule encodes preservation instruction, for example, preservation instruction can be " RCMMSS ", the first thin terminal is anti-according to second The terminal iidentification of feedback and the first thin terminal generates modification feedback information, which includes the second feedback and described the The terminal iidentification of one thin terminal.
Second feedback information is sent to the first fat terminal by step 326, the first thin terminal.
Optionally, the form of short message mode or short-distance wireless communication side by radio communication may be used in the first thin terminal Second feedback information is sent to the first fat terminal by formula, and in the embodiment of the present invention, the second feedback information is modification feedback information.
Step 327, the first fat terminal receive the second feedback information that any thin terminal is sent, the second feedback information packet Include the terminal iidentification of the second feedback and the thin terminal.
First fat terminal is during changing parameter, it is also possible to remote control is carried out between other thin terminals, it is described Adopted first fat terminal can receive the second feedback information that any thin terminal is sent, and optionally, the first fat terminal can also use The form of short message receives the second feedback information.
Step 328, first fat the second feedback of terminal parsing, obtain the second instruction.
After first fat terminal receives the second feedback information, the second feedback in second feedback information is obtained first, Then second feedback is parsed, obtains the second instruction.
It is exemplary, after the first fat terminal receives modification feedback information, repairing in the modification feedback information is obtained first Change feedback, the modification is fed back to " RCMMSS ", the first fat terminal according to the preset rules locally preserved to the modification feed back into Row parsing is to preserve instruction by the second instruction that parsing obtains, the configuration ginseng preserved after instruction carrying modification parameter Number, preservation instruction the first fat terminal of instruction preserve the configuration parameter.
Step 329, when second instruction instruct in order to control when, according to the terminal iidentification of the thin terminal, judge the thin end Whether end is the first thin terminal.
First fat terminal may determine that the second instruction instructs or link order in order to control, when the second instruction refers in order to control When enabling, the first fat terminal obtains the terminal iidentification of the thin terminal, then according to the terminal mark of the thin terminal, judges the hand Whether middle list is the first thin terminal.Exemplary, the first fat terminal obtains the terminal iidentification of thin terminal described in modification feedback information, Then judge the terminal of the first thin terminal in the terminal iidentification of the thin terminal and the authorization terminal inventory that the first fat terminal preserves Identify whether it is identical, when the first thin terminal in the authorization terminal inventory that the terminal iidentification of the thin terminal and the first fat terminal preserve Terminal iidentification it is identical when, the thin terminal is the first thin terminal, you can judges that the modification feedback information is the first thin terminal hair Give the first fat terminal.
Step 330, when the thin terminal is the first thin terminal, the first fat terminal executes second instruction.
Exemplary, when the thin terminal is the first thin terminal, the first fat terminal executes the second instruction, i.e., the first fat terminal It executes and preserves instruction, the configuration parameter after modification parameter is stored in local, in order to be checked later to the configuration parameter.
It should be noted that the sequencing of long-range control method step provided in an embodiment of the present invention can carry out suitably Adjustment, step according to circumstances can also accordingly be increased and decreased, for example, step 311~320 are the first thin terminal initiate it is first remote Process control process, step 321~330 are the second remote control process that the first fat terminal is initiated, the first remote control process and The sequence of second remote control process can be exchanged, any one skilled in the art the invention discloses In technical scope, the method that can readily occur in variation should be covered by the protection scope of the present invention, therefore repeat no more.
It should be noted that the first fat terminal can be by the way that mode connects respectively by radio communication in the form of instructing short message Receive the connection feedback information, first solicited message and second feedback information that the first thin terminal is sent, Ke Yitong Cross in the form of instructing short message by radio communication mode respectively by the first feedback information, the sessions and described Second solicited message is sent to the first thin terminal, the first thin terminal can in the form of instructing short message mode by radio communication The sessions, first feedback information and second solicited message that the first fat terminal is sent are received respectively, Can in the form of instructing short message by radio communication mode respectively by the connection feedback information, first solicited message It is sent to the first fat terminal with second feedback information.In practical application, described instruction short message can be in the knowledge of short message Label is added in other sequence so that terminal can distinguish described instruction short message and normal short message breath, the communication Can be GSM, CDMA, GPRS, EDGE, or such as WCDMA, TD-SCDMA etc. in 3G technology, in addition, when the first fat terminal with When the distance between first thin terminal is closer, such as less than 10 meters, the remote connection request can also be to instruct short message Form is realized, such as ZigBee, UWB, Wi-Fi, Bluetooth, NFC etc. by short-distance wireless communication mode, short to instruct The form of message is by radio communication or the mode of short-distance wireless communication receives the first solicited message, sends the first feedback information not It needs individually to establish communication system for fat terminal 60 and thin terminal, long-range connection can be completed with the existing communication resource, is saved Resource.
It should be noted that carrying out the first remote control process and the first fat end between the first fat terminal and the second fat terminal End is identical as the first remote control process is carried out between the first thin terminal, and second is carried out between the first fat terminal and the second fat terminal It is also identical that the second remote control process is carried out between remote control process and the first fat terminal and the first thin terminal, the present invention is implemented It is not described here in detail for example.
Long-range control method provided in an embodiment of the present invention so that fat terminal can be established directly with thin terminal remotely to be connected It connects, and after establishing long-range connection, can remote control flow be initiated by either side, and third party can not be passed through Server completes the judgement of the parsing and authorization terminal that are instructed in remote control process, compared to the prior art, simplifies long-range The flow of control reduces the cost of remote control process.
The embodiment of the present invention provides a kind of fat terminal 60, as shown in fig. 6, including:
Receiving unit 601, the first solicited message sent for receiving thin terminal, first solicited message include first It asks, the terminal iidentification of the thin terminal.
In practical applications, thin terminal may need fat terminal 60 to carry out remote control to it, and at this moment the thin terminal can be with Remote control process is actively initiated, the first solicited message is sent to fat terminal 60, fat terminal 60 is received by receiving unit 601 The first solicited message that thin terminal is sent, first solicited message include the first request, the thin terminal terminal iidentification.
Resolution unit 602, the preset rules for being pre-established according to the fat terminal 60, parses the receiving unit The first request in 601 first solicited messages received, obtains the first instruction.
The preset rules be it is pre-set, including it is at least one request and/or it is at least one feedback and/or at least one The encoding and decoding of a instruction are regular, need fat terminal identical as the preset rules of thin terminal in practical application, in this way in fat terminal 60 After receiving the first solicited message, the first request in first solicited message is obtained first, then passes through resolution unit 601 Parse first request, it is generally the case that first request is that thin terminal encodes generation according to preset rules, and fat terminal 60 can To be parsed to first request according to the preset rules, the first instruction is then obtained.For example, the first request is " RMBBBB " is " safety certification " by the first instruction that the parsing to first request obtains, i.e., what fat terminal needs executed It is the instruction of " safety certification ".
Judging unit 603, when first instruction for being obtained when the parsing of the resolution unit 602 instructs in order to control, According to the terminal iidentification of the thin terminal, judge whether the thin terminal is the first thin terminal, and the first thin terminal is described The authorization terminal of fat terminal 60, the authorization terminal are to complete the terminal remotely connecting with the fat terminal 60.
Common, it may be control instruction that fat terminal 60, which parses obtained instruction, it is also possible to link order, the control By carrying out required instruction when remote control between fat terminal and the thin terminal authorized, the link order is fat end for instruction Instruction required when long-range connection is established between end and any one thin terminal.In practical application, fat terminal 60 has multiple mandates Terminal, the authorization terminal are that the terminal remotely connecting, the only authorization terminal with fat terminal 60 are completed with fat terminal 60 Remote control could be realized with fat terminal 60, therefore when fat terminal 60 judges first instruction in order to control by judging unit 603 After instruction, the terminal iidentification of thin terminal is obtained, then according to the terminal iidentification of the thin terminal, judges the terminal mark of the thin terminal Know whether indicated thin terminal is the first thin terminal, the first thin terminal is the authorization terminal of fat terminal 60.
Execution unit 604 judges to obtain the thin terminal as the described first thin terminal for working as the judging unit 603 When, it executes described first and instructs and generate the first feedback information, first feedback information includes that the fat terminal 60 executes institute State the terminal iidentification for the first feedback and the fat terminal 60 that the first instruction obtains.
After fat terminal 60 judges that the thin terminal is the first thin terminal, that is, judge that the thin terminal is fat end After the authorization terminal at end 60, fat terminal 60 executes first instruction, obtains the first feedback, which is according to fat terminal What 60 implementing results for executing first instruction obtained, the first feedback information is then generated, first feedback information includes The terminal iidentification of first feedback and fat terminal 60, it should be noted that first feedback be fat terminal 60 according to preset rules into Row coding generates.
Transmission unit 605, first feedback information for generating the execution unit 604 are sent to described first Thin terminal.
Optionally, the form of short message mode or short-distance wireless communication mode by radio communication may be used in fat terminal 60 First feedback information is sent to the first thin terminal.
So, during remote control, request or refer to that fat terminal can include to the information received Order is parsed, and when the obtained instruction of parsing instructs in order to control, judges to send whether the thin terminal of information is authorization terminal, And when the thin terminal is authorization terminal, the instruction that parsing obtains, compared to the prior art, fat terminal and thin terminal energy are executed It is enough remote control not to be carried out directly by third-party server, the flow of remote control is simplified, remote control mistake is reduced The cost of journey.
When initialization, long-range connection relation is not present between fat terminal 60 and the first thin terminal, the first thin terminal is not at this time It is the authorization terminal of fat terminal 60, it is therefore desirable to initially set up the long-range connection relation between fat terminal 60 and the first thin terminal. Therefore transmission unit 605 is additionally operable to send sessions to the described first thin terminal, and the sessions includes remote The terminal iidentification of journey connection request, the fat terminal 60.
After sessions is sent to the first thin terminal, the receiving unit 601 is additionally operable to receive thin terminal hair The connection feedback information sent, the connection feedback information include the terminal iidentification of connection feedback, update feedback and the thin terminal.
Then resolution unit 602 is additionally operable to, according to the preset rules, parse the connection feedback and update feedback.
As shown in fig. 7, the fat terminal 60 further includes:
Acquiring unit 606, for being indicated described in long-range successful connection and update feedback instruction when connection feedback When thin terminal is successfully updated authorization terminal inventory, the terminal iidentification of the thin terminal is obtained.
Updating unit 607, for when the thin terminal is the first thin terminal, updating what the fat terminal 60 preserved Authorization terminal inventory, the authorization terminal inventory include all completing remotely to connect fat terminal or thin terminal with the fat terminal 60 Terminal iidentification.
Optionally, the transmission unit 605 is additionally operable to send the second solicited message to the described first thin terminal, and described second Solicited message include the second request, the fat terminal 60 terminal iidentification.
The receiving unit 601 is additionally operable to receive the second feedback information that thin terminal is sent, the second feedback information packet Include the terminal iidentification of the second feedback, the thin terminal.
The resolution unit 602 is additionally operable to according to the preset rules, and parsing second feedback obtains the second instruction.
The acquiring unit 606 is additionally operable to, when second instruction is the control instruction, obtain the thin terminal Terminal iidentification.
The execution unit 604 is additionally operable to when the thin terminal is the first thin terminal, executes second instruction.
Exemplary, the judging unit 603 is specifically used for:
Obtain the terminal iidentification of the thin terminal;Judge whether the terminal iidentification of the thin terminal is clear with the authorization terminal The terminal iidentification for the described first thin terminal that list includes is identical;When the terminal iidentification of the thin terminal and the authorization terminal are clear When the terminal iidentification for the described first thin terminal that list includes is identical, the thin terminal is the described first thin terminal.
Exemplary, the preset rules include at least one request and/or at least one feedback and/or at least one instruction Encoding and decoding rule.
Specifically, the transmission unit 605 is specifically used for first feedback information, the sessions, institute State authorization terminal inventory, second solicited message is sent to the thin terminal in the form of short message;The receiving unit 601 has Body is used to receive first solicited message, the connection feedback information that the thin terminal sends in the form of short message and described Second feedback information.
It should be noted that fat terminal 60 can by receiving unit 601 in the form of instructing short message by radio communication Mode receives the first solicited message, the connection feedback information and second feedback information that thin terminal is sent respectively, can be with By transmission unit 605 in the form of instructing short message by radio communication mode respectively by the first feedback information, described long-range Link information, the authorization terminal inventory and second solicited message are sent to thin terminal, and in practical application, described instruction is short Message can add label in the identification sequence of short message so that terminal can distinguish described instruction short message and normal short message Breath, the communication can be WCDMA, TD-SCDMA etc. in GSM, CDMA, GPRS, EDGE, or such as 3G technology, In addition, when the distance between the first fat terminal and the first thin terminal are closer, such as less than 10 meters, the remote connection request Can be realized by short-distance wireless communication mode in the form of instructing short message, for example, ZigBee, UWB, Wi-Fi, Bluetooth, NFC etc., in the form of instructing short message receiving first by radio communication or in a manner of short-distance wireless communication asks It need not be that fat terminal 60 and thin terminal individually establish communication system to seek information, send the first feedback information, can be with existing The communication resource completes long-range connection, saves resource.
Fat terminal provided in an embodiment of the present invention can not be straight by third-party server during remote control It connects to establish between thin terminal and remotely connect, and after establishing long-range connect with thin terminal, can judge the information received Whether come from authorization terminal, and summarizing instruction can be asked to parse to what the information received included, compared to existing There is technology so that fat terminal and thin terminal can not directly carry out remote control by third-party server, simplify long-range The flow of control reduces the cost of remote control process.
The embodiment of the present invention provides a kind of thin terminal 80, as shown in figure 8, including:
Transmission unit 801, for sending the first solicited message to the first fat terminal, first solicited message includes first It asks, the terminal iidentification of the thin terminal, the first fat terminal is the authorization terminal of the thin terminal, and the authorization terminal is The terminal remotely connecting is completed with the thin terminal.
In practical applications, thin terminal 80 may need its progress remote control of the first fat terminal-pair, at this moment thin terminal 80 Remote control process can be actively initiated, the first solicited message is sent to the first fat terminal, which receives thin end End 80 send the first solicited messages, first solicited message include the first request, the thin terminal 80 terminal iidentification.
Receiving unit 802, the first feedback information sent for receiving fat terminal, first feedback information include first The terminal iidentification of feedback and the fat terminal.
Thin terminal 80 with the first fat terminal during carrying out remote control, it is also possible to be carried out between other fat terminals Other remote control flows, so thin terminal 80 can receive the first feedback information that any fat terminal is sent.
Resolution unit 803, the preset rules for being pre-established according to the thin terminal, parses the receiving unit 802 First feedback in the first feedback information received, obtains third instruction.
The preset rules be it is pre-set, including it is at least one request and/or it is at least one feedback and/or at least one The encoding and decoding of a instruction are regular, need fat terminal identical as the preset rules of thin terminal in practical application, in this way in thin terminal 80 After receiving the first feedback information, the first feedback in first feedback information is obtained first, which is fat terminal It is generated according to preset rules coding, thin terminal 80 can be parsed to obtain the according to the preset rules to first feedback Three instructions.
Judging unit 804, when the third instruction for being obtained when the parsing of the resolution unit 803 instructs in order to control, According to the terminal iidentification of the fat terminal, judge whether the fat terminal is the described first fat terminal.
Common, it may be control instruction that thin terminal 80, which parses obtained instruction, it is also possible to link order, the control By carrying out required instruction when remote control between thin terminal 80 and the fat terminal authorized, the link order is thin for instruction Instruction required when long-range connection is established between terminal 80 and any one fat terminal.In practical application, the thin terminal 80 has Multiple authorization terminals, the authorization terminal be the terminal remotely connecting is completed with thin terminal 80, only with thin terminal 80 Authorization terminal could realize remote control with thin terminal 80, therefore when thin terminal 80 judges that third instruction instructs it in order to control Afterwards, the terminal iidentification of the fat terminal in the first feedback information is obtained, then according to the terminal iidentification of the fat terminal, is judged Whether the fat terminal is the described first fat terminal.
Execution unit 805 judges to obtain the fat terminal as the described first fat terminal for working as the judging unit 804 When, execute the third instruction.
Exemplary, when the fat terminal is the first fat terminal, thin terminal 80 is it can be assumed that the first feedback information is What the first fat terminal was sent, then thin terminal 80 executes third instruction, and the third instruction usually can make thin terminal 80 complete At the remote control initiated by thin terminal 80.
So, during remote control, request or refer to that thin terminal can include to the information received Order is parsed, and when the obtained instruction of parsing instructs in order to control, judges to send whether the fat terminal of information is authorization terminal, And when the fat terminal is authorization terminal, the instruction that parsing obtains, compared to the prior art, fat terminal and thin terminal energy are executed It is enough remote control not to be carried out directly by third-party server, the flow of remote control is simplified, remote control mistake is reduced The cost of journey.
When initialization, long-range connection relation is not present between thin terminal 80 and the first fat terminal, the first fat terminal is not at this time It is the authorization terminal of thin terminal 80, it is therefore desirable to initially set up the long-range connection relation between thin terminal 80 and the first fat terminal. Therefore the receiving unit 802 is additionally operable to receive the sessions that the described first fat terminal is sent, the long-range connection letter Breath includes remote connection request, the terminal iidentification of the first fat terminal.
The resolution unit 803 is additionally operable to, according to the preset rules, parse the remote connection request, remotely connected Connect instruction.
The judging unit 804 is additionally operable to when the long-range link order is link order, according to the described first fat end The terminal iidentification at end judges that can the described first fat terminal remotely be connect with the thin terminal.
The execution unit 805 is additionally operable to, when the described first fat terminal can remotely be connect with the thin terminal, hold The row long-range link order simultaneously updates the authorization terminal inventory that the thin terminal preserves, the authorization terminal according to implementing result Inventory includes all terminal iidentifications that the fat terminal or thin terminal that remotely connect are established with the thin terminal.
As shown in figure 9, the thin terminal further includes generation unit 806, the generation unit 806 is for generating connection feedback Information, the connection feedback information include the terminal iidentification of connection feedback, update feedback and the thin terminal, the connection feedback It is used to indicate the implementing result of the long-range link order, the update feedback is used to indicate the thin terminal and updates the mandate The result of terminal inventory.
The transmission unit 801 is additionally operable to the connection feedback information being sent to the described first fat terminal.
Further, the receiving unit 802 is additionally operable to receive the second solicited message that fat terminal is sent, and described second asks Ask information include the second request, the fat terminal terminal iidentification;
The resolution unit 803 is additionally operable to according to the preset rules, and parsing second request obtains the 5th instruction;
The judging unit 804 is additionally operable to when the 5th instruction instructs in order to control, according to the terminal of the fat terminal Mark, judges whether the fat terminal is the described first fat terminal;
The execution unit 805 is additionally operable to when the fat terminal is the first fat terminal, executes the 5th instruction;
The generation unit 806 is additionally operable to, according to the implementing result of the 5th instruction, generate the second feedback information, described Second feedback information include the thin terminal execute it is described 5th instruction after second feedback, the thin terminal terminal mark Know;
The transmission unit 801 is additionally operable to second feedback information being sent to the described first fat terminal.
Exemplary, the judging unit 804 is specifically used for:
Obtain the terminal iidentification of the fat terminal;Judge the fat terminal terminal iidentification whether in the mandate inventory Including the described first fat terminal terminal iidentification it is identical;When the terminal iidentification of the fat terminal includes with the mandate inventory The described first fat terminal terminal iidentification it is identical when, the fat terminal be the described first fat terminal.
Specifically, the preset rules include at least one request and/or at least one feedback and/or at least one instruction Encoding and decoding rule.
Exemplary, the receiving unit 802 is specifically used for receiving the institute that the fat terminal is sent respectively in the form of short message State the first feedback information, the sessions and second solicited message.
The transmission unit 801 is specifically used for first solicited message, the connection feedback information and described second instead Feedforward information is sent respectively to the fat terminal in the form of short message.
It should be noted that thin terminal 80 can by receiving unit 802 in the form of instructing short message by radio communication Mode receives first feedback information, the sessions and second solicited message that fat terminal is sent respectively, Can by transmission unit 801 in the form of instructing short message by radio communication mode respectively by the first solicited message, described Connection feedback information and second feedback information are sent to fat terminal, and in practical application, described instruction short message can refer to It enables and adds label in the identification sequence of short message so that terminal can distinguish described instruction short message and normal short message breath, described Communication can be WCDMA, TD-SCDMA etc. in GSM, CDMA, GPRS, EDGE, or such as 3G technology, in addition, working as When the distance between first fat terminal and the first thin terminal are closer, such as less than 10 meters, the remote connection request can also be with Instruct short message form, realized by short-distance wireless communication mode, for example, ZigBee, UWB, Wi-Fi, Bluetooth, NFC etc. receives the first solicited message in the form of instructing short message, sends by radio communication or in a manner of short-distance wireless communication First feedback information need not be that fat terminal and thin terminal 80 individually establish communication system, can be completed with the existing communication resource Long-range connection, saves resource.
Thin terminal provided in an embodiment of the present invention can not be connect during remote control by third-party server The sessions that fat terminal is sent is received, and completes long-range connection, and after remotely being connect with the foundation of fat terminal, can be sentenced Whether the information that disconnecting receives comes from authorization terminal, and can include to the information received asks summarizing instruction to carry out Parsing, compared to the prior art so that can not directly be carried out far by third-party server between fat terminal and thin terminal Process control simplifies the flow of remote control, reduces the cost of remote control process.
The embodiment of the present invention provides a kind of fat terminal 100, as shown in Figure 10, including:
Receiver 1001, the first solicited message sent for receiving thin terminal, first solicited message include first It asks, the terminal iidentification of the thin terminal.
In practical applications, thin terminal may need fat terminal 100 to carry out remote control to it, and at this moment the thin terminal can be with Remote control process is actively initiated, the first solicited message is sent to fat terminal 100, fat terminal 100 is connect by receiver 1001 Receive the first solicited message that thin terminal is sent, first solicited message include the first request, the thin terminal terminal iidentification.
Processor 1002 obtains first for according to preset rules, parsing the first request in first solicited message Instruction;When first instruction instructs in order to control, according to the terminal iidentification of the thin terminal, judge the thin terminal whether be First thin terminal, the first thin terminal be the fat terminal 100 authorization terminal, the authorization terminal be with it is described fat Terminal 100 completes the terminal remotely connected;When the thin terminal is the first thin terminal, first instruction and life are executed At the first feedback information, first feedback information includes that the fat terminal 100 executes first instruction obtains first instead The terminal iidentification of feedback and the fat terminal 100.
The preset rules be it is pre-set, including it is at least one request and/or it is at least one feedback and/or at least one The encoding and decoding of a instruction are regular, need fat terminal identical as the preset rules of thin terminal in practical application, in this way in fat terminal 100 After receiving the first solicited message, the first request in first solicited message is obtained first, and then processor 1002 parses First request, it is generally the case that first request, which is thin terminal, to be encoded according to preset rules and generate, and processor 1002 can be with First request is parsed according to the preset rules, then obtains the first instruction.For example, the first request is " RMBBBB " is " safety certification " by the first instruction that the parsing to first request obtains, i.e., what fat terminal needs executed It is the instruction of " safety certification ".
Specifically, it may be control instruction that processor 1002, which parses obtained instruction, it is also possible to link order, the control By carrying out required instruction when remote control between fat terminal and the thin terminal authorized, the link order is fat for system instruction Instruction required when long-range connection is established between terminal and any one thin terminal.In practical application, fat terminal 100 has multiple award Terminal is weighed, the authorization terminal is that the terminal remotely connecting, the only mandate with fat terminal 100 are completed with fat terminal 100 Terminal could realize remote control with fat terminal 100, therefore after processor 1002 judges that first instruction instructs in order to control, The terminal iidentification of thin terminal is obtained, then according to the terminal iidentification of the thin terminal, indicated by the terminal iidentification that judges the thin terminal Thin terminal whether be the first thin terminal, the first thin terminal be fat terminal 100 authorization terminal.
After processor 1002 judges that the thin terminal is the first thin terminal, that is, judge that the thin terminal is fat After the authorization terminal of terminal 100, first instruction is executed, the first feedback is obtained, which is according to processor 1002 The implementing result for executing first instruction obtains, and then generates the first feedback information, and first feedback information includes the The terminal iidentification of one feedback and fat terminal 100, it should be noted that first feedback is that fat terminal is generated according to preset rules 's.
Transmitter 1003, for first feedback information to be sent to the described first thin terminal.
Optionally, the form of short message mode or short-distance wireless communication side by radio communication may be used in fat terminal 100 First feedback information is sent to the first thin terminal by formula.
So, during remote control, request or refer to that fat terminal can include to the information received Order is parsed, and when the obtained instruction of parsing instructs in order to control, judges to send whether the thin terminal of information is authorization terminal, And when the thin terminal is authorization terminal, the instruction that parsing obtains, compared to the prior art, fat terminal and thin terminal energy are executed It is enough remote control not to be carried out directly by third-party server, the flow of remote control is simplified, remote control mistake is reduced The cost of journey.
When initialization, long-range connection relation is not present between fat terminal 100 and the first thin terminal, the first thin terminal is not at this time It is the authorization terminal of fat terminal 100, it is therefore desirable to which the long-range connection initially set up between fat terminal 100 and the first thin terminal is closed System.Therefore the transmitter 1003 is additionally operable to send sessions, the sessions to the described first thin terminal Terminal iidentification including remote connection request, the fat terminal 100.
The receiver 1001 is additionally operable to receive the connection feedback information that thin terminal is sent, and the connection feedback information includes The terminal iidentification of connection feedback, update feedback and the thin terminal.
The processor 1002 is additionally operable to, according to the preset rules, parse the connection feedback and update feedback. When the connection is fed back, to indicate that long-range successful connection and the update feedback instruction thin terminal are successfully updated authorization terminal clear Dan Shi obtains the terminal iidentification of the thin terminal.When the thin terminal is the first thin terminal, the fat terminal is updated The 100 authorization terminal inventories preserved, the authorization terminal inventory include all completing remotely to connect fat end with the fat terminal 100 The terminal iidentification of end or thin terminal.
Optionally, the transmitter 1003 is additionally operable to send the second solicited message to the described first thin terminal, and described second Solicited message include the second request, the fat terminal 100 terminal iidentification;
The receiver 1001 is additionally operable to receive the second feedback information that thin terminal is sent, and second feedback information includes The terminal iidentification of second feedback, the thin terminal;
The processor 1002 is additionally operable to according to the preset rules, and parsing second feedback obtains the second instruction;When When second instruction is the control instruction, the terminal iidentification of the thin terminal is obtained;When the thin terminal is described first When thin terminal, second instruction is executed.
Exemplary, the processor 1002 is specifically used for:
Obtain the terminal iidentification of the thin terminal;Judge whether the terminal iidentification of the thin terminal is clear with the authorization terminal The terminal iidentification for the described first thin terminal that list includes is identical;When the terminal iidentification of the thin terminal and the authorization terminal are clear When the terminal iidentification for the described first thin terminal that list includes is identical, the thin terminal is the described first thin terminal.
Specifically, the preset rules include at least one request and/or at least one feedback and/or at least one instruction Encoding and decoding rule.
Specifically, the transmitter 1003 is specifically used for first feedback information, the sessions and institute It states the second solicited message and is sent respectively to the thin terminal in the form of short message;The receiver 1001 is specifically used for described in reception First solicited message, the connection feedback information and second feedback letter that thin terminal is sent respectively in the form of short message Breath.
It should be noted that fat terminal 100 can in the form of instructing short message by radio communication mode receive respectively it is thin The first solicited message, the connection feedback information and second feedback information that terminal is sent, can be to instruct short message Mode respectively sends the first feedback information, the sessions and second solicited message form by radio communication To thin terminal, in practical application, described instruction short message can add label in the identification sequence of short message so that terminal energy Described instruction short message and normal short message breath are enough distinguished, the communication can be GSM, CDMA, GPRS, EDGE, or WCDMA, TD-SCDMA etc. in person such as 3G technology, in addition, when the distance between the first fat terminal and the first thin terminal are closer, Such as less than 10 meters, the remote connection request can also in the form of instructing short message, by short-distance wireless communication mode come It realizes, such as ZigBee, UWB, Wi-Fi, Bluetooth, NFC etc. is by radio communication or short in the form of instructing short message It need not be fat terminal 100 and thin terminal list that mode away from wireless communication, which receives the first solicited message, sends the first feedback information, Communication system solely is established, long-range connection can be completed with the existing communication resource, saves resource.
Fat terminal provided in an embodiment of the present invention can not be straight by third-party server during remote control It connects to establish between thin terminal and remotely connect, and after establishing long-range connect with thin terminal, can judge the information received Whether come from authorization terminal, and summarizing instruction can be asked to parse to what the information received included, compared to existing There is technology so that fat terminal and thin terminal can not directly carry out remote control by third-party server, simplify long-range The flow of control reduces the cost of remote control process.
The embodiment of the present invention provides a kind of thin terminal 110, as shown in figure 11, including:
Transmitter 1101, for sending the first solicited message to the first fat terminal, first solicited message includes first It asks, the terminal iidentification of the thin terminal, the first fat terminal is the authorization terminal of the thin terminal, and the authorization terminal is The terminal remotely connecting is completed with the thin terminal.
In practical applications, thin terminal 110 may need its progress remote control of the first fat terminal-pair, at this moment thin terminal 110 can actively initiate remote control process, and the first solicited message is sent to the first fat terminal, which receives thin Terminal 110 send the first solicited message, first solicited message include the first request, the thin terminal 110 terminal mark Know.
Receiver 1102, the first feedback information sent for receiving fat terminal, first feedback information include first The terminal iidentification of feedback and the fat terminal.
Thin terminal 110 with the first fat terminal during carrying out remote control, it is also possible between other fat terminals into Row others remote control flow, so thin terminal 110 can receive the first feedback information that any fat terminal is sent.
Processor 1103 is obtained for according to preset rules, parsing first feedback in first feedback information Third instructs;When the processor 1103, which parses obtained third instruction, to be instructed in order to control, according to the fat terminal Terminal iidentification judges whether the fat terminal is the described first fat terminal;When the judging unit 1104 judgement obtain it is described fat When terminal is the first fat terminal, the third instruction is executed.
The preset rules be it is pre-set, including it is at least one request and/or it is at least one feedback and/or at least one The encoding and decoding of a instruction are regular, need fat terminal identical as the preset rules of thin terminal in practical application, in this way in thin terminal 110 After receiving the first feedback information, the first feedback in first feedback information is obtained first, which is fat terminal It is generated according to preset rules coding, thin terminal can be parsed to obtain third according to the preset rules to first feedback Instruction.
Common, it may be control instruction that processor 1103, which parses obtained instruction, it is also possible to link order, the control System instruction is by carrying out required instruction when remote control, the link order between thin terminal 110 and the fat terminal authorized Instruction required when long-range connection is established between thin terminal 110 and any one fat terminal.In practical application, the thin terminal 110 have multiple authorization terminals, and the authorization terminal is to complete the terminal remotely connecting with thin terminal 110, only with thin end The authorization terminal at end 110 could realize remote control with thin terminal 110, therefore when processor 1103 judges third instruction for control After system instruction, the terminal iidentification of the fat terminal in the first feedback information is obtained, then according to the terminal of the fat terminal Mark, judges whether the fat terminal is the described first fat terminal.
Exemplary, when the fat terminal is the first fat terminal, thin terminal 110 is it can be assumed that the first feedback information is What the first fat terminal was sent, then processor 1103 executes third instruction, and the third instruction usually can make thin terminal 110 Complete the remote control initiated by thin terminal 110.
So, during remote control, request or refer to that thin terminal can include to the information received Order is parsed, and when the obtained instruction of parsing instructs in order to control, judges to send whether the fat terminal of information is authorization terminal, And when the fat terminal is authorization terminal, the instruction that parsing obtains, compared to the prior art, fat terminal and thin terminal energy are executed It is enough remote control not to be carried out directly by third-party server, the flow of remote control is simplified, remote control mistake is reduced The cost of journey.
When initialization, long-range connection relation is not present between thin terminal 110 and the first fat terminal, the first fat terminal is not at this time It is the authorization terminal of thin terminal 110, it is therefore desirable to which the long-range connection initially set up between thin terminal 110 and the first fat terminal is closed System.The receiver 1102 is additionally operable to receive the sessions that the described first fat terminal is sent, the sessions Including remote connection request, the terminal iidentification of the first fat terminal.
The processor 1103 is additionally operable to, according to the preset rules, parse the remote connection request, remotely connected Connect instruction;When the long-range link order is link order, according to the terminal iidentification of the described first fat terminal, described the is judged Can one fat terminal remotely be connect with the thin terminal;When the described first fat terminal can remotely be connected with the thin terminal When connecing, executes the long-range link order and the authorization terminal inventory that the thin terminal preserves is updated according to implementing result, it is described Authorization terminal inventory includes all terminal iidentifications that the fat terminal or thin terminal that remotely connect are established with the thin terminal;The company of generation Reversed feedforward information, the connection feedback information include the terminal iidentification of connection feedback, update feedback and the thin terminal, the company Reversed to present the implementing result for being used to indicate the long-range link order, the update feedback is used to indicate the thin terminal update institute State the result of authorization terminal inventory.
The transmitter 1101 is additionally operable to the connection feedback information being sent to the described first fat terminal.
Further, the receiver 1102 is additionally operable to receive the second solicited message that fat terminal is sent, and described second asks Ask information include the second request, the fat terminal terminal iidentification;
The processor 1103 is additionally operable to according to the preset rules, and parsing second request obtains the 5th instruction;When 5th instruction is when instructing in order to control, according to the terminal iidentification of the fat terminal, judges whether the fat terminal is described the One fat terminal;When the fat terminal is the first fat terminal, the 5th instruction is executed;According to holding for the 5th instruction Row as a result, generate the second feedback information, second feedback information include the thin terminal execute it is described 5th instruction after The terminal iidentification of second feedback, the thin terminal.
The transmitter 1101 is additionally operable to second feedback information being sent to the described first fat terminal.
Exemplary, the processor 1103 is specifically used for obtaining the terminal iidentification of the fat terminal;Judge the fat terminal Terminal iidentification it is whether identical as the mandate inventory terminal iidentification of the described first fat terminal that includes;When the fat terminal Terminal iidentification it is identical as the mandate inventory terminal iidentification of the described first fat terminal that includes when, the fat terminal is institute State the first fat terminal.
Specifically, the processor 1103 is additionally operable to establish preset rules, the preset rules include at least one request And/or the encoding and decoding of at least one feedback and/or at least one instruction rule.
Exemplary, the receiver 1102 is specifically used for receiving described in the fat terminal sends respectively in the form of short message First feedback information, the sessions and second solicited message.
The transmitter 1101 is specifically used for first solicited message, the connection feedback information and described second instead Feedforward information is sent respectively to the fat terminal in the form of short message.
It should be noted that thin terminal 110 can mode receives respectively by radio communication by instructing the form of short message First feedback information, the sessions and second solicited message that fat terminal is sent, can pass through instruction The form of short message by radio communication respectively feed back the first solicited message, the connection feedback information and described second by mode Information is sent to fat terminal, and in practical application, described instruction short message can add label in the identification sequence of short message, make Terminal can distinguish described instruction short message and normal short message breath, the communication can be GSM, CDMA, GPRS, WCDMA, TD-SCDMA etc. in EDGE, or such as 3G technology, in addition, when the distance between the first fat terminal and the first thin terminal When closer, such as less than 10 meters, the remote connection request can also pass through short-distance wireless communication in the form of instructing short message Mode realizes that such as ZigBee, UWB, Wi-Fi, Bluetooth, NFC etc. pass through channel radio in the form of instructing short message It need not be fat terminal and thin terminal that the mode of letter or short-distance wireless communication, which receives the first solicited message, sends the first feedback information, 110 individually establish communication system, and long-range connection can be completed with the existing communication resource, saves resource.
Thin terminal provided in an embodiment of the present invention can not be connect during remote control by third-party server The sessions that fat terminal is sent is received, and completes long-range connection, and after remotely being connect with the foundation of fat terminal, can be sentenced Whether the information that disconnecting receives comes from authorization terminal, and can include to the information received asks summarizing instruction to carry out Parsing, compared to the prior art so that can not directly be carried out far by third-party server between fat terminal and thin terminal Process control simplifies the flow of remote control, reduces the cost of remote control process.
The embodiment of the present invention provides a kind of tele-control system, including:Fat terminal and thin terminal;
The fat terminal is initially used for sending sessions, the sessions packet to the described first thin terminal Include remote connection request, the fat terminal terminal iidentification;Receive the connection feedback information that thin terminal is sent, the connection feedback Information includes the terminal iidentification of connection feedback, update feedback and the thin terminal;According to preset rules, the connection feedback is parsed It is fed back with the update;It is fed back when the connection and indicates long-range successful connection and the update feedback instruction thin terminal success When updating authorization terminal inventory, the terminal iidentification of the thin terminal is obtained;When the thin terminal is the first thin terminal, more The authorization terminal inventory that the new fat terminal preserves, the authorization terminal inventory include all completing remotely to connect with the fat terminal The terminal iidentification of the fat terminal or thin terminal that connect;Then the fat terminal is used to receive the first solicited message that thin terminal is sent, First solicited message include the first request, the thin terminal terminal iidentification;According to the preset rules, parsing described the One request, obtains the first instruction;When first instruction instructs in order to control, according to the terminal iidentification of the thin terminal, judge Whether the thin terminal is the first thin terminal, and the first thin terminal is the authorization terminal of the fat terminal, the authorization terminal To complete the terminal remotely connecting with the fat terminal;When the thin terminal is the first thin terminal, described in execution First instructs and generates the first feedback information, and first feedback information includes that fat terminal execution first instruction obtains First feedback and the fat terminal terminal iidentification;First feedback information is sent to the described first thin terminal;Or Send the second solicited message to the described first thin terminal, second solicited message include the second request, the fat terminal end End mark;The second feedback information that thin terminal is sent is received, second feedback information includes the second feedback, the thin terminal Terminal iidentification;According to the preset rules, parsing second feedback obtains the second instruction;When second instruction is described When control instruction, the terminal iidentification of the thin terminal is obtained;When the thin terminal is the first thin terminal, described the is executed Two instructions;
The thin terminal is initially used for receiving the sessions that the described first fat terminal is sent, the long-range connection letter Breath includes remote connection request, the terminal iidentification of the first fat terminal;According to preset rules, parses the long-range connection and ask It asks, obtains long-range link order;When the long-range link order is link order, according to the terminal mark of the described first fat terminal Know, judges that can the described first fat terminal remotely be connect with the thin terminal;When the described first fat terminal can with it is described thin When terminal is remotely connected, executes the long-range link order and the mandate that the thin terminal preserves is updated according to implementing result Terminal inventory;Connection feedback information is generated, the connection feedback information includes connection feedback, update feedback and the thin terminal Terminal iidentification, the connection feedback are used to indicate the implementing result of the long-range link order, and the update feedback is used to indicate The thin terminal updates the result of the authorization terminal inventory;The connection feedback information is sent to the described first fat terminal; Then the fat terminal is used to send the first solicited message to the first fat terminal, first solicited message include the first request, The terminal iidentification of the thin terminal, the first fat terminal are the authorization terminal of the thin terminal, and the authorization terminal is The terminal remotely connecting is completed with the thin terminal;Receive the first feedback information that fat terminal is sent, first feedback information Include the terminal iidentification of the first feedback and the fat terminal;According to the preset rules, parsing first feedback obtains third Instruction;When third instruction instructs in order to control, according to the terminal iidentification of the fat terminal, judge the fat terminal whether be The first fat terminal;When the fat terminal is the first fat terminal, the third instruction is executed;Or receive fat terminal Send the second solicited message, second solicited message include the second request, the fat terminal terminal iidentification;According to described Preset rules, parsing second request, obtain the 5th instruction;When the 5th instruction instructs in order to control, according to described fat The terminal iidentification of terminal judges whether the fat terminal is the described first fat terminal;When the fat terminal was the described first fat end When end, the 5th instruction is executed;According to the implementing result of the 5th instruction, the second feedback information is generated, described second is anti- Feedforward information include the thin terminal execute it is described 5th instruction after second feedback, the thin terminal terminal iidentification;By institute It states the second feedback information and is sent to the described first fat terminal.
Tele-control system provided in an embodiment of the present invention, thin terminal can not receive fat terminal by third-party server The sessions of transmission, and long-range connection is completed, and after thin terminal establishes long-range connect with fat terminal, it can be by appointing The side that anticipates initiates remote control flow, and can not complete the parsing instructed in remote control process by third-party server Simplify the flow of remote control compared to the prior art with the judgement of authorization terminal, reduce remote control process at This.
Term "and/or" in the present invention, only a kind of incidence relation of description affiliated partner, indicates may exist three kinds Relationship, for example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.In addition, this Character "/" in text, it is a kind of relationship of "or" to typically represent forward-backward correlation object.
It is apparent to those skilled in the art that for convenience and simplicity of description, the method for foregoing description Specific steps, can refer to aforementioned release unit embodiment in corresponding process, details are not described herein.
It should be noted that the priority of long-range connection method provided in an embodiment of the present invention and long-range control method step is suitable Sequence can be adjusted suitably, and step according to circumstances can also accordingly be increased and decreased, any technology people for being familiar with the art Member in the technical scope disclosed by the present invention, the method that variation can be readily occurred in, should all cover protection scope of the present invention it It is interior, therefore repeat no more.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that the independent physics of each unit includes, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or light The various media that can store program code such as disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (25)

1. a kind of method of the thin terminal of fat terminal remote control, which is characterized in that it is used for fat terminal, including:
Receive the first solicited message that thin terminal is sent, first solicited message include the first request, the thin terminal end End mark;
According to preset rules, parsing first request obtains the first instruction;
When first instruction instructs in order to control, according to the terminal iidentification of the thin terminal, judge the thin terminal whether be First thin terminal, the first thin terminal be the fat terminal authorization terminal, the authorization terminal be with the fat end Complete the terminal remotely connected in end;
When the thin terminal is the first thin terminal, executes described first and instruct and simultaneously generate the first feedback information, described the One feedback information includes the terminal iidentification that the fat terminal executes the first feedback and the fat terminal that first instruction obtains;
First feedback information is sent to the described first thin terminal, wherein first feedback information includes the first feedback With the terminal iidentification of the fat terminal, fed back so that the first thin terminal parses described first according to the preset rules, Third instruction is obtained, and when the terminal iidentification of instruction and the fat terminal determines that the fat terminal is first in order to control for third instruction When fat terminal, the third instruction is executed.
2. the method for the thin terminal of fat terminal remote control according to claim 1, which is characterized in that receive thin end described Before holding the first solicited message sent, the method further includes:
Sessions is sent to the described first thin terminal, and the sessions includes remote connection request, described fat The terminal iidentification of terminal;
The connection feedback information of thin terminal transmission is received, the connection feedback information includes that connection is fed back, update is fed back and described The terminal iidentification of thin terminal;
According to the preset rules, the connection feedback and update feedback are parsed;
It is fed back when the connection and indicates that long-range successful connection and update feedback indicate that the thin terminal is successfully updated mandate eventually When holding inventory, the terminal iidentification of the thin terminal is obtained;
When the thin terminal is the first thin terminal, the authorization terminal inventory that the update fat terminal preserves, the mandate Terminal inventory includes all terminal iidentifications that the fat terminal or thin terminal that remotely connect are completed with the fat terminal.
3. the method for the thin terminal of fat terminal remote control according to claim 2, which is characterized in that described in the update After the authorization terminal inventory that fat terminal preserves, the method further includes:
The second solicited message is sent to the described first thin terminal, second solicited message includes the second request, the fat terminal Terminal iidentification;
The second feedback information that thin terminal is sent is received, second feedback information includes the end of the second feedback, the thin terminal End mark;
According to the preset rules, parsing second feedback obtains the second instruction;
When second instruction is the control instruction, the terminal iidentification of the thin terminal is obtained;
When the thin terminal is the first thin terminal, second instruction is executed.
4. the method for the thin terminal of fat terminal remote control according to claim 2, which is characterized in that described according to described thin The terminal iidentification of terminal judges whether the thin terminal is that the first thin terminal includes:
Obtain the terminal iidentification of the thin terminal;
Judge the thin terminal terminal iidentification whether the end for the described first thin terminal for including with the authorization terminal inventory End mark is identical;
When the terminal iidentification for the described first thin terminal that the terminal iidentification of the thin terminal includes with the authorization terminal inventory When identical, the thin terminal is the described first thin terminal.
5. the method for the thin terminal of fat terminal remote control according to Claims 1-4 any one claim, feature It is, the preset rules include at least one request and/or the encoding and decoding of at least one feedback and/or at least one instruction rule Then.
6. the method for the thin terminal of fat terminal remote control according to claim 3, which is characterized in that
First feedback information, the sessions and the second solicited message are sent respectively to described in the form of short message Thin terminal;
Receive first solicited message, the connection feedback information and that the thin terminal is sent respectively in the form of short message Two feedback informations.
7. a kind of method of the thin terminal of fat terminal remote control, which is characterized in that it is used for thin terminal, including:
Send the first solicited message to the first fat terminal, first solicited message include the first request, the thin terminal end End mark, the first fat terminal are the authorization terminal of the thin terminal, and the authorization terminal is complete with the thin terminal At the terminal remotely connected;
The first feedback information that fat terminal is sent is received, first feedback information includes the end of the first feedback and the fat terminal End mark;
According to preset rules, parsing first feedback obtains third instruction;
When third instruction instructs in order to control, according to the terminal iidentification of the fat terminal, judge the fat terminal whether be The first fat terminal;
When the fat terminal is the first fat terminal, the third instruction is executed.
8. the method for the thin terminal of fat terminal remote control according to claim 7, which is characterized in that described fat to first Before terminal sends the first solicited message, the method further includes:
The sessions that the described first fat terminal is sent is received, the sessions includes remote connection request, institute State the terminal iidentification of the first fat terminal;
According to the preset rules, the remote connection request is parsed, obtains long-range link order;
When the long-range link order is link order, according to the terminal iidentification of the described first fat terminal, described first is judged Can fat terminal remotely be connect with the thin terminal;
When the described first fat terminal can remotely be connect with the thin terminal, executes the long-range link order and basis is held Row result updates the authorization terminal inventory that the thin terminal preserves, and the authorization terminal inventory includes all being built with the thin terminal The terminal iidentification of the vertical fat terminal or thin terminal remotely connected;
Connection feedback information is generated, the connection feedback information includes connection feedback, the terminal of update feedback and the thin terminal Mark, the connection feedback are used to indicate the implementing result of the long-range link order, and the update feedback is used to indicate described Thin terminal updates the result of the authorization terminal inventory;
The connection feedback information is sent to the described first fat terminal.
9. the method for the thin terminal of fat terminal remote control according to claim 8, which is characterized in that described by the company Reversed feedforward information is sent to after the described first fat terminal, and the method further includes:
Receive the second solicited message that fat terminal is sent, second solicited message include the second request, the fat terminal end End mark;
According to the preset rules, parsing second request obtains the 5th instruction;
When the 5th instruction instructs in order to control, according to the terminal iidentification of the fat terminal, judge the fat terminal whether be The first fat terminal;
When the fat terminal is the first fat terminal, the 5th instruction is executed;
According to the implementing result of the 5th instruction, the second feedback information is generated, second feedback information includes the thin end The terminal iidentification of the second feedback, the thin terminal after end execution the 5th instruction;
Second feedback information is sent to the described first fat terminal.
10. the method for the thin terminal of fat terminal remote control according to claim 8, which is characterized in that described in the basis The terminal iidentification of fat terminal judges whether the fat terminal is that the described first fat terminal includes:
Obtain the terminal iidentification of the fat terminal;
Judge the fat terminal terminal iidentification whether the terminal mark with the mandate inventory described first fat terminal that includes It is sensible same;
When the terminal iidentification of the fat terminal is identical as the terminal iidentification of the described first fat terminal that the mandate inventory includes When, the fat terminal is the described first fat terminal.
11. the method for the thin terminal of fat terminal remote control according to claim 7 to 10 any one claim, special Sign is that the preset rules include at least one request and/or the encoding and decoding of at least one feedback and/or at least one instruction Rule.
12. the method for the thin terminal of fat terminal remote control according to claim 9, which is characterized in that
Receive first feedback information, the sessions and that the fat terminal is sent respectively in the form of short message Two solicited messages;
First solicited message, the connection feedback information and the second feedback information are sent respectively to described in the form of short message Fat terminal.
13. a kind of fat terminal, the fat terminal is used for the thin terminal of remote control, which is characterized in that including:
Receiving unit, the first solicited message sent for receiving thin terminal, first solicited message include the first request, institute State the terminal iidentification of thin terminal;
Resolution unit, for according to preset rules, parsing first in first solicited message that the receiving unit receives Request, obtains the first instruction;
Judging unit, when first instruction for being parsed when the resolution unit instructs in order to control, according to described thin The terminal iidentification of terminal judges whether the thin terminal is the first thin terminal, and the first thin terminal is awarding for the fat terminal Terminal is weighed, the authorization terminal is to have completed the terminal remotely connecting with the fat terminal;
Execution unit, for when the judging unit judge to obtain the thin terminal as the first thin terminal when, described in execution First instructs and generates the first feedback information, and first feedback information includes that fat terminal execution first instruction obtains First feedback and the fat terminal terminal iidentification;
Transmission unit, first feedback information for generating the execution unit are sent to the described first thin terminal, In, first feedback information includes the terminal iidentification of the first feedback and the fat terminal, so that the first thin terminal root According to preset rules parsing first feedback, third instruction is obtained, and when third instructs instruction and the fat end in order to control When the terminal iidentification at end determines that the fat terminal is the first fat terminal, the third instruction is executed.
14. fat terminal according to claim 13, which is characterized in that
The transmission unit is additionally operable to send sessions to the described first thin terminal, and the sessions includes remote The terminal iidentification of journey connection request, the fat terminal;
The receiving unit is additionally operable to receive the connection feedback information that thin terminal is sent, and the connection feedback information includes that connection is anti- Feedback, update are fed back and the terminal iidentification of the thin terminal;
The resolution unit is additionally operable to, according to the preset rules, parse the connection feedback and update feedback;
The fat terminal further includes:
Acquiring unit, for when connection feedback indicate long-range successful connection and the update feed back the instruction thin terminal at When work(updates authorization terminal inventory, the terminal iidentification of the thin terminal is obtained;
Updating unit, for the authorization terminal that when the thin terminal is the first thin terminal, the update fat terminal preserves Inventory, the authorization terminal inventory include all terminal marks that the fat terminal or thin terminal that remotely connect are completed with the fat terminal Know.
15. fat terminal according to claim 14, which is characterized in that
The transmission unit is additionally operable to send the second solicited message to the described first thin terminal, and second solicited message includes the Two request, the fat terminal terminal iidentification;
The receiving unit is additionally operable to receive the second feedback information that thin terminal is sent, and second feedback information includes second anti- It presents, the terminal iidentification of the thin terminal;
The resolution unit is additionally operable to according to the preset rules, and parsing second feedback obtains the second instruction;
The acquiring unit is additionally operable to, when second instruction is the control instruction, obtain the terminal mark of the thin terminal Know;
The execution unit is additionally operable to when the thin terminal is the first thin terminal, executes second instruction.
16. fat terminal according to claim 14, which is characterized in that the judging unit is specifically used for:
Obtain the terminal iidentification of the thin terminal;
Judge the thin terminal terminal iidentification whether the end for the described first thin terminal for including with the authorization terminal inventory End mark is identical;
When the terminal iidentification for the described first thin terminal that the terminal iidentification of the thin terminal includes with the authorization terminal inventory When identical, the thin terminal is the described first thin terminal.
17. according to the fat terminal described in claim 13 to 16 any one claim, which is characterized in that the preset rules Including at least one request and/or the encoding and decoding of at least one feedback and/or at least one instruction rule.
18. fat terminal according to claim 15, which is characterized in that
The transmission unit is specifically used for first feedback information, the sessions and the second solicited message with short Form of message is sent respectively to the thin terminal;
The receiving unit be specifically used for receiving first solicited message that the thin terminal sends respectively in the form of short message, The second feedback information of the connection feedback information.
19. a kind of thin terminal, the thin terminal is by fat terminal remote control, which is characterized in that including:
Transmission unit, for sending the first solicited message to the first fat terminal, first solicited message includes the first request, institute State the terminal iidentification of thin terminal, the first fat terminal is the authorization terminal of the thin terminal, the authorization terminal be with The thin terminal completes the terminal remotely connected;
Receiving unit, the first feedback information sent for receiving fat terminal, first feedback information include the first feedback and The terminal iidentification of the fat terminal;
Resolution unit parses described the in the first feedback information that the receiving unit receives for according to preset rules One feedback obtains third instruction;
Judging unit, when the third instruction for being parsed when the resolution unit instructs in order to control, according to described fat The terminal iidentification of terminal judges whether the fat terminal is the described first fat terminal;
Execution unit, for when the judging unit judge to obtain the fat terminal as the first fat terminal when, described in execution Third instructs.
20. thin terminal according to claim 19, which is characterized in that
The receiving unit is additionally operable to receive the sessions that the described first fat terminal is sent, the sessions packet Include remote connection request, the terminal iidentification of the first fat terminal;
The resolution unit is additionally operable to, according to the preset rules, parse the remote connection request, obtains long-range link order;
The judging unit is additionally operable to when the long-range link order is link order, according to the terminal of the described first fat terminal Mark, judges that can the described first fat terminal remotely be connect with the thin terminal;
The execution unit is additionally operable to when the described first fat terminal can remotely be connect with the thin terminal, is executed described remote Journey link order simultaneously updates the authorization terminal inventory that the thin terminal preserves according to implementing result, and the authorization terminal inventory includes All terminal iidentifications that the fat terminal or thin terminal that remotely connect are established with the thin terminal;
The thin terminal further includes generation unit, and the generation unit is for generating connection feedback information, the connection feedback letter Breath includes the terminal iidentification of connection feedback, update feedback and the thin terminal, and the connection, which feeds back to be used to indicate, described remotely to be connected The implementing result of instruction is connect, the update feedback is used to indicate the result that the thin terminal updates the authorization terminal inventory;
The transmission unit is additionally operable to the connection feedback information being sent to the described first fat terminal.
21. thin terminal according to claim 20, which is characterized in that
The receiving unit is additionally operable to receive the second solicited message that fat terminal is sent, and second solicited message is asked including second It asks, the terminal iidentification of the fat terminal;
The resolution unit is additionally operable to according to the preset rules, and parsing second request obtains the 5th instruction;
The judging unit is additionally operable to, when the 5th instruction instructs in order to control, according to the terminal iidentification of the fat terminal, sentence Whether the fat terminal of breaking is the described first fat terminal;
The execution unit is additionally operable to when the fat terminal is the first fat terminal, executes the 5th instruction;
The generation unit is additionally operable to, according to the implementing result of the 5th instruction, generate the second feedback information, described second is anti- Feedforward information include the thin terminal execute it is described 5th instruction after second feedback, the thin terminal terminal iidentification;
The transmission unit is additionally operable to second feedback information being sent to the described first fat terminal.
22. thin terminal according to claim 20, which is characterized in that the judging unit is specifically used for:
Obtain the terminal iidentification of the fat terminal;
Judge the fat terminal terminal iidentification whether the terminal mark with the mandate inventory described first fat terminal that includes It is sensible same;
When the terminal iidentification of the fat terminal is identical as the terminal iidentification of the described first fat terminal that the mandate inventory includes When, the fat terminal is the described first fat terminal.
23. according to the thin terminal described in claim 19 to 22 any one claim, which is characterized in that the preset rules Including at least one request and/or the encoding and decoding of at least one feedback and/or at least one instruction rule.
24. thin terminal according to claim 21, which is characterized in that
The receiving unit be specifically used for receiving first feedback information that the fat terminal sends respectively in the form of short message, The sessions and the second solicited message;
The transmission unit is specifically used for first solicited message, the connection feedback information and the second feedback information with short Form of message is sent respectively to the fat terminal.
25. a kind of tele-control system, which is characterized in that including:Fat terminal and thin terminal, described in the fat terminal remote control Thin terminal;
The fat terminal is initially used for sending sessions to the first thin terminal, and the sessions includes remotely connecting Connect request, the fat terminal terminal iidentification;The connection feedback information that thin terminal is sent is received, the connection feedback information includes The terminal iidentification of connection feedback, update feedback and the thin terminal;According to preset rules, parse the connection feedback with it is described more New feedback;It is fed back when the connection and indicates that long-range successful connection and update feedback indicate that the thin terminal is successfully updated mandate When terminal inventory, the terminal iidentification of the thin terminal is obtained;When the thin terminal is the first thin terminal, update is described fat The authorization terminal inventory that terminal preserves, the authorization terminal inventory include all fat ends for completing remotely to connect with the fat terminal The terminal iidentification of end or thin terminal;Then the first solicited message that the fat terminal is sent for receiving thin terminal, described first Solicited message include the first request, the thin terminal terminal iidentification;According to the preset rules, parsing first request, Obtain the first instruction;When first instruction instructs in order to control, according to the terminal iidentification of the thin terminal, the thin end is judged End whether be the first thin terminal, the first thin terminal be the fat terminal authorization terminal, the authorization terminal be with The fat terminal completes the terminal remotely connected;When the thin terminal is the first thin terminal, first instruction is executed And the first feedback information is generated, first feedback information includes that the fat terminal executes first instruction obtains first instead The terminal iidentification of feedback and the fat terminal;First feedback information is sent to the described first thin terminal;Or to described One thin terminal sends the second solicited message, second solicited message include the second request, the fat terminal terminal iidentification;It connects The second feedback information that thin terminal is sent is received, second feedback information includes the terminal iidentification of the second feedback, the thin terminal; According to the preset rules, parsing second feedback obtains the second instruction;When second instruction is the control instruction When, obtain the terminal iidentification of the thin terminal;When the thin terminal is the first thin terminal, second instruction is executed;
The thin terminal is initially used for receiving the sessions that the first fat terminal is sent, and the sessions includes remote Journey connection request, the terminal iidentification of the first fat terminal;According to preset rules, the remote connection request is parsed, is obtained remote Journey link order;When the long-range link order is link order, according to the terminal iidentification of the described first fat terminal, institute is judged Can the first fat terminal be stated remotely be connect with the thin terminal;When the described first fat terminal can carry out far with the thin terminal When journey connects, executes the long-range link order and the authorization terminal inventory that the thin terminal preserves is updated according to implementing result; Connection feedback information is generated, the connection feedback information includes the terminal iidentification of connection feedback, update feedback and the thin terminal, The connection feedback is used to indicate the implementing result of the long-range link order, and the update feedback is used to indicate the thin terminal Update the result of the authorization terminal inventory;The connection feedback information is sent to the described first fat terminal;Then described thin Terminal is used to send the first solicited message to the first fat terminal, and first solicited message includes the first request, the thin terminal Terminal iidentification, the first fat terminal be the thin terminal authorization terminal, the authorization terminal be with the thin end Complete the terminal remotely connected in end;The first feedback information that fat terminal is sent is received, first feedback information includes first anti- The terminal iidentification of feedback and the fat terminal;According to the preset rules, parsing first feedback obtains third instruction;Work as institute Third instruction is stated when instructing in order to control, according to the terminal iidentification of the fat terminal, judges whether the fat terminal is described first Fat terminal;When the fat terminal is the first fat terminal, the third instruction is executed;Or receive that fat terminal sends the Two solicited messages, second solicited message include the second request, the fat terminal terminal iidentification;According to the default rule Then, second request is parsed, the 5th instruction is obtained;When the 5th instruction instructs in order to control, according to the fat terminal Terminal iidentification judges whether the fat terminal is the described first fat terminal;When the fat terminal is the first fat terminal, hold Row the 5th instruction;According to the implementing result of the 5th instruction, the second feedback information, the second feedback information packet are generated Include the thin terminal execute it is described 5th instruction after second feedback, the thin terminal terminal iidentification;It is anti-by described second Feedforward information is sent to the described first fat terminal.
CN201410102605.1A 2014-03-19 2014-03-19 A kind of long-range control method, apparatus and system Active CN103929470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410102605.1A CN103929470B (en) 2014-03-19 2014-03-19 A kind of long-range control method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410102605.1A CN103929470B (en) 2014-03-19 2014-03-19 A kind of long-range control method, apparatus and system

Publications (2)

Publication Number Publication Date
CN103929470A CN103929470A (en) 2014-07-16
CN103929470B true CN103929470B (en) 2018-10-30

Family

ID=51147542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410102605.1A Active CN103929470B (en) 2014-03-19 2014-03-19 A kind of long-range control method, apparatus and system

Country Status (1)

Country Link
CN (1) CN103929470B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511894A (en) * 2014-09-24 2016-04-20 北京君正集成电路股份有限公司 Method for managing application program in smartwatch, mobile terminal, and smartwatch
CN104348977A (en) * 2014-11-11 2015-02-11 深圳市中兴移动通信有限公司 Operating control method for mobile terminal, master terminal and slave terminal
CN105163330A (en) * 2015-06-19 2015-12-16 深圳天珑无线科技有限公司 Information monitoring method, equipment and information monitoring system
CN105282322A (en) * 2015-09-14 2016-01-27 合肥讯飞淘云科技有限公司 Watch setting method and system based on intelligent mobile terminal remote voice prompt
CN110430230A (en) * 2019-06-20 2019-11-08 广州南方卫星导航仪器有限公司 A kind of high precision GNSS receiver remote setting method and device
CN114531311B (en) * 2020-11-23 2022-12-27 华为技术有限公司 Equipment control method and device
CN114221970B (en) * 2021-12-10 2024-02-02 北京思必拓科技有限责任公司 Application data synchronization method and device in public environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005662A (en) * 2006-11-15 2007-07-25 深圳凯虹移动通信有限公司 Mobile terminal with long-range control function and its long-range control method
CN101610544A (en) * 2009-07-20 2009-12-23 中兴通讯股份有限公司 Long-range control method and device
CN103368617A (en) * 2013-06-28 2013-10-23 东莞宇龙通信科技有限公司 Intelligent equipment interactive system and intelligent equipment interactive method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018375B (en) * 2007-01-29 2011-11-30 中兴通讯股份有限公司 Method for remotely controlling the terminal data
CN101159970B (en) * 2007-09-19 2012-11-28 惠州Tcl移动通信有限公司 Handset remote controlled method
CN100492236C (en) * 2007-12-13 2009-05-27 上海交通大学 Engineering machinery remote control system and method
CN101640881A (en) * 2008-07-30 2010-02-03 比亚迪股份有限公司 Method and system for remote control and mobile terminal
CN102143504A (en) * 2010-02-01 2011-08-03 华为终端有限公司 Method and device for remotely managing wireless mobile terminal (MT)
CN102236565A (en) * 2010-04-30 2011-11-09 国际商业机器公司 Method and system for cooperatively installing computer application
CN102752359B (en) * 2012-02-17 2015-05-13 浙江吉利汽车研究院有限公司 Long-distance service assisted type method and system for automobile fingerprint identification authentication
CN103023989B (en) * 2012-11-27 2015-11-25 北京百度网讯科技有限公司 For the communication means of terminal, communication system and terminal
CN103533085A (en) * 2013-10-31 2014-01-22 上海斐讯数据通信技术有限公司 Method and system for remotely controlling computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005662A (en) * 2006-11-15 2007-07-25 深圳凯虹移动通信有限公司 Mobile terminal with long-range control function and its long-range control method
CN101610544A (en) * 2009-07-20 2009-12-23 中兴通讯股份有限公司 Long-range control method and device
CN103368617A (en) * 2013-06-28 2013-10-23 东莞宇龙通信科技有限公司 Intelligent equipment interactive system and intelligent equipment interactive method

Also Published As

Publication number Publication date
CN103929470A (en) 2014-07-16

Similar Documents

Publication Publication Date Title
CN103929470B (en) A kind of long-range control method, apparatus and system
EP3935754B1 (en) Power-based encoding of data to be transmitted over an optical communication path
EP3101652A1 (en) Electronic device for outputting messages and method for controlling the same
US10701315B2 (en) Video communication device and video communication method
US9754464B1 (en) Haptic communications
WO2017068560A1 (en) Communication device
CN110178179A (en) Voice signature for being authenticated to electronic device user
CN108235753A (en) Electronic equipment and the method for operation for control electronics
CN111133469B (en) User care system based on chat robot
CN108431764A (en) Electronic equipment and the method operated for control electronics
US20180123629A1 (en) Smart-ring methods and systems
EP2893673B1 (en) Methods and apparatus for enhancing device messaging
CN105979524B (en) A kind of wireless network access method and system
CN105185378A (en) Voice control method, voice control system and air conditioner capable of realizing voice control
CN107655154A (en) Terminal control method, air conditioner and computer-readable recording medium
CN107977562A (en) Personal identification method, identification terminal and storage medium
US11606397B2 (en) Server and operating method thereof
US20170132900A1 (en) Monitoring zone escape remote management system and method therefor
KR102549204B1 (en) Device, server and method for providing speech recognition service
US20060003785A1 (en) Method and system for wireless device association
CN105376294B (en) For providing the method and system of information through intelligent user interface
US20240162983A1 (en) Low power light wave communication for mobile and wearable devices
CN107643949A (en) Application program switching system and method, storage medium and electronic equipment
CN105955699A (en) Remote control equipment position determining method and device and terminal equipment
US20190171249A1 (en) Methods and systems for generating one or more service set identifier (ssid) communication signals

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant