CN105657782A - Wireless connection requesting method, device and terminal device - Google Patents

Wireless connection requesting method, device and terminal device Download PDF

Info

Publication number
CN105657782A
CN105657782A CN201510148394.XA CN201510148394A CN105657782A CN 105657782 A CN105657782 A CN 105657782A CN 201510148394 A CN201510148394 A CN 201510148394A CN 105657782 A CN105657782 A CN 105657782A
Authority
CN
China
Prior art keywords
radio communication
equipment
scanning device
mark
user
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
CN201510148394.XA
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.)
Coolpad Software Technology Shenzhen Co Ltd
Original Assignee
Coolpad Software Technology Shenzhen 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 Coolpad Software Technology Shenzhen Co Ltd filed Critical Coolpad Software Technology Shenzhen Co Ltd
Priority to CN201510148394.XA priority Critical patent/CN105657782A/en
Publication of CN105657782A publication Critical patent/CN105657782A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a wireless connection requesting method, a wireless connection requesting device and a terminal device, wherein the method is applied to the terminal device which is provided with a graph scanning device; the method comprises the following steps: detecting whether the current operation of a user is a predetermined operation of calling the graph scanning device; if the current operation of the user is the predetermined operation of calling the graph scanning device, calling the graph scanning device to scan graphic codes in a scan range to obtain a scan result content; and if the scan result content has a wireless communication identification corresponding to wireless communication connection, initiating a wireless connection request to a corresponding to-be-connected device according to the wireless communication identification. According to the wireless connection requesting method, the wireless connection requesting device and the terminal device disclosed by the invention, the user operation of the terminal device when requesting the wireless connection is greatly simplified, and the user can realize initiating the wireless connection request of the terminal device via convenient operation.

Description

