CN102299809A - Internet protocol (IP)-multicast-technology-based wireless connection method and system - Google Patents

Internet protocol (IP)-multicast-technology-based wireless connection method and system Download PDF

Info

Publication number
CN102299809A
CN102299809A CN2011102750668A CN201110275066A CN102299809A CN 102299809 A CN102299809 A CN 102299809A CN 2011102750668 A CN2011102750668 A CN 2011102750668A CN 201110275066 A CN201110275066 A CN 201110275066A CN 102299809 A CN102299809 A CN 102299809A
Authority
CN
China
Prior art keywords
portable terminal
pc end
ip
wireless connection
pc
Prior art date
Application number
CN2011102750668A
Other languages
Chinese (zh)
Inventor
周强
Original Assignee
迈奔灵动科技(北京)有限公司
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 迈奔灵动科技(北京)有限公司 filed Critical 迈奔灵动科技(北京)有限公司
Priority to CN2011102750668A priority Critical patent/CN102299809A/en
Publication of CN102299809A publication Critical patent/CN102299809A/en

Links

Abstract

The invention discloses an Internet protocol (IP)-multicast-technology-based wireless connection method and an IP-multicast-technology-based wireless connection system. The method comprises the following steps that: 1, a mobile terminal scans a personal computer (PC) with an IP multicast address the same as that of the mobile terminal, and transmits a user datagram protocol (udp) packet to the scanned PC; 2, the PC receiving the udp packet from the mobile terminal transmits the udp packet comprising own hostname back to the mobile terminal; and 3, the mobile terminal establishes wireless connection with the PC. By the method and the system, an authentication process is not required, connection time between the mobile terminal and the PC is shortened, and good user experiences are ensured.

Description

A kind of wireless connection method and system based on the IP multicasting technology

Technical field

The present invention relates to a kind of wireless connection method and system, belong to network communication field based on the IP multicasting technology.

Background technology

Current, portable terminal (for example mobile phone, panel computer, PSP and PDA) is used by increasing user, the user wishes to check the information on the mobile phone on the PC end, and portable terminal operated (otherwise perhaps, operating computer on mobile phone), this just needs by certain methods (for example infrared, bluetooth, wired or WAPI, WIFI), realizes being connected of PC end and portable terminal.Wherein, connect by wired mode (as the USB mode), can be subjected to the restriction of cable, operating procedure is more loaded down with trivial details; By infrared method, the two must keep nearer distance, poor anti jamming capability; Connect by bluetooth, though the distance of the two is longer relatively, popularity rate is not high, because a lot of PC end does not all have Bluetooth function.

Because these shortcomings of above-mentioned connected mode, therefore, WAPI, WIFI wireless connections mode become the connected mode of relatively popularizing now.But the wireless connections of present mobile phone and PC end, all need the manual input validation sign indicating number of user, could realize the authentication of portable terminal and PC end, and then connect, authenticating step has increased the operating time, and the identifying code that has is letter+combination of numbers, lengthy complexity, the user is made mistakes when the input validation sign indicating number easily, cause the connect hours of portable terminal and PC end to increase, make user experience bad.

Summary of the invention

The objective of the invention is to, a kind of wireless connection method and system based on the IP multicasting technology is provided, it does not need verification process, has reduced the connect hours of portable terminal and PC end, makes user experience good.

For solving the problems of the technologies described above, the present invention adopts following technical scheme: a kind of wireless connection method based on the IP multicasting technology may further comprise the steps:

S1, the PC end that mobile scanning terminal is identical with its IP multicast address sends the udp bag to this multicast address; Described udp comprises the IP address of portable terminal; Described portable terminal comprises mobile phone, panel computer, PSP and PDA;

S2, the PC end that receives the udp bag of portable terminal transmission returns the udp bag that comprises its host name to portable terminal;

S3, portable terminal and PC end are set up wireless connections.

In aforesaid a kind of wireless connection method based on the IP multicasting technology, described portable terminal and PC end all are linked in the WLAN (wireless local area network) by WIFI or WAPI mode, join in the identical multicast address section.

In aforesaid a kind of wireless connection method based on the IP multicasting technology, among the described step S1, if portable terminal can't scan the PC end identical with its IP multicast address, portable terminal will be enabled standby IP multicast address, scans the PC end identical with standby IP multicast address.

