CN102131001B - Remote control system and method of mobile communication terminal - Google Patents

Remote control system and method of mobile communication terminal Download PDF

Info

Publication number
CN102131001B
CN102131001B CN201110068088.7A CN201110068088A CN102131001B CN 102131001 B CN102131001 B CN 102131001B CN 201110068088 A CN201110068088 A CN 201110068088A CN 102131001 B CN102131001 B CN 102131001B
Authority
CN
China
Prior art keywords
mobile phone
phone end
screen
control
sends
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
CN201110068088.7A
Other languages
Chinese (zh)
Other versions
CN102131001A (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.)
Beijing Bang Bang Safety Technology Co. Ltd.
Original Assignee
YANGPUWEIYE TECHNOLOGY 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 YANGPUWEIYE TECHNOLOGY Ltd filed Critical YANGPUWEIYE TECHNOLOGY Ltd
Priority to CN201110068088.7A priority Critical patent/CN102131001B/en
Publication of CN102131001A publication Critical patent/CN102131001A/en
Application granted granted Critical
Publication of CN102131001B publication Critical patent/CN102131001B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention provides a remote control system and method of a mobile phone. The system comprises one or more mobile phones and a server, wherein a local area network formed by the one or more mobile phones and the server is located under an IP (Internet protocol) address shared on the public network by use of a virtual private network (VPN) technology; and the one or more mobile phones perform remote control service based on keyboard mapping and matching through the server.

Description

