CN102880508A - Method and system for realizing PC (Personal Computer)-controlled Android terminal - Google Patents

Method and system for realizing PC (Personal Computer)-controlled Android terminal Download PDF

Info

Publication number
CN102880508A
CN102880508A CN2012103402835A CN201210340283A CN102880508A CN 102880508 A CN102880508 A CN 102880508A CN 2012103402835 A CN2012103402835 A CN 2012103402835A CN 201210340283 A CN201210340283 A CN 201210340283A CN 102880508 A CN102880508 A CN 102880508A
Authority
CN
China
Prior art keywords
android terminal
browser
android
terminal
service routine
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
CN2012103402835A
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.)
Shenzhen ZTE Mobile Telecom Co Ltd
Original Assignee
Shenzhen ZTE Mobile Telecom Co Ltd
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 Shenzhen ZTE Mobile Telecom Co Ltd filed Critical Shenzhen ZTE Mobile Telecom Co Ltd
Priority to CN2012103402835A priority Critical patent/CN102880508A/en
Publication of CN102880508A publication Critical patent/CN102880508A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention suitable for the field of communication provides a method and a system for realizing a PC (Personal Computer)-controlled Android terminal. The method comprises the steps as follows: connecting a PC and an Android terminal to a same network segment; starting a built-in web server of the Android terminal and providing a socket service program of an external interface; displaying a URL (Uniform Resource Locator) address by the Android terminal; opening a browser and receiving the URL address input by a user into the browser by the PC; and logging in a control interface of the Android terminal by the browser of the PC according to the URL address, and establishing long connection with the socket service program so as to send a predefined instruction to the Android terminal for control. The PC does not need to be installed with management software and a drive program through the built-in web server of the Android terminal. Due to the adoption of the browser, the control interface can be used on multiple operation systems in a cross-platform way.

Description

