CN101776950B - Method for controlling computer by portable equipment by utilizing digital compass - Google Patents

Method for controlling computer by portable equipment by utilizing digital compass Download PDF

Info

Publication number
CN101776950B
CN101776950B CN2010100343840A CN201010034384A CN101776950B CN 101776950 B CN101776950 B CN 101776950B CN 2010100343840 A CN2010100343840 A CN 2010100343840A CN 201010034384 A CN201010034384 A CN 201010034384A CN 101776950 B CN101776950 B CN 101776950B
Authority
CN
China
Prior art keywords
portable equipment
digital compass
computing machine
angle change
change information
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.)
Expired - Fee Related
Application number
CN2010100343840A
Other languages
Chinese (zh)
Other versions
CN101776950A (en
Inventor
黄祥林
吕慧
杨丽芳
吕锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Communication University of China
Original Assignee
Communication University of China
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Communication University of China filed Critical Communication University of China
Priority to CN2010100343840A priority Critical patent/CN101776950B/en
Publication of CN101776950A publication Critical patent/CN101776950A/en
Application granted granted Critical
Publication of CN101776950B publication Critical patent/CN101776950B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for controlling a computer by portable equipment by utilizing a digital compass, comprising the following steps: establishing and maintaining the connection between the communication unit of the portable equipment and the communication unit of the computer by users; starting the digital compass in the portable equipment by users; starting the computer application program by users; rotating the portable equipment according to requirements by users; sensing the angle changing information of the portable equipment by the digital compass; transmitting the angle changing information to the computer communication unit through the communication unit by the portable device; judging whether corresponding control commands are generated by the computer according to the angle changing information of the portable equipment sensed by the digital compass; and responding to the control command by the computer. In the technical scheme of the invention, the digital compass is utilized to acquire the rotating angle changing information of the portable equipment by users; and the computer is simply controlled through the communication between the portable device and the computer, thus greatly facilitating users.

Description

The method that a kind of portable equipment utilizes digital compass that computing machine is controlled
Technical field
The present invention relates to the method that a kind of portable equipment utilizes digital compass that computing machine is controlled.
Background technology
Along with computing machine being dissolved in the middle of the daily life more and more widely, people wish and can control computing machine more easily.Such as people give a lecture play PowerPoint in, even operation such as wish also can not skip on the computing machine next door.
Meanwhile, development of electronic technology makes that the function of portable equipments such as mobile phone, MP3 is increasing, and these equipment also are suitable for being held in the hand operating just.The portable equipment that has a digital compass by with computing machine between communication be connected, can simply control computing machine easily by the rotation portable equipment as required.
Summary of the invention
The technical problem to be solved in the present invention provides the method that a kind of portable equipment utilizes the digital compass control computer, utilize the digital compass that has on the various portable equipments such as mobile phone, MP3, MP4, the user can be by the simple control of simply the spinning movement realization of portable equipment being exported computing machine.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of portable equipment utilizes the digital compass method that output is simply controlled to computing machine, may further comprise the steps:
Being connected between the communication unit that 1.1 the user sets up and keep portable equipment and the communication unit of computing machine;
1.2 the user is by opening the digital compass of the program start portable equipment that is stored in advance in the portable equipment controller;
1.3 the user starts the application program that possesses keypress function of computing machine;
1.4 the user rotates portable equipment as required;
1.5 the angle change information of digital compass sensing portable equipment;
1.6 the portable equipment program reads the portable equipment angle change information that digital compass senses, and by calculating the relative angle change information of rotation front and back; The angle change information of described digital compass sensing portable equipment is the angle change information of portable equipment and terrestrial magnetic field horizontal direction angle; Described angle change information comprises that angle changes size and angle change direction;
1.7 described portable equipment program is transferred to the computing machine communication unit by communication unit with portable equipment relative angle change information;
1.8 carrying out command response to portable equipment relative angle change information, computer program judges;
1.9 computer applied algorithm stops to carry out the current application file earlier, again the control command of response of step 1.8 generations.
In the such scheme, the described portable equipment that digital compass is housed comprises mobile phone, MP3, MP4, MP5, digital camera, the PDA that is equipped with digital compass.
In the such scheme, the application program that possesses keypress function of the computing machine in the step 1.3 comprises: text demonstration, voice playing, video playback, picture browsing.
Effective effect of the present invention mainly shows: the portable equipment of existing outfit digital compass, mostly just utilized the direction positioning function of digital compass, and do not carried out further function expansion.Technical scheme provided by the invention is made the angle change information of rotation back portable equipment to portable equipment by digital compass perception user, be connected with communication between the computing machine communication unit by the portable equipment communication unit, realized simulation, thereby be very easy to the simple control of user computing machine to computing machine part keypress function.
Description of drawings
The block diagram that Fig. 1 utilizes digital compass that computing machine is controlled for portable equipment of the present invention.
The process flow diagram that Fig. 2 utilizes digital compass that calculating is controlled for portable equipment of the present invention.
Embodiment
The invention will be further described below in conjunction with accompanying drawing.
Be illustrated in figure 1 as the block diagram that portable equipment utilizes digital compass that computing machine is controlled, portable equipment and computing machine carry out transmission of Information by both communication units, require this moment computing machine to support the corresponding interface.Communication unit shown in the figure can the USB communication unit, infrared communication unit or bluetooth communication unit, and shown computing machine can be notebook computer, PDA etc.
Fig. 2 is the process flow diagram that portable equipment utilizes digital compass that computing machine is controlled.The present invention utilizes the part keypress function of user to the rotary simulation computing machine of portable equipment.As shown in the figure, the user at first sets up and keeps the communication unit of portable equipment and the communication between the computing machine communication unit to connect, when to adopt wireless mode be infrared or bluetooth when carrying out communication, in whole implementation process, the communication of portable equipment and computing machine is connected with an answering, though in transmission course because certain factor, wireless transmission produces short circuit or interrupted the connection, to often do between portable equipment and the computing machine and reply, connect so that keep; The user is by opening the program start digital compass that is stored in advance in the portable equipment controller, restart application program such as text demonstration or the voice playing etc. that have keypress function in the computing machine afterwards; The user rotates portable equipment as required, the angle change information of digital compass perception simultaneously portable equipment, the portable equipment program reads the angle change information that digital compass senses, and calculate the rotation before and after the relative angle change information, wherein, the angle change information of portable equipment is the angle change information of portable equipment and terrestrial magnetic field horizontal direction angle, comprises that angle changes size and angle change direction; The program of portable equipment passes to computer program with the relative angle change information by the communication connection, and computer program produces control commands corresponding by the analysis to portable equipment angle change information.Computing machine produces the process of control command, can be according to the difference of relative angle change information, define user's rotation mode of different correspondences, and then simulate different corresponding key functions, be shown as example with voice playing and text in this enforcement and set forth the detailed process that computer program produces control command:
User's portable equipment that turns clockwise is rotated counterclockwise portable equipment afterwards at once, and the relative angle change information that computing machine obtains according to digital compass and the application program of current operation produce next or the control command of one page down.
The user is rotated counterclockwise portable equipment, and the relative angle change information that the portable equipment that at once turns clockwise afterwards, computing machine obtain according to digital compass and the application program of current operation produce the control command of a last head or page up.
User's portable equipment that turns clockwise, continue the portable equipment that turns clockwise after having a break, the relative angle change information that computing machine obtains according to digital compass and the application program of current operation produce the control command of continuous two next or continuous two following one pages.
The user is rotated counterclockwise portable equipment, continue to be rotated counterclockwise portable equipment after having a break, the relative angle change information that computing machine obtains according to digital compass and the application program of current operation produce the control command of continuous two last one first or continuous two page ups.
The portable equipment amplitude is too small to make digital compass induction less than its changing value if the user rotates, and then to keep current state constant for computing machine.
Should comprise one or more than one music file in the Computer Music playlist, perhaps the text of computing machine demonstration should comprise one page or the above displaying contents of one page; If playlist includes only a music file or text includes only one page displaying contents, when then the user rotated portable equipment, it is constant that computing machine is kept current state.
At last, the computer application program response should stop to carry out current file earlier, again the control command of response rotation generation.
Should be understood that above-mentioned description at embodiment is comparatively concrete, can not therefore think the restriction to scope of patent protection of the present invention, scope of patent protection of the present invention should be as the criterion with claims.

Claims (3)

1. the method that portable equipment utilizes digital compass that computing machine is controlled is characterized in that, may further comprise the steps:
Being connected between the communication unit that 1.1 the user sets up and keep portable equipment and the communication unit of computing machine;
1.2 the user is by opening the digital compass of the program start portable equipment that is stored in advance in the portable equipment controller;
1.3 the user starts the application program with keypress function of computing machine;
1.4 the user rotates portable equipment as required;
1.5 the angle change information of digital compass sensing portable equipment;
1.6 the portable equipment program reads the portable equipment angle change information that digital compass senses, and by calculating the relative angle change information of rotation front and back; The angle change information of described digital compass sensing portable equipment is the angle change information of portable equipment and terrestrial magnetic field horizontal direction angle; Described angle change information comprises that angle changes size and angle change direction;
1.7 described portable equipment program is transferred to the computing machine communication unit by communication unit with portable equipment relative angle change information;
1.8 computer program produces control commands corresponding by the analysis to portable equipment angle change information;
1.9 the application program with keypress function of described computing machine stops to carry out the current application file earlier, again the control command of response of step 1.8 generations.
2. the method that portable equipment as claimed in claim 1 utilizes digital compass that computing machine is controlled is characterized in that: the described portable equipment that digital compass is housed comprises mobile phone, MP3, MP4, MP5, digital camera or the PDA that is equipped with digital compass.
3. the method that portable equipment as claimed in claim 1 utilizes digital compass that computing machine is controlled is characterized in that: the application program that possesses keypress function of the computing machine in the step 1.3 is text demonstration, voice playing, video playback, game interactive or picture browsing program.
CN2010100343840A 2010-01-21 2010-01-21 Method for controlling computer by portable equipment by utilizing digital compass Expired - Fee Related CN101776950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010100343840A CN101776950B (en) 2010-01-21 2010-01-21 Method for controlling computer by portable equipment by utilizing digital compass

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010100343840A CN101776950B (en) 2010-01-21 2010-01-21 Method for controlling computer by portable equipment by utilizing digital compass

Publications (2)

Publication Number Publication Date
CN101776950A CN101776950A (en) 2010-07-14
CN101776950B true CN101776950B (en) 2011-11-09

Family

ID=42513428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010100343840A Expired - Fee Related CN101776950B (en) 2010-01-21 2010-01-21 Method for controlling computer by portable equipment by utilizing digital compass

Country Status (1)

Country Link
CN (1) CN101776950B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902594B (en) * 2010-08-25 2013-03-27 青岛海信电器股份有限公司 Remote controller and method for selecting functional menu
CN103218126B (en) * 2012-01-20 2016-08-03 展讯通信(上海)有限公司 Display screen behavior control device and method, desired guiding trajectory device and method is set

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677318A (en) * 2004-03-31 2005-10-05 日本电气株式会社 Portable device with action shortcut function
CN101489197A (en) * 2009-01-22 2009-07-22 中国科学院计算技术研究所 Method and system for data transmission between electronic devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677318A (en) * 2004-03-31 2005-10-05 日本电气株式会社 Portable device with action shortcut function
CN101489197A (en) * 2009-01-22 2009-07-22 中国科学院计算技术研究所 Method and system for data transmission between electronic devices

Also Published As

Publication number Publication date
CN101776950A (en) 2010-07-14

Similar Documents

Publication Publication Date Title
CN101776982A (en) Control method of portable equipment by using digital compass
US20200401281A1 (en) Information Display Method, Graphical User Interface, and Terminal
KR101672212B1 (en) Mobile terminal and operation method thereof
KR101864618B1 (en) Mobile terminal and method for providing user interface thereof
US8207832B2 (en) Haptic effect provisioning for a mobile communication terminal
KR102074019B1 (en) Energy-efficient transmission of content over a wireless connection
EP2464084B1 (en) Mobile terminal and displaying method thereof
KR101690232B1 (en) Electronic Device And Method Of Controlling The Same
KR101472021B1 (en) Mobile terminal equipped with flexible display and controlling method thereof
CN106415501B (en) Mating application program for activity cooperation
CN103984493B (en) Control method by sliding and terminal
WO2020192315A1 (en) Control method and mobile terminal
KR101688145B1 (en) Method for reproducing moving picture and mobile terminal using this method
CN106255948A (en) User terminal apparatus and control method thereof
CN104811821B (en) The method and device of screen frame per second is painted in adjustment
CN103458308B (en) A kind of method and device of input content
CN101776950B (en) Method for controlling computer by portable equipment by utilizing digital compass
CN105094323A (en) Method and apparatus for setting night mode of terminal
US8869071B2 (en) Mobile terminal and method of controlling the operation of the mobile terminal based on movement of a main body
KR20110119127A (en) Mobile terminal and operation method thereof
CN105339946A (en) Apparatus and method for providing security environment
KR101867853B1 (en) Mobile phone and network system comprising thereof
CN110336918A (en) Bright screen control method, device, storage medium and mobile terminal
KR101657552B1 (en) Mobile terminal and operating method thereof
KR20150057129A (en) Mobile terminal and operation method thereof

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

Granted publication date: 20111109

Termination date: 20150121

EXPY Termination of patent right or utility model