CN1976373A - Method for controlling computer PPT program via cell phone - Google Patents
Method for controlling computer PPT program via cell phone Download PDFInfo
- Publication number
- CN1976373A CN1976373A CN 200610124233 CN200610124233A CN1976373A CN 1976373 A CN1976373 A CN 1976373A CN 200610124233 CN200610124233 CN 200610124233 CN 200610124233 A CN200610124233 A CN 200610124233A CN 1976373 A CN1976373 A CN 1976373A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- computer
- page
- keybd
- control
- 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.)
- Pending
Links
Abstract
A method of using mobile phone to control PPT program of computer includes realizing mobile phone to be connected to computer network through WAP protocol and converting key information of mobile phone to be control command of computer, setting computer to be WAP server and knocking in URL address of WAP server webpage to WAP mobile phone browser, sending URL address to WAP server being used to send said webpage to mobile phone end, realizing remote control on PPT program of computer by clicking relevant key on mobile phone.
Description
Technical field
The invention belongs to computer remote control field, particularly relate to a kind of wap protocol that passes through that is applied to tutoring system and realize mobile phone remote control computer method.
Technical background
At present, computer widespread usage help people's study and work in masses' daily life.But wired connection has fettered the far distance controlled of computer.Such as the e-teaching plan of the present general PPT of the use making of giving lessons, and teaching method is paid attention to teachers and students' interaction, and teacher is going down the dais explanation, exchange with the student, but when running into PPT and need page turning, have to again to interrupt and the exchanging of student, walk back the dais again and carry out the PPT page turning.Wired connection has fettered the people's activities scope, brings certain puzzlement for actual life.
Present most of mobile phone all support WAP online, wap protocol be for realize that screen is little, a kind of agreement of mobile phone a little less than the computing capability by getting online without being tethered to a cable, it mainly comprises the WAP mobile phone, WAP gateway and WAP server three parts.Utilize WAP to go up fidonetFido, mobile phone can be visited the WAP server by WAP gateway and be obtained necessary information.
Chinese patent application number is that 200610011999.5 application for a patent for invention discloses a kind of " based on the intelligent mobile phone platform method for remote controlling computer ", its main technical schemes is: a kind of based on the intelligent mobile phone platform method for remote controlling computer, described mobile phone is the mobile phone with J2ME embedded development platform, and described computer terminal has the computer of J2SE platform; The mobile phone end uses the WAP communication network protocol to be connected to computer terminal, login enters computer behind the computer terminal identifying user identity, computer terminal at first generates local screen picture, and use partitioning algorithm to generate the image that is fit to the mobile phone screen size, to generate screen picture then and be sent to the mobile phone end through overcompression, the mobile phone end is after receiving the screen picture that computer terminal sends, decompress(ion) also is presented on the mobile phone screen, the mobile phone end is by the focus localization method, the analog mouse controlled function, by the corresponding letter simulation of cell phone keyboard 1~9 numerical key character input function, realize remote control computer.
This application for a patent for invention discloses the employing mobile phone and has controlled computer method, this method has overcome above-mentioned inconvenience to a certain extent, but the mobile phone end of this technology need be provided with special program, and must obtain the support of J2ME, because the specificity of terminal has limited mobile phone control computer application, particularly in educational system, main realization PPT program control, if adopt the special mobile phone terminal, be unfavorable for the popularization of technology on the one hand, also be unfavorable on the other hand using.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, a kind of method of crossing mobile phone control computer PPT program that can be applicable to educational system simple in structure is provided.
In order to realize the foregoing invention purpose, the technical scheme of employing is as follows:
A kind of method by mobile phone control computer PPT program realizes the net connection of mobile phone and computer by wap protocol, and the key information of mobile phone is converted to the control command of computer, and realization is to the control of computer, and its concrete steps are:
Be computer installation the WAP server at first, and the related web page of storage WML, in the WAP mobile phone browser, knock in the URL address of this WAP server page then, be sent to the WAP server by network, the WAP server sends to the mobile phone end to corresponding WML webpage, by click corresponding button on mobile phone, after computer is received the key information of mobile phone, carry out corresponding semantic conversion, and analog subscriber knocks the operation of keyboard, realize Long-distance Control computer PPT program.
The present invention realizes the interconnected of mobile phone and computer by wap protocol, and by WML webpage sending controling instruction, so mobile phone need not load specific program, also need not possess J2ME supports, as long as can adopt the mobile phone of wap protocol online then can, and present mobile phone can realize that nearly all WAP gets online without being tethered to a cable, so simple in structure, it is convenient to realize.
In the technique scheme, after described computer receives the key information of mobile phone, by calling the keybd_event function in the Windows api function, and from the WML page, transmit the control keystroke parameter of a character string as the keybd_event function, realization is to the virtual keystroke of keyboard, thereby realization is to the control of PPT program.The keybd_event function that the present invention adopts Windows operating system to carry realizes that by this function cell-phone button information is converted into the control command of PPT program, so structure is more simple.
Further, computer of the present invention utilizes the keybd_event function of Windows API to send information, the operation of controlling application program to the window of current input focus.Because the present invention is mainly used in educational system, the person that particularly do not give lessons adopts PPT to make electronic document, so when giving lessons, the window that computer is worked as front opening is the PPT program page, the present invention sends information by the keybd_event function to the window of current input focus, make the keybd_event function succinctly efficient, also make running of the present invention more quick reliable.
Described keybd_event function definition is as follows:
VOID keybd_event(
BYTE
bVK, //virtual-key code
BYTE
bScan, //hardware scan code
DWORD
dwFlags, //function options
ULONG_PTR
dwEtraInfo //additional keystroke data)。
Further, the present invention is " broadcast ", " withdrawing from ", " page up ", " following one page " to the control command of PPT program, and its button and keyb_event function corresponding parameters concrete and mobile phone are as shown in the table:
The mobile phone end | Computer terminal | Parameter 1 | Parameter 2 | Parameter 3 | Parameter 4 |
Play | F5 | 116 | 0 | 0 | 0 |
116 | 0 | KEYEVENTF_KEYUP | 0 | ||
Withdraw from | ESC | 27 | 0 | 0 | 0 |
27 | 0 | KEYEVENTF_KEYUP | 0 | ||
Page up | P | 80 | 0 | 0 | 0 |
80 | 0 | KEYEVENTF_KEYUP | 0 | ||
Following one page | N | 78 | 0 | 0 | 0 |
78 | 0 | KEYEVENTF_KEYUP | 0 |
Advantage of the present invention is: realize the interconnected of mobile phone and computer by wap protocol, and the keybd_event function that adopts computer Windows operating system to carry is realized the conversion of mobile phone key and PPT program control instruction, so can on present most of mobile phone, realize control to computer, also conveniently do not give lessons person and student's interaction realizes simple, easy row.
Embodiment
It is that the computer installation is set to common web server that the present invention becomes the method for WAP server with computer installation, and such as the tomcat5.0 server, its is supported WML web storage and browses.The IP address of computer is 202.111.138.82, and the default port of tomcat is 8080, and the service homepage of Long-distance Control is index.wml, and so corresponding URL is exactly
Http: // 222.201.138.82:8080/index.wml..
WAP mobile phone end is knocked in WAP server related web page in mobile phone browser URL promptly knocks in
Http: // 222.201.138.82:8080/index.wml, the request of mobile phone end is sent to computer terminal by wireless network.Computer terminal is responded the URL request, and corresponding serving web page is sent to the mobile phone end by wireless network.The browser display WML serving web page of mobile phone end, i.e. index.wml.
Behind the WML webpage in the mobile phone end access server.The user clicks control corresponding options in the mobile phone browser, plays such as PPT the control options can be set turn over, turn over, play, withdraw from down on being, selects some options, and this order just sends to computer terminal.
After computer terminal receives this order, by calling the keybd_event function in the Windows api function, and from the WML page, transmit the control keystroke parameter of a character string, realize virtual keystroke, thereby realize Play Control PPT to keyboard as the keybd_event function.
After the order of computer terminal acceptance from the mobile phone end, utilize the keybd_event function of Windows API to send information, the operation of controlling application program to the window of current input focus.
Keybd_event is defined as follows:
VOID keybd_event(
BYTE
bVK, //virtual-key code
BYTE
bScan, //hardware scan code
DWORD
dwFlags, //function options
ULONG_PTR
dwExtraInfo //additional keystroke data);
At the several Control options of the PPT of mobile phone end, its separately the corresponding parameters form be
The mobile phone end | Computer terminal | Parameter 1 | Parameter 2 | Parameter 3 | Parameter 4 |
Play | F5 | 116 | 0 | 0 | 0 |
116 | 0 | KEYEVENTF_KEYUP | 0 | ||
Withdraw from | ESC | 27 | 0 | 0 | 0 |
27 | 0 | KEYEVENTF_KEYUP | 0 | ||
Page up | P | 80 | 0 | 0 | 0 |
80 | 0 | KEYEVENTF_KEYUP | 0 | ||
Following one page | N | 78 | 0 | 0 | 0 |
78 | 0 | KEYEVENTF_KEYUP | 0 |
Owing to during analogue-key, not only need analogue-key to press, need to simulate respective keys after pressing and upspring, to reply the initial condition of this key.Therefore corresponding each keyboard needs to use twice keybd_event, and when button was pressed, the value of parameter 3 was made as 0, and when upspringing, the value of parameter 3 is made as KEYEVENTF_KEYUP.
Claims (5)
1, a kind of method by mobile phone control computer PPT program, realize the net connection of mobile phone and computer by wap protocol, and the key information of mobile phone is converted to the control command of computer, realization is to the control of computer, it is characterized in that being the WAP server at first to computer installation, and the related web page of storage WML, in the WAP mobile phone browser, knock in the URL address of this WAP server page then, be sent to the WAP server by network, the WAP server sends to the mobile phone end to corresponding WML webpage, by on mobile phone, clicking corresponding button, after computer is received the key information of mobile phone, carry out corresponding semantic conversion, and analog subscriber knocks the operation of keyboard, realize Long-distance Control computer PPT program.
2, the method by mobile phone control computer PPT program according to claim 1, after it is characterized in that described computer receives the key information of mobile phone, by calling the keybd_event function in the WindowsAPI function, and from the WML page, transmit the control keystroke parameter of a character string as the keybd_event function, realization is to the virtual keystroke of keyboard, thereby realization is to the control of PPT program.
3, the method by mobile phone control computer PPT program according to claim 2 is characterized in that computer utilizes the keybd_event function of Windows API to send information, the operation of controlling application program to the window of current input focus.
4, according to claim 2 or 3 described methods, it is characterized in that described keybd_event function definition is as follows by mobile phone control computer PPT program:
VOID keybd_event(
BYTE bVk, //virtual-key code
BYTE bScan, //hardware scan code
DWORD dwFlags, //function options
ULONG_PTR dwExtraInfo //additional keystroke data
)。
5, the method by mobile phone control computer PPT program according to claim 4, it is characterized in that the control command of PPT program is " broadcast ", " withdrawing from ", " page up ", " following one page ", its button and keybd_event function corresponding parameters concrete and mobile phone are as shown in the table:
The mobile phone end Computer terminal Parameter 1 Parameter 2 Parameter 3 Parameter 4
Play F5 116 0 0 0
116 0 KEYEVENTF_KEYUP 0
Withdraw from ESC 27 0 0 0
27 0 KEYEVENTF_KEYUP 0
Page up P 80 0 0 0
80 0 KEYEVENTF_KEYUP 0
Following one page N 78 0 0 0
78 0 KEYEVENTF_KEYUP 0
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610124233 CN1976373A (en) | 2006-12-15 | 2006-12-15 | Method for controlling computer PPT program via cell phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610124233 CN1976373A (en) | 2006-12-15 | 2006-12-15 | Method for controlling computer PPT program via cell phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1976373A true CN1976373A (en) | 2007-06-06 |
Family
ID=38126153
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200610124233 Pending CN1976373A (en) | 2006-12-15 | 2006-12-15 | Method for controlling computer PPT program via cell phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1976373A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102118365A (en) * | 2009-12-31 | 2011-07-06 | 上海巨服信息科技有限公司 | Mobile phone communication alternative method suitable for multiple platforms |
CN102447720A (en) * | 2010-10-09 | 2012-05-09 | 深圳市傲天通信有限公司 | Method for remotely controlling personal computer (PC) by mobile phone |
CN101616153B (en) * | 2009-07-02 | 2012-11-21 | 阿里巴巴集团控股有限公司 | Web page based method, system and device for interacting operation information |
CN102819392A (en) * | 2012-07-25 | 2012-12-12 | 广州视睿电子科技有限公司 | Method and system for controlling PPT (Power Point) |
CN102915114A (en) * | 2012-09-05 | 2013-02-06 | 广东威创视讯科技股份有限公司 | Remote control method of PPT (Power Point) |
CN101499010B (en) * | 2008-01-30 | 2013-04-10 | 运软网络科技(上海)有限公司 | Method for using desktop application programs on mobile phone |
CN103294474A (en) * | 2013-05-31 | 2013-09-11 | 北京奇虎科技有限公司 | Browser operation synchronizing method and device for performing browser operation synchronization |
CN104064201A (en) * | 2014-06-13 | 2014-09-24 | 广州视睿电子科技有限公司 | Data synchronization method and system |
CN106095741A (en) * | 2016-06-07 | 2016-11-09 | 福建天泉教育科技有限公司 | Control PPT and insert the method and system of object |
-
2006
- 2006-12-15 CN CN 200610124233 patent/CN1976373A/en active Pending
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499010B (en) * | 2008-01-30 | 2013-04-10 | 运软网络科技(上海)有限公司 | Method for using desktop application programs on mobile phone |
CN101616153B (en) * | 2009-07-02 | 2012-11-21 | 阿里巴巴集团控股有限公司 | Web page based method, system and device for interacting operation information |
CN102118365A (en) * | 2009-12-31 | 2011-07-06 | 上海巨服信息科技有限公司 | Mobile phone communication alternative method suitable for multiple platforms |
CN102447720A (en) * | 2010-10-09 | 2012-05-09 | 深圳市傲天通信有限公司 | Method for remotely controlling personal computer (PC) by mobile phone |
CN102819392A (en) * | 2012-07-25 | 2012-12-12 | 广州视睿电子科技有限公司 | Method and system for controlling PPT (Power Point) |
CN102819392B (en) * | 2012-07-25 | 2016-08-10 | 广州视睿电子科技有限公司 | Control the method and system of PPT |
CN102915114A (en) * | 2012-09-05 | 2013-02-06 | 广东威创视讯科技股份有限公司 | Remote control method of PPT (Power Point) |
CN103294474A (en) * | 2013-05-31 | 2013-09-11 | 北京奇虎科技有限公司 | Browser operation synchronizing method and device for performing browser operation synchronization |
CN104064201A (en) * | 2014-06-13 | 2014-09-24 | 广州视睿电子科技有限公司 | Data synchronization method and system |
CN104064201B (en) * | 2014-06-13 | 2017-04-12 | 广州视睿电子科技有限公司 | Data synchronization method and system |
CN106095741A (en) * | 2016-06-07 | 2016-11-09 | 福建天泉教育科技有限公司 | Control PPT and insert the method and system of object |
CN106095741B (en) * | 2016-06-07 | 2018-11-30 | 福建天泉教育科技有限公司 | Control the method and system of PPT insertion object |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1976373A (en) | Method for controlling computer PPT program via cell phone | |
CN101980143B (en) | Method for simultaneously displaying multiple computer desktops on single physical projector | |
De Bruijn et al. | RSVP browser: Web browsing on small screen devices | |
CN102915114A (en) | Remote control method of PPT (Power Point) | |
CN105513445A (en) | Ideological and political theory teaching system | |
CN101789964A (en) | Remote control and data monitoring method on embedded device | |
CN102968190B (en) | Based on local input method mapping device and the method for remote application | |
CN103027493B (en) | Electronic desk | |
CN1975642A (en) | Educational system and method for realizing controlling computer by cell phone via bluetooth | |
CN102413139A (en) | Method and system for remotely inputting characters | |
CN1976339A (en) | Method for monitoring computer screen via cell phone | |
CN111835861B (en) | Examination system data processing method and device, computer equipment and storage medium | |
CN101064068A (en) | Learning method and portable learning system based on network | |
CN110910692A (en) | Intelligent intelligent classroom system | |
CN210578665U (en) | Network virtual experiment system | |
CN1459063A (en) | System and method for realtime-controlling web browser of user | |
Ding et al. | The motor virtual experimental system based on matlab web technology | |
Ding et al. | Design and Implement of the Electric and Electronic Virtual Experiment System | |
CN204990278U (en) | External device of USB of computer hardware monitoring | |
KR20080097058A (en) | Communication system and method for replying thereof | |
Shih et al. | Teamspace: A simple, low-cost and self-sufficient workspace for small-group collaborative computing | |
CN2664047Y (en) | Communication server | |
CN108086715A (en) | A kind of multifunctional bus music electronic advertising platform | |
CN206205503U (en) | A kind of bus station's music electronic advertising platform | |
CN1303512C (en) | Electronic equipment for displaying manuscript through touch-controlled operations and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20070606 |