CN105792004B - A kind of triggering passes the method and system of screen - Google Patents
A kind of triggering passes the method and system of screen Download PDFInfo
- Publication number
- CN105792004B CN105792004B CN201410800696.6A CN201410800696A CN105792004B CN 105792004 B CN105792004 B CN 105792004B CN 201410800696 A CN201410800696 A CN 201410800696A CN 105792004 B CN105792004 B CN 105792004B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- data
- television
- screen
- compared
- 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
Links
Abstract
The present invention discloses a kind of method and system of triggering biography screen, wherein, the data and are compared with acceleration parameter and judge whether to meet static conditions, enter step T2 if satisfaction comprising steps of T1, obtain the data of acceleration transducer in mobile terminal by method;T2, the data for obtaining range sensor in mobile terminal, and the data are compared with distance parameter and judge whether to meet smooth placement condition, it triggers to send to television if meeting and request;After the confirmation that T3, mobile terminal receive television receives the information of request, biography screen operation corresponding with television progress.The invention enables users when carrying out passing screen operation, does not need to carry out complicated cumbersome operation, it will be able to more simply experience the effect of display of the mobile terminal screen content on other equipment screen.The present invention is easy to use simply, and almost all of user can easily use.
Description
Technical field
The present invention relates to the method and system that multi-screen interactive technical field more particularly to a kind of triggering pass screen.
Background technique
Multi-screen interactive technology in the prior art, such as the biography screen operation of existing TV and mobile phone, in TV and mobile phone
After connection, is shown if user thinks to be received on TV on mobile phone, user is needed to click on mobile phone screen
Corresponding button, or the track pre-set is slided on mobile phone screen, these require to open mobile phone screen, and transport
Row results in the need for consuming more cell-phone battery electric-charge quantities in specified mobile phone application, and operates comparatively laborious.If user
It is unskilled to application operating, or mobile phone and the connection process of other android equipment are unfamiliar with, then operation will very not
It is convenient.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
In view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of triggerings to pass the method and system shielded,
Aim to solve the problem that existing biography screen operating process complexity, problem inconvenient for operation.
Technical scheme is as follows:
A method of triggering passes screen, wherein comprising steps of
T1, when carry out pass screen operation when, the data of its acceleration transducer of acquisition for mobile terminal, and by the data with
Preset acceleration parameter is compared, and judges whether mobile terminal meets static conditions, enters step T2 if meeting;
The data of T2, acquisition for mobile terminal its range sensor, and the data are compared with preset distance parameter,
Judge whether mobile terminal meets smooth placement condition, triggers to send to television if meeting and request;
After the confirmation that T3, mobile terminal receive television receives the information of request, biography screen corresponding with television progress
Operation.
The method that the triggering passes screen, wherein the step T1 is specifically included:
T11, mobile terminal obtain the data of its acceleration transducer at predetermined time intervals, and circulation is stored in 4 in order
A variable: in At1, At2, At3, At4, wherein At1 includes component A t1.x, At1.y, the At1.z in three directions of X, Y, Z axis,
At2 includes component A t2.x, At2.y, the At2.z in three directions of X, Y, Z axis, and At3 includes the component in three directions of X, Y, Z axis
At3.x, At3.y, At3.z, At4 include component A t4.x, At4.y, the At4.z in three directions of X, Y, Z axis;
T12, it is calculated by the following formula out Atmp:
Atmpx=(At1.x^2+At2.x^2+At3.x^2+At4.x^2)/4, calculates Atmpx;
Atmpy=(At1.y^2+At2.y^2+At3.y^2+At4.y^2)/4, calculates Atmpy;
Atmpz=(At1.z^2+At2.z^2+At3.z^2+At4.z^2)/4, calculates Atmpz;
Atmp=(Atmpx+Atmpy+Atmpz)/3, calculates Atmp;
T13, Atmp is compared with acceleration parameter Am, if Atmp is less than Am, determines that mobile terminal meets and stand
Condition, otherwise return step T11.
The method that the triggering passes screen, wherein the step T2 is specifically included:
T21, acquisition for mobile terminal are located at the data of 4 range sensors on its different location, and are respectively stored in pair
4 variables answered: in B1, B2, B3, B4;
T22, it is calculated by the following formula out Btmp:
Btmp=( B1+B2+B3+B4)^2-4*(B1^2+B2^2+B3^2+B4^2);
T23, Btmp is compared with distance parameter Bm, if Btmp is less than Bm, determines that mobile terminal meets smooth put
Condition is set, and triggers to television and sends the request further judged, otherwise return step T1.
The method that the triggering passes screen, wherein the T3 is specifically included:
After T31, television receive the request of mobile terminal transmission, obtains distance in the placement platform of television connection and pass
The data of sensor, and the data are compared with preset reduced parameter, judge whether mobile terminal meets smooth be placed in
The condition of placement platform, if satisfied, the position data of placement platform is then sent to mobile terminal.
The method that the triggering passes screen, wherein after the step T31 further include:
T32, acquisition for mobile terminal self-position data, and self-position data and the position data of placement platform are carried out
Compare, judge mobile terminal and whether placement platform meets in the same space band of position condition, if satisfied, then with television
The corresponding screen that passes is carried out to operate.
The method that the triggering passes screen, wherein after the step T3 further include:
T4, acquisition for mobile terminal self-position data, and self-position data and the position data of placement platform are carried out
Compare, judge mobile terminal and whether placement platform meets in the same space band of position condition, if satisfied, then with television
The corresponding screen that passes is carried out to operate.
A kind of system that triggering passes screen, wherein include:
Judgment module is stood, for obtaining the number of acceleration transducer in mobile terminal when carrying out passing screen operation
According to, and the data are compared with preset acceleration parameter, judge whether mobile terminal meets static conditions, if meeting
Into smooth placement judgment module;
Smooth placement judgment module for obtaining the data of range sensor in mobile terminal, and by the data and is preset
Distance parameter be compared and judge whether to meet smooth placement condition, trigger to send to television if meeting and request;
Panel module is passed, it is corresponding with television progress to pass after the confirmation for receiving television receives the information of request
Screen operation.
The system that the triggering passes screen, wherein the standing judgment module specifically includes:
Acceleration information acquiring unit, for obtaining the data of acceleration transducer in mobile terminal at predetermined time intervals,
And circulation is stored in 4 variables in order: in At1, At2, At3, At4, wherein At1 includes the component in three directions of X, Y, Z axis
At1.x, At1.y, At1.z, At2 include component A t2.x, At2.y, the At2.z in three directions of X, Y, Z axis, and At3 includes X, Y, Z
Component A t3.x, At3.y, the At3.z in three directions of axis, At4 include three directions of X, Y, Z axis component A t4.x, At4.y,
At4.z;
Acceleration information computing unit, for being calculated by the following formula out Atmp:
Atmpx=(At1.x^2+At2.x^2+At3.x^2+At4.x^2)/4, calculates Atmpx;
Atmpy=(At1.y^2+At2.y^2+At3.y^2+At4.y^2)/4, calculates Atmpy;
Atmpz=(At1.z^2+At2.z^2+At3.z^2+At4.z^2)/4, calculates Atmpz;
Atmp=(Atmpx+Atmpy+Atmpz)/3, calculates Atmp;
First comparing unit, if Atmp is less than Am, determines to move for Atmp to be compared with acceleration parameter Am
Terminal meets static conditions.
The system that the triggering passes screen, wherein the smooth placement judgment module specifically includes:
Range-sensor data acquiring unit, for obtaining 4 range sensors being located on mobile terminal different location
Data, and be respectively stored in corresponding 4 variables: in B1, B2, B3, B4;
Range-sensor data computing unit, for being calculated by the following formula out Btmp:
Btmp=( B1+B2+B3+B4)^2-4*(B1^2+B2^2+B3^2+B4^2);
Second comparing unit, if Btmp is less than Bm, determines mobile whole for Btmp to be compared with distance parameter Bm
End meets smooth placement condition, and triggers to television and send the request further judged.
The system that the triggering passes screen, wherein further include:
Screen operation ending module is passed to be accelerated for obtaining the data of mobile terminal acceleration transducer according to mobile terminal
The data of degree sensor judge whether to meet mobile terminal mobile condition, if satisfied, then terminating the biography of mobile terminal and television
Screen operation.
The utility model has the advantages that the present invention judges that mobile terminal user is by calculating mobile terminal sensing data
No needs carry out biography screen service;When the condition is satisfied, notify television and to send request, television is replied, make the two into
Row passes screen operation.The invention enables users when carrying out passing screen operation, does not need to carry out complicated cumbersome operation, but only
Mobile terminal standing is placed on specified device or position, it will be able to more simply experience mobile terminal screen content and exist
The effect of display on other equipment screen.The present invention is easy to use simply, and almost all of user can easily make
With can also reduce the battery consumption of the mobile terminal when showing on other screen.
Detailed description of the invention
Fig. 1 is the flow chart for the method preferred embodiment that a kind of triggering of the present invention passes screen.
Fig. 2 is the specific flow chart of step S101 in method shown in Fig. 1.
Fig. 3 for acceleration transducer institute of the present invention measured data coordinate system.
Fig. 4 is the specific flow chart of step S102 in method shown in Fig. 1.
Fig. 5 is the specific flow chart of step S103 in method shown in Fig. 1.
Fig. 6 is the structural block diagram for the system preferred embodiment that a kind of triggering of the present invention passes screen.
Fig. 7 is the specific block diagram that judgment module is stood in system shown in Figure 6.
Fig. 8 is the smooth specific block diagram for placing judgment module in system shown in Figure 6.
Specific embodiment
The present invention provides a kind of method and system of triggering biography screen, to make the purpose of the present invention, technical solution and effect more
Add clear, clear, the present invention is described in more detail below.It should be appreciated that specific embodiment described herein is only used
To explain the present invention, it is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is the flow chart for the method preferred embodiment that a kind of triggering of the present invention passes screen, as shown, its
Comprising steps of
S101, when carrying out passing screen operation, data of its acceleration transducer of acquisition for mobile terminal, and by the data
It is compared with preset acceleration parameter, judges whether mobile terminal meets static conditions, enter step S102 if meeting,
Otherwise continue to obtain data;
The data of S102, acquisition for mobile terminal its range sensor, and the data and preset distance parameter are compared
Compared with, judge whether mobile terminal meets smooth placement condition, if meet if trigger to television send request, otherwise continue to obtain
Data;
It is corresponding with television progress to pass after the confirmation that S103, mobile terminal receive television receives the information of request
Screen operation.
Further, as shown in Fig. 2, the step S101 is specifically included:
S201, mobile terminal obtain the data of its acceleration transducer at predetermined time intervals, and circulation is stored in 4 in order
A variable: in At1, At2, At3, At4, as shown in figure 3, wherein At1 include three directions of X, Y, Z axis component A t1.x,
At1.y, At1.z, At2 include component A t2.x, At2.y, the At2.z in three directions of X, Y, Z axis, and At3 includes X, Y, Z axis three
Component A t3.x, At3.y, the At3.z in direction, At4 includes component A t4.x, At4.y, the At4.z in three directions of X, Y, Z axis;
Predetermined time Tm therein can be adjusted according to the actual situation.
S202, it is calculated by the following formula out Atmp:
Atmpx=(At1.x^2+At2.x^2+At3.x^2+At4.x^2)/4, calculates Atmpx;
Atmpy=(At1.y^2+At2.y^2+At3.y^2+At4.y^2)/4, calculates Atmpy;
Atmpz=(At1.z^2+At2.z^2+At3.z^2+At4.z^2)/4, calculates Atmpz;
Atmp=(Atmpx+Atmpy+Atmpz)/3, calculates Atmp;
S203, Atmp is compared with acceleration parameter Am, if Atmp is less than Am, determines that mobile terminal meets and stand
Condition, otherwise return step S201.
Am therein is the specified acceleration parameter for comparing of program, such as is set as 0.01 mm/second, is represented
One acceptable error range parameter, can be adjusted according to product specific requirement, such as mobile phone is static but sensor hardware
The acceleration that small vibration of specific error and building body caused by error etc. allows mobile phone to generate, these are in acceptable model
In enclosing, so a reasonable value can be set to Am according to these situations.
Further, as shown in figure 4, the step S102 is specifically included:
S301, acquisition for mobile terminal are located at the data of 4 range sensors on its different location, and are respectively stored in pair
4 variables answered: in B1, B2, B3, B4;
S302, it is calculated by the following formula out Btmp:
Btmp=( B1+B2+B3+B4)^2-4*(B1^2+B2^2+B3^2+B4^2);
S303, Btmp is compared with distance parameter Bm, if Btmp is less than Bm, determines that mobile terminal meets smooth put
Condition is set, and triggers to television and sends the request further judged, otherwise return step S101.
Bm is the specified distance parameter of program, such as is set as 1 millimeter, represents an acceptable error parameter, can
It is adjusted according to product specific requirement, such as the surface of placement platform (can be any one plane, such as tea table or dining table etc.)
Smooth degree, and require mobile phone that cannot have range error caused by great tilt angle relative to placement platform, according to this
A little situations are specifically adjusted, and are used to illustrate contact degree of agreement of the mobile phone with contactant on four positions.When in Btmp
When less than Bm, then illustrate that mobile terminal has been placed on the position of comparison level, meets smooth placement condition.
Since above-mentioned steps carry out condition judgement without television, biography screen directly can be carried out with mobile terminal, that is, used
The preferential scheme for passing screen after user connects mobile terminal and television, is arranged and preferentially passes screen, then just directly passing through shifting
Dynamic terminal judgement, after sending request, television, which does not make a decision, to be directly transmitted confirmation and receives the information of request to mobile terminal, thus
It carries out passing screen operation.And if mobile terminal does not receive the information that confirmation receives request within a specified time, reenter step
The judgment step of rapid S101.
In the above-mentioned technical solutions, it is placed into without mobile terminal on specified placement platform, need to only be placed on some water
Prosposition is set, and user need to first confirm that needs carry out biography screen (such as preferential pass of setting is shielded), avoid being strayed into biography screen operation.And more
It is to connect (wired or wireless) placement platform in television in preferred embodiment, is meeting above-mentioned standing and smooth putting
It after the condition set, is also detected using the sensor on placement platform, when meeting condition, just will do it biography screen operation.
Specifically, as shown in figure 5, the S103 is specifically included:
After S1031, television receive the request of mobile terminal transmission, distance in the placement platform of television connection is obtained
The data of sensor, and the data are compared with preset reduced parameter, judge whether mobile terminal meets smooth placement
In the condition of placement platform, if satisfied, the position data of placement platform is then sent to mobile terminal;
S1032, acquisition for mobile terminal self-position data, and by self-position data and the position data of placement platform into
Row compares, and judges mobile terminal and whether placement platform meets in the same space band of position condition, if satisfied, then with TV
End carries out corresponding pass and shields operation.
Specifically, the step S1031 can further be refined as following steps:
S400, request is monitored;
S401, television receive mobile terminal transmission request after, obtain television connection placement platform in 5 away from
Data from sensor, and it is saved in 5 variables respectively: in C1, C2, C3, C4, C5;
The corresponding range sensor of C5 therein be outside a user can set distance sensor.C1,C2,C3,C4
Corresponding range sensor can be separately positioned on the quadrangle of placement platform.
S402, it is calculated by the following formula out Ctmpm:
Ctmpm=(C1+C2+C3+C4) ^2-16*C5^2;
Ctmpm is C1, C2, C3, specific error amount between tetra- range sensor distance values average values of C4 and C5.
S403, Ctmpm is compared with the first reduced parameter Cm, if Ctmpm is less than Cm, enters step S404;It is no
Then return step S400;
First reduced parameter Cm is C1, C2, C3, is allowed between tetra- range sensor distance values average values of C4 and C5
Error, for example be set as 1 millimeter.
S404, it is calculated by the following formula out Ctmpn:
Ctmpn=( C1+C2+C3+C4)^2-4*(C1^2+C2^2+C3^2+C4^2);
Ctmpn is C1, C2, C3, the variance yields of tetra- range sensor numerical value of C4;
S405, Ctmpn is compared with the second reduced parameter Cn, if Ctmpn is less than Cn, enters step S406;It is no
Then return step S400;
Second reduced parameter Cn is C1, C2, C3, the error range for the variance yields that tetra- range sensor numerical value of C4 allows;
S406, television obtain placement platform position data and are stored in Gd, and Gd is sent to mobile terminal.
The position data is measured by position sensor, specifically can be the virtual-sensor of indoor locating system, can also be with
It is analogous to the position coordinate data of the positioning systems such as GPS, i.e. the position sensor is that having for broad sense obtains position seat
The system for marking data function;
Further, the step S1032 can further be refined as following steps:
After S407, mobile terminal receive Gd, obtain the position data of itself, and be stored in Gs, wherein Gd include X,
Y, component Gd.x, Gd.y, the Gd.z in three directions of Z axis, Gs includes component Gs.x, Gs.y, the Gs.z in three directions of X, Y, Z axis;
S408, Gx, Gy, Gz are calculated by the following formula out:
Gx=fabs (Gd.x-Gs.x), Gy=fabs (Gd.y-Gs.y) and Gz=fabs (Gd.z-
Gs.z);
S409, judged by following formula:
Gx^2 + Gy^2 + Gz^2 < Gds;Wherein, Gds is spatial parameter;
Gds is the reduced parameter for being used to indicate mobile phone and placement platform area of space degree of agreement of program setting, such as
It is 10 centimetres that Gds, which is arranged, shows to meet if mobile phone and placement platform are in the spherical space that 10 centimetres are radius same
The requirement of position;Whether this is for judging the placement platform of mobile phone and television in a very small spatial position area
Domain indicates that the placement platform of this mobile phone and this TV in same position, further relates to mobile phone and electricity if meeting condition
Depending on to carry out passing the operation such as screen really.
By the judgement to a variety of data of TV placement platform PF and mobile phone PO or more so that it is determined that the operation of user is just out
It is to show the content on mobile phone on TV, then system just triggers the biography screen processing of mobile phone and television set.
Further, after the step S103 further include:
The data of S104, acquisition for mobile terminal its acceleration transducer, according to the data of mobile terminal acceleration transducer
Judge whether to meet mobile terminal mobile condition, if satisfied, the biography screen for then terminating mobile terminal and television operates.
Specifically, data of its acceleration transducer of acquisition for mobile terminal first, and it is stored in variables A tnow, Atnow
Component A tnow.x, Atnow.y, Atnow.z including three directions of X, Y, Z axis, and judged by following formula:
fabs (Atnow.x)+ fabs (Atnow.y)+ fabs ( Atnow.z)>0.1;
If meeting above-mentioned formula, illustrate that mobile terminal moves, then the biography screen for terminating mobile terminal and television is grasped
Make.
In embodiments of the present invention, when carrying out passing screen operation, mainly judged by the data of various kinds of sensors
Following condition:
Mobile terminal judges whether it meets static conditions;
Mobile terminal judges whether it meets smooth placement condition;
Television judges whether mobile terminal meets the smooth condition being placed on placement platform;
Mobile terminal judges whether it meets the condition in the same space band of position with placement platform;
Mobile terminal judges whether it meets mobile condition.
Determine whether that triggering passes screen operation and terminates to pass screen operation according to above-mentioned condition.User only need to be by movement in this way
The biography screen service with television can be realized in holding movable terminal to terminal as required, very easy to use, without with carrying out
Complicated cumbersome operating process.In the embodiment of the present invention, it is illustrated so that mobile terminal is mobile phone as an example, it is clear that mobile terminal is also
It can be the portable electronic devices such as tablet computer.
Based on the above method, the present invention also provides the system preferred embodiments that a kind of triggering passes screen, as shown in fig. 6, it is wrapped
It includes:
Judgment module 100 is stood, for obtaining acceleration transducer in mobile terminal when carrying out passing screen operation
Data, and the data are compared with preset acceleration parameter, judge whether mobile terminal meets static conditions, if meeting
Then enter smooth placement judgment module;
Smooth placement judgment module 200, for obtaining the data of range sensor in mobile terminal, and by the data and in advance
If distance parameter be compared and judge whether to meet smooth placement condition, trigger to send to television if meeting and request;
Panel module 300 is passed, it is corresponding with television progress after the confirmation for receiving television receives the information of request
Pass screen operation.
Further, as shown in fig. 7, the standing judgment module 100 specifically includes:
Acceleration information acquiring unit 110, for obtaining the number of acceleration transducer in mobile terminal at predetermined time intervals
According to, and circulation is stored in 4 variables in order: in At1, At2, At3, At4, wherein At1 includes point in three directions of X, Y, Z axis
Measure At1.x, At1.y, At1.z, At2 includes component A t2.x, At2.y, the At2.z in three directions of X, Y, Z axis, At3 include X, Y,
Component A t3.x, At3.y, the At3.z in three directions of Z axis, At4 include three directions of X, Y, Z axis component A t4.x, At4.y,
At4.z;
Acceleration information computing unit 120, for being calculated by the following formula out Atmp:
Atmpx=(At1.x^2+At2.x^2+At3.x^2+At4.x^2)/4, calculates Atmpx;
Atmpy=(At1.y^2+At2.y^2+At3.y^2+At4.y^2)/4, calculates Atmpy;
Atmpz=(At1.z^2+At2.z^2+At3.z^2+At4.z^2)/4, calculates Atmpz;
Atmp=(Atmpx+Atmpy+Atmpz)/3, calculates Atmp;
First comparing unit 130, if Atmp is less than Am, determines for Atmp to be compared with acceleration parameter Am
Mobile terminal meets static conditions.
Further, as shown in figure 8, the smooth placement judgment module 200 specifically includes:
Range-sensor data acquiring unit 210, for obtaining 4 Distance-sensings being located on mobile terminal different location
The data of device, and it is respectively stored in corresponding 4 variables: in B1, B2, B3, B4;
Range-sensor data computing unit 220, for being calculated by the following formula out Btmp:
Btmp=( B1+B2+B3+B4)^2-4*(B1^2+B2^2+B3^2+B4^2);
Second comparing unit 230, if Btmp is less than Bm, determines to move for Btmp to be compared with distance parameter Bm
Dynamic terminal meets smooth placement condition, and triggers to television and send the request further judged.
Further, the system, further include:
Screen operation ending module is passed to be accelerated for obtaining the data of mobile terminal acceleration transducer according to mobile terminal
The data of degree sensor judge whether to meet mobile terminal mobile condition, if satisfied, then terminating the biography of mobile terminal and television
Screen operation.
In conclusion the present invention when carry out pass screen operation when, by calculating mobile terminal sensing data,
Judge whether mobile terminal user needs to carry out biography screen service;When the condition is satisfied, it notifies television and sends request, TV
End is replied, and the two is made to carry out passing screen operation.The invention enables users when carrying out passing screen operation, does not need to be answered
Miscellaneous cumbersome operation, but only mobile terminal standing is placed on specified device or position, it will be able to more simply experience
To the effect of display of the mobile terminal screen content on other equipment screen.The present invention is easy to use simply, Ji Husuo
Some users can easily use, and can also reduce the battery consumption of the mobile terminal when showing on other screen.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention
Protect range.
Claims (9)
1. a kind of method that triggering passes screen, which is characterized in that comprising steps of
T1, when carrying out passing screen operation, data of its acceleration transducer of acquisition for mobile terminal, and by the data and default
Acceleration parameter be compared, judge whether mobile terminal meets static conditions, if meet if enter step T2;
The data of T2, acquisition for mobile terminal its range sensor, and the data are compared with preset distance parameter, judge
Whether mobile terminal meets smooth placement condition, triggers to send to television if meeting and request;
After the confirmation that T3, mobile terminal receive television receives the information of request, biography screen operation corresponding with television progress;
The T3 is specifically included:
After T31, television receive the request of mobile terminal transmission, range sensor in the placement platform of television connection is obtained
Data, and the data are compared with preset reduced parameter, judge whether mobile terminal meets and smooth be placed in placement
The condition of platform, if satisfied, the position data of placement platform is then sent to mobile terminal.
2. the method that triggering according to claim 1 passes screen, which is characterized in that the step T1 is specifically included:
T11, mobile terminal obtain the data of its acceleration transducer at predetermined time intervals, and circulation is stored in 4 changes in order
Amount: in At1, At2, At3, At4, wherein At1 includes component A t1.x, At1.y, the At1.z in three directions of X, Y, Z axis, At2 packet
Include component A t2.x, At2.y, the At2.z in three directions of X, Y, Z axis, At3 include three directions of X, Y, Z axis component A t3.x,
At3.y, At3.z, At4 include component A t4.x, At4.y, the At4.z in three directions of X, Y, Z axis;
T12, it is calculated by the following formula out Atmp:
Atmpx=(At1.x^2+At2.x^2+At3.x^2+At4.x^2)/4, calculates Atmpx;
Atmpy=(At1.y^2+At2.y^2+At3.y^2+At4.y^2)/4, calculates Atmpy;
Atmpz=(At1.z^2+At2.z^2+At3.z^2+At4.z^2)/4, calculates Atmpz;
Atmp=(Atmpx+Atmpy+Atmpz)/3, calculates Atmp;
T13, Atmp is compared with acceleration parameter Am, if Atmp is less than Am, determines that mobile terminal meets static conditions,
Otherwise return step T11.
3. the method that triggering according to claim 1 passes screen, which is characterized in that the step T2 is specifically included:
T21, acquisition for mobile terminal are located at the data of 4 range sensors on its different location, and are respectively stored in corresponding 4
A variable: in B1, B2, B3, B4;
T22, it is calculated by the following formula out Btmp:
Btmp=( B1+B2+B3+B4)^2-4*(B1^2+B2^2+B3^2+B4^2);
T23, Btmp is compared with distance parameter Bm, if Btmp is less than Bm, determines that mobile terminal meets smooth placement item
Part, and trigger to television and send the request that further judges, otherwise return step T1.
4. the method that triggering according to claim 1 passes screen, which is characterized in that after the step T31 further include:
T32, acquisition for mobile terminal self-position data, and the position data of self-position data and placement platform is compared
Compared with, judge mobile terminal and whether placement platform meet in the same space band of position condition, if satisfied, then with television into
Row is corresponding to pass screen operation.
5. the method that triggering according to claim 1 passes screen, which is characterized in that after the step T3 further include:
The data of T4, acquisition for mobile terminal its acceleration transducer are according to the judgement of the data of mobile terminal acceleration transducer
It is no to meet mobile terminal mobile condition, if satisfied, the biography screen for then terminating mobile terminal and television operates.
6. a kind of system that triggering passes screen characterized by comprising
Judgment module is stood, for obtaining the data of acceleration transducer in mobile terminal when carrying out passing screen operation, and
The data are compared with preset acceleration parameter, judge whether mobile terminal meets static conditions, are entered if meeting
Smooth placement judgment module;
Smooth placement judgment module, for obtaining the data of range sensor in mobile terminal, and by the data and it is preset away from
It is compared from parameter and judges whether to meet smooth placement condition, triggered to send to television if meeting and request;
Panel module is passed, after the confirmation for receiving television receives the information of request, biography screen behaviour corresponding with television progress
Make;Specifically: after the request for receiving mobile terminal transmission, obtain the number of range sensor in the placement platform of television connection
According to and the data being compared with preset reduced parameter, judge whether mobile terminal meets and smooth be placed in placement platform
Condition, if satisfied, the position data of placement platform is then sent to mobile terminal.
7. the system that triggering according to claim 6 passes screen, which is characterized in that the standing judgment module specifically includes:
Acceleration information acquiring unit for obtaining the data of acceleration transducer in mobile terminal at predetermined time intervals, and is pressed
Order circulation is stored in 4 variables: in At1, At2, At3, At4, wherein At1 includes the component in three directions of X, Y, Z axis
At1.x, At1.y, At1.z, At2 include component A t2.x, At2.y, the At2.z in three directions of X, Y, Z axis, and At3 includes X, Y, Z
Component A t3.x, At3.y, the At3.z in three directions of axis, At4 include three directions of X, Y, Z axis component A t4.x, At4.y,
At4.z;
Acceleration information computing unit, for being calculated by the following formula out Atmp:
Atmpx=(At1.x^2+At2.x^2+At3.x^2+At4.x^2)/4, calculates Atmpx;
Atmpy=(At1.y^2+At2.y^2+At3.y^2+At4.y^2)/4, calculates Atmpy;
Atmpz=(At1.z^2+At2.z^2+At3.z^2+At4.z^2)/4, calculates Atmpz;
Atmp=(Atmpx+Atmpy+Atmpz)/3, calculates Atmp;
First comparing unit, if Atmp is less than Am, determines mobile terminal for Atmp to be compared with acceleration parameter Am
Meet static conditions.
8. the system that triggering according to claim 6 passes screen, which is characterized in that the smooth placement judgment module specifically wraps
It includes:
Range-sensor data acquiring unit, for obtaining the number for 4 range sensors being located on mobile terminal different location
According to, and it is respectively stored in corresponding 4 variables: in B1, B2, B3, B4;
Range-sensor data computing unit, for being calculated by the following formula out Btmp:
Btmp=( B1+B2+B3+B4)^2-4*(B1^2+B2^2+B3^2+B4^2);
Second comparing unit, if Btmp is less than Bm, determines that mobile terminal is full for Btmp to be compared with distance parameter Bm
The smooth placement condition of foot, and trigger to television and send the request further judged.
9. the system that triggering according to claim 6 passes screen, which is characterized in that further include:
Screen operation ending module is passed to be passed for obtaining the data of mobile terminal acceleration transducer according to mobile terminal acceleration
The data of sensor judge whether to meet mobile terminal mobile condition, if satisfied, the biography screen for then terminating mobile terminal and television is grasped
Make.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410800696.6A CN105792004B (en) | 2014-12-22 | 2014-12-22 | A kind of triggering passes the method and system of screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410800696.6A CN105792004B (en) | 2014-12-22 | 2014-12-22 | A kind of triggering passes the method and system of screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105792004A CN105792004A (en) | 2016-07-20 |
CN105792004B true CN105792004B (en) | 2019-01-04 |
Family
ID=56384839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410800696.6A Active CN105792004B (en) | 2014-12-22 | 2014-12-22 | A kind of triggering passes the method and system of screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105792004B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107943529B (en) * | 2017-10-20 | 2020-12-22 | 广州视源电子科技股份有限公司 | Equipment pairing method and device, readable storage medium and interactive intelligent equipment |
CN109040394B (en) | 2018-09-28 | 2020-11-17 | 歌尔科技有限公司 | Screen transmission method, vehicle-mounted support and storage medium |
CN112540739B (en) * | 2019-09-21 | 2023-11-03 | 华为技术有限公司 | Screen projection method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2453666A1 (en) * | 2010-11-15 | 2012-05-16 | Lg Electronics Inc. | Image display apparatus and method of operating the same |
CN102480547A (en) * | 2010-11-22 | 2012-05-30 | 康佳集团股份有限公司 | Mobile terminal for copying files by means of gravity sensing and method for copying files by means of gravity sensing |
CN102802068A (en) * | 2012-05-07 | 2012-11-28 | 海信集团有限公司 | Remote control method and system smart television |
CN102833414A (en) * | 2012-08-28 | 2012-12-19 | 惠州Tcl移动通信有限公司 | Cellphone incoming call auto-receiving method and cellphone |
CN103051970A (en) * | 2012-11-09 | 2013-04-17 | 青岛海信电器股份有限公司 | Control method for display screens of display device and television |
CN103634632A (en) * | 2012-08-28 | 2014-03-12 | 腾讯科技(深圳)有限公司 | Processing method of picture information, device and system |
-
2014
- 2014-12-22 CN CN201410800696.6A patent/CN105792004B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2453666A1 (en) * | 2010-11-15 | 2012-05-16 | Lg Electronics Inc. | Image display apparatus and method of operating the same |
CN102480547A (en) * | 2010-11-22 | 2012-05-30 | 康佳集团股份有限公司 | Mobile terminal for copying files by means of gravity sensing and method for copying files by means of gravity sensing |
CN102802068A (en) * | 2012-05-07 | 2012-11-28 | 海信集团有限公司 | Remote control method and system smart television |
CN102833414A (en) * | 2012-08-28 | 2012-12-19 | 惠州Tcl移动通信有限公司 | Cellphone incoming call auto-receiving method and cellphone |
CN103634632A (en) * | 2012-08-28 | 2014-03-12 | 腾讯科技(深圳)有限公司 | Processing method of picture information, device and system |
CN103051970A (en) * | 2012-11-09 | 2013-04-17 | 青岛海信电器股份有限公司 | Control method for display screens of display device and television |
Also Published As
Publication number | Publication date |
---|---|
CN105792004A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107229231B (en) | Household equipment management method and device | |
US8515413B1 (en) | Controlling a target device using short-range communication | |
US20160307252A1 (en) | Method and apparatus for processing target article information | |
US8565791B1 (en) | Computing device interaction with visual media | |
JP6293274B2 (en) | Server access method and server access apparatus | |
US20160342320A1 (en) | Method of sharing display image on multiple screens and associated communication terminal | |
CN103945530A (en) | Positioning device based on low energy Bluetooth | |
CN110177333A (en) | Indoor orientation method, device, system, equipment and storage medium | |
US20170164140A1 (en) | Method and device for selecting target device | |
TW201826232A (en) | Parking space detection method and device | |
CN105792004B (en) | A kind of triggering passes the method and system of screen | |
CN104122845B (en) | Household appliance control system and method | |
US10963100B2 (en) | Interactive object control method and apparatus, terminal, and computer-readable storage medium | |
CN110674490B (en) | Application permission display method and device and mobile terminal | |
CN106412249A (en) | Detection method and device of drop information | |
CN204314269U (en) | air quality prompt system, robot and server | |
CN107786942A (en) | Positioner, method and computer-readable recording medium based on wireless device | |
CN107809656B (en) | Information processing method and electronic equipment | |
CN107422298A (en) | Bluetooth ranging parameters optimization method, system, storage medium and mobile terminal | |
CN103955279B (en) | A kind of visual angle feedback method and terminal | |
CN109341836B (en) | Method and device for calibrating symmetrical platform | |
US20150100262A1 (en) | Method and System for Constructing Map of Magnetic Field | |
US20140375442A1 (en) | Electronic device and method for controlling household appliances | |
CN105468347A (en) | System and method for pausing video play | |
CN108429363B (en) | Wireless charging method and wireless charging device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |