CN204761724U - A mobile terminal for sweeping sign indicating number - Google Patents

A mobile terminal for sweeping sign indicating number Download PDF

Info

Publication number
CN204761724U
CN204761724U CN201520353308.4U CN201520353308U CN204761724U CN 204761724 U CN204761724 U CN 204761724U CN 201520353308 U CN201520353308 U CN 201520353308U CN 204761724 U CN204761724 U CN 204761724U
Authority
CN
China
Prior art keywords
target
barcode scanning
signal quality
mobile terminal
described target
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.)
Expired - Fee Related
Application number
CN201520353308.4U
Other languages
Chinese (zh)
Inventor
赵宏侠
邵晓燕
马秀玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Golden Stone Communication Technology Co Ltd
Original Assignee
Shanghai Golden Stone Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Golden Stone Communication Technology Co Ltd filed Critical Shanghai Golden Stone Communication Technology Co Ltd
Priority to CN201520353308.4U priority Critical patent/CN204761724U/en
Application granted granted Critical
Publication of CN204761724U publication Critical patent/CN204761724U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model provides a mobile terminal for sweeping sign indicating number sweeps the sign indicating number processing through sweeping yard pair of module one -dimensional sign indicating number or two bit codes, obtains yard information of sweeping of one -dimensional sign indicating number or two bit codes, sweep a yard information storage module storage and sweep a yard information, communication module will sweep yard message routing for backend server through serving access equipment AP present, obtain target AP's identity verification information, when mobile terminal test was less than signal quality threshold value to current service AP's signal quality, then processing module judged that then communication module switches to target AP according to target AP's identity verification information when if target AP's signal quality is more than or equal to signal quality threshold value, yard message routing will be swept through target AP and backend server will be given. Need not after serving AP disconnect with present, earlier through obtaining target AP's identity verification information alternately with target AP, establish with target AP again and be connected. Avoided switching and postponed to improve the stability of sweeping yard information transmission.

Description

