WO2013083060A1 - Data exchange system based on mobile terminal state change - Google Patents
Data exchange system based on mobile terminal state change Download PDFInfo
- Publication number
- WO2013083060A1 WO2013083060A1 PCT/CN2012/086071 CN2012086071W WO2013083060A1 WO 2013083060 A1 WO2013083060 A1 WO 2013083060A1 CN 2012086071 W CN2012086071 W CN 2012086071W WO 2013083060 A1 WO2013083060 A1 WO 2013083060A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile terminal
- data
- axis
- module
- state change
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1626—Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1684—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
- G06F1/1694—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/12—Arrangements for remote connection or disconnection of substations or of equipment thereof
Definitions
- the present invention relates to mobile terminals, and more particularly to a mobile terminal data exchange system that can trigger an event based on a change in state of the mobile terminal.
- buttons are suitable for most situations, but because of its ubiquity, it is not the best solution in some cases.
- the general charging method is charged on time.
- the singer will reach his best singing state while singing the main song or chorus, and the state of the ending will slip. Therefore, the ending part will be cut off, on the one hand, the singer can maintain the best state, on the other hand, it can save time and sing more songs.
- the singer If the purchase is transferred to the equipment provided by the karaoke hall, the singer only has to pay for the rental of the equipment of the karaoke hall without having to pay the copyright fee repeatedly, thereby reducing the entertainment cost.
- the hardware equipment of the Karaoke Hall will be better than that of the average home. Consumers can purchase the genuine video, download it to the mobile terminal, and rent the hardware of the Karaoke Hall to watch it. But now the Karaoke Hall does not have such conditions. . Summary of the invention
- the technical problem to be solved by the present invention is to overcome the existing technical deficiencies and provide a gyro-based human-computer interaction detection and processing method on an intelligent terminal that can control the intelligent terminal without pressing a button and a touch screen.
- the technical solution of the present invention is to provide a gyroscope-based human-computer interaction detection and processing method on a smart terminal, which is characterized in that it comprises the following steps:
- the X-axis direction is horizontal from left to right
- the ⁇ -axis direction is vertical from bottom to top
- the ⁇ -axis direction is perpendicular to the smart terminal screen from back to front;
- the gyroscope is used to respectively test the angular rate of the terminal device rotating around the X axis, the angular rate of rotation around the x-axis, and the angular rate of rotation about the x-axis;
- step (4) determining the action performed by the intelligent terminal according to the waveform diagram of the obtained angular rate of the X-axis, the ⁇ -axis, and the ⁇ -axis with respect to the time change means:
- the intelligent terminal performs the action from the far-reaching near-turnback; If the waveform diagram obtained, the waveform diagram of the Y-axis has obvious troughs first, and there are obvious peaks afterwards, and the waveform diagrams of the X-axis and the z-axis do not change significantly, then the smart terminal is judged to flip to the left;
- the smart terminal is judged to flip to the right;
- the smart terminal performs the action from the far-end to the near-turnback.
- the step (4) determines the action made by the smart terminal, and triggers the corresponding event according to the setting: if it is determined that the smart terminal performs the action from the near direction, the event triggered by the smart terminal includes: sending the email, uploading Sending a message, sending a message, sending a message, or launching a weapon in a shooting game; if it is determined that the smart terminal is performing a far-reaching action, the event triggered by the smart terminal includes: receiving a file, downloading a file, and receiving the information;
- the events triggered by the smart terminal include: viewing the previous page, scrolling forward, and viewing the previous item;
- the events triggered by the smart terminal include: viewing the next page, turning over, and viewing the next item.
- the obvious trough is as follows: In the waveform diagram, the amplitude of the curve is less than S1 and lasts for more than T seconds. The obvious peak is: In the waveform diagram, the amplitude of the curve is greater than S2 and continues for more than T seconds. In the middle, there is no obvious trough, and there is no obvious peak. It is considered that the waveform has no obvious change.
- the S1, S2 and T are all settable values, which can be set in the program.
- the invention overcomes the deficiencies of the prior art, by setting a three-dimensional coordinate system on the intelligent terminal, and using a gyroscope to respectively detect the angular rate of rotation of the device around the X-axis, the Y-axis, and the Z-axis, to know that the handheld person makes the smart terminal What action, and by triggering the corresponding event in the smart terminal corresponding to the action, the somatosensory action is associated with the control of the smart terminal, so that it is not necessary to touch the physical button or touch the screen of the mobile phone, but through
- the corresponding human-computer interaction operations on the smart terminal such as sending information, sending mail, downloading files, etc., can be performed, which greatly facilitates the user of the smart terminal.
- the technical problem to be solved by the present invention is to overcome the existing technical defects and provide a human-machine interaction detection and processing method based on line acceleration sensor on an intelligent terminal capable of controlling an intelligent terminal without using a button and a touch screen. .
- the linear acceleration describes the magnitude and direction of the rigid body linear velocity.
- the unit of the international unit system is m/s A 2 (m/s bisect).
- the biggest difference between the linear acceleration sensor and the acceleration sensor is: Accelerometer
- the obtained values include the value of gravity acceleration caused by gravity of the earth, and the linear acceleration does not include gravity acceleration. Because the interference of gravity acceleration is excluded, the application of the linear acceleration sensor in some occasions is more effective than the acceleration sensor.
- the technical solution of the present invention is to provide a human-machine interaction detection and processing method based on a linear acceleration sensor on an intelligent terminal, which is characterized in that it comprises the following steps:
- the X-axis direction is horizontal from left to right
- the Y-axis direction is vertical from bottom to top
- the Z-axis direction is perpendicular to the smart terminal screen from back to front
- the linear acceleration sensor is used to respectively test the linear acceleration of the terminal device in the three axes of XYZ;
- step (4) according to the waveform diagram of the obtained line acceleration rate of the X-axis, the Y-axis, and the Z-axis on the curve of time, determining the action performed by the smart terminal means:
- the obtained waveform diagram has obvious peaks in the waveform diagram of the Z-axis, and the waveform diagrams of the Y-axis and the Z-axis do not change significantly, it is judged that the smart terminal performs the action from the far-end to the near-turnback;
- the waveform of the X-axis has obvious troughs first, and then there are obvious peaks. If the waveforms of the Y-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the flipping to the left;
- the waveform diagram is obtained, the waveform of the X-axis has obvious peaks first, and after the obvious troughs, the waveform diagrams of the Y-axis and the z-axis do not change significantly, then the smart terminal is judged to flip to the right;
- the smart terminal performs the action from the near-outward direction; If the obtained waveform diagram has obvious peaks in the waveform diagram of the Y-axis, and the waveform diagrams of the X-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the action from the far-reaching to the near-turnback.
- the step (4) determines the action made by the smart terminal, and triggers the corresponding event according to the setting: if it is determined that the smart terminal performs the action from the near direction, the event triggered by the smart terminal includes: sending the email, uploading Sending a message, sending a message, sending a message, or launching a weapon in a shooting game; if it is determined that the smart terminal is performing a far-reaching action, the event triggered by the smart terminal includes: receiving a file, downloading a file, and receiving the information;
- the events triggered by the smart terminal include: viewing the previous page, scrolling forward, and viewing the previous item;
- the events triggered by the smart terminal include: viewing the next page, turning over, and viewing the next item.
- the obvious trough is as follows: In the waveform diagram, the amplitude of the curve is less than S1 and lasts for more than T seconds. The obvious peak is: In the waveform diagram, the amplitude of the curve is greater than S2 and continues for more than T seconds. In the middle, there is no obvious trough, and there is no obvious peak. It is considered that the waveform has no obvious change.
- the S1, S2 and T are all settable values, which can be set in the program.
- the invention overcomes the deficiencies of the prior art, by setting a three-dimensional coordinate system on the intelligent terminal, and detecting the linear acceleration of the device in the X-axis, the Y-axis, and the Z-axis by using a linear acceleration sensor, respectively, to know that the handheld person makes the smart terminal What action, and by triggering the corresponding event in the smart terminal corresponding to the action, the somatosensory action is associated with the control of the smart terminal, so that it is not necessary to touch the physical button or touch the screen of the mobile phone, but through
- the action of the intelligent terminal can complete the corresponding human-computer interaction operation of the intelligent terminal, such as sending information, sending mail, downloading files, etc., which greatly facilitates the user of the intelligent terminal. And this way of operation can also bring fun to the user.
- Another object of the present invention is to provide a data exchange system based on a state change of a mobile terminal, characterized in that the data exchange system based on the state change of the mobile terminal transmits information on the mobile terminal to another by changing the state of the mobile terminal.
- a mobile terminal characterized in that the data exchange system based on the state change of the mobile terminal transmits information on the mobile terminal to another by changing the state of the mobile terminal.
- Another object of the present invention is to provide a mobile terminal status information exchange system, The point is that the processing module of the data exchange system based on the state change of the mobile terminal can determine the type of state change of the mobile terminal.
- Another object of the present invention is to provide a mobile terminal status information exchange system, characterized in that the processing module of the data exchange system based on the state change of the mobile terminal can trigger a corresponding event by determining to change the state of the mobile terminal.
- Another object of the present invention is to provide a data exchange system based on a change in state of a mobile terminal, characterized in that the detection module of the data exchange system based on the state change of the mobile terminal can detect the state of the mobile terminal.
- Another object of the present invention is to provide a data exchange system based on a change in state of a mobile terminal, characterized in that the communication module of the data exchange system based on the state change of the mobile terminal can exchange data with other terminals.
- Another object of the present invention is to provide an information exchange method based on the state of a mobile terminal, which is characterized in that the information exchange method based on the state of the mobile terminal can trigger a corresponding event by the user holding the mobile terminal and changing its state, thereby Exchange data with other terminals.
- Another object of the present invention is to provide a method for determining a type of state change of the mobile terminal, the method determining a type of state change of the mobile terminal based on the detected data provided by the detecting module.
- Another object of the present invention is to provide a data exchange system based on a state change of a mobile terminal, characterized in that the data exchange system based on the state change of the mobile terminal provides a data transmission method, and the data transmission method determines the state change of the mobile terminal by The type triggers the corresponding event to send data.
- Another object of the present invention is to provide a data exchange system based on a state change of a mobile terminal, characterized in that the data exchange system based on the state change of the mobile terminal provides a method for operating a peripheral device, and the method for operating the peripheral device passes through a mobile terminal An external device is connected to operate the external device by transmitting data to the mobile terminal by another mobile terminal.
- the present invention provides a data exchange system based on a state change of a mobile terminal, including:
- a processing module connected to each other, a detecting module and a storage module, wherein the detecting module detects state change data of the mobile terminal, and stores state change data of the mobile terminal in the storage module, the detecting module Reading status change data of the mobile terminal stored in the storage module and processing to determine a type of status change of the mobile terminal, thereby triggering corresponding Event.
- the present invention provides a method of operating an external device by a data exchange system in which a state of a mobile terminal changes, comprising the steps of:
- Step 1 receiving the user input, the user input means that the user holds the mobile terminal to make an action, and the mobile terminal changes state, and interacts with the mobile terminal in this manner;
- Step 2 Determine the mobile Terminal status change type data;
- Step 3 Explain the mobile terminal status change type data, the mobile terminal status change type data is interpreted by the interpretation module, and the trigger event data corresponding to the mobile terminal status change type data is obtained, the target object instruction data and the target Data instruction data, the target object instruction data is transmitted to the communication module, and the target data instruction data is transmitted to the data exchange module;
- Step 4 transmitting the target data to the target object, and transmitting the data acquired from the mobile terminal to the target An object, the target object is another mobile terminal, which is connected to an external device;
- Step 5 receiving data input, the data inputting another mobile terminal to receive data transmitted by the mobile terminal, and the data is transmitted to the interpretation module through the communication module;
- Step 6 Interpreting the received data, the received data is transmitted by the communication module, and the received data is interpreted by the interpretation module to generate the call instruction data, and the attribute data of the data is then transmitted to the data exchange module;
- Step 7 transmitting data to the external device, the call instruction data, the attribute data of the data, and the data itself are transmitted to the external device through the data exchange module;
- Step 8 Presenting data, the data being received from the data exchange module, the external device presenting the data through its output device.
- the present invention provides a method of determining a type of state change of the mobile terminal, comprising the steps of:
- Step 1 determining whether the instantaneous speed value of a time point in the instantaneous speed value of each time point of the mobile terminal exceeds a preset speed value during the detection period, and if yes, determining that the state of the mobile terminal changes, if No, no longer judged;
- Step 2 Establish a three-dimensional coordinate system with the direction of the X-axis from west to east and the positive direction of the X-axis to the east.
- the direction of the Y axis is from south to north, and the positive direction of the Y axis is north.
- the Z axis is from the center of the earth to the ground, and the positive direction of the Z axis is toward the ground.
- the original center of the coordinate axis is the position of the mobile terminal at the start and end time of the detection time period;
- Step 3 Calculating the displacement of the mobile terminal, the displacement is The displacement component of the displacement on the X axis, a displacement component on the Y axis and a displacement component on the x axis;
- Step 4 determining the mobile terminal state change type data, first determining that the displacement is in the displacement component of the displacement on the X axis, the displacement component in the x-axis and the displacement component in the x-axis are the largest, and then determining the maximum value a symbol relationship, thereby determining the mobile terminal state change type data;
- Step 5 determining that the user holds the action made by the mobile terminal, determining that the user holds the mobile terminal according to determining the mobile terminal state change type data The type of action.
- the present invention provides another method for determining the type of state change of the mobile terminal, including the following steps:
- Step 1 determining whether the instantaneous speed value of a time point in the instantaneous angular velocity value of each time point of the mobile terminal exceeds a preset angular velocity value during the detection period, and if yes, determining that the state of the mobile terminal changes, If not, no longer judged;
- Step 2 determining the direction of the mobile terminal, determining whether the mobile terminal is held vertically or horizontally by the user, the vertical position is that the user holds the mobile terminal in a vertical manner, and the horizontal holding is a user Holding the mobile terminal in a horizontal manner;
- Step 3 Determine whether the rotation mode of the mobile terminal is rotated clockwise or counterclockwise;
- Step 4 determining that the type of state change occurs in the mobile terminal
- Step 5 Determine the action performed by the user by the mobile terminal, and determine the action performed by the user by the mobile terminal according to determining the type change data of the mobile terminal state.
- the invention is based on a data exchange system in which the state of the mobile terminal is changed, so that the user can operate the mobile terminal without using a finger, thereby liberating the user's finger.
- the external device is provided with the data exchange system based on the state change of the mobile terminal of the present invention, or the external device is connected to a data exchange system based on the state change of the mobile terminal of the present invention, the user can change the state change of the mobile terminal to
- the external device operates to change the way the traditional device operates.
- the external device can be synchronized, and the state of the mobile terminal changes, and immediately reacts to the external device, and the external device immediately responds to the operation.
- the data exchange system based on the state change of the mobile terminal of the present invention can be stored on the user's mobile terminal.
- the entertainment content is transmitted to the audio-visual equipment of the Karaoke Hall, thereby solving the problem of duplicate copyright fees.
- the user can operate the audio and video device by making an action on the mobile terminal and changing the state of the mobile terminal. This will simplify the operation of the audio and video equipment.
- the video device synchronizes the response.
- Figure 1 is a schematic illustration of a three-dimensional coordinate system employed by the present invention
- FIG. 2 is a waveform diagram of angular rate versus time change when the smart terminal of the present invention performs trimming
- FIG. 3 is a waveform diagram of angular rate versus time change when the smart terminal performs the trimming circuit in the present invention
- FIG. 5 is a waveform diagram of an angular rate versus time change when the smart terminal performs a right yaw
- FIG. 5 is a waveform diagram of an angular rate of a smart terminal according to the present invention
- FIG. 7 is a waveform diagram of the angular rate versus time for the smart terminal of the present invention when it is tilted out.
- Figure 8 is a schematic illustration of a three-dimensional coordinate system employed by the present invention
- FIG. 9 is a waveform diagram of linear acceleration versus time change when the smart terminal of the present invention performs trimming
- Figure 10 is a waveform diagram of linear acceleration versus time change when the smart terminal performs the trimming circuit in the present invention
- FIG. 11 is a waveform diagram of linear acceleration versus time change when the smart terminal performs left yaw
- FIG. 12 is a waveform diagram of linear acceleration versus time change when the smart terminal performs right yaw
- Fig. 14 is a waveform diagram showing the linear acceleration versus time for the smart terminal of the present invention when it is tilted out.
- Figure 15 is a block diagram showing the structure of a data exchange system based on a state change of a mobile terminal in accordance with a preferred embodiment of the present invention.
- Figure 16 is a block diagram showing the structure of a switch module of a data exchange system based on a state change of a mobile terminal in accordance with a preferred embodiment of the present invention.
- Figure 17 is a flow chart of a data transmission method of a data exchange system based on a state change of a mobile terminal in accordance with a preferred embodiment of the present invention.
- FIG. 18 is a flowchart of a data exchange system data receiving method based on a mobile terminal state change according to a preferred embodiment of the present invention.
- 19 is a flow diagram of a method of operating a peripheral device by a data exchange system with a state change of a mobile terminal in accordance with the present invention.
- the present invention provides a gyroscope-based human-computer interaction detection and processing method on a smart terminal, which is characterized in that it comprises the following steps:
- the intelligent terminal rotates around the X axis, it is defined as trim. If the smart terminal rotates around the Y axis, it is defined as yaw. If the smart terminal rotates around the z axis, it is defined as traverse.
- the gyroscope is used to respectively test the angular rate of the terminal device rotating around the X axis, the angular rate of rotation around the Y axis, and the angular rate of rotation around the z axis;
- the gyroscope is an angular motion detecting device.
- the gyroscope detects the angular velocity of the terminal device rotating around the X axis, the angular velocity around the Y axis, and the surrounding. The angular rate at which the z-axis rotates.
- step (4) determining the action made by the smart terminal according to the waveform diagram on the curves of the X-axis, the Y-axis, and the Z-axis means:
- the apparent trough refers to:
- the amplitude of the curve is smaller than S1 and continues for more than T seconds
- the apparent peak refers to:
- the amplitude of the curve is greater than S2 and continues to exceed T Seconds, if there are no obvious troughs and no obvious peaks in the waveform diagram, it is considered that there is no obvious change in the waveform diagram.
- the S1, S2 and T are all settable values, which can be set in the program. In this embodiment, S1 is set to -1.5, S2 is 1.5, and T is 0.2.
- the smart terminal performs the action from the near-out direction; as shown in Fig. 2:
- the waveform diagram of the X-axis appears less than -1.5, and lasts for more than 0.2 seconds. It can be analyzed that the X-axis has obvious troughs, and the Y-axis and Z-axis have no obvious change. At this time, the smart terminal has a trimming out. Action, think that the smart terminal does the action of going far and wide.
- the intelligent terminal performs the action from the far-reaching near-turnback; as shown in Fig. 3:
- the waveform graph of the axis appears greater than -1.5, and lasts for more than 0.2 seconds. It can be analyzed that there are obvious peaks on the X-axis in the graph, and there is no obvious change in the Y-axis and the Z-axis.
- the smart terminal has the function of trimming and detouring. , think that smart terminals do the action from far to near.
- the smart terminal is judged to flip to the left; as shown in FIG. 4:
- the smart terminal has a left-lateral yaw motion, and the smart terminal is considered to be flipped to the left.
- the smart terminal is judged to flip to the right; as shown in FIG. 5:
- the waveforms of the X-axis and the Z-axis have no obvious change.
- the smart terminal has a right-wing motion. , think that the smart terminal does the action of flipping to the right.
- the obtained waveform diagram has obvious troughs in the waveform diagram of the Z-axis, and the waveform diagrams of the Y-axis and the X-axis do not change significantly, judge the action of the smart terminal from the near-outward direction; as shown in Fig. 6:
- the waveform of the axis appears less than -1.5, and lasts for more than 0.2 seconds. It can be analyzed that the waveform of the Z-axis in the figure has obvious troughs, and the waveforms of the Y-axis and the X-axis have no obvious change.
- the action of yawing out thinks that the smart terminal does the action from the near side.
- the intelligent terminal performs the action from the far-reaching to the near-turnback.
- Figure 7 Z-axis in the figure
- the waveform graph appears greater than 1.5, and lasts for more than 0.2 seconds. It can be analyzed that the waveform of the Z-axis has obvious peaks, and the waveforms of the Y-axis and the X-axis have no obvious change.
- the smart terminal has a heel. The action of the back, thinks that the smart terminal does the action from far to near.
- the step (4) determines the action made by the smart terminal, and triggers the corresponding event according to the setting: if it is determined that the smart terminal performs the action from the near direction, the event triggered by the smart terminal includes: sending the email, uploading Sending a message, sending a message, sending a message, or launching a weapon in a shooting game; if it is determined that the smart terminal is performing a far-reaching action, the event triggered by the smart terminal includes: receiving a file, downloading a file, and receiving the information;
- the events triggered by the smart terminal include: viewing the previous page, scrolling forward, and viewing the previous item;
- the events triggered by the smart terminal include: viewing the next page, turning over, and viewing the next item.
- the triggering corresponding event can be set as needed in the program of the smart terminal.
- the present invention provides a human-machine interaction detection and processing method based on a linear acceleration sensor on an intelligent terminal, which is characterized in that it comprises the following steps:
- the intelligent terminal rotates around the X axis, it is defined as trim. If the smart terminal rotates around the Y axis, it is defined as yaw. If the smart terminal rotates around the Z axis, it is defined as traverse.
- the linear acceleration sensor is used to respectively test the linear acceleration of the terminal device in the three axial directions of XYZ; the linear acceleration sensor is a linear acceleration detecting device, and There is such an intelligent terminal with a linear acceleration sensor.
- the linear acceleration sensor detects the linear acceleration of the terminal device at three axes of XYZ, respectively.
- step (4) Determine the action made by the intelligent terminal according to the waveform diagram of the obtained linear acceleration of the X-axis, the Y-axis, and the Z-axis on the time curve, and trigger the corresponding event according to the setting.
- determining the action made by the smart terminal according to the waveform diagram on the curves of the X-axis, the Y-axis, and the Z-axis means:
- the apparent trough refers to:
- the amplitude of the curve is smaller than S1 and continues for more than T seconds
- the apparent peak refers to:
- the amplitude of the curve is greater than S2 and continues to exceed T Seconds, if there are no obvious troughs and no obvious peaks in the waveform diagram, it is considered that there is no obvious change in the waveform diagram.
- the S1, S2 and T are all settable values, which can be set in the program. In this embodiment, S1 is set to -1.5, S2 is 1.5, and T is 0.2.
- the waveform diagram of the ⁇ -axis has obvious troughs, and the waveforms of the ⁇ -axis and the X-axis do not change significantly, judge the action of the smart terminal from the near-out direction; as shown in Figure 9:
- the waveform of the ⁇ axis appears less than -1.5, and lasts for more than 0.2 seconds. It can be analyzed that there are obvious troughs in the ⁇ axis, and there is no obvious change in the ⁇ axis and the X axis. At this time, the smart terminal has the trimming out. Action, think that the smart terminal does the action of going far and wide.
- the intelligent terminal performs the action from the far side to the near side; as shown in Fig. 10:
- the waveform graph of the axis appears greater than -1.5, and lasts for more than 0.2 seconds. It can be analyzed that there are obvious peaks on the X-axis in the graph, and there is no obvious change in the x-axis and the X-axis.
- the smart terminal has the function of trimming and detouring. , think that smart terminals do the action from far to near.
- the smart terminal is judged to flip to the left; as shown in FIG.
- the waveform diagram of the X-axis in the figure first appears less than -1.5, and lasts for more than 0.2 seconds, then appears greater than 1.5, and lasts for more than 0.2 seconds, then the waveform of the X-axis in the figure is analyzed with obvious troughs. After that, there are obvious peaks, and the waveforms of the X-axis and the ⁇ -axis do not change significantly.
- the smart terminal has a left yaw motion, and the smart terminal is considered to be flipped to the left.
- the waveform of the X-axis has obvious troughs first, and then there are obvious peaks. If the waveforms of the X-axis and the ⁇ -axis do not change significantly, the smart terminal is judged to flip to the right; as shown in Fig. 12: The waveform diagram of the X-axis in the figure first appears greater than 1.5, and lasts for more than 0.2 seconds, then appears less than -1.5, and lasts longer than 0.2 seconds. The analysis shows that the waveform of the X-axis in the figure has obvious troughs. After the obvious peak, the waveform of the X-axis in the figure has obvious peaks first, and then there are obvious troughs.
- the waveforms of the X-axis and the ⁇ -axis have no obvious change.
- the smart terminal has the right yaw motion. , think that the smart terminal does the action of flipping to the right. If the waveform diagram obtained has obvious troughs in the waveform diagram of the Y-axis, and the waveform diagrams of the Y-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the action from the near-out direction; as shown in Fig. 13:
- the waveform of the axis appears less than -1.5, and lasts for more than 0.2 seconds.
- the smart terminal performs the action from the far side to the near-turn.
- Figure 14 The waveform of the Y-axis in the figure appears greater than 1.5, and lasts for more than 0.2 seconds. It can be analyzed that the waveform of the Y-axis has obvious peaks, and the waveforms of the Y-axis and the Z-axis are not obvious. Change, at this point, the smart terminal has a tumultuous action, and the smart terminal is considered to be moving from far to near.
- the step (4) determines the action made by the smart terminal, and triggers the corresponding event according to the setting: if it is determined that the smart terminal performs the action from the near direction, the event triggered by the smart terminal includes: sending the email, uploading Sending a message, sending a message, sending a message, or launching a weapon in a shooting game; if it is determined that the smart terminal is performing a far-reaching action, the event triggered by the smart terminal includes: receiving a file, downloading a file, and receiving the information;
- the events triggered by the smart terminal include: viewing the previous page, scrolling forward, and viewing the previous item;
- the events triggered by the smart terminal include: viewing the next page, turning over, and viewing the next item.
- the triggering corresponding event can be set as needed in the program of the smart terminal.
- the data exchange system based on the state change of the mobile terminal of the present invention includes a processing module 10, a detecting module 20 and a storage module 30 connected to each other.
- the detecting module 20 detects state change data of the mobile terminal, and stores the detected data in the storage module 30.
- the processing module 10 reads the data in the storage module 30. Based on the data, the processing module 10 can determine what action the user has made to change the state of the mobile terminal. That is, the processing module 10 determines the action of the user who has changed the state of the mobile terminal.
- the processing module 10 triggers a corresponding event after making a determination.
- the detection module 20 further includes a timing module 21 and a state detection module 22, and the timing module 21 is coupled to the state detection module 22.
- the timing module 21 is configured to set a detection period.
- the state detecting module 22 detects the state of each time point of the mobile terminal.
- the status detection module 22 is available for inspection
- the state of the mobile terminal is measured, and the detected status data is then transmitted to the storage module 30. That is, the state detecting module 22 can detect the moving direction of the mobile terminal, the acceleration and acceleration directions, the angular velocity, and the direction of the mobile terminal.
- the direction of the mobile terminal means that the mobile terminal is in a vertical state, an inverted state, a left horizontal state, a right horizontal state, an up state, or a down state.
- the positive vertical state refers to the normal erect state of the mobile terminal.
- the inverted vertical state refers to a state in which the upper and lower portions of the mobile terminal are reversed.
- the left horizontal state refers to a state in which the mobile terminal in the upright state is placed to the left.
- the right horizontal state refers to a state in which the mobile terminal in the vertical state is placed to the right.
- the up state is a state in which the mobile terminal is in the front direction.
- the tilt state refers to a state in which the back side of the mobile terminal is placed upward.
- the timing module 21 has a timing mode that starts timing when a change in state of the mobile terminal is detected, and stops when the mobile terminal stops changing state.
- the detecting module 20 detects that the acceleration of the mobile terminal changes, and the timing module 21 starts timing.
- the state detecting module 22 of the detecting module 20 transmits the detected state data of the mobile terminal to the storage module 30. Specifically, the state detecting module 22 sequentially transmits the detected state data of the mobile terminal to the storage module 30 according to the time sequence provided by the timing module 21.
- the processing module 10 further includes a state change type decision module 11 and a switch module 12 that are connected to each other.
- the state change type decision module 11 reads the state data about the mobile terminal in the memory module 30, and then processes to determine what has changed in the state of the mobile terminal.
- the state change type determining module 11 can process according to the state data about the mobile terminal provided in the storage module 30, and then determine what action the user of the mobile terminal uses to make the state of the mobile terminal occur. Variety.
- the state change type determining module 11 processes the mobile terminal state data, the following data can be obtained.
- the instantaneous speed of each time point of the mobile terminal and/or the instantaneous angular velocity of each time point are detected.
- the state change type determining module 11 may perform the determination by determining the mobile terminal state change method described below, and the determining method includes the following steps:
- Step 1 Determine whether the instantaneous speed value of a time point in the instantaneous speed value of each time point of the mobile terminal exceeds the preset speed value during the detection period. If so, it is determined that the state of the mobile terminal has changed. In other words, if there is, it is determined that the user's action causes the state of the mobile terminal to change. If not, it is no longer determined.
- Step 2 Establish a three-dimensional coordinate system.
- the direction of the X-axis is from the left hand of the user to the right hand of the user, and the positive direction of the X-axis is to the right of the user.
- the direction of the Y-axis is from the user's direction away from the user, and the positive direction of the Y-axis is away from the user.
- the Z axis is from the center of the earth to the ground, and the positive direction of the Z axis is toward the ground.
- the original center of the coordinate axis is the position of the mobile terminal at the start and end time of
- Step 3 Calculate the displacement S of the mobile terminal, the displacement S is the displacement component Sx of the displacement on the X axis, the displacement component Sy on the Y axis, and the displacement component S z on the Z axis, and the mobile terminal ends at the detection time Point position coordinates P(x, y, z
- the position of the mobile terminal is converted into three-dimensional coordinates from the detection time to the end of the detection time. Obtaining coordinates of the last position of the mobile terminal in the three-dimensional coordinate system during the detection period, a displacement S of the mobile terminal in the detection period, and a displacement component Sx of the displacement S on the X-axis, on the Y-axis The displacement component Sy and the displacement component S z on the Z axis.
- Step 4 Determine the mobile terminal status change type data.
- the relationship between the displacement component Sx of the displacement S on the X axis, the displacement component Sy of the Y axis, and the displacement component S z of the Z axis is determined. First, it is determined that the displacement component Sx on the X-axis, the displacement component Sy on the Y-axis, and the displacement component Sz on the Z-axis are the largest, and then the displacement component Sx on the X-axis, the displacement component Sy on the Y-axis, and The sign of the largest value among the displacement components S z of the Z axis.
- the sign of Sx is determined. If the sign of Sx is positive, it is determined that the mobile terminal generates a right ⁇ , and the right ⁇ refers to the mobile terminal The positive direction of the X axis moves. If the sign of Sx is negative, it is determined that the mobile terminal is left-handed, and the left-hand side refers to the mobile terminal moving in the negative direction of the X-axis.
- the value of Sy is the largest of the three values Sx, Sy, Sz, and then determine the sign of Sy, if the sign of Sy is positive, it is determined that the mobile terminal is separated, and the deviation refers to the mobile terminal The positive direction of the Y axis moves. If the sign of Sy is negative, it is determined that the mobile terminal is detoured, and the detour refers to the mobile terminal moving in the negative direction of the Y-axis.
- the value of Sz is the largest of the three values Sx, Sy, Sz, and then determine the sign of Sz, if the sign of Sz is positive, it is determined that the mobile terminal has a cap, and the captain refers to the mobile terminal The positive direction of the Z axis moves. If the sign of Sz is negative, it is determined that the mobile terminal is squatting, and the state change type 6 refers to the mobile terminal moving in the negative direction of the Z axis.
- Step 5 Determine the action taken by the user with the mobile terminal. According to the determination of the mobile terminal The state changes the type data to determine the action taken by the user with the mobile terminal.
- the state change type is right ⁇ , it is determined that the user makes a right squat action.
- the right-handed action means that the user moves the mobile terminal to the right of the user by the mobile terminal.
- the left-handed action means that the user moves the mobile terminal to the left of the user.
- the user is determined to make a detachment action.
- the detachment action means that the user moves the mobile terminal to the mobile terminal in a direction away from the user.
- the bypass operation means that the user moves the mobile terminal to the mobile terminal in a direction close to the user.
- the captain action means that the user moves the mobile terminal to the mobile terminal by the mobile terminal.
- the squatting action refers to the user moving the mobile terminal to the ground by the mobile terminal.
- the state of the mobile terminal can be further divided according to the displacement value generated by the mobile terminal, so that more events can be triggered and the operation can be enriched.
- a displacement comparison value Sc can be preset. If the value of the displacement S is smaller than the displacement comparison value Sc, it is determined that the degree of change of the state of the mobile terminal is the degree of change. If the value of the displacement S is greater than or equal to the displacement comparison value Sc, it is determined that the degree of state change of the mobile terminal is ⁇ . This comparison step can be performed between steps 3 and 4.
- the right ⁇ can be further divided into a right shot and a right ⁇ , so that the right squatting action by the user holding the mobile terminal can also be divided into a right slap motion and a right squat motion.
- the left hand can be further divided into a left beat and a left click, so that the user can perform the left click action by the mobile terminal or can be divided into a left beat action and a left click action.
- the separation can be further divided into a shot and a deviation, so that the user can perform the separation action by the mobile terminal or can be divided into a beat action and a split action.
- the roundabout can be further divided into beatback and roundabout, so that the user can hold the loopback action by the mobile terminal and can also be divided into a beatback action and a loopback action.
- the upper jaw can be further divided into an upper shot and a top, so that the user can perform the upper movement by holding the mobile terminal or can be divided into a topping action and a capping action.
- the lower jaw can be further divided into a lower shot and a lower jaw, so that the user can perform the lower jaw movement by holding the mobile terminal or can be divided into a lower shooting motion and a lower jaw motion.
- a displacement threshold can be further set. When the value of the displacement S is less than the displacement threshold, it is determined that the mobile terminal is defective, and the type of state change that occurs in the mobile terminal is: It can be generated by the user holding the mobile terminal to make an action and going back and forth.
- the state change type decision module 11 further has another mobile terminal state change determination method, the determination method comprising the following steps:
- Step 1 Determine whether the instantaneous speed value of a time point in the instantaneous angular velocity value of each time point of the mobile terminal exceeds the preset angular velocity value during the detection period. If so, it is determined that the state of the mobile terminal has changed. In other words, if there is, it is determined that the user's action causes the state of the mobile terminal to change. If not, it is no longer determined.
- Step 2 Determine the direction of the mobile terminal. It is judged whether the mobile terminal is held vertically or horizontally by the user.
- the vertical holding is that the user holds the mobile terminal in a vertical manner
- the horizontal holding is that the user holds the mobile terminal in a horizontal manner.
- Step 3 Determine whether the mobile terminal rotates clockwise or counterclockwise.
- Step 4 Determine that the mobile terminal has a status change type.
- Step 5 Determine the action taken by the user with the mobile terminal. Based on the determination of the mobile terminal status change type data, the user is determined to perform an action by the mobile terminal.
- the mobile terminal If the mobile terminal is vertically held by the user and rotated clockwise in a vertical manner, it is determined that the type of state change occurs in the mobile terminal: Vertically, the mobile device can hold the mobile phone by the user. The terminal generates a sticking and clockwise rotation action.
- the mobile terminal is vertically held by the user and rotates in a counterclockwise direction in a vertical manner, it is determined that the type of state change occurs in the mobile terminal: vertical reversal, the vertical reversal action of the mobile terminal may be performed by the user holding the mobile terminal It is produced by vertical and counterclockwise rotation.
- the mobile terminal is horizontally held by the user and rotated clockwise in a horizontal manner, it is determined that the type of state change occurs in the mobile terminal: traverse, the traversing action of the mobile terminal can be held by the user.
- the terminal generates a horizontally held and clockwise rotation action.
- the mobile terminal is held horizontally by the user and rotated counterclockwise in a horizontal manner, it is determined that the type of state change occurs in the mobile terminal: horizontal reversal, and the horizontal reversal action generated by the mobile terminal can be performed by the user holding the mobile terminal. Produced by a horizontally held and counterclockwise rotation.
- the state of occurrence of the mobile terminal can be further divided according to the displacement value generated by the mobile terminal. Increase the angle comparison value. Determine the degree of rotation. If the angle value of the rotation of the mobile terminal is less than the angle comparison value, it is determined that the degree of state change of the mobile terminal is jitter. If the shift When the value of the angle of rotation of the mobile terminal is greater than or equal to the angle comparison value, it is determined that the degree of state change of the mobile terminal is revolution.
- This step can be performed between steps 3 and 4, such that the mobile terminal state change type: the vertical turn is further divided into vertical and vertical.
- the mobile terminal state change type vertical reversal is further divided into vertical inverse and vertical reverse.
- the type of state change of the mobile terminal the traverse is further divided into a horizontal sway and a horizontal sway.
- the mobile terminal state change type The horizontal reverse is further divided into horizontal reverse and horizontal reverse.
- the generated mobile terminal state change data is transmitted to the switch module 12.
- the switching module 12 receives the mobile terminal state change data, performs processing, and obtains a corresponding trigger event, and then the switching module 12 can acquire data from the mobile terminal and then exchange with another terminal device.
- the switching module 12 interprets the received mobile terminal state change data, determines a specific event to be triggered, and then acquires the required data from the mobile terminal to perform a corresponding operation.
- the switch module 12 further includes an interpretation module 121, a data exchange module 122 and a communication module 123.
- the interpretation module 121 is connected to the data exchange module 122 and the communication module 123, respectively.
- the interpretation module 121 can interpret the data received by the switching module 12 to determine a corresponding trigger event, data to be acquired to execute the trigger event, and an object to which the data needs to be sent.
- the interpretation module receives data transmitted by the state change type module 11.
- the interpretation module 121 then generates target data instruction data for transmission to the data exchange module 122, and the interpretation module 121 generates target object instruction data to the communication module 123 for transmission to the data.
- the data exchange module 122 receives the target data instruction data issued by the interpretation module 121, and then acquires the target data from the mobile terminal, and the acquired target data is transmitted to the communication module 123.
- the communication module 123 After receiving the target object command issued by the interpretation module 121 and the target data sent by the data exchange module 122, the communication module 123 transmits the target data to the target object through the mobile terminal.
- Fig. 17 is a flow chart showing the data transmission method 100 of the data exchange system in which the state of the mobile terminal of the present invention is changed.
- the information transmitting method 100 includes receiving the user input as indicated at block 102.
- the user input refers to the user holding the mobile terminal to make an action, changing the state of the mobile terminal, and interacting with the mobile terminal in this manner.
- the information transmitting method 100 further includes determining the mobile terminal state change type data as indicated by block 104. The specific determination method is as described above.
- the information transmitting method 100 further includes the explanation of the mobile terminal as indicated by block 106. End state change type. Explain the mobile terminal status change type data, and obtain the mobile terminal status change type to obtain its corresponding trigger event data, the target object instruction data and the target data instruction data.
- the information transmitting method 100 further includes the acquisition target data shown in block 108.
- the acquisition target data can be performed by the data exchange module 122 of the switch module 12.
- the information transmitting method 100 further includes transmitting target data shown in block 110 to the target object.
- the communication module 123 of the switching module 12 After receiving the target object instruction data and the target data, the communication module 123 of the switching module 12 sends the target data to the target object.
- the user moves the mobile terminal horizontally.
- the state detecting module 22 of the detecting module 20 detects that the acceleration of the mobile terminal changes, the state of the mobile terminal changes, and the timing module 21 of the detecting module 20 is activated to perform timing.
- the state detecting module 22 of the detecting module 20 transmits the detected moving module change data and the detecting time point data to the storage module 30.
- the user interacts with the mobile terminal through an action to generate an input.
- the detecting module 20 starts receiving data after detecting the change of the mobile terminal. After the user's action is completed, the detection module 20 completes the detection data and transmits all the detected data to the storage module 30.
- the state change type determining module 11 of the processing module 10 reads data about the state change of the mobile terminal in the storage module, and then the data of the state change of the mobile terminal is processed and determined. It is determined that the mobile terminal generates a state change of 1, and the action made by the user holding the mobile terminal is action 1.
- the state change type decision module 11 transmits the mobile terminal state change 1 data to the interpretation module 121 of the switch module 12.
- the interpretation module 121 interprets the mobile terminal status change 1 data, generates trigger event 1 data, the target object instruction data and the target data instruction data.
- the trigger event 1 is a send picture
- the target object is user B
- the target data is a picture.
- the trigger event is set by the user.
- the interpretation module 121 transmits the target data instruction data to the data exchange module 122, and transmits the target object instruction data to the communication module 123.
- the data exchange module acquires a picture on the mobile terminal, and transmits the picture to the communication module 123 in a data manner.
- the communication module 123 transmits the picture to the user B through the mobile terminal in the form of data.
- FIG. 18 is a data receiving method 200 of an embodiment of a data exchange system based on a state change of a mobile terminal according to the present invention.
- the data receiving method 200 includes receiving data transmitted by other terminals as indicated at block 202. After the data transmitted by other terminals is received by the mobile terminal, the exchange mode is adopted.
- the communication module 123 of block 12 is passed to the interpretation module 121 of the switch module 12.
- the information receiving method 200 further includes interpreting the received data as shown at block 204.
- the interpretation module 121 will identify the attribute data for the data.
- Attribute data refers to the data used for identification, such as data types, such as pictures, music, videos, documents, etc.; such as data formats, such as jpeg, bmp, png, video, wmv, mp4, rmvb, etc. .
- the interpretation module generates call instruction data for invoking an output device on the mobile terminal according to the attribute data of the data.
- the interpretation module 121 transmits the call instruction data, the attribute data of the data, and the data to the data exchange module 122.
- the data receiving method 200 further includes transmitting data as shown at block 206. After receiving the call instruction data, the attribute data of the data, and the data, the data exchange module 122 transmits the data to the mobile terminal.
- the information receiving method 200 further includes the presentation data shown at block 208.
- the mobile terminal invokes its output device to present the data to the user of the mobile terminal.
- An example of receiving data by a mobile terminal is further illustrated.
- the mobile terminal transmits the data to the interpretation module 121 of the switching module 12 through the communication module 123 of the switching module 12.
- the interpretation module 121 interprets the data, recognizes that the data is a picture, and the format is jpeg, and then generates call instruction data.
- the interpretation module 121 transmits the call instruction data, the attribute data (picture, jpeg) of the data, and the data to the data exchange module 122.
- the data exchange module 122 receives the call instruction data, the attribute data (picture, jpeg) of the data and the data, and transmits the data to the mobile terminal. After receiving the call instruction data, the attribute data (picture, jpeg) of the data and the data, the mobile terminal calls the output device of the mobile terminal, in this example, a display screen to display the picture on the display screen.
- the mobile terminal may further have a step: the user can interact with the mobile terminal by acting on the mobile terminal to trigger the receiving of the information event. The mobile terminal can then receive the information.
- the data exchange system of the state change of the mobile terminal of the present invention can also be set on other external devices.
- the invention further provides a method of connecting to other devices.
- the audio-visual device is connected to a mobile terminal through a data line. More specifically, the data line is respectively connected to a data interface of the audio-visual device and a data interface of the mobile terminal. In this way, the shift The data on the mobile terminal can be transmitted to the audio-visual device, and outputted to the user through the audio-visual device.
- the audio-visual device can also be connected to the mobile terminal D by other means, such as network, Bluetooth, wireless network, satellite network, and the like. More specifically, the data of the mobile terminal is acquired by the data exchange module 122 of the switching module 12 and transmitted to the communication module 123 of the switching module 12.
- the communication module 123 transmits the data of the mobile terminal to the audio-visual device through the data line.
- the audiovisual device displays the data of the mobile terminal.
- the user can perform an action by holding another mobile terminal C, trigger a corresponding event, and operate the video device through the mobile terminal. If the music video (Music Video) on the mobile terminal C is sent to the mobile terminal, it is played on the audio device.
- Music Video Music Video
- FIG 19 is a diagram showing a method of operating a peripheral device by a data exchange system in which the state of the mobile terminal is changed, in accordance with an embodiment of the present invention. This is further illustrated by playing a music video as an example.
- a mobile terminal is used as an adapter end, and another data interface of the mobile terminal is connected to an audio-visual device through a data line.
- Another mobile terminal acts as a control terminal, and operates the audio and video device by triggering an event.
- the user uses an action to change the state of the control end to trigger an event.
- the connection between the control terminal and the adapter end is selected from the group consisting of a data line, a network, a Bluetooth, a wireless network, a satellite network, a telephone network, and the like.
- the method 500 of operating a peripheral device further includes receiving user input as shown in block 502.
- the user's input is that the user quickly moves to the sky in the vertical direction with the control end.
- the operational peripheral method 500 further includes determining the mobile terminal state change type data as indicated by block 504. It is determined that the state of the mobile terminal is processed by the state change type determining module 11 of the processing module 10, and the specific determining method is as described above. It is determined that the state change type data of the mobile terminal is a departure. The deviation is then transmitted to the interpretation module 121 of the switching module 12 of the processing module 10.
- the method of operation 500 further includes interpreting the mobile terminal state change type as indicated by block 506. Interpreting the trigger event 3 can be performed by the interpretation module 121 of the switch module 12.
- the interpretation module 121 interprets the mobile terminal state change type data deviation, and obtains a trigger event 3, the target object instruction data and the target data instruction data.
- triggering event 3 refers to sending a music video to the adapter.
- the interpretation module 121 transmits the trigger event 3 data: a music video, and the target data command data: the music video to the data exchange module 122 of the switching module 12.
- the interpretation module 121 transmits the target object instruction data: the adapter end to the communication module 123.
- the operational peripheral method 500 further includes the acquisition target data shown in block 508.
- the acquisition target data can be performed by the data exchange module 122 of the switch module 12.
- the data exchange module 122 acquires the music video and then transmits the music video to the communication module 123.
- the operational peripheral method 500 further includes transmitting target data to the target object as shown in block 510.
- the communication module 123 of the switching module 12 After receiving the target object instruction data and the target data, the communication module 123 of the switching module 12 sends the target data to the target object.
- the communication module 123 transmits the received music video to the adapter end.
- the method 500 of operating the peripherals further includes receiving data input as indicated by block 512.
- the data input refers to data transmitted by other terminals. In this example, the data transmitted by the control terminal.
- the communication module 123 of the switching module 12 of the processing module 10 transmits the data to the interpretation module 121 of the switching module 12.
- the operational peripheral method 500 further includes interpreting the received data as indicated at block 514. The data received by the interpretation module 121.
- the data is a music video in the format mp4.
- the interpretation module generates call instruction data for invoking an output device on the mobile terminal according to the attribute data of the data.
- the interpretation module 121 transmits the call instruction data, the attribute data of the data, and the data to the data exchange module 122.
- the information receiving method 500 further includes transmitting the data to the external device as indicated at block 516.
- the data exchange module 122 receives the call instruction data, attribute data of the data: music video, MP4 and the music video, and transmits the data to the video terminal through the mobile terminal.
- the information receiving method 500 further includes the presentation data shown at block 518. After receiving the call instruction data, the attribute data of the music video, and the music video, the video terminal calls its output device to present the data to the user of the mobile terminal.
- the display device of the audio-visual device outputs a music video
- the sound device of the audio-visual device outputs the sound of the music video.
- the data exchange system based on the state change of the mobile terminal of the present invention can be set in an adapter and then connected to the data interface of other terminals.
- the present invention further includes a mode selection module 40.
- the mode selection module 40 provides a plurality of trigger event configuration data, and the mode selection module 40 is coupled to the processing module 10 for the processing module 10 to read the trigger event configuration data to adapt to different applications.
- the console can invoke an entertainment terminal configuration through the mode selection module, which can be configured with an adapter.
- the entertainment terminal configuration enables the data exchange system triggering event of the mobile terminal state change of the present invention to be adapted for use in the entertainment terminal.
- the mode selection module 40 can also customize the event configuration, and the user can define each trigger event by the mode selection module 40.
- the invention further includes an adjustment module 50.
- the adjustment module 50 and the detection module 20 are respectively Connected to the processing module.
- the adjustment module 50 is configured for the user to adjust the preset speed value, the preset angular velocity value, the displacement threshold, and the displacement comparison value.
- the adjusting module 50 records, by the detecting module 20, data that the user changes the state of the mobile terminal by performing the same action multiple times by the mobile terminal, and then transmits the data to the processing module 10 for processing, and then obtains the adjusted data.
- the adjusting module 50 records, by the detecting module 20, that the mobile terminal changes the data caused by the user performing the same action multiple times, and then transmits the data to the processing module 10 for processing.
- the adjusted preset speed value is obtained.
- the preset angular velocity value, the displacement threshold, the displacement comparison value can also be adjusted in this manner.
- the events invoked in the present invention include: send, receive, page, upload, download, confirm, play, stop, forward, and rewind.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
A data exchange system based on mobile terminal state change, including a processing module, a detection module and a storage module connected to each other. The detection module detects state change data of a mobile terminal and stores the state change data of the mobile terminal in the storage module. The detection module reads the state change data of the mobile terminal stored in the storage module and processes same so as to decide on the state change type of the mobile terminal, thus triggering a corresponding event.
Description
基于移动终端状态改变的数据交换系统 Data exchange system based on state change of mobile terminal
技术领域 Technical field
本发明涉及移动终端,特别涉及移动终端数据交换系统,该移动终端数据 交换系统可根据移动终端的状态改变而触发事件。 The present invention relates to mobile terminals, and more particularly to a mobile terminal data exchange system that can trigger an event based on a change in state of the mobile terminal.
背景技术 Background technique
移动终端的出现, 给人们的生活带来了便利。 人们可在移动终端在工作 及娱乐。但是, 人们也被限制在按键上, 人们必须通过按键来触发相应事件, 从而实现信息交换。 如在移动终端上浏览网页, 当浏览完一个页面之后, 需 要通过按移动终端其中一键以触发换页事件, 以实现浏览内容更新。 触摸屏 应用在移动终端, 表面上, 人们摆脱了按键的限制, 通过对触摸屏的操作, 触发相应事件, 从而实现信息交换。 实际上, 人们只是摆脱了物理按键, 还 是受到虚拟按键的限制。 虽然在触摸屏上显示的是图标, 但是, 也只有触摸 图标相应显示的位置才能触发相应的事件。 或许, 通过按键触发事件适合于 大多场合, 但是, 也正因为其普遍性, 在某些场合并不是最佳的解决方案。 例如, 在卡拉 OK厅, 普遍的收费方式都是按时收费的。 通常歌唱者会在唱 主歌或副歌时到达其最佳的歌唱状态, 而在尾奏部分状态会有滑落。 因此, 尾奏部分会被切掉, 一方面唱歌者可保持最佳的状态, 另一方面也可以节省 时间唱更多的歌。 但是现在的切歌操作, 需要找到 "切歌"按键, 按下去触 发切歌事件。 幸运的是, 切歌按键很快找到, 这样歌唱者还能操持部分最佳 状态。 若切歌操作不能很快完成, 则歌唱者需要重新找到最佳状态, 但是在 余下时间内, 歌唱者都未必能找回最佳状态。 可能因此, 歌唱者的心情会变 得低落。 但是, 现在的卡拉 OK系统, 所有操作都是被限制在按键上。 可能 使得歌唱者带着开心的心情去唱歌, 带着失望的心情离开。 但是, 如果歌唱 者可通过移动其手持的移动终端便可完成切歌操作, 这样既可以节省时间, 又可以使歌唱者的状态得以保持。 The emergence of mobile terminals has brought convenience to people's lives. People can work and play at the mobile terminal. However, people are also limited to buttons, and people must trigger the corresponding events by pressing a button to exchange information. For example, when browsing a webpage on a mobile terminal, after browsing a page, it is necessary to trigger a page change event by pressing one of the buttons of the mobile terminal to implement browsing content update. The touch screen is applied to the mobile terminal. On the surface, people get rid of the limitation of the button, and the corresponding event is triggered by the operation of the touch screen, thereby realizing information exchange. In fact, people just get rid of physical buttons, but they are also limited by virtual buttons. Although the icon is displayed on the touch screen, only the position corresponding to the touch icon can trigger the corresponding event. Perhaps, triggering events via buttons is suitable for most situations, but because of its ubiquity, it is not the best solution in some cases. For example, in the Karaoke Hall, the general charging method is charged on time. Usually the singer will reach his best singing state while singing the main song or chorus, and the state of the ending will slip. Therefore, the ending part will be cut off, on the one hand, the singer can maintain the best state, on the other hand, it can save time and sing more songs. But now the cut song operation, you need to find the "cut song" button, press to trigger the cut song event. Fortunately, the cut song button is quickly found, so that the singer can still perform some of the best conditions. If the song-cutting operation cannot be completed quickly, the singer needs to find the best state again, but for the rest of the time, the singer may not be able to find the best state. As a result, the singer's mood will be low. However, in the current karaoke system, all operations are limited to the buttons. It may make the singer sing with a happy mood and leave with disappointment. However, if the singer can complete the song-cutting operation by moving his hand-held mobile terminal, this saves time and keeps the singer's state.
现在, 人们的知识产权意识都在提高, 人们也逐渐接受付费娱乐。 如购 买影音产品。 而且现在人们购买影音产品的方式有很多, 可在商店购卖, 也 可以通过在线订购。 对购买音乐而言, 最流行的一种购买方式是, 在线购卖
单曲, 然后下载至该购买者移动终端。 对于以上的购买行为, 都是支付了版 权费的。 然而购买者在卡拉 OK中, 又会遇到重复收费的问题。 通常, 人们 通常在卡拉 OK厅中, 都会唱其熟悉的歌曲, 而熟悉的歌曲会被购买后, 存 储在移动终端中。 从所周知的是, 在卡拉 OK厅唱歌是要对所唱的歌曲付版 权费的。 但是, 人们购买了的歌曲也是支付了版权费。 如果将所购买传送至 卡拉 OK厅所提供的设备中,则歌唱者只需支付租用卡拉 ΟΚ厅设备的费用, 而无须重复支付版权费, 从而降低了娱乐成本。 同样, 卡拉 ΟΚ厅的硬件设 备会比一般家里的好, 消费者可通过购买正版的影片, 下载至移动终端, 租 用卡拉 ΟΚ厅的硬件来观看, 但是现在的卡拉 ΟΚ厅都不具备这样的条件。 发明内容 Nowadays, people's awareness of intellectual property is increasing, and people are gradually accepting paid entertainment. Such as the purchase of audio and video products. And now there are many ways to buy audio and video products, which can be purchased at the store or ordered online. The most popular way to buy music is to buy it online. The single is then downloaded to the buyer's mobile terminal. For the above purchases, the copyright fees are paid. However, in the karaoke, the purchaser will encounter the problem of repeated charges. Usually, people usually sing their familiar songs in the karaoke hall, and the familiar songs are purchased and stored in the mobile terminal. It is well known that singing in a karaoke hall is to pay royalties for the songs sung. However, people who bought songs also paid royalties. If the purchase is transferred to the equipment provided by the karaoke hall, the singer only has to pay for the rental of the equipment of the karaoke hall without having to pay the copyright fee repeatedly, thereby reducing the entertainment cost. Similarly, the hardware equipment of the Karaoke Hall will be better than that of the average home. Consumers can purchase the genuine video, download it to the mobile terminal, and rent the hardware of the Karaoke Hall to watch it. But now the Karaoke Hall does not have such conditions. . Summary of the invention
本发明要解决的技术问题是, 克服现有的技术缺陷, 提供一种不需要按 键和触摸屏幕, 就可实现对智能终端进行控制的智能终端上基于陀螺仪的人 机交互检测及处理方法。 The technical problem to be solved by the present invention is to overcome the existing technical deficiencies and provide a gyro-based human-computer interaction detection and processing method on an intelligent terminal that can control the intelligent terminal without pressing a button and a touch screen.
本发明的技术解决方案是, 提供一种智能终端上基于陀螺仪的人机交互 检测及处理方法, 其特征在于: 它包括以下步骤: The technical solution of the present invention is to provide a gyroscope-based human-computer interaction detection and processing method on a smart terminal, which is characterized in that it comprises the following steps:
( 1 )、 在智能终端上建立三维坐标系, X轴方向为水平从左到右, Υ轴 方向为垂直从下到上, ζ轴方向垂直于智能终端屏幕从后到前; (1) Establish a three-dimensional coordinate system on the intelligent terminal, the X-axis direction is horizontal from left to right, the Υ-axis direction is vertical from bottom to top, and the ζ-axis direction is perpendicular to the smart terminal screen from back to front;
(2 )、 若智能终端持有人对智能终端做出动作, 通过陀螺仪来分别测试 终端设备围绕 X轴旋转的角速率、围绕 Υ轴旋转的角速率和围绕 Ζ轴旋转的 角速率; (2) If the smart terminal holder acts on the intelligent terminal, the gyroscope is used to respectively test the angular rate of the terminal device rotating around the X axis, the angular rate of rotation around the x-axis, and the angular rate of rotation about the x-axis;
(3 )、 通过对角速率的采样, 分别得到围绕 X轴、 Υ轴和 Ζ轴三个方向 旋转的角速率对于时间的变化曲线; (3), by sampling the diagonal rate, respectively, obtaining angular velocity curves for rotation around the X-axis, the Υ-axis, and the Ζ-axis;
(4 )、 根据得到的 X轴、 Υ轴、 Ζ轴的角速率对于时间的变化曲线上的 波形图, 判断智能终端做出的动作, 并根据设定触发相应事件。 (4) Determine the action made by the intelligent terminal according to the waveform diagram of the obtained angular rate of the X-axis, the Υ-axis, and the Ζ axis with respect to the time, and trigger the corresponding event according to the setting.
所述步骤(4 ) 中, 根据得到的 X轴、 Υ轴、 Ζ轴的角速率对于时间的变 化曲线上的波形图, 判断智能终端做出的动作, 是指: In the step (4), determining the action performed by the intelligent terminal according to the waveform diagram of the obtained angular rate of the X-axis, the Υ-axis, and the Ζ-axis with respect to the time change means:
若得到的波形图中, X轴的波形图有明显波谷, Υ轴和 ζ轴的波形图无 明显变化, 则判断智能终端做自近向远甩出的动作; If the waveform diagram of the X-axis has obvious troughs in the obtained waveform diagram, and the waveform diagrams of the Υ-axis and the ζ-axis do not change significantly, it is judged that the smart terminal performs the action from the near-out direction;
若得到的波形图, X轴的波形图有明显波峰, Υ轴和 ζ轴的波形图无明 显变化, 则判断智能终端做自远向近甩回的动作;
若得到的波形图, Y轴的波形图先有明显波谷, 后有明显波峰, X轴和 z轴的波形图无明显变化, 则判断智能终端做向左翻转的动作; If the obtained waveform diagram has obvious peaks in the waveform diagram of the X-axis, and the waveform diagrams of the Υ-axis and the ζ-axis do not change significantly, it is judged that the intelligent terminal performs the action from the far-reaching near-turnback; If the waveform diagram obtained, the waveform diagram of the Y-axis has obvious troughs first, and there are obvious peaks afterwards, and the waveform diagrams of the X-axis and the z-axis do not change significantly, then the smart terminal is judged to flip to the left;
若得到的波形图, Y轴的波形图先有明显波峰, 后有明显波谷, X轴和 z轴的波形图无明显变化, 则判断智能终端做向右翻转的动作; If the waveform diagram obtained, the waveform diagram of the Y-axis has obvious peaks first, and after the obvious troughs, the waveform diagrams of the X-axis and the z-axis have no obvious change, then the smart terminal is judged to flip to the right;
若得到的波形图, Z轴的波形图有明显波谷, Y轴和 X轴的波形图无明 显变化, 则判断智能终端做自近向远甩出的动作; If the obtained waveform diagram has obvious troughs in the waveform diagram of the Z-axis, and the waveform diagrams of the Y-axis and the X-axis do not change significantly, it is judged that the smart terminal performs the action from the near-outward direction;
若得到的波形图, Z轴的波形图有明显波峰, Y轴和 X轴的波形图无明 显变化, 则判断智能终端做自远向近甩回的动作。 If the waveform diagram obtained has obvious peaks in the waveform diagram of the Z-axis, and the waveform diagrams of the Y-axis and the X-axis do not change significantly, it is judged that the smart terminal performs the action from the far-end to the near-turnback.
步骤 (4) 中判断智能终端做出的动作, 并根据设定触发相应事件是指: 若判断为智能终端做自近向远甩出的动作,则智能终端触发的事件包括: 发送邮件、 上传文件、 发出短信、 发送信息或者射击游戏中的武器发射; 若判断为智能终端做自远向近甩回的动作,则智能终端触发的事件包括: 接收文件、 下载文件、 接收信息; The step (4) determines the action made by the smart terminal, and triggers the corresponding event according to the setting: if it is determined that the smart terminal performs the action from the near direction, the event triggered by the smart terminal includes: sending the email, uploading Sending a message, sending a message, sending a message, or launching a weapon in a shooting game; if it is determined that the smart terminal is performing a far-reaching action, the event triggered by the smart terminal includes: receiving a file, downloading a file, and receiving the information;
若判断智能终端做向左翻转的动作, 则智能终端触发的事件包括: 查看 前一页、 前翻、 查看上一项内容; If the smart terminal performs the action of flipping to the left, the events triggered by the smart terminal include: viewing the previous page, scrolling forward, and viewing the previous item;
若判断智能终端做向右翻转的动作, 则智能终端触发的事件包括: 查看 后一页、 后翻、 查看下一项内容。 If the smart terminal performs the action of flipping to the right, the events triggered by the smart terminal include: viewing the next page, turning over, and viewing the next item.
所述的有明显波谷是指: 波形图中, 曲线的幅度小于 S1 , 且持续超过 T 秒, 有明显波峰是指: 波形图中, 曲线的幅度大于 S2, 且持续超过 T秒, 若波形图中, 既无明显波谷, 又无明显波峰, 则认为, 该波形图无明显变化, 所述 S1、 S2和 T均为可设定值, 可在程序中自行设定。 The obvious trough is as follows: In the waveform diagram, the amplitude of the curve is less than S1 and lasts for more than T seconds. The obvious peak is: In the waveform diagram, the amplitude of the curve is greater than S2 and continues for more than T seconds. In the middle, there is no obvious trough, and there is no obvious peak. It is considered that the waveform has no obvious change. The S1, S2 and T are all settable values, which can be set in the program.
本发明具有以下优点: The invention has the following advantages:
本发明克服了现有技术的不足, 通过在智能终端上设置三维坐标系, 并 采用陀螺仪分别检测设备围绕 X轴、 Y轴、 Z轴旋转的角速率, 来获知手持 者对智能终端做出什么动作, 并通过对该动作的定义与该动作对应的智能终 端中相应事件的触发, 使体感动作与智能终端的控制对应起来, 做到不需要 触按物理按键或者触摸手机屏幕, 而是通过对智能终端做动作即可完成对智 能终端的相应人机交互操作, 比如发送信息、 发送邮件、 下载文件等等, 极 大方便了智能终端的使用者。 而且这种操作方式还能给使用者带来乐趣。
本发明要解决的技术问题是, 克服现有的技术缺陷, 提供一种不需要按 键和触摸屏幕, 就可实现对智能终端进行控制的智能终端上基于线加速度传 感器的人机交互检测及处理方法。 The invention overcomes the deficiencies of the prior art, by setting a three-dimensional coordinate system on the intelligent terminal, and using a gyroscope to respectively detect the angular rate of rotation of the device around the X-axis, the Y-axis, and the Z-axis, to know that the handheld person makes the smart terminal What action, and by triggering the corresponding event in the smart terminal corresponding to the action, the somatosensory action is associated with the control of the smart terminal, so that it is not necessary to touch the physical button or touch the screen of the mobile phone, but through By performing actions on the intelligent terminal, the corresponding human-computer interaction operations on the smart terminal, such as sending information, sending mail, downloading files, etc., can be performed, which greatly facilitates the user of the smart terminal. And this way of operation can also bring fun to the user. The technical problem to be solved by the present invention is to overcome the existing technical defects and provide a human-machine interaction detection and processing method based on line acceleration sensor on an intelligent terminal capable of controlling an intelligent terminal without using a button and a touch screen. .
线加速度描述刚体线速度的大小和方向对时间变化率的物理量,它的国 际单位制符号单位是 m/sA2 (米 /秒平分), 线加速度传感器和加速度传感器 的最大区别是: 加速度传感器获取的数值中有地球引力引起的重力加速度的 值, 而线加速度是不包括重力加速度的, 因为排除了重力加速度的干扰, 线 加速度传感器在某些场合的应用比加速度传感器的更加有效。 The linear acceleration describes the magnitude and direction of the rigid body linear velocity. The unit of the international unit system is m/s A 2 (m/s bisect). The biggest difference between the linear acceleration sensor and the acceleration sensor is: Accelerometer The obtained values include the value of gravity acceleration caused by gravity of the earth, and the linear acceleration does not include gravity acceleration. Because the interference of gravity acceleration is excluded, the application of the linear acceleration sensor in some occasions is more effective than the acceleration sensor.
本发明的技术解决方案是, 提供一种智能终端上基于线加速度传感器的 人机交互检测及处理方法, 其特征在于: 它包括以下步骤: The technical solution of the present invention is to provide a human-machine interaction detection and processing method based on a linear acceleration sensor on an intelligent terminal, which is characterized in that it comprises the following steps:
( 1 )、 在智能终端上建立三维坐标系, X轴方向为水平从左到右, Y轴 方向为垂直从下到上, Z轴方向垂直于智能终端屏幕从后到前; (1) Establish a three-dimensional coordinate system on the intelligent terminal, the X-axis direction is horizontal from left to right, the Y-axis direction is vertical from bottom to top, and the Z-axis direction is perpendicular to the smart terminal screen from back to front;
(2)、 若智能终端持有人对智能终端做出动作, 使用线加速度传感器来 分别测试终端设备在 XYZ三个轴的线加速度; (2) If the smart terminal holder acts on the intelligent terminal, the linear acceleration sensor is used to respectively test the linear acceleration of the terminal device in the three axes of XYZ;
(3)、通过对线加速度的采样,分别得到 XYZ三个轴的线加速度对于时 间的变化曲线; (3) By sampling the linear acceleration, the linear acceleration curves of the three axes of XYZ are obtained for time;
(4)、 根据得到的 X轴、 Y轴、 Z轴的线加速度对于时间的变化曲线上 的波形图, 判断智能终端做出的动作, 并根据设定触发相应事件。 (4) Determine the action made by the intelligent terminal according to the obtained waveform diagram of the X-axis, Y-axis, and Z-axis linear acceleration curve, and trigger the corresponding event according to the setting.
所述步骤(4) 中, 根据得到的 X轴、 Y轴、 Z轴的线加速率对于时间的 变化曲线上的波形图, 判断智能终端做出的动作, 是指: In the step (4), according to the waveform diagram of the obtained line acceleration rate of the X-axis, the Y-axis, and the Z-axis on the curve of time, determining the action performed by the smart terminal means:
若得到的波形图中, Z轴的波形图有明显波谷, Y轴和 X轴的波形图无 明显变化, 则判断智能终端做自近向远甩出的动作; If the waveform diagram of the Z-axis has obvious troughs, and the waveform diagrams of the Y-axis and the X-axis do not change significantly, it is judged that the smart terminal performs the action from the near-out direction;
若得到的波形图, Z轴的波形图有明显波峰, Y轴和 Z轴的波形图无明 显变化, 则判断智能终端做自远向近甩回的动作; If the obtained waveform diagram has obvious peaks in the waveform diagram of the Z-axis, and the waveform diagrams of the Y-axis and the Z-axis do not change significantly, it is judged that the smart terminal performs the action from the far-end to the near-turnback;
若得到的波形图, X轴的波形图先有明显波谷, 后有明显波峰, Y轴和 z轴的波形图无明显变化, 则判断智能终端做向左翻转的动作; If the waveform diagram is obtained, the waveform of the X-axis has obvious troughs first, and then there are obvious peaks. If the waveforms of the Y-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the flipping to the left;
若得到的波形图, X轴的波形图先有明显波峰, 后有明显波谷, Y轴和 z轴的波形图无明显变化, 则判断智能终端做向右翻转的动作; If the waveform diagram is obtained, the waveform of the X-axis has obvious peaks first, and after the obvious troughs, the waveform diagrams of the Y-axis and the z-axis do not change significantly, then the smart terminal is judged to flip to the right;
若得到的波形图, Y轴的波形图有明显波谷, X轴和 z轴的波形图无明 显变化, 则判断智能终端做自近向远甩出的动作;
若得到的波形图, Y轴的波形图有明显波峰, X轴和 z轴的波形图无明 显变化, 则判断智能终端做自远向近甩回的动作。 If the obtained waveform diagram has obvious troughs in the waveform diagram of the Y-axis, and the waveform diagrams of the X-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the action from the near-outward direction; If the obtained waveform diagram has obvious peaks in the waveform diagram of the Y-axis, and the waveform diagrams of the X-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the action from the far-reaching to the near-turnback.
步骤 (4) 中判断智能终端做出的动作, 并根据设定触发相应事件是指: 若判断为智能终端做自近向远甩出的动作,则智能终端触发的事件包括: 发送邮件、 上传文件、 发出短信、 发送信息或者射击游戏中的武器发射; 若判断为智能终端做自远向近甩回的动作,则智能终端触发的事件包括: 接收文件、 下载文件、 接收信息; The step (4) determines the action made by the smart terminal, and triggers the corresponding event according to the setting: if it is determined that the smart terminal performs the action from the near direction, the event triggered by the smart terminal includes: sending the email, uploading Sending a message, sending a message, sending a message, or launching a weapon in a shooting game; if it is determined that the smart terminal is performing a far-reaching action, the event triggered by the smart terminal includes: receiving a file, downloading a file, and receiving the information;
若判断智能终端做向左翻转的动作, 则智能终端触发的事件包括: 查看 前一页、 前翻、 查看上一项内容; If the smart terminal performs the action of flipping to the left, the events triggered by the smart terminal include: viewing the previous page, scrolling forward, and viewing the previous item;
若判断智能终端做向右翻转的动作, 则智能终端触发的事件包括: 查看 后一页、 后翻、 查看下一项内容。 If the smart terminal performs the action of flipping to the right, the events triggered by the smart terminal include: viewing the next page, turning over, and viewing the next item.
所述的有明显波谷是指: 波形图中, 曲线的幅度小于 S1 , 且持续超过 T 秒, 有明显波峰是指: 波形图中, 曲线的幅度大于 S2, 且持续超过 T秒, 若波形图中, 既无明显波谷, 又无明显波峰, 则认为, 该波形图无明显变化, 所述 S1、 S2和 T均为可设定值, 可在程序中自行设定。 The obvious trough is as follows: In the waveform diagram, the amplitude of the curve is less than S1 and lasts for more than T seconds. The obvious peak is: In the waveform diagram, the amplitude of the curve is greater than S2 and continues for more than T seconds. In the middle, there is no obvious trough, and there is no obvious peak. It is considered that the waveform has no obvious change. The S1, S2 and T are all settable values, which can be set in the program.
本发明具有以下优点: The invention has the following advantages:
本发明克服了现有技术的不足, 通过在智能终端上设置三维坐标系, 并 采用线加速度传感器分别检测设备在 X轴、 Y轴、 Z轴的线加速度, 来获知 手持者对智能终端做出什么动作, 并通过对该动作的定义与该动作对应的智 能终端中相应事件的触发, 使体感动作与智能终端的控制对应起来, 做到不 需要触按物理按键或者触摸手机屏幕, 而是通过对智能终端做动作即可完成 对智能终端的相应人机交互操作, 比如发送信息、发送邮件、下载文件等等, 极大方便了智能终端的使用者。 而且这种操作方式还能给使用者带来乐趣。 The invention overcomes the deficiencies of the prior art, by setting a three-dimensional coordinate system on the intelligent terminal, and detecting the linear acceleration of the device in the X-axis, the Y-axis, and the Z-axis by using a linear acceleration sensor, respectively, to know that the handheld person makes the smart terminal What action, and by triggering the corresponding event in the smart terminal corresponding to the action, the somatosensory action is associated with the control of the smart terminal, so that it is not necessary to touch the physical button or touch the screen of the mobile phone, but through The action of the intelligent terminal can complete the corresponding human-computer interaction operation of the intelligent terminal, such as sending information, sending mail, downloading files, etc., which greatly facilitates the user of the intelligent terminal. And this way of operation can also bring fun to the user.
本发明的一个目的在于提供一基于移动终端状态改变的数据交换系统, 其特点在于该基于移动终端状态改变的数据交换系统可通过改变一移动终端 的状态触发相应的事件。 It is an object of the present invention to provide a data exchange system based on a change in state of a mobile terminal, characterized in that the data exchange system based on the state change of the mobile terminal can trigger a corresponding event by changing the state of a mobile terminal.
本发明的另一个目的在于提供一基于移动终端状态改变的数据交换系 统, 其特点在于该基于移动终端状态改变的数据交换系统, 通过改变该移动 终端的状态将在该移动终端的信息传送至另一个移动终端。 Another object of the present invention is to provide a data exchange system based on a state change of a mobile terminal, characterized in that the data exchange system based on the state change of the mobile terminal transmits information on the mobile terminal to another by changing the state of the mobile terminal. A mobile terminal.
本发明的另一个目的在于提供一基于移动终端状态信息交换系统, 其特
点在于该基于移动终端状态改变的数据交换系统的该处理模块可判定该移动 终端状态改变类型。 Another object of the present invention is to provide a mobile terminal status information exchange system, The point is that the processing module of the data exchange system based on the state change of the mobile terminal can determine the type of state change of the mobile terminal.
本发明的另一个目的在于提供一基于移动终端状态信息交换系统, 其特 点在于该基于移动终端状态改变的数据交换系统的该处理模块可通过判定改 变该移动终端的状态的方式触发相应的事件。 Another object of the present invention is to provide a mobile terminal status information exchange system, characterized in that the processing module of the data exchange system based on the state change of the mobile terminal can trigger a corresponding event by determining to change the state of the mobile terminal.
本发明的另一个目的在于提供一基于移动终端状态改变的数据交换系 统, 其特点在于该基于移动终端状态改变的数据交换系统的该检测模块可检 测该移动终端的状态。 Another object of the present invention is to provide a data exchange system based on a change in state of a mobile terminal, characterized in that the detection module of the data exchange system based on the state change of the mobile terminal can detect the state of the mobile terminal.
本发明的另一个目的在于提供一基于移动终端状态改变的数据交换系 统, 其特点在于该基于移动终端状态改变的数据交换系统的该通信模块可与 其它终端进行数据交换。 Another object of the present invention is to provide a data exchange system based on a change in state of a mobile terminal, characterized in that the communication module of the data exchange system based on the state change of the mobile terminal can exchange data with other terminals.
本发明的另一个目的在于提供一基于移动终端状态的信息交换方法, 其 特点在于该基于移动终端状态的信息交换方法, 可通过使用者持该移动终端 并改变其状态而触发相应的事件, 从而与其它终端交换数据。 Another object of the present invention is to provide an information exchange method based on the state of a mobile terminal, which is characterized in that the information exchange method based on the state of the mobile terminal can trigger a corresponding event by the user holding the mobile terminal and changing its state, thereby Exchange data with other terminals.
本发明的另一个目的在于提供一判定该移动终端状态改变类型的方法, 该方法根据该检测模块所提供的检测数据判定该移动终端的状态改变类型。 Another object of the present invention is to provide a method for determining a type of state change of the mobile terminal, the method determining a type of state change of the mobile terminal based on the detected data provided by the detecting module.
本发明的另一个目的在于提供一基于移动终端状态改变的数据交换系 统, 其特点在于该基于移动终端状态改变的数据交换系统提供一数据发送方 法, 该数据发送方法通过判定该移动终端的状态改变类型触发相应的事件而 发送数据。 Another object of the present invention is to provide a data exchange system based on a state change of a mobile terminal, characterized in that the data exchange system based on the state change of the mobile terminal provides a data transmission method, and the data transmission method determines the state change of the mobile terminal by The type triggers the corresponding event to send data.
本发明的另一目的在于提供一基于移动终端状态改变的数据交换系统, 其特点在于该基于移动终端状态改变的数据交换系统提供一操作外设的方 法, 该操作外设的方法通过一移动终端连接一外部设备, 通过另一移动终端 对该移动终端传送数据的方式, 操作该外部设备。 Another object of the present invention is to provide a data exchange system based on a state change of a mobile terminal, characterized in that the data exchange system based on the state change of the mobile terminal provides a method for operating a peripheral device, and the method for operating the peripheral device passes through a mobile terminal An external device is connected to operate the external device by transmitting data to the mobile terminal by another mobile terminal.
为了实现上述目的, 本发明提供一基于移动终端状态改变的数据交换系 统, 包括: In order to achieve the above object, the present invention provides a data exchange system based on a state change of a mobile terminal, including:
相互连接的一处理模块, 一检测模块和一存储模块, 其中, 所述检测模 块检测该移动终端的状态变化数据, 并将该移动终端的状态变化数据存储在 所述存储模块, 所述检测模块读取存储在所述存储模块中的该移动终端的状 态变化数据并进行处理, 以判定该移动终端状态改变类型, 从而触发相应的
事件。 a processing module connected to each other, a detecting module and a storage module, wherein the detecting module detects state change data of the mobile terminal, and stores state change data of the mobile terminal in the storage module, the detecting module Reading status change data of the mobile terminal stored in the storage module and processing to determine a type of status change of the mobile terminal, thereby triggering corresponding Event.
为了实现上述目的, 本发明提供了一种通过移动终端状态改变的数据交 换系统操作外部设备的方法, 包括以下步骤: In order to achieve the above object, the present invention provides a method of operating an external device by a data exchange system in which a state of a mobile terminal changes, comprising the steps of:
步骤 1 : 接收该使用者输入, 所述使用者输入是指该使用者持该移动终 端做动作,使该移动终端状态改变,通过这样的方式与该移动终端产生互动; 步骤 2: 判定该移动终端状态改变类型数据; Step 1: receiving the user input, the user input means that the user holds the mobile terminal to make an action, and the mobile terminal changes state, and interacts with the mobile terminal in this manner; Step 2: Determine the mobile Terminal status change type data;
步骤 3: 解释该移动终端状态改变类型数据, 所述该移动终端状态改变 类型数据通过该解释模块解释, 可得到该移动终端状态改变类型数据相应的 触发事件数据, 该目标对象指令数据和该目标数据指令数据, 该目标对象指 令数据被传送至该通信模块,该目标数据指令数据被传送至该数据交换模块; 步骤 4: 发送目标数据至目标对象, 将从该移动终端获取的数据传送至 目标对象, 所述目标对象为另一移动终端, 其与一外部设备相连接; Step 3: Explain the mobile terminal status change type data, the mobile terminal status change type data is interpreted by the interpretation module, and the trigger event data corresponding to the mobile terminal status change type data is obtained, the target object instruction data and the target Data instruction data, the target object instruction data is transmitted to the communication module, and the target data instruction data is transmitted to the data exchange module; Step 4: transmitting the target data to the target object, and transmitting the data acquired from the mobile terminal to the target An object, the target object is another mobile terminal, which is connected to an external device;
步骤 5: 接收数据输入, 所述数据输入另一该移动终端接收由该移动终 端所传送的数据, 所述数据通过该通信模块传送至该解释模块; Step 5: receiving data input, the data inputting another mobile terminal to receive data transmitted by the mobile terminal, and the data is transmitted to the interpretation module through the communication module;
步骤 6: 解释所接收数据, 该所接收的数据由该通信模块所传送, 所接 收数据被该解释模块解释, 生成该调用指令数据, 该数据的属性数据, 然后 被传送至该数据交换模块; Step 6: Interpreting the received data, the received data is transmitted by the communication module, and the received data is interpreted by the interpretation module to generate the call instruction data, and the attribute data of the data is then transmitted to the data exchange module;
步骤 7: 传送数据至外部设备, 该调用指令数据、 该数据的属性数据和 该数据本身通过该数据交换模块传送至该外部设备; Step 7: transmitting data to the external device, the call instruction data, the attribute data of the data, and the data itself are transmitted to the external device through the data exchange module;
步骤 8: 展示数据, 所述数据从该数据交换模块所接收, 该外部设备通 过其输出设备展示所述数据。 Step 8: Presenting data, the data being received from the data exchange module, the external device presenting the data through its output device.
为了实现上述目的, 本发明提供了一判定该移动终端状态改变类型的方 法, 包括收下步骤: In order to achieve the above object, the present invention provides a method of determining a type of state change of the mobile terminal, comprising the steps of:
步骤 1 : 判断在检测时间段内, 在该移动终端各时间点的即时速度值中 是否有一时间点的即时速度值超过预设的速度值, 若有, 则判定该移动终端 状态发生改变, 若没有, 则不再判定; Step 1: determining whether the instantaneous speed value of a time point in the instantaneous speed value of each time point of the mobile terminal exceeds a preset speed value during the detection period, and if yes, determining that the state of the mobile terminal changes, if No, no longer judged;
步骤 2: 建立三维坐标系, X轴的方向由西向东, X轴的正方向向东。 Y 轴的方向由南向北, Y轴的正方向向北。 Z轴由地心向地面, Z轴的正方向 向地面, 该坐标轴的原心为该移动终端在检测时间段起止时间点的位置; 步骤 3: 计算该移动终端的位移, 该位移在该位移在 X轴的位移分量,
在 Y轴的位移分量和在 ζ轴的位移分量; Step 2: Establish a three-dimensional coordinate system with the direction of the X-axis from west to east and the positive direction of the X-axis to the east. The direction of the Y axis is from south to north, and the positive direction of the Y axis is north. The Z axis is from the center of the earth to the ground, and the positive direction of the Z axis is toward the ground. The original center of the coordinate axis is the position of the mobile terminal at the start and end time of the detection time period; Step 3: Calculating the displacement of the mobile terminal, the displacement is The displacement component of the displacement on the X axis, a displacement component on the Y axis and a displacement component on the x axis;
步骤 4: 判定该移动终端状态改变类型数据, 首先判定该位移在该位移 在 X轴的位移分量,在 Υ轴的位移分量和在 Ζ轴的位移分量中值最大者,然 后判定该数值最大者的符号关系, 从而确定该移动终端状态改变类型数据; 步骤 5: 判定该使用者持该移动终端做出的动作, 根据判定该移动终端 状态改变类型数据, 判断该使用者持该移动终端做出的动作类型。 Step 4: determining the mobile terminal state change type data, first determining that the displacement is in the displacement component of the displacement on the X axis, the displacement component in the x-axis and the displacement component in the x-axis are the largest, and then determining the maximum value a symbol relationship, thereby determining the mobile terminal state change type data; Step 5: determining that the user holds the action made by the mobile terminal, determining that the user holds the mobile terminal according to determining the mobile terminal state change type data The type of action.
为了实现上述目的, 本发明提供了另一种判定该移动终端状态改变类型 的方法, 包括收下步骤: In order to achieve the above object, the present invention provides another method for determining the type of state change of the mobile terminal, including the following steps:
步骤 1 : 判断在检测时间段内, 在该移动终端各时间点的即时角速度值 中是否有一时间点的即时速度值超过一预设的角速度值, 若有, 则判定该移 动终端状态发生改变, 若没有, 则不再判定; Step 1: determining whether the instantaneous speed value of a time point in the instantaneous angular velocity value of each time point of the mobile terminal exceeds a preset angular velocity value during the detection period, and if yes, determining that the state of the mobile terminal changes, If not, no longer judged;
步骤 2: 判定该移动终端的方向, 判断该移动终端是被使用者竖持还是 横持, 所述的竖持是使用者以竖直的方式持住该移动终端, 所述横持是使用 者以横的方式持住该移动终端; Step 2: determining the direction of the mobile terminal, determining whether the mobile terminal is held vertically or horizontally by the user, the vertical position is that the user holds the mobile terminal in a vertical manner, and the horizontal holding is a user Holding the mobile terminal in a horizontal manner;
步骤 3: 判定该移动终端的旋转方式, 是以顺时针旋转, 还是以逆时针 旋转; Step 3: Determine whether the rotation mode of the mobile terminal is rotated clockwise or counterclockwise;
步骤 4: 判定判定该移动终端发生状态改变类型; Step 4: determining that the type of state change occurs in the mobile terminal;
步骤 5: 判定该使用者持该移动终端做出的动作, 根据判定该移动终端 状态改变类型数据, 判断该使用者持该移动终端做出的动作。 Step 5: Determine the action performed by the user by the mobile terminal, and determine the action performed by the user by the mobile terminal according to determining the type change data of the mobile terminal state.
本发明基于移动终端状态改变的数据交换系统, 可使使用者不用手指也 可对移动终端进行操作, 从而解放使用者的手指。 当外部设备设有本发明基 于移动终端状态改变的数据交换系统, 或者该外部设备连接一本发明基于移 动终端状态改变的数据交换系统, 则使用者可通过改变该移动终端的状态变 化, 对该外部设备进行操作, 改变传统对外部设备的操作方式。 优选地, 可 对该外部设备进行同步操作, 对该移动终端的状态改变, 立即会反应至外部 设备上, 外部设备立即响应操作。 更重要的是, 若本发明基于移动终端状态 改变的数据交换系统应用在卡拉 ΟΚ厅的影音设备上时, 可通过本发明基于 移动终端状态改变的数据交换系统, 将使用者的移动终端上存储的娱乐内容 传送至该卡拉 ΟΚ厅的影音设备, 从而解决重复版权费的问题。 而且使用者 可以通过对该移动终端做出动作, 改变该移动终端的状态来对该影音设备操
作, 这将简化影音设备的操作。 优选地, 当该使用者通过对该移动终端做出 动作, 该影音设备同步响应。 附图说明 The invention is based on a data exchange system in which the state of the mobile terminal is changed, so that the user can operate the mobile terminal without using a finger, thereby liberating the user's finger. When the external device is provided with the data exchange system based on the state change of the mobile terminal of the present invention, or the external device is connected to a data exchange system based on the state change of the mobile terminal of the present invention, the user can change the state change of the mobile terminal to The external device operates to change the way the traditional device operates. Preferably, the external device can be synchronized, and the state of the mobile terminal changes, and immediately reacts to the external device, and the external device immediately responds to the operation. More importantly, if the data exchange system based on the state change of the mobile terminal of the present invention is applied to the audio-visual equipment of the Karaoke Hall, the data exchange system based on the state change of the mobile terminal of the present invention can be stored on the user's mobile terminal. The entertainment content is transmitted to the audio-visual equipment of the Karaoke Hall, thereby solving the problem of duplicate copyright fees. Moreover, the user can operate the audio and video device by making an action on the mobile terminal and changing the state of the mobile terminal. This will simplify the operation of the audio and video equipment. Preferably, when the user acts on the mobile terminal, the video device synchronizes the response. DRAWINGS
图 1是本发明采用的三维坐标系的示意图; Figure 1 is a schematic illustration of a three-dimensional coordinate system employed by the present invention;
图 2是本发明智能终端做纵倾甩出时的角速率对于时间变化的波形图; 图 3为本发明智能终端做纵倾甩回时的角速率对于时间变化的波形图; 图 4为本发明智能终端做左横摆时的角速率对于时间变化的波形图; 图 5为本发明智能终端做右横摆时的角速率对于时间变化的波形图; 图 6为本发明智能终端做横倾甩出时的角速率对于时间变化的波形图; 图 7为本发明智能终端做横倾甩出时的角速率对于时间变化的波形图。 图 8是本发明采用的三维坐标系的示意图; 2 is a waveform diagram of angular rate versus time change when the smart terminal of the present invention performs trimming; FIG. 3 is a waveform diagram of angular rate versus time change when the smart terminal performs the trimming circuit in the present invention; FIG. 5 is a waveform diagram of an angular rate versus time change when the smart terminal performs a right yaw; FIG. 5 is a waveform diagram of an angular rate of a smart terminal according to the present invention; A waveform diagram of the angular rate versus time for the chirping; FIG. 7 is a waveform diagram of the angular rate versus time for the smart terminal of the present invention when it is tilted out. Figure 8 is a schematic illustration of a three-dimensional coordinate system employed by the present invention;
图 9 是本发明智能终端做纵倾甩出时的线加速度对于时间变化的波形 图; 9 is a waveform diagram of linear acceleration versus time change when the smart terminal of the present invention performs trimming;
图 1 0为本发明智能终端做纵倾甩回时的线加速度对于时间变化的波形 图; Figure 10 is a waveform diagram of linear acceleration versus time change when the smart terminal performs the trimming circuit in the present invention;
图 11为本发明智能终端做左横摆时的线加速度对于时间变化的波形图; 图 12为本发明智能终端做右横摆时的线加速度对于时间变化的波形图; 图 13为本发明智能终端做横倾甩出时的线加速度对于时间变化的波形 图; FIG. 11 is a waveform diagram of linear acceleration versus time change when the smart terminal performs left yaw; FIG. 12 is a waveform diagram of linear acceleration versus time change when the smart terminal performs right yaw; FIG. a waveform diagram of the linear acceleration of the terminal when the heel is thrown out;
图 14为本发明智能终端做横倾甩出时的线加速度对于时间变化的波形 图。 Fig. 14 is a waveform diagram showing the linear acceleration versus time for the smart terminal of the present invention when it is tilted out.
图 15为根据本发明的一优选实施例的基于移动终端状态改变的数据交 换系统的结构示意图。 Figure 15 is a block diagram showing the structure of a data exchange system based on a state change of a mobile terminal in accordance with a preferred embodiment of the present invention.
图 1 6为根据本发明的一优选实施例的基于移动终端状态改变的数据交 换系统的交换模块结构示意图。 Figure 16 is a block diagram showing the structure of a switch module of a data exchange system based on a state change of a mobile terminal in accordance with a preferred embodiment of the present invention.
图 1 7为根据本发明的一优选实施例的基于移动终端状态改变的数据交 换系统的数据发送方法流程图。 Figure 17 is a flow chart of a data transmission method of a data exchange system based on a state change of a mobile terminal in accordance with a preferred embodiment of the present invention.
图 18为根据本发明的一优选实施例的基于基于移动终端状态改变的数 据交换系数据接收方法的流程图。
图 19为根据本发明通过移动终端状态改变的数据交换系统操作外设的 方法流程图。 FIG. 18 is a flowchart of a data exchange system data receiving method based on a mobile terminal state change according to a preferred embodiment of the present invention. 19 is a flow diagram of a method of operating a peripheral device by a data exchange system with a state change of a mobile terminal in accordance with the present invention.
具体实舫式 Concrete implementation
根据本发明的权利要求和说明书所公开的内容, 本发明的技术方案具体 如下文所述。 According to the claims and the disclosure of the present invention, the technical solution of the present invention is specifically as described below.
下面结合附图和具体实施方式对本发明作进一步详细的说明。 The present invention will be further described in detail below in conjunction with the drawings and specific embodiments.
如图 1所示, 本发明提供一种智能终端上基于陀螺仪的人机交互检测及 处理方法, 其特征在于: 它包括以下步骤: As shown in FIG. 1 , the present invention provides a gyroscope-based human-computer interaction detection and processing method on a smart terminal, which is characterized in that it comprises the following steps:
( 1 )、 在智能终端上建立三维坐标系, X轴方向为水平从左到右, Y轴 方向为垂直从下到上, Z轴方向垂直于终端屏幕从后到前; 在智能终端上建 立三维坐标系, 在目前已在手机安卓系统中实现该技术; (1), establish a three-dimensional coordinate system on the intelligent terminal, the X-axis direction is horizontal from left to right, the Y-axis direction is vertical from bottom to top, and the Z-axis direction is perpendicular to the terminal screen from back to front; establishment on the intelligent terminal The three-dimensional coordinate system has been implemented in the Android Android system;
若智能终端围绕着 X轴旋转运动, 则定义为纵倾, 若智能终端围绕着 Y 轴旋转运动, 则定义为横摆, 若智能终端围绕着 z轴旋转运动, 则定义为横 倾。 If the intelligent terminal rotates around the X axis, it is defined as trim. If the smart terminal rotates around the Y axis, it is defined as yaw. If the smart terminal rotates around the z axis, it is defined as traverse.
(2)、 若智能终端持有人对智能终端做出动作, 通过陀螺仪来分别测试 终端设备围绕 X轴旋转的角速率、围绕 Y轴旋转的角速率和围绕 z轴旋转的 角速率; 所述陀螺仪为角运动检测装置, 目前已有这种带有陀螺仪的智能终 端, 在本发明中, 陀螺仪分别检测终端设备围绕 X轴旋转的角速率、 围绕 Y 轴旋转的角速率和围绕 z轴旋转的角速率。 (2) If the smart terminal holder acts on the smart terminal, the gyroscope is used to respectively test the angular rate of the terminal device rotating around the X axis, the angular rate of rotation around the Y axis, and the angular rate of rotation around the z axis; The gyroscope is an angular motion detecting device. Currently, there is such an intelligent terminal with a gyroscope. In the present invention, the gyroscope detects the angular velocity of the terminal device rotating around the X axis, the angular velocity around the Y axis, and the surrounding. The angular rate at which the z-axis rotates.
(3 )、 通过对角速率的采样, 分别得到围绕 X轴、 Y轴和 Z轴三个方向 旋转的角速率对于时间的变化曲线; (3), by sampling the diagonal rate, respectively, obtaining an angular rate change curve with respect to time in three directions of the X axis, the Y axis, and the Z axis;
(4)、 根据得到的 X轴、 Y轴、 Z轴的角速率对于时间的变化曲线上的 波形图, 判断智能终端做出的动作, 并根据设定触发相应事件。 (4) Determine the action made by the intelligent terminal according to the obtained waveform diagram of the angular rate of the X-axis, the Y-axis, and the Z-axis, and trigger the corresponding event according to the setting.
所述步骤(4) 中, 根据 X轴、 Y轴、 Z轴的曲线上的波形图, 判断智能 终端做出的动作, 是指: In the step (4), determining the action made by the smart terminal according to the waveform diagram on the curves of the X-axis, the Y-axis, and the Z-axis means:
在本发明中, 所述的有明显波谷是指: 波形图中, 曲线的幅度小于 S1 , 且持续超过 T秒, 有明显波峰是指: 波形图中, 曲线的幅度大于 S2, 且持 续超过 T秒, 若波形图中, 既无明显波谷, 又无明显波峰, 则认为, 该波形 图无明显变化, 所述 S1、 S2和 T均为可设定值, 可在程序中自行设定, 在 本实施例中设置 S1为 -1 .5, S2为 1 .5,T为 0.2。
若得到的波形图中, X轴的波形图有明显波谷, Y轴和 z轴的波形图无 明显变化, 则判断智能终端做自近向远甩出的动作; 如图 2所示: 图中 X轴 的波形图曲线出现小于 -1 .5, 且持续超过 0.2秒, 可以分析出图中 X轴有明 显波谷, Y轴和 Z轴无明显变化, 此时即智能终端有纵倾甩出的动作, 认为 智能终端做近向远甩出的动作。 In the present invention, the apparent trough refers to: In the waveform diagram, the amplitude of the curve is smaller than S1 and continues for more than T seconds, and the apparent peak refers to: In the waveform diagram, the amplitude of the curve is greater than S2 and continues to exceed T Seconds, if there are no obvious troughs and no obvious peaks in the waveform diagram, it is considered that there is no obvious change in the waveform diagram. The S1, S2 and T are all settable values, which can be set in the program. In this embodiment, S1 is set to -1.5, S2 is 1.5, and T is 0.2. If the waveform diagram of the X-axis has obvious troughs, and the waveform diagrams of the Y-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the action from the near-out direction; as shown in Fig. 2: The waveform diagram of the X-axis appears less than -1.5, and lasts for more than 0.2 seconds. It can be analyzed that the X-axis has obvious troughs, and the Y-axis and Z-axis have no obvious change. At this time, the smart terminal has a trimming out. Action, think that the smart terminal does the action of going far and wide.
若得到的波形图, X轴的波形图有明显波峰, Y轴和 z轴的波形图无明 显变化, 则判断智能终端做自远向近甩回的动作; 如图 3所示: 图中 X轴的 波形图曲线出现大于 -1 .5, 且持续超过 0.2秒, 可以分析出图中 X轴有明显 波峰, Y轴和 Z轴无明显变化, 此时即智能终端有纵倾甩回的动作, 认为智 能终端做自远向近甩回的动作。 If the obtained waveform diagram has obvious peaks in the waveform diagram of the X-axis, and the waveform diagrams of the Y-axis and the z-axis do not change significantly, it is judged that the intelligent terminal performs the action from the far-reaching near-turnback; as shown in Fig. 3: The waveform graph of the axis appears greater than -1.5, and lasts for more than 0.2 seconds. It can be analyzed that there are obvious peaks on the X-axis in the graph, and there is no obvious change in the Y-axis and the Z-axis. At this time, the smart terminal has the function of trimming and detouring. , think that smart terminals do the action from far to near.
若得到的波形图, Y轴的波形图先有明显波峰, 后有明显波谷, X轴和 Z轴的波形图无明显变化, 则判断智能终端做向左翻转的动作; 如图 4所示: 图中 Y轴的波形图曲线先出现小于 -1 .5, 且持续超过 0.2秒, 然后出现大于 1 .5, 且持续超过 0.2秒, 则分析得出图中 Y轴的波形图先有明显波谷, 后有 明显波峰, X轴和 Z轴的波形图无明显变化, 此时即智能终端有左横摆的动 作, 认为智能终端做向左翻转的动作。 If the waveform diagram is obtained, the waveform of the Y-axis has obvious peaks first, and after the obvious troughs, the waveforms of the X-axis and the Z-axis do not change significantly, then the smart terminal is judged to flip to the left; as shown in FIG. 4: The waveform diagram of the Y-axis in the figure first appears less than -1.5, and lasts longer than 0.2 seconds, then appears greater than 1.5, and lasts longer than 0.2 seconds, then the waveform of the Y-axis in the graph is analyzed with obvious troughs. After that, there are obvious peaks, and the waveforms of the X-axis and the Z-axis do not change significantly. At this time, the smart terminal has a left-lateral yaw motion, and the smart terminal is considered to be flipped to the left.
若得到的波形图, Y轴的波形图先有明显波谷, 后有明显波峰, X轴和 Z轴的波形图无明显变化, 则判断智能终端做向右翻转的动作; 如图 5所示: 图中 Y轴的波形图曲线先出现大于 1 .5, 且持续超过 0.2秒, 然后出现小于 -1 .5, 且持续超过 0.2秒, 则分析得出图中 Y轴的波形图先有明显波谷, 后 有明显波峰, 则分析得出图中 Y轴的波形图先有明显波峰, 后有明显波谷, X轴和 Z轴的波形图无明显变化, 此时即智能终端有右横摆的动作, 认为智 能终端做向右翻转的动作。 If the obtained waveform diagram, the waveform diagram of the Y-axis has obvious troughs first, and there are obvious peaks afterwards, and the waveform diagrams of the X-axis and the Z-axis do not change significantly, then the smart terminal is judged to flip to the right; as shown in FIG. 5: The waveform graph of the Y-axis in the figure first appears greater than 1.5, and lasts for more than 0.2 seconds, then appears less than -1.5, and lasts longer than 0.2 seconds, then the waveform of the Y-axis in the graph is analyzed with obvious troughs. After the obvious peak, the analysis shows that the waveform of the Y-axis has obvious peaks, and there are obvious troughs. The waveforms of the X-axis and the Z-axis have no obvious change. At this time, the smart terminal has a right-wing motion. , think that the smart terminal does the action of flipping to the right.
若得到的波形图, Z轴的波形图有明显波谷, Y轴和 X轴的波形图无明 显变化, 则判断智能终端做自近向远甩出的动作; 如图 6所示: 图中 Z轴的 波形图曲线出现小于 -1 .5, 且持续超过 0.2秒, 可以分析出图中 Z轴的波形 图有明显波谷, Y轴和 X轴的波形图无明显变化, 此时即智能终端有横倾甩 出的动作, 认为智能终端做自近向远甩出的动作。 If the obtained waveform diagram has obvious troughs in the waveform diagram of the Z-axis, and the waveform diagrams of the Y-axis and the X-axis do not change significantly, judge the action of the smart terminal from the near-outward direction; as shown in Fig. 6: The waveform of the axis appears less than -1.5, and lasts for more than 0.2 seconds. It can be analyzed that the waveform of the Z-axis in the figure has obvious troughs, and the waveforms of the Y-axis and the X-axis have no obvious change. The action of yawing out, thinks that the smart terminal does the action from the near side.
若得到的波形图, Z轴的波形图有明显波峰, Y轴和 X轴的波形图无明 显变化, 则判断智能终端做自远向近甩回的动作。 如图 7所示: 图中 Z轴的
波形图曲线出现大于 1 .5, 且持续超过 0.2秒, 可以分析出图中 Z轴的波形 图有明显波峰, Y轴和 X轴的波形图无明显变化, 此时即智能终端有横倾甩 回的动作, 认为智能终端做自远向近甩回的动作。 If the obtained waveform diagram has obvious peaks in the waveform diagram of the Z-axis, and the waveform diagrams of the Y-axis and the X-axis do not change significantly, it is judged that the intelligent terminal performs the action from the far-reaching to the near-turnback. As shown in Figure 7: Z-axis in the figure The waveform graph appears greater than 1.5, and lasts for more than 0.2 seconds. It can be analyzed that the waveform of the Z-axis has obvious peaks, and the waveforms of the Y-axis and the X-axis have no obvious change. At this time, the smart terminal has a heel. The action of the back, thinks that the smart terminal does the action from far to near.
步骤 (4) 中判断智能终端做出的动作, 并根据设定触发相应事件是指: 若判断为智能终端做自近向远甩出的动作,则智能终端触发的事件包括: 发送邮件、 上传文件、 发出短信、 发送信息或者射击游戏中的武器发射; 若判断为智能终端做自远向近甩回的动作,则智能终端触发的事件包括: 接收文件、 下载文件、 接收信息; The step (4) determines the action made by the smart terminal, and triggers the corresponding event according to the setting: if it is determined that the smart terminal performs the action from the near direction, the event triggered by the smart terminal includes: sending the email, uploading Sending a message, sending a message, sending a message, or launching a weapon in a shooting game; if it is determined that the smart terminal is performing a far-reaching action, the event triggered by the smart terminal includes: receiving a file, downloading a file, and receiving the information;
若判断智能终端做向左翻转的动作, 则智能终端触发的事件包括: 查看 前一页、 前翻、 查看上一项内容; If the smart terminal performs the action of flipping to the left, the events triggered by the smart terminal include: viewing the previous page, scrolling forward, and viewing the previous item;
若判断智能终端做向右翻转的动作, 则智能终端触发的事件包括: 查看 后一页、 后翻、 查看下一项内容。 If the smart terminal performs the action of flipping to the right, the events triggered by the smart terminal include: viewing the next page, turning over, and viewing the next item.
所述触发相应事件, 可以在智能终端的程序中根据需要设定。 The triggering corresponding event can be set as needed in the program of the smart terminal.
下面结合附图和具体实施方式对本发明作进一步详细的说明。 The present invention will be further described in detail below in conjunction with the drawings and specific embodiments.
如图 8所示, 本发明提供一种智能终端上基于线加速度传感器的人机交 互检测及处理方法, 其特征在于: 它包括以下步骤: As shown in FIG. 8, the present invention provides a human-machine interaction detection and processing method based on a linear acceleration sensor on an intelligent terminal, which is characterized in that it comprises the following steps:
( 1 )、 在智能终端上建立三维坐标系, X轴方向为水平从左到右, Y轴 方向为垂直从下到上, Z轴方向垂直于终端屏幕从后到前; 在智能终端上建 立三维坐标系, 在目前已在手机安卓系统中实现该技术; (1), establish a three-dimensional coordinate system on the intelligent terminal, the X-axis direction is horizontal from left to right, the Y-axis direction is vertical from bottom to top, and the Z-axis direction is perpendicular to the terminal screen from back to front; establishment on the intelligent terminal The three-dimensional coordinate system has been implemented in the Android Android system;
若智能终端围绕着 X轴旋转运动, 则定义为纵倾, 若智能终端围绕着 Y 轴旋转运动, 则定义为横摆, 若智能终端围绕着 Z轴旋转运动, 则定义为横 倾。 If the intelligent terminal rotates around the X axis, it is defined as trim. If the smart terminal rotates around the Y axis, it is defined as yaw. If the smart terminal rotates around the Z axis, it is defined as traverse.
(2)、 若智能终端持有人对智能终端做出动作, 通过线加速度传感器来 分别测试终端设备在 XYZ三个轴方向运动的线加速度;所述线加速度传感器 为线加速度检测装置, 目前已有这种带有线加速度传感器的智能终端, 在本 发明中, 线加速度传感器分别检测终端设备在 XYZ三个轴的线加速度。 (2) If the smart terminal holder acts on the intelligent terminal, the linear acceleration sensor is used to respectively test the linear acceleration of the terminal device in the three axial directions of XYZ; the linear acceleration sensor is a linear acceleration detecting device, and There is such an intelligent terminal with a linear acceleration sensor. In the present invention, the linear acceleration sensor detects the linear acceleration of the terminal device at three axes of XYZ, respectively.
(3 )、 通过对线加速度的采样, 分别得到 X轴、 Y轴和 Z轴三个方向的 线加速度对于时间的变化曲线; (3), by sampling the linear acceleration, respectively, the linear acceleration curves of the X-axis, the Y-axis, and the Z-axis are obtained in time;
(4)、 根据得到的 X轴、 Y轴、 Z轴的线加速度对于时间的变化曲线上 的波形图, 判断智能终端做出的动作, 并根据设定触发相应事件。
所述步骤(4) 中, 根据 X轴、 Y轴、 Z轴的曲线上的波形图, 判断智能 终端做出的动作, 是指: (4) Determine the action made by the intelligent terminal according to the waveform diagram of the obtained linear acceleration of the X-axis, the Y-axis, and the Z-axis on the time curve, and trigger the corresponding event according to the setting. In the step (4), determining the action made by the smart terminal according to the waveform diagram on the curves of the X-axis, the Y-axis, and the Z-axis means:
在本发明中, 所述的有明显波谷是指: 波形图中, 曲线的幅度小于 S1 , 且持续超过 T秒, 有明显波峰是指: 波形图中, 曲线的幅度大于 S2, 且持 续超过 T秒, 若波形图中, 既无明显波谷, 又无明显波峰, 则认为, 该波形 图无明显变化, 所述 S1、 S2和 T均为可设定值, 可在程序中自行设定, 在 本实施例中设置 S1为 -1 .5, S2为 1 .5,T为 0.2。 In the present invention, the apparent trough refers to: In the waveform diagram, the amplitude of the curve is smaller than S1 and continues for more than T seconds, and the apparent peak refers to: In the waveform diagram, the amplitude of the curve is greater than S2 and continues to exceed T Seconds, if there are no obvious troughs and no obvious peaks in the waveform diagram, it is considered that there is no obvious change in the waveform diagram. The S1, S2 and T are all settable values, which can be set in the program. In this embodiment, S1 is set to -1.5, S2 is 1.5, and T is 0.2.
若得到的波形图中, Ζ轴的波形图有明显波谷, Υ轴和 X轴的波形图无 明显变化, 则判断智能终端做自近向远甩出的动作; 如图 9所示: 图中 Ζ轴 的波形图曲线出现小于 -1 .5, 且持续超过 0.2秒, 可以分析出图中 Ζ轴有明 显波谷, Υ轴和 X轴无明显变化, 此时即智能终端有纵倾甩出的动作, 认为 智能终端做近向远甩出的动作。 If the waveform diagram of the Ζ-axis has obvious troughs, and the waveforms of the Υ-axis and the X-axis do not change significantly, judge the action of the smart terminal from the near-out direction; as shown in Figure 9: The waveform of the Ζ axis appears less than -1.5, and lasts for more than 0.2 seconds. It can be analyzed that there are obvious troughs in the Ζ axis, and there is no obvious change in the Υ axis and the X axis. At this time, the smart terminal has the trimming out. Action, think that the smart terminal does the action of going far and wide.
若得到的波形图, Ζ轴的波形图有明显波峰, Υ轴和 X轴的波形图无明 显变化, 则判断智能终端做自远向近甩回的动作; 如图 10所示: 图中 X轴 的波形图曲线出现大于 -1 .5, 且持续超过 0.2秒, 可以分析出图中 X轴有明 显波峰, Υ轴和 X轴无明显变化, 此时即智能终端有纵倾甩回的动作, 认为 智能终端做自远向近甩回的动作。 If the obtained waveform diagram has obvious peaks in the waveform diagram of the Ζ axis, and the waveform diagram of the Υ axis and the X axis does not change significantly, it is judged that the intelligent terminal performs the action from the far side to the near side; as shown in Fig. 10: The waveform graph of the axis appears greater than -1.5, and lasts for more than 0.2 seconds. It can be analyzed that there are obvious peaks on the X-axis in the graph, and there is no obvious change in the x-axis and the X-axis. At this time, the smart terminal has the function of trimming and detouring. , think that smart terminals do the action from far to near.
若得到的波形图, X轴的波形图先有明显波峰, 后有明显波谷, X轴和 Υ轴的波形图无明显变化,则判断智能终端做向左翻转的动作;如图 11所示: 图中 X轴的波形图曲线先出现小于 -1 .5, 且持续超过 0.2秒, 然后出现大于 1 .5, 且持续超过 0.2秒, 则分析得出图中 X轴的波形图先有明显波谷, 后有 明显波峰, X轴和 Υ轴的波形图无明显变化, 此时即智能终端有左横摆的动 作, 认为智能终端做向左翻转的动作。 If the waveform diagram is obtained, the waveform of the X-axis has obvious peaks first, and after the obvious troughs, the waveforms of the X-axis and the Υ-axis do not change significantly, then the smart terminal is judged to flip to the left; as shown in FIG. The waveform diagram of the X-axis in the figure first appears less than -1.5, and lasts for more than 0.2 seconds, then appears greater than 1.5, and lasts for more than 0.2 seconds, then the waveform of the X-axis in the figure is analyzed with obvious troughs. After that, there are obvious peaks, and the waveforms of the X-axis and the Υ-axis do not change significantly. At this time, the smart terminal has a left yaw motion, and the smart terminal is considered to be flipped to the left.
若得到的波形图, X轴的波形图先有明显波谷, 后有明显波峰, X轴和 Υ轴的波形图无明显变化, 则判断智能终端做向右翻转的动作; 如图 12所 示: 图中 X轴的波形图曲线先出现大于 1 .5, 且持续超过 0.2秒, 然后出现 小于 -1 .5, 且持续超过 0.2秒, 则分析得出图中 X轴的波形图先有明显波谷, 后有明显波峰,则分析得出图中 X轴的波形图先有明显波峰,后有明显波谷, X轴和 Υ轴的波形图无明显变化, 此时即智能终端有右横摆的动作, 认为智 能终端做向右翻转的动作。
若得到的波形图, Y轴的波形图有明显波谷, Y轴和 z轴的波形图无明 显变化, 则判断智能终端做自近向远甩出的动作; 如图 13所示: 图中 Y轴 的波形图曲线出现小于 -1 .5, 且持续超过 0.2秒, 可以分析出图中 Y轴的波 形图有明显波谷, Y轴和 Z轴的波形图无明显变化, 此时即智能终端有横倾 甩出的动作, 认为智能终端做自近向远甩出的动作。 If the waveform diagram is obtained, the waveform of the X-axis has obvious troughs first, and then there are obvious peaks. If the waveforms of the X-axis and the Υ-axis do not change significantly, the smart terminal is judged to flip to the right; as shown in Fig. 12: The waveform diagram of the X-axis in the figure first appears greater than 1.5, and lasts for more than 0.2 seconds, then appears less than -1.5, and lasts longer than 0.2 seconds. The analysis shows that the waveform of the X-axis in the figure has obvious troughs. After the obvious peak, the waveform of the X-axis in the figure has obvious peaks first, and then there are obvious troughs. The waveforms of the X-axis and the Υ-axis have no obvious change. At this time, the smart terminal has the right yaw motion. , think that the smart terminal does the action of flipping to the right. If the waveform diagram obtained has obvious troughs in the waveform diagram of the Y-axis, and the waveform diagrams of the Y-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the action from the near-out direction; as shown in Fig. 13: The waveform of the axis appears less than -1.5, and lasts for more than 0.2 seconds. It can be analyzed that the waveform of the Y-axis has obvious troughs, and the waveforms of the Y-axis and the Z-axis have no obvious change. The action of yawing out, thinks that the smart terminal does the action from the near side.
若得到的波形图, Y轴的波形图有明显波峰, Y轴和 z轴的波形图无明 显变化, 则判断智能终端做自远向近甩回的动作。 如图 14所示: 图中 Y轴 的波形图曲线出现大于 1 .5, 且持续超过 0.2秒, 可以分析出图中 Y轴的波 形图有明显波峰, Y轴和 Z轴的波形图无明显变化, 此时即智能终端有横倾 甩回的动作, 认为智能终端做自远向近甩回的动作。 If the obtained waveform diagram has obvious peaks in the waveform diagram of the Y-axis, and the waveform diagrams of the Y-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the action from the far side to the near-turn. As shown in Figure 14: The waveform of the Y-axis in the figure appears greater than 1.5, and lasts for more than 0.2 seconds. It can be analyzed that the waveform of the Y-axis has obvious peaks, and the waveforms of the Y-axis and the Z-axis are not obvious. Change, at this point, the smart terminal has a tumultuous action, and the smart terminal is considered to be moving from far to near.
步骤 (4) 中判断智能终端做出的动作, 并根据设定触发相应事件是指: 若判断为智能终端做自近向远甩出的动作,则智能终端触发的事件包括: 发送邮件、 上传文件、 发出短信、 发送信息或者射击游戏中的武器发射; 若判断为智能终端做自远向近甩回的动作,则智能终端触发的事件包括: 接收文件、 下载文件、 接收信息; The step (4) determines the action made by the smart terminal, and triggers the corresponding event according to the setting: if it is determined that the smart terminal performs the action from the near direction, the event triggered by the smart terminal includes: sending the email, uploading Sending a message, sending a message, sending a message, or launching a weapon in a shooting game; if it is determined that the smart terminal is performing a far-reaching action, the event triggered by the smart terminal includes: receiving a file, downloading a file, and receiving the information;
若判断智能终端做向左翻转的动作, 则智能终端触发的事件包括: 查看 前一页、 前翻、 查看上一项内容; If the smart terminal performs the action of flipping to the left, the events triggered by the smart terminal include: viewing the previous page, scrolling forward, and viewing the previous item;
若判断智能终端做向右翻转的动作, 则智能终端触发的事件包括: 查看 后一页、 后翻、 查看下一项内容。 If the smart terminal performs the action of flipping to the right, the events triggered by the smart terminal include: viewing the next page, turning over, and viewing the next item.
所述触发相应事件, 可以在智能终端的程序中根据需要设定。 The triggering corresponding event can be set as needed in the program of the smart terminal.
如图 15所示, 本发明基于移动终端状态改变的数据交换系统包括相互 连接的一处理模块 10, 一检测模块 20和一存储模块 30。 该检测模块 20检 测该移动终端的状态变化数据, 并在所检测到的数据储存在该存储模块 30。 该处理模块 10读取该存储模块 30 中的数据, 根据这些数据, 该处理模块 10可判定使用者通过什么的动作使该移动终端状态发生改变。也就是说, 该 处理模块 10判定使该移动终端状态发生改变的使用者的动作。 该处理模块 10在做出判定之后, 触发相应的事件。 As shown in FIG. 15, the data exchange system based on the state change of the mobile terminal of the present invention includes a processing module 10, a detecting module 20 and a storage module 30 connected to each other. The detecting module 20 detects state change data of the mobile terminal, and stores the detected data in the storage module 30. The processing module 10 reads the data in the storage module 30. Based on the data, the processing module 10 can determine what action the user has made to change the state of the mobile terminal. That is, the processing module 10 determines the action of the user who has changed the state of the mobile terminal. The processing module 10 triggers a corresponding event after making a determination.
该检测模块 20进一步包括一计时模块 21 和一状态检测模块 22, 该计 时模块 21连接该状态检测模块 22。 该计时模块 21 供设定检测时间段。 该 状态检测模块 22检测该移动终端各时间点状态。该状态检测模块 22可供检
测该移动终端的状态, 然后将所检测到的状态数据传送至该存储模块 30。也 就是说, 该状态检测模块 22可检测该移动终端的移动方向, 加速度和加速 度方向, 角速度, 该移动终端的方向。 该移动终端的方向是指, 该移动终端 是处于正竖状态、 倒竖状态、 左横状态、 右横状态、 仰状态或俯状态。 其中, 正竖状态是指移动终端正常的竖立状态。 倒竖状态是指将该移动终端的上部 和下部倒转放置的状态。 左横状态是指将在正竖状态下的该移动终端向左横 倒放置的状态。 右横状态是指将正竖状态下的该移动终端向右横倒放置的状 态。 仰状态是将该移动终端在正面向上的状态。 俯状态是指将该移动终端的 背面向上放置的状态。 该计时模块 21 具有的计时模式为检测到移动终端发 生状态改变才开始计时, 该移动终端停止状态改变则停止计时。 换句话说, 该检测模块 20检测到该移动终端的加速度发生变化,该计时模块 21则开始 计时。该检测模块 20的该状态检测模块 22将所检测到的该移动终端的状态 数据传送至该存储模块 30。 具体地说, 该状态检测模块 22根据该计时模块 21 提供的时间顺序依次将所检测到的该移动终端的状态数据传送至该存储 模块 30。 The detection module 20 further includes a timing module 21 and a state detection module 22, and the timing module 21 is coupled to the state detection module 22. The timing module 21 is configured to set a detection period. The state detecting module 22 detects the state of each time point of the mobile terminal. The status detection module 22 is available for inspection The state of the mobile terminal is measured, and the detected status data is then transmitted to the storage module 30. That is, the state detecting module 22 can detect the moving direction of the mobile terminal, the acceleration and acceleration directions, the angular velocity, and the direction of the mobile terminal. The direction of the mobile terminal means that the mobile terminal is in a vertical state, an inverted state, a left horizontal state, a right horizontal state, an up state, or a down state. The positive vertical state refers to the normal erect state of the mobile terminal. The inverted vertical state refers to a state in which the upper and lower portions of the mobile terminal are reversed. The left horizontal state refers to a state in which the mobile terminal in the upright state is placed to the left. The right horizontal state refers to a state in which the mobile terminal in the vertical state is placed to the right. The up state is a state in which the mobile terminal is in the front direction. The tilt state refers to a state in which the back side of the mobile terminal is placed upward. The timing module 21 has a timing mode that starts timing when a change in state of the mobile terminal is detected, and stops when the mobile terminal stops changing state. In other words, the detecting module 20 detects that the acceleration of the mobile terminal changes, and the timing module 21 starts timing. The state detecting module 22 of the detecting module 20 transmits the detected state data of the mobile terminal to the storage module 30. Specifically, the state detecting module 22 sequentially transmits the detected state data of the mobile terminal to the storage module 30 according to the time sequence provided by the timing module 21.
该处理模块 1 0进一步包括互相连接的一状态改变类型判定模块 11和一 交换模块 12。 该状态改变类型判定模块 11 读取该存储模块 30中关于该移 动终端的状态数据,然后进行处理, 以判定该移动终端状态发生了什么变化。 换句话说, 该状态改变类型判定模块 11可根据该存储模块 30中所提供的关 于该移动终端的状态数据进行处理, 然后判定该移动终端的使用者采用了什 么动作使该移动终端的状态发生变化。 该状态改变类型判定模块 11 通过对 该移动终端状态数据进行处理之后, 可以得到下列数据, 在检测时间段内, 该移动终端各时间点的即时速度和 /或各时间点的即时角速度,在检测时间段 内该移动终端的移动轨迹, 在检测时间段开始时的位置, 在检测时间段结束 的位置。 该状态改变类型判定模块 11 可采用下面所述的判定移动终端状态 变化方法进行判定, 其判定方法包括以下步骤: The processing module 10 further includes a state change type decision module 11 and a switch module 12 that are connected to each other. The state change type decision module 11 reads the state data about the mobile terminal in the memory module 30, and then processes to determine what has changed in the state of the mobile terminal. In other words, the state change type determining module 11 can process according to the state data about the mobile terminal provided in the storage module 30, and then determine what action the user of the mobile terminal uses to make the state of the mobile terminal occur. Variety. After the state change type determining module 11 processes the mobile terminal state data, the following data can be obtained. During the detecting time period, the instantaneous speed of each time point of the mobile terminal and/or the instantaneous angular velocity of each time point are detected. The movement trajectory of the mobile terminal during the time period, the position at the beginning of the detection time period, and the position at the end of the detection time period. The state change type determining module 11 may perform the determination by determining the mobile terminal state change method described below, and the determining method includes the following steps:
步骤 1 : 判定在检测时间段内, 在该移动终端各时间点的即时速度值中 是否有一时间点的即时速度值超过预设的速度值。 若有, 则判定该移动终端 状态发生改变。 换句话说, 若有, 则判定使用者的动作使到该移动终端的状 态发生改变。 若没有, 则不再判定。
步骤 2: 建立三维坐标系, X轴的方向由使用者的左手向使用者的右手, X轴的正方向向使用者右方。 Y轴的方向由接近使用者向远离使用者, Y轴 的正方向远离使用者的方向。 Z轴由地心向地面, Z轴的正方向向地面。 该 坐标轴的原心为该移动终端在检测时间段起止时间点的位置。 Step 1: Determine whether the instantaneous speed value of a time point in the instantaneous speed value of each time point of the mobile terminal exceeds the preset speed value during the detection period. If so, it is determined that the state of the mobile terminal has changed. In other words, if there is, it is determined that the user's action causes the state of the mobile terminal to change. If not, it is no longer determined. Step 2: Establish a three-dimensional coordinate system. The direction of the X-axis is from the left hand of the user to the right hand of the user, and the positive direction of the X-axis is to the right of the user. The direction of the Y-axis is from the user's direction away from the user, and the positive direction of the Y-axis is away from the user. The Z axis is from the center of the earth to the ground, and the positive direction of the Z axis is toward the ground. The original center of the coordinate axis is the position of the mobile terminal at the start and end time of the detection period.
步骤 3: 计算该移动终端的位移 S, 该位移 S在该位移在 X轴的位移分 量 Sx, 在 Y轴的位移分量 Sy和在 Z轴的位移分量 S z, 以及该移动终端在 检测时间结束点的位置坐标 P(x, y, z Step 3: Calculate the displacement S of the mobile terminal, the displacement S is the displacement component Sx of the displacement on the X axis, the displacement component Sy on the Y axis, and the displacement component S z on the Z axis, and the mobile terminal ends at the detection time Point position coordinates P(x, y, z
结合该移动终端的移动方向, 将从检测时间开始至检测时间结束的这段 时间内, 该移动终端的位置转化成三维坐标。 从而得到该移动终端在该检测 时间段内最后的位置在三维坐标系里的坐标, 该移动终端在该检测时间段内 的位移 S, 和该位移 S在 X轴的位移分量 Sx, 在 Y轴的位移分量 Sy和在 Z 轴的位移分量 S z。 In conjunction with the moving direction of the mobile terminal, the position of the mobile terminal is converted into three-dimensional coordinates from the detection time to the end of the detection time. Obtaining coordinates of the last position of the mobile terminal in the three-dimensional coordinate system during the detection period, a displacement S of the mobile terminal in the detection period, and a displacement component Sx of the displacement S on the X-axis, on the Y-axis The displacement component Sy and the displacement component S z on the Z axis.
步骤 4: 判定该移动终端状态改变类型数据。 判定位移 S在 X轴的位移 分量 Sx, 在 Y轴的位移分量 Sy和在 Z轴的位移分量 S z之间的关系。首先 判定在 X轴的位移分量 Sx,在 Y轴的位移分量 Sy和在 Z轴的位移分量 S z 之间数值最大者, 然后判定在 X轴的位移分量 Sx, 在 Y轴的位移分量 Sy 和在 Z轴的位移分量 S z的中数值最大者的符号。 Step 4: Determine the mobile terminal status change type data. The relationship between the displacement component Sx of the displacement S on the X axis, the displacement component Sy of the Y axis, and the displacement component S z of the Z axis is determined. First, it is determined that the displacement component Sx on the X-axis, the displacement component Sy on the Y-axis, and the displacement component Sz on the Z-axis are the largest, and then the displacement component Sx on the X-axis, the displacement component Sy on the Y-axis, and The sign of the largest value among the displacement components S z of the Z axis.
若 Sx的值是 Sx, Sy, Sz三个数值之中最大的, 然后判定 Sx的符号, 若 Sx的符号为正, 则判定该移动终端发生右甩, 所述右甩是指该移动终端 向 X轴的正方向移动。 若 Sx的符号为负, 则判定该移动终端发生左甩, 所 述左甩是指该移动终端向 X轴的负方向移动。 If the value of Sx is the largest of the three values Sx, Sy, Sz, then the sign of Sx is determined. If the sign of Sx is positive, it is determined that the mobile terminal generates a right 甩, and the right 甩 refers to the mobile terminal The positive direction of the X axis moves. If the sign of Sx is negative, it is determined that the mobile terminal is left-handed, and the left-hand side refers to the mobile terminal moving in the negative direction of the X-axis.
若 Sy的值是 Sx, Sy, Sz三个数值之中最大的, 然后判定 Sy的符号, 若 Sy的符号为正, 则判定该移动终端发生甩离, 所述甩离是指该移动终端 向 Y轴的正方向移动。 若 Sy的符号为负, 则判定该移动终端发生甩回, 所 述甩回是指该移动终端向 Y轴的负方向移动。 If the value of Sy is the largest of the three values Sx, Sy, Sz, and then determine the sign of Sy, if the sign of Sy is positive, it is determined that the mobile terminal is separated, and the deviation refers to the mobile terminal The positive direction of the Y axis moves. If the sign of Sy is negative, it is determined that the mobile terminal is detoured, and the detour refers to the mobile terminal moving in the negative direction of the Y-axis.
若 Sz的值是 Sx, Sy, Sz三个数值之中最大的, 然后判定 Sz的符号, 若 Sz 的符号为正, 则判定该移动终端发生上甩, 所述上甩是指该移动终端 向 Z轴的正方向移动。 若 Sz的符号为负, 则判定该移动终端发生下甩, 所 述状态改变类型 6是指该移动终端向 Z轴的负方向移动。 If the value of Sz is the largest of the three values Sx, Sy, Sz, and then determine the sign of Sz, if the sign of Sz is positive, it is determined that the mobile terminal has a cap, and the captain refers to the mobile terminal The positive direction of the Z axis moves. If the sign of Sz is negative, it is determined that the mobile terminal is squatting, and the state change type 6 refers to the mobile terminal moving in the negative direction of the Z axis.
步骤 5: 判定该使用者持该移动终端做出的动作。 根据判定该移动终端
状态改变类型数据, 判断该使用者持该移动终端做出的动作。 Step 5: Determine the action taken by the user with the mobile terminal. According to the determination of the mobile terminal The state changes the type data to determine the action taken by the user with the mobile terminal.
根据状态改变类型为右甩, 判定该使用者做出右甩动作。 所述右甩动作 是指该使用者持该移动终端向该使用者的右方移动该移动终端。 According to the state change type is right 甩, it is determined that the user makes a right squat action. The right-handed action means that the user moves the mobile terminal to the right of the user by the mobile terminal.
根据状态改变类型为左甩, 判定该使用者做出左甩动作。 所述左甩动作 是指该使用者向该使用者的左方移动该移动终端。 According to the state change type is left 甩, it is determined that the user makes a left 甩 action. The left-handed action means that the user moves the mobile terminal to the left of the user.
根据状态改变类型为甩离, 判定该使用者做出甩离动作。 所述甩离动作 是指该使用者持该移动终端向远离该使用者的方向移动该移动终端。 According to the state change type, the user is determined to make a detachment action. The detachment action means that the user moves the mobile terminal to the mobile terminal in a direction away from the user.
根据状态改变类型为甩回, 判定该使用者做出甩回动作。 所述甩回动作 是指该使用者持该移动终端向接近该使用者的方向移动该移动终端。 According to the state change type, the user is determined to make a detour action. The bypass operation means that the user moves the mobile terminal to the mobile terminal in a direction close to the user.
根据状态改变类型为上甩, 判定该使用者做出上甩动作。 所述上甩动作 是指该使用者持该移动终端向天移动该移动终端。 According to the state change type is the upper jaw, it is determined that the user makes the caption action. The captain action means that the user moves the mobile terminal to the mobile terminal by the mobile terminal.
根据状态改变类型为下甩, 判定该使用者采用下甩动作。 所述下甩动作 是指该使用者持该移动终端向地面移动该移动终端。 According to the state change type, the user is determined to use the squatting action. The squatting action refers to the user moving the mobile terminal to the ground by the mobile terminal.
值得一提的是, 可根据该移动终端产生的位移值进一步对该移动终端发 生状态进一步划分, 从而可触发更多的事件, 丰富操作。 优选地, 可预设一 位移比较值 Sc。若位移 S的值小于该位移比较值 Sc则判定该移动终端的状 态改变程度为改变程度类型为拍。 若位移 S 的值大于或等于该位移比较值 Sc则判定该移动终端的状态改变程度为甩。这个比较步骤可在步骤 3和步骤 4之间进行。 若进行该细分步骤, 则右甩可进一步被划分为右拍和右甩, 从 而由使用者持该移动终端做出右甩动作也可被划分为右拍动作和右甩动作。 同理, 该左甩可进一步被划分为左拍和左甩, 从而由使用者持该移动终端做 出左甩动作也可被划分为左拍动作和左甩动作。 该甩离可进一步被划分为拍 离和甩离, 从而由使用者持该移动终端做出甩离动作也可被划分为拍离动作 和甩离动作。 该甩回可进一步被划分为拍回和甩回, 从而由使用者持该移动 终端做出甩回动作也可被划分为拍回动作和甩回动作。 该上甩可进一步被划 分为上拍和上甩, 从而由使用者持该移动终端做出上甩动作也可被划分为上 拍动作和上甩动作。 该下甩可进一步被划分为下拍和下甩, 从而由使用者持 该移动终端做出下甩动作也可被划分为下拍动作和下甩动作。 It is worth mentioning that the state of the mobile terminal can be further divided according to the displacement value generated by the mobile terminal, so that more events can be triggered and the operation can be enriched. Preferably, a displacement comparison value Sc can be preset. If the value of the displacement S is smaller than the displacement comparison value Sc, it is determined that the degree of change of the state of the mobile terminal is the degree of change. If the value of the displacement S is greater than or equal to the displacement comparison value Sc, it is determined that the degree of state change of the mobile terminal is 甩. This comparison step can be performed between steps 3 and 4. If the subdivision step is performed, the right 甩 can be further divided into a right shot and a right 甩, so that the right squatting action by the user holding the mobile terminal can also be divided into a right slap motion and a right squat motion. Similarly, the left hand can be further divided into a left beat and a left click, so that the user can perform the left click action by the mobile terminal or can be divided into a left beat action and a left click action. The separation can be further divided into a shot and a deviation, so that the user can perform the separation action by the mobile terminal or can be divided into a beat action and a split action. The roundabout can be further divided into beatback and roundabout, so that the user can hold the loopback action by the mobile terminal and can also be divided into a beatback action and a loopback action. The upper jaw can be further divided into an upper shot and a top, so that the user can perform the upper movement by holding the mobile terminal or can be divided into a topping action and a capping action. The lower jaw can be further divided into a lower shot and a lower jaw, so that the user can perform the lower jaw movement by holding the mobile terminal or can be divided into a lower shooting motion and a lower jaw motion.
值得一提的是, 可进一步设置一位移阀值。 当位移 S的值小于该位移阀 值时, 则判定该移动终端发生甩来甩回, 该移动终端发生的状态改变类型:
甩来甩回可由使用者持该移动终端做出动作甩出去甩回来而产生。 It is worth mentioning that a displacement threshold can be further set. When the value of the displacement S is less than the displacement threshold, it is determined that the mobile terminal is defective, and the type of state change that occurs in the mobile terminal is: It can be generated by the user holding the mobile terminal to make an action and going back and forth.
该状态改变类型判定模块 11还具有另一种移动终端状态变化判定方法, 该判定方法包括下列步骤: The state change type decision module 11 further has another mobile terminal state change determination method, the determination method comprising the following steps:
步骤 1 : 判断在检测时间段内, 在该移动终端各时间点的即时角速度值 中是否有一时间点的即时速度值超过预设的角速度值。 若有, 则判定该移动 终端状态发生改变。 换句话说, 若有, 则判定使用者的动作使到该移动终端 的状态发生改变。 若没有, 则不再判定。 Step 1: Determine whether the instantaneous speed value of a time point in the instantaneous angular velocity value of each time point of the mobile terminal exceeds the preset angular velocity value during the detection period. If so, it is determined that the state of the mobile terminal has changed. In other words, if there is, it is determined that the user's action causes the state of the mobile terminal to change. If not, it is no longer determined.
步骤 2: 判定该移动终端的方向。 判断该移动终端是被使用者竖持还是 横持。 所述的竖持是使用者以竖直的方式持住该移动终端, 所述横持是使用 者以横的方式持住该移动终端。 Step 2: Determine the direction of the mobile terminal. It is judged whether the mobile terminal is held vertically or horizontally by the user. The vertical holding is that the user holds the mobile terminal in a vertical manner, and the horizontal holding is that the user holds the mobile terminal in a horizontal manner.
步骤 3: 判定该移动终端的旋转方式, 是以顺时针旋转, 还是以逆时针 旋转。 Step 3: Determine whether the mobile terminal rotates clockwise or counterclockwise.
步骤 4: 判定判定该移动终端发生状态改变类型。 Step 4: Determine that the mobile terminal has a status change type.
步骤 5: 判定该使用者持该移动终端做出的动作。 根据判定该移动终端 状态改变类型数据, 判断该使用者持该移动终端做出的动作。 Step 5: Determine the action taken by the user with the mobile terminal. Based on the determination of the mobile terminal status change type data, the user is determined to perform an action by the mobile terminal.
若该移动终端是被使用者竖持, 以竖直的方式顺时针方向旋转, 则判定 该移动终端发生状态改变类型: 竖顺转, 该移动终端发生的坚顺转动作可由 使用者持该移动终端做出坚持且顺时针旋转动作而产生。 If the mobile terminal is vertically held by the user and rotated clockwise in a vertical manner, it is determined that the type of state change occurs in the mobile terminal: Vertically, the mobile device can hold the mobile phone by the user. The terminal generates a sticking and clockwise rotation action.
若该移动终端是被使用者竖持, 以竖直的方式逆时针方向旋转, 则判定 该移动终端发生状态改变类型: 竖逆转, 该移动终端发生的竖逆转动作可由 使用者持该移动终端做出竖持且逆时针旋转动作而产生。 If the mobile terminal is vertically held by the user and rotates in a counterclockwise direction in a vertical manner, it is determined that the type of state change occurs in the mobile terminal: vertical reversal, the vertical reversal action of the mobile terminal may be performed by the user holding the mobile terminal It is produced by vertical and counterclockwise rotation.
若该移动终端是被使用者横持, 以横放的方式顺时针方向旋转, 则判定 该移动终端发生状态改变类型: 横顺转, 该移动终端发生的横顺转动作可由 使用者持该移动终端做出横持且顺时针旋转动作而产生。 If the mobile terminal is horizontally held by the user and rotated clockwise in a horizontal manner, it is determined that the type of state change occurs in the mobile terminal: traverse, the traversing action of the mobile terminal can be held by the user. The terminal generates a horizontally held and clockwise rotation action.
若该移动终端是被使用者横持, 以横放的方式逆时针方向旋转, 则判定 该移动终端发生状态改变类型: 横逆转, 该移动终端发生的横逆转动作可由 使用者持该移动终端做出横持且逆时针旋转动作而产生。 If the mobile terminal is held horizontally by the user and rotated counterclockwise in a horizontal manner, it is determined that the type of state change occurs in the mobile terminal: horizontal reversal, and the horizontal reversal action generated by the mobile terminal can be performed by the user holding the mobile terminal. Produced by a horizontally held and counterclockwise rotation.
值得一提的是, 可根据该移动终端产生的位移值进一步对该移动终端发 生状态进一步划分。 增加一角度比较值。 判断旋转程度。 若该移动终端转动 的角度值小于该角度比较值则判定该移动终端的状态变化程度为抖。 若该移
动终端转动的角度的值大于或等于该角度比较值则判定该移动终端的状态变 化程度为转。 该步骤可在步骤 3和步骤 4之间进行, 这样该移动终端状态改 变类型: 竖顺转进一步划分为竖顺抖和竖顺转。 这样该移动终端状态改变类 型: 竖逆转进一步划分为竖逆抖和竖逆转。 这样该移动终端状态改变类型: 横顺转进一步划分为横顺抖和横顺转。 这样该移动终端状态改变类型: 横逆 转进一步划分为横逆抖和横逆转。 It is worth mentioning that the state of occurrence of the mobile terminal can be further divided according to the displacement value generated by the mobile terminal. Increase the angle comparison value. Determine the degree of rotation. If the angle value of the rotation of the mobile terminal is less than the angle comparison value, it is determined that the degree of state change of the mobile terminal is jitter. If the shift When the value of the angle of rotation of the mobile terminal is greater than or equal to the angle comparison value, it is determined that the degree of state change of the mobile terminal is revolution. This step can be performed between steps 3 and 4, such that the mobile terminal state change type: the vertical turn is further divided into vertical and vertical. Thus the mobile terminal state change type: vertical reversal is further divided into vertical inverse and vertical reverse. Thus, the type of state change of the mobile terminal: the traverse is further divided into a horizontal sway and a horizontal sway. Thus, the mobile terminal state change type: The horizontal reverse is further divided into horizontal reverse and horizontal reverse.
在该状态改变类型判定模块 11 完成判定之后, 将所生成的该移动终端 状态改变数据传送至该交换模块 12。 该交换模块 12接该移动终端状态改变 数据, 进行处理, 得到相应的触发事件, 然后该交换模块 12可从该移动终 端上获取数据, 然后同另一终端设备交换。 该交换模块 12根据所接受到的 该移动终端状态改变数据进行解释, 判定要触发的具体事件, 然后从该移动 终端上获取所需的数据, 执行相应的操作。 如图 16所示, 该交换模块 12进 一步包括一解释模块 121, 一数据交换模块 122和一通信模块 123, 该解释 模块 121 分别与该数据交换模块 122与该通信模块 123连接。 该解释模块 121可对该交换模块 12所接收到数据进行解释, 以确定相对应的触发事件, 执行该触发事件所需要获取的数据, 以及这些数据需要发送给的对像。 优选 地, 该解释模块接收由该状态改变类型模块 11 所传送的数据。 然后该解释 模块 121 生成目标数据指令数据发送至该数据交换模块 122, 该解释模块 121 生成目标对像指令数据发送至该数据该通信模块 123。 该数据交换模块 122接收到由该解释模块 121所发出的目标数据指令数据, 然后从该移动终 端上获取目标数据, 再该所获取目标数据传送至该通信模块 123。 该通信模 块 123接收到由该解释模块 121所发出的该目标对像指令和由该数据交换模 块 122所发出的该目标数据后, 将该目标数据通过该移动终端传送至目标对 象。 After the state change type decision module 11 completes the determination, the generated mobile terminal state change data is transmitted to the switch module 12. The switching module 12 receives the mobile terminal state change data, performs processing, and obtains a corresponding trigger event, and then the switching module 12 can acquire data from the mobile terminal and then exchange with another terminal device. The switching module 12 interprets the received mobile terminal state change data, determines a specific event to be triggered, and then acquires the required data from the mobile terminal to perform a corresponding operation. As shown in FIG. 16, the switch module 12 further includes an interpretation module 121, a data exchange module 122 and a communication module 123. The interpretation module 121 is connected to the data exchange module 122 and the communication module 123, respectively. The interpretation module 121 can interpret the data received by the switching module 12 to determine a corresponding trigger event, data to be acquired to execute the trigger event, and an object to which the data needs to be sent. Preferably, the interpretation module receives data transmitted by the state change type module 11. The interpretation module 121 then generates target data instruction data for transmission to the data exchange module 122, and the interpretation module 121 generates target object instruction data to the communication module 123 for transmission to the data. The data exchange module 122 receives the target data instruction data issued by the interpretation module 121, and then acquires the target data from the mobile terminal, and the acquired target data is transmitted to the communication module 123. After receiving the target object command issued by the interpretation module 121 and the target data sent by the data exchange module 122, the communication module 123 transmits the target data to the target object through the mobile terminal.
图 1 7所示的是本发明移动终端状态改变的数据交换系统的数据发送方 法 1 00的流程。 该信息发送方法 1 00包括在方框 102所示的接收该使用者 输入。 所述的该使用者输入是指该使用者持该移动终端做出动作, 使该移动 终端状态改变,通过这样的方式与该移动终端产生互动。该信息发送方法 1 00 进一步包括方框 104所示的判定该移动终端状态改变类型数据。具体判定方 法如前所述。该信息发送方法 1 00进一步包括方框 106所示的解释该移动终
端状态改变类型。 解释该移动终端状态改变类型数据, 可得到该移动终端状 态改变类型可得到其相应的触发事件数据, 该目标对像指令数据和该目标数 据指令数据。 解释该事件可通过该交换模块 12的该解释模块 121执行。 该 信息发送方法 100进一步包括方框 108所示的获取目标数据。获取目标数据 可通过该交换模块 12的该数据交换模块 122执行。 该信息发送方法 100进 一步包括方框 110所示的发送目标数据至目标对象。 该交换模块 12的该通 信模块 123接收到该目标对象指令数据和该目标数据后, 将该目标数据发送 至该目标对象。 下面以一例子进一步说明: 该使用者持该移动终端水平快速 移动。该检测模块 20的该状态检测模块 22检测到该移动终端的加速度发生 变化, 该移动终端的状态发生改变, 激活该检测模块 20的该计时模块 21进 行计时。 同时, 该检测模块 20的该状态检测模块 22将检测到的该移动模块 变化数据和检测时间点数据传送至该存储模块 30。换句话说, 使用者通过动 作与该移动终端产生互动, 从而产生输入。 而该检测模块 20在检测到该移 动终端变化后开始接收数据。 在该使用者的动作完成之后, 该检测模块 20 完成检测数据, 并将检测到的所有数据传送入该存储模块 30。 该处理模块 10的该状态改变类型判定模块 11读取该存储模块中关于该移动终端状态变 化的数据, 然后该移动终端状态变化的数据进行处理和判定。 判定该移动终 端产生状态改变 1, 而使用者持该移动终端所做出的动作为动作 1。 该状态 改变类型判定模块 11将该移动终端状态改变 1数据传送至该交换模块 12的 该解释模块 121。 该解释模块 121解释该移动终端状态改变 1数据, 生成触 发事件 1数据,该目标对象指令数据和该目标数据指令数据。在这个例子中, 触发事件 1为发送图片, 目标对象为使用者 B, 目标数据为一图片。 而在实 际应用中, 触发事件由使用者设置。 该解释模块 121将目标数据指令数据传 送至该数据交换模块 122, 将该目标对象指令数据传送至该通信模块 123。 该数据交换模块获取该移动终端上的一图片, 并将该图片以数据的方式传送 至该通信模块 123。 该通信模块 123将该图片以数据的方式通过该移动终端 发送至使用者 B。 Fig. 17 is a flow chart showing the data transmission method 100 of the data exchange system in which the state of the mobile terminal of the present invention is changed. The information transmitting method 100 includes receiving the user input as indicated at block 102. The user input refers to the user holding the mobile terminal to make an action, changing the state of the mobile terminal, and interacting with the mobile terminal in this manner. The information transmitting method 100 further includes determining the mobile terminal state change type data as indicated by block 104. The specific determination method is as described above. The information transmitting method 100 further includes the explanation of the mobile terminal as indicated by block 106. End state change type. Explain the mobile terminal status change type data, and obtain the mobile terminal status change type to obtain its corresponding trigger event data, the target object instruction data and the target data instruction data. Interpreting this event can be performed by the interpretation module 121 of the exchange module 12. The information transmitting method 100 further includes the acquisition target data shown in block 108. The acquisition target data can be performed by the data exchange module 122 of the switch module 12. The information transmitting method 100 further includes transmitting target data shown in block 110 to the target object. After receiving the target object instruction data and the target data, the communication module 123 of the switching module 12 sends the target data to the target object. The following is further illustrated by an example: the user moves the mobile terminal horizontally. The state detecting module 22 of the detecting module 20 detects that the acceleration of the mobile terminal changes, the state of the mobile terminal changes, and the timing module 21 of the detecting module 20 is activated to perform timing. At the same time, the state detecting module 22 of the detecting module 20 transmits the detected moving module change data and the detecting time point data to the storage module 30. In other words, the user interacts with the mobile terminal through an action to generate an input. The detecting module 20 starts receiving data after detecting the change of the mobile terminal. After the user's action is completed, the detection module 20 completes the detection data and transmits all the detected data to the storage module 30. The state change type determining module 11 of the processing module 10 reads data about the state change of the mobile terminal in the storage module, and then the data of the state change of the mobile terminal is processed and determined. It is determined that the mobile terminal generates a state change of 1, and the action made by the user holding the mobile terminal is action 1. The state change type decision module 11 transmits the mobile terminal state change 1 data to the interpretation module 121 of the switch module 12. The interpretation module 121 interprets the mobile terminal status change 1 data, generates trigger event 1 data, the target object instruction data and the target data instruction data. In this example, the trigger event 1 is a send picture, the target object is user B, and the target data is a picture. In practical applications, the trigger event is set by the user. The interpretation module 121 transmits the target data instruction data to the data exchange module 122, and transmits the target object instruction data to the communication module 123. The data exchange module acquires a picture on the mobile terminal, and transmits the picture to the communication module 123 in a data manner. The communication module 123 transmits the picture to the user B through the mobile terminal in the form of data.
图 18为本发明基于移动终端状态改变的数据交换系统的一实施例的数 据接收方法 200。该数据接收方法 200包括在方框 202所示的接收由其它终 端传送的数据。 其它终端传送的数据通过该移动终端接收后, 通过该交换模
块 12的该通信模块 123传送至该交换模块 12的该解释模块 121。该信息接 收方法 200进一步包括在方框 204所示的解释所接收的数据。 该解释模块 121所接收的该数据。 该解释模块 121将识别出该数据的属性数据。 属性数 据是指起标识作用的数据, 如数据类型, 如图片, 音乐, 视频, 文档等; 如 数据格式, 如图片的 jpeg, bmp, png等格式, 视频的 wmv, mp4, rmvb 等格式等等。 该解释模块根据该数据的属性数据, 生成调用指令数据, 以供 调用移动终端上输出设备。 该解释模块 121将该调用指令数据、 该数据的属 性数据和该数据传送至该数据交换模块 122。 该数据接收方法 200进一步包 括在方框 206所示的传送数据。该数据交换模块 122接收到该调用指令数据、 该数据的属性数据和该数据后, 将上述数据传送至该移动终端。 该信息接收 方法 200进一步包括方框 208所示的展示数据。该移动终端接收该调用指令 数据、 该数据的属性数据和该数据后, 调用其输出设备, 将该数据展示给该 移动终端的使用者。 以一移动终端接收数据的例子进一步说明。 该移动终端 接收到一数据后, 将该数据通过该交换模块 12的该通信模埠 123传送至该 交换模块 12的该解释模块 121。 该解释模块 121接收到该数据后, 对该数 据进行解释,识别出该数据为一图片,格式为 jpeg,然后生成调用指令数据。 该解释模块 121将该调用指令数据, 该数据的属性数据 (图片, jpeg ) 和该 数据后传送至该数据交换模块 122。 该数据交换模块 122接收到该调用指令 数据, 该数据的属性数据 (图片, jpeg ) 和该数据后, 将上述数据传送至该 移动终端。 该移动终端接收到该调用指令数据, 该数据的属性数据 (图片, jpeg ) 和该数据后, 调用该移动终端的输出设备, 在这个例子中为显示屏, 将图片显示在显示屏上。 FIG. 18 is a data receiving method 200 of an embodiment of a data exchange system based on a state change of a mobile terminal according to the present invention. The data receiving method 200 includes receiving data transmitted by other terminals as indicated at block 202. After the data transmitted by other terminals is received by the mobile terminal, the exchange mode is adopted. The communication module 123 of block 12 is passed to the interpretation module 121 of the switch module 12. The information receiving method 200 further includes interpreting the received data as shown at block 204. The data received by the interpretation module 121. The interpretation module 121 will identify the attribute data for the data. Attribute data refers to the data used for identification, such as data types, such as pictures, music, videos, documents, etc.; such as data formats, such as jpeg, bmp, png, video, wmv, mp4, rmvb, etc. . The interpretation module generates call instruction data for invoking an output device on the mobile terminal according to the attribute data of the data. The interpretation module 121 transmits the call instruction data, the attribute data of the data, and the data to the data exchange module 122. The data receiving method 200 further includes transmitting data as shown at block 206. After receiving the call instruction data, the attribute data of the data, and the data, the data exchange module 122 transmits the data to the mobile terminal. The information receiving method 200 further includes the presentation data shown at block 208. After receiving the call instruction data, the attribute data of the data, and the data, the mobile terminal invokes its output device to present the data to the user of the mobile terminal. An example of receiving data by a mobile terminal is further illustrated. After receiving the data, the mobile terminal transmits the data to the interpretation module 121 of the switching module 12 through the communication module 123 of the switching module 12. After receiving the data, the interpretation module 121 interprets the data, recognizes that the data is a picture, and the format is jpeg, and then generates call instruction data. The interpretation module 121 transmits the call instruction data, the attribute data (picture, jpeg) of the data, and the data to the data exchange module 122. The data exchange module 122 receives the call instruction data, the attribute data (picture, jpeg) of the data and the data, and transmits the data to the mobile terminal. After receiving the call instruction data, the attribute data (picture, jpeg) of the data and the data, the mobile terminal calls the output device of the mobile terminal, in this example, a display screen to display the picture on the display screen.
值得一提的是, 在该移动终端接收信息之前, 还可以具有一步骤: 使用 者可通过持移动终端做动作, 与该移动终端产生互动, 从而触发接收信息事 件。 然后该移动终端才可以接收信息。 It is worth mentioning that before the mobile terminal receives the information, it may further have a step: the user can interact with the mobile terminal by acting on the mobile terminal to trigger the receiving of the information event. The mobile terminal can then receive the information.
值得一提的是, 本发明移动终端状态改变的数据交换系统还可设置在其 它外部设备上。 如便携性差的设备, 如影音设备, 大型显示屏等。 It is worth mentioning that the data exchange system of the state change of the mobile terminal of the present invention can also be set on other external devices. Such as poorly portable devices, such as audio and video equipment, large display screens, etc.
本发明进一步提供了一种与其它设备连接的方法。 以影音终端为例子, 通过一数据线将该影音设备与一移动终端连接。 更具体地, 该数据线分别连 接该影音设备的一数据接口和该移动终端的数据接口。 以这样的方式, 该移
动终端上的数据, 可以传送至该影音设备, 通过该影音设备输出, 展示给使 用者。该影音设备也可以通过其它方式与该移动终端 D连接,如网络,蓝牙, 无线网络, 卫星网络等。 更具体的, 该移动终端的数据是通过该交换模块 12 的数据交换模块 122获取和传送至该交换模块 12的该通信模块 123。 该通 信模块 123将该移动终端的数据通过该数据线传送至该影音设备。该影音设 备将该移动终端的数据展示出来。 优选地, 使用者可通过持另一移动终端 C 做出动作, 触发相应的事件, 通过该移动终端, 对该影音设备进行操作。 如 将该移动终端 C上的音乐视频 (Music Video) 发送至该移动终端, 在该影 音设备上播放。 The invention further provides a method of connecting to other devices. Taking the video terminal as an example, the audio-visual device is connected to a mobile terminal through a data line. More specifically, the data line is respectively connected to a data interface of the audio-visual device and a data interface of the mobile terminal. In this way, the shift The data on the mobile terminal can be transmitted to the audio-visual device, and outputted to the user through the audio-visual device. The audio-visual device can also be connected to the mobile terminal D by other means, such as network, Bluetooth, wireless network, satellite network, and the like. More specifically, the data of the mobile terminal is acquired by the data exchange module 122 of the switching module 12 and transmitted to the communication module 123 of the switching module 12. The communication module 123 transmits the data of the mobile terminal to the audio-visual device through the data line. The audiovisual device displays the data of the mobile terminal. Preferably, the user can perform an action by holding another mobile terminal C, trigger a corresponding event, and operate the video device through the mobile terminal. If the music video (Music Video) on the mobile terminal C is sent to the mobile terminal, it is played on the audio device.
图 19所示的是本发明的一实施例通过移动终端状态改变的数据交换系 统操作外设的方法。 以播放音乐视频为例子进一步说明。 一移动终端作为适 配器端, 另一该移动终端的数据接口通过一数据线与一影音设备连接。 另一 移动终端作为控制端, 通过触发事件, 对该影音设备进行操作。 优选地, 使 用者采用动作使该控制端状态发生变化从而触发事件。 该控制端和该适配器 端的连接方式选自数据线、 网络, 蓝牙, 无线网络, 卫星网络, 电话网络等。 该操作外设的方法 500进一步包括方框 502所示的接收使用者输入。在本例 子中, 该使用者的输入为使用者持该控制端在竖直方向向天快速移动。 该操 作外设方法 500进一步包括方框 504所示的判定该移动终端状态改变类型数 据。 判定该移动终端状态通过该处理模块 10的该状态改变类型判定模块 11 处理,具体判定方法如前所述。判定该移动终端的状态改变类型数据为甩离。 然后将甩离传送至该处理模块 10的交换模块 12的解释模块 121。 该操作方 法 500进一步包括方框 506所示的解释该移动终端状态改变类型。将所述触 发事件 3解释该事件可通过该交换模块 12的该解释模块 121执行。 该解释 模块 121解释该移动终端状态改变类型数据甩离, 得到触发事件 3, 该目标 对像指令数据和该目标数据指令数据。 在这个例子中, 触发事件 3是指将音 乐视频发送至该适配器端。 该解释模块 121将该触发事件 3数据: 发送音乐 视频, 和该目标数据指令数据: 音乐视频传送至该交换模块 12 的该数据交 换模块 122。 该解释模块 121将该目标对像指令数据: 该适配器端, 传送至 该通信模块 123。该操作外设方法 500进一步包括方框 508所示的获取目标 数据。 获取目标数据可通过该交换模块 12的该数据交换模块 122执行。 该
数据交换模块 122获取音乐视频,然后将该音乐视频传送至该通信模块 123。 该操作外设方法 500进一步包括方框 510所示的发送目标数据至目标对象。 该交换模块 12的该通信模块 123接收到该目标对象指令数据和该目标数据 后, 将该目标数据发送至该目标对象。 该通信模块 123将接收到的该音乐视 频发送到该适配器端。该操作外设的方法 500进一步包括方框 512所示的接 收数据输入。 所述的数据输入是指由其它终端所传送的数据。 在这个例子中 是指由该控制端所传送的数据。该控制端传送的数据通过该移动终端接收后, 通过该处理模块 10的该交换模块 12的该通信模块 123传送至该交换模块 12的该解释模块 121。 该操作外设方法 500进一步包括在方框 514所示的 解释所接收的数据。该解释模块 121所接收的该数据。该数据为一音乐视频, 格式为 mp4。 该解释模块根据该数据的属性数据, 生成调用指令数据, 以供 调用移动终端上输出设备。 该解释模块 121将该调用指令数据、 该数据的属 性数据和该数据传送至该数据交换模块 122。 该信息接收方法 500进一步包 括在方框 516所示的传送数据至外部设备。该数据交换模块 122接收到该调 用指令数据、 该数据的属性数据: 音乐视频, MP4和该音乐视频后, 将上述 数据通过该移动终端传送至该影音终端。该信息接收方法 500进一步包括方 框 518所示的展示数据。 该影音终端接收该调用指令数据、 该音乐视频的属 性数据和该音乐视频后, 调用其输出设备, 将该数据展示给该移动终端的使 用者。 该影音设备的显示装置输出音乐视频, 该影音设备的声音装置输出该 音乐视频的声音。 值得一提的是, 可将本发明基于移动终端状态改变的数据 交换系统设置在一适配器, 然后和其它终端的数据接口连接。 Figure 19 is a diagram showing a method of operating a peripheral device by a data exchange system in which the state of the mobile terminal is changed, in accordance with an embodiment of the present invention. This is further illustrated by playing a music video as an example. A mobile terminal is used as an adapter end, and another data interface of the mobile terminal is connected to an audio-visual device through a data line. Another mobile terminal acts as a control terminal, and operates the audio and video device by triggering an event. Preferably, the user uses an action to change the state of the control end to trigger an event. The connection between the control terminal and the adapter end is selected from the group consisting of a data line, a network, a Bluetooth, a wireless network, a satellite network, a telephone network, and the like. The method 500 of operating a peripheral device further includes receiving user input as shown in block 502. In this example, the user's input is that the user quickly moves to the sky in the vertical direction with the control end. The operational peripheral method 500 further includes determining the mobile terminal state change type data as indicated by block 504. It is determined that the state of the mobile terminal is processed by the state change type determining module 11 of the processing module 10, and the specific determining method is as described above. It is determined that the state change type data of the mobile terminal is a departure. The deviation is then transmitted to the interpretation module 121 of the switching module 12 of the processing module 10. The method of operation 500 further includes interpreting the mobile terminal state change type as indicated by block 506. Interpreting the trigger event 3 can be performed by the interpretation module 121 of the switch module 12. The interpretation module 121 interprets the mobile terminal state change type data deviation, and obtains a trigger event 3, the target object instruction data and the target data instruction data. In this example, triggering event 3 refers to sending a music video to the adapter. The interpretation module 121 transmits the trigger event 3 data: a music video, and the target data command data: the music video to the data exchange module 122 of the switching module 12. The interpretation module 121 transmits the target object instruction data: the adapter end to the communication module 123. The operational peripheral method 500 further includes the acquisition target data shown in block 508. The acquisition target data can be performed by the data exchange module 122 of the switch module 12. The The data exchange module 122 acquires the music video and then transmits the music video to the communication module 123. The operational peripheral method 500 further includes transmitting target data to the target object as shown in block 510. After receiving the target object instruction data and the target data, the communication module 123 of the switching module 12 sends the target data to the target object. The communication module 123 transmits the received music video to the adapter end. The method 500 of operating the peripherals further includes receiving data input as indicated by block 512. The data input refers to data transmitted by other terminals. In this example, the data transmitted by the control terminal. After the data transmitted by the control terminal is received by the mobile terminal, the communication module 123 of the switching module 12 of the processing module 10 transmits the data to the interpretation module 121 of the switching module 12. The operational peripheral method 500 further includes interpreting the received data as indicated at block 514. The data received by the interpretation module 121. The data is a music video in the format mp4. The interpretation module generates call instruction data for invoking an output device on the mobile terminal according to the attribute data of the data. The interpretation module 121 transmits the call instruction data, the attribute data of the data, and the data to the data exchange module 122. The information receiving method 500 further includes transmitting the data to the external device as indicated at block 516. The data exchange module 122 receives the call instruction data, attribute data of the data: music video, MP4 and the music video, and transmits the data to the video terminal through the mobile terminal. The information receiving method 500 further includes the presentation data shown at block 518. After receiving the call instruction data, the attribute data of the music video, and the music video, the video terminal calls its output device to present the data to the user of the mobile terminal. The display device of the audio-visual device outputs a music video, and the sound device of the audio-visual device outputs the sound of the music video. It is worth mentioning that the data exchange system based on the state change of the mobile terminal of the present invention can be set in an adapter and then connected to the data interface of other terminals.
本发明进一步包括一模式选择模块 40。 该模式选择模块 40提供多种的 触发事件配置数据, 该模式选择模块 40与该处理模块 10连接, 以供该处理 模块 10读取触发事件配置数据, 从而适应不同的应用场合。 如在上个例子 中, 该控制端可通过该模式选择模块调用一娱乐终端配置, 该适配器端可调 用一适配器配置。 这娱乐终端配置可使本发明移动终端状态改变的数据交换 系统触发事件适应在娱乐终端使用。 值得一提的是, 该模式选择模块 40还 可以自定义事件配置, 使用者可通过模式选择模块 40 自己定义每一触发事 件。 The present invention further includes a mode selection module 40. The mode selection module 40 provides a plurality of trigger event configuration data, and the mode selection module 40 is coupled to the processing module 10 for the processing module 10 to read the trigger event configuration data to adapt to different applications. As in the previous example, the console can invoke an entertainment terminal configuration through the mode selection module, which can be configured with an adapter. The entertainment terminal configuration enables the data exchange system triggering event of the mobile terminal state change of the present invention to be adapted for use in the entertainment terminal. It is worth mentioning that the mode selection module 40 can also customize the event configuration, and the user can define each trigger event by the mode selection module 40.
本发明进一步包括一调整模块 50。该调整模块 50分别与该检测模块 20
和该处理模块连接。 该调整模块 50供使用者调整该预设的速度值, 该预设 的角速度值, 该位移阀值, 该位移比较值。 该调整模块 50通过该检测模块 20 记录使用者持该移动终端多次做同类动作导致该移动终端状态改变的数 据, 然后传送给该处理模块 10处理后, 得出所调整后的数据。 如在调整该 预设速度值时,该调整模块 50通过该检测模块 20记录使用者持该移动终端 多次做出同类动作导致该移动终端状态改变数据,然后传送给该处理模块 10 处理后, 得出调整后的该预设速度值。 对该预设的角速度值, 该位移阀值, 该位移比较值的调整也可采取这种方式。 The invention further includes an adjustment module 50. The adjustment module 50 and the detection module 20 are respectively Connected to the processing module. The adjustment module 50 is configured for the user to adjust the preset speed value, the preset angular velocity value, the displacement threshold, and the displacement comparison value. The adjusting module 50 records, by the detecting module 20, data that the user changes the state of the mobile terminal by performing the same action multiple times by the mobile terminal, and then transmits the data to the processing module 10 for processing, and then obtains the adjusted data. When the preset speed value is adjusted, the adjusting module 50 records, by the detecting module 20, that the mobile terminal changes the data caused by the user performing the same action multiple times, and then transmits the data to the processing module 10 for processing. The adjusted preset speed value is obtained. For the preset angular velocity value, the displacement threshold, the displacement comparison value can also be adjusted in this manner.
本发明中所调用的事件包括: 发送, 接收, 翻页, 上传, 下载, 确定, 播放, 停止, 前进, 后退。 The events invoked in the present invention include: send, receive, page, upload, download, confirm, play, stop, forward, and rewind.
上述内容为本发明的具体实施例的例举, 对于其中未详尽描述的设备和 结构, 应当理解为采取本领域已有的通用设备及通用方法来予以实施。 The foregoing is an exemplification of the specific embodiments of the present invention, and the device and the structure which are not described in detail are understood to be implemented by the general equipment and the general method which are available in the field.
同时本发明上述实施例仅为说明本发明技术方案之用, 仅为本发明技术方案 的列举,并不用于限制本发明的技术方案及其保护范围。采用等同技术手段、 等同设备等对本发明权利要求书及说明书所公开的技术方案的改进应当认为 是没有超出本发明权利要求书及说明书所公开的范围。
The above embodiments of the present invention are merely illustrative of the technical solutions of the present invention, and are merely illustrative of the technical solutions of the present invention, and are not intended to limit the technical solutions of the present invention and the scope thereof. The improvement of the technical solutions disclosed in the claims and the description of the present invention by means of equivalent technical means, equivalent equipment and the like should be considered as not departing from the scope of the invention as disclosed in the appended claims.
Claims
1、一种智能终端上基于陀螺仪的人机交互检测及处理方法,其特征在于: 它包括以下步骤: A gyroscope-based human-computer interaction detection and processing method on a smart terminal, characterized in that: the method comprises the following steps:
步骤 (1 )、 在智能终端上建立三维坐标系, X轴方向为水平从左到右, Step (1), establish a three-dimensional coordinate system on the intelligent terminal, and the X-axis direction is horizontal from left to right.
Y轴方向为垂直从下到上, z轴方向垂直于智能终端屏幕从后到前; The Y-axis direction is vertical from bottom to top, and the z-axis direction is perpendicular to the screen of the smart terminal from back to front;
步骤 (2)、 若智能终端持有人对智能终端做出动作, 通过陀螺仪来分别 测试终端设备围绕 X轴旋转的角速率、围绕 Y轴旋转的角速率和围绕 Z轴旋 转的角速率; Step (2), if the smart terminal holder acts on the smart terminal, respectively, the gyroscope is used to respectively test the angular rate of the terminal device rotating around the X axis, the angular rate of rotation around the Y axis, and the angular rate of rotation around the Z axis;
步骤 (3)、 通过对角速率的采样, 分别得到围绕 X轴、 Y轴和 Z轴三个 方向旋转的角速率对于时间的变化曲线; Step (3), by sampling the diagonal rate, respectively, obtaining an angular rate change curve with respect to time in three directions of the X axis, the Y axis, and the Z axis;
步骤 (4)、 根据得到的 X轴、 Y轴、 Z轴的角速率对于时间的变化曲线 上的波形图, 判断智能终端做出的动作, 并根据设定触发相应事件。 Step (4), according to the obtained waveform diagram of the angular rate of the X-axis, the Y-axis, and the Z-axis on the time curve, determine the action made by the smart terminal, and trigger the corresponding event according to the setting.
2、 如权利要求 1 所述的智能终端上基于陀螺仪的人机交互检测及处理 方法, 其特征在于: 所述步骤(4) 中, 根据得到的 X轴、 Y轴、 Z轴的角速 率对于时间的变化曲线上的波形图, 判断智能终端做出的动作, 是指: 2. The method for detecting and processing human-machine interaction based on a gyroscope according to claim 1, wherein: in the step (4), according to the obtained angular rates of the X-axis, the Y-axis, and the Z-axis For the waveform diagram on the curve of time, judging the action made by the intelligent terminal means:
若得到的波形图中, X轴的波形图有明显波谷, Y轴和 z轴的波形图无 明显变化, 则判断智能终端做自近向远甩出的动作; If the waveform diagram of the X-axis has obvious troughs in the obtained waveform diagram, and the waveform diagrams of the Y-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the action from the near-outward direction;
若得到的波形图, X轴的波形图有明显波峰, Y轴和 z轴的波形图无明 显变化, 则判断智能终端做自远向近甩回的动作; If the obtained waveform diagram has obvious peaks in the waveform diagram of the X-axis, and the waveform diagrams of the Y-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the action from the far-reaching near-turnback;
若得到的波形图, Y轴的波形图先有明显波谷, 后有明显波峰, X轴和 z轴的波形图无明显变化, 则判断智能终端做向左翻转的动作; If the obtained waveform diagram, the waveform diagram of the Y-axis has obvious troughs first, and there are obvious peaks afterwards, and the waveform diagrams of the X-axis and the z-axis do not change significantly, then the smart terminal is judged to flip to the left;
若得到的波形图, Y轴的波形图先有明显波峰, 后有明显波谷, X轴和 z轴的波形图无明显变化, 则判断智能终端做向右翻转的动作; If the waveform diagram obtained, the waveform diagram of the Y-axis has obvious peaks first, and after the obvious troughs, the waveform diagrams of the X-axis and the z-axis have no obvious change, then the smart terminal is judged to flip to the right;
若得到的波形图, Z轴的波形图有明显波谷, Y轴和 X轴的波形图无明 显变化, 则判断智能终端做自近向远甩出的动作; If the obtained waveform diagram has obvious troughs in the waveform diagram of the Z-axis, and the waveform diagrams of the Y-axis and the X-axis do not change significantly, it is judged that the smart terminal performs the action from the near-outward direction;
若得到的波形图, Z轴的波形图有明显波峰, Y轴和 X轴的波形图无明 显变化, 则判断智能终端做自远向近甩回的动作。 If the waveform diagram obtained has obvious peaks in the waveform diagram of the Z-axis, and the waveform diagrams of the Y-axis and the X-axis do not change significantly, it is judged that the smart terminal performs the action from the far-end to the near-turnback.
3、 如权利要求 1 或 2所述的智能终端上基于陀螺仪的人机交互检测及 处理方法, 其特征在于: 步骤 (4 ) 中判断智能终端做出的动作, 并根据设 定触发相应事件是指: The gyro-based human-computer interaction detection and processing method on the smart terminal according to claim 1 or 2, wherein: the step (4) determines the action made by the smart terminal, and according to the setting The triggering of the corresponding event means:
若判断为智能终端做自近向远甩出的动作,则智能终端触发的事件包括: 发送邮件、 上传文件、 发出短信、 发送信息或者射击游戏中的武器发射; 若判断为智能终端做自远向近甩回的动作,则智能终端触发的事件包括: 接收文件、 下载文件、 接收信息; If it is determined that the smart terminal performs the action from the near-out direction, the events triggered by the smart terminal include: sending an email, uploading a file, sending a short message, sending a message, or launching a weapon in a shooting game; The action triggered by the smart terminal includes: receiving a file, downloading a file, and receiving the message;
若判断智能终端做向左翻转的动作, 则智能终端触发的事件包括: 查看 前一页、 前翻、 查看上一项内容; If the smart terminal performs the action of flipping to the left, the events triggered by the smart terminal include: viewing the previous page, scrolling forward, and viewing the previous item;
若判断智能终端做向右翻转的动作, 则智能终端触发的事件包括: 查看 后一页、 后翻、 查看下一项内容。 If the smart terminal performs the action of flipping to the right, the events triggered by the smart terminal include: viewing the next page, turning over, and viewing the next item.
4、 如权利要求 2所述的智能终端上基于陀螺仪的人机交互检测及处理 方法,其特征在于:所述的有明显波谷是指:波形图中, 曲线的幅度小于 S1 , 且持续超过 T秒, 有明显波峰是指: 波形图中, 曲线的幅度大于 S2, 且持 续超过 T秒, 若波形图中, 既无明显波谷, 又无明显波峰, 则认为, 该波形 图无明显变化, 所述 S1、 S2和 T均为可设定值。 4. The method for detecting and processing a human-machine interaction based on a gyroscope according to claim 2, wherein the apparent trough is: in the waveform diagram, the amplitude of the curve is less than S1 and continues to exceed T seconds, there are obvious peaks: In the waveform diagram, the amplitude of the curve is greater than S2, and lasts for more than T seconds. If there is no obvious trough and no obvious peak in the waveform, it is considered that the waveform has no obvious change. The S1, S2 and T are all settable values.
5、 权利要求 4所述的智能终端上基于陀螺仪的人机交互检测及处理方 法, 其特征在于: 所述 S1为 -1 .5, 所述 S2为 1 .5, 所述 T为 0.2。 The method for detecting and processing a human-machine interaction based on a gyroscope according to claim 4, wherein: S1 is -1.5, said S2 is 1.5, and said T is 0.2.
6、一种智能终端上基于线加速度传感器的人机交互检测及处理方法,其 特征在于: 它包括以下步骤: 6. A human-machine interaction detection and processing method based on a linear acceleration sensor on a smart terminal, characterized in that: the method comprises the following steps:
步骤 (1 )、 在智能终端上建立三维坐标系, X轴方向为水平从左到右, Step (1), establish a three-dimensional coordinate system on the intelligent terminal, and the X-axis direction is horizontal from left to right.
Y轴方向为垂直从下到上, Z轴方向垂直于智能终端屏幕从后到前; The Y-axis direction is vertical from bottom to top, and the Z-axis direction is perpendicular to the screen of the smart terminal from back to front;
步骤 (2)、 若智能终端持有人对智能终端做出动作, 通过线加速度传感 器来分别测试终端设备在 XYZ三个轴的线加速度; Step (2) If the smart terminal holder acts on the intelligent terminal, the line acceleration sensor is used to respectively test the linear acceleration of the terminal device in three axes of XYZ;
步骤 (3)、 通过对线加速度的采样, 分别得到 X轴、 Y轴和 Z轴三个方 向运动的线加速度对于时间的变化曲线; Step (3), by sampling the linear acceleration, respectively, obtaining a linear acceleration curve of the three directions of the X-axis, the Y-axis, and the Z-axis;
步骤 (4)、 根据得到的 X轴、 Y轴、 Z轴的线加速度对于时间的变化曲 线上的波形图, 判断智能终端做出的动作, 并根据设定触发相应事件。 Step (4): According to the obtained linear acceleration of the X-axis, the Y-axis, and the Z-axis, the waveform diagram of the time change curve is used to determine the action made by the smart terminal, and the corresponding event is triggered according to the setting.
7、 根据权利要求 6所述的智能终端上基于线加速度传感器的人机交互 检测及处理方法, 其特征在于: 所述步骤 (4) 中, 根据得到的 X轴、 Y轴、 Z轴的线加速度对于时间的变化曲线上的波形图,判断智能终端做出的动作, 是指: 7. The method of detecting and processing a human-machine interaction based on a linear acceleration sensor on a smart terminal according to claim 6, wherein: in the step (4), according to the obtained line of the X-axis, the Y-axis, and the Z-axis The waveform of the acceleration versus time curve determines the action made by the intelligent terminal. Refers to:
若得到的波形图中, Z轴的波形图有明显波谷, Y轴和 X轴的波形图无 明显变化, 则判断智能终端做自近向远甩出的动作; If the waveform diagram of the Z-axis has obvious troughs, and the waveform diagrams of the Y-axis and the X-axis do not change significantly, it is judged that the smart terminal performs the action from the near-out direction;
若得到的波形图, Z轴的波形图有明显波峰, Y轴和 X轴的波形图无明 显变化, 则判断智能终端做自远向近甩回的动作; If the obtained waveform diagram has obvious peaks in the waveform diagram of the Z-axis, and the waveform diagrams of the Y-axis and the X-axis do not change significantly, it is judged that the smart terminal performs the action from the far-end to the near-turnback;
若得到的波形图, X轴的波形图先有明显波谷, 后有明显波峰, Y轴和 z轴的波形图无明显变化, 则判断智能终端做向左翻转的动作; If the waveform diagram is obtained, the waveform of the X-axis has obvious troughs first, and then there are obvious peaks. If the waveforms of the Y-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the flipping to the left;
若得到的波形图, X轴的波形图先有明显波峰, 后有明显波谷, Y轴和 z轴的波形图无明显变化, 则判断智能终端做向右翻转的动作; If the waveform diagram is obtained, the waveform of the X-axis has obvious peaks first, and after the obvious troughs, the waveform diagrams of the Y-axis and the z-axis do not change significantly, then the smart terminal is judged to flip to the right;
若得到的波形图, Y轴的波形图有明显波谷, X轴和 Z轴的波形图无明 显变化, 则判断智能终端做自近向远甩出的动作; If the obtained waveform diagram has obvious troughs in the waveform diagram of the Y-axis, and the waveform diagrams of the X-axis and the Z-axis do not change significantly, it is judged that the smart terminal performs the action from the near-outward direction;
若得到的波形图, Y轴的波形图有明显波峰, X轴和 z轴的波形图无明 显变化, 则判断智能终端做自远向近甩回的动作。 If the obtained waveform diagram has obvious peaks in the waveform diagram of the Y-axis, and the waveform diagrams of the X-axis and the z-axis do not change significantly, it is judged that the smart terminal performs the action from the far-end to the near-turnback.
8、 根据权利要求 6或 7所述的智能终端上基于线加速度传感器的人机 交互检测及处理方法, 其特征在于: 步骤 (4) 中判断智能终端做出的动作, 并根据设定触发相应事件是指: The method for detecting and processing a human-machine interaction based on a linear acceleration sensor on a smart terminal according to claim 6 or 7, wherein: (4) determining an action performed by the intelligent terminal, and triggering according to the setting The event refers to:
若判断为智能终端做自近向远甩出的动作,则智能终端触发的事件包括: 发送邮件、 上传文件、 发出短信、 发送信息或者射击游戏中的武器发射; 若判断为智能终端做自远向近甩回的动作,则智能终端触发的事件包括: 接收文件、 下载文件、 接收信息; If it is determined that the smart terminal performs the action from the near-out direction, the events triggered by the smart terminal include: sending an email, uploading a file, sending a short message, sending a message, or launching a weapon in a shooting game; The action triggered by the smart terminal includes: receiving a file, downloading a file, and receiving the message;
若判断智能终端做向左翻转的动作, 则智能终端触发的事件包括: 查看 前一页、 前翻、 查看上一项内容; If the smart terminal performs the action of flipping to the left, the events triggered by the smart terminal include: viewing the previous page, scrolling forward, and viewing the previous item;
若判断智能终端做向右翻转的动作, 则智能终端触发的事件包括: 查看 后一页、 后翻、 查看下一项内容。 If the smart terminal performs the action of flipping to the right, the events triggered by the smart terminal include: viewing the next page, turning over, and viewing the next item.
9、 根据权利要求 7所述的智能终端上基于线加速度传感器的人机交互 检测及处理方法, 其特征在于: 所述的有明显波谷是指: 波形图中, 曲线的 幅度小于 S1 , 且持续超过 T秒, 有明显波峰是指: 波形图中, 曲线的幅度 大于 S2, 且持续超过 T秒, 若波形图中, 既无明显波谷, 又无明显波峰, 则认为, 该波形图无明显变化, 所述 S1、 S2和 T均为可设定值。 9. The method according to claim 7, wherein the apparent trough is: in the waveform diagram, the amplitude of the curve is less than S1 and continues. More than T seconds, there are obvious peaks: In the waveform diagram, the amplitude of the curve is greater than S2, and lasts longer than T seconds. If there is no obvious trough and no obvious peak in the waveform, it is considered that the waveform has no obvious change. The S1, S2, and T are all settable values.
10、 根据权利要求 9所述的智能终端上基于线加速度传感器的人机交互 检测及处理方法, 其特征在于: 所述 S1为 -1 .5, 所述 S2为 1 .5, 所述 T为 0.2。 10. The human-machine interaction based on linear acceleration sensor on the intelligent terminal according to claim 9. The detection and processing method is characterized in that: S1 is -1.5, the S2 is 1.5, and the T is 0.2.
11、 一基于移动终端状态改变的数据交换系统, 其特征在于, 包括: 相 互连接的一处理模块, 一检测模块和一存储模块, 其中, 所述检测模块检测 该移动终端的状态变化数据, 并将该移动终端的状态变化数据存储在所述存 储模块, 所述检测模块读取存储在所述存储模块中的该移动终端的状态变化 数据并进行处理, 以判定该移动终端状态改变类型, 从而触发相应的事件。 A data exchange system based on a state change of a mobile terminal, comprising: a processing module connected to each other, a detecting module and a storage module, wherein the detecting module detects state change data of the mobile terminal, and The state change data of the mobile terminal is stored in the storage module, and the detecting module reads the state change data of the mobile terminal stored in the storage module and performs processing to determine the state change type of the mobile terminal, thereby Trigger the corresponding event.
12、 如权利要求 11 所述的基于移动终端状态改变的数据交换系统, 其 特征在于, 所述检测模块进一步包括: The data exchange system based on the state change of the mobile terminal according to claim 11, wherein the detecting module further comprises:
一计时模块, 供设定检测时间段; 和 a timing module for setting a detection period; and
一状态检测模块, 供检测该移动终端各时间点的状态, 其中, 所述计时 模块与所述状态检测模块连接,所述计时模块检测到加速度变化则开始计时, 所述状态检测模块将所检测到的该移动终端的状态数据传送至该存储模块。 a state detecting module, configured to detect a state of the mobile terminal at each time point, wherein the timing module is connected to the state detecting module, and the timing module starts timing when detecting an acceleration change, and the state detecting module detects the time. The status data of the mobile terminal to which it arrives is transmitted to the storage module.
13、 如权利要求 11 所述的基于移动终端状态改变的数据交换系统, 其 特征在于, 所述处理模块进一步包括: 互相连接的一状态改变类型判定模块 和一交换模块, 其中, 所述状态改变类型判定模块读取所述存储模块中该移 动终端的状态数据, 进行处理, 以判定该移动终端的状态改变类型, 然后该 移动终端的状态改变类型数据传送至所述交换模块, 所述交换模块处理该移 动终端的状态改变类型数据, 得到相应的触发事件, 然后从该移动终端上获 取所需的数据, 执行相应的操作。 The data exchange system based on the state change of the mobile terminal according to claim 11, wherein the processing module further comprises: a state change type determining module and a switching module connected to each other, wherein the state change The type determining module reads the state data of the mobile terminal in the storage module, performs processing to determine a state change type of the mobile terminal, and then transmits the state change type data of the mobile terminal to the switching module, the switching module Processing the state change type data of the mobile terminal, obtaining a corresponding trigger event, and then acquiring the required data from the mobile terminal, and performing a corresponding operation.
14、 如权利要求 12所述的基于移动终端状态改变的数据交换系统, 其 特征在于, 所述处理模块进一步包括: 互相连接的一状态改变类型判定模块 和一交换模块, 其中, 所述状态改变类型判定模块读取所述存储模块中该移 动终端的状态数据, 进行处理, 以判定该移动终端的状态改变类型, 然后该 移动终端的状态改变类型数据传送至所述交换模块, 所述交换模块处理该移 动终端的状态改变类型数据, 得到相应的触发事件, 然后从该移动终端上获 取所需的数据, 执行相应的操作。 The data exchange system based on the state change of the mobile terminal according to claim 12, wherein the processing module further comprises: a state change type determining module and a switching module connected to each other, wherein the state change The type determining module reads the state data of the mobile terminal in the storage module, performs processing to determine a state change type of the mobile terminal, and then transmits the state change type data of the mobile terminal to the switching module, the switching module Processing the state change type data of the mobile terminal, obtaining a corresponding trigger event, and then acquiring the required data from the mobile terminal, and performing a corresponding operation.
15、 如权利要求 13所述的基于移动终端状态改变的数据交换系统, 其 特征在于, 所述交换模块进一步包括: 互相连接的一解释模块, 一数据交换 模块和一通信模块,其中,所述解释模块解释该移动终端状态改变类型数据, 得到该目标对像指令数据和该目标数据指令数据, 所述解释模块将该目标对 像指令数据传送至所述通信模块, 将该目标数据传送至所述数据交换模块, 所述数据交换模块获取该目标数据, 并将该目标数据传送至所述通信模块, 所述通信模块将目标数据传送至目标对象。 15. The data exchange system based on state change of a mobile terminal according to claim 13, The switching module further includes: an interpreting module connected to each other, a data exchange module and a communication module, wherein the interpreting module interprets the mobile terminal state change type data, obtaining the target object instruction data and the Target data instruction data, the interpretation module transmits the target object instruction data to the communication module, and transmits the target data to the data exchange module, the data exchange module acquires the target data, and the target data Transferred to the communication module, the communication module transmits target data to a target object.
16、 如权利要求 14所述的基于移动终端状态改变的数据交换系统, 其 特征在于, 所述交换模块进一步包括: 互相连接的一解释模块, 一数据交换 模块和一通信模块,其中,所述解释模块解释该移动终端状态改变类型数据, 得到该目标对像指令数据和该目标数据指令数据, 所述解释模块将该目标对 像指令数据传送至所述通信模块, 将该目标数据传送至所述数据交换模块, 所述数据交换模块获取该目标数据, 并将该目标数据传送至所述通信模块, 所述通信模块将目标数据传送至目标对象。 The data exchange system based on the state change of the mobile terminal according to claim 14, wherein the switching module further comprises: an interpreting module connected to each other, a data exchange module and a communication module, wherein The interpretation module interprets the mobile terminal state change type data, obtains the target object instruction data and the target data instruction data, and the interpretation module transmits the target object instruction data to the communication module, and transmits the target data to the The data exchange module, the data exchange module acquires the target data, and transmits the target data to the communication module, and the communication module transmits the target data to the target object.
17、 如权利要求 15所述的基于移动终端状态改变的数据交换系统, 其 特征在于, 其中, 所述通信模块将所接收的数据传送至日所述解释模块, 所 述解释模块解释所接收到的该数据, 识别该数据的属性数据, 生成调用指令 数据, 然后将该数据、 该数据的属性数据、 该调用数据传送至所述数据交换 模块, 以供调用系统外的设备。 17. The data exchange system based on state change of a mobile terminal according to claim 15, wherein the communication module transmits the received data to the interpretation module of the day, and the interpretation module interprets the received The data identifies the attribute data of the data, generates call instruction data, and then transfers the data, the attribute data of the data, and the call data to the data exchange module for calling a device outside the system.
18、 如权利要求 16所述的基于移动终端状态改变的数据交换系统, 其 特征在于, 其中, 所述通信模块将所接收的数据传送至日所述解释模块, 所 述解释模块解释所接收到的该数据, 识别该数据的属性数据, 生成调用指令 数据, 然后将该数据、 该数据的属性数据、 该调用数据传送至所述数据交换 模块, 以供调用系统外的设备。 18. The data exchange system based on state change of a mobile terminal according to claim 16, wherein the communication module transmits the received data to the interpretation module of the day, and the interpretation module interprets the received The data identifies the attribute data of the data, generates call instruction data, and then transfers the data, the attribute data of the data, and the call data to the data exchange module for calling a device outside the system.
19、 如权利要求 17所述的基于移动终端状态改变的数据交换系统, 其 特征在于, 所述基于移动终端状态改变的数据交换系统进一步包括一模式选 择模块, 所述模式选择模块与所述处理模块连接, 所述模式选择模块提供多 种触发事件配置数据供所述处理模块读取, 从而适应不同应用场合。 The data exchange system based on the state change of the mobile terminal according to claim 17, wherein the data exchange system based on the state change of the mobile terminal further comprises a mode selection module, the mode selection module and the processing The module is connected, and the mode selection module provides a plurality of trigger event configuration data for the processing module to read, thereby adapting to different applications.
20、 如权利要求 18所述的基于移动终端状态改变的数据交换系统, 其 特征在于, 所述基于移动终端状态改变的数据交换系统进一步包括一模式选 择模块, 所述模式选择模块与所述处理模块连接, 所述模式选择模块提供多 种触发事件配置数据供所述处理模块读取, 从而适应不同应用场合。 20. The data exchange system based on a state change of a mobile terminal according to claim 18, wherein said data exchange system based on a state change of the mobile terminal further comprises a mode selection module, said mode selection module and said process Module connection, the mode selection module provides more The trigger event configuration data is read by the processing module to adapt to different applications.
21、 如权利要求 19所述的基于移动终端状态改变的数据交换系统, 其 特征在于, 所述基于移动终端状态改变的数据交换系统进一步包括一调整模 块, 所述调整模块分别与所述检测模块和所述处理模块连接, 其中, 所述调 整模块供使用者调整该预设的速度值, 该预设的角速度值, 该位移阀值, 该 位移比较值。 The data exchange system based on the state change of the mobile terminal according to claim 19, wherein the data exchange system based on the state change of the mobile terminal further comprises an adjustment module, and the adjustment module and the detection module respectively And the processing module is connected to the processing module, wherein the adjustment module is configured for the user to adjust the preset speed value, the preset angular velocity value, the displacement threshold, and the displacement comparison value.
22、 如权利要求 20所述的基于移动终端状态改变的数据交换系统, 其 特征在于, 所述基于移动终端状态改变的数据交换系统进一步包括一调整模 块, 所述调整模块分别与所述检测模块和所述处理模块连接, 其中, 所述调 整模块供使用者调整该预设的速度值, 该预设的角速度值, 该位移阀值, 该 位移比较值。 The data exchange system based on the state change of the mobile terminal according to claim 20, wherein the data exchange system based on the state change of the mobile terminal further comprises an adjustment module, and the adjustment module and the detection module respectively And the processing module is connected to the processing module, wherein the adjustment module is configured for the user to adjust the preset speed value, the preset angular velocity value, the displacement threshold, and the displacement comparison value.
23、 一种通过移动终端状态改变的数据交换系统操作外部设备的方法, 其特征在于, 包括以下步骤: 23. A method of operating an external device by a data exchange system with a state change of a mobile terminal, comprising the steps of:
步骤 1 : 接收该使用者输入, 所述使用者输入是指该使用者持该移动终 端做动作,使该移动终端状态改变,通过这样的方式与该移动终端产生互动; 步骤 2: 判定该移动终端状态改变类型数据; Step 1: receiving the user input, the user input means that the user holds the mobile terminal to make an action, and the mobile terminal changes state, and interacts with the mobile terminal in this manner; Step 2: Determine the mobile Terminal status change type data;
步骤 3: 解释该移动终端状态改变类型数据, 所述该移动终端状态改变 类型数据通过该解释模块解释, 可得到该移动终端状态改变类型数据相应的 触发事件数据, 该目标对象指令数据和该目标数据指令数据, 该目标对象指 令数据被传送至该通信模块,该目标数据指令数据被传送至该数据交换模块; 步骤 4: 发送目标数据至目标对象, 将从该移动终端获取的数据传送至 目标对象, 所述目标对象为另一移动终端, 其与一外部设备相连接; Step 3: Explain the mobile terminal status change type data, the mobile terminal status change type data is interpreted by the interpretation module, and the trigger event data corresponding to the mobile terminal status change type data is obtained, the target object instruction data and the target Data instruction data, the target object instruction data is transmitted to the communication module, and the target data instruction data is transmitted to the data exchange module; Step 4: transmitting the target data to the target object, and transmitting the data acquired from the mobile terminal to the target An object, the target object is another mobile terminal, which is connected to an external device;
步骤 5: 接收数据输入, 所述数据输入另一该移动终端接收由该移动终 端所传送的数据, 所述数据通过该通信模块传送至该解释模块; Step 5: receiving data input, the data inputting another mobile terminal to receive data transmitted by the mobile terminal, and the data is transmitted to the interpretation module through the communication module;
步骤 6: 解释所接收数据, 该所接收的数据由该通信模块所传送, 所接 收数据被该解释模块解释, 生成该调用指令数据, 该数据的属性数据, 然后 被传送至该数据交换模块; Step 6: Interpreting the received data, the received data is transmitted by the communication module, and the received data is interpreted by the interpretation module to generate the call instruction data, and the attribute data of the data is then transmitted to the data exchange module;
步骤 7: 传送数据至外部设备, 该调用指令数据、 该数据的属性数据和 该数据本身通过该数据交换模块传送至该外部设备; Step 7: transmitting data to the external device, the call instruction data, the attribute data of the data, and the data itself are transmitted to the external device through the data exchange module;
步骤 8: 展示数据, 所述数据从该数据交换模块所接收, 该外部设备通 过其输出设备展示所述数据。 Step 8: Display data, the data is received from the data exchange module, and the external device is The data is presented by its output device.
24、 如权利要求 23所述的通过移动终端状态改变的数据交换系统操作 外部设备的方法, 其特征在于, 所述步骤 2进一步包括以下子步骤: 24. The method of claim 23, wherein the step 2 further comprises the following sub-steps:
步骤 2.1 : 判断在检测时间段内, 在该移动终端各时间点的即时速度值 中是否有一时间点的即时速度值超过预设的速度值, 若有, 则判定该移动终 端状态发生改变, 若没有, 则不再判定; Step 2.1: determining whether the instantaneous speed value of a time point in the instantaneous speed value of each time point of the mobile terminal exceeds a preset speed value during the detection period, and if yes, determining that the state of the mobile terminal changes, if No, no longer judged;
步骤 2.2: 建立三维坐标系, X轴的方向由西向东, X轴的正方向向东。 Y轴的方向由南向北, Y轴的正方向向北。 Z轴由地心向地面, Z轴的正方 向向地面, 该坐标轴的原心为该移动终端在检测时间段起止时间点的位置; 步骤 2.3: 计算该移动终端的位移, 该位移在该位移在 X轴的位移分量, 在 Y轴的位移分量和在 Z轴的位移分量; Step 2.2: Establish a three-dimensional coordinate system with the direction of the X axis from west to east and the positive direction of the X axis to the east. The direction of the Y-axis is from south to north, and the positive direction of the Y-axis is north. The Z axis is from the center of the earth to the ground, and the positive direction of the Z axis is toward the ground. The original center of the coordinate axis is the position of the mobile terminal at the start and end time of the detection period; Step 2.3: Calculating the displacement of the mobile terminal, the displacement is The displacement component of the displacement in the X-axis, the displacement component in the Y-axis, and the displacement component in the Z-axis;
步骤 2.4: 判定该移动终端状态改变类型数据, 首先判定该位移在该位 移在 X轴的位移分量, 在 Y轴的位移分量和在 Z轴的位移分量中值最大者, 然后判定该数值最大者的符号关系,从而确定该移动终端状态改变类型数据; 步骤 2.5: 判定该使用者持该移动终端做出的动作, 根据判定该移动终 端状态改变类型数据, 判断该使用者持该移动终端做出的动作类型。 Step 2.4: determining the mobile terminal state change type data, first determining that the displacement is in the displacement component of the displacement on the X axis, the displacement component in the Y axis and the displacement component in the Z axis are the largest, and then determining the largest value a symbol relationship to determine the mobile terminal state change type data; Step 2.5: determining that the user holds the action made by the mobile terminal, determining that the user holds the mobile terminal according to determining the mobile terminal state change type data The type of action.
25、 如权利要求 24所述的通过移动终端状态改变的数据交换系统操作 外部设备的方法, 其特征在于, 其中, 所述步骤 2.4所述的该移动终端状态 改变类型数据包括以下类型: The method for operating an external device by a data exchange system of a mobile terminal state change according to claim 24, wherein the mobile terminal state change type data described in the step 2.4 includes the following types:
右甩: 所述右甩是指该移动终端沿 X轴的正方向移动; Right 甩: The right 甩 refers to the mobile terminal moving in the positive direction of the X axis;
左甩: 所述左甩是指该移动终端沿 X轴的负方向移动; Left 甩: the left 甩 refers to the mobile terminal moving in the negative direction of the X axis;
甩离: 所述甩离是指该移动终端沿 Y轴的正方向移动; Deviation: the separation means that the mobile terminal moves in the positive direction of the Y axis;
甩回, 所述甩回是指该移动终端沿 Y轴的负方向移动; Roundabout, the roundabout refers to the mobile terminal moving in the negative direction of the Y axis;
上甩, 所述上甩是指该移动终端沿 Z轴的正方向移动; The upper jaw refers to the mobile terminal moving in the positive direction of the Z axis;
下甩, 所述下甩是指该移动终端沿 Z轴的负方向移动。 The lower jaw refers to the mobile terminal moving in the negative direction of the Z axis.
26、 如权利要求 25所述的通过移动终端状态改变的数据交换系统操作 外部设备的方法, 其特征在于, 其中, 所述步骤 2.5所述的动作类型包括以 下类型: The method of operating an external device by a data exchange system of a mobile terminal state change according to claim 25, wherein the action type described in the step 2.5 includes the following types:
右甩动作: 所述右甩动作是指该使用者持该移动终端向该使用者的右方 移动该移动终端; 左甩动作: 所述左甩动作是指该移动终端向该使用者的左方移动该移动 终端; Right-hand action: the right-hand action means that the user moves the mobile terminal to the right of the user by the mobile terminal; Left-handed action: the left-handed action means that the mobile terminal moves the mobile terminal to the left of the user;
甩离动作: 所述甩离动作是指该使用者持该移动终端向远离该使用者的 方向移动该移动终端。 The detachment action: the detachment action means that the user moves the mobile terminal to the mobile terminal in a direction away from the user.
甩回动作: 所述甩回动作是指该使用者持该移动终端向接近该使用者的 方向移动该移动终端。 Roundabout action: The circuitous action means that the user moves the mobile terminal to the mobile terminal in the direction of approaching the user.
上甩动作: 所述上甩动作是指该使用者持该移动终端向天移动该移动终 下甩动作: 所述下甩动作是指该使用者持该移动终端向地面移动该移动 终端。 The action of the captain means that the user moves the mobile terminal to move the mobile terminal to the sky: the squatting action means that the user moves the mobile terminal to the ground by the mobile terminal.
27、 如权利要求 23所述的通过移动终端状态改变的数据交换系统操作 外部设备的方法, 其特征在于, 所述步骤 3和所述步骤 4之间还具有一步骤 3A: 判定位移改变程度, 该移动终端状态改变的数据交换系统进一步具有一 位移比较值, 将该位移值与该位移比较值比较, 若该位移值小于该位移比较 值, 则判定该位移改变程度为拍, 若该位移值大于或等于该位移比较值, 则 判定该位移改变程度为甩, 从而可进一步划分所述状态改变类型, 从而可触 发更多事件, 其中右甩可进一步被划分为右拍和右甩, 左甩可进一步被划分 为左拍和左甩, 甩离可进一步被划分为拍离和甩离, 甩回可进一步被划分为 拍回和甩回, 上甩可进一步被划分为上拍和上甩, 下甩可进一步被划分为下 拍和下甩。 The method of operating an external device by a data exchange system of a mobile terminal state change according to claim 23, wherein the step 3 and the step 4 further have a step 3A: determining a degree of displacement change, The data exchange system of the state change of the mobile terminal further has a displacement comparison value, and the displacement value is compared with the displacement comparison value. If the displacement value is smaller than the displacement comparison value, determining that the displacement change degree is a beat, if the displacement value If the displacement comparison value is greater than or equal to, the displacement change degree is determined to be 甩, so that the state change type can be further divided, so that more events can be triggered, wherein the right 甩 can be further divided into a right shot and a right 甩, left 甩It can be further divided into left and left, which can be further divided into beat and detachment, which can be further divided into beats and rounds, which can be further divided into upper shots and uppers. The squat can be further divided into a lower shot and a lower jaw.
28、 如权利要求 23所述的通过移动终端状态改变的数据交换系统操作 外部设备的方法, 其特征在于, 所述步骤 2进一步包括以下子步骤: 28. The method of claim 23, wherein the step 2 further comprises the following sub-steps:
步骤 2.1 : 判断在检测时间段内, 在该移动终端各时间点的即时角速度 值中是否有一时间点的即时速度值超过一预设的角速度值, 若有, 则判定该 移动终端状态发生改变, 若没有, 则不再判定; Step 2.1: determining whether an instantaneous speed value of a time point exceeds a preset angular velocity value in the instantaneous angular velocity value of each time point of the mobile terminal during the detecting period, and if yes, determining that the mobile terminal state changes, If not, no longer judged;
步骤 2.2: 判定该移动终端的方向, 判断该移动终端是被使用者竖持还 是横持, 所述的竖持是使用者以竖直的方式持住该移动终端, 所述横持是使 用者以横的方式持住该移动终端; Step 2.2: determining the direction of the mobile terminal, determining whether the mobile terminal is held vertically or horizontally by the user, the vertical holding is that the user holds the mobile terminal in a vertical manner, and the horizontal holding is a user Holding the mobile terminal in a horizontal manner;
步骤 2.3: 判定该移动终端的旋转方式, 是以顺时针旋转, 还是以逆时 针旋转; 步骤 2.4: 判定判定该移动终端发生状态改变类型; Step 2.3: determining whether the rotation mode of the mobile terminal is rotating clockwise or counterclockwise; Step 2.4: determining that the type of state change occurs in the mobile terminal;
步骤 2.5: 判定该使用者持该移动终端做出的动作, 根据判定该移动终 端状态改变类型数据, 判断该使用者持该移动终端做出的动作。 Step 2.5: determining that the user holds the action made by the mobile terminal, and determining the action performed by the user by the mobile terminal according to determining the mobile terminal state change type data.
29、 如权利要求 28所述的通过移动终端状态改变的数据交换系统操作 外部设备的方法, 其特征在于, 其中, 所述步骤 2.4所述的该移动终端状态 改变类型数据包括以下类型: The method for operating an external device by a data exchange system of a mobile terminal state change according to claim 28, wherein the mobile terminal state change type data described in the step 2.4 includes the following types:
竖顺转: 所述竖顺转是指该移动终端是以竖直的方式顺时针方向旋转; 竖逆转: 所述竖逆转是指该移动终端是以竖直的方式逆时针方向旋转; 横顺转: 所述横顺转是指该移动终端是以横放的方式顺时针方向旋转; 横逆转: 所述横逆转是指该移动终端是以横放的方式逆时针方向旋转。 Vertical rotation: the vertical rotation means that the mobile terminal rotates clockwise in a vertical manner; vertical reversal: the vertical reversal means that the mobile terminal rotates counterclockwise in a vertical manner; Turning: The horizontal rotation means that the mobile terminal rotates clockwise in a horizontal direction; transverse reversal: the horizontal reversal means that the mobile terminal rotates counterclockwise in a horizontal manner.
30、 如权利要求 28所述的通过移动终端状态改变的数据交换系统操作 外部设备的方法, 其特征在于, 其中, 所述步骤 2.5所述的动作类型包括以 下类型: The method of operating an external device by a data exchange system of a mobile terminal state change according to claim 28, wherein the action type described in the step 2.5 includes the following types:
竖顺转动作: 所述竖顺转是指该移动终端是被使用者竖持, 然后以顺时 针方向旋转; Vertical rotation: the vertical rotation means that the mobile terminal is held by the user and then rotated in a clockwise direction;
竖逆转动作: 所述竖逆转是指该移动终端是被使用者竖持, 然后以逆时 针方向旋转; Vertical reversal action: the vertical reversal means that the mobile terminal is held by the user and then rotated in a counterclockwise direction;
横顺转动作: 所述横顺转是指该移动终端是被使用者横持, 然后以顺时 针方向旋转; Transverse rotation: the horizontal rotation means that the mobile terminal is held horizontally by the user and then rotated in a clockwise direction;
横逆转动作: 所述横逆转是指该移动终端是被使用者横持, 然后以逆时 针方向旋转。 Horizontal reversal action: The horizontal reversal means that the mobile terminal is held horizontally by the user and then rotated in the counterclockwise direction.
31、 如权利要求 23所述的通过移动终端状态改变的数据交换系统操作 外部设备的方法, 其特征在于, 所述步骤 3和所述步骤 4之间还具有一步骤 3B:判定旋转程度,该移动终端状态改变的数据交换系统具有一角度比较值, 若该移动终端转动的角度值小于该角度比较值则判定该移动终端的状态变化 程度为抖, 若该移动终端转动的角度的值大于或等于该角度比较值则判定该 移动终端的状态变化程度为转, 从而可进一步划分所述状态改变类型, 从而 可触发更多事件, 其中, 竖顺转进一步划分为竖顺抖和竖顺转, 竖逆转进一 步划分为竖逆抖和竖逆转, 横顺转进一步划分为横顺抖和横顺转, 横逆转进 一步划分为横逆抖和横逆转。 The method of operating an external device by a data exchange system of a mobile terminal state change according to claim 23, wherein the step 3 and the step 4 further have a step 3B: determining a degree of rotation, The data exchange system of the state change of the mobile terminal has an angle comparison value. If the angle value of the rotation of the mobile terminal is less than the angle comparison value, it is determined that the degree of state change of the mobile terminal is jitter, and if the value of the angle of rotation of the mobile terminal is greater than or Equal to the angle comparison value, it is determined that the degree of state change of the mobile terminal is a turn, so that the state change type can be further divided, so that more events can be triggered, wherein the vertical turn is further divided into vertical and vertical, The vertical reversal is further divided into vertical and vertical reversal, and the horizontal reversal is further divided into horizontal and horizontal reversal, and horizontal reversal is further divided into horizontal and horizontal reversal.
32、 如权利要求 24所述的通过移动终端状态改变的数据交换系统操作 外部设备的方法, 其特征在于, 其中, 所述步骤 2.4所述的该移动终端状态 改变类型数据包括以下类型: The method for operating an external device by a data exchange system of a mobile terminal state change according to claim 24, wherein the mobile terminal state change type data described in the step 2.4 includes the following types:
甩来甩回: 该移动终端状态改变的数据交换系统具有一位移阀值, 当位 移值少于位移阀值, 该判定该移动终端状态改变类型数据为甩来甩回。 The data exchange system of the mobile terminal state change has a displacement threshold. When the bit shift value is less than the displacement threshold, it is determined that the mobile terminal state change type data is a round trip.
33、 如权利要求 24所述的通过移动终端状态改变的数据交换系统操作 外部设备的方法, 其特征在于, 其中, 所述步骤 2.3所述的事件选自以下事 件: 发送, 接收, 翻页, 上传, 下载, 确定, 播放, 停止, 前进, 后退。 33. The method of claim 24, wherein the event described in step 2.3 is selected from the following events: sending, receiving, page turning, Upload, download, OK, play, stop, go forward, back.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110403062.3 | 2011-12-07 | ||
CN201110403053.4 | 2011-12-07 | ||
CN201110403053.4A CN102520795B (en) | 2011-12-07 | 2011-12-07 | Gyroscope-based man-machine interaction detecting and processing method on intelligent terminal |
CN201110403062.3A CN102566796B (en) | 2011-12-07 | 2011-12-07 | Linear acceleration sensor based human-computer interactive detection and processing method for intelligent terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013083060A1 true WO2013083060A1 (en) | 2013-06-13 |
Family
ID=48573560
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/086071 WO2013083060A1 (en) | 2011-12-07 | 2012-12-06 | Data exchange system based on mobile terminal state change |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2013083060A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108683807A (en) * | 2018-05-04 | 2018-10-19 | 武汉极意网络科技有限公司 | A kind of radar animated show method, apparatus and equipment based on mobile phone gyroscope |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101339471A (en) * | 2007-07-04 | 2009-01-07 | 索尼株式会社 | Input apparatus, control apparatus, control system, and control method |
CN101739199A (en) * | 2008-11-05 | 2010-06-16 | 联想(北京)有限公司 | Mobile terminal and method for displaying images |
US20100156785A1 (en) * | 2008-12-18 | 2010-06-24 | Seiko Epson Corporation | Input device and data processing system |
CN102265242A (en) * | 2008-10-29 | 2011-11-30 | 因文森斯公司 | Controlling and accessing content using motion processing on mobile devices |
CN102520795A (en) * | 2011-12-07 | 2012-06-27 | 东蓝数码有限公司 | Gyroscope-based man-machine interaction detecting and processing method on intelligent terminal |
CN102566796A (en) * | 2011-12-07 | 2012-07-11 | 东蓝数码有限公司 | Linear acceleration sensor based human-computer interactive detection and processing method for intelligent terminal |
-
2012
- 2012-12-06 WO PCT/CN2012/086071 patent/WO2013083060A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101339471A (en) * | 2007-07-04 | 2009-01-07 | 索尼株式会社 | Input apparatus, control apparatus, control system, and control method |
CN102265242A (en) * | 2008-10-29 | 2011-11-30 | 因文森斯公司 | Controlling and accessing content using motion processing on mobile devices |
CN101739199A (en) * | 2008-11-05 | 2010-06-16 | 联想(北京)有限公司 | Mobile terminal and method for displaying images |
US20100156785A1 (en) * | 2008-12-18 | 2010-06-24 | Seiko Epson Corporation | Input device and data processing system |
CN102520795A (en) * | 2011-12-07 | 2012-06-27 | 东蓝数码有限公司 | Gyroscope-based man-machine interaction detecting and processing method on intelligent terminal |
CN102566796A (en) * | 2011-12-07 | 2012-07-11 | 东蓝数码有限公司 | Linear acceleration sensor based human-computer interactive detection and processing method for intelligent terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108683807A (en) * | 2018-05-04 | 2018-10-19 | 武汉极意网络科技有限公司 | A kind of radar animated show method, apparatus and equipment based on mobile phone gyroscope |
CN108683807B (en) * | 2018-05-04 | 2020-12-08 | 武汉极意网络科技有限公司 | Radar animation display method, device and equipment based on mobile phone gyroscope |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3754476B1 (en) | Information display method, graphical user interface and terminal | |
KR101708582B1 (en) | Method, apparatus and system for transferring digital media content playback | |
CN107707817B (en) | video shooting method and mobile terminal | |
US20130169545A1 (en) | Cooperative displays | |
JP2012506100A (en) | Mobile device with gesture recognition | |
WO2016179912A1 (en) | Application program control method and apparatus, and mobile terminal | |
JP5607579B2 (en) | Information processing system, information processing apparatus, information processing program, and content reproduction control method | |
CN105549878A (en) | Electronic book page turning control method and device | |
US10695675B2 (en) | System and method for creation and control of user interfaces for interaction with video content | |
CN104571499A (en) | Method for controlling terminal and terminal | |
CN104703036A (en) | Method, device and system for synchronizing playing course of media file | |
WO2013082954A1 (en) | Man machine interaction detection and processing method based on gyroscope in smart terminal | |
WO2023016283A1 (en) | Time synchronization method and apparatus for head-mounted device and peripheral device | |
US20200348766A1 (en) | Media manipulation with rotation of portable computing device | |
KR101514777B1 (en) | Terminal device and method for transmitting/receiving data thereof | |
CA2799178A1 (en) | Cooperative displays | |
CN106412810A (en) | Data transmission method and device | |
TW201222325A (en) | Work state switching method of mobile terminal and mobile terminal | |
US20150172852A1 (en) | Wireless terminal and method of data communication therein | |
WO2013083060A1 (en) | Data exchange system based on mobile terminal state change | |
KR101156935B1 (en) | System and method for terminal control using controller device, and terminal and controller device thereof | |
WO2019104533A1 (en) | Video playing method and apparatus | |
TW201126374A (en) | Portable electronic apparatus and operating method thereof | |
CN103870125A (en) | Display device and display device operation method | |
JP2010045686A (en) | Communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12855565 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12855565 Country of ref document: EP Kind code of ref document: A1 |