The remote controlled unlocking method of a kind of mobile device in the RCP communication process
Technical field
The present invention relates to the remote controlled unlocking method of a kind of mobile device in the RCP communication process.
Background technology
The televisor that occurs is in the market supported the MHL function more and more.MHL is the abbreviation of Mobile High-Definition Link, translates into portable terminal high-definition audio and video standard interface, is a kind of audio-visual standard interface that connects portable consumer electronic device.MHL only uses a bars cable, can be presented on HDTV or the high definition projector by standard HDMI input interface.It has used existing Micro USB interface, no matter be mobile phone, digital camera, digital camera and portable media player, all can directly be transferred to complete media content in TV or the projector and do not damage the effect of high-resolution video.Utilize this function the image on the electronic equipments such as mobile phone can be presented in TV or the projector, and can be by the content of RCP remote control demonstration.
The full name of RCP is Remote Control protocol, i.e. remote control protocol, the technology of remote controlled device being controlled by communication medium.Utilize this technology can realize controlling by TV remote controller selection and the broadcast of mobile phone content, user-friendly.But, because present mobile electronic device adopts touch screen structure more and more, often needs to arrange the screen locking program and avoid maloperation, and slip release action is generally only supported in the release of screen.And existing TV remote controller is generally the button structure, when being undertaken by TV remote controller in the process of mobile phone release, because most mobile phones are just supported the slip release usually, do not support button to click release, therefore exist can't remote controlled unlocking problem, can only implement unlocking operation to mobile phone itself, can not take full advantage of long-range remote control function.
Summary of the invention
In order to overcome the weak point of the prior art of above-mentioned indication, the invention provides the remote controlled unlocking method of a kind of mobile device in the RCP communication process, with solve in mobile device and the RCP communication process that external connection display equipment MHL is connected can't remote controlled unlocking problem, realize the purpose of correct release, quick release.
The present invention is achieved by the following technical solutions:
The remote controlled unlocking method of a kind of mobile device in the RCP communication process, described mobile device has touch-screen and supports the MHL technology, be connected with the standard HDMI port of external connection display equipment by cable, and set up RCP with the telechiric device of external connection display equipment and communicate by letter, the remote controlled unlocking method in the described RCP communication process may further comprise the steps:
A, obtain the resolution information of touch-screen, touch screen zone on average is divided into several subregions, record the coordinate range of every sub regions, and set up specified button on the telechiric device and the one by one mapping relations of these several subregions;
B, normally connect as MHL, and mobile device is when showing the release interface that external connection display equipment is passed to mobile device by standard HDMI port with signal after receiving and identifying the push button signalling that telechiric device sends, this is the RCP releasing process;
C, in the RCP releasing process, after mobile device receives effective push button signalling that external connection display equipment detects, successively this push button signalling is mapped to the corresponding subregion of touch-screen, consist of the release path of key-press input;
Whether the subregion that d, described mobile device shine upon among the determining step c successively is complementary with default release path.
Further, described step a on average is divided into nine sub regions with touch screen zone, and sets up digital keys 1-9 on the telechiric device and the one by one mapping relations of this nine sub regions.
Effective push button signalling among the described step c is the arbitrary significant figure push button signalling among the 1-9.
When mobile device receives the first effectively push button signalling that external connection display equipment detects, this push button signalling is mapped to the corresponding subregion of touch-screen successively, as the initiation region among the step c; When mobile device receives other effective push button signallings that external connection display equipment detects, this push button signalling is mapped to the corresponding subregion of touch-screen successively, as process area; Described initiation region and process area consist of the release path of key-press input.
Described steps d further comprises: when does not mate in the initiation region of the first push button signalling mapping and default release path, return step c and again identify the first push button signalling; When the process area of other push button signallings mapping did not mate with default release path, whether detection received return signal, if then return step c and again identify the first push button signalling, otherwise ignore this push button signalling and return step c and identify next push button signalling; When the release path of key-press input and default release route matching, release is complete.
When the push button signalling that receives when mobile device among the described step c is push button signalling beyond the digital keys 1-9, ignores this push button signalling and remove record.
This method also comprises the push button signalling time interval threshold values that the match is successful among the described step c is set, when described mobile device from receiving the push button signalling that external connection display equipment detects and after the match is successful, in this time interval threshold values, do not receive another push button signalling that external connection display equipment detects and the match is successful, then return step c and again identify the first push button signalling.
In the present invention, described mobile device is to pass through mobile phone or the portable media player that standard USB interface or Micro USB interface or Mini USB interface are connected with external connection display equipment MHL.
Described external connection display equipment is HDTV or the high definition projector with standard HDMI port.
The present invention is directed in mobile device and the RCP communication process that external connection display equipment MHL is connected can't remote controlled unlocking problem, provide a kind of method of release, to realize the purpose of correct release, quick release.Use the present invention, the user in releasing process, can be efficiently and easily button by the telepilot process of coming simulate to be touched, if meet the release path, then smoothly release reaches the purpose of release, convenient user's operation provides more superior man-machine interaction to experience.
Description of drawings
Accompanying drawing 1 is the realization flow synoptic diagram of the remote controlled unlocking method of mobile device in the RCP communication process of the embodiment of the invention;
Accompanying drawing 2 is that synoptic diagram is divided in the zone of touch-screen of the mobile device of the embodiment of the invention;
Accompanying drawing 3 is digital keys on the telechiric device of the embodiment of the invention and the one by one mapping relations synoptic diagram of mobile device touch-screen subregion.
Embodiment
The invention discloses the remote controlled unlocking method of a kind of mobile device in the RCP communication process, described mobile device has touch-screen and supports the MHL technology, be connected with the standard HDMI port of external connection display equipment by cable, and set up RCP with the telechiric device of external connection display equipment and communicate by letter, the remote controlled unlocking method in the described RCP communication process comprises:
A, obtain the resolution information of touch-screen, touch screen zone on average is divided into several subregions, record the coordinate range of every sub regions, and set up specified button on the telechiric device and the one by one mapping relations of these several subregions;
B, normally connect as MHL, and mobile device is when showing the release interface that external connection display equipment is passed to mobile device by standard HDMI port with signal after receiving and identifying the push button signalling that telechiric device sends, this is the RCP releasing process;
C, in the RCP releasing process, after mobile device receives effective push button signalling that external connection display equipment detects, successively this push button signalling is mapped to the corresponding subregion of touch-screen, consist of the release path of key-press input;
Whether the subregion that d, described mobile device shine upon among the determining step c successively is complementary with default release path.
For the ease of those skilled in the art's understanding, the invention will be further described below in conjunction with drawings and Examples.In the present embodiment, as shown in Figure 1, the remote controlled unlocking method in the described RCP communication process may further comprise the steps:
Step 001, obtain the resolution information of touch-screen;
Step 002, touch screen zone on average is divided into nine sub regions, records the coordinate range of every sub regions, and set up digital keys 1-9 on the telechiric device and the one by one mapping relations of this nine sub regions;
Step 003, normally connect as MHL, when mobile device showed the release interface, the user was by telechiric device input key signal;
After step 004, external connection display equipment receive and identify push button signalling, by standard HDMI port signal is passed to mobile device;
Step 005, receive the first significant figure push button signalling when mobile device, this push button signalling is mapped to the corresponding subregion of touch-screen, as the initiation region;
Step 006, judge the mapping of the first push button signalling this initiation region whether with default release route matching, if coupling then changes step 007 over to, receive other significant figure push button signallings, again identify the first push button signalling otherwise return step 005;
Step 007, when mobile device receives other effective push button signallings that external connection display equipment detects, this push button signalling is mapped to the corresponding subregion of touch-screen successively, as process area;
Step 008, judge the mapping of other push button signallings this process area whether with default release route matching, if coupling then enters step 010, otherwise change step 009 over to;
Whether step 009, detection receive return signal, when receiving return signal, return step 005 and again identify the first push button signalling; Otherwise ignore and remove this push button signalling and return next push button signalling of step 007 identification;
When the release path of step 010, the key-press input that consists of when described initiation region and process area and default release path were complementary, release was complete.
In preferred embodiment of the present invention, this method also comprises the described push button signalling time interval threshold values that the match is successful is set, described mobile device surpasses this time interval threshold values from a push button signalling is when the match is successful, then return step 005 and again identify the first push button signalling.Specifically, when described mobile device from receiving the push button signalling that external connection display equipment detects and after the match is successful, within the time interval that limits, do not receive another push button signalling that external connection display equipment detects and the match is successful, then return step 005 and again identify the first push button signalling.
In the present embodiment, described effective push button signalling adopts the arbitrary significant figure push button signalling among the 1-9.When the push button signalling that receives when mobile device is push button signalling beyond the digital keys 1-9, ignores this push button signalling and remove record.As shown in Figure 2, maximum coordinates value according to touch-screen, it is resolution information, touch screen zone on average is divided into A-Z nine sub regions, record the coordinate range of every sub regions, and set up digital keys 1-9 on the telechiric device and the one by one mapping relations of this nine sub regions of A-Z, as shown in Figure 3.The release zone of existing a lot of touch-screen mobile phones is the touch-screen lower end, adopt slip release action from left to right, when the mobile phone of using this kind unlocking manner carries out the MHL connection, the remote controller key unlock method that the user adopts should be to input successively 7,8,9 these three digital keys in time interval threshold values, these three digital keys map to respectively G, H, this three sub regions of I of touch-screen successively, thereby simulate slip release action from left to right, with default release path from left to right, touch-screen lower end to coupling, realize release.
In the present invention, described mobile device is to pass through mobile phone or portable media player or other mobile electronic devices that standard USB interface or Micro USB interface or Mini USB interface are connected with external connection display equipment MHL.Described external connection display equipment is with the HDTV of standard HDMI port or high definition projector or other display device.
Above content is the further description of the present invention being done in conjunction with concrete optimal way, should not assert that implementation of the present invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, can also make some simple deduction or replace, within the protection domain that the claim that all should be considered as being submitted to by the present invention is determined.