A kind of tele-control system of mobile communication terminal and method
Technical field
The application relates to the remote access technology of mobile terminal device, more specifically, the present invention relates to a kind of tele-control system and method for mobile communication terminal.Wherein, mobile communication terminal device involved in the present invention includes but not limited to cell-phone, smart phone, portable entertainment device etc.
Background technology
Along with the raising such as the performance of the mobile communication terminal of mobile phone, more and more mobile application emerges at mobile communication terminal, makes that mobile communication terminal is not only the instrument of a voice communication.Simultaneously, all kinds of appearance that are exclusively used in the mobile office application program of mobile phone, mobile phone begins as the office equipment that is similar to notebook, more applications is in the routine work of enterprise, make more and more enterprises be equipped with various smart mobile phones for its employee, various daily office softwares are installed, are come for mobile office.In modern enterprise, the trend of mobile phone development will slowly replace traditional notebook computer, becomes the basic office equipment of enterprise; And because the mobility of mobile phone is used, make mobile phone become the important office equipment that IT department of enterprise needs telemanagement, remote support and remote maintenance.
For example, when the mobile phone of enterprise staff breaks down when going on business, the IT department of enterprise need provide effective support to the employee, perhaps needs between the enterprise staff to support mutually and manage.In addition, because mobile phone is different from the communication function of notebook, how to use mobile phone to carry out remote demonstration, make mobile phone remote assist and control to become a urgent demand.In addition, in enterprise, under the situation that the handset capability height improves, mobile phone not only can carry out all kinds of audio frequency and video communications, how to pass through mobile phone and effectively carries out the internal network meeting and also become a new demand.
In the prior art, telemanagement is a kind of particular form of network service, and telemanagement is the emulation remote terminal that the terminal equipment that the user is using is become a certain distance host that will login thereon.Utilize Telnet, the user can link to each other by the own terminal equipment that uses and the remote equipment of its login, and then manages, safeguards and control hardware resource, software resource and the data resource of this remote equipment.
Along with the arrival in 3G epoch, the use mobile phone carries out the schedule office and access to netwoks becomes convenient and quick.For PC, the technology of carrying out Telnet and maintenance between they are mutual is ripe, for PC, the parameter of its equipment and peripheral hardware and model standardization, the difference that does not have essence, can carry out direct network remote control, and the required use remote control technologies of application such as remote assistance and Web conference are also comparatively ripe.
But, for the mobile phone application facet of enterprise, owing to outward appearance, screen size, keyboard distribution, the resolution of mobile phone, whether touch all differently, how effectively the various mobile phones of enterprise are carried out unified maintenance, become an important challenge day by day.At present, at field of mobile phones effective remote control technology not, if indiscriminately imitate telemanagement technology between the computer, then can run into following serious problem on the mobile phone: 1), can't be in the mobile network locating cellphone; 2), on public network, can't protect user's privacy; 3), be difficult to handle adaptive problem between different mobile phones; 4), can't in the mobile network, effectively transmit data.
Summary of the invention
For overcoming above-mentioned defective of the prior art, the invention provides a kind of tele-control system and method for mobile communication terminal.
According to an aspect of the present invention, provide a kind of long-range control method of mobile phone, having comprised: step 10), utilized virtual private network technology to locate one or more mobile phone; Step 20), on one or more mobile phone, carry out the Long-distance Control service by keyboard map and coupling.
According to another aspect of the present invention, provide a kind of tele-control system of mobile phone, comprising: one or more mobile phone and server; Wherein, one or more mobile phone and server by utilizing VPN(Virtual Private Network) technology are positioned at the local area network (LAN) of forming under the IP address of sharing on the public network; One or more mobile phone carries out the Long-distance Control service by server based on keyboard map and coupling.
The application's system and method can be realized the technology of mobile phone remote control, and this technology can be used for that mobile phone remote is assisted and based on the Web conference of mobile phone, realize an effective mobile phone remote control technology, and customer service efficiently and technical support are provided.By the mobile phone remote control technology, can be effectively the mobile phone of enterprise staff be carried out technical support, reduce maintenance cost.By the mobile phone remote control technology, can realize the telecommunication network meeting based on mobile phone, improve the operating efficiency of enterprise.
Description of drawings
Fig. 1 is to the flow chart of mobile phone end control according to PC end in the tele-control system of the present invention;
The flow chart of Fig. 2 for controlling mutually according to mobile phone end in the tele-control system of the present invention;
Fig. 3 illustrates Nokia mobile phone end generates dummy keyboard at the interface according to the keyboard tabulation schematic diagram.
As shown in the figure, in order clearly to realize structure or the method for embodiments of the invention, specific flow process and application apparatus have been marked in the drawings, but this only needs for signal, be not that intention limits the invention in this specific program and the environment, according to concrete needs, those of ordinary skill in the art can adjust these environment, revise, and the adjustment of carrying out and modification still are included in the scope of accompanying Claim.
Embodiment
Be described in detail below in conjunction with tele-control system and the method for the drawings and specific embodiments to a kind of mobile communication terminal provided by the invention.
In the following description, a plurality of different aspects of the present invention will be described, yet, for those skilled in the art, can only utilize more of the present invention or entire infrastructure or flow process are implemented the present invention.For the definition of explaining, set forth specific number, configuration and order, but clearly, do not had also can to implement the present invention under the situation of these specific detail.In other cases, in order not obscure the present invention, will no longer be described in detail for some well-known features.
Generally speaking, one embodiment of the present of invention provide a kind of tele-control system and method for mobile communication terminal, comprising: step 10), utilize the VPN(Virtual Private Network) technology to locate one or more mobile communication terminal; Step 20), on one or more mobile communication terminal, carry out the Long-distance Control service by keyboard map and coupling.Mobile communication terminal includes but not limited to cell-phone, smart phone, portable entertainment device etc., and the operating system of this mobile communication terminal comprises the various embedded OSs such as Saipan, Android.
Particularly, in step 10), based on the VPN agreement such as L2TP, PPTP or IPSec, arrange the client of VPN at mobile phone.This one or more cell-phone customer terminal and share an independent IP address at public network as the local area network (LAN) that the PC of server is formed, the server of VPN or router are monitored VPN in this IP address and are connected, and the VPN agreement of the server of VPN or router operation must be consistent with cell-phone customer terminal.
Particularly, the PC that is used for assisting the mobile phone remote management connects vpn server or router on the public network by the client on the local area network (LAN) startup PC.After connecting vpn server, this PC has obtained the IP address of a VLAN, and this IP address is exactly this one or more cell-phone customer terminal and the local area network (LAN) formed as the PC of server in the IP address that public network is shared.Wherein, it is consistent with the VPN agreement of PC and cell-phone customer terminal the VPN agreement of the server of VPN or router operation to be set.
Further, on mobile phone, start the VPN client on the mobile phone, be connected to vpn server or router on the public network by mobile network (such as GPRS or 3G).After connecting vpn server, mobile phone has obtained the IP address of a VLAN, and this IP address is exactly this one or more cell-phone customer terminal and the local area network (LAN) formed as the PC of server in the IP address that public network is shared.Thereby the PC and the mobile phone that are used for the control mobile phone are located in the virtual local area network (LAN), and PC just can have access to this one or more mobile phone by VLAN.
In step 20) in, carrying out the Long-distance Control service on the mobile phone or between the mobile phone.Particularly, start remote-control service program on the mobile phone, this remote-control service program is monitored a particular port.This particular port is set according to the difference of agreement, uses idle port numbers to carry out.Be positioned at a VLAN owing to be used for PC and the mobile phone of control, the PC that therefore is used for control can have access to the port of mobile phone.The PC that is used for control sends specific remote control command to this port, thereby realizes the function of Long-distance Control.
Wherein, the function that remote-control service program can realize comprises: by using Socket DLL (dynamic link library) on the corresponding cell phone platform, bind and intercept specific port; Parsing is carried out corresponding remote control command from the remote control command of port.
Wherein, remote control command comprises: mobile phone sends screen content; Mobile phone is carried out keyboard and is clicked order, clicks the mobile phone that order is mainly used in touch-screen.Wherein, at first both sides consult the form of screen content and the form of button.
Wherein, PC sends the request of negotiation to the mobile phone end; Mobile phone end operation remote-control service program returns to PC with self information such as screen size, resolution, and PC is held consultation the screen format of mobile phone end and keyboard format and mated definition; Afterwards, when the screen content of mobile phone end changes or timing scan find content frame not simultaneously, the mobile phone end sends to PC with its screen content; PC is made Keyboard Control according to screen content and is clicked the response of control, will send to this mobile phone end for Keyboard Control or the click event of control mobile phone end, and the mobile phone end is carried out corresponding event handling; PC sends to the mobile phone end with the frame buffer update request, and the mobile phone end returns to PC with the screen response, thereby realizes that PC is to the Long-distance Control service of mobile phone end.
Wherein, remote-control service program comprises: after protocol negotiation is finished, realize the access function to screen cache, the mobile phone screen content is sent to for the PC that controls; Realize the analogue-key of mobile phone and click order at PC, control command is converted to button and click on the real mobile phone; Corresponding form is consulted in the agreement exchange.
Remote-control service program on the mobile phone comprises: bind above-mentioned specific port and monitoring; If the message of receiving is resolved this message; Wherein, if the screen content that the visit mobile phone sends, then access screen buffer memory (Framebuffer) sends to the mobile phone screen content for the PC that controls; As order mobile phone to carry out keyboard and click order, control command is converted to the button on the real mobile phone and clicks order, and then carry out at mobile phone.
Wherein, the PC end sends the request of negotiation, and form is as follows:
Byte number Type Describe
1 U8 Command type (negotiation)
The resolution of the content that the mobile phone end returns such as mobile phone end, the form of pixel and the degree of depth of pixel etc.
Byte number Type Describe
1 U8 Command type (server info)
1 U8 Bits per pixel
1 U8 The degree of depth
1 U8 The size byte flag
2 U16 The mobile phone screen width
2 U16 The mobile phone screen height
1 U8 The form (as RGB, RGBA etc.) of the frame buffer of adopting
1 U8 The compression algorithm that adopts
In order to reduce the network data quantity transmitted, the each screen content that transmits of mobile phone end just transmits the screen content zone inequality of current screen and transmission last time, needs before the transmission simultaneously to compress with compression algorithm earlier.
Wherein, the screen content form is as follows.
Byte number Type Describe
1 U8 Command type (Framebuffer update)
2 U8 The rectangle number
1 U8 Padding
2 U16 Width
2 U16 Highly
2 U16 The position of x-axle
2 U16 The position of y-axle
4 U32 The length of screen subsequent content
Indefinite Actual screen content data
.... ..... .....
2 U16 Width
2 U16 Highly
2 U16 The position of x-axle
2 U16 The position of y-axle
4 U32 The length of screen subsequent content
Indefinite Actual screen content data
" rectangle number " indicates and includes what rectangles that were modified.The data of each rectangle inside comprise: highly, width, x and the position of y and the data of screen content length and screen.In addition, because network error may appear in transmission, sometimes need directly to initiate a request from the PC end, require the mobile phone end to pass the content of frame buffer back.Its form is as follows:
Byte number Type Describe
1 U8 Command type (Framebuffer update request)
2 U16 Width
2 U16 Highly
2 U16 The position of x-axle
2 U16 The position of y-axle
Keyboard and click event are handled by a mobile phone end and are produced, and send to another mobile phone end by PC, are perhaps produced by PC, send to the mobile phone end.Wherein, the form of KeyEvent is as follows:
Byte number Type Describe
1 U8 Command type (key event)
1 U8 Key-press status: press or unclamp
4 U32 The value of button
The form of mouse event is as follows:
Byte number Type Describe
1 U8 Command type (point event)
1 U8 Key-press status: press or unclamp, slide
2 U16 The X position
2 U16 The Y position
Mutual control between mobile phone is controlled cell phone type seemingly with the PC end in the processing of frame buffer.Main difficulty is how to handle keyboard map between different cell phone platforms and key mobile phone to the control of touch-screen mobile phone.Be example with nokia keyboard version mobile phone control android touch-screen mobile phone below, the mutual control that how to realize between mobile phone is described.But be appreciated that mapping of the present invention and mutual control can comprise keyboard type mobile communication terminal and touch-screen class mobile communication terminal.
This control method comprises: define independently key format of a platform, platform independently key format comprises the button of all platform mobile phones at present, and these buttons are encoded; When mobile phone was controlled mutually, after consulting to finish, the stage that increases a keyboard layout negotiation was used for the mutual control of mobile phone, as shown in Figure 2.
Wherein, when a mobile phone end carried out Long-distance Control to another mobile phone end, the first mobile phone end sent to PC with self screen and keyboard format, and PC sends the request of negotiation to the second mobile phone end after these formal definitions are preserved; Second mobile phone end operation remote-control service program returns to PC with self information such as screen size, resolution; The first mobile phone end sends to PC with the keyboard layout order, the second mobile phone end returns to PC with the keyboard tabulation of supporting, PC is held consultation the screen format of the first mobile phone end and the second mobile phone end and keyboard format and is mated definition, generates a dummy keyboard at the first mobile phone end; Afterwards, when the screen content of the second mobile phone end changes or timing scan find content frame not simultaneously, the second mobile phone end sends to PC with its screen content; PC sends to the first mobile phone end with these screen contents, and the first mobile phone end is made Keyboard Control according to screen content and clicked the response of control and send to PC; PC sends to this second mobile phone end with Keyboard Control or the click event that the first mobile phone end is used for the control second mobile phone end, and the second mobile phone end is carried out corresponding event handling; PC sends to the second mobile phone end with the frame buffer update request, and the second mobile phone end returns to the screen response PC and sends the first mobile phone end to, thereby realizes that the first mobile phone end is to the Long-distance Control service of the second mobile phone end.
Wherein, Android mobile phone end returns all keyboard tabulations that it is supported, Nokia mobile phone end generates a dummy keyboard according to the keyboard tabulation at the interface.As following table, the definition of keyboard is shown:
Figure BDA0000051292100000091
Nokia mobile phone end sends the keyboard layout order, and form is as follows:
Byte number Type Describe
1 U8 Keyboard layout order (key event layout)
Android mobile phone end then returns all keyboard tabulations that it is supported, form is as follows:
Byte number Type Describe
1 U8 Keyboard tabulation key list
2 U16 Key numbers
1 U8 Padding
4 U32 0x0100
4 U32 0x0101
4 U32 0x0102
4 U32 0x0103
4 U32 0x0104
4 U32 0x0105
4 U32 0x0106
4 U32 0x0107
4 U32 0x0108
4 U32 0x0109
Nokia mobile phone end generates a dummy keyboard according to the keyboard tabulation at the interface, as shown in Figure 3.The first half of Nokia end screen is used for showing Android end screen content, and the bottom then is the button of dummy keyboard, and the user is by controlling the Android end pressing these buttons.For the simulation of touch event, by ANDROID_KEY_UP, ANDROID_KEY_DOWN, ANDROID_KEY_LEFT, ANDROID_KEY_RIGHT and ANDROID_KEY_OK key are simulated the control to touch-screen.
The control that touch-screen is pressed comprises: in nokia end the first half (part that shows Android end screen content), generate virtual cursor (being superimposed upon on the android screen content) at screen, by coming the mobile virtual cursor by this four buttons up and down, when the user depresses the ANDROID_OK key, the position that the Nokia end obtains virtual cursor, then, generate the event that a mouse presses and send to the android end.The form that sends is as follows:
Byte number Type Describe
1 U8 Command type (point event)
1 U8 Key-press status: press
2 U16 The X position
2 U16 The Y position
The control that touch-screen is slided comprises: when pressing with the head of a household " up and down " or double-click, the Nokia end is obtained the position of current virtual cursor, sends the order of a mouse slip to the Android system.The form that sends is as follows:
Byte number Type Describe
1 U8 Command type (point event)
1 U8 Key-press status: slide
2 U16 The X position
2 U16 The Y position
More than described the realization of mobile phone remote control technology, but above realization is not a realization of effectively optimizing, it does not consider how to protect user's privacy, improves by some following optimization measures.The optimization of remote control technology realizes comprising: protection user's privacy, all transfer of data all need to encrypt.
In addition, the means of optimization comprise: when the cellular service program start, eject one and can list all programs of current operation in the interface for the interface of user's setting, determine those programs to allow Long-distance Control by the user.Before cellular service program resolve command, if the program that does not allow Long-distance Control that the program of current front stage operation is the user to be arranged is not then carried out corresponding order.
In addition, because the GPRS network transmission speed of traditional 2G is slower, thereby make the transmission screen content become bottleneck, influence user's experience.In the optimization that will take on the 2G network: after mobile phone obtains screen content information, reduce the color-values of screen content.For example, if screen color is 32 (true color), then changes 16 and be the transmission of (enhancing look) back, thereby reduce the data volume that transmits.
The screen content of buffer memory last time on the mobile phone, before transmission relatively current screen and last time screen content difference, only transmit the difference content.After PC end obtains, calculate the current screen content according to difference content and the screen content that received last time.All transmission contents all adopt compress technique.
In another embodiment, remote assistance can directly use above-mentioned remote control technology to realize.When the employee of enterprise needed remote assistance, the employee at first was connected to vpn server, notified the IT department of enterprise then, told the IP address of the VLAN of mobile phone.Then, the IT department of enterprise also is connected to vpn server.At last, the employee opens the remote service program on the mobile phone, and the IT department of enterprise just can carry out remote assistance to the mobile phone of enterprise staff.Realize for identical with above-mentioned remote-control service program or similar technology, repeat no more herein.
In yet another embodiment, Web conference also can use above-mentioned remote control technology to realize that the step of realization is as follows: all mobile phones that participate in a conference all connect vpn server; The meeting organizer selects a mobile phone, moves the remote service program in the above, can move on this mobile phone then such as PPT, the such program of blank; Other mobile phone just can also be revised the content of PPT or blank by sending control informations such as button, thereby realize the function of Web conference by sending the screen content information that remote control command obtains PPT or blank.Realize for identical with above-mentioned remote-control service program or similar technology, will repeat no more among this this embodiment.
Though more than can realize might occurring the function of Web conference the user in practice and experience bad situation.Because the resolution of each mobile phone is probably different, thereby causes the display effect of screen content on different mobile phones bad.The solution that the adaptive problem of screen between different mobile phones is taked: increase an acting server, this server also is connected into the VPN network.When mobile phone is connected into the VPN network, simultaneously the resolution of oneself is submitted to acting server.Acting server is noted the resolution of each mobile phone and is distributed a unique ID to give each mobile phone simultaneously.If be connected into the VPN network by the control mobile phone, also need to tell this mobile phone of acting server to be controlled mobile phone.Other mobile phones are to all being transmitted by acting server by the visit of control mobile phone, and being controlled mobile phone is not directly screen content to be issued other mobile phones, but issues acting server.
Afterwards, acting server receives by behind the screen content of control mobile phone, generated corresponding screen content by the screen content of control mobile phone according to the resolution format definition of other mobile phones with current, and associates with ID number of mobile phone.
When other mobile phones will be visited by the screen content of control mobile phone, submit to and give acting server oneself ID number, then, acting server finds the screen content that generates under the corresponding resolution according to this ID number and sends to this mobile phone.Thereby realize an effective mobile phone remote control technology, can be effectively the mobile phone of enterprise staff be carried out technical support, reduce maintenance cost, realize the telecommunication network meeting based on mobile phone, improve the operating efficiency of enterprise.
Wherein, start remote-control service program on the accessed mobile phone, by using Socket DLL (dynamic link library) on the corresponding cell phone platform, bind and intercept specific port; Parsing is carried out corresponding remote control command from the remote control command of port; The PC that is used for control sends specific remote control command to this port, realizes Long-distance Control.Other mobile phone ends send to vpn server with self screen and keyboard format, and vpn server sends the request of negotiation to accessed mobile phone end after these formal definitions are preserved; Accessed mobile phone end operation remote-control service program returns to vpn server with self information such as screen size, resolution; Other mobile phone ends send to vpn server with the keyboard layout order, accessed mobile phone end returns to vpn server with the keyboard tabulation of supporting, vpn server is held consultation the screen format of mobile phone end and keyboard format and is mated definition, and other mobile phone ends generate a dummy keyboard according to the keyboard tabulation at the interface; When the screen content of accessed mobile phone end changes or timing scan find content frame not simultaneously, accessed mobile phone end sends to vpn server with its screen content; Vpn server sends to other mobile phone ends with these screen contents, and other mobile phone ends are made Keyboard Control according to screen content and clicked the response of control and send to vpn server; Vpn server sends to this accessed mobile phone end with Keyboard Control or the click event that other mobile phone ends are used for the accessed mobile phone end of control, and accessed mobile phone end is carried out corresponding event handling.
Wherein, other mobile phone end is bound specific port and is monitored; If the message of receiving is resolved this message; Wherein, if the screen content that accessed mobile phone sends, then the access screen buffer memory sends to vpn server with the mobile phone screen content; As order mobile phone to carry out keyboard and click order, and control command is converted to the button on the real mobile phone and clicks order, carry out at mobile phone.Wherein, the mobile phone end only transmits the screen content zone inequality of transmitting current screen and last time at every turn; Need before the transmission to compress with compression algorithm earlier.
Make the response of Keyboard Control and click control and send to vpn server according to screen content for other mobile phone ends; Wherein for the simulation of touch event, by ANDROID_KEY_UP, ANDROID_KEY_DOWN, ANDROID_KEY_LEFT, ANDROID_KEY_RIGHT and ANDROID_KEY_OK key are simulated the control to touch-screen.The control of pressing for touch-screen, wherein the screen in first mobile phone end the first half generates virtual cursor, by coming the mobile virtual cursor by this four buttons up and down, when the user depresses the ANDROID_OK key, the position that the first mobile phone end obtains virtual cursor, the event that the generation mouse is pressed sends to the second mobile phone end.The control that touch-screen is slided comprises: when pressing with the head of a household " up and down " or double-click, the first mobile phone end is obtained the position of current virtual cursor, sends the order of a mouse slip to the second mobile phone end.
Another embodiment of the present invention provides a kind of tele-control system of mobile communication terminal, and this system comprises one or more mobile communication terminal and server.Wherein, one or more mobile communication terminal and server by utilizing VPN(Virtual Private Network) technology are positioned at the local area network (LAN) formed under the IP address that public network is shared.One or more mobile communication terminal carries out the Long-distance Control service by server based on keyboard map and coupling.Mobile communication terminal includes but not limited to cell-phone, smart phone, portable entertainment device etc., and the operating system of this mobile communication terminal comprises the various embedded OSs such as Saipan, Android.
Particularly, based on the VPN agreement such as L2TP, PPTP or IPSec, arrange the client of VPN at mobile phone.This one or more cell-phone customer terminal and share an independent IP address at public network as the local area network (LAN) that the PC of server is formed, the server of VPN or router are monitored VPN in this IP address and are connected, and the VPN agreement of the server of VPN or router operation must be consistent with cell-phone customer terminal.
Particularly, be used for assisting the PC of mobile phone remote management to be used for connecting vpn server or router on the public network by the client on the local area network (LAN) startup PC.After connecting vpn server, this PC has obtained the IP address of a VLAN, and this IP address is exactly this one or more cell-phone customer terminal and the local area network (LAN) formed as the PC of server in the IP address that public network is shared.Wherein, it is consistent with the VPN agreement of PC and cell-phone customer terminal the VPN agreement of the server of VPN or router operation to be set.
Further, on mobile phone, start the VPN client on the mobile phone, be connected to vpn server or router on the public network by mobile network (such as GPRS or 3G).After connecting vpn server, mobile phone has obtained the IP address of a VLAN, and this IP address is exactly this one or more cell-phone customer terminal and the local area network (LAN) formed as the PC of server in the IP address that public network is shared.Thereby the PC and the mobile phone that are used for the control mobile phone are located in the virtual local area network (LAN), and PC just can have access to this one or more mobile phone by VLAN.
Server is used for carrying out the Long-distance Control service on the mobile phone or between the mobile phone.Particularly, start remote-control service program on the mobile phone, this remote-control service program is monitored a particular port.This particular port is set according to the difference of agreement, uses idle port numbers to carry out.Be positioned at a VLAN owing to be used for PC and the mobile phone of control, the PC that therefore is used for control can have access to the port of mobile phone.The PC that is used for control sends specific remote control command to this port, thereby realizes the function of Long-distance Control.
Wherein, the function that remote-control service program can realize comprises: by using Socket DLL (dynamic link library) on the corresponding cell phone platform, bind and intercept specific port; Parsing is carried out corresponding remote control command from the remote control command of port.
Wherein, remote control command comprises: mobile phone sends screen content; Mobile phone is carried out keyboard and is clicked order, clicks the mobile phone that order is mainly used in touch-screen.Wherein, at first both sides consult the form of screen content and the form of button.
Wherein, PC sends the request of negotiation to the mobile phone end; Mobile phone end operation remote-control service program returns to PC with self information such as screen size, resolution, and PC is held consultation the screen format of mobile phone end and keyboard format and mated definition; Afterwards, when the screen content of mobile phone end changes or timing scan find content frame not simultaneously, the mobile phone end sends to PC with its screen content; PC is made Keyboard Control according to screen content and is clicked the response of control, will send to this mobile phone end for Keyboard Control or the click event of control mobile phone end, and the mobile phone end is carried out corresponding event handling; PC sends to the mobile phone end with the frame buffer update request, and the mobile phone end returns to PC with the screen response, thereby realizes that PC is to the Long-distance Control service of mobile phone end.
Wherein, remote-control service program comprises: after protocol negotiation is finished, realize the access function to screen cache, the mobile phone screen content is sent to for the PC that controls; Realize the analogue-key of mobile phone and click order at PC, control command is converted to button and click on the real mobile phone; Corresponding form is consulted in the agreement exchange.
Remote-control service program on the mobile phone comprises: bind above-mentioned specific port and monitoring; If the message of receiving is resolved this message; Wherein, if the screen content that the visit mobile phone sends, then access screen buffer memory (Framebuffer) sends to the mobile phone screen content for the PC that controls; As order mobile phone to carry out keyboard and click order, control command is converted to the button on the real mobile phone and clicks order, and then carry out at mobile phone.
Wherein, the PC end sends the request of negotiation, and form as mentioned above.The resolution of the content that the mobile phone end returns such as mobile phone end, the form of pixel and the degree of depth of pixel etc., form as mentioned above.In order to reduce the network data quantity transmitted, the each screen content that transmits of mobile phone end just transmits the screen content zone inequality of current screen and transmission last time, needs before the transmission simultaneously to compress with compression algorithm earlier.Wherein, the screen content form similarly, as described above.
In addition, because network error may appear in transmission, sometimes need directly to initiate a request from the PC end, require the mobile phone end to pass the content of frame buffer back.Keyboard and click event are handled by a mobile phone end and are produced, and send to another mobile phone end by PC, are perhaps produced by PC, send to the mobile phone end.
Mutual control between mobile phone is controlled cell phone type seemingly with the PC end in the processing of frame buffer.Main difficulty is how to handle keyboard map between different cell phone platforms and key mobile phone to the control of touch-screen mobile phone.Be example with nokia keyboard version mobile phone control android touch-screen mobile phone below, the mutual control that how to realize between mobile phone is described.But be appreciated that mapping of the present invention and mutual control can comprise keyboard type mobile communication terminal and touch-screen class mobile communication terminal.
This control comprises: define independently key format of a platform, platform independently key format comprises the button of all platform mobile phones at present, and these buttons are encoded; When mobile phone was controlled mutually, after consulting to finish, the stage that increases a keyboard layout negotiation was used for the mutual control of mobile phone, as shown in Figure 2.
Wherein, when a mobile phone end carried out Long-distance Control to another mobile phone end, the first mobile phone end sent to PC with self screen and keyboard format, and PC sends the request of negotiation to the second mobile phone end after these formal definitions are preserved; Second mobile phone end operation remote-control service program returns to PC with self information such as screen size, resolution; The first mobile phone end sends to PC with the keyboard layout order, the second mobile phone end returns to PC with the keyboard tabulation of supporting, PC is held consultation the screen format of the first mobile phone end and the second mobile phone end and keyboard format and is mated definition, generates a dummy keyboard at the first mobile phone end; Afterwards, when the screen content of the second mobile phone end changes or timing scan find content frame not simultaneously, the second mobile phone end sends to PC with its screen content; PC sends to the first mobile phone end with these screen contents, and the first mobile phone end is made Keyboard Control according to screen content and clicked the response of control and send to PC; PC sends to this second mobile phone end with Keyboard Control or the click event that the first mobile phone end is used for the control second mobile phone end, and the second mobile phone end is carried out corresponding event handling; PC sends to the second mobile phone end with the frame buffer update request, and the second mobile phone end returns to the screen response PC and sends the first mobile phone end to, thereby realizes that the first mobile phone end is to the Long-distance Control service of the second mobile phone end.
Wherein, Android mobile phone end returns all keyboard tabulations that it is supported, Nokia mobile phone end generates a dummy keyboard according to the keyboard tabulation at the interface.Nokia mobile phone end sends the keyboard layout order.Android mobile phone end then returns all keyboard tabulations that it is supported.Nokia mobile phone end generates a dummy keyboard according to the keyboard tabulation at the interface, as shown in Figure 3.The first half of Nokia end screen is used for showing Android end screen content, and the bottom then is the button of dummy keyboard, and the user is by controlling the Android end pressing these buttons.For the simulation of touch event, by ANDROID_KEY_UP, ANDROID_KEY_DOWN, ANDROID_KEY_LEFT, ANDROID_KEY_RIGHT and ANDROID_KEY_OK key are simulated the control to touch-screen.
The control that touch-screen is pressed comprises: in nokia end the first half (part that shows Android end screen content), generate virtual cursor (being superimposed upon on the android screen content) at screen, by coming the mobile virtual cursor by this four buttons up and down, when the user depresses the ANDROID_OK key, the position that the Nokia end obtains virtual cursor, then, generate the event that a mouse presses and send to the android end.
The control that touch-screen is slided comprises: when pressing with the head of a household " up and down " or double-click, the Nokia end is obtained the position of current virtual cursor, sends the order of a mouse slip to the Android system.More than described the realization of mobile phone remote control technology, but above realization is not a realization of effectively optimizing, it does not consider how to protect user's privacy, improves by some following optimization measures.The optimization of remote control technology realizes comprising: protection user's privacy, all transfer of data all need to encrypt.
In addition, the means of optimization comprise: when the cellular service program start, eject one and can list all programs of current operation in the interface for the interface of user's setting, determine those programs to allow Long-distance Control by the user.Before cellular service program resolve command, if the program that does not allow Long-distance Control that the program of current front stage operation is the user to be arranged is not then carried out corresponding order.
In addition, because the GPRS network transmission speed of traditional 2G is slower, thereby make the transmission screen content become bottleneck, influence user's experience.In the optimization that will take on the 2G network: after mobile phone obtains screen content information, reduce the color-values of screen content.For example, if screen color is 32 (true color), then changes 16 and be the transmission of (enhancing look) back, thereby reduce the data volume that transmits.
The screen content of buffer memory last time on the mobile phone, before transmission relatively current screen and last time screen content difference, only transmit the difference content.After PC end obtains, calculate the current screen content according to difference content and the screen content that received last time.All transmission contents all adopt compress technique.
It should be noted that at last, above embodiment is only in order to describe technical scheme of the present invention rather than the present technique method is limited, the present invention can extend to other modification, variation, application and embodiment on using, and therefore thinks that all such modifications, variation, application, embodiment are in spirit of the present invention and teachings.

