Embodiment
For further setting forth the present invention for the technological means that realizes predetermined goal of the invention and take and effect, below in conjunction with accompanying drawing and preferred embodiment, to according to the specific embodiment of the present invention, structure, feature and effect thereof, be described in detail as follows.
The embodiment of the present invention provide a kind of by scanning Quick Response Code access WiFi method, be applied to mobile terminal and access WiFi by the targeted scans program scanning Quick Response Code of specifying, the utilance of the sharing functionality of scanning imaging system can be increased.
Refer to Fig. 1, Fig. 1 is the running environment schematic diagram that the embodiment of the present invention passes through the method scanning Quick Response Code access WiFi.
Personal computer (PC, personalcomputer) terminal 10 opens the generation software of Quick Response Code, generates the WiFi Quick Response Code for accessing WiFi according to the parameter of user's input, derives this WiFi Quick Response Code for accessing WiFi for other scanning input.Access information for accessing WiFi is comprised and for guiding the director information starting targeted scans program, this targeted scans program refers to can resolve the access information of the correct WiFi comprised in this WiFi Quick Response Code the scanning imaging system identified in this WiFi Quick Response Code.Scan this WiFi Quick Response Code and can be accessed by current WiFi.
Mobile terminal 20 enables scanning imaging system scanning WiFi Quick Response Code, resolve this WiFi Quick Response Code, if the Current Scan program of enabling is targeted scans program, this access information is got after then resolving this WiFi Quick Response Code, the page of authorizing and connecting this WiFi is then entered according to this access information, if the Current Scan program of enabling is not targeted scans program, this director information is got after then resolving this WiFi Quick Response Code, then start this targeted scans program according to this director information to resolve this WiFi Quick Response Code and obtain this access information, and enter the page of authorizing and connecting this WiFi, receive the bind command of user, this WiFi is accessed according to the access information of this WiFi.
Particularly, the form of this WiFi Quick Response Code is URL(uniform resource locator) (URL, UniformResourceLocator), that is, this WiFi Quick Response Code exists with a network linking form.The access information of this WiFi is included in this URL with the form of character string, the access information of this WiFi comprises current WiFi title and access pin, the auth type of this WiFi can also be comprised and whether hide the information such as service set (ssid, ServiceSetIdentifier).
This is used for guiding the director information starting the startup of targeted scans program to be included in the static Web page of this URL sensing, and this director information comprises the intrinsic call address of this targeted scans program, and, the download address of this targeted scans program.Namely, if Current Scan program None-identified goes out the access information of this WiFi in this URL, then this URL(uniform resource locator) is identified as a common URL, this URL points to a static Web page, this director information is included in this static Web page, and this director information comprises the intrinsic call address of this targeted scans program.Particularly, with the hiding Iframe (embedded frame) of a webpage, address has been adjusted in the inside pointing to this targeted scans program, and, the download address of this targeted scans program.
Can this WiFi Quick Response Code form be http: // domain name in an example? ... & wifikey=" wifivalue ", wherein, domain name can set arbitrarily, such as, http://www.qq.com? cid=123.Wifikey can specify a special parameter flag position, meets the specification of key value in url.WifiValue only needs that standard WiFi code is carried out URL and encodes.Standard WiFi code form is as follows:
WIFI:T:WPA;S:mynetwork;P:mypass;H:false;
Wherein T: represent auth type, S: the ssid representing current WiFi, P: represent current WiFi password, H: represent and whether hide ssid.
Such as, WIFI:T:WPA; S:tencent; P:123456; H:false;
After coding, wifivalue is:
WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3Afalse%3B;
That is, the access information being connected into this WiFi is included in above-mentioned wifivalue.
Then, scan this WiFi Quick Response Code, after resolving this this WiFi Quick Response Code, obtain following content:
http://www.qq.com?cid=123&Wifi_key=WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3Afalse%3B。
Because different scanning imaging system encoding and decoding rule is different, the content that therefore different scanning imaging systems identifies after resolving this WiFi Quick Response Code is also different.
In the present embodiment, the content difference owing to recognizing after resolving this WiFi Quick Response Code can be divided into following three kinds of dispositions:
The first, Current Scan program is targeted scans program;
Decode after this Quick Response Code, can obtain WiFi access information wherein, that is, identifiable design goes out the content of wifivalue, in the above-described example, namely identifies following content:
Wifi_key=WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3Afalse%3B
Therefrom get and comprise this WiFi title, access pin, auth type, and, whether hide the information of ssid.Enter the page of authorizing and connecting this WiFi, the page of this WiFi shows this WiFi title and access pin, and receive the bind command of user, access this WiFi according to the access information of this WiFi.
The second, Current Scan program is not targeted scans program, but has installed this targeted scans program in system;
Decode after this Quick Response Code, can not identify WiFi access information wherein, and this URL is identified as a common URL, this URL points to a static Web page, this director information is included in this static Web page, and this director information comprises the intrinsic call address of this targeted scans program.Particularly, with the hiding Iframe (embedded frame) of a webpage, address has been adjusted in the inside pointing to this targeted scans program.The inside of this targeted scans program (in this example called after MyApp) has adjusted address to be MyApp: //Wifi_key=WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3 Afalse%3B, represent and call the access information that MyApp removes the access WiFi resolved in Wifi_key=WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3 Afalse%3B, obtain the WiFi access information comprising this WiFi title and access pin.
It should be noted that, realize above-mentioned intrinsic call and start, need to support to monitor following Action in terminal:
MyApp://Wifi_key=WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3Afalse%3B。
When listening to this Action, call startup MyApp and resolve this WiFi Quick Response Code, obtain the WiFi access information comprising this WiFi title and access pin, and enter the page of authorizing and connecting this WiFi, receive the bind command of user, access this WiFi according to the access information of this WiFi.
The third, Current Scan program is not targeted scans program, and does not install this targeted scans program in system or installed this targeted scans program compared with lowest version;
Decode after this Quick Response Code, WiFi access information wherein can not be identified, also cannot start this targeted scans program by this intrinsic call call by location and resolve this WiFi Quick Response Code, and this URL is identified as a common URL, this URL points to a static Web page, this director information is included in this static Web page, this director information comprises the download address of this targeted scans program, under the prerequisite of opening network, access the download address of this targeted scans program, before this targeted scans program of download, can inquire whether user will download this targeted scans program, if the instruction of user's input validation, then download and this targeted scans program is installed.In like manner, if installed this targeted scans program compared with lowest version in system, then downloaded and installed and covered this targeted scans program.This targeted scans program of enabling successful installation is resolved this WiFi Quick Response Code and is obtained the WiFi access information comprising this WiFi title and access pin, and enter the page of authorizing and connecting this WiFi, receive the bind command of user, access this WiFi according to the access information of this WiFi.
The source code creating above-mentioned WiFi Quick Response Code can be:
The detail that above-mentioned mobile terminal 20 performs technique scheme is see the description of each embodiment below.
Fig. 2 shows a kind of structured flowchart of mobile terminal.Mobile terminal comprises smart mobile phone, palmtop PC, panel computer etc., and all possess the mobile terminal of touch-screen.As shown in Figure 2, mobile terminal 20 comprises memory 202, storage control 204, one or more (only illustrating one in figure) processor 206, Peripheral Interface 208, radio-frequency module 210 and Touch Screen 212.These assemblies are by one or more communication bus/holding wire 222 communication mutually.
Be appreciated that the structure shown in Fig. 2 is only signal, it does not cause restriction to the structure of mobile terminal 20.Such as, mobile terminal 20 also can comprise than assembly more or less shown in Fig. 2, or has the configuration different from shown in Fig. 2.Each assembly shown in Fig. 2 can adopt hardware, software or its combination to realize.
Memory 202 can be used for storing software program and module, as the characters input method in terminal equipment in the embodiment of the present invention and program command/module corresponding to device, processor 206 is by running the software program and module that are stored in memory 204, thus perform the application of various function and data processing, namely realize the above-mentioned method by scanning Quick Response Code access WiFi.
Memory 202 can comprise high speed random asccess memory, also can comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory 202 can comprise the memory relative to the long-range setting of processor 206 further, and these remote memories can be connected to mobile terminal 20 by network.The example of above-mentioned network includes but not limited to the Internet, intranet, local area network (LAN), mobile radio communication and combination thereof.Processor 206 and other possible assemblies can carry out the access of memory 202 under the control of storage control 204.
Various input/output device is coupled to CPU and memory 202 by Peripheral Interface 208.Various softwares in processor 206 run memory 202, instruction are to perform the various function of mobile terminal 20 and to carry out data processing.
In certain embodiments, Peripheral Interface 208, processor 206 and storage control 204 can realize in one single chip.In some other example, they can respectively by independently chip realization.
Radio-frequency module 210, for receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and the signal of telecommunication, thus carries out communication with communication network or other equipment.Radio-frequency module 210 can comprise the various existing circuit element for performing these functions, such as, and antenna, radio-frequency (RF) transceiver, digital signal processor, encrypt/decrypt chip, subscriber identity module (SIM) card, memory etc.Radio-frequency module 210 can with various network as the Internet, intranet, wireless network carry out communication or carry out communication by wireless network and other equipment.Above-mentioned wireless network can comprise cellular telephone networks, WLAN (wireless local area network) or metropolitan area network.Above-mentioned wireless network can use various communication standard, agreement and technology, include, but are not limited to global system for mobile communications (GlobalSystemforMobileCommunication, GSM), enhancement mode mobile communication technology (EnhancedDataGSMEnvironment, EDGE), Wideband CDMA Technology (widebandcodedivisionmultipleaccess, W-CDMA), CDMA (Code Division Multiple Access) (Codedivisionaccess, CDMA), tdma (timedivisionmultipleaccess, TDMA), bluetooth, adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (as IEEE-USA standard IEEE 802.11a, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), the networking telephone (Voiceoverinternetprotocal, VoIP), worldwide interoperability for microwave access (WorldwideInteroperabilityforMicrowaveAccess, Wi-Max), other are for mail, the agreement of instant messaging and short message, and any other suitable communications protocol, even can comprise those current agreements be developed not yet.
Touch Screen 212 provides one simultaneously and exports and inputting interface between mobile terminal 20 and user.Particularly, Touch Screen 212 exports to user's display video, and the content of these video frequency output can comprise word, figure, video and combination in any thereof.Some Output rusults correspond to some user interface object.Touch Screen 212 also receives the input of user, and the gesture operation such as click, slip of such as user, so that response is made in the input of user interface object to these users.The technology detecting user's input can be based on resistance-type, condenser type or other touch control detection technology possible arbitrarily.The instantiation of Touch Screen 212 display unit includes, but are not limited to liquid crystal display or light emitting polymer displays.
Refer to Fig. 3, what the first embodiment provided is comprised by the method for scanning Quick Response Code access WiFi:
301, mobile terminal enables scanning imaging system scanning WiFi Quick Response Code, and this WiFi Quick Response Code comprises access information for accessing WiFi and for guiding the director information starting targeted scans program;
This WiFi Quick Response Code can by generating the Software Create of Quick Response Code in PC terminal 10, access information for accessing WiFi is comprised and for guiding the director information starting targeted scans program, this targeted scans program refers to can resolve the access information of the correct WiFi comprised in this WiFi Quick Response Code the scanning imaging system identified in this WiFi Quick Response Code.Scan this WiFi Quick Response Code and can be accessed by this WiFi.
This WiFi Quick Response Code of arbitrary scan program scanning in mobile terminal 20 enable system.
302, this WiFi Quick Response Code is resolved;
Content is wherein resolved after scanning this WiFi Quick Response Code.
If 303 Current Scan programs are this targeted scans program, this access information is got after then resolving this WiFi Quick Response Code, the page of authorizing and connecting this WiFi is entered according to this access information, if Current Scan program is not this targeted scans program, this director information is got after then resolving this WiFi Quick Response Code, start this targeted scans program according to this director information to resolve this WiFi Quick Response Code and obtain this access information, and enter the page of authorizing and connecting this WiFi;
If Current Scan program is this targeted scans program, this access information can be got after then resolving this WiFi Quick Response Code, enter the page of authorizing and connecting this WiFi according to this access information, namely, enter the page of authorizing and connecting current WiFi, and show access information in this page.If use this WiFi Quick Response Code of targeted scans program scanning just can parse WiFi access information wherein and access this WiFi.
If Current Scan program is not this targeted scans program, what get after then resolving this WiFi Quick Response Code is this director information instead of this access information, then under the guide of this director information, start this targeted scans program to resolve this WiFi Quick Response Code and obtain this access information, and enter the page of authorizing and connecting this WiFi, in this page, show access information.If use other scanning imaging systems beyond targeted scans program scan and resolve this WiFi Quick Response Code, None-identified goes out WiFi access information wherein, but can obtain director information wherein.
304, receive the bind command of user, access this WiFi according to the access information of this WiFi.
Authorizing in the page connecting current WiFi, display access information, shows the operand of receives user's simultaneously, is generally the button of an expression " connection ", user connects this WiFi by tapping this button, accesses this WiFi according to the access information of this WiFi.
In the present embodiment, access information for accessing WiFi is comprised and for guiding the director information starting targeted scans program in WiFi Quick Response Code, if use this WiFi Quick Response Code of targeted scans program scanning can parse WiFi access information wherein and access this WiFi, if use other scanning imaging systems beyond targeted scans program to scan this WiFi Quick Response Code, director information wherein can be parsed, start targeted scans program according to director information parse the WiFi access information in this WiFi Quick Response Code and access this WiFi, like this, just the scanning software of scanning WiFi Quick Response Code can be limited, WiFi sharing functionality to outer closure can be set, increase the sharing functionality of scanning imaging system, improve the functional utilization rate of scanning imaging system, and use the convenience of this scanning imaging system.
Refer to Fig. 4, what the second embodiment provided is comprised by the method for scanning Quick Response Code access WiFi:
401, mobile terminal enables scanning imaging system scanning WiFi Quick Response Code, and this WiFi Quick Response Code comprises access information for accessing WiFi and for guiding the director information starting targeted scans program;
This WiFi Quick Response Code can by generating the Software Create of Quick Response Code in PC terminal 10, access information for accessing WiFi is comprised and for guiding the director information starting targeted scans program, this targeted scans program refers to can resolve the access information of the correct WiFi comprised in this WiFi Quick Response Code the scanning imaging system identified in this WiFi Quick Response Code.Scan this WiFi Quick Response Code and can be accessed by current WiFi.
Wherein, the form of this WiFi Quick Response Code is URL, and this WiFi Quick Response Code exists with a network linking form.The access information of this WiFi is included in this URL with the form of character string, and the access information of this WiFi comprises current WiFi title and access pin, can also comprise the auth type of this WiFi and whether hide the information such as ssid.
Can this WiFi Quick Response Code form be http: // domain name in an example? ... & wifikey=" wifivalue ", wherein, domain name can set arbitrarily, such as, http://www.qq.com? cid=123.Wifikey can specify a special parameter flag position, meets the specification of key value in url.WifiValue only needs that standard WiFi code is carried out URL and encodes, and standard WiFi code form is as follows:
WIFI:T:WPA;S:mynetwork;P:mypass;H:false;
Wherein T: represent auth type, S: the ssid representing current WiFi, P: represent current WiFi password, H: represent and whether hide ssid.
Such as, WIFI:T:WPA; S:tencent; P:123456; H:false;
After coding, wifivalue is:
WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3Afalse%3B;
That is, the access information being connected into this WiFi is included in above-mentioned wifivalue.
Then, scan this WiFi Quick Response Code, after resolving this this WiFi Quick Response Code, obtain following content:
http://www.qq.com?cid=123&Wifi_key=WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3Afalse%3B
402, resolve this WiFi Quick Response Code, obtain the character string of the access information representing this WiFi in this URL(uniform resource locator), and resolve the access information that this character string obtains this WiFi;
Resolve content wherein after scanning this WiFi Quick Response Code, obtain the character string of the access information representing this WiFi in this URL, and resolve the access information that this character string obtains this WiFi.
If 403 Current Scan programs are this targeted scans program, then get this access information after resolving this WiFi Quick Response Code, according to this access information, enter the page of authorizing and connecting this WiFi;
If the scanning imaging system that this WiFi Quick Response Code is resolved in scanning is targeted scans program, then can identify access information in content after parsing, this access information comprises WiFi title and access pin, according to this WiFi title and this access pin, enter the page of authorizing and connecting this WiFi, the page of this WiFi shows this WiFi title and this access pin.
That is, if Current Scan program is this targeted scans program, then can resolve WiFi Quick Response Code in above-mentioned example, and identifiable design goes out the content of wifivalue, in the above-described example, namely identifies following content:
Wifi_key=WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3Afalse%3B
Therefrom know and comprise this WiFi title, access pin, auth type, and, whether hide the information of ssid.Enter the page of authorizing and connecting this WiFi, the page of this WiFi shows this WiFi title and access pin.
404, receive the bind command of user, access this WiFi according to the access information of this WiFi.
Authorizing in the page connecting current WiFi, display access information, shows the operand of receives user's simultaneously, is generally the button of an expression " connection ", user connects this WiFi by tapping this button, accesses this WiFi according to the access information of this WiFi.
In the present embodiment, access information for accessing WiFi is comprised and for guiding the director information starting targeted scans program in WiFi Quick Response Code, if use this WiFi Quick Response Code of targeted scans program scanning can parse WiFi access information wherein and access this WiFi, if use other scanning imaging systems beyond targeted scans program to scan this WiFi Quick Response Code, director information wherein can be parsed, start targeted scans program according to director information parse the WiFi access information in this WiFi Quick Response Code and access this WiFi, like this, just the scanning software of scanning WiFi Quick Response Code can be limited, WiFi sharing functionality to outer closure can be set, increase the sharing functionality of scanning imaging system, improve the functional utilization rate of scanning imaging system, and use the convenience of this scanning imaging system.
Refer to Fig. 5, what the 3rd embodiment provided is comprised by the method for scanning Quick Response Code access WiFi:
501, mobile terminal enables scanning imaging system scanning WiFi Quick Response Code, and this WiFi Quick Response Code comprises access information for accessing WiFi and for guiding the director information starting targeted scans program;
This WiFi Quick Response Code can by generating the Software Create of Quick Response Code in PC terminal, access information for accessing WiFi is comprised and for guiding the director information starting targeted scans program, this targeted scans program refers to can resolve the access information of the correct WiFi comprised in this WiFi Quick Response Code the scanning imaging system identified in this WiFi Quick Response Code.Scan this WiFi Quick Response Code and can be accessed by current WiFi.
Wherein, the form of this WiFi Quick Response Code is URL, and this WiFi Quick Response Code exists with a network linking form.The access information of this WiFi is included in this URL(uniform resource locator) with the form of character string, and the access information of this WiFi comprises current WiFi title and access pin, can also comprise the auth type of this WiFi and whether hide the information such as ssid.
This is used for guiding the director information starting the startup of targeted scans program to be included in the static Web page of this URL sensing, and this director information comprises the intrinsic call address of this targeted scans program, and, the download address of this targeted scans program.Namely, if Current Scan program None-identified goes out the access information of this WiFi in this URL, then this URL(uniform resource locator) is identified as a common URL, this URL points to a static Web page, this director information is included in this static Web page, and this director information comprises the intrinsic call address of this targeted scans program.Particularly, with the hiding Iframe (embedded frame) of a webpage, address has been adjusted in the inside pointing to this targeted scans program.
It should be noted that, under the prerequisite of opening network, just may have access to this static Web page.
Continue embodiment illustrated in fig. 4 in example, when after coding, wifivalue is WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3Afalse%3B, the inside of this targeted scans program (in this example called after MyApp) has adjusted address to be MyApp: //Wifi_key=WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3 Afalse%3B, represent and call the access information that MyApp removes the access WiFi resolved in Wifi_key=WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3 Afalse%3B.
502, the intrinsic call address that this WiFi Quick Response Code obtains this targeted scans program is resolved;
Resolve content wherein after scanning this WiFi Quick Response Code, obtain the intrinsic call address of this targeted scans program.
If 503 Current Scan programs are not this targeted scans programs, the intrinsic call address of this targeted scans program is obtained after then resolving this WiFi Quick Response Code, according to the intrinsic call address of this targeted scans program, to call and in start up system, this targeted scans program mounted resolves the access information that this WiFi Quick Response Code obtains this WiFi, and enter to authorize and connect the page of this WiFi;
If Current Scan program is not this targeted scans program, then cannot resolves the access information that this WiFi Quick Response Code identifies this WiFi wherein comprised, but identify the intrinsic call address of this targeted scans program.Such as, the inside of this targeted scans program has adjusted address to be MyApp: //Wifi_key=WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3 Afalse%3B, then call and in start up system, this targeted scans program (MyApp) mounted is resolved this WiFi Quick Response Code and obtained and comprise the WiFi access information of this WiFi title and access pin.
Realize above-mentioned intrinsic call to start, need to support to monitor following Action:MyApp: //Wifi_key=WIFI%3AT%3AWPA%3BS%3Atencent%3BP%3A123456%3BH%3 Afalse%3B in terminal, when listening to this Action, call startup MyApp and resolve this WiFi Quick Response Code, obtain the access information of this WiFi, this access information can comprise the WiFi access information of this WiFi title and access pin, and enters the page of authorizing and connecting this WiFi.
504, receive the bind command of user, access this WiFi according to the access information of this WiFi.
Authorizing in the page connecting current WiFi, display access information, shows the operand of receives user's simultaneously, is generally the button of an expression " connection ", user connects this WiFi by tapping this button, accesses this WiFi according to the access information of this WiFi.
In the present embodiment, access information for accessing WiFi is comprised and for guiding the director information starting targeted scans program in WiFi Quick Response Code, if use this WiFi Quick Response Code of targeted scans program scanning can parse WiFi access information wherein and access this WiFi, if use other scanning imaging systems beyond targeted scans program to scan this WiFi Quick Response Code, director information wherein can be parsed, start targeted scans program according to director information parse the WiFi access information in this WiFi Quick Response Code and access this WiFi, like this, just the scanning software of scanning WiFi Quick Response Code can be limited, WiFi sharing functionality to outer closure can be set, increase the sharing functionality of scanning imaging system, improve the functional utilization rate of scanning imaging system, and use the convenience of this scanning imaging system.
Refer to Fig. 6, what the 4th embodiment provided is comprised by the method for scanning Quick Response Code access WiFi:
601, mobile terminal enables scanning imaging system scanning WiFi Quick Response Code, and this WiFi Quick Response Code comprises access information for accessing WiFi and for guiding the director information starting targeted scans program;
This WiFi Quick Response Code can by generating the Software Create of Quick Response Code in PC terminal, access information for accessing WiFi is comprised and for guiding the director information starting targeted scans program, this targeted scans program refers to can resolve the access information of the correct WiFi comprised in this WiFi Quick Response Code the scanning imaging system identified in this WiFi Quick Response Code.Scan this WiFi Quick Response Code and can be accessed by current WiFi.
Wherein, the form of this WiFi Quick Response Code is URL, and this WiFi Quick Response Code exists with a network linking form.The access information of this WiFi is included in this URL(uniform resource locator) with the form of character string, and the access information of this WiFi comprises current WiFi title and access pin, can also comprise the auth type of this WiFi and whether hide the information such as ssid.
This is used for guiding the director information starting the startup of targeted scans program to be included in the static Web page of this URL sensing, and this director information comprises the download address of this targeted scans program.Namely, if Current Scan program None-identified goes out the access information of this WiFi in this URL, then this URL(uniform resource locator) is identified as a common URL, this URL points to a static Web page, this director information is included in this static Web page, and this director information comprises the download address of this targeted scans program.
602, the download address that this WiFi Quick Response Code obtains this targeted scans program is resolved.
If do not install this targeted scans program in the system of mobile terminal, then None-identified goes out this access information of the access WiFi of this WiFi Quick Response Code, also cannot start this targeted scans program by this intrinsic call call by location and resolve this WiFi Quick Response Code.
Resolve content wherein after scanning this WiFi Quick Response Code, obtain the download address of this targeted scans program, this targeted scans program can be downloaded from this download address.
If 603 Current Scan programs are not this targeted scans programs, then obtain the download address of this targeted scans program after resolving this WiFi Quick Response Code, under the state that network is opened, access the download address of this targeted scans program;
If Current Scan program is not this targeted scans program, this targeted scans program is not installed in system yet, then obtains the download address of this targeted scans program after resolving this WiFi Quick Response Code.Guarantee that mobile terminal can be surfed the Net, can complete and download this targeted scans program, under the state that network is opened, access the download address of this targeted scans program.
604, according to user instruction, download and this targeted scans program is installed;
Before this targeted scans program of download, can inquire whether user will download this targeted scans program, if the instruction of user's input validation, then download and this targeted scans program is installed.
The present embodiment not only comprises did not install this targeted scans program, downloaded and installed this targeted scans program, installed this targeted scans program compared with lowest version before comprising yet, and downloaded and installed and covered this targeted scans program.
This targeted scans program of 605, enabling successful installation resolves the access information that this WiFi Quick Response Code obtains this WiFi, and enters the page of authorizing and connecting this WiFi;
This WiFi title and this access pin can be comprised in this access information.
606, receive the bind command of user, access this WiFi according to the access information of this WiFi.
Authorizing in the page connecting current WiFi, display access information, shows the operand of receives user's simultaneously, is generally the button of an expression " connection ", user connects this WiFi by tapping this button, accesses this WiFi according to the access information of this WiFi.
In the present embodiment, access information for accessing WiFi is comprised and for guiding the director information starting targeted scans program in WiFi Quick Response Code, if use this WiFi Quick Response Code of targeted scans program scanning can parse WiFi access information wherein and access this WiFi, if use other scanning imaging systems beyond targeted scans program to scan this WiFi Quick Response Code, director information wherein can be parsed, start targeted scans program according to director information parse the WiFi access information in this WiFi Quick Response Code and access this WiFi, like this, just the scanning software of scanning WiFi Quick Response Code can be limited, WiFi sharing functionality to outer closure can be set, increase the sharing functionality of scanning imaging system, improve the functional utilization rate of scanning imaging system, and use the convenience of this scanning imaging system.
Refer to Fig. 7, the device by scanning Quick Response Code access WiFi that Fig. 7 provides for the 5th embodiment, comprising:
Scanning element 71, for for enabling scanning imaging system scanning WiFi Quick Response Code, this WiFi Quick Response Code comprises access information for accessing WiFi and for guiding the director information starting targeted scans program;
Resolution unit 72, for resolving described WiFi Quick Response Code;
Processing unit 73, if be described targeted scans program for Current Scan program, then gets this access information after resolving this WiFi Quick Response Code, enters the page of authorizing and connecting this WiFi according to this access information;
Processing unit 73, if be not also described targeted scans program for Current Scan program, described director information is got after then resolving described WiFi Quick Response Code, start described targeted scans program according to described director information to resolve described WiFi Quick Response Code and obtain described access information, and enter the page of authorizing and connecting described WiFi;
Receiving element 74, for receiving the bind command of user;
Access unit 75, for accessing this WiFi according to the access information of this WiFi.
In the present embodiment, all unit realize the process of respective function, refer to aforementioned embodiment illustrated in fig. 3 in description, repeat no more herein.
In the present embodiment, access information for accessing WiFi is comprised and for guiding the director information starting targeted scans program in WiFi Quick Response Code, if use this WiFi Quick Response Code of targeted scans program scanning can parse WiFi access information wherein and access this WiFi, if use other scanning imaging systems beyond targeted scans program to scan this WiFi Quick Response Code, director information wherein can be parsed, start targeted scans program according to director information parse the WiFi access information in this WiFi Quick Response Code and access this WiFi, like this, just the scanning software of scanning WiFi Quick Response Code can be limited, WiFi sharing functionality to outer closure can be set, increase the sharing functionality of scanning imaging system, improve the functional utilization rate of scanning imaging system, and use the convenience of this scanning imaging system.
Refer to Fig. 8, what the 6th embodiment provided scan Quick Response Code by passing through of providing of device and the 5th embodiment of scanning Quick Response Code access WiFi, and to access the device of WiFi similar, and difference is:
The form of this WiFi Quick Response Code is that the access information of URL, this WiFi is included in this URL with the form of character string.
Resolution unit 72, also for resolving this WiFi Quick Response Code, obtains the character string of the access information representing this WiFi in this URL, and resolves the access information that this character string obtains this WiFi.
Processing unit 73, also comprises this WiFi title and access pin for this access information, then according to this WiFi title and this access pin, enter the page of authorizing and connecting this WiFi, the page of this WiFi shows this WiFi title and access pin.
Further, this is used for guiding the director information starting the startup of targeted scans program to be included in the static Web page of this URL sensing, and this director information comprises the intrinsic call address of this targeted scans program, and, the download address of this targeted scans program.
Resolution unit 72, also for resolving this WiFi Quick Response Code, obtains the intrinsic call address of this targeted scans program.
Processing unit 73, also for the intrinsic call address according to this targeted scans program, to call and in start up system, this targeted scans program mounted resolves the access information of this WiFi that this WiFi Quick Response Code obtains.
Resolution unit 72, also for resolving this WiFi Quick Response Code, obtains the download address of this targeted scans program.
In the present embodiment, all unit realize the process of respective function, refer to earlier figures 3 to the description in embodiment illustrated in fig. 6, repeat no more herein.
Processing unit 73 can further include:
Addressed location 731, under the state of opening at network, accesses the download address of this targeted scans program;
Download unit 732, for according to user instruction, downloads and installs this targeted scans program;
Processing unit 73, this targeted scans program also for enabling successful installation resolves the access information that this WiFi Quick Response Code obtains this WiFi.
In the present embodiment, access information for accessing WiFi is comprised and for guiding the director information starting targeted scans program in WiFi Quick Response Code, if use this WiFi Quick Response Code of targeted scans program scanning can parse WiFi access information wherein and access this WiFi, if use other scanning imaging systems beyond targeted scans program to scan this WiFi Quick Response Code, director information wherein can be parsed, start targeted scans program according to director information parse the WiFi access information in this WiFi Quick Response Code and access this WiFi, like this, just the scanning software of scanning WiFi Quick Response Code can be limited, WiFi sharing functionality to outer closure can be set, increase the sharing functionality of scanning imaging system, improve the functional utilization rate of scanning imaging system, and use the convenience of this scanning imaging system.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising described key element and also there is other identical element.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The above, it is only preferred embodiment of the present invention, not any pro forma restriction is done to the present invention, although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, make a little change when the technology contents of above-mentioned announcement can be utilized or be modified to the Equivalent embodiments of equivalent variations, in every case be do not depart from technical solution of the present invention content, according to any simple modification that technical spirit of the present invention is done above embodiment, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.