CN102946645A - Communication method between PC (Personal Computer) and Android equipment, as well as equipment - Google Patents

Communication method between PC (Personal Computer) and Android equipment, as well as equipment Download PDF

Info

Publication number
CN102946645A
CN102946645A CN2012103944260A CN201210394426A CN102946645A CN 102946645 A CN102946645 A CN 102946645A CN 2012103944260 A CN2012103944260 A CN 2012103944260A CN 201210394426 A CN201210394426 A CN 201210394426A CN 102946645 A CN102946645 A CN 102946645A
Authority
CN
China
Prior art keywords
connection request
android
android equipment
communication
equipment
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
CN2012103944260A
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 CN2012103944260A priority Critical patent/CN102946645A/en
Publication of CN102946645A publication Critical patent/CN102946645A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention is applicable to the communication field and provides a communication method between a PC (Personal Computer) and Android equipment, as well as the Android equipment. The communication method comprises the steps as follows: a resident program pre-installed in the Android equipment opens a Wi-Fi hot spot of the Android equipment and establishes a Wi-Fi wireless network; the resident program monitors a network port of the Android equipment; when an access connection request of the Wi-Fi wireless network transmitted by the PC through a WLAN (Wireless Local Area Network) management module is monitored, the Android equipment responds to the access connection request, so that the PC is accessed into the Wi-Fi wireless network; and the Android equipment responds to the PC to initiate a communication connection request to the resident program, so that the Android equipment can communicate with the PC. When the communication method is used, a drive program is not needed on the PC and no dependence on a data wire is required, so that it is more convenient for users to use.

Description

