CN106302777A - A kind of point-to-point matching process of radio hand-held equipment self adaptation - Google Patents

A kind of point-to-point matching process of radio hand-held equipment self adaptation Download PDF

Info

Publication number
CN106302777A
CN106302777A CN201610717289.8A CN201610717289A CN106302777A CN 106302777 A CN106302777 A CN 106302777A CN 201610717289 A CN201610717289 A CN 201610717289A CN 106302777 A CN106302777 A CN 106302777A
Authority
CN
China
Prior art keywords
equipment
bluetooth
point
service end
incoming end
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
CN201610717289.8A
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.)
Changsha Rich Communication Technology Co Ltd
Original Assignee
Changsha Rich Communication Technology 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 Changsha Rich Communication Technology Co Ltd filed Critical Changsha Rich Communication Technology Co Ltd
Priority to CN201610717289.8A priority Critical patent/CN106302777A/en
Publication of CN106302777A publication Critical patent/CN106302777A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A kind of point-to-point matching process of radio hand-held equipment self adaptation, comprise the steps: to use point-to-point pair principle, first proceeding as follows in the service end connecting initiation: if service end supports the equipment of bluetooth more than 4.0, then start bluetooth, the bluetooth equipment of file transparent transmission function is supported in search;If service end supports WIFI, then service end first sets up service end server of a file transfer management, waits that client accesses;After completing aforesaid operations, service end enters the state that waiting facilities connects;If incoming end equipment bluetooth equipment: enable the service of bluetooth UUID;Start broadcast mode;If incoming end equipment WIFI equipment: start the pattern of search focus;Resolve the broadcast message obtained under search pattern, according to broadcast message definition standard, set up the socket being connected with service end server.The present invention is by adaptive mode, it is achieved sets up rapidly between two terminals and connects and complete file transmission.

Description

