CN104113570A - Android terminal desktop direct access method and system through browser or software program - Google Patents

Android terminal desktop direct access method and system through browser or software program Download PDF

Info

Publication number
CN104113570A
CN104113570A CN201310136369.0A CN201310136369A CN104113570A CN 104113570 A CN104113570 A CN 104113570A CN 201310136369 A CN201310136369 A CN 201310136369A CN 104113570 A CN104113570 A CN 104113570A
Authority
CN
China
Prior art keywords
browser
android terminal
software program
desktop
android
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
Application number
CN201310136369.0A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201310136369.0A priority Critical patent/CN104113570A/en
Publication of CN104113570A publication Critical patent/CN104113570A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an android terminal desktop remote access method and system through a browser or a software program, wherein the method and system can be used to make up the defect that an android apparatus does not have the remote desktop server-side function. The system is composed of an android terminal service program, a register server, a client browser, a network (a wired network or a wireless network) and the like. The android terminal service program will register information required by external communication onto the register server, a user gets access to the register server through the browser or the software program to inquire associated android terminals, and then the register server turns the link to be that IP is processed by the android terminal service program. Thus, the user can get access to the android terminal through the browser or the software program to show desktop information (screenshot, sound, videos and the like) sent by the service program and send an operation event to the android terminal service program for being processed so as to realize the remote desktop function. Moreover, videos and sound of a remote desktop can be played as being viewed locally.

Description