The means of communication and equipment between a kind of PC and the Android equipment
Technical field
The invention belongs to communication field, relate to the means of communication and Android equipment between PC and the Android equipment, relate in particular to a kind of method and corresponding Android equipment of realizing PC and the communication of Android equipment room by Wi-Fi Hotspot in the Android equipment.
Background technology
At present, PC (personal computer) and Android equipment (referring to move the intelligent terminal of Android operating system) are generally used by people.
For realizing utilizing PC that the resource on the Android equipment is managed, at first need to be connected communication with the Android equipment room at PC and connect.The existing means of communication be with Android equipment with after PC is connected by a data lines (normally usb data line), by the driver of Android equipment is installed at PC, realize PC and the communication of Android equipment room.When using these means of communication, not only may corresponding driver be installed at PC, and must rely on data wire.And can't often carry data wire for the general user, and install driver also bothers.Like this, when utilizing existing method to realize PC and the communication of Android equipment room, just comparatively bother.
Summary of the invention
In order to solve the problems of the technologies described above, the purpose of the embodiment of the invention is to provide the wireless communication method of a kind of PC and Android equipment room.
The embodiment of the invention is achieved in that the wireless communication method of a kind of PC and Android equipment room, and the described means of communication comprise:
The TSR of Android equipment prepackage is opened the Wi-Fi Hotspot of Android equipment, and creates the Wi-Fi wireless network;
Described TSR is monitored the network port of Android equipment;
When listening to the access connection request of the Wi-Fi wireless network that the WLAN administration module of PC by himself send, the described access connection request of Android device responds makes PC access described Wi-Fi wireless network;
The communication connection request that Android device responds PC initiates to its TSR makes Android equipment carry out communication with PC.
Further, when listening to the connection request of the Wi-Fi wireless network that the WLAN administration module of PC by himself send, the described connection request of Android device responds accesses PC and also comprises step before the step of described Wi-Fi wireless network described:
The TSR of Android equipment shows the connectivity verification code;
PC receives the connectivity verification code of user's input, and the identifying code of described user's input is loaded in the access connection request of Wi-Fi wireless network, so that Android equipment determines whether agreeing this access connection request according to the correctness of this identifying code.
Further, described communication connection request is TCP/UDP communication connection request.
Further, described Android equipment is mobile phone or the panel computer that Android operating system has been installed.
Another purpose of the present invention is to provide a kind of Android equipment, has pre-installed TSR at described Android equipment, and described TSR comprises:
Wi-Fi starts control module, is used for opening the Wi-Fi Hotspot of Android equipment, and creates the Wi-Fi wireless network;
Monitor module, be used for monitoring the network port of Android equipment;
Wi-Fi accesses respond module, is used for when listening to the access connection request of the Wi-Fi wireless network that the WLAN administration module of PC by himself send, and the described access connection request of Android device responds makes PC access described Wi-Fi wireless network;
Communication connection request respond module is used for the communication connection request that Android device responds PC initiates to its TSR, makes Android equipment carry out communication with PC.
Further, described TSR also comprises:
The identifying code display module is used for showing the connectivity verification code;
Identifying code receives and correction verification module, is used for after PC receives the connectivity verification code of user's input, receives identifying code that PC sends and determines whether agreeing this access connection request according to the correctness of this input validation code.
Further, described communication connection request is TCP/UDP communication connection request.
Further, described Android equipment is mobile phone or the panel computer that Android operating system has been installed.
In the present invention, by the TSR of installing at Android equipment, open the Wi-Fi Hotspot of Android equipment, create a Wi-Fi wireless network.TSR begins to monitor the network port simultaneously.After PC detects the Wi-Fi wireless network that Android equipment creates by self WLAN administration module, access Wi-Fi wireless network, then, the WLAN administration module of PC is initiated the communication connection request to TSR, TSR responds after this communication connection request connects, and the WLAN administration module of PC and the TSR of Android equipment just can carry out communication based on the TCP/UDP agreement.Like this, when using these means of communication, not only need to be on PC install driver, and do not rely on data wire, comparatively convenient thereby the user uses.
Description of drawings
Fig. 1 is the PC that provides of first embodiment of the invention and the communication interaction figure between the Android equipment;
Fig. 2 is the PC that provides of second embodiment of the invention and the communication interaction figure between the Android equipment;
Fig. 3 is the structured flowchart of Android equipment provided by the invention.
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.
Consult Fig. 1, the PC that provides for first embodiment of the invention and the communication interaction figure between the Android equipment relate to Android equipment, two ends of PC in the method.And, need TSR be installed in advance at Android equipment, the user moves TSR; And at PC end operation WLAN administration module.Communication reciprocal process between PC and the Android equipment is as follows:
1, the TSR of Android equipment prepackage is opened the Wi-Fi Hotspot of Android equipment, and creates the Wi-Fi wireless network.
2, described TSR is monitored the network port of Android equipment.
3, the WLAN administration module of PC detects the Wi-Fi wireless network that Android equipment creates.
4, PC sends the access connection request of Wi-Fi wireless network.
5, the described access connection request of Android device responds.
6, PC sends the communication connection request to TSR.As embodiments of the invention, described communication connection request is TCP/UDP communication connection request.
7, the described communication connection request of Android device responds makes Android equipment carry out communication with PC.
In this enforcement, described Android equipment is mobile phone or the panel computer that Android operating system has been installed.
Consult Fig. 2, the PC that provides for second embodiment of the invention and the communication interaction figure between the Android equipment, the communication reciprocal process between PC and the Android equipment is as follows:
1, the TSR of Android equipment prepackage is opened the Wi-Fi Hotspot of Android equipment, and creates the Wi-Fi wireless network.2, described TSR shows the connectivity verification code.
3, described TSR is monitored the network port of Android equipment.
4, the WLAN administration module of PC detects the Wi-Fi wireless network that Android equipment creates.
5, PC receives the connectivity verification code of user's input, and the identifying code of described user's input is loaded in the access request of Wi-Fi wireless network.
6, send the access connection request of Wi-Fi wireless network.
7, the described access connection request of Android device responds.
8, PC sends the communication connection request to TSR.As embodiments of the invention, described communication connection request is TCP/UDP communication connection request.
9, the described communication connection request of Android device responds makes Android equipment carry out communication with PC.
In this enforcement, described Android equipment is mobile phone or the panel computer that Android operating system has been installed.
The second embodiment of the present invention mainly is on the basis of the first embodiment, has increased demonstration, the proof procedure of connectivity verification code.
Fig. 3 shows the structure of Android equipment provided by the invention, this Android equipment has been pre-installed TSR, and described TSR comprises: Wi-Fi starts control module 31, monitoring module 32, Wi-Fi access respond module 33 and communication connection request respond module 34.
This Wi-Fi starts the Wi-Fi Hotspot that control module 31 is opened Android equipment, and establishment Wi-Fi wireless network, monitor module 32 and monitor the network port of Android equipment, Wi-Fi access respond module 33 is when listening to the access connection request of the Wi-Fi wireless network that the WLAN administration module of PC by himself send, the described access connection request of Android device responds, make PC access described Wi-Fi wireless network, news connection request respond module 34 is used for the communication connection request that Android device responds PC initiates to its TSR, makes Android equipment carry out communication with PC.
As embodiments of the invention, described TSR also comprises: identifying code display module 35 and identifying code receive and correction verification module 36.This identifying code display module 35 shows the connectivity verification code.After identifying code receives and correction verification module 36 receives the connectivity verification code of user's input at PC, receive identifying code that PC sends and determine whether agreeing this access connection request according to the correctness of this input validation code.
In invention, described communication connection request is TCP/UDP communication connection request; Described Android equipment is mobile phone or the panel computer that Android operating system has been installed.
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 (8)