A kind of method, device and terminating unit asking wireless connections
Technical field
The present invention relates to communication technical field, it is specifically related to a kind of method, device and the terminating unit of asking wireless connections.
Background technology
Radio communication is the conventional signalling methods of one realizing transfer between multiple stage terminating unit, as waited realize transfer between multiple stage terminating unit by Bluetooth communication, infrared communication, WIFI (WIrelessFidelity, Wireless Fidelity) communication; The prerequisite adopting communication to carry out data transmission between multiple stage terminating unit is, sets up wireless connections between multiple stage terminating unit.
The mode setting up wireless connections between current multiple stage terminating unit is mainly, initiate near the primary device search that connects can linking device, and show can the list of linking device, after user filters out equipment to be connected from list, the primary device initiating to connect initiates connection request to this equipment to be connected, thus the wireless connections realizing initiating between the primary device of connection and this equipment to be connected are set up; Need to set up bluetooth with mobile phone B (equipment to be connected) such as mobile phone A (initiate connect primary device) when being connected, mobile phone A needs the equipment of the carried out bluetooth connection near first search, and the bluetooth title of the equipment of the carried out bluetooth connection searched is shown with list form, user filter out from this list mobile phone B bluetooth title and selected after, mobile phone A initiates Bluetooth connection request to mobile phone B, thus the bluetooth realized between mobile phone A with mobile phone B is connected.
Can find out, wireless connections are being set up, when initiating radio connection request, it is necessary to user can screen equipment to be connected the list of linking device from what search in advance between existing terminating unit, relating to the process that user screens equipment to be connected from many equipment, user operation is comparatively loaded down with trivial details; Especially search can linking device more time, the operation that user screens equipment to be connected from list will very bother, consuming time.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method, device and the terminating unit of asking wireless connections, in the way of solving existing initiation radio connection request, and the problem that existing user operation is comparatively loaded down with trivial details.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
Asking a method for wireless connections, be applied to the terminating unit with pattern scanning device, described method comprises:
Whether detection user's current operation is the predetermined operation calling described pattern scanning device;
If described user's current operation is the predetermined operation calling described pattern scanning device, then calls described pattern scanning device and the figure code being in sweep limit is scanned, obtain scanning result content;
If described scanning result content having radio communication connect corresponding radio communication mark, then initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence.
Wherein, the deterministic process in described scanning result content with the radio communication mark that radio communication connects correspondence comprises:
Judge the form of scanning result content, the preset format whether radio communication corresponding with the connection of described radio communication identifies is corresponding, if, then determine that having described radio communication in described scanning result content connects corresponding radio communication mark, and the scanning result content corresponding with described preset format is described radio communication mark;
Or, judge whether scanning result content carries the indication information of radio communication mark corresponding to described radio communication connection, if, then determine that having described radio communication in described scanning result content connects corresponding radio communication mark, and the scans content of described indication information instruction is described radio communication mark.
Wherein, the operation calling described pattern scanning device that whether described detection user's current operation is predetermined comprises:
Judge whether user's current operation is the operation triggering the icon calling described pattern scanning device, if yes, it is determined that user's current operation is the predetermined operation calling described pattern scanning device; ;
Or, judge that whether user's current operation is corresponding with the predetermined operation rocking described terminating unit, if yes, it is determined that user's current operation is the predetermined operation calling described pattern scanning device.
Wherein, described according to described radio communication mark to correspondence equipment to be connected initiate radio connection request comprise:
The to be connected equipment corresponding according to the mark search of described radio communication;
After searching described equipment to be connected, initiate radio connection request to described equipment to be connected.
Wherein, described method also comprises:
After searching described equipment to be connected, the title of described equipment to be connected is added recognized list.
Wherein, described method also comprises:
After initiating radio connection request to described equipment to be connected, if the confirmation receiving described equipment to be connected connects information, then set up described terminating unit and the wireless connections of described equipment to be connected.
Wherein, described method also comprises:
After the wireless connections setting up described terminating unit and described equipment to be connected, the title of described equipment to be connected is added and connects list.
Wherein, described radio communication connects for Bluetooth communication connects, and described communication is designated bluetooth media access control MAC addresses;
Or, described radio communication connects for infrared communication connects, and described communication is designated infrared communication address;
Or, described radio communication connects for Wireless Fidelity WIFI communication connection, and described communication is designated WIFIMAC address.
The embodiment of the present invention also provides a kind of device asking wireless connections, is applied to the terminating unit with pattern scanning device, and described device comprises:
Whether detection module is the predetermined operation calling described pattern scanning device for detecting user's current operation;
Scan module, if being the predetermined operation calling described pattern scanning device for described user's current operation, then calls described pattern scanning device and is scanned by the figure code being in sweep limit, obtain scanning result content;
Scanning result detection module, for detecting the radio communication mark whether having radio communication in described scanning result content and connecting correspondence;
Request module, if connecting corresponding radio communication mark for having described radio communication in described scanning result content, then initiates radio connection request according to described radio communication mark to the equipment to be connected of correspondence.
The embodiment of the present invention also provides a kind of terminating unit, comprises the device of request wireless connections described above.
Based on technique scheme, the method of the request wireless connections that the embodiment of the present invention provides, terminating unit can detect user's current operation, if user's current operation is the operation of the predetermined pattern scanning device calling terminating unit, then can realize calling of pattern scanning device, thus by pattern scanning device, the figure code being in sweep limit is scanned, obtain scanning result content, when scanning result content having radio communication and connects corresponding radio communication mark, then can initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence. the method of the request wireless connections that the embodiment of the present invention provides, terminating unit calls mechanism by the pattern scanning device that sets in advance, pattern scanning device is adopted to be scanned by the figure code of the radio communication mark carrying equipment to be connected, obtain equipment to be connected and connect corresponding radio communication mark with described radio communication, thus remove in prior art terminating unit from before initiating radio connection request, user screens the troublesome operation of equipment to be connected, the radio communication mark that terminating unit is obtained by scanning initiates radio connection request directly to equipment to be connected, greatly simplify the user operation of terminating unit when asking wireless connections, user realizes the initiation of terminating unit radio connection request by operation easily.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, it is briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
The method flow diagram of the request wireless connections that Fig. 1 provides for the embodiment of the present invention;
The other method schema of the request wireless connections that Fig. 2 provides for the embodiment of the present invention;
A method flow diagram again of the request wireless connections that Fig. 3 provides for the embodiment of the present invention;
A method flow diagram again of the request wireless connections that Fig. 4 provides for the embodiment of the present invention;
The other method schema again of the request wireless connections that Fig. 5 provides for the embodiment of the present invention;
The structure block diagram of the device of the request wireless connections that Fig. 6 provides for the embodiment of the present invention;
The structure block diagram of the scanning result detection module that Fig. 7 provides for the embodiment of the present invention;
Another structure block diagram of the scanning result detection module that Fig. 8 provides for the embodiment of the present invention;
The structure block diagram of the detection module that Fig. 9 provides for the embodiment of the present invention;
Another structure block diagram of the detection module that Figure 10 provides for the embodiment of the present invention;
The structure block diagram of the request module that Figure 11 provides for the embodiment of the present invention;
Another structure block diagram of the device of the request wireless connections that Figure 12 provides for the embodiment of the present invention;
A structure block diagram again of the device of the request wireless connections that Figure 13 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The method flow diagram of the request wireless connections that Fig. 1 provides for the embodiment of the present invention, the method can be applicable to have the terminating unit of pattern scanning device; Pattern scanning device specifically refers to and can figure code (such as one-dimension code, Quick Response Code, barcode etc.) be scanned, and obtains the device of content entrained by figure code; Terminating unit can such as user equipmenies such as smart mobile phone, panel computer, notebook computers; With reference to Fig. 1, the method can comprise:
Whether step S100, detection user's current operation are the predetermined operation calling described pattern scanning device;
The predetermined operation calling described pattern scanning device, corresponding with the instruction calling pattern scanning device; For the predetermined concrete operation calling described pattern scanning device, can carrying out self-defined according to practical situations, the embodiment of the present invention does not make strict limitation;
Optionally, can set the operation rocking terminating unit corresponding with the instruction calling pattern scanning device, then the predetermined operation calling described pattern scanning device can be, and rocks the operation of terminating unit;
Optionally, the icon for calling pattern scanning device can be set in terminating unit, when user triggers this icon, it may be achieved calling of pattern scanning device; The then predetermined operation calling described pattern scanning device can be, and triggers the operation of the icon calling described pattern scanning device; Optionally, this icon can be displayed in the main interface of terminating unit, the positions such as shortcut icon hurdle, it is possible to be displayed in radio communication connect arrange in interface;
Trigger the operation of the icon calling described pattern scanning device, can be and click this icon, or this icon is placed in open site etc.; Optionally, if this icon be displayed in radio communication connect interface is set, this icon can be the icon in the main interface arranging interface of radio communication connection, it can also be the icon in the sub-interface that interface is set of radio communication connection, as arranged the sub-interface of graph scanning under the main interface arranging interface that radio communication connects, in this sub-interface, the icon of described pattern scanning device is called in display.
If step S110 described user current operation is the predetermined operation calling described pattern scanning device, then calls described pattern scanning device and the figure code being in sweep limit is scanned, obtain scanning result content;
After terminating unit calls pattern scanning device, the figure code being in sweep limit can be scanned by pattern scanning device, thus obtains scanning result content; As scanned scene for Quick Response Code, then the Quick Response Code in the scan box being in pattern scanning device can be scanned, obtain the content carried in Quick Response Code;
Optionally, if described user's current operation is not the predetermined operation calling described pattern scanning device, then the embodiment of the present invention can not carry out calling of pattern scanning device, does not carry out follow-up flow processing.
If the described scanning result content of step S120 having radio communication connect corresponding radio communication mark, then initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence.
On the one hand, the radio communication corresponding to radio communication mark that figure code carries connects, the radio communication currently can opened for terminating unit connects, corresponding, if the radio communication mark in scanning result content with the radio communication connection correspondence that terminating unit has currently been opened, then can initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence;
Optionally, the embodiment of the present invention (can arrange interface open wireless communication connection such as what connected by radio communication after the communication connection of terminating unit open wireless, or by the shortcut icon hurdle open wireless communication connection etc. of terminating unit), by rocking the mode such as described terminating unit or the triggering icon calling described pattern scanning device, call described pattern scanning device, thus by pattern scanning device, figure code is scanned, and when there is the radio communication mark of the radio communication connection correspondence that terminating unit has currently been opened in scanning result content, radio connection request is initiated to the equipment to be connected of correspondence,
On the other hand, the radio communication corresponding to radio communication mark that figure code carries connects, can connect for the radio communication that terminating unit is supported, corresponding, if the radio communication mark in scanning result content with the radio communication connection correspondence that terminating unit is supported, then can initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence;
Optionally, if the radio communication that terminating unit does not currently open the mark of the radio communication in described scanning result content corresponding connects, then terminating unit can after scanning obtains described radio communication mark, automatically open corresponding radio communication to connect, thus initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence;
Optionally, if the radio communication that terminating unit has currently opened the mark of the radio communication in described scanning result content corresponding connects, then after scanning obtains described radio communication mark, directly can initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence;
The type of optional radio communication can be the communications such as bluetooth, infrared, WIFI; Specifically can refer to that, when carrying out radio communication and connect, the both devices that radio communication connects needs the communication carrying out matching;
The embodiment of the present invention carries the radio communication mark of equipment to be connected in figure code, when this figure code is scanned by pattern scanning device, then can obtain the radio communication mark of equipment to be connected, remove the screening operation that user is loaded down with trivial details from, and then the radio communication mark passing through to obtain again initiates radio connection request to the equipment to be connected of correspondence;
The method of the request wireless connections that the embodiment of the present invention provides, terminating unit can detect user's current operation, if user's current operation is the operation of the predetermined pattern scanning device calling terminating unit, then can realize calling of pattern scanning device, thus by pattern scanning device, the figure code being in sweep limit is scanned, obtain scanning result content, when scanning result content having radio communication and connects corresponding radio communication mark, then can initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence. the method of the request wireless connections that the embodiment of the present invention provides, terminating unit calls mechanism by the pattern scanning device that sets in advance, pattern scanning device is adopted to be scanned by the figure code of the radio communication mark carrying equipment to be connected, obtain equipment to be connected and connect corresponding radio communication mark with described radio communication, thus remove in prior art terminating unit from before initiating radio connection request, user screens the troublesome operation of equipment to be connected, the radio communication mark that terminating unit is obtained by scanning initiates radio connection request directly to equipment to be connected, greatly simplify the user operation of terminating unit when asking wireless connections, user realizes the initiation of terminating unit radio connection request by operation easily.
Optionally, figure code can be arranged on the surface (as figure code adopts the mode of subsides bar to be attached to the surface of equipment to be connected, or to scheme the surface etc. that print mode is printed directly on equipment to be connected) of equipment to be connected, so that pattern scanning device scans; Obviously, if equipment to be connected has the display screen carrying out figure display, then also can at the display screen display figure code of equipment to be connected so that pattern scanning device scans; Obviously, arranging position for figure code, the embodiment of the present invention is not restricted, as long as this figure code carries the radio communication mark of equipment to be connected, and pattern scanning device can scan;
Optionally, radio communication mark can be unique mark that equipment carries out equipment room differentiation when carrying out radio communication, such as MAC (MediaAccessControl, media interviews control) address etc.; It is noted that unique identification when equipment carries out radio communication, be only equipment to be connected radio communication mark one can preferred form of this, be not limited only to MAC address.
Optionally, if after pattern scanning device scanning pattern code, the scanning result content obtained does not have radio communication and connects corresponding radio communication mark (such as institute's sweep object mistake, when mistake has swept the figure code that other do not carry radio communication mark), then terminating unit can not carry out the initiation of radio connection request. Further, the embodiment of the present invention provides the scanning result content obtained by pattern scanning device, whether has the testing mechanism that radio communication connects corresponding radio communication mark; The other method schema of the request wireless connections that Fig. 2 provides for the embodiment of the present invention, with reference to Fig. 2, the method can comprise:
Whether step S200, detection user's current operation are the predetermined operation calling described pattern scanning device;
If step S210 described user current operation is the predetermined operation calling described pattern scanning device, then calls described pattern scanning device and the figure code being in sweep limit is scanned, obtain scanning result content;
Step S220, the form judging scanning result content, the preset format whether radio communication corresponding with radio communication connection identifies is corresponding, if performing step S230, if not, performs step S240;
Wherein, radio communication herein connects can refer to that the radio communication that terminating unit has been opened connects, or the radio communication that terminating unit is supported connects (comprise and open and do not open situation).
Step S230, the radio communication mark determining to have in described scanning result content radio communication connection correspondence, and the scanning result content corresponding with described preset format is described radio communication mark, initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence;
Step S240, the radio communication mark determining not have in described scanning result content radio communication connection correspondence.
Can find out, Fig. 2 provides the determination mode having radio communication in a kind of scanning result content and connecting corresponding radio communication mark: the form judging scanning result content, the preset format whether radio communication corresponding with the connection of described radio communication identifies is corresponding, if, then determine that having described radio communication in described scanning result content connects corresponding radio communication mark, and the scanning result content corresponding with described preset format is described radio communication mark.
Equipment carries out the radio communication that uses when radio communication connects and is identified in expression to have certain call format, and dissimilar radio communication to connect the call format that the radio communication used is identified in expression also inconsistent; Therefore by the call format of radio communication mark, the scanning result content not being radio communication mark is distinguished, and determine to scan radio communication connection type corresponding to the radio communication mark obtained;
The embodiment of the present invention can at the form of scanning result content, the form that the radio communication corresponding with the type (type that terminating unit has currently been opened or the radio communication supported connects) that the radio communication of setting connects identifies to time corresponding determine described scanning result content has radio communication and connect corresponding radio communication mark, and scanning result content corresponding to this form is the radio communication mark of equipment to be connected.
For Bluetooth communication, equipment, when carrying out Bluetooth communication, mainly identifies using bluetooth MAC address as radio communication, and bluetooth MAC address has certain call format; Therefore terminating unit is currently when carrying out Bluetooth communication and connect, if the form of scanning result content is corresponding with the call format of bluetooth MAC address, then determine that scanning result content has the bluetooth MAC address carrying out Bluetooth communication and connecting correspondence, and the scanning result content corresponding with the call format of bluetooth MAC address is bluetooth MAC address, so terminating unit according to equipment to be connected from this bluetooth MAC address to correspondence initiate Bluetooth connection request.
Obviously, connect if Bluetooth communication currently opened by terminating unit, and scanning result content is WIFIMAC address, then can determine there is not the radio communication mark corresponding with Bluetooth communication connection in scanning result content, thus do not initiate Bluetooth connection request; Further, the current scanning result content of user can being pointed out to be WIFIMAC address, whether prompting user carries out carrying out WIFI connection etc. by this WIFIMAC address.
A method flow diagram again of the request wireless connections that Fig. 3 provides for the embodiment of the present invention, with reference to Fig. 3, the method can comprise:
Whether step S300, detection user's current operation are the predetermined operation calling described pattern scanning device;
If step S310 described user current operation is the predetermined operation calling described pattern scanning device, then calls described pattern scanning device and the figure code being in sweep limit is scanned, obtain scanning result content;
Step S320, the indication information judging whether to carry in scanning result content radio communication mark corresponding to radio communication connection, if performing step S330, if not, perform step S340;
Wherein, radio communication connects can refer to that the radio communication that terminating unit has been opened connects, or the radio communication that terminating unit is supported connects (comprise and open and do not open situation).
Step S330, the radio communication mark determining to have in described scanning result content described radio communication connection correspondence, and the scans content of described indication information instruction is described radio communication mark, initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence;
Step S340, the radio communication mark determining not have in described scanning result content described radio communication connection correspondence.
Can find out, Fig. 3 provides the determination mode having radio communication in a kind of scanning result content and connecting corresponding radio communication mark: the indication information judging whether to carry in scanning result content radio communication mark corresponding to described radio communication connection, if, then determine that having described radio communication in described scanning result content connects corresponding radio communication mark, and the scans content of described indication information instruction is described radio communication mark.
Optionally, figure code can carry the radio communication mark of equipment to be connected, and indicate the indication information that this radio communication identifies; The radio communication connection type that indication information can be used for indicating the radio communication mark of figure code carrying corresponding; Also the radio communication connection type that radio communication identifies can be indicated, and the carrying position that radio communication is identified in scanning result content.
Terminating unit is after obtaining scanning result content, by resolving indication information, the radio communication connection type of the radio communication mark of carrying in figure code can be determined, in this radio communication connection type and the terminating unit type that open wireless communicates to connect, or the type that connects of the radio communication supported consistent time, can determine that having radio communication in scanning result content connects corresponding radio communication mark, and determine that described radio communication identifies by the scans content indicated by indication information, the carrying position being identified in scanning result content such as the radio communication indicated by indication information, thus scans content corresponding for this carrying position is defined as described radio communication mark.
Optionally, the different indication informations corresponding to radio communication connection type can be different, specifically can arrange in advance by between equipment, and the embodiment of the present invention does not make strict limitation; Representing Bluetooth communication as can be used for #01, #02 represents that WIFI communicates, then when having the indication information of #01 in scanning result content, it may be determined that have bluetooth MAC address in scanning result content; Obviously, the visual practical application of the manifestation of concrete indication information needs setting.
Optionally, currently Bluetooth communication connection is being carried out for terminating unit, if scanning result content has the indication information of instruction bluetooth MAC address, then can determine that in scanning result content, Bluetooth communication connects corresponding bluetooth MAC address, and the scans content indicated by this indication information can be defined as bluetooth MAC address. Obviously, if the indication information in scanning result content is the indication information of instruction WIFIMAC address, radio communication connection type indicated by the indication information in scanning result content, the Bluetooth communication currently carried out with terminating unit is connected inconsistent, then can determine scanning result content does not have the bluetooth MAC address of the Bluetooth communication connection correspondence that terminating unit currently carries out, not carry out Bluetooth matching connection; Further, the current scanning result content of user can being pointed out to be WIFIMAC address, whether prompting user carries out WIFI connection according to this WIFIMAC address.
For easy user operation, the predetermined operation calling described pattern scanning device can be carried out simplifying setting by the embodiment of the present invention; As user can when terminating unit open wireless communicates to connect, by rocking terminating unit (specifically realizing rocking detection) by sensors such as the built-in gyrostats of terminating unit, it is achieved calling of pattern scanning device. Fig. 4 shows a method flow diagram again of the request wireless connections that the embodiment of the present invention provides, and with reference to Fig. 4, the method can comprise:
Step S400, open wireless communicate to connect;
Step S410, whether with the predetermined operation of rocking described terminating unit corresponding, if not, perform step S420 if judging user's current operation, if performing step S430;
Optionally, the predetermined operation rocking described terminating unit can be rock terminating unit according to pre-determined number, or rocks terminating unit etc. according to pre-determined direction, and concrete visual practical situations sets.
Step S420, process ends;
Step S430, determine user's current operation and be the predetermined operation calling described pattern scanning device;
Step S440, call described pattern scanning device to the figure code being in sweep limit and scan, obtain scanning result content;
If the radio communication mark in step S450 described scanning result content with the radio communication connection correspondence that described terminating unit has been opened, then initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence.
Optionally, the implementation of step S450 can be as shown in Figure 2 or Figure 3; Obviously, mode shown in Fig. 2 or Fig. 3 is only optional mode, and the embodiment of the present invention also can adopt other modes to detect the radio communication mark whether having described radio communication in scanning result content and connecting correspondence.
Can find out, terminating unit communicates to connect in open wireless, and terminating unit is in predetermined when rocking state (user's current operation be predetermined the operation rocking described terminating unit), then terminating unit can generate the instruction calling described pattern scanning device, it is achieved calling of pattern scanning device.
Optionally, the embodiment of the present invention also can communicate to connect in terminating unit open wireless, and when triggering the icon transferring pattern scanning device, it is achieved calling of pattern scanning device. Fig. 5 shows the other method schema again of the request wireless connections that the embodiment of the present invention provides, and with reference to Fig. 5, the method can comprise:
Step S500, open wireless communicate to connect;
Step S510, whether with the operation that trigger the icon that call described pattern scanning device corresponding, if not, perform step S520 if judging user's current operation, if, execution step S530;
Optionally, triggering graph target operation, it is possible to be that icon is placed in the clicking operation of opened condition, slide etc.; The actual of concrete operation format visible icon arranges form setting.
Step S520, process ends;
Step S530, determine user's current operation and be the predetermined operation calling described pattern scanning device;
Step S540, call described pattern scanning device to the figure code being in sweep limit and scan, obtain scanning result content;
If the radio communication mark in step S550 described scanning result content with the radio communication connection correspondence that described terminating unit has been opened, then initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence.
Optionally, the implementation of step S550 can be as shown in Figure 2 or Figure 3; Obviously, mode shown in Fig. 2 or Fig. 3 is only optional mode, and the embodiment of the present invention also can adopt other modes to detect the radio communication mark whether having described radio communication in scanning result content and connecting correspondence.
It may be seen that in the communication connection of terminating unit open wireless, and when triggering the icon transferring pattern scanning device, the instruction calling described pattern scanning device can be generated, it is achieved calling of pattern scanning device.
Optionally, after determining that having radio communication in described scanning result content connects corresponding radio communication mark, terminating unit can according to the equipment to be connected of described radio communication mark search correspondence, thus after searching the equipment to be connected of this correspondence, initiate radio connection request to this equipment to be connected;
Wherein, the equipment to be connected that terminating unit is corresponding according to the mark search of described radio communication is based upon, under opening of device radio communication to be connected connects the prerequisite of function; As, under bluetooth scene, terminating unit need to be opened bluetooth with equipment to be connected and be connected function simultaneously.
Optionally, as record, the title of described equipment to be connected after searching described equipment to be connected, can be added recognized list by terminating unit; Wherein, the title of equipment to be connected and the radio communication mark of equipment to be connected can be inconsistent; The title of equipment to be connected can be the self-defined title of the model of equipment to be connected or holder.
Optionally, terminating unit is after initiating radio connection request to this equipment to be connected, if this equipment to be connected confirms to connect (as equipment to be connected shows a prompting frame, it is confirmed whether to connect by the user of equipment to be connected), then equipment to be connected will connect information to terminating unit feedback acknowledgment, now, the connection of terminating unit and equipment to be connected has been matched, and can set up described terminating unit and the wireless connections of described equipment to be connected.
Optionally, it is connected for ease of follow-up equipment to be connected with this again, after the wireless connections setting up described terminating unit and described equipment to be connected, the title of described equipment to be connected can be added and connects in list by terminating unit, can connect, from this, this equipment to be connected of directly selecting list so that follow-up, simplify user's screening operation.
Optionally, the method for the request wireless connections that the embodiment of the present invention provides supports Bluetooth communication, and WIFI communicates, the initiation of the radio communication connection requests such as infrared communication; Corresponding, under Bluetooth communication connects scene, communication is designated bluetooth MAC address; Under infrared communication connects scene, communication is designated infrared communication address; Under WIFI communicates to connect scene, communication is designated WIFIMAC address.
Connecting scene for Bluetooth communication below, an application examples of the method for the request wireless connections that the embodiment of the present invention provides be described, this application examples mainly describes how mobile phone A initiates the Bluetooth connection request to mobile phone B:
Mobile phone B can be printed the image in 2 D code of the bluetooth MAC address carrying mobile phone B; Or the bluetooth linkage interface of mobile phone B can integrated two-dimensional code image systematic function, generate the image in 2 D code of bluetooth MAC address with mobile phone B and show;
Mobile phone A and mobile phone B are opened bluetooth and are connected function;
User is by rocking mobile phone A, and the image in 2 D code of the image in 2 D code that mobile phone B is printed or display is scanned by the camera of calling mobile phone A;
Mobile phone A obtains scans content, the form of scans content is detected, if the form of scans content mates with bluetooth MAC address format, then according to scanning the equipment near the bluetooth MAC address searching obtained, after searching out the mobile phone B corresponding with this bluetooth MAC address, initiate Bluetooth connection request to mobile phone B;
The information of mobile phone B interface bullet frame display mobile phone A request pairing, after the user of mobile phone B confirms, the information that the pairing of mobile phone B feedback acknowledgment connects;
Mobile phone A is set up Bluetooth pairing with mobile phone B and is connected, and carries out data transmission by bluetooth approach; And mobile phone A can by, in the process of searching handset B, the title of the mobile phone B searched preserves and connects in list.
The method of the request wireless connections that the embodiment of the present invention provides, terminating unit calls mechanism by the pattern scanning device that sets in advance, pattern scanning device is adopted to be scanned by the figure code of the radio communication mark carrying equipment to be connected, obtain equipment to be connected and connect corresponding radio communication mark with described radio communication, thus remove in prior art terminating unit from before initiating radio connection request, user screens the troublesome operation of equipment to be connected, the radio communication mark that terminating unit is obtained by scanning initiates radio connection request directly to equipment to be connected, greatly simplify the user operation of terminating unit when asking wireless connections, user realizes the initiation of terminating unit radio connection request by operation easily.
Below the device of request wireless connections that the embodiment of the present invention provides is introduced, the device of request wireless connections described below can with the corresponding reference mutually of the method for above-described request wireless connections.
The structure block diagram of the device of the request wireless connections that Fig. 6 provides for the embodiment of the present invention, the method can be applicable to have the terminating unit of pattern scanning device; Pattern scanning device specifically refers to and can figure code (such as one-dimension code, Quick Response Code, barcode etc.) be scanned, and obtains the device of content entrained by figure code; Terminating unit can such as user equipmenies such as smart mobile phone, panel computer, notebook computers; With reference to Fig. 6, this device can comprise:
Detection module 100, for detecting whether user's current operation meets the predetermined condition calling described pattern scanning device;
Scan module 200, if being the predetermined operation calling described pattern scanning device for described user's current operation, then calls described pattern scanning device and is scanned by the figure code being in sweep limit, obtain scanning result content;
Scanning result detection module 300, for detecting the radio communication mark whether having radio communication in described scanning result content and connecting correspondence;
Request module 400, if connecting corresponding radio communication mark for having described radio communication in described scanning result content, then initiates radio connection request according to described radio communication mark to the equipment to be connected of correspondence.
Optionally, Fig. 7 shows a kind of optional structure of the scanning result detection module 300 that the embodiment of the present invention provides, and with reference to Fig. 7, scanning result detection module 300 can comprise:
First judging unit 310, for judging the form of scanning result content, the preset format whether radio communication corresponding with the connection of described radio communication identifies is corresponding;
First determining unit 311, if the judged result for described first judging unit is yes, then determine that having described radio communication in described scanning result content connects corresponding radio communication mark, and the scanning result content corresponding with described preset format is described radio communication mark.
Optionally, Fig. 8 shows another kind of optional structure of the scanning result detection module 300 that the embodiment of the present invention provides, and with reference to Fig. 8, scanning result detection module 300 can comprise:
2nd judging unit 320, for judging whether to carry in scanning result content the indication information of radio communication mark corresponding to described radio communication connection;
2nd determining unit 321, if the judged result for described 2nd judging unit is yes, then determine that having described radio communication in described scanning result content connects corresponding radio communication mark, and the scans content of described indication information instruction is described radio communication mark.
Optionally, Fig. 9 shows a kind of optional structure of the detection module 100 that the embodiment of the present invention provides, and with reference to Fig. 9, detection module 100 can comprise:
First operation judges unit 110, for judging that whether user's current operation is corresponding with the operation triggering the icon calling described pattern scanning device;
First operating result determining unit 111, for when the judged result of described first operation judges unit is for being, it is determined that user's current operation is the predetermined operation calling described pattern scanning device.
Optionally, Figure 10 shows another kind of optional structure of the detection module 100 that the embodiment of the present invention provides, and with reference to Figure 10, detection module 100 can comprise:
2nd operation judges unit 120, for judging that whether user's current operation is corresponding with the predetermined operation rocking described terminating unit;
2nd operating result determining unit 121, for when the judged result of described 2nd operation judges unit is for being, it is determined that user's current operation is the predetermined operation calling described pattern scanning device.
Optionally, Figure 11 shows a kind of optional structure of the request module 400 that the embodiment of the present invention provides, and with reference to Figure 11, request module 400 can comprise:
Search unit 410, for the to be connected equipment corresponding according to the mark search of described radio communication;
Request initiating cell 411, for, after searching described equipment to be connected, initiating radio connection request to described equipment to be connected.
Optionally, Figure 12 shows another structure block diagram of device of the request wireless connections that the embodiment of the present invention provides, and shown in composition graphs 6 and Figure 12, this device can also comprise:
First adds module 500, for, after searching described equipment to be connected, the title of described equipment to be connected being added recognized list.
Optionally, Figure 13 shows the structure block diagram again of device of the request wireless connections that the embodiment of the present invention provides, and shown in composition graphs 6 and Figure 13, this device can also comprise:
Connection establishment module 600, for, after initiating radio connection request to described equipment to be connected, if the confirmation receiving described equipment to be connected connects information, then setting up described terminating unit and the wireless connections of described equipment to be connected;
2nd adds module 700, for, after the wireless connections setting up described terminating unit and described equipment to be connected, the title of described equipment to be connected being added and connect list.
Optionally, the device of the request wireless connections that the embodiment of the present invention provides supports Bluetooth communication, and WIFI communicates, the initiation of the radio communication connection requests such as infrared communication; Corresponding, under Bluetooth communication connects scene, communication is designated bluetooth MAC address; Under infrared communication connects scene, communication is designated infrared communication address; Under WIFI communicates to connect scene, communication is designated WIFIMAC address.
The embodiment of the present invention also provides a kind of terminating unit, and this terminating unit can comprise the device of request wireless connections described above; Terminating unit can such as user equipmenies such as smart mobile phone, panel computer, notebook computers.
The terminating unit that the embodiment of the present invention provides, mechanism is called by the pattern scanning device that sets in advance, pattern scanning device is adopted to be scanned by the figure code of the radio communication mark carrying equipment to be connected, obtain the radio communication mark of equipment to be connected, thus remove in prior art terminating unit from before initiating radio connection request, user screens the troublesome operation of equipment to be connected, the radio communication mark that terminating unit is obtained by scanning initiates radio connection request directly to equipment to be connected, greatly simplify the user operation of terminating unit when asking wireless connections, user is by operating easily, realize the initiation of terminating unit radio connection request.
In this specification sheets, each embodiment adopts the mode gone forward one by one to describe, and what each embodiment emphasis illustrated is the difference with other embodiments, between each embodiment identical similar portion mutually see. For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so what describe is fairly simple, relevant part illustrates see method part.
Those skilled in the art can also recognize further, the unit of each example described in conjunction with embodiment disclosed herein and algorithm steps, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeableness of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function. These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme. Each specifically can should be used for using different methods to realize described function by professional and technical personnel, but this kind realizes should not thinking the scope exceeding the present invention.
The method described in conjunction with embodiment disclosed herein or the step of algorithm can direct hardware, treater execution software module, or the combination of the two implements. Software module can be placed in the storage media of other form any known in random access memory (RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are enable to realize or use the present invention. To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments. Therefore, the present invention can not be limited in these embodiments shown in this article, but be met the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. ask the method for wireless connections for one kind, it is characterised in that, it is applied to the terminating unit with pattern scanning device, described method comprises:
Whether detection user's current operation is the predetermined operation calling described pattern scanning device;
If described user's current operation is the predetermined operation calling described pattern scanning device, then calls described pattern scanning device and the figure code being in sweep limit is scanned, obtain scanning result content;
If described scanning result content having radio communication connect corresponding radio communication mark, then initiate radio connection request according to described radio communication mark to the equipment to be connected of correspondence.
2. the method for request wireless connections according to claim 1, it is characterised in that, the deterministic process in described scanning result content with the radio communication mark that radio communication connects correspondence comprises:
Judge the form of scanning result content, the preset format whether radio communication corresponding with the connection of described radio communication identifies is corresponding, if, then determine that having described radio communication in described scanning result content connects corresponding radio communication mark, and the scanning result content corresponding with described preset format is described radio communication mark;
Or, judge whether scanning result content carries the indication information of radio communication mark corresponding to described radio communication connection, if, then determine that having described radio communication in described scanning result content connects corresponding radio communication mark, and the scans content of described indication information instruction is described radio communication mark.
3. the method for request wireless connections according to claim 1 and 2, it is characterised in that, the operation calling described pattern scanning device whether described detection user's current operation is predetermined comprises:
Judge whether user's current operation is the operation triggering the icon calling described pattern scanning device, if yes, it is determined that user's current operation is the predetermined operation calling described pattern scanning device;
Or, judge that whether user's current operation is corresponding with the predetermined operation rocking described terminating unit, if yes, it is determined that user's current operation is the predetermined operation calling described pattern scanning device.
4. the method for request wireless connections according to claim 1, it is characterised in that, described according to described radio communication mark to correspondence equipment to be connected initiate radio connection request comprise:
The to be connected equipment corresponding according to the mark search of described radio communication;
After searching described equipment to be connected, initiate radio connection request to described equipment to be connected.
5. the method for request wireless connections according to claim 4, it is characterised in that, also comprise:
After searching described equipment to be connected, the title of described equipment to be connected is added recognized list.
6. the method for request wireless connections according to claim 1 or 4, it is characterised in that, also comprise:
After initiating radio connection request to described equipment to be connected, if the confirmation receiving described equipment to be connected connects information, then set up described terminating unit and the wireless connections of described equipment to be connected.
7. the method for request wireless connections according to claim 6, it is characterised in that, also comprise:
After the wireless connections setting up described terminating unit and described equipment to be connected, the title of described equipment to be connected is added and connects list.
8. the method for request wireless connections according to claim 1, it is characterised in that, described radio communication connects for Bluetooth communication connects, and described communication is designated bluetooth media access control MAC addresses;
Or, described radio communication connects for infrared communication connects, and described communication is designated infrared communication address;
Or, described radio communication connects for Wireless Fidelity WIFI communication connection, and described communication is designated WIFIMAC address.
9. ask the device of wireless connections for one kind, it is characterised in that, it is applied to the terminating unit with pattern scanning device, described device comprises:
Whether detection module is the predetermined operation calling described pattern scanning device for detecting user's current operation;
Scan module, if being the predetermined operation calling described pattern scanning device for described user's current operation, then calls described pattern scanning device and is scanned by the figure code being in sweep limit, obtain scanning result content;
Scanning result detection module, for detecting the radio communication mark whether having radio communication in described scanning result content and connecting correspondence;
Request module, if connecting corresponding radio communication mark for having described radio communication in described scanning result content, then initiates radio connection request according to described radio communication mark to the equipment to be connected of correspondence.
10. a terminating unit, it is characterised in that, comprise the device of request wireless connections according to claim 9.
CN201510148394.XA 2015-03-31 2015-03-31 Wireless connection requesting method, device and terminal device Pending CN105657782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510148394.XA CN105657782A (en) 2015-03-31 2015-03-31 Wireless connection requesting method, device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510148394.XA CN105657782A (en) 2015-03-31 2015-03-31 Wireless connection requesting method, device and terminal device

Publications (1)

Publication Number Publication Date
CN105657782A true CN105657782A (en) 2016-06-08

Family

ID=56481652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510148394.XA Pending CN105657782A (en) 2015-03-31 2015-03-31 Wireless connection requesting method, device and terminal device

Country Status (1)

Country Link
CN (1) CN105657782A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115475A (en) * 2021-03-24 2021-07-13 福建新大陆自动识别技术有限公司 Wireless connection method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101720079A (en) * 2009-06-19 2010-06-02 中兴通讯股份有限公司 Service access method and tactical convergence system in network element tactical convergence network
CN104202829A (en) * 2014-08-01 2014-12-10 惠州Tcl移动通信有限公司 Connection method of wireless display and mobile device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101720079A (en) * 2009-06-19 2010-06-02 中兴通讯股份有限公司 Service access method and tactical convergence system in network element tactical convergence network
CN104202829A (en) * 2014-08-01 2014-12-10 惠州Tcl移动通信有限公司 Connection method of wireless display and mobile device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113115475A (en) * 2021-03-24 2021-07-13 福建新大陆自动识别技术有限公司 Wireless connection method and system

Similar Documents

Publication Publication Date Title
RU2636524C2 (en) Method, device and system of administration communication control between account and device
JP6214812B2 (en) Transfer processing method and apparatus
KR101799408B1 (en) Apparatus and method for controlling controllable device in portable terminal
JP6045487B2 (en) Operation input system, electronic device, portable terminal, and operation input method
CN108710456B (en) Application icon processing method and device and mobile terminal
US8610681B2 (en) Information processing apparatus and information processing method
EP2993575B1 (en) Information processing apparatus, control method for information processing apparatus, and program
CN104394263A (en) Accessing point list displaying method and device
JP6368340B2 (en) Construction machine management system
JP6549746B2 (en) Method and system for searching objects on network
KR20210052599A (en) Image sharing method and electronic device
US20160026719A1 (en) Methods and devices for sharing resources
CN105227986A (en) Synchronization processing method and device
CN110891265B (en) Wireless connection control method and device, mobile terminal and storage medium
CN105657782A (en) Wireless connection requesting method, device and terminal device
CN105425936B (en) Method and device for adapting terminal to external device and terminal
US9635150B2 (en) Communication apparatus, control method therefor, and program
CN105630324A (en) Display switching method, apparatus and system
CN104125268A (en) File downloading method and device, routing device and terminal device
JP6540637B2 (en) Communication system, communication apparatus, communication method
CN113835587A (en) Interface display method, intelligent terminal and storage medium
JP2017084002A (en) Information processing system, terminal device and program
KR101528271B1 (en) Method for transmitting message in mobile terminal
JP2010098409A (en) Communication system, mobile terminal, display and base device
JP5766319B2 (en) Information processing device

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

RJ01 Rejection of invention patent application after publication