A kind of point-to-point matching process of radio hand-held equipment self adaptation
Technical field
The present invention relates to a kind of point-to-point matching process of radio hand-held equipment self adaptation.
Background technology
Along with the demand sustainable growth of portability, various handheld devices are all evolving, the most compatible each in order to enable Kind of equipment, such as WIFI, the multiple short-distance wireless communication technology such as Bluetooth just in fast integration to handheld device, this A little short range wireless transmission technology, at aspects such as transmission speed, power consumption, transmission ranges, are respectively arranged with pluses and minuses.
When multiple wireless technology collaborative work together, the most effectively utilize various wireless protocols to complete file transmission, The difference in functionalitys such as control, status poll, streamline operation the most again, just become a kind of objective demand.
In current common application technology, what between two terminals, transmission file was the most frequently used has two ways: a kind of for indigo plant Tooth transmission file, this shortcoming is that operation is complicated, speed is slow.Another mode is for carry out by third party software such as Tencent QQ Transmission, this mode can expend flow, and limited speed is in network speed.Both modes have respective pluses and minuses.
Summary of the invention
The technical problem to be solved in the present invention is, overcomes the drawbacks described above that prior art exists, it is provided that a kind of wireless handheld The point-to-point matching process of apparatus self-adaptation, is beneficial to realize the point-to-point quick transmission of file and data.
The technical solution adopted for the present invention to solve the technical problems is:
The present invention makes full use of the characteristic of bluetooth and WIFI work, utilizes the feature of two kinds of protocol broadcasts, it is achieved by two kinds of nothings Wire protocol carries out the point-to-point quick transmission of file and data thereof.
A kind of point-to-point matching process of radio hand-held equipment self adaptation, comprises the steps:
Use point-to-point pair principle, first proceed as follows in the service end connecting initiation:
(1) if service end supports the equipment of bluetooth more than 4.0, then starting bluetooth, the bluetooth of file transparent transmission function is supported in search Equipment;
(2) if service end supports WIFI, then service end first sets up service end server of a file transfer management, waits and receives guests Family terminate into;Then self is set to focus, and hot information and Socket port information thereof are gone out by broadcast transmission;
After completing aforesaid operations, service end enters the state that waiting facilities connects.
If incoming end equipment bluetooth equipment, proceed as follows:
(1) bluetooth UUID(Universally Unique Identifier, general unique identifier are enabled) service;
(2) broadcast mode is started.
When incoming end equipment is bluetooth equipment, if server device and incoming end equipment entering signal join domain, Server device during bluetooth discovery, will search the broadcast message of incoming end equipment, and service end resolves broadcast message; If it find that in broadcast message, comprise the correct information of equipment to be connected, then can actively initiate to connect;Correct without obtaining Information, then may proceed to search for incoming end equipment, connecting until setting up.
If incoming end equipment WIFI equipment, proceed as follows:
(1) pattern of search focus is started;
(2) resolve the broadcast message obtained under search pattern, according to broadcast message definition standard, set up with service end server even The socket connect.
When incoming end equipment is WIFI equipment, if server device and incoming end equipment entering signal join domain, Incoming end equipment in focus search procedure, will search the broadcast message of server device, and incoming end equipment resolves broadcast Information;And according to broadcast message definition standard, set up the socket being connected with service end server.
After server device completes to be connected by bluetooth or WIFI with incoming end equipment, server device and incoming end equipment I.e. establish data transmission channel, start to transmit data.After data end of transmission, incoming end equipment actively disconnects, and closes Bluetooth or WIFI.Server device then waits that other equipment accesses.
The present invention has been used for two equipment utilization bluetooths or WIFI is direct-connected, realizes data by client-side/server-side Alternately.
The present invention is by adaptive mode, it is achieved sets up rapidly between two terminals and connects and complete file transmission.Make By the present invention, self adaptation can set up two point-to-point wireless communication channel of wireless device rapidly, simplify Point-to-Point Data office and pass Defeated operating process.Two total a kind of wireless communication functions of wireless device, can quickly set up a point and connect, complete data exchange Function.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps that service end of the present invention starts service to be connected;
Fig. 2 is the flow chart of steps under incoming end equipment bluetooth mode of the present invention;
Fig. 3 is the flow chart of steps under incoming end equipment WIFI pattern of the present invention.
Detailed description of the invention
Below in conjunction with drawings and Examples, the invention will be further described.
A kind of point-to-point matching process of radio hand-held equipment self adaptation, comprises the steps:
With reference to Fig. 1, use point-to-point pair principle, first proceed as follows in the service end connecting initiation:
(1) if service end supports the equipment of bluetooth more than 4.0, then starting bluetooth, the bluetooth of file transparent transmission function is supported in search Equipment;
(2) if service end supports WIFI, then service end first sets up the service end of a file transfer management, waits client's termination Enter;Then self is set to focus, and hot information and Socket port information thereof are gone out by broadcast transmission;
After completing aforesaid operations, service end enters the state that waiting facilities connects.
With reference to Fig. 2, if incoming end equipment bluetooth equipment, proceed as follows:
(1) bluetooth UUID(Universally Unique Identifier, general unique identifier are enabled) service;
(2) broadcast mode is started.
When incoming end equipment is bluetooth equipment, if server device and incoming end equipment entering signal join domain, Server device during bluetooth discovery, will search the broadcast message of incoming end equipment, and service end resolves broadcast message; If it find that in broadcast message, comprise the correct information of equipment to be connected, then can actively initiate to connect;Correct without obtaining Information, then may proceed to search for incoming end equipment, connecting until setting up.
With reference to Fig. 3, if incoming end equipment WIFI equipment, proceed as follows:
(1) pattern of search focus is started;
(2) resolve the broadcast message obtained under search pattern, according to broadcast message definition standard, set up with service end server even The socket connect.
When incoming end equipment is WIFI equipment, if server device and incoming end equipment entering signal join domain, Incoming end equipment in focus search procedure, will search the broadcast message of server device, and incoming end equipment resolves broadcast Information;And according to broadcast message definition standard, set up the socket being connected with service end server.
After server device completes to be connected by bluetooth or WIFI with incoming end equipment, server device and incoming end equipment I.e. establish data transmission channel, start to transmit data.After data end of transmission, incoming end equipment actively disconnects, and closes Bluetooth or WIFI.Server device then waits that other equipment accesses.
Make to be discussed in detail to a kind of preferred embodiment of the present invention above.Described detailed description of the invention is simply used In helping to understand the core concept of the present invention.It should be pointed out that, to those of ordinary skill in the art, without departing from this On the premise of bright principle, it is also possible to the present invention is carried out some improvement and modification, these improve and modification falls within present invention power The protection domain that profit requires.