A kind of method and system of directly accessing Android terminal desktop by browser or software program
Technical field
The present invention relates to network communication field, relate in particular to the method and system of directly accessing android terminal desktop by browser or software program.
Technical background
The remote desktop function that PC provides, very convenient people's remote assistance and remote management apparatus.Panel computer is more and more universal now, someone predicts that panel computer will replace PC. but on these intelligent terminals (containing panel computer), especially on increasing android terminal equipment, the client utility of long-range connection PC is a lot, but not yet occur stablizing easy-to-use remote service end, facilitate long-range this android terminal desktop that visits of user.Therefore,, if can invent a cover system, only need browser or software program to get final product direct remote access android terminal desktop, no matter whether this target terminal equipment directly connects public network, or connect public network by local area network (LAN), can be by remote access, this will bring great convenience and be worth to user.
Summary of the invention
Object of the present invention is just to provide a kind of method and system of directly accessing android terminal desktop by browser or software program, solved the disappearance of the remote desktop service end function of current Android system, facilitating user need be only the desktop of addressable android terminal with browser or software program.The present invention is different from other and accesses by web page the system of long-range PC desktop, and their packet will pass through a station server transfer, is not direct access; And this way delay is large, if a large amount of business promotion requires transfer server performance and bandwidth all very high.And the present invention can also present the audio & video of remote terminal, just as this locality is watched.
According to an aspect of the present invention, provide a kind of method of directly accessing android terminal desktop by browser or software program, comprised the steps:
When A.android starting up of terminal, automatically start service routine;
B. service routine, the needed information of this android terminal correspondence with foreign country, is registered to (abbreviation registrar) on public network one station server;
C. local user is by the browser in client computer or software program inquiry registrar, and the communication information needed of certain android terminal that user is concerned about is sent to user by the latter;
D. local user communicates by letter with the service routine of corresponding android terminal by the browser in client computer or software program, and this service routine constantly sends to user screen message;
E. when the desktop of the android terminal of local user to the browser in client computer or software program demonstration operates, browser can send event message to the service routine in android terminal, the latter does after outgoing event judgement, the processing of call operation system correlation function, and up-to-date screen message is sent to browser or software program.
Wherein, steps A is specially:
After A1.android starting up of terminal completes, automatically start service routine;
A2. or after android terminal restarted, automatically start service routine;
Or manually boot the service routine in android terminal A3.;
A4. service routine can be restarted or suspend remote service according to instruction.
Wherein, step B is specially:
B1. first, the service routine in android terminal is wanted Login Register server, and the latter will verify the android terminal of login, refuse unauthorized terminal;
If B2. android terminal directly connects public network, the correspondence with foreign country port that service routine configures this public network IP address and to service routine, is registered on the registrar on public network;
If B3. android terminal is that service routine need to do Intranet and pass through action by the router online in local area network (LAN), then, the correspondence with foreign country port after the public network IP address of this router and conversion, be registered on the registrar on public network;
Whether the service routine in B4.android terminal wants the external public network IP of regular check to change, if change, needs to upgrade the communication information on registrar;
Service routine in B5.android terminal needs timing to send out heartbeat message to registrar, informs also on network.
Wherein, step C is specially:
C1. when local user logs in registrar by the browser in client computer or software program, need provide user name and password, only have validated user to login;
C2. local user inquires about by the browser in client computer or software program the android terminal of being concerned about to registrar, obtains required IP and the port information of telecommunication;
C3. local browser is communicated by letter with registrar, uses http agreement or Transmission Control Protocol.
Wherein, step D is specially:
D1. when the browser in client computer or software program log in the service routine in android terminal, need authentication of users name and password, only have validated user to login;
D2. the service routine in local browser or software program request android terminal, sends current screen information;
Service routine in D3.android terminal, the relevant API of call operation system, obtains current screen sectional drawing compression, then sends to browser; Or a series of sectional drawings when front desktop are compressed (as MPEG4 in generic video mode, H.264 etc.) and sound carry out analog to digital conversion and compress obtaining audio compression data (as MP3, AAC etc.), then audio, video data is sent to browser or software program;
D4. the on-screen data that browser decompress(ion) is received, and demonstrate this screen picture or play remote desktop video sound;
D5. repeat D2, D3, D4 step.
Wherein, step e is specially:
If E1. browser or software program operate in PC above, the mode screen of the long-range android terminal showing being operated has: keyboard, and mouse, writing pen, touches etc.
If E2. browser or software program operate in android Set Top Box, the mode screen of the long-range android terminal showing being operated has: keyboard, remote controller etc.;
If E3. browser or software program operate on flat board or android mobile phone, the mode screen of the long-range android terminal showing being operated has: keyboard, touches etc.;
E4. browser or software program send to the service routine in long-range android terminal Action Events, and the latter understands the relevant API of call operation system and processes, and refreshes screen, and up-to-date screen message is sent to local browser or software program.
Wherein, described system comprises:
Registrar;
Service routine in android terminal;
Browser in client computer;
Wired or wireless network, for network service between above three provides path.
Wherein, described android terminal server comprises:
Client connection management module, is responsible for user rs authentication, and refusal disabled user connect;
Intranet penetrates module, is responsible for the information such as LAN IP address and port, is converted into public network IP address and port etc.;
Desktop sectional drawing coding module, be responsible for, when front desktop sectional drawing compressed encoding, changing into the binary message of Internet Transmission, sends to browser or software program;
Process client event module, the remote operation desktop event of being responsible for browser or software program to transmit is classified, and calls the processing of different operating system interface, just as local operation android desktop.
Wherein, described client computer comprises:
It can be PC/ notebook computer;
It can be panel computer;
Can be smart mobile phone or other intelligent terminal.
Wherein, described registrar comprises:
The physical server of operating system has been installed;
Operate in the registration service program on physical server;
Operate in the database on physical server.
Wherein, described registration service program comprises:
Client's link block, is responsible for checking login user information, and refusal disabled user connect;
Registering modules, the communication information that android terminal is sent, write into Databasce;
Enquiry module, the again communication information of certain android terminal of data base querying;
User management module, management registered user, a user has an android terminal at least, can associated multiple terminals;
Termination management module, sets up legal terminal table, and it is legal to be only only in the terminal of table the inside;
Compare with existing similar techniques, beneficial effect of the present invention exists: for remote access android terminal desktop provides a kind of total solution, especially provide a kind of general simple Terminal Server Client method to miscellaneous client computer, carry out remote access android terminal desktop with browser or software program, realize remote assistance and telemanagement.And the present invention can also play video and the sound of remote desktop, just as watching in this locality.
Brief description of the drawings
Fig. 1 is the structural representation that passes through the direct remote access android of browser terminal desktop that the embodiment of the present invention provides;
Fig. 2 be in the android terminal to be visited that provides of the embodiment of the present invention service routine registration telecommunication information to flow chart on registrar;
Fig. 3 is the remote desktop workflow diagram of realizing by browser that the embodiment of the present invention provides;
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is elaborated, it should be pointed out that following illustrated preferred embodiment, only for explaining and explanation the present invention, is not intended to limit the present invention.
Fig. 1 is the structural representation that browser that the embodiment of the present invention provides is directly accessed android terminal desktop system. as shown in Figure 1, this system comprises: the client computer 11 with browser, and the Internet 12, there is device 13 on road, treat remote access android terminal 14, registrar 15.Wherein registrar 15, is used for registering the communication information of android terminal to be visited, as public network IP, and port etc.Registrar, also for client computer provides query function, as user wants to access certain android terminal, need to be inquired about its signal post and need IP and port simultaneously, could long-range direct access.Android terminal 14 to be visited, has remote desktop service routine on it, comprising: process client 11 network connecting module; Intranet penetrates module; Capture screen information coding module; Process client event module.There is device 13 on road, if android terminal 14 is directly to surf the Net by 3G, there is device on Ze Buxu road; If android terminal 14, by wired or wireless online, can directly be used public network IP, there is device 13 on Ye Buxu road.The Internet 12, can be wireless network, can be also cable network.Client computer 11, with the equipment of browser, can be PC, panel computer, smart mobile phone etc.
Fig. 2 is that in the android terminal to be visited that provides of the embodiment of the present invention, service routine registration telecommunication information, to flow chart on registrar, specifically comprises the steps:
Step s21, starts the service routine in terminal.
Can be system startup time, automatically moving, can be also to restart according to instruction, or house dog program be found to restart this program after this program stopped.
Step s22, reads the communication port of this terminal configuration.
This communication port, can be used a default port, also can untapped port of manual configuration.Service routine in Android terminal uses this port, waits for that client communication connects.
Step s23, the IP address of reading this terminal configuration.
This IP address can be that automatic acquisition arrives, and can be also manually to arrange.
Step s24, judges whether this terminal directly connects public network.
Service routine in terminal judges that by algorithm this terminal is directly to connect public network, or connects public network by local area network (LAN).If directly connect public network, use the IP and the port that distribute to would subscribe on registrar; If not, need to pass through algorithm by Intranet, see s25.
Step s25, starts Intranet and penetrates program.
Intranet penetrates program and will solve, and the local communication port of this terminal and IP are converted to port and the IP that on public network, signal post needs, and is then registered on registrar.
Step s26, registering communication information needed is to registrar.
As the port in terminal or IP address change, need to upgrade the information on registrar during this time.In addition, even if the communication information does not change, also need to send heartbeat message to registrar, allow server know that this terminal is also connected on the net.
Fig. 3 is the remote desktop workflow diagram of realizing by browser that the embodiment of the present invention provides, and specifically comprises the steps:
Step s31, user opens registrar login page by browser, input relevant information, verify legal after, enter into and use householder interface.If use for the first time, need to arrive enrollment page and create the account number of oneself, and input and need access android Termination ID number.
Step s32, selects to think remote access android Termination ID.Only have the terminal being connected at present on network, just can access.
Step s33, registrar, according to Termination ID number, inquires the communication information of this endpoint registration.Then these information are given to web server.
Step s34, the web server on registrar, according to public network IP and the port of these terminal communication needs, generates a new link, returns to browser client, has heavily been directed to the service routine in android terminal.
Step s35, the service routine in android terminal judges that whether browser client is legal, non-rule denied access finishes communication.
Step s36, the service routine in android terminal judges that browser client is legal, starts remote control function, according to user's request, constantly intercepts desktop picture, packing compression, issues browser client.Browser client is received data, and reduction picture, represents to local user.Local user can operate desktop.Browser can be Action Events, sends to service routine in long-range android terminal, and the latter, again to event classification, calls Android system relevant interface and processes event, just as local operation, and then up-to-date desktop situation is returned to browser.Thereby realize Long-distance Control.
Step s37, user closes browser, finishes Long-distance Control.
In sum, the present invention develops a web services program in android terminal, and the communication information that upgrades in time is to registrar, can facilitate remote access android terminal using browser or software program as Terminal Server Client, low cost has solved the disappearance of android apparatus remote desktop function.
Although above the present invention is had been described in detail, the invention is not restricted to this, those skilled in the art of the present technique can carry out various amendments according to know-why of the present invention.Therefore, all amendments of doing according to the principle of the invention, all should be understood to fall into protection scope of the present invention.

