CN102654850A - Pairing method for computer and wireless electronic device - Google Patents

Pairing method for computer and wireless electronic device Download PDF

Info

Publication number
CN102654850A
CN102654850A CN2011100488401A CN201110048840A CN102654850A CN 102654850 A CN102654850 A CN 102654850A CN 2011100488401 A CN2011100488401 A CN 2011100488401A CN 201110048840 A CN201110048840 A CN 201110048840A CN 102654850 A CN102654850 A CN 102654850A
Authority
CN
China
Prior art keywords
electron device
wireless electron
access control
control address
wireless
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
CN2011100488401A
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.)
Primax Electronics Ltd
Original Assignee
Primax Electronics 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 Primax Electronics Ltd filed Critical Primax Electronics Ltd
Priority to CN2011100488401A priority Critical patent/CN102654850A/en
Publication of CN102654850A publication Critical patent/CN102654850A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a pairing method for a computer and a wireless electronic device. The pairing method comprises the following steps of: receiving a preset media access control address, establishing a service setting identification code of a wireless local area network according to the preset media access control address, receiving at least one packet, judging whether a media access control address of the first package conforms to the service setting identification code or not, and transmitting the response package to the wireless electronic device. The pairing method can be used for accurately pairing the wireless electronic device to be paired through recording the media access control address of the wireless electronic device, thus saving the time for searching a list to select the electronic device to be paired.

Description