A kind of mobile terminal for barcode scanning
Technical field
The utility model relates to the communication technology, particularly relates to a kind of mobile terminal for barcode scanning.
Background technology
One-dimension code/Quick Response Code (2-dimensionalbarcode) is according to certain rules in the mode of the chequered with black and white graphic recording data symbol information of plane distribution with certain specific geometric figure; Along with the development of technology of Internet of things, the application scenarios of one-dimension code/Quick Response Code becomes more and more wide, especially mobile terminal is utilized to scan one-dimension code/Quick Response Code, obtain the information associated with this one-dimension code/Quick Response Code that user wishes to obtain, especially for user provides a kind of information acquiring pattern of convenient and efficient.User obtains relevant information by mobile scanning terminal one-dimension code/Quick Response Code, and this relevant information is carried out data interaction by network and background server, also becomes a kind of common application service.Meanwhile, due to the universal and development of the portability of mobile terminal and cordless communication network technology, mobile terminal, how in roam procedure, ensures the relevant information of one-dimension code/Quick Response Code and the seamless transit of background server, becomes industry problem demanding prompt solution.
In roaming scence, mobile terminal, in moving process, needs access point apparatus (AccessPoint, the abbreviation: AP) switch to target AP from current service.A kind of roaming switch schematic diagram that Fig. 1 provides for prior art, with reference to Fig. 1, along with the movement of mobile terminal, the distance of the AP (hereinafter referred to as AP1) of itself and current service constantly increases, its signal associated with AP1 is also decayed gradually, when pickup electrode is low, mobile terminal starts the target AP (hereinafter referred to as AP2) detecting that signal is stronger, and mobile terminal determines to switch.Its elder generation and the current AP1 disconnection associated, then carry out authentication with new AP2, request access; AP2 verifies mobile terminal, after being verified, conditional code is returned to hand-held set; Mobile terminal sends association request frame (AssociationRequestFrame), after AP2 receives this association request frame, resolve, when association request is got permission, AP2 sends response frame (RespondFrame) to mobile terminal, comprising conditional code (StateCode) and associated designation symbol (AID), now, mobile terminal and AP2 have re-established and have associated, by the relevant information obtained by scanning one-dimension code/Quick Response Code, be transferred to background server by AP2.
But, when adopting existing roaming switch mechanism, after the AP of mobile terminal and current service disconnects, to need and target AP carries out the mutual of authentication, cause the deferring procedure of roaming switch, thus cause the mutual appearance between mobile terminal and background server to postpone.
Utility model content
The utility model provides a kind of mobile terminal for barcode scanning.
First aspect of the present utility model is to provide a kind of mobile terminal for barcode scanning, comprising: barcode scanning module, barcode scanning information storage module, communication module, processing module and authentication information memory module;
Wherein, barcode scanning module, for carrying out barcode scanning process to one-dimension code or two bit codes, obtains the barcode scanning information of described one-dimension code or two bit codes;
Described barcode scanning information storage module, for storing described barcode scanning information;
Described communication module, for sending to background server by current service access device AP by described barcode scanning information; Obtain the authentication information of target AP;
Described authentication information memory module, for storing the authentication information of described target AP;
Described processing module, for when the signal quality of described current service AP being detected lower than signal quality threshold, then judges whether the signal quality of described target AP is more than or equal to described signal quality threshold;
Described communication module, if when being also more than or equal to described signal quality threshold for the signal quality of described target AP, then switch to described target AP according to the authentication information of described target AP; By described target AP, described barcode scanning information is sent to described background server.
In conjunction with first aspect, in the implementation that the first is possible, described communication module, for obtaining the authentication information of target access device AP, specifically comprises: transmitting element and receiving element;
Described transmitting element, for sending proof of identity claim frame to described target AP;
Described receiving element, for receiving the proof of identity response frame that described target AP sends, described proof of identity response frame comprises the authentication information of described target AP.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, described communication module, if when being also more than or equal to described signal quality threshold for the signal quality of described target AP, then described mobile terminal switches to described target AP according to the authentication information of described target AP, specifically comprises:
Described transmitting element, if when being also more than or equal to described signal quality threshold for the signal quality of described target AP, then sends association request frame according to the authentication information of described target AP to described target AP;
Described receiving element, also for receiving the association response frame that described target AP sends;
Associative cell, for associating with described target AP, disconnects with described current service AP.
The mobile terminal for barcode scanning that the utility model provides, carries out barcode scanning process by barcode scanning module to one-dimension code or two bit codes, obtains the barcode scanning information of described one-dimension code or two bit codes; Described barcode scanning information storage module stores described barcode scanning information; Described barcode scanning information is sent to background server by current service access device AP by described communication module; Obtain the authentication information of target AP; Described authentication information memory module stores the authentication information of described target AP; When described mobile terminal detects the signal quality of described current service AP lower than signal quality threshold, then described processing module judges whether the signal quality of described target AP is more than or equal to described signal quality threshold; If when the signal quality of described target AP is more than or equal to described signal quality threshold, then described communication module switches to described target AP according to the authentication information of described target AP; By described target AP, described barcode scanning information is sent to described background server.The mobile terminal of described barcode scanning, by obtaining the authentication information of target AP in advance, when determining that needs switch, connects based on the authentication information of the target AP obtained and target AP.Without the need to after disconnecting with current service AP, first by obtaining the authentication information of target AP alternately with target AP, then connect with target AP.Save the interaction time obtaining the authentication information of target AP, avoided switching delay, thus improve the stability of barcode scanning information transmission.
Accompanying drawing explanation
In order to be illustrated more clearly in the utility model embodiment or technical scheme of the prior art, introduce doing one to the accompanying drawing used required in embodiment or description of the prior art simply below, apparently, accompanying drawing in the following describes is embodiments more of the present utility model, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of roaming switch schematic diagram that Fig. 1 provides for prior art;
What Fig. 2 provided for prior art a kind ofly encrypts the schematic flow sheet be associated based on WEP;
The structural representation of a kind of mobile terminal for barcode scanning that Fig. 3 provides for the utility model embodiment;
The relation schematic diagram of the AP position that Fig. 4 provides for the utility model embodiment and signal quality threshold;
The another kind that Fig. 5 provides for the utility model embodiment is for the structural representation of the mobile terminal of barcode scanning;
The another kind that Fig. 6 provides for the utility model embodiment is for the structural representation of the mobile terminal of barcode scanning;
The handoff scenario schematic diagram that Fig. 7 provides for the utility model embodiment.
Embodiment
For making the object of the utility model embodiment, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the utility model embodiment, technical scheme in the utility model embodiment is clearly and completely described, obviously, described embodiment is the utility model part embodiment, instead of whole embodiments.Based on the embodiment in the utility model, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the utility model protection.
Existing netsurfing handover mechanism adopts: mobile terminal first disconnects with current service AP, then the mode associated with target AP.Before standard IEEE 802.11 regulation mobile terminal is associated with AP, must authentication be set up, guarantee the secure accessing of mobile terminal.Current authentication generally adopts shared key mode, and based on Wired Equivalent Privacy (WiredEquivalentPrivacy, be called for short: WEP) encryption realizes authentication, what Fig. 2 provided for prior art a kind ofly encrypts the schematic flow sheet be associated based on WEP, with reference to Fig. 2, this flow process comprises the steps:
Step 1, mobile terminal send proof of identity claim frame to AP;
Step 2, AP send proof of identity response frame to mobile terminal;
Wherein, described proof of identity response frame comprises challenge text;
Step 3, mobile terminal are to inquiry text response;
Step 4, AP verify WEP and complete, and return successfully code, allow mobile terminal network visiting;
Step 5, mobile terminal are associated with AP, transmitting data frame.
As seen from Figure 2, the association process between mobile terminal and AP can be divided into 5 parts, and wherein first 4 is authentication process itself, and authentication account for very large ratio in whole association process, very consuming time.Therefore, in prior art authentication process itself consuming time longer be the major reason causing roaming switch time delay.
In sum, authentication process itself brings larger time delay to roaming switch, thus cause mobile terminal when sending to background server to process the barcode scanning obtained by barcode scanning information, due to magical time delay, and cause the delay of barcode scanning information transmission, even cause the problems such as barcode scanning information packet loss, cause background server cannot process the business relevant to barcode scanning.Consider that IEEE802.11 standard specifies that this process is essential, simultaneously and failed call must carry out associating of mobile terminal and target AP immediately after completing authentication, therefore, the utility model provides a kind of mobile terminal for barcode scanning, it can realize the mechanism of threshold value switchover policy and authentication in advance, and effectively improves roaming switch process on this basis:
At mobile terminal, barcode scanning process is carried out to one-dimension code or two bit codes, obtain the barcode scanning information of described one-dimension code or two bit codes, and after storing described barcode scanning information, at this mobile terminal before initiation handover decisions, carry out authentication in advance, by the authentication information buffer memory of the target AP of acquisition, in its normal course of communications, the connection state of Real-Time Monitoring current service AP, carry out judging whether that needs switch according to threshold value switchover policy, guarantee the necessity and the reliability that switch initiation, thus improve the stability of barcode scanning information transmission.
The structural representation of a kind of mobile terminal for barcode scanning that Fig. 3 provides for the utility model embodiment, this mobile terminal being used for barcode scanning can be the equipment such as smart mobile phone, panel computer, notebook computer.With reference to Fig. 3, this is used for the mobile terminal 100 of barcode scanning, comprising: barcode scanning module 10, barcode scanning information storage module 11, communication module 12, processing module 13 and authentication information memory module 14;
Wherein, barcode scanning module 10, for carrying out barcode scanning process to one-dimension code or two bit codes, obtains the barcode scanning information of described one-dimension code or two bit codes;
Concrete, barcode scanning module 10 is specifically as follows image input device or photoelectric scanning device etc.
Described barcode scanning information storage module 11, for storing described barcode scanning information;
Concrete, barcode scanning information storage module 11 is specifically as follows random access memory, flash memory etc.;
Described communication module 12, for sending to background server by current service access device AP by described barcode scanning information; Obtain the authentication information of target AP;
Described authentication information memory module 14, for storing the authentication information of described target AP;
Described processing module 13, for when the signal quality of described current service AP being detected lower than signal quality threshold, then judges whether the signal quality of described target AP is more than or equal to described signal quality threshold;
Described communication module 12, if when being also more than or equal to described signal quality threshold for the signal quality of described target AP, then switch to described target AP according to the authentication information of described target AP; By described target AP, described barcode scanning information is sent to described background server.
The mobile terminal for barcode scanning that the utility model embodiment provides, carries out barcode scanning process by barcode scanning module to one-dimension code or two bit codes, obtains the barcode scanning information of described one-dimension code or two bit codes; Described barcode scanning information storage module stores described barcode scanning information; Described barcode scanning information is sent to background server by current service access device AP by described communication module; Obtain the authentication information of target AP; Described authentication information memory module stores the authentication information of described target AP; When described mobile terminal detects the signal quality of described current service AP lower than signal quality threshold, then described processing module judges whether the signal quality of described target AP is more than or equal to described signal quality threshold; If when the signal quality of described target AP is more than or equal to described signal quality threshold, then described communication module switches to described target AP according to the authentication information of described target AP; By described target AP, described barcode scanning information is sent to described background server.The mobile terminal of described barcode scanning, by obtaining the authentication information of target AP in advance, when determining that needs switch, connects based on the authentication information of the target AP obtained and target AP.Without the need to after disconnecting with current service AP, first by obtaining the authentication information of target AP alternately with target AP, then connect with target AP.Save the interaction time obtaining the authentication information of target AP, avoided switching delay, thus improve the stability of barcode scanning information transmission.
Optionally, a kind of possible implementation of above-mentioned threshold value switchover policy is:
The relation schematic diagram of the AP position that Fig. 4 provides for the utility model embodiment and signal quality threshold, with reference to Fig. 4, preset mobile terminal Received signal strength amount intensity instruction (ReceivedSignalStrengthIndication, be called for short: lowest limit RSSI), i.e. signal quality threshold, if the RSSI of mobile terminal and current service AP is less than this signal quality threshold, then now must disconnect, and connect with target AP point, the size of this signal quality threshold is arranged according to actual conditions.This implementation can ensure communication quality, can avoid again switching too continually between the aps, expend the resource of system.
It should be noted that, RSSI, as the possible implementation of a kind of signal quality threshold, is only exemplarily described the scheme that the utility model provides herein, other parameter also can be adopted as the possible implementation of signal quality threshold.
On the basis of Fig. 3, the another kind that Fig. 5 provides for the utility model embodiment for the structural representation of the mobile terminal of barcode scanning, with reference to Fig. 5, described communication module 12, for obtaining the authentication information of target access device AP, specifically comprise: transmitting element 12-1 and receiving element 12-2;
Described transmitting element 12-1, for sending proof of identity claim frame to described target AP;
Described receiving element 12-2, for receiving the proof of identity response frame that described target AP sends, described proof of identity response frame comprises the authentication information of described target AP.
On the basis of Fig. 5, the another kind that Fig. 6 provides for the utility model embodiment is for the structural representation of the mobile terminal of barcode scanning, described communication module, if when being also more than or equal to described signal quality threshold for the signal quality of described target AP, then described mobile terminal switches to described target AP according to the authentication information of described target AP, specifically comprises:
Described transmitting element 12-1, if when being also more than or equal to described signal quality threshold for the signal quality of described target AP, then sends association request frame according to the authentication information of described target AP to described target AP;
Described receiving element 12-2, also for receiving the association response frame that described target AP sends;
Associative cell 12-3, for associating with described target AP, disconnects with described current service AP.
Below by concrete example, the roaming switching method that the utility model embodiment provides is described.
The handoff scenario schematic diagram that Fig. 7 provides for the utility model embodiment, with reference to Fig. 7, wherein sequence number during numeral.When mobile terminal for barcode scanning moves, can detect that the AP2 that can access is (in the distributed system of reality by the mode of active scan, multiple AP that can access can be there is), now can carry out authentication in advance with AP2, its verification mode can adopt the mode of step 101-1,101-2.After being verified, preserve the authentication information of target AP, disconnection can not be carried out with current service AP1 simultaneously, also can not send out frame immediately to AP2 request association, still keep original state, namely keep normally being connected with current service AP1.Along with the movement of mobile terminal, current service AP1 signal can progressively be decayed, and when mobile terminal detects that the signal of AP2 is stronger, adopts threshold value switchover policy mentioned above to make whether to carry out the judgement switched.First with current service AP1 disconnection, because mobile terminal completes authentication with AP2, now just do not need repeated authentication again, mobile terminal can send out frame request association directly to AP2, and be associated connection, completes roaming switch.In whole handoff procedure, what be associated is consuming time shorter, and mobile terminal can remain service connection all the time, and the transmission of barcode scanning information also can not be greatly affected.
Concrete, the mobile terminal comparison of the mobile terminal for barcode scanning that the utility model embodiment provides and prior art is as shown in table 1 below.
Table 1
As can be seen from Table 1, the roaming switching method of prior art first must carry out authentication, and then associates, and whole process (5 parts) is indivisible, and the reciprocal process of authentication is at most consuming time in whole roaming switch process.
The mobile terminal for barcode scanning that the utility model embodiment provides, front 4 parts (i.e. authentication process itself) in the mobile terminal of prior art and AP is mutual by first Authentication mechanism are fulfiled ahead of schedule, then according to actual conditions (if the semaphore of current service AP1 is lower than certain threshold value), adopt threshold value switching mode directly to send data to new AP and carry out association communication.Therefore, compared with prior art, the mobile terminal for barcode scanning that the utility model embodiment provides, its effect that saves time is: the roaming switching method time of prior art needs 1 ~ 2s, the even longer time, and consuming time of the roaming switch of the roaming switching method provided by the utility model embodiment is equivalent to traditional 10%, at about 100ms.Therefore, shorten the roaming switch time largely, make roaming more unobstructed, furthermore achieved that mobile terminal seamless roam access between the aps.
Last it is noted that above each embodiment is only in order to illustrate the technical solution of the utility model, be not intended to limit; Although be described in detail the utility model with reference to foregoing embodiments, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of each embodiment technical scheme of the utility model.