In aforesaid a kind of wireless connection method based on the IP multicasting technology, if portable terminal uses standby IP multicast address can't scan the identical PC end in address, portable terminal provides access for the user manually imports PC end IP address.

In aforesaid a kind of wireless connection method based on the IP multicasting technology, with the function exchange of PC end, portable terminal, by the PC end scanning portable terminal identical with its IP multicast address, and to portable terminal transmission udp bag, portable terminal returns the udp bag to the PC end.

In aforesaid a kind of wireless connection method based on the IP multicasting technology, if the PC end can't scan the portable terminal identical with its IP multicast address, the PC end will be enabled standby IP multicast address, scans the portable terminal identical with standby IP multicast address.

In aforesaid a kind of wireless connection method based on the IP multicasting technology, if the PC end uses standby IP multicast address can't scan the identical portable terminal in address, the PC end provides access for the IP address that the user manually imports portable terminal; Portable terminal is provided with the module that can inquire about its IP address.

Realize a kind of wireless connection system based on the IP multicasting technology of preceding method, it comprises portable terminal and PC end; Comprise the scanning sending module that is arranged on portable terminal, be used for the mobile scanning terminal PC end identical, and send the udp bag to the PC end that scanning obtains with its IP multicast address;

Comprise that also the PC that is arranged on PC end returns module, the PC end that is used to receive the udp bag that portable terminal sends returns the udp bag that comprises its host name to portable terminal.

In aforesaid a kind of wireless connection system based on the IP multicasting technology, described system also comprises the network interface card module that is arranged on the PC end, is used for the PC end and is connected to WLAN (wireless local area network);

Be arranged on the Wireless Internet access module on the portable terminal, be used for mobile phone and be connected to WLAN (wireless local area network).

In aforesaid a kind of wireless connection system, also be provided with standby address on the described portable terminal and enable module, be used for portable terminal and will enable standby IP multicast address, scan the PC end identical with standby IP multicast address based on the IP multicasting technology.

In aforesaid a kind of wireless connection system, also be provided with input inlet module in address on the described portable terminal, be used for portable terminal and be provided with the inlet that the user manually imports PC end IP address based on the IP multicasting technology.

In aforesaid a kind of wireless connection system based on the IP multicasting technology, described PC end is provided with PC scanning sending module, is used for the PC end scanning portable terminal identical with its IP multicast address, and sends the udp bag to portable terminal; Portable terminal is provided with and returns module, is used for portable terminal and returns the udp bag to the PC end.

In aforesaid a kind of wireless connection system based on the IP multicasting technology, described PC end is provided with the PC standby address and enables module, is used for the PC end and will enables standby IP multicast address, scans the portable terminal identical with standby IP multicast address.

In aforesaid a kind of wireless connection system based on the IP multicasting technology, described PC end is provided with PC address input inlet module, is used for the PC end and provides access for the IP address that the user manually imports portable terminal; Portable terminal is provided with the module that can inquire about its IP address.

Compared with prior art, the present invention is by utilizing the IP multicasting technology, portable terminal is joined in the identical IP multicast address section with the PC end, the PC end that mobile scanning terminal is identical with its IP multicast address, and to PC end transmission udp bag, the PC end returns the udp bag to portable terminal, and the two is set up wireless network and connects.The present invention has saved the verification process in existing portable terminal and the wireless connections of PC end, has made things convenient for user's operation, has improved connection speed greatly, makes user experience good.Simultaneously, when undesirable or other extraneous factors caused portable terminal can not disposablely find the PC end of coupling when network environment, portable terminal was provided with alternative IP multicast address, can improve the probability of the two connection.In PC when end that can not find coupling by IP multicast address, the present invention allows the user manually to import the IP address of PC end, carries out being connected of PC end and portable terminal.And the present invention can scan the portable terminal that finds coupling by the PC end with the exchange function of portable terminal and PC end, makes that popularization of the present invention is higher.

Description of drawings

Fig. 1 is the workflow diagram of a kind of embodiment of the present invention;

Fig. 2 is the structural representation of a kind of embodiment of the present invention;

Fig. 3 is the workflow diagram of another kind of embodiment of the present invention;

