CN102419917A - Military boxing teaching system-oriented smartphone interactive platform and realization method thereof - Google Patents
Military boxing teaching system-oriented smartphone interactive platform and realization method thereof Download PDFInfo
- Publication number
- CN102419917A CN102419917A CN2011103260331A CN201110326033A CN102419917A CN 102419917 A CN102419917 A CN 102419917A CN 2011103260331 A CN2011103260331 A CN 2011103260331A CN 201110326033 A CN201110326033 A CN 201110326033A CN 102419917 A CN102419917 A CN 102419917A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- military
- computing machine
- fist
- acceleration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention discloses a military boxing teaching system-oriented smartphone interactive platform and a realization method thereof; the realization method comprises the following steps of: obtaining a rotation angle and a gravitational acceleration of a smartphone through the direction of the smartphone and a gravity sensor, establishing communication between the smartphone and a personnel computer, and converting the rotation angle and the gravitational acceleration into viewpoint control information of scenes in a military boxing teaching system so that the viewpoints of the scenes can be changed through operations such as translation, rotation, touch control and the like under the condition that a user is far away from a screen and input devices such as a keyboard and a mouse. The invention provides a new interactive means for the military boxing teaching system based on a web browser, which is used for improving interactive experience so as to achieve better teaching effect. The design of the platform is based on a mobile calculation platform and fully reflects pervasive computer interaction; and the user uses the smartphone instead of the traditional mouse and keyboard for controlling virtual scenes of the military boxing teaching system in space in a three-dimensional manner so as to obtain good user experience.
Description
Technical field
The present invention relates to a kind of new towards military sports fist tutoring system interactive mode; Related in particular to towards smart mobile phone interaction platform and its implementation of military sports fist tutoring system the field of human-computer interaction of the sensor application that belongs to smart mobile phone and itself and personal computer.
Background technology
The appearance of IPhone, Android smart mobile phone, mobile phone have become the supplier that all kinds of services are used from the single means of communication of tradition, the thing followed be smart mobile phone how with the mutual new application of conventional personal computer.Pass through PAN at present, like WiFi, Bluetooth technology, smart mobile phone can well be communicated by letter with personal computer, and the information sharing between them makes daily life more convenient with work.The various kinds of sensors that is integrated on the smart mobile phone also provides better interface for smart mobile phone and personal computer alternately.The user can carry out communication through different operating and the computing machine to mobile phone, and computing machine is also given mobile phone with the information feedback of user's operation.Smart mobile phone predictably, will become a focus of man-machine interaction research field as the developing direction of following communicating terminal based on the new interactive mode of mobile phone and personal computer.
Summary of the invention
The present invention is directed to towards the novel interactive mode of web military sports fist tutoring system; Made up the interaction platform of a smart mobile phone and personal computer; Through controlling to smart mobile phone; Indirect realization is controlled military sports fist tutoring system in the web browser, is obtaining a kind of more interesting user experience aspect the use military sports fist tutoring system.
To achieve these goals, the present invention adopts following technical scheme:
Towards the smart mobile phone interactive system of military sports fist tutoring system, it is made up of as server module and communication module three parts as client's module, personal computer smart mobile phone;
Wherein: the smart mobile phone end mainly carries out the exercise data of mobile phone to be handled, and comprises the collection and the calculating of the anglec of rotation and acceleration of gravity;
Personal computer module is mainly carried out data processing work, and rotation variable and the acceleration of gravity variable gathered are converted into the operation to the mouse response events;
Communication module is mainly carried out the data transmission between mobile phone and the computing machine.
The data acquisition of said smart mobile phone end comprises a wave filter, is used for shielding the noises such as shake naturally in user's use, carries out signal smoothing and handles.
The implementation method of described smart mobile phone interactive system towards military sports fist tutoring system, the performing step of this method is following:
Step 1: the collection of user mobile phone signal; Through gathering the built-in gyroscope signal that smart mobile phone carries; In a fixed sampling time, call the gyroscope controller event sniffer method of sampling, obtain the anglec of rotation and the acceleration of gravity data of operating handset; And be expressed as original motion signal absolute value r_aX, r_aY, the r_aZ of mobile phone; Because this information comprises terrestrial gravitation acceleration G, can't directly change three axial linear acceleration aX of X, Y, Z, aY, aZ in the solid space into, represent the operation of user to mobile phone; So the original signal data need be changed through following formula, wherein, R and P are the gyroscope orientation information, and D is the corresponding arc length of the anglec of rotation:
gX?=?G×sin(R×D);
gY?=?G?×?sin(P×D);
gZ?=?sqrt(G -?gX-?gY );
aX?=?r_ax?–?gX;
aY?=?r_ay?–?gY;
aZ?=?r_az?+?gZ;
Step 2: mobile phone is transferred to angle that collects and acceleration information in the computing machine;
Step 3: computing machine receives the anglec of rotation and the acceleration of gravity data that mobile phone sends, when aX, aY, aZ are not 0, with mobile phone along screen method to rotary manipulation, be mapped as along the mouse of the Web military sports fist z of system axle and pull incident; With the rotary manipulation of mobile phone, be mapped as along the mouse of Web military sports fist x axle and pull incident along major axis; With the translation along the y axle of mobile phone, be mapped as the mouse roller incident of Web military sports fist, just far and near push-and-pull and resetting; The method of decomposing mapping through this model reduces the data dimension that mobile phone produces in three dimensions, transfer to analog mouse ± X on the two dimensional surface, ± the Y four directions to displacement information and corresponding mouse response events, realize control to three-dimensional scenic.
In the said step 2; Mobile phone is following with the process that the angle that collects and acceleration information are transferred to computing machine: mobile phone at first changes into character string with what various signal datas were all unified; Utilize TCP communication protocol; Find the IP address of computing machine to set up an interim two-way communication LAN through wireless router, then character string information is passed to computing machine, computing machine is the operation of reappearing user in view of the above; Same, computing machine transfers various feedback informations to signal, through the IP address that socket finds mobile phone, signal is passed to mobile phone.
Beneficial effect of the present invention: the design of this platform is based on the mobile computing platform; Demonstrated fully the general fit calculation interactivity; The user does not re-use traditional mouse and keyboard; And being to use smart mobile phone, neutral body is controlled the virtual scene of military sports fist tutoring system in the space, to obtain a kind of favorable user experience.System uses the commissarial visual angle of smart mobile phone, the direction of passage sensor-based system, and the seizure user to the change in displacement of mobile phone, comes the visual angle change of analog subscriber in the space.The mobile phone change in displacement that is captured through PAN, inputs to computing machine.Computing machine is with the change in displacement of mobile phone in solid space; Naturalization is a computing machine input instruction primitive; Shine upon one by one with original response correlation method to mouse, KeyEvent in the browser, through this Function Mapping, system will represent the primitive that user's visual angle space displacement changes; Be interpreted as the steering order that military sports fist scene viewing angle is changed, upgrade the render content of military sports fist on client Web page or leaf.
Description of drawings
Fig. 1 is the smart mobile phone interaction platform towards military sports fist tutoring system;
Fig. 2 is that smart mobile phone direction movable information transmits synoptic diagram;
Fig. 3 is system works flow process figure.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is described further.
As shown in Figure 1, form as server module and communication module three parts as client's module, personal computer by smart mobile phone towards the smart mobile phone interaction platform of military sports fist tutoring system.
The smart mobile phone end mainly carries out the exercise data of mobile phone to be handled, and comprises the collection and the calculating of the anglec of rotation and acceleration of gravity, and principle of work is as shown in Figure 2.Mobile phone with reference to angle, in the sampling time of certain frequency, is done the anglec of rotation that difference promptly obtains mobile phone to twice different angle value, the input variable that rotation angle value is promptly rotated as the Web scene by the rotation sensor record when being rotated operation; Mobile phone is when carrying out move operation, by acceleration of gravity sensor record acceleration of gravity, thus as the input variable of far and near push-and-pull of scene and reset operation.Carry out in the process of data acquisition at sensor,, be used for shielding the noises such as shake naturally in user's use, carry out signal smoothing and handle, thereby make the data of collection more accurate through using a wave filter.
Personal computer module is mainly carried out data processing work, and the rotation variable and the acceleration of gravity variable of mobile phone collection is converted into the operation to the mouse response events.
Communication module is mainly carried out the data transmission between mobile phone and the computing machine.Adopt socket communication between the two; Various signal datas (character string that changes into that all signal datas are all unified in native system is transmitted) use TCP communication protocol; Find the IP address (setting up an interim two-way communication LAN) of computing machine through wireless router; Be passed to computing machine, computing machine is the operation of reappearing user in view of the above; Same, computing machine transfers various feedback informations to signal, through the IP address that socket finds mobile phone, signal is passed to mobile phone.
As shown in Figure 3, be three main performing steps of the present invention: 1. the collection of user's gesture information; 2. mobile phone and compunication; 3. the control of three-dimensional scenic.
The collection of user's gesture information.Combined with intelligent mobile phone development SDK creates a mobile phone event sniffer object.This program is through gathering the built-in gyroscope signal that smart mobile phone carries; In a fixed sampling time (7 * e nanosecond); Call the gyroscope controller event sniffer method of sampling; Obtain the angle and the acceleration information of operating handset, and be expressed as the original motion signal absolute value (r_aX, r_aY, r_aZ) of mobile phone.Because this information comprises terrestrial gravitation acceleration (G), can't directly change three the axial linear accelerations of X, Y, Z (aX, aY, aZ) in the solid space into, represent the operation of user to mobile phone.So the original signal data need be changed through following formula, wherein, R and P are the gyroscope orientation information, and D is the corresponding arc length of the anglec of rotation.
gX?=?G×sin(R×D)
gY?=?G?×sin(P×D)
gZ?=?sqrt(G -?gX-?gY )
aX?=?r_ax?-?gX
aY?=?r_ay?-?gY
aZ?=?r_az?+?gZ
Afterwards through with the communication of the universal serial bus input equipment port of computing machine, input to computer operating system.
The method that mobile phone is searched through address is communicated by letter with the serial bus port foundation of computing machine, forms ephemeral data and connects, and carries out data transmission.The transmission course of data, the program in smart mobile phone, write Various types of data through a data output stream object according to destination host address and port numbers.Computer terminal is created the Data Receiving object, when data arrive, receives, and just can block in the time of no datat, when data are arrived, just can wake up again.Because the velocity ratio of mobile phone sending signal is very fast, computer terminal the eavesdropping target realize with multithreading, in turn the data that mobile phone sends over collected and handled with a plurality of threads.
The control of three-dimensional scenic.Computing machine receives the anglec of rotation and the acceleration of gravity data that mobile phone sends, when aX, aY, aZ are not 0, with mobile phone along screen method to rotary manipulation, be mapped as along the mouse of the Web military sports fist z of system axle and pull incident; With the rotary manipulation of mobile phone, be mapped as along the mouse of Web military sports fist x axle and pull incident along major axis; With the translation along the y axle of mobile phone, be mapped as the mouse roller incident of Web military sports fist, just far and near push-and-pull and resetting.The method of decomposing mapping through this model reduces the data dimension that mobile phone produces in three dimensions, transfer to analog mouse ± X on the two dimensional surface, ± the Y four directions to displacement information and corresponding mouse response events.
Though the above-mentioned accompanying drawing specific embodiments of the invention that combines is described; But be not restriction to protection domain of the present invention; One of ordinary skill in the art should be understood that; On the basis of technical scheme of the present invention, those skilled in the art need not pay various modifications that creative work can make or distortion still in protection scope of the present invention.
Claims (4)
1. towards the smart mobile phone interactive system of military sports fist tutoring system, it is characterized in that it is made up of as server module and communication module three parts as client's module, personal computer smart mobile phone;
Wherein: the smart mobile phone end mainly carries out the exercise data of mobile phone to be handled, and comprises the collection and the calculating of the anglec of rotation and acceleration of gravity;
Personal computer module is mainly carried out data processing work, and rotation variable and the acceleration of gravity variable gathered are converted into the operation to the mouse response events;
Communication module is mainly carried out the data transmission between mobile phone and the computing machine.
2. the smart mobile phone interactive system towards military sports fist tutoring system as claimed in claim 1 is characterized in that the data acquisition of said smart mobile phone end comprises a wave filter, is used for shielding the noises such as shake naturally in user's use, carries out signal smoothing and handles.
3. the implementation method of the smart mobile phone interactive system towards military sports fist tutoring system as claimed in claim 1 is characterized in that the performing step of this method is following:
Step 1: the collection of user mobile phone signal; Through gathering the built-in gyroscope signal that smart mobile phone carries; In a fixed sampling time, call the gyroscope controller event sniffer method of sampling, obtain each the instantaneous acceleration value of the anglec of rotation and mobile phone of operating handset; And be expressed as original motion signal absolute value r_aX, r_aY, the r_aZ of mobile phone; Because this information comprises terrestrial gravitation acceleration G, can't directly change three axial linear acceleration aX of X, Y, Z, aY, aZ in the solid space into, represent the operation of user to mobile phone; So the original signal data need be changed through following formula, wherein, R and P are the gyroscope orientation information, and D is the corresponding arc length of the anglec of rotation:
gX?=?G?×?sin(R×D);
gY?=?G?×?sin(P×D);
gZ?=?sqrt(G -?gX -?gY );
aX?=?r_ax?–?gX;
aY?=?r_ay?–?gY;
aZ?=?r_az?+?gZ;
Step 2: mobile phone is transferred to angle that collects and acceleration information in the computing machine;
Step 3: computing machine receives the anglec of rotation and the acceleration of gravity data that mobile phone sends, when aX, aY, aZ are not 0, with mobile phone along screen method to rotary manipulation, be mapped as along the mouse of the Web military sports fist z of system axle and pull incident; With the rotary manipulation of thorny machine X axle, be mapped as along the mouse of Web military sports fist x axle and pull incident; With the translation along the y axle of mobile phone, be mapped as the mouse roller incident of Web military sports fist, just far and near push-and-pull and resetting; The method of decomposing mapping through this model reduces the data dimension that mobile phone produces in three dimensions, transfer to analog mouse ± X on the two dimensional surface, ± the Y four directions to displacement information and corresponding mouse response events, realize control to three-dimensional scenic.
4. the implementation method of the smart mobile phone interactive system towards military sports fist tutoring system as claimed in claim 3; It is characterized in that; In the said step 2; Mobile phone is following with the process that the angle that collects and acceleration information are transferred to computing machine: mobile phone at first changes into character string with what various signal datas were all unified, utilizes TCP communication protocol, finds the IP address of computing machine to set up an interim two-way communication LAN through wireless router; Then character string information is passed to computing machine, computing machine is the operation of reappearing user in view of the above; Same, computing machine transfers various feedback informations to signal, through the IP address that socket finds mobile phone, signal is passed to mobile phone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110326033 CN102419917B (en) | 2011-10-24 | 2011-10-24 | Military boxing teaching system-oriented smartphone interactive platform and realization method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110326033 CN102419917B (en) | 2011-10-24 | 2011-10-24 | Military boxing teaching system-oriented smartphone interactive platform and realization method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102419917A true CN102419917A (en) | 2012-04-18 |
CN102419917B CN102419917B (en) | 2013-08-28 |
Family
ID=45944312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110326033 Expired - Fee Related CN102419917B (en) | 2011-10-24 | 2011-10-24 | Military boxing teaching system-oriented smartphone interactive platform and realization method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102419917B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103425272A (en) * | 2013-09-02 | 2013-12-04 | 福州大学 | Method for controlling movement of computer three-dimensional dummy object by smartphone |
CN103929479A (en) * | 2014-04-10 | 2014-07-16 | 惠州Tcl移动通信有限公司 | Method and system for simulating real scene through mobile terminal to achieve user interaction |
CN104053072A (en) * | 2013-03-15 | 2014-09-17 | 株式会社理光 | DISTRIBUTION CONTROL SYSTEM, DISTRIBUTION SYSTEM and DISTRIBUTION CONTROL METHOD |
CN110806796A (en) * | 2018-07-20 | 2020-02-18 | 北京君正集成电路股份有限公司 | Control method and device |
CN112037090A (en) * | 2020-08-07 | 2020-12-04 | 湖南翰坤实业有限公司 | Knowledge education system based on VR technology and 6DOF posture tracking |
CN115454240A (en) * | 2022-09-05 | 2022-12-09 | 无锡雪浪数制科技有限公司 | Meta universe virtual reality interaction experience system and method |
CN112037090B (en) * | 2020-08-07 | 2024-05-03 | 湖南翰坤实业有限公司 | Knowledge education system based on VR technology and 6DOF gesture tracking |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004147272A (en) * | 2002-10-23 | 2004-05-20 | Takeshi Ogura | Communication module for cellular phone and mobile pc with wireless mouse and ten key functions of which main body can be bisected |
CN101645176A (en) * | 2008-08-06 | 2010-02-10 | 刘俊杰 | Three-dimensional image interaction technique used in network |
CN101762231A (en) * | 2008-12-26 | 2010-06-30 | 比亚迪股份有限公司 | Device and method for detecting appearance of mobile phone keys |
CN101943957A (en) * | 2010-07-23 | 2011-01-12 | 康佳集团股份有限公司 | Touch screen mobile phone with acceleration transducer and mouse input method |
-
2011
- 2011-10-24 CN CN 201110326033 patent/CN102419917B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004147272A (en) * | 2002-10-23 | 2004-05-20 | Takeshi Ogura | Communication module for cellular phone and mobile pc with wireless mouse and ten key functions of which main body can be bisected |
CN101645176A (en) * | 2008-08-06 | 2010-02-10 | 刘俊杰 | Three-dimensional image interaction technique used in network |
CN101762231A (en) * | 2008-12-26 | 2010-06-30 | 比亚迪股份有限公司 | Device and method for detecting appearance of mobile phone keys |
CN101943957A (en) * | 2010-07-23 | 2011-01-12 | 康佳集团股份有限公司 | Touch screen mobile phone with acceleration transducer and mouse input method |
Non-Patent Citations (1)
Title |
---|
无: "S60智能手机巧变蓝牙鼠标", 《电脑与电信》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104053072A (en) * | 2013-03-15 | 2014-09-17 | 株式会社理光 | DISTRIBUTION CONTROL SYSTEM, DISTRIBUTION SYSTEM and DISTRIBUTION CONTROL METHOD |
CN104053072B (en) * | 2013-03-15 | 2017-06-30 | 株式会社理光 | Distribution control system, dissemination system and distribution control method |
CN103425272A (en) * | 2013-09-02 | 2013-12-04 | 福州大学 | Method for controlling movement of computer three-dimensional dummy object by smartphone |
CN103929479A (en) * | 2014-04-10 | 2014-07-16 | 惠州Tcl移动通信有限公司 | Method and system for simulating real scene through mobile terminal to achieve user interaction |
WO2015154333A1 (en) * | 2014-04-10 | 2015-10-15 | 惠州Tcl移动通信有限公司 | Method and system for mobile terminal to simulate real scene to achieve user interaction |
US9613275B2 (en) | 2014-04-10 | 2017-04-04 | Huizhou Tcl Mobile Communication Co., Ltd | Method and system for a mobile terminal to achieve user interaction by simulating a real scene |
CN103929479B (en) * | 2014-04-10 | 2017-12-12 | 惠州Tcl移动通信有限公司 | Mobile terminal simulation of real scenes realizes the method and system of user interaction |
CN110806796A (en) * | 2018-07-20 | 2020-02-18 | 北京君正集成电路股份有限公司 | Control method and device |
CN112037090A (en) * | 2020-08-07 | 2020-12-04 | 湖南翰坤实业有限公司 | Knowledge education system based on VR technology and 6DOF posture tracking |
CN112037090B (en) * | 2020-08-07 | 2024-05-03 | 湖南翰坤实业有限公司 | Knowledge education system based on VR technology and 6DOF gesture tracking |
CN115454240A (en) * | 2022-09-05 | 2022-12-09 | 无锡雪浪数制科技有限公司 | Meta universe virtual reality interaction experience system and method |
CN115454240B (en) * | 2022-09-05 | 2024-02-13 | 无锡雪浪数制科技有限公司 | Meta universe virtual reality interaction experience system and method |
Also Published As
Publication number | Publication date |
---|---|
CN102419917B (en) | 2013-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102419917B (en) | Military boxing teaching system-oriented smartphone interactive platform and realization method thereof | |
CN102810008B (en) | A kind of air input, method and input collecting device in the air | |
CN102937839B (en) | A kind of remote control unit and method that terminal unit is carried out body-sensing remote control | |
CN103702151B (en) | Smart television and touch screen human-computer interaction remote control and method | |
CN102664988A (en) | Three-dimensional interaction method based on intelligent mobile phone and system thereof | |
CN105571052A (en) | Path setting executing method, control method and system for intelligent terminal air equipment | |
CN103064532B (en) | A kind of air mouse remote controller | |
CN105404390B (en) | A kind of modeling of wireless data gloves and gesture motion recognition methods | |
CN105739703A (en) | Virtual reality somatosensory interaction system and method for wireless head-mounted display equipment | |
Wu et al. | Multi-screen cyber-physical video game: An integration with body-area inertial sensor networks | |
CN104345904A (en) | Finger-type air mouse | |
US11188144B2 (en) | Method and apparatus to navigate a virtual content displayed by a virtual reality (VR) device | |
CN103049102B (en) | Mouse data treating apparatus and mouse data disposal route | |
CN106406350A (en) | Method and system for controlling unmanned aerial vehicle | |
CN109395375A (en) | A kind of 3d gaming method of interface interacted based on augmented reality and movement | |
Pandit et al. | A simple wearable hand gesture recognition device using iMEMS | |
CN110717993B (en) | Interaction method, system and medium of split type AR glasses system | |
US20160329029A1 (en) | Apparatus and method for integrating a smart mobile device and a touch device | |
CN104922901A (en) | Game system of implementing a game controller by means of mobile equipment and operating method thereof | |
CN209377613U (en) | A kind of control system of ultrasonic device | |
CN101782813B (en) | Input apparatus and method | |
CN204423307U (en) | A kind of Wireless 3 D body sense control system | |
JP3211484U (en) | Tactile controller | |
CN107438808A (en) | A kind of method, apparatus and relevant device of rod volume control | |
CN107914273A (en) | Mechanical arm teaching system based on gesture control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130828 Termination date: 20161024 |