Claims (3)

1. for a mobile terminal for barcode scanning, it is characterized in that, comprising: barcode scanning module, barcode scanning information storage module, communication module, processing module and authentication information memory module;
Wherein, barcode scanning module, for carrying out barcode scanning process to one-dimension code or two bit codes, obtains the barcode scanning information of described one-dimension code or two bit codes;
Described barcode scanning information storage module, for storing described barcode scanning information;
Described communication module, for sending to background server by current service access device AP by described barcode scanning information; Obtain the authentication information of target AP;
Described authentication information memory module, for storing the authentication information of described target AP;
Described processing module, for when the signal quality of described current service AP being detected lower than signal quality threshold, then judges whether the signal quality of described target AP is more than or equal to described signal quality threshold;
Described communication module, if when being also more than or equal to described signal quality threshold for the signal quality of described target AP, then switch to described target AP according to the authentication information of described target AP; By described target AP, described barcode scanning information is sent to described background server.
2. the mobile terminal for barcode scanning according to claim 1, is characterized in that, described communication module, for obtaining the authentication information of target access device AP, specifically comprises: transmitting element and receiving element;
Described transmitting element, for sending proof of identity claim frame to described target AP;
Described receiving element, for receiving the proof of identity response frame that described target AP sends, described proof of identity response frame comprises the authentication information of described target AP.
3. the mobile terminal for barcode scanning according to claim 2, it is characterized in that, described communication module, if when being also more than or equal to described signal quality threshold for the signal quality of described target AP, then described mobile terminal switches to described target AP according to the authentication information of described target AP, specifically comprises:
Described transmitting element, if when being also more than or equal to described signal quality threshold for the signal quality of described target AP, then sends association request frame according to the authentication information of described target AP to described target AP;
Described receiving element, also for receiving the association response frame that described target AP sends;
Associative cell, for associating with described target AP, disconnects with described current service AP.
CN201520353308.4U 2015-05-28 2015-05-28 A mobile terminal for sweeping sign indicating number Expired - Fee Related CN204761724U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520353308.4U CN204761724U (en) 2015-05-28 2015-05-28 A mobile terminal for sweeping sign indicating number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520353308.4U CN204761724U (en) 2015-05-28 2015-05-28 A mobile terminal for sweeping sign indicating number