Claims (11)

1. method and system of directly accessing android terminal desktop by browser or software program, is characterized in that, described method comprises the steps:
When A.android starting up of terminal, automatically start service routine;
B. service routine, the needed information of this android terminal correspondence with foreign country, is registered to (abbreviation registrar) on public network one station server;
C. local user is by the browser in client computer or software program inquiry registrar, and the latter will send to user the communication information needed of certain associated user android terminal;
D. local user communicates by letter with the service routine of corresponding android terminal by the browser in client computer or software program, and this service routine constantly sends to user DESKTOP INFORMATION;
E. when local user operates the remote desktop of the browser in client computer or software program demonstration, browser or software program can send event message to the service routine in android terminal, the latter does after outgoing event judgement, the processing of call operation system correlation function, and up-to-date DESKTOP INFORMATION is sent to browser or software program.
2. method according to claim 1, is characterized in that, described steps A is specially:
After A1.android starting up of terminal completes, automatically start service routine;
A2. or after android terminal restarted, automatically start service routine;
Or manually boot the service routine in android terminal A3.;
A4. service routine can be restarted or suspend remote service according to instruction.
3. method according to claim 1, is characterized in that, described step B is specially:
B1. first, the service routine in android terminal is wanted Login Register server, and the latter will verify the android terminal of login, refusal illegal terminal;
If B2. android terminal directly connects public network, the correspondence with foreign country port that service routine configures this public network IP address and to service routine, is registered on the registrar on public network;
If B3. android terminal is by the router online in local area network (LAN), service routine need to do Intranet and pass through action, then the external public network IP address of this terminal place network, the correspondence with foreign country port after conversion and other information needed, be registered on the registrar on public network;
Whether the service routine in B4.android terminal wants the external public network IP of regular check to change, if change, needs to upgrade the communication information on registrar;
In B5.android terminal, service routine needs timing to send out heartbeat message to registrar, informs also on network.
4. method according to claim 1, is characterized in that, described step C is specially:
C1. when local user logs in registrar by the browser in client computer or software program, need user profile checking, only have validated user to login;
C2. local user inquires about associated android terminal by the browser in client computer or software program to registrar, obtains the required information such as IP and port of telecommunication;
C3. local browser or software program are communicated by letter with registrar, use http agreement or tcp agreement.
5. method according to claim 1, is characterized in that, described step D is specially:
D1. when the browser in client computer or software program log in the service routine in android terminal, need authentication of users information, only have validated user to login;
D2. the service routine in local browser or software program request android terminal, sends current DESKTOP INFORMATION;
Service routine in D3.android terminal, the relevant API of call operation system, obtains when front desktop sectional drawing compression, then sends to browser; Or a series of sectional drawings when front desktop are compressed (as MPEG4 in generic video mode, H.264 etc.) and sound carry out analog to digital conversion and compress obtaining audio compression data (as mp3, AAC etc.), then audio, video data is sent to browser or software program;
D4. the desktop data that browser or software program decompress(ion) are received, and demonstrate this desktop picture or play remote desktop video sound;
D5. repeat D2, D3, D4 step.
6. method according to claim 1, is characterized in that, described step e is specially:
If E1. browser or software program operate in PC above, the mode desktop of the long-range android terminal showing being operated has: keyboard, and mouse, writing pen, touches etc.
If E2. browser or software program operate in android Set Top Box, the mode desktop of the long-range android terminal showing being operated has: keyboard, remote controller etc.;
If E3. browser or software program operate on flat board or android mobile phone, the mode desktop of the long-range android terminal showing being operated has: keyboard, touches etc.;
E4. browser or software program send to the service routine in long-range android terminal Action Events, and the latter understands the relevant API of call operation system and processes, and refreshes desktop, and up-to-date DESKTOP INFORMATION is sent to browser or software program.
7. a system for remote access android terminal equipment desktop, is characterized in that, described system comprises:
Registrar;
Service routine in android terminal;
Browser in client computer or software program;
Wired or wireless network, for network service between above three provides path.
8. according to the method described in right 1 to 7 any one, it is characterized in that, described android terminal server comprises:
Client connection management module, is responsible for user rs authentication, and refusal disabled user connect;
Intranet penetrates module, is responsible for the information such as LAN IP address and port, is converted into public network IP address and port etc.;
Desktop sectional drawing coding module, be responsible for, when front desktop sectional drawing compressed encoding, changing into the binary message of Internet Transmission, sends to browser or software program;
Process client event module, the remote operation desktop event of being responsible for browser or software program to transmit is classified, and calls the processing of different operating system interface, just as local operation android desktop.
9. according to the method described in right 1 to 7 any one, it is characterized in that, described client computer comprises:
It can be PC/ notebook computer;
It can be panel computer;
Can be smart mobile phone or other intelligent terminal.
10. according to the method described in right 1 to 7 any one, it is characterized in that, described registrar comprises:
The physical server of operating system has been installed;
Operate in the registration service program on physical server;
Operate in the database on physical server.
11. methods according to claim 10, is characterized in that, described registration service program comprises:
Client's link block, is responsible for checking login user information, and refusal disabled user connect;
Registering modules, the communication information that android terminal is sent, write into Databasce;
Enquiry module, the again communication information of certain android terminal of data base querying;
User management module, management registered user, a user has an android terminal at least, can associated multiple terminals;
Termination management module, sets up legal terminal table, and it is legal to be only only in the terminal of table the inside.
CN201310136369.0A 2013-04-17 2013-04-17 Android terminal desktop direct access method and system through browser or software program Pending CN104113570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310136369.0A CN104113570A (en) 2013-04-17 2013-04-17 Android terminal desktop direct access method and system through browser or software program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310136369.0A CN104113570A (en) 2013-04-17 2013-04-17 Android terminal desktop direct access method and system through browser or software program