The matching method of computer and wireless electron device
Technical field
The invention relates to a kind of matching method, refer in particular to the matching method of a kind of computer and wireless electron device.
Background technology
Along with the development of Radio Transmission Technologys such as bluetooth, infrared ray reaches its maturity, various wireless electron device is substituted with line apparatus gradually, becomes computer peripheral apparatus common in the daily life, for example wireless mouse, Wireless Keyboard or radio communication device or the like.
Wireless electron device needs to see through the mutual matching module of wireless electron device and computer when communicating with computer for the first time, could successfully data transmission be arrived computer.Below will narrate about the computer 10 of the serial operating system of installation Microsoft
Figure BDA0000048456660000011
and the known matching method of wireless mouse 21.
See also Fig. 1, Fig. 1 is the computer of the known matching method of use and the synoptic diagram of wireless electron device.Fig. 1 has shown a computer 10 and a plurality of wireless electron devices, and wherein computer 10 has a display 11, and wireless electron device comprises a wireless mouse 20, a Wireless Keyboard 21 and a radio communication device 22.At first, start the power supply of wireless mouse 20, and press the pairing button (not shown) of wireless mouse 20, make wireless mouse 20 produce and transmit log-in information.Then; Launch the wireless transmission function of computer 10, through building spirit in computer
Figure BDA0000048456660000012
operating system so that increase wireless electron device newly.
See also Fig. 2, Fig. 2 is the process flow diagram of the matching method of known computer and wireless electron device.Shown in step S10, at least one wireless electron device around computer 10 begins to search.Then, in step S11, show on the display 11 of computer 10 that one searches inventory 111, as shown in Figure 3, Fig. 3 is the synoptic diagram of search inventory 111 of the matching method of known computer and wireless electron device.
Search inventory 111 and show the wireless electron device that all are searched; And each wireless electron device has corresponding icon; Wireless mouse 20 corresponding mouse icons 210 for example; Wireless Keyboard 21 corresponding keys tray icons 220, radio communication device 22 corresponding mobile phone icons 230 or the like let the user recognize so that choose action easily.When the user searches the icon that inventory 111 is chosen wireless electron device certainly, for example represent the mouse icon 210 of wireless mouse 20, then execution in step S12 is as shown in Figure 2, begins to carry out the pairing of computer 10 and wireless mouse 20.
Yet; When the user is in the environment of a plurality of wireless electron devices, often need from tediously long search inventory, to select correct wireless electron device, so not only waste many times of selecting; Even many wireless electron devices of the same type appear simultaneously; For example a plurality of wireless mouses make the user be difficult to therefrom select, and go up inconvenience greatly and trouble and cause to use.
Summary of the invention
Technical matters to be solved by this invention is, to the above-mentioned deficiency that prior art exists, provides a kind of and saves time and operate the matching method of computer and wireless electron device easily.
The technical solution adopted for the present invention to solve the technical problems provides the matching method of a kind of computer and wireless electron device, is applied to the online of a computer and a wireless electron device, and it comprises the following steps:
Reception one preset medium access control address (Media Access Control address, MACaddress);
According to a service setting identification code of should preset medium access control address setting up a WLAN (Service Set Identifier, SSID);
Receive at least one package, wherein first package of this package comprises the medium access control address of this wireless electron device; And
Whether this medium access control address of judging this first package meets this service setting identification code, if, then transmit a response packets to this wireless electron device, make this computer and this wireless electron device set up online.
This first package is probe request (Probe Request).
This response packets is probing response frame (Probe Response).
This first package also comprises preset service setting identification code, and it is identical with this medium access control address to preset service setting identification code.
This wireless electron device also comprises the pairing button, and when this pairing button was pressed, this wireless electron device transmitted this first package.
This computer is applicable to the direct-connected transport communication pattern of Wi-Fi (Wi-Fi Direct).
This wireless electron device is applicable to the direct-connected transport communication pattern of Wi-Fi (Wi-Fi Direct).
This wireless electron device is radio input device, wireless voice output unit or radio communication device.
The step of this reception one preset medium access control address comprises:
Read a bar code, wherein the bar code content of this bar code comprises this preset medium access control address; And
Resolve this bar code content, should preset medium access control address in order to identification.
Perhaps, the step of this preset medium access control address of this reception comprises:
Start a matching module, wherein this matching module comprises graphical user's interface; And
Read an input field of this graphical user's interface, in order to receive the preset medium access control address of being somebody's turn to do in this input field.
The matching method of computer of the present invention and wireless electron device sees through will be preset among the medium access control address input computer; And the preset medium access control address of foundation is set up the service setting identification code of WLAN; Make computer and wireless electron device in the pairing process, need not select by known search inventory and can accomplish pairing accurately.Thus, be not merely the user and save many times of selecting, a kind of matching method simply and easily more is provided, avoid making the user be difficult to therefrom select, go up inconvenience greatly and trouble and cause to use because of occurring many wireless electron devices of the same type simultaneously.
Description of drawings
Fig. 1 is to use the computer of known matching method and the synoptic diagram of wireless electron device.
Fig. 2 is the process flow diagram of the matching method of known computer and wireless electron device.
Fig. 3 is the synoptic diagram of search inventory of the matching method of known computer and wireless electron device.
Fig. 4 is to use the computer of matching method of the present invention and the synoptic diagram of wireless electron device.
Fig. 5 is the process flow diagram of the matching method of computer of the present invention and wireless electron device.
Embodiment
Please with reference to Fig. 4, Fig. 4 is the computer of use of the present invention matching method of the present invention and the synoptic diagram of wireless electron device.Fig. 4 has shown computer 30 and two wireless electron devices.In the present invention; Wireless electron device can be radio input device (as: wireless mouse or Wireless Keyboard etc.), wireless voice output unit (as: wireless headset or earphone-microphone etc.) or radio communication device (as: mobile phone or PDA(Personal Digital Assistant) etc.), in present embodiment, is example with wireless mouse 40 with Wireless Keyboard 41.
In this preferred embodiment, wireless mouse 40 is the pairing target of computer 30.In order there to be the real case of a plurality of wireless electron devices arround the analogue computer 30, the spy increases the wireless electron device of a non-matching target as representative, Wireless Keyboard 41 as shown in Figure 4.In addition; In this preferred embodiment; Computer 30, wireless mouse 40 and Wireless Keyboard 41 employed wireless communication interfaces are that (wirelessfidelity, Wi-Fi), and this WLAN interface is applicable to the direct-connected transport communication pattern of Wi-Fi (Wi-FiDirect) to the WLAN interface.
The direct-connected transport communication pattern of Wi-Fi is that a cover is by software protocol that Wi-Fi Alliance developed; Fundamental purpose is to provide a kind of point-to-point (peer-to-peer; P2P) information transmission mode; Make and need not between Wi-Fi device and the Wi-Fi device promptly can directly carry out online each other through radio base station (wireless access point) relaying.
Next please with reference to Fig. 5, Fig. 5 is the process flow diagram of the matching method of use computer of the present invention and wireless electron device.Below specify the content of each step.
At first, shown in step S20, computer 30 receives one group of preset medium access control address (Media Access Control address, MAC address) from external world's input.This preset medium access control address that is transfused to is identical with the medium access control address of the current wireless mouse of desiring to match 40, is its online target to make computer 30 cognition wireless mouses 40.The medium access control address is meant the hardware identification number that each wireless electron device is exclusive, in order to the position of the sub-device of defined radio, and reaches the district at a distance from identification effect with other wireless electron device itself.
In this preferred embodiment, the user sees through the image input or character input method makes computer 30 receive a preset medium access control address.
About by image input so that computer receives the flow process of preset medium access control address is described below.See also Fig. 4, computer 30 has image capture unit 31, for example video camera or scanner etc., and the shell body of wireless mouse 40 attaches a bar code 42, wherein the bar code content of bar code 42 comprises preset medium access control address.The image capture unit 31 of user's computer 30 capable of using reads the bar code 42 of wireless mouse 40; Make the image of bar code 42 be sent to computer 30; Carry out the bar code Context resolution via the image identification module more subsequently, to capture the information of preset medium access control address.
About by literal input so that computer receives the flow process of preset medium access control address is described below.Please continue to consult Fig. 4, computer 30 comprises a display 32 and a matching module, and wherein matching module comprises graphical user's interface 33, and graphical user's interface 33 also comprises an input field 34 and one " confirming " option.
The user starts the matching module in the computer 30 earlier, makes display 32 display graphics user interfaces 33 match with assistance.Then; The user can be via sign or content aware in the operational manual preset medium access control address of wireless mouse 40 in shell body; And,, will preset the medium access control address and be input into input field 34 like keyboard etc. by other peripheral input media of computer 30.When the user import accomplish and click " confirming " option after, computer 30 begins to read the preset medium access control address in the input-capable field 34 also.
Then see also Fig. 5.As computer 30 completing steps S20, promptly receive after the preset medium access control address, will get into step S21.In step S21, computer 30 begins to set up WLAN, and according to preset medium access control address set up WLAN service setting identification code (Service SetIdentifier, SSID).Service setting identification code be one group by 32 identification codes that character is formed at the most, usually as the title of WLAN, in order to a kind of recognition methods of distinguishing at a distance from network own and other WLAN to be provided.
After the WLAN of running after fame with preset medium access control address is set up successfully; Shown in step S22; Computer 30 begins to receive by the various packages that wireless electron device transmitted on every side; First package that is for example transmitted via the pairing button 43 of pushing wireless mouse 40, or by second package that transmitted of Wireless Keyboard 41 of non-this pairing target.
First package is a kind of probe request (Probe Request); The medium access control address that wherein comprises wireless mouse 40; And carry one group of preset service setting identification code secretly; Make first package be able to specific WLAN is carried out probe requests thereby, not only can avoid first package to be sent to other WLAN and cause online mistake, also can reduce the power consumption of wireless mouse 40 on the other hand and prolong endurance.In this preferred embodiment; Preset service setting identification code is identical with the medium access control address of wireless mouse 40; In other words, have the service setting identification code WLAN consistent only and can receive first package that wireless mouse 40 transmits with the medium access control address of wireless mouse 40.
After treating that computer 30 receives at least one package that transmits from wireless electron device, shown in step S23, will begin to analyze packet information, whether meet service setting identification code with the medium access control address of judging package.If, then get into step S24, if not, then get back to step S22 and receive other package.Hereinafter will receive the situation detailed description of first package and second package simultaneously to computer 30.
When computer 30 receives first package and second package simultaneously, then select one at random and analyze packet information.With second package is example; Computer 30 is judged medium access control address that is comprised in second package and the service setting identification code that does not meet the WLAN of previous foundation; Therefore get back to step S22 and receive other package, for example aforesaid first package then gets into step S23 and analyzes.Computer 30 judges that the medium access control address that is comprised in first package meets the service setting identification code of the WLAN of previous foundation; So get into step S24; Utilize the medium access control address that is comprised in first package to transmit a response packets to wireless mouse 40, set up each other online with wireless mouse 40 pairings in order to computer 30.
What need special supplementary notes is that above-mentioned response packets is a kind of probing response frame (Probe Response).In addition, the quantity of package and reception order do not influence the flow process of matching module, if only there is first package that is transmitted by wireless mouse 40 near the environment the computer 30, then directly first package are judged to get final product.
Explanation according to above preferred embodiment can be known; The matching method of computer of the present invention and wireless electron device sees through will preset the medium access control address; That is the medium access control address of wireless mouse 40, among the input computer 30, and the preset medium access control address of foundation is set up the service setting identification code of WLAN; Make computer 30 and wireless mouse 40 in the pairing process, need not select by known search inventory and can accomplish pairing accurately.Thus, be not merely the user and save many times of selecting, a kind of matching method simply and easily more is provided, avoid making the user be difficult to therefrom select, go up inconvenience greatly and trouble and cause to use because of occurring many wireless electron devices of the same type simultaneously.
The above is merely preferred embodiment of the present invention, is not in order to limiting claim scope of the present invention, and therefore all other do not break away from the equivalence of being accomplished under the disclosed spirit and change or modify, and all should be contained in the scope of the present invention.