Fig. 4 is the structural representation of another kind of embodiment of the present invention.

The present invention is further illustrated below in conjunction with the drawings and specific embodiments.

Embodiment

Embodiments of the invention 1: a kind of wireless connection method based on the IP multicasting technology, its workflow diagram may further comprise the steps as shown in Figure 1:

S1, the PC end that mobile scanning terminal is identical with its IP multicast address sends the udp bag to this multicast address (the multicast address scope can be selected 239.66.69.18 here as multicast address from 224.0.0.0 to 239.255.255.255); Described udp comprises the IP address of portable terminal; Described portable terminal comprises mobile phone, panel computer, PSP and PDA;

S2, the PC end that receives the udp bag of portable terminal transmission returns the udp bag that comprises its host name to portable terminal;

S3, portable terminal and PC end are set up wireless connections.

Described portable terminal and PC end all are linked in the WLAN (wireless local area network) by WIFI or WAPI mode, join in the identical multicast address section.

Among the described step S1, if portable terminal can't scan the PC end identical with its IP multicast address, portable terminal will be enabled standby IP multicast address (for example standby multicast address can be selected 224.0.0.1 for use), scans the PC end identical with standby IP multicast address.

If portable terminal uses standby IP multicast address can't scan the identical PC end in address, portable terminal provides access for the user manually imports PC end IP address.

Realize a kind of wireless connection system of preceding method based on the IP multicasting technology, its structural representation as shown in Figure 2, it comprises portable terminal and PC end;

Comprise the scanning sending module that is arranged on portable terminal, be used for the mobile scanning terminal PC identical end with its IP multicast address, and to scan the PC end send the udp bag;

Comprise that also the PC that is arranged on PC end returns module, the PC end that is used to receive the udp bag that portable terminal sends returns the udp bag that comprises its host name to portable terminal.

Described system also comprises the network interface card module that is arranged on the PC end, is used for the PC end and is connected to WLAN (wireless local area network);

Be arranged on the Wireless Internet access module on the portable terminal, be used for mobile phone and be connected to WLAN (wireless local area network).

Also be provided with standby address on the described portable terminal and enable module, be used for portable terminal and will enable standby IP multicast address, scan the PC end identical with standby IP multicast address.

Also be provided with input inlet module in address on the described portable terminal, be used for portable terminal and be provided with the inlet that the user manually imports PC end IP address.

Embodiment 2: a kind of wireless connection method based on the IP multicasting technology, and its workflow diagram may further comprise the steps as shown in Figure 3:

S4, the PC end scanning portable terminal identical with its IP multicast address sends the udp bag to multicast address (the multicast address scope can be selected 239.66.69.18 here as multicast address from 224.0.0.0 to 239.255.255.255); Described udp comprises the IP address of PC end; Described portable terminal comprises mobile phone, panel computer, PSP and PDA;

S5, the portable terminal that receives the udp bag of PC end transmission returns the udp bag to the PC end;

S6, portable terminal and PC end are set up wireless connections.

Described portable terminal and PC end all are linked in the WLAN (wireless local area network) by WIFI or WAPI mode, join in the identical multicast address section.

Among the step S4, if the PC end can't scan the portable terminal identical with its IP multicast address, the PC end will be enabled standby IP multicast address (for example standby multicast address can be selected 224.0.0.1 for use), scans the portable terminal identical with standby IP multicast address.

If the PC end uses standby IP multicast address can't scan the identical portable terminal in address, the PC end provides access for the IP address that the user manually imports portable terminal; Portable terminal is provided with the module that can inquire about its IP address.

Realize a kind of wireless connection system of preceding method based on the IP multicasting technology, its structural representation as shown in Figure 4, it comprises portable terminal and PC end;

Described PC end is provided with PC scanning sending module, is used for the PC end scanning portable terminal identical with its IP multicast address, and sends the udp bag to portable terminal;

Portable terminal is provided with and returns module, is used for portable terminal and returns the udp bag to the PC end.

Described system also comprises the network interface card module that is arranged on the PC end, is used for the PC end and is connected to WLAN (wireless local area network);

Be arranged on the Wireless Internet access module on the portable terminal, be used for mobile phone and be connected to WLAN (wireless local area network).

