CN105979524B - A kind of wireless network access method and system - Google Patents
A kind of wireless network access method and system Download PDFInfo
- Publication number
- CN105979524B CN105979524B CN201610542038.0A CN201610542038A CN105979524B CN 105979524 B CN105979524 B CN 105979524B CN 201610542038 A CN201610542038 A CN 201610542038A CN 105979524 B CN105979524 B CN 105979524B
- Authority
- CN
- China
- Prior art keywords
- information
- update
- wireless network
- dimensional barcode
- code
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of wireless network access method and system, and wherein method includes: that display end judges whether to receive more new command, obtains image in 2 D code, and two-dimensional code display image according to two-dimensional barcode information;Mobile device obtains the image in 2 D code shown on display end by photoinduction mode, and the encoded information of two-dimensional barcode information is obtained according to image in 2 D code, and parse the encoded information of two-dimensional barcode information, it obtains wireless network access information and rolls identification information, and send wireless network connection request to accessing wirelessly access device;Accessing wirelessly access device establishes the wireless network connection with mobile device, and is sent to system end for identification information is rolled;System end, which receives, rolls identification information, verifies to identification information is rolled, and is verified more new command and update two-dimensional barcode information being sent to display end;The image in 2 D code that display end display updates.By the invention it is possible to effectively be updated to two-dimensional barcode information, guarantee that wireless network resource is not abused.
Description
Technical field
The present invention relates to a kind of electronic technology field more particularly to a kind of wireless network access method and systems.
Background technique
With the rise of Intelligent mobile equipment, wireless network access (such as WIFI etc.) has become in people's life not
The a part that can be lacked.People gradually deepen the dependence of wireless network, in order to meet people handle in public places affairs or
Person makes full use of the demand of fragmentation time when waiting, and various public places of business can provide free wireless network for people
Network access service.However, the access information of existing wireless network is usually continuous and effective, i.e. certain intelligent mobile after primary obtain
Equipment once once accessed the wireless network, then next time enters back into the coverage area of the wireless network, then the intelligent mobile
Equipment can be connected automatically to the wireless network, so that the Intelligent mobile equipment can not reuse the nothing verifiedly
Gauze network.
Further, since the password of public wireless network does not convert always, have an opportunity to take advantage of to criminal, is easy to cause wireless
The insecurity of network.
Summary of the invention
One of present invention seek to address that the above problem/.
The main purpose of the present invention is to provide a kind of wireless network access method,
Another object of the present invention is to provide a kind of wireless network access schemes.
In order to achieve the above objectives, technical solution of the present invention is specifically achieved in that
One aspect of the present invention provides a kind of wireless network access method, comprising: step S1: display end judges whether to receive
To more new command, if receiving the more new command, S2 is thened follow the steps;Step S2: display end judge whether to prestore or
Two-dimensional barcode information is received, if so, S4 is thened follow the steps, it is no to then follow the steps S3, wherein the two-dimensional barcode information is at least wrapped
It includes wireless network access information and rolls identification information;Step S3: the display end is sent to system end updates request, and receives
The update that the system end is sent responds, and includes the two-dimensional barcode information in the update response, and execute step S4;Step
S4: the display end obtains image in 2 D code according to the two-dimensional barcode information, and shows the image in 2 D code;Step S5: it moves
Dynamic equipment obtains the image in 2 D code shown on the display end by photoinduction mode;Step S6: mobile device according to
The image in 2 D code obtains the encoded information of the two-dimensional barcode information, and verifies the coding letter of the two-dimensional barcode information of acquisition
Whether legal, if legal, then follow the steps S7, otherwise prompt failure information if ceasing;Step S7: described in the mobile device parsing
The encoded information of two-dimensional barcode information at least obtains the wireless network access information and the rolling identification information, in which: described
Wireless network access information accesses network, the rolling identification information using the wireless network access information for mobile device
For identifying two dimensional code;Step S8: the mobile device sends wireless network connection request to accessing wirelessly access device, described
Wireless network connection request includes at least the wireless network access information;Step S9: the accessing wirelessly access device verifying
The wireless network access information received obtains the corresponding access verification information of the wireless network access information, utilizes
The access verification information verifies the wireless network access information received, if the verification passes, then establish with
The wireless network connection of the mobile device;Step S10: the rolling identification information is sent to the system by the mobile device
System end;Step S11: the system end receives the rolling identification information, obtains the corresponding mark of the rolling identification information and tests
Information is demonstrate,proved, the rolling identification information is verified using the identity verification information, is thened follow the steps if the verification passes
S12;Step S12: whether the system end inquiry prestores update two-dimensional barcode information, if so, thening follow the steps S14, otherwise
Execute step S13;Step S13: the system end obtains the rolling identification information of the wireless network access information and update that update,
The update two dimensional code is generated at least with the wireless network access information of the update and the rolling identification information of the update
Information, and execute step S14;Step S14: the system end generates more new command, and will the more new command and the update
Two-dimensional barcode information is sent to the display end;Step S15: the display end receives the update two dimension that the system end is sent
Code information updates the image in 2 D code of display according to the update two-dimensional barcode information;Step S16: the system end according to
Identity verification information described in the rolling update of identification information of the update;Step S17: the system end is wireless by the update
Network access information is sent to the accessing wirelessly access device;Step S18: the accessing wirelessly access device reception is described more
New wireless network access information updates the accessing wirelessly access device according to the wireless network access information of the update
The access verification information.
In addition, after the step S14, the method also includes: step A: the system end judges whether to be more than pre-
It fixes time and does not receive the rolling identification information, if it exceeds the predetermined time does not receive the rolling identification information, then execute step
Rapid S12.
In addition, after the step S15, the method also includes: step B: the display end judges whether to be more than pre-
It fixes time and does not receive the more new command, if it exceeds the predetermined time does not receive the more new command, then follow the steps S2.
In addition, the display end includes electronic ink screen;The display end shows that the image in 2 D code includes: described aobvious
Show that end shows the image in 2 D code by the electronic ink screen.
Another aspect of the present invention provides a kind of wireless network access scheme, comprising: display end, mobile device, accessing wirelessly
Access device and system end;Wherein: the display end, for judging whether to receive more new command, if described in receiving more
New command then judges whether to prestore or receive two-dimensional barcode information, if it is, obtaining two dimension according to the two-dimensional barcode information
Code image, and show the image in 2 D code, it is otherwise sent to the system end and updates request, and received the system end and send
Update response, include the two-dimensional barcode information in updates response, and according to two-dimensional barcode information acquisition two dimensional code figure
Picture, and show the image in 2 D code, wherein the two-dimensional barcode information includes at least wireless network access information and rolls mark
Information;It is also used to receive the update two-dimensional barcode information that the system end is sent, is updated and shown according to the update two-dimensional barcode information
The image in 2 D code;The mobile device, for obtaining show on the display end described two by photoinduction mode
Code image is tieed up, the encoded information of the two-dimensional barcode information is obtained according to the image in 2 D code, and verify the two dimension of acquisition
Whether the encoded information of code information is legal, if not conforming to rule prompt failure information, if legal, parses the two dimensional code letter
The encoded information of breath at least obtains the wireless network access information and the rolling identification information, in which: the wireless network
Access information accesses network using the wireless network access information for mobile device, and the rolling identification information is for identifying
Two dimensional code, and send wireless network connection request to accessing wirelessly access device and send the rolling mark to the system end
Know information, the wireless network connection request includes at least the wireless network access information;The system end, for receiving
Rolling identification information is stated, the corresponding identity verification information of the rolling identification information is obtained, utilizes the identity verification information pair
The rolling identification information is verified, and then inquires whether prestore the update two-dimensional barcode information if the verification passes, if
It is then to generate more new command, and the more new command and the update two-dimensional barcode information are sent to the display end, otherwise obtains
The wireless network access information of update and the rolling identification information of update are taken, accesses letter at least with the wireless network of the update
Breath and the rolling identification information of the update generate the update two-dimensional barcode information, and generate more new command, and by the update
Instruction and the update two-dimensional barcode information are sent to the display end;It is also used to the rolling update of identification information according to the update
The identity verification information;And the wireless network access information of the update is sent to the accessing wirelessly access device;Institute
Accessing wirelessly access device is stated, for verifying the wireless network access information received, obtains the wireless network access
The corresponding access verification information of information carries out the wireless network access information received using the access verification information
Verifying then establishes the wireless network connection with the mobile device if the verification passes;It is also used to receive the wireless of the update
Network access information updates the access of the accessing wirelessly access device according to the wireless network access information of the update
Verification information.
In addition, the system end, be also used to the more new command and the update two-dimensional barcode information are sent to it is described
After display end, judge whether to be more than the predetermined time not receive the rolling identification information, if it exceeds the predetermined time does not receive
The rolling identification information is then inquired and whether prestores the update two-dimensional barcode information, if it is, more new command is generated, and
The more new command and the update two-dimensional barcode information are sent to the display end, otherwise obtain the wireless network access of update
The rolling identification information of information and update, at least with the wireless network access information of the update and the rolling mark of the update
Know information and generate the update two-dimensional barcode information, and generate more new command, and will the more new command and the update two dimensional code
Information is sent to the display end.
In addition, the display end, is also used to after the image in 2 D code for updating display, judge whether to be more than predetermined
Time does not receive the more new command, if it exceeds the predetermined time does not receive the more new command, then judges whether to prestore two
Code information is tieed up, if so, the image in 2 D code of display is then updated according to the two-dimensional barcode information prestored, otherwise to described
System end transmission updates request, and receives the update response that the system end is sent, according to the two dimensional code carried in update response
The image in 2 D code that information update is shown.
In addition, the display end includes electronic ink screen;The electronic ink screen, for showing the image in 2 D code.
As seen from the above technical solution provided by the invention, the present invention provides a kind of wireless network access method and
System, cut-in method and system through the invention can effectively update the two-dimensional barcode information that display end is shown, i.e.,
After the two-dimensional barcode information that the display end is shown is previously used once, system end can know what the two-dimensional barcode information was previously used
Information, so that the two-dimensional barcode information that display end is shown is updated, so that the two-dimensional barcode information of display can be only only used once, thus
Limitation user accesses the number of the wireless network, to guarantee that wireless network resource is not abused.In addition, by believing two dimensional code
The update of breath can make wireless network access information included in two dimensional code be not easy to be cracked, guarantee wireless network
Safety.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the flow chart for the wireless network access method that the embodiment of the present invention 1 provides;
Fig. 2 is the structural schematic diagram for the wireless network access scheme that the embodiment of the present invention 1 provides.
Specific embodiment
With reference to the attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on this
The embodiment of invention, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, belongs to protection scope of the present invention.
The embodiment of the present invention is described in further detail below in conjunction with attached drawing.
The embodiment of the present invention provides a kind of authentication method, as shown in Figure 1, the authentication method includes:
Step S1: display end judges whether to receive more new command, if receiving more new command, thens follow the steps S2.
In specific embodiment, receiving more new command can include but is not limited to following several implementations:
Mode one, display end receive the more new command that system end is sent by wired or wireless network.At this point, system end
More new command can be only sent to display end, can also send two dimensional code letter together while sending more new command to display end
Breath.By receiving the more new command of system end, display end can be updated display information under the control of system end.
Mode two, display end according to circumstances judge automatically whether send more new command.Judgment module built in display end according to
Situation judges automatically whether need to update, and if necessary to update, then sends more new command to display end.For example, built in display end
Judgment module can with onboard clock module, at preset time intervals to display end send more new command.Pass through display end itself
Judge whether to need to update, being conducive to display end, according to circumstances adjust automatically shows content.
Mode three, display end receive externally input more new command.Input equipment is provided on display end, user can lead to
It crosses input equipment and inputs more new command to display end.For example, key can be set on display end, user by key trigger to
Display end sends more new command.More new command is sent to display end by input equipments such as keys, being conducive to user can control
Display end shows the update of content.
Display end can be smart television, flat panel TV, LED advertisement screen, display screen, computer, tablet computer etc.
The equipment of display module, display end can also include one piece of electronic ink screen, and electronic ink screen does not need battery after once showing
Powering again can be continuously display, to save electric energy.
Certainly, before display end receives more new command, the operation initialized can also be first powered on to display end.It is aobvious
Show that end before receiving more new command, can continue the display content of last time, can also mention with display reminding information to user
Show, user is prompted to be updated display content.
Step S2: display end judges whether to prestore or receive two-dimensional barcode information, if so, S4 is thened follow the steps, it is no
Then follow the steps S3, wherein two-dimensional barcode information includes at least wireless network access information and rolls identification information.
In specific implementation method, display end generally also receives two dimensional code letter while receiving more new command
Breath, so that the two-dimensional barcode information can be stored.Certainly, after display end can also first receive the more new command that system end is sent, then
The two-dimensional barcode information or display end that receive system end transmission can also first receive the two-dimensional barcode information of system end transmission
Afterwards, then receive system end transmission more new command.Certainly, display end can also be previously stored with two-dimensional barcode information.
In a particular embodiment, two-dimensional barcode information includes wireless network access information and rolling identification information, the nothing
It may include the information for accessing networks such as wireless network (WIFI) in line network access information, include at least the ID of wireless network
Information.For the safety of information transmission, which can also be the wireless network of encryption, for example, the wireless network can
It is encrypted in a manner of using WEP or WPA, then contains corresponding key information in the wireless access information.It rolls
Identification information is for uniquely identifying the two dimensional code, the sequence or number that can be ordered into, and is also possible to unduplicated random
Number can also be the dynamic password etc. updated according to access times.The type for rolling identification information is not limited herein, only needs its energy
Complete the function of mark two dimensional code.
Step S3: display end is sent to system end updates request, and receives the update response of system end transmission, updates response
In include two-dimensional barcode information, and execute step S4.
When display end is not received by two-dimensional barcode information and does not prestore two-dimensional barcode information, display end can be actively to being
The update request for end transmission request two-dimensional barcode information of uniting, system end is after receiving update request, according to the update request
Two-dimensional barcode information sends to display end and corresponds to the update response that the update is requested, and updating includes two-dimensional barcode information in response.
Step S4: display end obtains image in 2 D code, and two-dimensional code display image according to two-dimensional barcode information.
In a particular embodiment, display end needs to judge the two-dimensional barcode information after getting the two-dimensional barcode information
It whether is image information that the display end can directly display, if the two dimensional code is the image information that can directly show,
Display end directly displays the image in 2 D code, if the two-dimensional barcode information is not the image information that can be directly displayed, shows
End is shown after converting the image information that can be shown for the two-dimensional barcode information.Certainly, if the two-dimensional barcode information needs
Image information can be just converted into after format is converted, then display end first carries out the two-dimensional barcode information according to the format of two dimensional code
Format conversion.
In an optional embodiment of the present embodiment, if display end is currently displaying an image in 2 D code,
Then in step s 4, after display end obtains image in 2 D code according to two-dimensional barcode information, the image in 2 D code of display is updated.
The two dimensional code can with achievable any type two dimensional code, for example, it may be PDF417, QR Code, Code 49,
The two dimensional code of the types such as Code 16K, Code One.
In a particular embodiment, display end passes through electronic ink screen two-dimensional code display image.Pass through electronic ink screen
Two-dimensional code display image can save electric energy.
Step S5: mobile device obtains the image in 2 D code shown on display end by photoinduction mode.
In a particular embodiment, mobile device scans the image in 2 D code shown on display end by picture pick-up device.
Certainly, in certain two dimensional code formats, mobile device does not need to get whole features of image in 2 D code, and only needs to obtain
The Partial Feature for getting two dimensional code can be obtained information entrained by the image in 2 D code.
The equipment that the mobile device can may be coupled to wireless network with mobile phone, tablet computer etc..
Step S6: mobile device obtains the encoded information of two-dimensional barcode information according to image in 2 D code, and verifies the two of acquisition
Whether the encoded information for tieing up code information is legal, if legal, then follow the steps S7, otherwise prompts failure information.
In a particular embodiment, different two dimensional codes has different coding rules, when mobile device gets two dimension
After code image, the type of the two dimensional code is judged, and corresponding decoding rule is selected according to the type of two dimensional code, to two dimensional code figure
The lattice information of picture is decoded, and obtains the encoded information of two dimensional code.Check whether the encoded information is conjunction according to encoded information
The two-dimensional barcode information of method, should only when format information is legal because in the encoded information may include certain format information
Two dimensional code is just considered as legal two dimensional code.For example, the encoded information obtained after being decoded to image in 2 D code is " 0010
000000101 00111001110 11100111001 000010 0000001000 0000001100 0101011001
1000011 ", code identification (for identifying the type of two dimensional code), end mark, polishing symbol, school may be included in the encoded information
The format informations such as code, error correcting code are tested, after finding out corresponding format information according to the type of two dimensional code, format information is tested
Card, thinks that the encoded information is legal two dimensional code after being verified.Certainly, if finding the coding letter of the two dimensional code after verifying
It ceases illegal, then issues prompt information, user is prompted to obtain image in 2 D code or the information of other authentication faileds again.
Step S7: mobile device parses the encoded information of two-dimensional barcode information, at least acquisition wireless network access information and rolling
Dynamic identification information, in which: wireless network access information accesses network using wireless network access information for mobile device, rolls
Identification information is for identifying two dimensional code.
In a particular embodiment, mobile device obtains the letter of its representative, number according to obtained encoded information, parsing
The information such as word, symbol, text to get corresponding text information, and obtain wireless network access letter according to text information
Breath and rolling identification information.For example, it is assumed that according to above-mentioned encoded information " 0,010 000,000,101 00111001110
11100111001 000,010 0,000,001,000 0,000,001,100 0,101,011,001 1000011 " text of text is restored
In include the wireless network access information, such as No. SSID and password information further include the unique identification two-dimensional barcode information
It rolls identification information (such as dynamic password etc.).
Step S8: mobile device sends wireless network connection request to accessing wirelessly access device, and wireless network connection is asked
It asks and includes at least wireless network access information.
In a particular embodiment, it when mobile device will be connected to the network by accessing wirelessly access device, needs
It sends and requests to accessing wirelessly access device, certainly, mobile device can send wireless network access information with request
To accessing wirelessly access device, also can be after accessing wirelessly access device have responded the request of mobile device, then to the nothing
Line access switch in device sends wireless network access information.Certainly, mobile device is requesting to connect to accessing wirelessly access device
When, it is sent to it the information of mark mobile equipment identity, so that the accessing wirelessly access device is able to confirm that the mobile device
Identity, to guarantee the safety of communication.
The accessing wirelessly access device can integrate in system end, be also possible to individual equipment, pass through wired or nothing
Gauze network is connect with system end.For example, the wireless network access device can be the equipment such as wireless router, it is also possible to and is
The integrated catenet equipment etc. in system end.
Step S9: accessing wirelessly access device verifies the wireless network access information received, obtains wireless network access
The corresponding access verification information of information is verified the wireless network access information received using access verification information, such as
Fruit is verified, then establishes the wireless network connection with mobile device.
In a particular embodiment, accessing wirelessly access device connects receiving the wireless network that mobile device is sent
After entering information, need to test the wireless network access information using itself storage or from the access verification information that outside obtains
Card, only after being verified, just allows the mobile device to be linked into the wireless network.If verifying does not pass through, Xiang Suoshu
Unacceptable information is verified in mobile device prompt.Certainly, the accessing wirelessly access device is in the verifying for having passed through the mobile device
Afterwards, the feedback information that be verified can also be sent to the mobile device, so as to mobile device know its be verified by feelings
Condition is communicated after being thus connected to the wireless network.
Step S10: mobile device is sent to system end for identification information is rolled;
In a particular embodiment, mobile device, should in order to inform to system end after being successfully accessed to wireless network
Two dimensional code is used, and mobile device needs to roll identification information and is sent to system end, so that system end knows the two dimension
Code has been previously used, to be updated to image in 2 D code.
Step S11: system end, which receives, rolls identification information, obtains and rolls the corresponding identity verification information of identification information, benefit
It is verified with identity verification information to identification information is rolled, thens follow the steps S12 if the verification passes.
In a particular embodiment, after system end receives the rolling identification information, if the rolling of the type identifies letter
Breath prestores identity verification information, then finds the identity verification information prestored according to the rolling identification information;If the type
The identity verification information that identification information does not prestore is rolled, then system end generates the rolling identification information pair according to corresponding rule
The identity verification information answered.For example, then prestoring corresponding number letter in system end when the rolling identification information is number
Breath, then be compared two number informations, and comparison unanimously then thinks that the rolling identification information is verified;When the rolling identifies
When information is dynamic password, system end generates the verification information of dynamic password using identical algorithm, carries out to the dynamic password
Verifying.
Step S12: whether system end inquiry prestores update two-dimensional barcode information, if so, thening follow the steps S14, otherwise
Execute step S13.
In a particular embodiment, system end knows rolling mark letter after verifying rolling identification information passes through
It ceases corresponding two-dimensional barcode information to be only used once, then the system end needs the two-dimensional barcode information for showing display end to carry out more
Newly.One group of two-dimensional barcode information can be prestored in system end, when a upper two-dimensional barcode information is used after, system end is from prestoring
Next two-dimensional barcode information is selected in two-dimensional barcode information for updating, rapidly to update two dimensional code.Certainly, system end can also
Not store two-dimensional barcode information, only when needed to acquisition one two-dimensional barcode information for update.The two-dimensional barcode information can be with
It is generated inside system end, is sent to system end after can also generating outside system end.
Step S13: system end obtains the rolling identification information of the wireless network access information and update that update, at least with
The wireless network access information of update and the rolling identification information of update generate and update two-dimensional barcode information, and execute step S14.
In a particular embodiment, when system end does not prestore two-dimensional barcode information, then system end can be with itself basis
Preset algorithm and parameter generate the rolling identification information of the wireless network access information and update that update.System end is being got
After the wireless network access information of update and the rolling identification information of update, using two dimensional code generating algorithm to the wireless of update
Network access information and the rolling identification information of update are converted and are encoded, and the two-dimensional barcode information of update is generated.System end exists
After authenticated current rolling identification information, the rolling identification information of update should be also generated, the rolling of the update identifies letter
Cease the two-dimensional barcode information for identifying this update.About the generating process for rolling identification information, it has been described in detail before, herein
It is no longer superfluous to chat.Certainly, system end can also obtain the rolling mark of the wireless network access information and update that update from external equipment
Know information.
Step S14: system end generate more new command, and will more new command and update two-dimensional barcode information be sent to display end.
In a particular embodiment, system end will notify display end to be updated two dimensional code, need to generate one more
New command, by wired or communication, by this, more new command is sent to display end, so that display end is receiving this
The display of two dimensional code is updated after more new command.
In addition, after system end has sent more new command, if system end does not receive shifting yet in preset time interval
When the rolling identification information that dynamic equipment is sent, system end can also automatically initiate more new technological process.I.e. a kind of optional embodiment
In, after above-mentioned steps S14, following steps can also be performed:
Step A: system end judges whether to be more than the predetermined time not receive rolling identification information, if it exceeds the predetermined time is not
Rolling identification information is received, S12 is thened follow the steps.
Specifically, clock module can be set in system end, which has sent primary update in system end
Start timing after instruction, when being more than the preset time, which sends more new command to display end automatically, and executes from step
Suddenly the corresponding steps after S12 starts.For example, setting starts to count for 2 minutes when system end is after having sent primary more new command
When, do not received the rolling identification information that mobile device is sent also after past 2 minute, system end needs automatically initiate more at this time
New process, i.e. system end automatically initiate the corresponding process that the information such as more new command and update two dimensional code are sent to display end.
The preset time can be a regular time, be also possible to the time changed at random.
It through the above steps, also can be one even if the replacement so that the two-dimensional barcode information that the display end is shown is not triggered
Fixed time interval is replaced, it is ensured that the two dimensional code that display end is shown is replaced periodically.
Step S15: display end receives the update two-dimensional barcode information that system end is sent, and according to updating, two-dimensional barcode information update is aobvious
The image in 2 D code shown.
In a particular embodiment, display end is after having received the update two-dimensional barcode information that system end is sent, when this
When two-dimensional barcode information is image information, the image in 2 D code is directly displayed, when the two-dimensional barcode information is coded data, then basis
The encoded information of the two-dimensional barcode information generates image in 2 D code and shows.
Likewise, display end is after having updated image in 2 D code, if display end is not received yet in preset time interval
To system end send more new command when, display end can also automatically initiate more new technological process.In i.e. a kind of optional embodiment,
After above-mentioned steps S15, following steps can also be performed:
Step B: display end judges whether to be more than the predetermined time not receive more new command, if it exceeds the predetermined time does not receive
To more new command, S2 is thened follow the steps.
Specifically, clock module also can be set in display end, which has updated one time two in display end
Start timing after dimension code image, when being more than the preset time, which sends update request to system end automatically, and executes
Corresponding steps after since step S2.For example, setting starts for 2 minutes after display end has updated an image in 2 D code
Timing did not received the more new command that system end is sent also after past 2 minute, and display end needs to automatically initiate updated at this time
Journey.
The preset time can be a regular time, be also possible to the time changed at random.
It through the above steps, also can be one even if the replacement so that the two-dimensional barcode information that the display end is shown is not triggered
Fixed time interval is replaced, it is ensured that the two dimensional code that display end is shown is replaced periodically.
Step S16: system end is according to the rolling update of identification information identity verification information of update.
In a particular embodiment, system end can use memory module and store the rolling identification information, and according to this
The identification information that rolls of update generates the corresponding identity verification information of the rolling identification information updated, by the updated mark
Verification information is as new identity verification information, so that the subsequent rolling identification information to the update is verified.
It should be noted that step S16 can be in the either step after system end has generated the rolling identification information of update
It carries out, i.e., need to only be executed after step 13 before.
Step S17: the wireless network access information of update is sent to accessing wirelessly access device by system end.
In a particular embodiment, system end is after having updated the two-dimensional barcode information that display end is shown, it is also desirable to by nothing
The wireless network access information at line access switch in device end updates, so that accessing wirelessly access device end is according to the update
The access verification information that wireless network access information is updated, the two-dimensional barcode information institute updated so as to subsequent user by scanning
The wireless network access information of the update for including accesses wireless network.
Step S18: accessing wirelessly access device receives the wireless network access information updated, according to the wireless network of update
The access verification information of access information update accessing wirelessly access device.
It should be noted that step S17 and S18 can arbitrary steps after step s 11, as long as being verified in system end
After rolling identification information passes through, the i.e. executable step S17 of system end.Of course for the timeliness for guaranteeing to update, which can be with
Complete as early as possible after step s 11, with guarantee subsequent user can proper use of wireless network access information access network.
It should be noted that the transmission process of all data can be transmitted by cipher mode in the present embodiment,
To guarantee the safety of data transmission.
Wireless network access method through this embodiment can carry out the two-dimensional barcode information that display end is shown effective
It updates, i.e., after the two-dimensional barcode information that the display end is shown is previously used once, system end can know the two-dimensional barcode information quilt
Used information, so that the two-dimensional barcode information that display end is shown is updated, so that the two-dimensional barcode information of display can only be used
Once, so that limiting user accesses the number of the wireless network, to guarantee that wireless network resource is not abused.In addition, passing through
Update to two-dimensional barcode information can make wireless network access information included in two dimensional code be not easy to be cracked, and guarantee
The safety of wireless network.
The present embodiment also provides a kind of wireless network access scheme, as shown in Fig. 2, the wireless network access scheme is using upper
State wireless network access method.Only the frame structure of the wireless network access scheme is briefly described herein, remaining is not detailed
Place is referring to aforementioned wireless networks cut-in method to the greatest extent.The wireless network access scheme include: display end 201, mobile device 202,
System end 203 and accessing wirelessly access device 204;Wherein:
Display end 201, if receiving more new command, judges whether pre- for judging whether to receive more new command
Two-dimensional barcode information is deposited or receives, if it is, obtaining image in 2 D code, and two-dimensional code display figure according to two-dimensional barcode information
Otherwise picture sends to system end 203 and updates request, and receive the update response of the transmission of system end 203, and updating includes two in response
Code information is tieed up, and image in 2 D code, and two-dimensional code display image are obtained according to two-dimensional barcode information, wherein two-dimensional barcode information is at least
Including wireless network access information and roll identification information;It is also used to receive the update two-dimensional barcode information of the transmission of system end 203, root
The image in 2 D code shown is updated according to two-dimensional barcode information is updated;
Mobile device 202, for obtaining the image in 2 D code shown on display end 201 by photoinduction mode, according to two
The encoded information that code image obtains two-dimensional barcode information is tieed up, and whether the encoded information for verifying the two-dimensional barcode information of acquisition is legal, such as
Fruit is illegal, then prompts failure information;If legal, the encoded information of two-dimensional barcode information is parsed, at least acquisition wireless network
Access information and rolling identification information, in which: wireless network access information utilizes wireless network access letter for mobile device 202
Breath access network rolls identification information for identifying two dimensional code, and sends wireless network connection to accessing wirelessly access device and ask
It asks and is sent to system end 203 and roll identification information, wireless network connection request includes at least wireless network access information;
System end 203 rolls identification information for receiving, and obtains and rolls the corresponding identity verification information of identification information, benefit
It is verified with identity verification information to identification information is rolled, then inquires whether prestore update two dimensional code letter if the verification passes
Breath, if it is, generate more new command, and will more new command and update two-dimensional barcode information be sent to display end 201, otherwise obtain
The wireless network access information of update and the rolling identification information of update, at least with the wireless network access information and more of update
New rolling identification information, which generates, updates two-dimensional barcode information, and generates more new command, and will more new command and update two dimensional code letter
Breath is sent to display end 201;It is also used to the identity verification information according to the rolling update of identification information of update;And by update
Wireless network access information is sent to accessing wirelessly access device;
Accessing wirelessly access device 204 obtains the wireless network for verifying the wireless network access information received
The corresponding access verification information of access information, using the access verification information to the wireless network access information received
It is verified, if the verification passes, then establishes the wireless network connection with mobile device 202;It is also used to receive the wireless of update
Network access information updates accessing wirelessly access device according to the wireless network access information of update and accesses verification information.
In an optional embodiment of the invention, system end 203, be also used to will the more new command and it is described more
New two-dimensional barcode information is sent to after the display end, judges whether not receiving rolling identification information more than the predetermined time, if
It does not receive rolling identification information more than the predetermined time, then inquires and whether prestore update two-dimensional barcode information, if it is, generating more
New command, and will more new command and update two-dimensional barcode information be sent to display end 201, otherwise obtain update wireless network access
The rolling identification information of information and update, it is raw at least with the wireless network access information of update and the rolling identification information of update
At update two-dimensional barcode information, and generate more new command, and will more new command and update two-dimensional barcode information be sent to display end 201.
In an optional embodiment of the invention, display end 201 is also used in the two dimensional code figure for updating display
As after, judge whether to be more than the predetermined time not receive more new command, if it exceeds the predetermined time does not receive more new command, then
Judge whether to prestore two-dimensional barcode information, if so, then updating the image in 2 D code of display according to the two-dimensional barcode information prestored;Otherwise
Request is updated to the transmission of system end 203, and receives the update response of the transmission of system end 203, according to two carried in update response
The image in 2 D code that dimension code information update is shown.
In an optional embodiment of the invention, display end 201 includes electronic ink screen;Electronic ink screen is used for
Two-dimensional code display image.
Wireless network access scheme through this embodiment can carry out the two-dimensional barcode information that display end is shown effective
It updates, i.e., after the two-dimensional barcode information that the display end is shown is previously used once, system end can know the two-dimensional barcode information quilt
Used information, so that the two-dimensional barcode information that display end is shown is updated, so that the two-dimensional barcode information of display can only be used
Once, so that limiting user accesses the number of the wireless network, to guarantee that wireless network resource is not abused.In addition, passing through
Update to two-dimensional barcode information can make wireless network access information included in two dimensional code be not easy to be cracked, and guarantee
The safety of wireless network.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art are not departing from the principle of the present invention and objective
In the case where can make changes, modifications, alterations, and variations to the above described embodiments within the scope of the invention.The scope of the present invention
By appended claims and its equivalent limit.
Claims (6)
1. a kind of wireless network access method characterized by comprising
Step S1: display end judges whether to receive more new command, if receiving the more new command, thens follow the steps S2;
Step S2: display end judges whether to prestore or receive two-dimensional barcode information, if so, thening follow the steps S4, otherwise hold
Row step S3, wherein the two-dimensional barcode information includes at least wireless network access information and rolls identification information;
Step S3: the display end is sent to system end updates request, and receives the update response that the system end is sent, described
Updating in response includes the two-dimensional barcode information, and executes step S4;
Step S4: the display end obtains image in 2 D code according to the two-dimensional barcode information, and shows the image in 2 D code;
Step S5: mobile device obtains the image in 2 D code shown on the display end by photoinduction mode;
Step S6: mobile device obtains the encoded information of the two-dimensional barcode information according to the image in 2 D code, and verifies acquisition
The two-dimensional barcode information encoded information it is whether legal, if legal, then follow the steps S7, otherwise prompt failure information;
Step S7: the mobile device parses the encoded information of the two-dimensional barcode information, at least obtains the wireless network access
Information and the rolling identification information, in which: the wireless network access information utilizes the wireless network for mobile device
Access information accesses network, and the rolling identification information is for identifying two dimensional code;
Step S8: the mobile device sends wireless network connection request to accessing wirelessly access device, and the wireless network connects
It connects request and includes at least the wireless network access information;
Step S9: the accessing wirelessly access device verifies the wireless network access information received, obtains described wireless
The corresponding access verification information of network access information accesses the wireless network received using the access verification information
Information is verified, and if the verification passes, then establishes the wireless network connection with the mobile device;
Step S10: the rolling identification information is sent to the system end by the mobile device;
Step S11: the system end receives the rolling identification information, obtains the corresponding identity verification of the rolling identification information
Information is verified the rolling identification information using the identity verification information, is thened follow the steps if the verification passes
S12;
Step S12: whether the system end inquiry prestores update two-dimensional barcode information, if so, thening follow the steps S14, otherwise
Execute step S13;
Step S13: the system end obtains the rolling identification information of the wireless network access information and update that update, at least with
The wireless network access information of the update and the rolling identification information of the update generate the update two-dimensional barcode information, and hold
Row step S14;
Step S14: the system end generates more new command, and the more new command and the update two-dimensional barcode information are sent to
The display end;
Step S15: the display end receives the update two-dimensional barcode information that the system end is sent, according to the update two dimension
The image in 2 D code that code information update is shown;
Step B: the display end judges whether to be more than not receive the more new command predetermined time, if it exceeds the predetermined time
The more new command is not received, thens follow the steps S2;
Step S16: system end identity verification information according to the rolling update of identification information of the update;
Step S17: the wireless network access information of the update is sent to the accessing wirelessly access device by the system end;
Step S18: the accessing wirelessly access device receives the wireless network access information of the update, according to the update
Wireless network access information updates the access verification information of the accessing wirelessly access device.
2. the method according to claim 1, wherein after the step S14, the method also includes:
Step A: the system end judges whether to be more than the predetermined time not receive the rolling identification information, if it exceeds pre- timing
Between do not receive the rolling identification information, then follow the steps S12.
3. method according to claim 1 or 2, which is characterized in that the display end includes electronic ink screen;
The display end shows that the image in 2 D code includes: that the display end by the electronic ink screen shows the two dimension
Code image.
4. a kind of wireless network access scheme characterized by comprising display end, mobile device, accessing wirelessly access device and
System end;Wherein:
The display end, if receiving the more new command, judges whether pre- for judging whether to receive more new command
Two-dimensional barcode information is deposited or received, if it is, obtaining image in 2 D code according to the two-dimensional barcode information, and shows described two
Code image is tieed up, is otherwise sent to the system end and updates request, and receives the update response that the system end is sent, the update
Include the two-dimensional barcode information in response, and image in 2 D code is obtained according to the two-dimensional barcode information, and shows the two dimensional code
Image, wherein the two-dimensional barcode information includes at least wireless network access information and rolls identification information;It is also used to receive described
The update two-dimensional barcode information that system end is sent updates the image in 2 D code of display according to the update two-dimensional barcode information;
The mobile device, for obtaining the image in 2 D code shown on the display end by photoinduction mode, according to
The image in 2 D code obtains the encoded information of the two-dimensional barcode information, and verifies the coding letter of the two-dimensional barcode information of acquisition
Whether legal, if illegal, prompt failure information if ceasing;If legal, the encoded information of the two-dimensional barcode information is parsed,
At least obtain the wireless network access information and the rolling identification information, in which: the wireless network access information is used for
Mobile device accesses network using the wireless network access information, and the rollings identification information is used to identify two dimensional code, and to
Accessing wirelessly access device sends wireless network connection request and sends the rolling identification information to the system end, described
Wireless network connection request includes at least the wireless network access information;
The system end obtains the corresponding identity verification letter of the rolling identification information for receiving the rolling identification information
Whether breath, verify the rolling identification information using the identity verification information, then inquire prestore if the verification passes
There is the update two-dimensional barcode information, if it is, generating more new command, and will the more new command and update two dimensional code letter
Breath is sent to the display end, otherwise obtains the wireless network access information of update and the rolling identification information of update, at least sharp
The update two-dimensional barcode information is generated with the wireless network access information of the update and the rolling identification information of the update, and
More new command is generated, and the more new command and the update two-dimensional barcode information are sent to the display end;It is also used to basis
Identity verification information described in the rolling update of identification information of the update;And the wireless network access information of the update is sent
To the accessing wirelessly access device;
The accessing wirelessly access device obtains the wireless network for verifying the wireless network access information received
The corresponding access verification information of network access information, using the access verification information to the wireless network access letter received
Breath is verified, and if the verification passes, then establishes the wireless network connection with the mobile device;It is also used to receive the update
Wireless network access information, the institute of the accessing wirelessly access device is updated according to the wireless network access information of the update
State access verification information;
The display end is also used to after the image in 2 D code for updating display, judges whether to be more than not connect the predetermined time
The more new command is received, if it exceeds the predetermined time does not receive the more new command, then judges whether to prestore two-dimensional barcode information,
If so, then updating the image in 2 D code of display according to the two-dimensional barcode information prestored, otherwise sent out to the system end
It send update to request, and receives the update response that the system end is sent, according to the two-dimensional barcode information for updating and being carried in response
Update the image in 2 D code of display.
5. system according to claim 4, which is characterized in that
The system end, be also used to by the more new command and the update two-dimensional barcode information be sent to the display end it
Afterwards, judge whether to be more than the predetermined time not receive the rolling identification information, if it exceeds the predetermined time does not receive the rolling
Identification information is then inquired and whether prestores the update two-dimensional barcode information, if it is, generating more new command, and by described in more
New command and the update two-dimensional barcode information are sent to the display end, otherwise obtain the wireless network access information and more of update
New rolling identification information, it is raw at least with the wireless network access information of the update and the rolling identification information of the update
At the update two-dimensional barcode information, and more new command is generated, and will the more new command and update two-dimensional barcode information transmission
To the display end.
6. system according to claim 4 or 5, which is characterized in that the display end includes electronic ink screen;
The electronic ink screen, for showing the image in 2 D code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610542038.0A CN105979524B (en) | 2016-07-11 | 2016-07-11 | A kind of wireless network access method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610542038.0A CN105979524B (en) | 2016-07-11 | 2016-07-11 | A kind of wireless network access method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105979524A CN105979524A (en) | 2016-09-28 |
CN105979524B true CN105979524B (en) | 2019-09-10 |
Family
ID=56952022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610542038.0A Active CN105979524B (en) | 2016-07-11 | 2016-07-11 | A kind of wireless network access method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105979524B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111831185A (en) * | 2018-02-12 | 2020-10-27 | 创新先进技术有限公司 | Application identification code display method and device |
CN109343807A (en) * | 2018-09-03 | 2019-02-15 | 苏州英创电力科技有限公司 | By the method in the information conveyance of bar code to electronics ink screen |
CN109657935A (en) * | 2018-11-30 | 2019-04-19 | 中国航空工业集团公司沈阳飞机设计研究所 | Equip record management method and system |
CN110072237A (en) * | 2019-03-13 | 2019-07-30 | 广东九联科技股份有限公司 | A kind of wireless network access scheme and its method with dual affirmation mechanism |
CN109948755A (en) * | 2019-03-14 | 2019-06-28 | 北京龙贝世纪科技股份有限公司 | A kind of update method and aviation electronics log book of aviation electronics log book |
CN111131162B (en) * | 2019-11-26 | 2022-04-05 | 广州羊城通有限公司 | Method and device for starting two-dimensional code display |
CN113691487B (en) * | 2020-05-19 | 2023-06-27 | 南宁富联富桂精密工业有限公司 | Network equipment networking method, electronic device and computer readable storage medium |
CN113347627B (en) * | 2021-05-21 | 2023-01-10 | 中国联合网络通信集团有限公司 | Wireless network access method, device and mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203951499U (en) * | 2014-06-20 | 2014-11-19 | 上海技龙计算机科技有限公司 | A kind of wireless server and system |
CN104581726A (en) * | 2015-01-15 | 2015-04-29 | 天地融科技股份有限公司 | Authentication method and system |
CN105320779A (en) * | 2015-12-10 | 2016-02-10 | 宁波摩通信息科技有限公司 | Wireless terminal information exchange system based on two-dimension code interface and application method thereof |
CN105722073A (en) * | 2015-09-10 | 2016-06-29 | 哈尔滨安天科技股份有限公司 | Terminal self-service networking method and system based on two-dimensional codes |
-
2016
- 2016-07-11 CN CN201610542038.0A patent/CN105979524B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203951499U (en) * | 2014-06-20 | 2014-11-19 | 上海技龙计算机科技有限公司 | A kind of wireless server and system |
CN104581726A (en) * | 2015-01-15 | 2015-04-29 | 天地融科技股份有限公司 | Authentication method and system |
CN105722073A (en) * | 2015-09-10 | 2016-06-29 | 哈尔滨安天科技股份有限公司 | Terminal self-service networking method and system based on two-dimensional codes |
CN105320779A (en) * | 2015-12-10 | 2016-02-10 | 宁波摩通信息科技有限公司 | Wireless terminal information exchange system based on two-dimension code interface and application method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105979524A (en) | 2016-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105979524B (en) | A kind of wireless network access method and system | |
CN104581726B (en) | A kind of authentication method and system | |
US9497630B2 (en) | Enhanced manageability in wireless data communication systems | |
EP2988534A2 (en) | Method of configuring wireless connection via near field communication function and image forming apparatus for performing the method | |
CN109391634A (en) | Establish method, terminal and the computer readable storage medium of communication | |
CN105519028B (en) | A kind of wireless system connection control method and device | |
CN104661215B (en) | The means of communication and wireless device of wireless device | |
CN103840944A (en) | Short message authentication method, server and system | |
EP2939393B1 (en) | Devices and method for controlling access to an account | |
CN104778386B (en) | The register method and system of a kind of product | |
CN110189452B (en) | Vehicle key access processing method, device and system and vehicle | |
CN101616017A (en) | Method, equipment and system that network application apparatus is configured | |
CN112689316B (en) | Binding method and device of intelligent equipment, storage medium and electronic device | |
CN108738003A (en) | Bluetooth matching method and system based on shared bluetooth communication address | |
CN112347188A (en) | Authorization and access auditing system and method based on private chain | |
CN106982430A (en) | A kind of portal authentication method and system based on user's use habit | |
US6957061B1 (en) | User authentication in a mobile communications network | |
CN103916839B (en) | The method and apparatus of issuing service information | |
CN105897722B (en) | Pass through the method, system and mobile terminal of client quick release | |
US20130227173A1 (en) | Information notification apparatus, method, and program product | |
CN109460646A (en) | Method for identifying ID, device, system, electronic equipment and readable medium | |
US10212683B2 (en) | System for allowing registration of DECT devices | |
CN112800455A (en) | Distributed data storage system, set-top box equipment and data storage method | |
KR20130012237A (en) | Apparatus and method for providing authorization based enhanced address book service in mobile communication system | |
CN110505013A (en) | Control method, system, electronic equipment and storage medium without screen equipment distribution |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200929 Address after: 6th floor, D3 building, No.1 Zhongguancun, northeast corner, intersection of Yongfeng Road and Beiqing Road, Haidian District, Beijing 100094 Patentee after: Beijing Tendyron Cryptology Co.,Ltd. Address before: 100083 B block, No. 38 clear road, Haidian District, Beijing, 1810 Patentee before: TENDYRON Corp. |
|
TR01 | Transfer of patent right |