Publications (1)

Publication Number Publication Date
CN204761724U true CN204761724U (en) 2015-11-11

Family

ID=54476388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520353308.4U Expired - Fee Related CN204761724U (en) 2015-05-28 2015-05-28 A mobile terminal for sweeping sign indicating number

Country Status (1)

Country Link
CN (1) CN204761724U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116347550A (en) * 2022-12-30 2023-06-27 荣耀终端有限公司 Network switching method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116347550A (en) * 2022-12-30 2023-06-27 荣耀终端有限公司 Network switching method and electronic equipment
CN116347550B (en) * 2022-12-30 2023-10-31 荣耀终端有限公司 Network switching method and electronic equipment

Similar Documents

Publication Publication Date Title
US11246076B2 (en) Wireless network handover method and apparatus based on distance change between terminal and access points
US9338689B2 (en) Method for mobile terminal to access wireless access point and wireless access point
CN101682415B (en) Handoff of a mobile station from a first to a second type of wireless network
CN103327644B (en) A kind of method and apparatus of wireless connections
CN110267327A (en) Business transmitting method and device
CN108337707B (en) Wireless network switching method, mobile terminal and storage medium
US20070002811A1 (en) Mechanism to enable optimized provision of beacon information in WLAN networks
CN106332201A (en) Wireless hotspot switching method and mobile terminal
US10716043B2 (en) Access point handover method and device
CN103442351B (en) A kind of method protecting wireless network
KR20130055501A (en) Apparatus and method for selecting of access point
CN111417111A (en) Data processing method and network equipment
CN106507444A (en) A kind of method and device of scanning WAP
CN104717709A (en) Network switching method and device
CN105050146A (en) Roaming switching method
CN105451274A (en) Network convergence preprocessing method, device and system
CN107046699A (en) A kind of wireless terminal roaming method and device
CN114423057B (en) Channel switching method, device, AP equipment and storage medium
CN204761724U (en) A mobile terminal for sweeping sign indicating number
CN114079908A (en) Communication method, device, apparatus and storage medium in communication network
CN109561478B (en) User terminal blind redirection method, device, computer storage medium and equipment
CN104823514A (en) Backhaul link establishment method, apparatus and system
CN103152801B (en) The method and apparatus being connected is set up with wireless access device
CN103391566A (en) Method and device for optimization
US10028181B2 (en) Method, apparatus for configuring neighboring cell, and for reporting neighboring cell information

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151111

Termination date: 20180528

CF01 Termination of patent right due to non-payment of annual fee