Claims (4)

1. the point-to-point matching process of radio hand-held equipment self adaptation, it is characterised in that comprise the steps:
Use point-to-point pair principle, first proceed as follows in the service end connecting initiation:
(1) if service end supports the equipment of bluetooth more than 4.0, then starting bluetooth, the bluetooth of file transparent transmission function is supported in search Equipment;
(2) if service end supports WIFI, then service end first sets up service end server of a file transfer management, waits and receives guests Family terminate into;Then self is set to focus, and hot information and Socket port information thereof are gone out by broadcast transmission;
After completing aforesaid operations, service end enters the state that waiting facilities connects;
If incoming end equipment bluetooth equipment, proceed as follows:
(1) service of bluetooth UUID is enabled;
(2) broadcast mode is started;
If incoming end equipment WIFI equipment, proceed as follows:
(1) pattern of search focus is started;
(2) resolve the broadcast message obtained under search pattern, according to broadcast message definition standard, set up with service end server even The socket connect.
The point-to-point matching process of radio hand-held equipment self adaptation the most according to claim 1, it is characterised in that work as incoming end When equipment is bluetooth equipment, as long as server device and incoming end equipment entering signal join domain, server device will be During bluetooth discovery, searching the broadcast message of incoming end equipment, service end resolves broadcast message;If it find that broadcast message In, comprise the correct information of equipment to be connected, then can actively initiate to connect;Without obtaining correct information, then may proceed to search Rope incoming end equipment, connects until setting up.
The point-to-point matching process of radio hand-held equipment self adaptation the most according to claim 1, it is characterised in that work as incoming end When equipment is WIFI equipment, as long as server device and incoming end equipment entering signal join domain, incoming end equipment will be In focus search procedure, searching the broadcast message of server device, incoming end equipment resolves broadcast message;And according to broadcast letter Breath definition standard, sets up the socket being connected with service end server.
4. according to the point-to-point matching process of radio hand-held equipment self adaptation described in Claims 2 or 3, it is characterised in that service After end equipment completes to be connected by bluetooth or WIFI with incoming end equipment, server device and incoming end equipment i.e. establish data Transmission channel, starts to transmit data;After data end of transmission, incoming end equipment actively disconnects, and closes bluetooth or WIFI;Clothes Business end equipment then waits that other equipment accesses.
CN201610717289.8A 2016-08-25 2016-08-25 A kind of point-to-point matching process of radio hand-held equipment self adaptation Pending CN106302777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610717289.8A CN106302777A (en) 2016-08-25 2016-08-25 A kind of point-to-point matching process of radio hand-held equipment self adaptation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610717289.8A CN106302777A (en) 2016-08-25 2016-08-25 A kind of point-to-point matching process of radio hand-held equipment self adaptation

Publications (1)

Publication Number Publication Date
CN106302777A true CN106302777A (en) 2017-01-04

Family

ID=57616254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610717289.8A Pending CN106302777A (en) 2016-08-25 2016-08-25 A kind of point-to-point matching process of radio hand-held equipment self adaptation

Country Status (1)