A kind of PC of realization controls the method and system of Android terminal
Technical field
The invention belongs to communication field, relate in particular to the method and system that a kind of PC of realization controls the Android terminal.
Background technology
At present, Android terminal (electric terminal of Android operating system has been installed) is widely used.The Android terminal is generally portable terminal, and in order to take into account its portability, usually can make its screen less.When carrying out certain operations or control, directly get up and inconvenience at the Android terminal operation, therefore, PC external member management software has appearred.
By managing and operation A ndroid mobile phone at PC operation PC external member management software.There is following problem in existing pc external member management software: 1) must client be installed at computer; 2) associated drives must be installed; 3) compatibility is not high, and different operating system need to be installed different client releases.
Summary of the invention
In order to solve the problems of the technologies described above, the object of the present invention is to provide a kind of PC of realization to control the method for Android terminal.
The present invention is achieved in that a kind of PC of realization controls the method for Android terminal, said method comprising the steps of:
PC and Android terminal are connected on the same network segment;
Start the built-in web server of Android terminal and the socket service routine that external interface is provided;
The Android terminal shows its URL address;
The PC open any browser also receives the URL address that the user inputs in browser;
The browser of PC logs in the operation and control interface of Android terminal according to the URL address, and sets up long the connection with the socket service routine of Android terminal, controls so that the instruction that predefined is good is dealt into the Android terminal via the socket service routine.
Further, the described step that PC and Android terminal are connected on the same network segment is:
PC and Android terminal are passed through the wifi network connection to same router; Perhaps
The Android terminal is opened the WIFI focus, and PC is connected to described Android terminal by the WIFI focus.
Further, after the step that starts the built-in web server of Android terminal and the socket service routine that external interface is provided, also comprise:
The Android terminal shows identifying code;
After the browser of PC logs in the operation and control interface of Android terminal according to the URL address, PC receives the identifying code of user's input, and whether the identifying code of checking input is correct, when correct, just enter PC and sets up the long step that is connected with the socket service routine of Android terminal.
Further, described PC is by Flash technology or Html5 technology with long connection of socket service routine foundation of Android terminal.
Another object of the present invention is to provide a kind of PC of realization to control the system of Android terminal, described system comprises PC and Android terminal, described PC is equipped with browser, described Android terminal is built-in with web server and the socket service routine of external interface is provided, and, described PC and Android terminal are connected on the same network segment
The described web server of described Android starting terminal and socket service routine, the Android terminal shows its URL address, by the PC open any browser and receive the URL address that the user inputs in browser, the browser of PC logs on the operation and control interface of Android terminal according to the URL address, and set up long the connection with the socket service routine of Android terminal, so that being dealt into the Android terminal via the socket service routine, the instruction that predefined is good controls.
Further, described system also comprises router, and described PC and Android terminal are passed through the wifi network connection to same router.
Further, described Android terminal also comprises WIFI focus module, and PC is connected to described Android terminal by the WIFI focus module of Android terminal
In the present invention, after Android terminal and PC link on the same network segment, at the built-in web server of Android terminal and socket service routine, PC logs on the operation and control interface of Android terminal by the address of input Android terminal in browser, and passes through Flash or the long connection of Html5 technology realization.By the built-in web server of Android terminal, computer is without the installation administration software and driver.Owing to be to open with browser, so administration interface can cross-platform use on the operating systems such as Windows, Mac, Linux.
Description of drawings
Fig. 1 is the method flow diagram that realization PC that the embodiment of the invention provides controls the Android terminal;
Fig. 2 is the system framework figure that realization PC that the embodiment of the invention provides controls the Android terminal.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
The realization PC that Fig. 1 shows first embodiment of the invention to be provided controls the method flow of Android terminal, and details are as follows:
In step S101, PC and Android terminal are connected on the same network segment.
As embodiments of the invention, the implementation of this step can for following any one:
PC and Android terminal are passed through the wifi network connection to same router; Perhaps
The Android terminal is opened the WIFI focus, and PC is connected to described Android terminal by the WIFI focus.
In step S102, start the built-in web server of Android terminal and the socket service routine that external interface is provided.
In step S103, the Android terminal shows its URL address.
In step S104, the PC open any browser also receives the URL address that the user inputs in browser.
In step S105, the browser of PC logs in the operation and control interface of Android terminal according to the URL address, and sets up long the connection with the socket service routine of Android terminal, so that will be prior
The instruction that defines is dealt into the Android terminal via the socket service routine and controls.
As embodiments of the invention, also comprise after the step that starts the built-in web server of Android terminal and the socket service routine that external interface is provided: the Android terminal shows identifying code (can show identifying code when showing the URL address); After the browser of PC logs in the operation and control interface of Android terminal according to the URL address, PC receives the identifying code of user's input, and whether the identifying code of checking input is correct, when correct, just enter PC and sets up the long step that is connected with the socket service routine of Android terminal.
As embodiments of the invention, described PC sets up long the connection with the socket service routine of Android terminal can pass through Flash technology or Html5 technology.
The realization PC that Fig. 2 shows the embodiment of the invention to be provided controls the system framework of Android terminal, this system comprises PC11 and Android terminal 12, described PC11 is equipped with browser 111, described Android terminal 12 is built-in with web server 121 and the socket service routine 122 of external interface is provided, and described PC11 and Android terminal 12 are connected on the same network segment.
Described Android terminal 12 starts described web server 121 and socket service routine 122, Android terminal 12 shows its URL address, by PC11 open any browser 111 and receive the URL address that the user inputs in browser 111, the browser 111 of PC logs on the operation and control interface of Android terminal 12 according to the URL address, and set up long the connection with the socket service routine 122 of Android terminal 12, so that being dealt into Android terminal 12 via socket service routine 122, the instruction that predefined is good controls.
As embodiments of the invention, this system also comprises the router (not shown), and described PC and Android terminal are passed through the wifi network connection to same router.As another embodiment of the present invention, described Android terminal also comprises WIFI focus module, and PC is connected to described Android terminal by the WIFI focus module of Android terminal.
In sum, after Android terminal and PC link on the same network segment, at the built-in web server of Android terminal and socket service routine, PC logs on the operation and control interface of Android terminal by the address of input Android terminal in browser, and passes through Flash or the long connection of Html5 technology realization.By the built-in web server of Android terminal, computer is without the installation administration software and driver.Owing to be to open with browser, so administration interface can cross-platform use on the operating systems such as Windows, Mac, Linux.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. realize that PC controls the method for Android terminal for one kind, it is characterized in that, said method comprising the steps of:
PC and Android terminal are connected on the same network segment;
Start the built-in web server of Android terminal and the socket service routine that external interface is provided;
The Android terminal shows its URL address;
The PC open any browser also receives the URL address that the user inputs in browser;
The browser of PC logs in the operation and control interface of Android terminal according to the URL address, and sets up long the connection with the socket service routine of Android terminal, controls so that the instruction that predefined is good is dealt into the Android terminal via the socket service routine.
2. realization according to claim 1 PC controls the method for Android terminal, it is characterized in that, the described step that PC and Android terminal are connected on the same network segment is:
PC and Android terminal are passed through the wifi network connection to same router; Perhaps
The Android terminal is opened the WIFI focus, and PC is connected to described Android terminal by the WIFI focus.
3. realization PC according to claim 1 controls the method for Android terminal, it is characterized in that, also comprises after the step that starts the built-in web server of Android terminal and the socket service routine that external interface is provided:
The Android terminal shows identifying code;
After the browser of PC logs in the operation and control interface of Android terminal according to the URL address, PC receives the identifying code of user's input, and whether the identifying code of checking input is correct, when correct, just enter PC and sets up the long step that is connected with the socket service routine of Android terminal.
4. realization PC according to claim 1 controls the method for Android terminal, it is characterized in that, it is by Flash technology or Html5 technology that described PC sets up long the connection with the socket service routine of Android terminal.
5. realize that PC controls the system of Android terminal for one kind, it is characterized in that, described system comprises PC and Android terminal, described PC is equipped with browser, described Android terminal is built-in with web server and the socket service routine of external interface is provided, and described PC and Android terminal are connected on the same network segment
The described web server of described Android starting terminal and socket service routine, the Android terminal shows its URL address, by the PC open any browser and receive the URL address that the user inputs in browser, the browser of PC logs on the operation and control interface of Android terminal according to the URL address, and set up long the connection with the socket service routine of Android terminal, so that being dealt into the Android terminal via the socket service routine, the instruction that predefined is good controls.
6. realization PC according to claim 5 controls the system of Android terminal, it is characterized in that described system also comprises router, and described PC and Android terminal are passed through the wifi network connection to same router.
7. realization PC according to claim 5 controls the system of Android terminal, it is characterized in that described Android terminal also comprises WIFI focus module, and PC is connected to described Android terminal by the WIFI focus module of Android terminal.
CN2012103402835A 2012-09-14 2012-09-14 Method and system for realizing PC (Personal Computer)-controlled Android terminal Pending CN102880508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103402835A CN102880508A (en) 2012-09-14 2012-09-14 Method and system for realizing PC (Personal Computer)-controlled Android terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103402835A CN102880508A (en) 2012-09-14 2012-09-14 Method and system for realizing PC (Personal Computer)-controlled Android terminal