Claims (10)

1. the matching method of computer and wireless electron device is applied to the online of a computer and a wireless electron device, it is characterized in that, comprises the following steps:
Receive a preset medium access control address;
According to presetting the service setting identification code that the medium access control address is set up a WLAN;
Receive at least one package, wherein first package of this package comprises the medium access control address of this wireless electron device; And
Whether this medium access control address of judging this first package meets this service setting identification code, if, then transmit a response packets to this wireless electron device, make this computer and this wireless electron device set up online.
2. the matching method of wireless electron device as claimed in claim 1 is characterized in that, this first package is a probe request.
3. the matching method of wireless electron device as claimed in claim 1 is characterized in that, this response packets is a probing response frame.
4. the matching method of wireless electron device as claimed in claim 1 is characterized in that, this first package also comprises preset service setting identification code, and it is identical with this medium access control address to preset service setting identification code.
5. the matching method of wireless electron device as claimed in claim 1 is characterized in that, this wireless electron device also comprises the pairing button, and when this pairing button was pressed, this wireless electron device transmitted this first package.
6. the matching method of wireless electron device as claimed in claim 1 is characterized in that, this computer is applicable to the direct-connected transport communication pattern of Wi-Fi.
7. the matching method of wireless electron device as claimed in claim 1 is characterized in that, this wireless electron device is applicable to the direct-connected transport communication pattern of Wi-Fi.
8. the matching method of wireless electron device as claimed in claim 1 is characterized in that, this wireless electron device is a radio input device, wireless voice output unit or radio communication device.
9. the matching method of wireless electron device as claimed in claim 1 is characterized in that, the step of this reception one preset medium access control address comprises:
Read a bar code, wherein the bar code content of this bar code comprises this preset medium access control address; And
Resolve this bar code content, should preset medium access control address in order to identification.
10. the matching method of wireless electron device as claimed in claim 1 is characterized in that, the step of this preset medium access control address of this reception comprises:
Start a matching module, wherein this matching module comprises graphical user's interface; And
Read an input field of this graphical user's interface, in order to receive the preset medium access control address of being somebody's turn to do in this input field.
CN2011100488401A 2011-03-01 2011-03-01 Pairing method for computer and wireless electronic device Pending CN102654850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100488401A CN102654850A (en) 2011-03-01 2011-03-01 Pairing method for computer and wireless electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100488401A CN102654850A (en) 2011-03-01 2011-03-01 Pairing method for computer and wireless electronic device