Publications (1)

Publication Number Publication Date
CN104113570A true CN104113570A (en) 2014-10-22

Family

ID=51710203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310136369.0A Pending CN104113570A (en) 2013-04-17 2013-04-17 Android terminal desktop direct access method and system through browser or software program

Country Status (1)

Country Link
CN (1) CN104113570A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618435A (en) * 2014-12-29 2015-05-13 北京奇虎科技有限公司 Method for achieving remote desktops and remote desktop management system
CN104808999A (en) * 2015-05-20 2015-07-29 百度在线网络技术(北京)有限公司 Notification pushing method and device
CN105812421A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Remote control method based on Android platform and device thereof
CN106331071A (en) * 2016-08-16 2017-01-11 济南大学 Remote collection system and method for network flow of Android application
CN110300320A (en) * 2018-03-22 2019-10-01 杭州海康威视数字技术股份有限公司 A kind of video broadcasting method, device, electronic equipment and storage medium
CN111949517A (en) * 2020-07-23 2020-11-17 上海硬通网络科技有限公司 Remote real machine testing method and device and electronic equipment
CN113302607A (en) * 2018-12-25 2021-08-24 帕斯罗基株式会社 Remote control system, remote control method, program, and information recording medium
CN113572851A (en) * 2021-07-29 2021-10-29 辽宁向日葵教育科技有限公司 Remote desktop connection method based on browser

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618435A (en) * 2014-12-29 2015-05-13 北京奇虎科技有限公司 Method for achieving remote desktops and remote desktop management system
CN105812421A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Remote control method based on Android platform and device thereof
CN104808999A (en) * 2015-05-20 2015-07-29 百度在线网络技术(北京)有限公司 Notification pushing method and device
CN106331071A (en) * 2016-08-16 2017-01-11 济南大学 Remote collection system and method for network flow of Android application
CN106331071B (en) * 2016-08-16 2019-08-02 济南大学 The remote gathering system and method for Android application program network flow
CN110300320A (en) * 2018-03-22 2019-10-01 杭州海康威视数字技术股份有限公司 A kind of video broadcasting method, device, electronic equipment and storage medium
US11204688B2 (en) 2018-03-22 2021-12-21 Hangzhou Hikvision Digital Technology Co., Ltd. Video playing method and device, electronic equipment and storage medium
CN113302607A (en) * 2018-12-25 2021-08-24 帕斯罗基株式会社 Remote control system, remote control method, program, and information recording medium
CN111949517A (en) * 2020-07-23 2020-11-17 上海硬通网络科技有限公司 Remote real machine testing method and device and electronic equipment
CN113572851A (en) * 2021-07-29 2021-10-29 辽宁向日葵教育科技有限公司 Remote desktop connection method based on browser