Described PC end is provided with the PC standby address and enables module, is used for the PC end and will enables standby IP multicast address, scans the portable terminal identical with standby IP multicast address.

Described PC end is provided with PC address input inlet module, is used for the PC end and provides access for the IP address that the user manually imports portable terminal; Portable terminal is provided with the module that can inquire about its IP address.

Claims (10)

1. the wireless connection method based on the IP multicasting technology is characterized in that, may further comprise the steps:
S1, the PC that mobile scanning terminal is identical with its IP multicast address holds, and sends the udp bag to the PC end that scanning obtains;
S2, the PC end that receives the udp bag of portable terminal transmission returns the udp bag that comprises its host name to portable terminal;
S3, portable terminal and PC end are set up wireless connections.
2. a kind of wireless connection method based on the IP multicasting technology according to claim 1 is characterized in that: described portable terminal and PC end all are linked in the WLAN (wireless local area network).
3. a kind of wireless connection method according to claim 1 and 2 based on the IP multicasting technology, it is characterized in that: among the described step S1, if portable terminal can't scan the PC end identical with its IP multicast address, portable terminal will be enabled standby IP multicast address, scans the PC end identical with standby IP multicast address.
4. a kind of wireless connection method according to claim 3 based on the IP multicasting technology, it is characterized in that: if portable terminal uses standby IP multicast address can't scan the identical PC end in address, portable terminal provides access for the user manually imports PC end IP address.
5. a kind of wireless connection method based on the IP multicasting technology according to claim 1 and 2 is characterized in that: by the PC end scanning portable terminal identical with its IP multicast address, and to portable terminal transmission udp bag, portable terminal returns the udp bag to the PC end.
6. realize a kind of wireless connection system of the described method of claim 1~5, it is characterized in that, comprise portable terminal and PC end based on the IP multicasting technology;
Comprise the scanning sending module that is arranged on portable terminal, be used for the mobile scanning terminal PC end identical, and send the udp bag to the PC end that scanning obtains with its IP multicast address;
Comprise that also the PC that is arranged on PC end returns module, the PC end that is used to receive the udp bag that portable terminal sends returns the udp bag that comprises its host name to portable terminal.
7. a kind of wireless connection system based on the IP multicasting technology according to claim 6 is characterized in that: described system also comprises the network interface card module that is arranged on the PC end, is used for the PC end and is connected to WLAN (wireless local area network);
Be arranged on the Wireless Internet access module on the portable terminal, be used for mobile phone and be connected to WLAN (wireless local area network).
8. according to claim 6 or 7 described a kind of wireless connection systems based on the IP multicasting technology, it is characterized in that: also be provided with standby address on the described portable terminal and enable module, be used for portable terminal and will enable standby IP multicast address, scan the PC end identical with standby IP multicast address.
9. a kind of wireless connection system based on the IP multicasting technology according to claim 8 is characterized in that: also be provided with input inlet module in address on the described portable terminal, be used for portable terminal and provide access for the user manually imports PC end IP address.
10. according to claim 6 or 7 described a kind of wireless connection systems based on the IP multicasting technology, it is characterized in that: the PC end is provided with PC scanning sending module, is used for the PC end scanning portable terminal identical with its IP multicast address, and sends the udp bag to portable terminal;
Portable terminal is provided with and returns module, is used for portable terminal and returns the udp bag to the PC end.
CN2011102750668A 2011-09-16 2011-09-16 Internet protocol (IP)-multicast-technology-based wireless connection method and system CN102299809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102750668A CN102299809A (en) 2011-09-16 2011-09-16 Internet protocol (IP)-multicast-technology-based wireless connection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102750668A CN102299809A (en) 2011-09-16 2011-09-16 Internet protocol (IP)-multicast-technology-based wireless connection method and system

Publications (1)

Publication Number Publication Date
CN102299809A true CN102299809A (en) 2011-12-28

Family

ID=45359996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102750668A CN102299809A (en) 2011-09-16 2011-09-16 Internet protocol (IP)-multicast-technology-based wireless connection method and system

Country Status (1)