Publications (1)

Publication Number Publication Date
CN102654850A true CN102654850A (en) 2012-09-05

Family

ID=46730476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100488401A Pending CN102654850A (en) 2011-03-01 2011-03-01 Pairing method for computer and wireless electronic device

Country Status (1)

Country Link
CN (1) CN102654850A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104010384A (en) * 2013-02-27 2014-08-27 腾讯科技(深圳)有限公司 Device searching method and apparatus
CN104348492A (en) * 2013-07-23 2015-02-11 宏达国际电子股份有限公司 Pairing method of electronic devices
CN105137777A (en) * 2015-07-30 2015-12-09 涂悦 Pairing method and pairing device for wireless intelligent home equipment
CN112905033A (en) * 2021-03-25 2021-06-04 深圳市乐翔电气有限公司 Wireless keyboard and mouse connection method and device, intelligent terminal and storage medium
CN113891296A (en) * 2020-07-03 2022-01-04 星宸科技股份有限公司 Wireless network detection device and method for detecting non-predetermined electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060135064A1 (en) * 2004-11-16 2006-06-22 Samsung Electronics Co., Ltd. Method and apparatus for bonding process in bluetooth device
CN101442746A (en) * 2008-10-14 2009-05-27 安润科技股份有限公司 Method for pairing and controlling wireless network intelligent node
CN101488784A (en) * 2007-12-27 2009-07-22 联想(新加坡)私人有限公司 Seamless hand-off of Bluetooth pairings
CN101690337A (en) * 2007-06-20 2010-03-31 微软公司 Managing dense wireless access point infrastructures in wireless local area networks
US20100115262A1 (en) * 2008-01-07 2010-05-06 Yamaha Corporation Wireless Network System and Wireless Communicaton Method
CN101873695A (en) * 2009-04-22 2010-10-27 索尼公司 Wireless communication device, wireless communication system, wireless communication method, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060135064A1 (en) * 2004-11-16 2006-06-22 Samsung Electronics Co., Ltd. Method and apparatus for bonding process in bluetooth device
CN101690337A (en) * 2007-06-20 2010-03-31 微软公司 Managing dense wireless access point infrastructures in wireless local area networks
CN101488784A (en) * 2007-12-27 2009-07-22 联想(新加坡)私人有限公司 Seamless hand-off of Bluetooth pairings
US20100115262A1 (en) * 2008-01-07 2010-05-06 Yamaha Corporation Wireless Network System and Wireless Communicaton Method
CN101442746A (en) * 2008-10-14 2009-05-27 安润科技股份有限公司 Method for pairing and controlling wireless network intelligent node
CN101873695A (en) * 2009-04-22 2010-10-27 索尼公司 Wireless communication device, wireless communication system, wireless communication method, and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104010384A (en) * 2013-02-27 2014-08-27 腾讯科技(深圳)有限公司 Device searching method and apparatus
CN104348492A (en) * 2013-07-23 2015-02-11 宏达国际电子股份有限公司 Pairing method of electronic devices
CN104348492B (en) * 2013-07-23 2016-12-28 宏达国际电子股份有限公司 The matching method of electronic installation
CN105137777A (en) * 2015-07-30 2015-12-09 涂悦 Pairing method and pairing device for wireless intelligent home equipment
CN105137777B (en) * 2015-07-30 2018-03-30 涂悦 Matching method and contrast means for wireless intelligent house equipment
CN113891296A (en) * 2020-07-03 2022-01-04 星宸科技股份有限公司 Wireless network detection device and method for detecting non-predetermined electronic device
CN113891296B (en) * 2020-07-03 2023-04-18 星宸科技股份有限公司 Wireless network detection device and method for detecting non-predetermined electronic device
CN112905033A (en) * 2021-03-25 2021-06-04 深圳市乐翔电气有限公司 Wireless keyboard and mouse connection method and device, intelligent terminal and storage medium