Claims (18)

1. the long-range control method of a mobile phone comprises:
Step 10), utilize virtual private network technology to locate one or more mobile phone;
Step 20), on one or more mobile phone, carry out the Long-distance Control service by keyboard map and coupling;
Wherein, in step 20) in, the mobile phone end starts remote-control service program, by using Socket DLL (dynamic link library) on the corresponding cell phone platform, binds and intercept specific port; Parsing is carried out corresponding remote control command from the remote control command of port; The PC that is used for control sends specific remote control command to this port, realizes Long-distance Control;
Wherein, step 20) further comprise:
Step 210), PC send to consult request to the mobile phone end, the mobile phone end returns to PC with self screen size information, resolution information, PC is held consultation the screen format of mobile phone end and keyboard format and is mated definition;
Step 220), when the screen content of mobile phone end changes or timing scan find content frame not simultaneously, the mobile phone end sends to PC with its screen content;
Step 230), PC makes Keyboard Control according to screen content and clicks the response of control, Keyboard Control or the click event that will be used for controlling the mobile phone end send to this mobile phone end, the mobile phone end is carried out corresponding event handling;
Step 240), PC sends to the mobile phone end with the frame buffer update request, the mobile phone end returns to PC with the screen response, realizes that PC is to the Long-distance Control service of mobile phone end.
2. the described method of claim 1 wherein, in step 10), based on L2TP, PPTP or ipsec protocol, is arranged the client of VPN at mobile phone; This one or more mobile phone and share an independent IP address at public network as the local area network (LAN) that the PC of server is formed, vpn server or router are monitored VPN in this IP address and are connected.
3. the described method of claim 2, wherein, in the step 10), PC starts VPN client on the PC by local area network (LAN), connects vpn server or router on the public network, connects this PC behind the vpn server and obtains the IP address of sharing at public network;
After the handset starting VPN client, be connected to vpn server or router on the public network by the mobile network, obtain the IP address of sharing on the public network.
4. the described method of claim 1, wherein, step 230) also comprise: PC is consulted corresponding form, and the button of analogue mobile phone and click order is converted to button and click on the real mobile phone with control command.
5. the described method of claim 1, wherein, step 210) also comprise: bind above-mentioned specific port and monitor; The message that parsing listens to; Wherein, if the screen content that the visit mobile phone sends, then the access screen buffer memory sends to the mobile phone screen content for the PC that controls; As order mobile phone to carry out keyboard and click order, and control command is converted to the button on the real mobile phone and clicks order, carry out at mobile phone.
6. the described method of claim 1, wherein, step 220) also comprise: the mobile phone end only transmits the screen content zone inequality of transmitting current screen and last time at every turn; Use the compression algorithm compression before the transmission earlier.
7. the described method of claim 1 also comprises the Long-distance Control between mobile phone, comprising: the definition platform is key format independently, and these buttons are encoded; When mobile phone is controlled mutually, carry out the negotiation of keyboard layout.
8. the described method of claim 7, step 20) also comprise:
Step 2100), the first mobile phone end sends to PC with self screen and keyboard format, PC sends the request of negotiation to the second mobile phone end after these formal definitions are preserved; Second mobile phone end operation remote-control service program returns to PC with self screen size information, resolution information;
Step 2200), the first mobile phone end sends to PC with the keyboard layout order, the second mobile phone end returns to PC with the keyboard tabulation of supporting, PC is held consultation the screen format of the first mobile phone end and the second mobile phone end and keyboard format and is mated definition, and the first mobile phone end generates a dummy keyboard according to the keyboard tabulation of the second mobile phone end at the interface;
Step 2300), when the screen content of the second mobile phone end changes or timing scan find content frame not simultaneously, the second mobile phone end sends to PC with its screen content; PC sends to the first mobile phone end with these screen contents, and the first mobile phone end is made Keyboard Control according to screen content and clicked the response of control and send to PC;
Step 2400), PC sends to this second mobile phone end with Keyboard Control or the click event that the first mobile phone end is used for the control second mobile phone end, the second mobile phone end is carried out corresponding event handling; PC sends to the second mobile phone end with the frame buffer update request, and the second mobile phone end returns to the screen response PC and sends the first mobile phone end to, realizes that the first mobile phone end is to the Long-distance Control service of the second mobile phone end.
9. the described method of claim 8, wherein, step 2400) also comprise: for the simulation of touch event, pass through ANDROID_KEY_UP, ANDROID_KEY_DOWN, ANDROID_KEY_LEFT, ANDROID_KEY_RIGHT and ANDROID_KEY_OK key are simulated the control to touch-screen.
10. the described method of claim 8, wherein, step 2400) also comprises: the control of pressing for touch-screen, wherein the screen in first mobile phone end the first half generates virtual cursor, by coming the mobile virtual cursor by this four buttons up and down, the position that the first mobile phone end obtains virtual cursor, the event that the generation mouse is pressed sends to the second mobile phone end.
11. the described method of claim 8, wherein, step 2400) also comprise: for the control of touch-screen slip, when pressing with the head of a household " up and down " or double-click, the first mobile phone end is obtained the position of current virtual cursor, sends the order of mouse slip to the second mobile phone end.
12. the described method of one of them of claim 1-11, wherein, when the cellular service program start, ejection can be listed all programs of current operation for the interface of user's setting in the interface, determined to allow the program of Long-distance Control by the user.
13. the described method of one of them of claim 1-11, wherein, for the 2G network, obtain screen content information on the mobile phone after, transmit after reducing the color-values of screen content.
14. the described method of one of them of claim 1-11, wherein, this method is applied to include but not limited to smart phone, portable entertainment device, and the operating system of this mobile phone comprises Saipan or Android embedded OS.
15. the tele-control system of a mobile phone comprises: one or more mobile phone and server; Wherein, one or more mobile phone and server by utilizing VPN(Virtual Private Network) technology are positioned at the local area network (LAN) of forming under the IP address of sharing on the public network; One or more mobile phone carries out the Long-distance Control service by server based on keyboard map and coupling;
Wherein, specific port is bound and intercepted to the mobile phone end by using Socket DLL (dynamic link library) on the corresponding cell phone platform; Parsing is carried out corresponding remote control command from the remote control command of port; The PC that is used for control sends specific remote control command to this port, realizes Long-distance Control;
Wherein, PC send to consult request to the mobile phone end, and mobile phone end operation remote-control service program returns to PC with self screen size information, resolution information, and PC is held consultation the screen format of mobile phone end and keyboard format and mated definition;
When the screen content of mobile phone end changes or timing scan find content frame not simultaneously, the mobile phone end sends to PC with its screen content;
PC is made Keyboard Control according to screen content and is clicked the response of control, will send to this mobile phone end for Keyboard Control or the click event of control mobile phone end, and the mobile phone end is carried out corresponding event handling;
PC sends to the mobile phone end with the frame buffer update request, and the mobile phone end returns to PC with the screen response, realizes that PC is to the Long-distance Control service of mobile phone end.
16. the described system of claim 15, wherein, mobile phone is arranged as the client of VPN based on L2TP, PPTP or ipsec protocol; This one or more mobile phone end and share an independent IP address at public network as the local area network (LAN) that the PC of server is formed, vpn server or router are monitored VPN in this IP address and are connected.
17. the described system of claim 16, wherein, PC connects vpn server or router on the public network by the VPN client on the local area network (LAN) startup PC, obtains the IP address of sharing at public network; The mobile phone end starts the VPN client, is connected to vpn server or router on the public network by the mobile network, obtains the IP address of sharing on the public network.
18. the described system of claim 16, wherein, for the simulation of touch event, pass through ANDROID_KEY_UP, ANDROID_KEY_DOWN, ANDROID_KEY_LEFT, ANDROID_KEY_RIGHT and ANDROID_KEY_OK key are simulated the control to touch-screen;
The control of pressing for touch-screen, wherein the screen in first mobile phone end the first half generates virtual cursor, by coming the mobile virtual cursor by this four buttons up and down, the position that the first mobile phone end obtains virtual cursor generates the event that mouse presses and sends to the second mobile phone end;
For the control of touch-screen slip, when pressing with the head of a household " up and down " or double-click, the first mobile phone end is obtained the position of current virtual cursor, sends the order of a mouse slip to the second mobile phone end.
CN201110068088.7A 2011-03-21 2011-03-21 Remote control system and method of mobile communication terminal Active CN102131001B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110068088.7A CN102131001B (en) 2011-03-21 2011-03-21 Remote control system and method of mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110068088.7A CN102131001B (en) 2011-03-21 2011-03-21 Remote control system and method of mobile communication terminal