Publications (1)

Publication Number Publication Date
CN102880508A true CN102880508A (en) 2013-01-16

Family

ID=47481846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103402835A Pending CN102880508A (en) 2012-09-14 2012-09-14 Method and system for realizing PC (Personal Computer)-controlled Android terminal

Country Status (1)

Country Link
CN (1) CN102880508A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980414A (en) * 2014-05-15 2015-10-14 腾讯科技(深圳)有限公司 File transmission method and terminal
CN105893067A (en) * 2015-06-03 2016-08-24 福建创意嘉和软件有限公司 Method for implementing running of Android system application based on PC machine
CN105991679A (en) * 2015-01-30 2016-10-05 阿里巴巴集团控股有限公司 Method and device for realizing network sharing
CN108093211A (en) * 2017-12-11 2018-05-29 日立楼宇技术(广州)有限公司 Video previewing method, device, server and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309291B (en) * 2008-05-30 2011-04-20 中兴通讯股份有限公司 Tool and method for terminal data maintenance
CN102185925A (en) * 2011-05-18 2011-09-14 中兴通讯股份有限公司 System, terminal and method for supporting terminal data processing of computer
US20120173741A1 (en) * 2011-01-04 2012-07-05 David Brittain Transferring web data between operating system environments

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309291B (en) * 2008-05-30 2011-04-20 中兴通讯股份有限公司 Tool and method for terminal data maintenance
US20120173741A1 (en) * 2011-01-04 2012-07-05 David Brittain Transferring web data between operating system environments
CN102185925A (en) * 2011-05-18 2011-09-14 中兴通讯股份有限公司 System, terminal and method for supporting terminal data processing of computer

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980414A (en) * 2014-05-15 2015-10-14 腾讯科技(深圳)有限公司 File transmission method and terminal
CN104980414B (en) * 2014-05-15 2020-01-10 腾讯科技(深圳)有限公司 File transmission method and terminal
CN105991679A (en) * 2015-01-30 2016-10-05 阿里巴巴集团控股有限公司 Method and device for realizing network sharing
CN105991679B (en) * 2015-01-30 2019-07-09 阿里巴巴集团控股有限公司 A kind of implementation method and device of network sharing
US10499311B2 (en) 2015-01-30 2019-12-03 Alibaba Group Holding Limited Method and apparatus for implementing network sharing
CN105893067A (en) * 2015-06-03 2016-08-24 福建创意嘉和软件有限公司 Method for implementing running of Android system application based on PC machine
CN108093211A (en) * 2017-12-11 2018-05-29 日立楼宇技术(广州)有限公司 Video previewing method, device, server and computer readable storage medium
CN108093211B (en) * 2017-12-11 2020-12-25 日立楼宇技术(广州)有限公司 Video preview method, device, server and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN103442126A (en) Mobile phone communication method and system based on cloud service
WO2017071207A1 (en) Application installation method, corresponding apparatus, and application installation system
CN104539682A (en) Debug method, device, mobile terminal, server and system for mobile webpage
CN103596177A (en) Method for making mobile terminal get access to public WiFi in one-key mode
US20190114183A1 (en) Terminal Configuration Method and Terminal Based on Provision Protocol for Transmission
CN103399548A (en) Remote controlling method of intelligent equipment, mobile terminal, intelligent equipment and system
EP2905938B1 (en) Method for acquiring locating information, terminal and mobile broadband interface model (mbim) device
CN102880508A (en) Method and system for realizing PC (Personal Computer)-controlled Android terminal
CN104079970A (en) System and method of data interaction and control of mobile equipment and WIFI (Wireless Fidelity) smart television
CN104853028A (en) Method of using speech recognition to configure equipment network parameters by mobile device
CN103873452A (en) Method and system for connecting android system by PC (personal computer) browser
CN104424036A (en) Synchronous operation method and device of smart terminal
CN102621898A (en) Digital household appliance control apparatus, control method and control system thereof
CN102946645A (en) Communication method between PC (Personal Computer) and Android equipment, as well as equipment
CN204156906U (en) A kind of community information delivery system based on 3G/4G smart mobile phone and Cloud Server
EP2515601B1 (en) Dial-up connection method and device of mobile data terminal
CN104506803A (en) Server, remote technology support system and method
CN103530159A (en) Upgrading method and system of wireless communication module
CN104219795A (en) Wireless access terminal driving method and device and terminal
CN103440145A (en) Method and device for updating application programs and mobile terminal
CN102937862A (en) System and method for managing mobile terminal by browser
CN104683973B (en) Management method and system are automatically configured based on intelligent terminal
EP3694151A1 (en) Terminal network sharing method, apparatus, air conditioning adjustment device, and storage medium
CN106331051A (en) File transmission method and system, file receiving device and file transmission device
CN104935750A (en) Intelligent installation system for financial website cellphone application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130116

RJ01 Rejection of invention patent application after publication