Similar Documents

Publication Publication Date Title
US20230087060A1 (en) Communication Device
US9922273B2 (en) Apparatus and method for establishing a network connection in a portable terminal
US9794964B2 (en) Method and apparatus for connecting wireless network in a digital device
CN103298068A (en) Method and apparatus for discovering device in wireless communication network
US9451029B2 (en) Method of remote control for portable device and system using the same
KR101332813B1 (en) Wireless communication apparatus and method for generating wireless access channel thereof
US20150312945A1 (en) Apparatus and method for managing instant connection based on wireless local area network
KR20160138547A (en) Wireless communication system
CN102654850A (en) Pairing method for computer and wireless electronic device
CN102238270A (en) Identification method of Bluetooth device and mobile phone using the same
TWI426808B (en) Method of piaring a computer and wireless electronic devices
KR20130058579A (en) Method for authentication and service providing in wireless local network system and apparatus for providing service using the method
CN101980504B (en) Data sharing method, mobile terminal and server
CN104123299A (en) Message sharing method, device and system among multiple terminal devices
CN106454299A (en) Screen projection method and device between terminals, and terminal
KR102367186B1 (en) METHOD FOR CONTROLLING IoT APPARATUS USING WIRELESS REMOTE CONTROLLER OF LOW-POWER, IoT HUB and IoT SYSTEM
US9392619B2 (en) Apparatus and method for improving capability of Wi-Fi during reboot of an access point in wireless communication system
CN103702396B (en) A kind of method and device of network terminal automatic matching
US9237592B1 (en) Methods for establishing a direct connection between apparatuses and systems using the same
KR100968044B1 (en) e-Book Terminal and Control Method thereof
US20220386398A1 (en) Non-transitory computer-readable recording medium storing computer-readable instructions for terminal device, terminal device and control method for terminal device
JP2022178957A (en) Communication apparatus and computer program for terminal device
KR101520916B1 (en) Method and Apparatus for wireless control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120905