Country Link
CN (1) CN106302777A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107396438A (en) * 2017-08-25 2017-11-24 哈尔滨工业大学 Communication port construction method, method for synchronizing time and structure health monitoring method based on smart mobile phone WLAN
CN111866833A (en) * 2020-07-16 2020-10-30 光芯半导体(深圳)有限公司 Method, device and medium for switching wifi network connection of handheld printer
CN112866961A (en) * 2019-11-12 2021-05-28 上海博泰悦臻电子设备制造有限公司 Method, device and computer storage medium for sharing network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932745A (en) * 2012-09-07 2013-02-13 佳都新太科技股份有限公司 Personal multimedia broadcasting system based on mobile WIFI (Wireless Fidelity) hotspot
US20130047233A1 (en) * 2011-08-19 2013-02-21 International Business Machines Corporation Data management with a networked mobile device
CN103607780A (en) * 2013-11-19 2014-02-26 惠州Tcl移动通信有限公司 Mobile device and network connection method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130047233A1 (en) * 2011-08-19 2013-02-21 International Business Machines Corporation Data management with a networked mobile device
CN102932745A (en) * 2012-09-07 2013-02-13 佳都新太科技股份有限公司 Personal multimedia broadcasting system based on mobile WIFI (Wireless Fidelity) hotspot
CN103607780A (en) * 2013-11-19 2014-02-26 惠州Tcl移动通信有限公司 Mobile device and network connection method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107396438A (en) * 2017-08-25 2017-11-24 哈尔滨工业大学 Communication port construction method, method for synchronizing time and structure health monitoring method based on smart mobile phone WLAN
CN107396438B (en) * 2017-08-25 2020-05-26 哈尔滨工业大学 Channel construction, time synchronization and structure health monitoring method based on smart phone
CN112866961A (en) * 2019-11-12 2021-05-28 上海博泰悦臻电子设备制造有限公司 Method, device and computer storage medium for sharing network
CN111866833A (en) * 2020-07-16 2020-10-30 光芯半导体(深圳)有限公司 Method, device and medium for switching wifi network connection of handheld printer

Similar Documents

Publication Publication Date Title
JP6377624B2 (en) Service search or advertisement method in direct communication system and apparatus therefor
US9699715B2 (en) Discovery method and device in a wireless communication system
US9699819B2 (en) Method and apparatus for establishing session in wireless communication system
US20150327313A1 (en) Method and device for session initialization in wireless communication system
EP3253080B1 (en) Data sharing method and system
JP6584186B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
US8954502B1 (en) Infrastructure devices in peer-to-peer environments
US20130311692A1 (en) Apparatus and method for direct pairing in a wireless docking system
CN104823517A (en) Method for setting communication in WI-FI direct service system, and apparatus therefor
US9119020B2 (en) Method and apparatus for discovering wireless devices
CN109996260B (en) Configuration system, client device, embedded device configuration method and storage medium
KR102037256B1 (en) Apparatus and method for connecting service reflected in user intent
WO2013117048A1 (en) Wifi data transmission method and terminal
CN105144784A (en) Multi-protocol driver for supporting IEEE 802.1 1 fast session transfer
CN108781473A (en) A kind of method and apparatus of the shared file between different terminals
CN106302777A (en) A kind of point-to-point matching process of radio hand-held equipment self adaptation
US20190349738A1 (en) Communication apparatus and communication method
WO2015111892A1 (en) Method for constructing docking protocol by using direct communication, and apparatus therefor
CN108616847A (en) A kind of linking bluetooth method, apparatus and bluetooth equipment
US20180255599A1 (en) Devices and Methods for Establishing an Ad Hoc Peer-to-Peer Network
US20170163737A1 (en) Wireless station and method for managing a multi-band session in wi-fi direct services
US20150365133A1 (en) Touch and Talk Auto-Configuring of Video Conferences Using Near Field Communication (NFC)
CN107211262A (en) Wireless LAN station with the platform that can change WLAN interconnection technique
JP2023027265A (en) Communication device, control method, and program
CN102111732B (en) Method and device for sharing information between wireless terminals

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: 20170104

RJ01 Rejection of invention patent application after publication