1. the means of communication between a PC and the Android equipment is characterized in that, the described means of communication comprise:
The TSR of Android equipment prepackage is opened the Wi-Fi Hotspot of Android equipment, and creates the Wi-Fi wireless network;
Described TSR is monitored the network port of Android equipment;
When listening to the access connection request of the Wi-Fi wireless network that the WLAN administration module of PC by himself send, the described access connection request of Android device responds makes PC access described Wi-Fi wireless network;
The communication connection request that Android device responds PC initiates to its TSR makes Android equipment carry out communication with PC.
2. the means of communication between PC according to claim 1 and the Android equipment, it is characterized in that, described when listening to the connection request of the Wi-Fi wireless network that the WLAN administration module of PC by himself send, the described connection request of Android device responds, the step that makes PC access described Wi-Fi wireless network also comprises step before:
The TSR of Android equipment shows the connectivity verification code;
PC receives the connectivity verification code of user's input, and the identifying code of described user's input is loaded in the access connection request of Wi-Fi wireless network, so that Android equipment determines whether agreeing this access connection request according to the correctness of this identifying code.
3. the means of communication between PC according to claim 1 and the Android equipment is characterized in that, described communication connection request is TCP/UDP communication connection request.
4. the means of communication between PC according to claim 1 and the Android equipment is characterized in that, described Android equipment is mobile phone or the panel computer that Android operating system has been installed.
5. an Android equipment is characterized in that, has pre-installed TSR at described Android equipment, and described TSR comprises:
Wi-Fi starts control module, is used for opening the Wi-Fi Hotspot of Android equipment, and creates the Wi-Fi wireless network;
Monitor module, be used for monitoring the network port of Android equipment;
Wi-Fi accesses respond module, is used for when listening to the access connection request of the Wi-Fi wireless network that the WLAN administration module of PC by himself send, and the described access connection request of Android device responds makes PC access described Wi-Fi wireless network;
Communication connection request respond module is used for the communication connection request that Android device responds PC initiates to its TSR, makes Android equipment carry out communication with PC.
6. Android equipment according to claim 5 is characterized in that, described TSR also comprises:
The identifying code display module is used for showing the connectivity verification code;
Identifying code receives and correction verification module, is used for after PC receives the connectivity verification code of user's input, receives identifying code that PC sends and determines whether agreeing this access connection request according to the correctness of this input validation code.
7. Android equipment according to claim 5 is characterized in that, described communication connection request is TCP/UDP communication connection request.
8. Android equipment according to claim 5 is characterized in that, described Android equipment is mobile phone or the panel computer that Android operating system has been installed.
CN2012103944260A 2012-10-17 2012-10-17 Communication method between PC (Personal Computer) and Android equipment, as well as equipment Pending CN102946645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103944260A CN102946645A (en) 2012-10-17 2012-10-17 Communication method between PC (Personal Computer) and Android equipment, as well as equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103944260A CN102946645A (en) 2012-10-17 2012-10-17 Communication method between PC (Personal Computer) and Android equipment, as well as equipment

Publications (1)

Publication Number Publication Date
CN102946645A true CN102946645A (en) 2013-02-27

Family

