The remote controlled unlocking method of a kind of mobile device in RCP communication process
Technical field
The present invention relates to the remote controlled unlocking method of a kind of mobile device in RCP communication process.
Background technology
MHL function supported more and more by the televisor occurred in the market.MHL is the abbreviation of Mobile High-Definition Link, translates into mobile terminal high-definition audio and video standard interface, is a kind of audio-visual standard interface connecting portable consumer electronic device.MHL only uses a bars cable, can be presented in HDTV or 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 complete media content directly can be transferred in TV or 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 projector, and by RCP remote control display content.
The full name of RCP is Remote Control protocol, i.e. remote control protocol, the technology controlled remote controlled device by communication medium.Utilize this technology can realize being controlled by TV remote controller selection and the broadcasting of handset content, user-friendly.But, because present mobile electronic device adopts touch screen structure more and more, often need to arrange screen locking program to avoid maloperation, and the unblock of screen generally only supports slip unlocking motion.And existing TV remote controller is generally button structure, when being undertaken in the process of mobile phone unblock by TV remote controller, because most mobile phone is just supported to slide to unlock usually, do not support that button is clicked to unlock, therefore existing cannot the problem of remote controlled unlocking, unlocking operation can only be implemented to mobile phone itself, can not long-range remote control function be made full use of.
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 RCP communication process, cannot the problem of remote controlled unlocking to solve in RCP communication process that mobile device is connected with external connection display equipment MHL, realize correctly unlocking, the object of quick release.
The present invention is achieved by the following technical solutions:
The remote controlled unlocking method of a kind of mobile device in RCP communication process, described mobile device has touch-screen and supports 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, the remote controlled unlocking method in described RCP communication process comprises the following steps:
The resolution information of a, acquisition touch-screen, is on average divided into several subregions by touch screen zone, records the coordinate range of every sub regions, and the mapping relations one by one of the specified button set up on telechiric device and these several subregions;
B, normally to connect as MHL, and during mobile device display unlock interface, after external connection display equipment receives and identifies the push button signalling that telechiric device sends, by standard HDMI port by signal transmission to mobile device, this is RCP releasing process;
C, in RCP releasing process, this push button signalling is mapped to the corresponding subregion of touch-screen, forms the unblock path of key-press input after receiving effective push button signalling that external connection display equipment detects by mobile device successively;
Whether the subregion that d, described mobile device map in determining step c successively matches with default unblock path.
Further, touch screen zone is on average divided into nine sub regions by described step a, and the mapping relations one by one of the digital keys 1-9 set up on telechiric device and this nine sub regions.
Effective push button signalling in described step c is the arbitrary significant figure push button signalling in 1-9.
In step c when mobile device receives the effective push button signalling in first place that external connection display equipment detects, this push button signalling is mapped to successively the corresponding subregion of touch-screen, as initiation region; When mobile device receives other effective push button signallings of external connection display equipment detection, this push button signalling is mapped to successively the corresponding subregion of touch-screen, as process area; Described initiation region and process area form the unblock path of key-press input.
Described steps d comprises further: when the initiation region that the first push button signalling maps with preset unlock path do not mate time, return step c and again identify the first push button signalling; When the process area that other push button signallings map with preset unlocks path do not mate time, whether detection receives return signal, if so, then returns step c and again identifies the first push button signalling, otherwise ignores this push button signalling and return step c and identify next push button signalling; When key-press input unblock path with preset unlock route matching time, unlock complete.
In described step c when the push button signalling that mobile device receives is the push button signalling beyond digital keys 1-9, ignore this push button signalling and remove record.
This method also comprises and arranges the time interval threshold values that the match is successful of push button signalling in described step c, after when described mobile device, from the push button signalling receiving external connection display equipment detection, also the match is successful, in this time interval threshold values, do not receive external connection display equipment detect another push button signalling 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 the mobile phone or portable media player that are connected with external connection display equipment MHL by standard USB interface or Micro USB interface or Mini USB interface.
Described external connection display equipment is HDTV or the high definition projector of band standard HDMI port.
The present invention is directed in the RCP communication process that mobile device is connected with external connection display equipment MHL cannot the problem of remote controlled unlocking, provides a kind of method of unblock, to realize the object of correct unblock, quick release.Use the present invention, user, in releasing process, can carry out by the button of telepilot the process that simulate is touched efficiently and easily, unlock path if meet, then can unlock smoothly, reach the object of unblock, convenient user operation, provides more superior man-machine interaction experience.
Accompanying drawing explanation
Accompanying drawing 1 is the realization flow schematic diagram of the remote controlled unlocking method of mobile device in RCP communication process of the embodiment of the present invention;
Accompanying drawing 2 is the Region dividing schematic diagram of the touch-screen of the mobile device of the embodiment of the present invention;
Accompanying drawing 3 is the schematic diagram of mapping relations one by one of digital keys on the telechiric device of the embodiment of the present invention and mobile device touch-screen subregion.
Embodiment
The invention discloses the remote controlled unlocking method of a kind of mobile device in RCP communication process, described mobile device has touch-screen and supports 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, the remote controlled unlocking method in described RCP communication process comprises:
The resolution information of a, acquisition touch-screen, is on average divided into several subregions by touch screen zone, records the coordinate range of every sub regions, and the mapping relations one by one of the specified button set up on telechiric device and these several subregions;
B, normally to connect as MHL, and during mobile device display unlock interface, after external connection display equipment receives and identifies the push button signalling that telechiric device sends, by standard HDMI port by signal transmission to mobile device, this is RCP releasing process;
C, in RCP releasing process, this push button signalling is mapped to the corresponding subregion of touch-screen, forms the unblock path of key-press input after receiving effective push button signalling that external connection display equipment detects by mobile device successively;
Whether the subregion that d, described mobile device map in determining step c successively matches with default unblock path.
For the ease of the understanding of those skilled in the art, below in conjunction with drawings and Examples, the invention will be further described.In the present embodiment, as shown in Figure 1, the remote controlled unlocking method in described RCP communication process comprises the following steps:
The resolution information of step 001, acquisition touch-screen;
Step 002, touch screen zone is on average divided into nine sub regions, records the coordinate range of every sub regions, and the mapping relations one by one of the digital keys 1-9 set up on telechiric device and this nine sub regions;
Step 003, normally connect as MHL, during mobile device display unlock interface, user is by telechiric device input key signal;
After step 004, external connection display equipment receive and identify push button signalling, by standard HDMI port by signal transmission to mobile device;
Step 005, when mobile device receives the first significant figure push button signalling, this push button signalling is mapped to the corresponding subregion of touch-screen, as initiation region;
Step 006, judge this initiation region that the first push button signalling maps whether with default unblock route matching, if coupling, then proceed to step 007, receive other significant figure push button signallings, otherwise return step 005 and again identify the first push button signalling;
Step 007, when mobile device receive external connection display equipment detect other effective push button signallings time, this push button signalling is mapped to successively the corresponding subregion of touch-screen, as process area;
Step 008, judge this process area that other push button signallings map whether with default unblock route matching, if coupling, enter step 010, otherwise proceed to step 009;
Whether step 009, detection receive return signal, when receiving return signal, returning step 005 and again identifying the first push button signalling; Otherwise ignore and remove this push button signalling and return step 007 and identify next push button signalling;
Step 010, when the key-press input that described initiation region and process area are formed unblock path with preset unlock path match time, unlock complete.
In the preferred embodiment, this method also comprises and arranges the described push button signalling time interval threshold values that the match is successful, described mobile device the match is successful from a push button signalling, exceedes this time interval threshold values, then returns step 005 and again identify the first push button signalling.Specifically, after when described mobile device, from the push button signalling receiving external connection display equipment detection, also the match is successful, limit the time interval in, do not receive external connection display equipment detect another push button signalling 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 in 1-9.When the push button signalling that mobile device receives is the push button signalling beyond digital keys 1-9, ignores this push button signalling and remove record.As shown in Figure 2, according to the maximum coordinate value among of touch-screen, i.e. resolution information, touch screen zone is on average divided into A-Z nine sub regions, record the coordinate range of every sub regions, and set up the mapping relations one by one of this nine sub regions of digital keys 1-9 and A-Z on telechiric device, as shown in Figure 3.The release region of existing a lot of touch-screen mobile phone is touch-screen lower end, adopt slip unlocking motion from left to right, when the mobile phone applying this kind of unlocking manner carries out MHL connection, the remote controller key unlock method that user adopts should be in time interval threshold values, input 7,8,9 these three digital keys successively, these three digital keys map to this three sub regions of G, H, I of touch-screen respectively successively, thus simulate slip unlocking motion from left to right, with default unblock path from left to right, touch-screen lower end to mating, realize unlocking.
In the present invention, described mobile device is the mobile phone or portable media player or other mobile electronic devices that are connected with external connection display equipment MHL by standard USB interface or Micro USB interface or Mini USB interface.Described external connection display equipment is the HDTV of band standard HDMI port or high definition projector or other display device.
Above content is in conjunction with concrete optimal way further description made for the present invention, should not assert that specific embodiment of the invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, within the protection domain that the claim that all should be considered as being submitted to by the present invention is determined.