Publications (2)

Publication Number Publication Date
CN102131001A CN102131001A (en) 2011-07-20
CN102131001B true CN102131001B (en) 2013-10-09

Family

ID=44268888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110068088.7A Active CN102131001B (en) 2011-03-21 2011-03-21 Remote control system and method of mobile communication terminal

Country Status (1)

Country Link
CN (1) CN102131001B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932807B (en) * 2011-08-08 2017-03-22 中兴通讯股份有限公司 Mobile terminal and method for remotely playing operation scene in real time by using same
CN102307229A (en) * 2011-08-17 2012-01-04 北京百纳威尔科技有限公司 Wireless communication method and system, mobile terminal (MT) and computer
CN102541795A (en) * 2012-01-09 2012-07-04 南京航空航天大学 Method and system for USB (universal serial bus) dynamic real-time control based on Android system
CN103327382A (en) * 2012-03-19 2013-09-25 莱福科技(中国)有限公司 Picture far-end control method
CN103324424B (en) * 2012-03-23 2016-03-16 百度在线网络技术(北京)有限公司 A kind of method and system of remote simulation multi-point touch
CN103327055A (en) * 2012-03-23 2013-09-25 百度在线网络技术(北京)有限公司 Method and system for controlling long-distance cell phone
CN102664939A (en) * 2012-04-13 2012-09-12 江苏诚迈科技有限公司 Method and device for mobile terminal of screen mirror image
CN103376975A (en) * 2012-04-23 2013-10-30 联想(北京)有限公司 Control method and device and mobile communication terminal
CN103793321B (en) * 2012-11-01 2017-11-21 腾讯科技(深圳)有限公司 application program detection method and system
CN104220976B (en) * 2013-03-11 2018-07-20 华为技术有限公司 The soft keyboard implementation method and terminal of terminal
CN103365441B (en) * 2013-06-24 2016-05-04 百度时代网络技术(北京)有限公司 The method of computer terminal Long-distance Control Android mobile phone desktop
CN105094633A (en) * 2014-05-14 2015-11-25 小米科技有限责任公司 Method and device for transmitting control instruction
CN104486665A (en) * 2014-12-31 2015-04-01 乐视致新电子科技(天津)有限公司 Remote assistance method and device of mobile terminal
CN105094839A (en) * 2015-08-14 2015-11-25 深圳市众联悠游科技有限公司 Method for achieving running of Android system applications based on PC machine
CN106533703A (en) * 2016-12-08 2017-03-22 武汉斗鱼网络科技有限公司 Method and system for remotely controlling startup of application program
CN109375786B (en) * 2018-10-09 2022-08-05 上海达龙信息科技有限公司 Method and system for controlling remote PC desktop based on physical keyboard and mouse equipment
CN110430559A (en) * 2019-07-08 2019-11-08 深圳市优博讯科技股份有限公司 The localization method of intelligent terminal, system and communication equipment under private network environment
CN110601986A (en) * 2019-08-02 2019-12-20 广州市高科通信技术股份有限公司 Router supporting peripheral control over mobile terminal equipment, control method and device
CN111756855B (en) * 2020-06-30 2023-06-20 北京来也网络科技有限公司 Remote control system, method, medium and computing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026470A (en) * 2006-01-16 2007-08-29 诺基亚公司 Remote access to local network
CN101159970A (en) * 2007-09-19 2008-04-09 Tcl天一移动通信(深圳)有限公司 Handset remote controlled method
CN101202766A (en) * 2006-12-11 2008-06-18 三星电子株式会社 Remote control system and method for portable terminals

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI258097B (en) * 2004-11-23 2006-07-11 Mitac Technology Corp Interactive touch-control remote control device and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026470A (en) * 2006-01-16 2007-08-29 诺基亚公司 Remote access to local network
CN101202766A (en) * 2006-12-11 2008-06-18 三星电子株式会社 Remote control system and method for portable terminals
CN101159970A (en) * 2007-09-19 2008-04-09 Tcl天一移动通信(深圳)有限公司 Handset remote controlled method