ID=47729534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103944260A Pending CN102946645A (en) 2012-10-17 2012-10-17 Communication method between PC (Personal Computer) and Android equipment, as well as equipment

Country Status (1)

Country Link
CN (1) CN102946645A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125654A (en) * 2013-04-23 2014-10-29 腾讯科技(深圳)有限公司 Data transmission method and devices for wifi network and terminal devices
CN104219781A (en) * 2013-06-05 2014-12-17 北京国信冠群技术有限公司 System and method for exchanging data between intelligent terminals
CN104582011A (en) * 2013-10-18 2015-04-29 卓易畅想(北京)科技有限公司 Method and device for mobile terminal networking
CN108536479A (en) * 2018-04-17 2018-09-14 百度在线网络技术(北京)有限公司 Method and apparatus for restarting Android device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118878A (en) * 2011-03-10 2011-07-06 华为终端有限公司 Device and method for wireless routing
CN102364979A (en) * 2011-10-26 2012-02-29 中兴通讯股份有限公司 Method and system for connecting mobile terminal into network
CN102497441A (en) * 2011-12-22 2012-06-13 乐视网信息技术(北京)股份有限公司 Information synchronization method between mobile phone and computer and system thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118878A (en) * 2011-03-10 2011-07-06 华为终端有限公司 Device and method for wireless routing
CN102364979A (en) * 2011-10-26 2012-02-29 中兴通讯股份有限公司 Method and system for connecting mobile terminal into network
CN102497441A (en) * 2011-12-22 2012-06-13 乐视网信息技术(北京)股份有限公司 Information synchronization method between mobile phone and computer and system thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125654A (en) * 2013-04-23 2014-10-29 腾讯科技(深圳)有限公司 Data transmission method and devices for wifi network and terminal devices
CN104219781A (en) * 2013-06-05 2014-12-17 北京国信冠群技术有限公司 System and method for exchanging data between intelligent terminals
CN104582011A (en) * 2013-10-18 2015-04-29 卓易畅想(北京)科技有限公司 Method and device for mobile terminal networking
CN108536479A (en) * 2018-04-17 2018-09-14 百度在线网络技术(北京)有限公司 Method and apparatus for restarting Android device

Similar Documents

Publication Publication Date Title
US20160261601A1 (en) Wireless router, fast access control method and authentication connection method of wireless routers
EP3032797B1 (en) Network access control method and apparatus
CN104301891A (en) Method and system for interconnecting intelligent device and WiFi router
CN102946645A (en) Communication method between PC (Personal Computer) and Android equipment, as well as equipment
EP2339886A1 (en) Wireless base station device and power supply control method therefor
KR20150111557A (en) Local wireless data communication system, method and apparatus for automactic setup of imformation
CN104853028A (en) Method of using speech recognition to configure equipment network parameters by mobile device
CN105591812A (en) Smart home configuration method and device
WO2015188529A1 (en) Method and system for managing embedded monitoring device
CN104424036A (en) Synchronous operation method and device of smart terminal
WO2018032903A1 (en) Provision protocol transmission-based terminal configuration method and terminal
CN102880508A (en) Method and system for realizing PC (Personal Computer)-controlled Android terminal
CN103167627A (en) System and method based on wireless fidelity (WIFI) to achieve sharing mobile phone files
CN105025273A (en) Building visible intercom system connection method, password setting method and system
CN103619051A (en) System and method for dynamically controlling routing rule of gateway equipment
WO2017028568A1 (en) Smart apparatus control method and device utilizing same
EP2515601B1 (en) Dial-up connection method and device of mobile data terminal
CN104219795A (en) Wireless access terminal driving method and device and terminal
CN108282784B (en) Wireless network access method, MiFi terminal, mobile terminal and storage medium
WO2016201734A1 (en) Operation control method and system for application program, and terminal
CN106357607A (en) Method and device for connection, security verification, communication, communication monitoring of electronic equipment
US9832636B2 (en) Method, device and system for determining working mode of data card type terminal
EP3694151A1 (en) Terminal network sharing method, apparatus, air conditioning adjustment device, and storage medium
CN107770849B (en) Communication equipment and power saving control method and system thereof in Bluetooth communication
EP3048858A1 (en) Wireless customer premise equipment and accessing method therefor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130227