Country Link
CN (1) CN102299809A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016119621A1 (en) * 2015-01-28 2016-08-04 阿里巴巴集团控股有限公司 Method, device and system for connecting computer and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466064A (en) * 2002-09-12 2004-01-07 联想(北京)有限公司 Method for discovering equipment in dynamic network combination of family network
CN1893356A (en) * 2005-07-01 2007-01-10 萧学文 Method and system for accessing computer resource through mobile terminal
CN101120333A (en) * 2005-01-05 2008-02-06 戴维克斯股份有限公司 System and method for a remote user interface
CN101656962A (en) * 2009-06-12 2010-02-24 中兴通讯股份有限公司 Method and system for debugging equipment based on wireless local area network security foundation structure
CN102026263A (en) * 2010-12-09 2011-04-20 苏州捷泰科信息技术有限公司 Wireless communication network connection method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466064A (en) * 2002-09-12 2004-01-07 联想(北京)有限公司 Method for discovering equipment in dynamic network combination of family network
CN101120333A (en) * 2005-01-05 2008-02-06 戴维克斯股份有限公司 System and method for a remote user interface
CN1893356A (en) * 2005-07-01 2007-01-10 萧学文 Method and system for accessing computer resource through mobile terminal
CN101656962A (en) * 2009-06-12 2010-02-24 中兴通讯股份有限公司 Method and system for debugging equipment based on wireless local area network security foundation structure
CN102026263A (en) * 2010-12-09 2011-04-20 苏州捷泰科信息技术有限公司 Wireless communication network connection method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吴文华: "通过W i ndows的lCS技术实现共享上网", 《电子科技》, no. 9, 15 September 2005 (2005-09-15) *
李 河 ,王树明: "P2P网络中使用UDP穿越NAT的方法研究", 《吉林大学学报(信息科学版)》, vol. 21, no. 3, 31 August 2003 (2003-08-31) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016119621A1 (en) * 2015-01-28 2016-08-04 阿里巴巴集团控股有限公司 Method, device and system for connecting computer and terminal
CN105991386A (en) * 2015-01-28 2016-10-05 阿里巴巴集团控股有限公司 Computer and terminal connection method, device and system
CN105991386B (en) * 2015-01-28 2020-04-07 阿里巴巴集团控股有限公司 Method, device and system for connecting computer and terminal

Similar Documents

Publication Publication Date Title
EP3118700B1 (en) Intelligent home control method and system based on alljoyn technology
TWI601442B (en) Method and apparatus for discovering device in wireless communication network
CN103997768B (en) A kind of method and device for preventing from accessing invalid Wi Fi focuses
CN102769628B (en) Page login method and server
US8792825B2 (en) Terminal apparatus and communication method, information processing apparatus and method, non-transitory storing medium storing program, and information processing system
JP6251481B2 (en) Method and apparatus for assigning IP address in wireless communication network
US9100942B2 (en) WiFi Direct connection using machine-readable labels
US10111025B2 (en) Service providing terminal connection method and apparatus
EP2641411B1 (en) Application routing configuration for nfc controller supporting multiple nfc execution environments nfcee
CN103891396B (en) The device and method that the group owner is determined in the foundation being directly connected in WI-FI
US20150012613A1 (en) Method, mobile device and system for transmitting files
CN104144470B (en) A kind of Bluetooth connecting method and client
CN104427589B (en) The quick system of selection for obtaining hot information
CN101682529B (en) Method, system and mobile device for prioritizing a discovered device list
CN102368764B (en) A kind of method, system and client communicated by multi-point login
CN103067055B (en) A kind of Bluetooth connecting method and mobile terminal
CN103249047B (en) The access authentication method and device of WLAN hot spot
EP2495944B1 (en) Generation and scanning of barcode-data for registering in a wireless network
KR101110778B1 (en) Method and system of bluetooth communication
US8375207B2 (en) Method and apparatus for authenticating a network device
US9647481B2 (en) Apparatus and methods for docking a dockee with a docking host utilizing a wireless charger in a wireless docking environment
CN103529793B (en) The Internet of Things control system of a kind of STA mode based on WIFI and ap mode and control method thereof
CN104618991B (en) Wifi (wireless fidelity) connecting method and wifi connecting system for mobile terminal
CN103702175B (en) Multi-screen interactive method and multi-screen interactive device
CN102394975B (en) Private contact camouflage method and mobile terminal

Legal Events

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

Application publication date: 20111228

C12 Rejection of a patent application after its publication