Also Published As

Publication number Publication date
CN102131001A (en) 2011-07-20

Similar Documents

Publication Publication Date Title
CN102131001B (en) Remote control system and method of mobile communication terminal
CN102118397B (en) Teleconference communication method and system based on mobile phones
TWI244295B (en) Method and system for simulating multiple independent client devices in a wired or wireless network
CN101651743B (en) Remote desktop access system facing to mobilephone terminal user
CN104023050B (en) Equipment collaboration Multi-screen interaction system and its method under a kind of equipment cloud environment
CN102770870B (en) Dedicated network file server
CN102202289B (en) Method and system for remote calling software and hardware resources through mobile terminal
US20220210485A1 (en) Method for managing network live streaming data and related apparatus, and device and storage medium
CN102833338B (en) The remote desktop display method of sing on web
WO2012151784A1 (en) Remote desktop implementation method and system between mobile terminals
CN109150568A (en) A kind of network management, device, system, equipment and storage medium
JP2000289583A (en) Method and system for executing vehicle diagnosis
CN104394191A (en) Method, control terminal, and system for remotely controlling mobile terminal
CN101588366B (en) System and method for accessing enterprise information system based on SaaS
CN102413128A (en) Method for sharing electronic whiteboard and network conference system
CN102821150A (en) Cloud server and application managing method based on same
CN109104416B (en) Multi-device cooperation cloud service platform based on PON (Passive optical network) local area network
CN103236967A (en) Message-based real-time cooperative office system
CN101820630A (en) Method and equipment for remotely operating computer through wireless terminal
CN103812900A (en) Data synchronization method, device and system
US20150358428A1 (en) Information processing system, information processing method, information processing apparatus, and control methods and control programs thereof
CN108616643A (en) The method, apparatus and system of mobile phone are controlled by computing device
US20080270512A1 (en) Virtual network projection system supporting multiple projection sources and method thereof
CN107770219A (en) A kind of sharing method, gateway server and the system of form window
CN102137035A (en) Method and system for realizing group information interaction based on community platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Han Zhigang

Inventor after: Chen Biao

Inventor before: Chen Biao

COR Change of bibliographic data
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100027 Sanlitun, No. 8, No. 8 North Road North Road, worker's Stadium, Beijing City, Beijing 1907

Patentee after: Beijing Bang Bang Safety Technology Co. Ltd.

Address before: 100027 Sanlitun, No. 8, No. 8 North Road North Road, worker's Stadium, Beijing City, Beijing 1907

Patentee before: Yangpuweiye Technology Limited