Similar Documents

Publication Publication Date Title
CN104113570A (en) Android terminal desktop direct access method and system through browser or software program
CN102611753B (en) System and method for controlling controlled equipment through mobile terminal based on cloud platform
CN102802048B (en) A kind of Multi-screen interaction system and method
CN103024590B (en) The method and system of a kind of intelligent terminal and intelligent television video calling
CN103618941B (en) Multi-screen interaction-based interactive system and method
CN102387156B (en) Equipment logging treatment method, device and system
CN103139137B (en) Network service provider method and device
CN103686226A (en) Method and system for monitoring internet access of set top box based on cloud computation and set top box
CN102163196B (en) Implementation method and system thereof for intelligent browser of mobile terminal
CN103634172A (en) Method, device and system for processing multi-terminal cooperation information
CN103167327A (en) Method, device and system of information interaction
CN103414740A (en) Private cloud account configuration method and device
CN103780933A (en) Remote control method and control apparatus for multimedia terminal
CN105141536A (en) Intelligent router gateway
CN102118397B (en) Teleconference communication method and system based on mobile phones
CN111585801A (en) ZigBee device upgrading method and related device
CN202799005U (en) Cloud computing based internet monitoring system of set top box and set top box
CN102780791A (en) Self-adaption IP (Internet Protocol) method, device and system
CN101742265A (en) Video monitoring method, fixed network video monitoring service platform and mobile terminal
CN104240472A (en) Intelligent remote control system operating technology of mobile phone
CN105120207A (en) Sweeping robot video monitoring method and server
CN105049404A (en) Dynamic IP addressing method and system for home gateway equipment
CN104301400A (en) Multi-screen cooperation and resource sharing method on basis of Samba protocol
CN106791947A (en) Method and device for transmitting network video and electronic equipment
CN105100881A (en) Social network system based on set top box and use method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141022