CN104951821A - Data transmission control method and system of wireless barcode recognizing and reading equipment - Google Patents

Data transmission control method and system of wireless barcode recognizing and reading equipment Download PDF

Info

Publication number
CN104951821A
CN104951821A CN201510275809.XA CN201510275809A CN104951821A CN 104951821 A CN104951821 A CN 104951821A CN 201510275809 A CN201510275809 A CN 201510275809A CN 104951821 A CN104951821 A CN 104951821A
Authority
CN
China
Prior art keywords
bar code
wireless
recognizing apparatus
decoding data
rssi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510275809.XA
Other languages
Chinese (zh)
Inventor
耿艳鹏
刘荣生
陈文传
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian New Continent Automatic Recognition Technology Coltd
Fujian Newland Auto ID Technology Co Ltd
Original Assignee
Fujian New Continent Automatic Recognition Technology Coltd
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 Fujian New Continent Automatic Recognition Technology Coltd filed Critical Fujian New Continent Automatic Recognition Technology Coltd
Priority to CN201510275809.XA priority Critical patent/CN104951821A/en
Publication of CN104951821A publication Critical patent/CN104951821A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a data transmission control method and system of wireless barcode recognizing and reading equipment. The data transmission control method includes: judging whether wireless connection is established or not, and if yes, sampling intensity values of wireless connection signals; sampling the intensity values of the wireless connection signals once again after barcode decoding is successful; judging whether the wireless barcode recognizing and reading equipment and an upper computer are close to each other or not, and setting a first set threshold value and a second set threshold value according to a judgment result; judging sampled signals and corresponding threshold values, and selectively passing wireless transmission barcode decoding data or storing barcode decoding data into a local storage device. Two different threshold values are set according to the circumstances of near-to-distant and distant-to-near of the wireless barcode recognizing and reading equipment and the upper computer, so that influence on transmission effectiveness caused by frequent switching nearby the threshold values can be avoided effectively. Data loss can be prevented by storing the barcode decoding data into the local storage device when transmission is unstable.

Description

A kind of wireless bar code recognizing apparatus data transfer control method and system
Technical field
The present invention relates to a kind of radio equipment data transfer control method and system, relate in particular to a kind of wireless bar code recognizing apparatus data transfer control method and system.
Background technology
Bar code (abbreviation bar code) can be divided into bar code and two-dimensional bar code, the mark that bar code is made up of one group of regularly arranged bar, sky and corresponding character, " bar " refers to the part lower to light reflectance, " sky " refers to the part higher to light reflectance, the information that the data representation that these and sky form is certain.Two-dimensional bar code is the barcode technology of a new generation of the chequered with black and white rectangle square formation record data symbol information distributed in plane (on two-dimensional directional) according to certain rules with specific geometric figure; Two-dimensional bar code can be divided into stack two-dimensional bar code and matrix two-dimensional barcode.Stack two-dimensional bar code form is form (as PDF417 bar code) by the bar code of multirow cutting back is stacking; Matrix two-dimensional barcode forms with a matrix type, matrix respective element position represents binary one with " point ", represents binary zero with " sky ", rearranges code (as QR code) by " point " and " sky ".It is large that Quick Response Code has memory capacity, comprises abundant information, and need special analysis mode, have very strong confidentiality.
In daily life and commercial Application, the use of bar code is more and more extensive, such as: the user demand to bar code of retail trade, logistic industry, financial industry is increasing.Contacting maximum in life is in supermarket, and when choosing commodity, the bar code that cashier itself is carried by bar code reader scans commodity, background devices can realize the confirmation of commodity, the calculating of price.Bar code recognizing apparatus is applied in storage center, significantly improves the efficiency that keeper makes an inventory, and keeper only need scan the bar code on kinds of goods surface, and bar code recognizing apparatus decoding bar code, can obtain inventory information, and realize record, replace traditional hand-kept.Hand-kept has the larger bit error rate, and uses bar code, and the bit error rate will be made greatly to reduce.Along with developing rapidly of logistics, the dependence of people to net purchase is more and more stronger, usual people electric business (as store, Jingdone district, Taobao) webpage is chosen and admires article, the Quick Response Code that one comprises sequence information can add on item parcels in businessman, along with in logistics transportation process, every logistics node, staff can carry out scanning recognition decoding with intelligent hand-held terminal (as the New World, Fujian identifies the MT80 portable data collector of company automatically) to bar code, by decoded bar code by Internet Transmission to back-end server, back-end server generates can for the logistics information of customer inquiries.Wireless bar code recognizing apparatus, is subject to the favor of user just day by day as the barcode device that a kind of actionradius is larger.Particularly, warehouse stock counting, logistics transportation is just growing to the demand of wireless bar code equipment.Existing wireless bar code equipment, mainly utilizes mobile data network (2G/3G/4G and subsequent network evolution), Wi-Fi, bluetooth and zigbee (purple honeybee) agreement to carry out data transmission.Wireless bar code recognizing apparatus needs to catch the image that at least one frame comprises bar code, then decodes, decoded data are being transferred to host computer.Host computer can be server, smart mobile phone, panel computer etc.In prior art, when two equipment (wireless bar code recognizing apparatus and host computer) are by wireless connections, wireless bar code equipment constantly can judge the connection status of two equipment rooms, when causing connecting instability due to distance or signal intensity attenuation, wireless bar code equipment can carry out threshold decision to the intensity of signal transmission, when threshold value is lower than setting value, the emissive power of adjustment wireless bar code recognizing apparatus, keeps the UNICOM of two equipment by increasing emissive power.And increase emissive power wireless bar code recognizing apparatus power consumption must be caused to increase, if increase emissive power, and two equipment still without effectively connecting, in this case, the bit error rate increase of data transmission, easily causes corrupt data or loss.Simple add verification to data sequence numbering, can exist and frequently carry out invalid repeating transmission behavior, repeatedly retransmit the integrality all may cannot guaranteeing data, the reliability of wireless transmission can not get ensureing, the Signal transmissions bit error rate is high.If increase emissive power to wireless bar code equipment certainly will shorten equipment task time, usually carry out extensive kinds of goods when making an inventory, need the working time that barcode device keeps longer.
Summary of the invention
For this reason, technical matters to be solved by this invention is that in prior art, wireless bar code recognizing apparatus connects to keep when signal transmission weakens, increase emissive power, but still Transmission may be there is cause loss of data, situation that transmission error rates is high, wireless transmission reliability can not get ensureing.
For solving the problems of the technologies described above, of the present invention adopted technical scheme:
A kind of wireless bar code recognizing apparatus data transfer control method, comprises the following steps:
S1: attempt setting up wireless connections, judges whether that setting up valid wireless connects; That then the intensity level of sampling wireless connection signal, is designated as RSSI (n);
S2: the two field picture that comprises bar code of decoding obtains the intensity level of sampling wireless connection signal again after bar code decoding data, is designated as RSSI (n+1);
S3: the intensity level comparing the wireless connection signal of double sampling, judge wireless bar code recognizing apparatus and host computer whether close to each other, namely judge whether the value of RSSI (n+1) is greater than RSSI (n) value;
S4: if close to each other, i.e. RSSI (n+1) >RSSI (n), then whether the intensity level of the wireless connection signal of sampling again described in judging is greater than the first setting threshold value;
S41: if so, then described bar code decoding data are transferred to host computer by wireless;
S42: if not, then by the local storage of described bar code decoding data stored in described wireless bar code recognizing apparatus;
S5: if not close to each other, i.e. RSSI (n+1)≤RSSI (n), then whether the intensity level of the wireless connection signal of sampling again described in judging is less than the second setting threshold value;
S51: if so, then by the local storage of described bar code decoding data stored in described wireless bar code recognizing apparatus;
S52: if not, then transfer to host computer by described bar code decoding data by wireless.
In described step S1, if connect without setting up valid wireless, then direct by the local storage of bar code decoding data stored in described wireless bar code recognizing apparatus.
In described step S41, first the bar code decoding data stored in described local storage are transferred to host computer successively by stored in the time order and function order in described local storage, after being transmitted, then transmit described bar code decoding data.
In described step S52, first the bar code decoding data stored in described local storage are transferred to host computer successively by stored in the time order and function order in described local storage, after being transmitted, then transmit described bar code decoding data.
Described first setting threshold value is larger than described second setting threshold value.
A kind of wireless bar code recognizing apparatus data transfer control system, comprises with lower module:
First sampling module: attempt setting up wireless connections, judges whether that setting up valid wireless connects; That then the intensity level of sampling wireless connection signal, is designated as RSSI (n);
Second sampling module: the two field picture that comprises bar code of decoding obtains the intensity level of sampling wireless connection signal again after bar code decoding data, is designated as RSSI (n+1);
Multilevel iudge module: the intensity level comparing the wireless connection signal of double sampling, judge wireless bar code recognizing apparatus and host computer whether close to each other, namely judge whether the value of RSSI (n+1) is greater than RSSI (n) value;
First processing module: if close to each other, i.e. RSSI (n+1) >RSSI (n), then whether the intensity level of the wireless connection signal of sampling again described in judging is greater than the first setting threshold value;
First transport module: if so, then described bar code decoding data are transferred to host computer by wireless;
First memory module: if not, then by the local storage of described bar code decoding data stored in described wireless bar code recognizing apparatus;
Second processing module: if not close to each other, i.e. RSSI (n+1)≤RSSI (n), then whether the intensity level of the wireless connection signal of sampling again described in judging is less than the second setting threshold value;
Second memory module: if so, then by the local storage of described bar code decoding data stored in described wireless bar code recognizing apparatus;
Second transport module: if not, then transfer to host computer by described bar code decoding data by wireless.
In described first sampling module, if connect without setting up valid wireless, then direct by the local storage of bar code decoding data stored in described wireless bar code recognizing apparatus.
In described first transport module, first the bar code decoding data stored in described local storage are transferred to host computer successively by stored in the time order and function order in described local storage, after being transmitted, then transmit described bar code decoding data.
In described second transport module, first the bar code decoding data stored in described local storage are transferred to host computer successively by stored in the time order and function order in described local storage, after being transmitted, then transmit described bar code decoding data.
Described first setting threshold value is larger than described second setting threshold value.
Technique scheme of the present invention has the following advantages compared to existing technology.
1. first a kind of wireless bar code recognizing apparatus data transfer control method of the present invention judges whether to set up wireless connections, if set up wireless connections, and the intensity level of sampling wireless connection signal.The intensity level of sampling wireless connection signal again after the success of decoding bar code, judge wireless bar code recognizing apparatus and host computer whether close to each other, and set first, second setting threshold value according to judged result, the signal of sampling and corresponding threshold value are judged, selects to store bar code decoded data by wireless transmission bar code decoding data or at local storage.By described wireless bar code recognizing apparatus and described host computer from the close-by examples to those far off, the situation that draws near, two different threshold values are set, effectively can avoid so frequently switching at Near Threshold, affect transmission availability.When transmitting unstable by bar code decoding data stored in local storage, prevent loss of data.
2. a kind of wireless bar code recognizing apparatus data transfer control method of the present invention, without when setting up valid wireless connection, during the bar code decoding data of decoding are directly stored stored in this locality, thus ensure the moment to keep duty, and adopt conventional memory device, convenient adaptive.
3. the bar code decoding data stored in local storage, when setting up valid wireless and connecting, are uploaded, are guaranteed the ageing of data by a kind of wireless bar code recognizing apparatus data transfer control method of the present invention successively successively.
4. a kind of wireless bar code recognizing apparatus data transfer control method of the present invention for described wireless bar code recognizing apparatus and described host computer from the close-by examples to those far off, the situation that draws near, when drawing near, relative motion trend due to described invalid bar code recognizing apparatus and host computer can strengthen the intensity level of described wireless connection signal to a certain extent, owing to may be the information obtained after first time Propagation solution code-bar code, for ensureing transmission stability and reliability, the ratio second of the first setting threshold value setting need be set threshold value larger.Time from the close-by examples to those far off, relative motion trend due to described invalid bar code recognizing apparatus and host computer can weaken the intensity level of described wireless connection signal to a certain extent, due to wireless bar code recognizing apparatus and host computer effective to be invalidly connected may be there is, in order to the information obtained after Propagation solution code-bar code as much as possible, therefore it is smaller the ratio first of the second setting threshold value setting need to be set threshold value.
5. first a kind of wireless bar code recognizing apparatus data transfer control system of the present invention judges whether to set up wireless connections, if set up wireless connections, and the intensity level of sampling wireless connection signal.The intensity level of sampling wireless connection signal again after the success of decoding bar code, judge wireless bar code recognizing apparatus and host computer whether close to each other, and set first, second setting threshold value according to judged result, the signal of sampling and corresponding threshold value are judged, selects to store bar code decoded data by wireless transmission bar code decoding data or at local storage.By described wireless bar code recognizing apparatus and described host computer from the close-by examples to those far off, the situation that draws near, two different threshold values are set, effectively can avoid so frequently switching at Near Threshold, affect transmission availability.When transmitting unstable by bar code decoding data stored in local storage, prevent loss of data.
6. a kind of wireless bar code recognizing apparatus data transfer control system of the present invention, without when setting up valid wireless connection, during the bar code decoding data of decoding are directly stored stored in this locality, thus ensure the moment to keep duty, and adopt conventional memory device, convenient adaptive.
7. the bar code decoding data stored in local storage, when setting up valid wireless and connecting, are uploaded, are guaranteed the ageing of data by a kind of wireless bar code recognizing apparatus data transfer control system of the present invention successively successively.
8. a kind of wireless bar code recognizing apparatus data transfer control system of the present invention for described wireless bar code recognizing apparatus and described host computer from the close-by examples to those far off, the situation that draws near, when drawing near, relative motion trend due to described invalid bar code recognizing apparatus and host computer can strengthen the intensity level of described wireless connection signal to a certain extent, owing to may be the information obtained after first time Propagation solution code-bar code, for ensureing transmission stability and reliability, the ratio second of the first setting threshold value setting need be set threshold value larger.Time from the close-by examples to those far off, relative motion trend due to described invalid bar code recognizing apparatus and host computer can weaken the intensity level of described wireless connection signal to a certain extent, due to wireless bar code recognizing apparatus and host computer effective to be invalidly connected may be there is, in order to the information obtained after Propagation solution code-bar code as much as possible, therefore it is smaller the ratio first of the second setting threshold value setting need to be set threshold value.
Accompanying drawing explanation
In order to make content of the present invention be more likely to be clearly understood, below according to a particular embodiment of the invention and by reference to the accompanying drawings, the present invention is further detailed explanation, wherein,
Fig. 1 is the process flow diagram of an embodiment of a kind of wireless bar code recognizing apparatus of the present invention data transfer control method;
Fig. 2 is the structured flowchart of an embodiment of a kind of wireless bar code recognizing apparatus of the present invention data transfer control system.
In figure, Reference numeral is expressed as: 1-first sampling module; 2-second sampling module; 3-multilevel iudge module; 4-first processing module; 41-first transport module; 42-first memory module; 5-second processing module; 51-second memory module; 52-second transport module.
Embodiment
Embodiment 1
As shown in Figure 1, be a preferred embodiment of the invention.A kind of wireless bar code recognizing apparatus data transfer control method, comprises the following steps:
S1: attempt setting up wireless connections, judges whether that setting up valid wireless connects; That then the intensity level of sampling wireless connection signal, is designated as RSSI (n); Such as first time collects intensity level RSSI (1)=-70dbm of wireless connection signal.Wireless connections described in the present embodiment can be bluetooth, zigbee, cellular data (GSM/CDMA/EVDO/WCDMA/TD-SCDMA/TDD-LTE/FDD-LTE, and follow-up evolution etc.), Wi-Fi etc.When successfully setting up wireless connections, pointed out by the slow flicker of the first attention gatter and set up wireless connections.Can be such as that the slow flicker of blue led (light emitting diode) carrys out reminding user.The frequency of slow flicker can be that 1s (second) glimmers 0.5 time, and namely 2s glimmers 1 time, also can arrange other frequencies.If connect without setting up valid wireless, wireless connections are pointed out not set up by the often bright of the first attention gatter.
S2: the two field picture that comprises bar code of decoding obtains the intensity level of sampling wireless connection signal again after bar code decoding data, be designated as RSSI (n+1), such as described wireless bar code recognizing apparatus scans the image that a frame comprises bar code, after successfully decoded, the intensity level of sampling wireless connection signal again, is RSSI (2)=-71dbm.After successfully decoded, pointing out bar code reading successfully decoded by lighting the second attention gatter, such as, can be green LED, shows green spot after successfully decoded in gathered bar code with certain geometric configuration within the time of setting.Or, described wireless bar code recognizing apparatus carries out button operation, and this button operation can trigger host computer (as server, panel computer, mobile phone etc.) performs wireless bar code recognizing apparatus as described in associative operation, then the intensity level of also sampling wireless connection signal when carrying out button operation.Also can be by setting-up time, gather the intensity level of wireless connection signal between described wireless bar code recognizing apparatus and host computer at interval of 6s (second).It is RSSI (n) that such as front 6s collects intensity level, and the current intensity level that collects is RSSI (n+1).
S3: the intensity level comparing the wireless connection signal of double sampling, judge wireless bar code recognizing apparatus and host computer whether close to each other, namely judge whether the value of RSSI (n+1) is greater than RSSI (n) value.Owing to controlling the described process of wireless bar code recognizing apparatus internal signal, the instruction of transmission be adopt binary program language, conveniently judge wireless bar code recognizing apparatus and host computer whether close to each other, take to arrange the way of zone bit mark mobile status.The communication distance of described wireless bar code recognizing apparatus and host computer, mobile status from the close-by examples to those far off, signal strength values progressively weakens, and zone bit is set to " 1 " in order to represent this mobile status; On the contrary, draw near, zone bit is set to " 0 " in order to represent this mobile status.Through many experiments, when the intensity level of wireless connection signal is lower than-90dBm, the connection between described wireless bar code recognizing apparatus and host computer is insecure.
S4: if close to each other, i.e. RSSI (n+1) >RSSI (n), then whether the intensity level of wireless connection signal of sampling again described in judging is greater than the first setting threshold value, and first to set threshold might be set be-85dbm.
S41: if so, then described bar code decoding data are transferred to host computer by wireless.Complete this step and then return S1.
S42: if not, then by the local storage of described bar code decoding data stored in described wireless bar code recognizing apparatus, stop to transmit with the data of host computer simultaneously.This process is asynchronous transmission process, when triggering this process, is pointed out described bar code decoding data stored in local storage by the fast blink of the first attention gatter.The frequency of fast blink can be 5 flickers in 1s (second) time, or arranges other frequencies and glimmer at a slow speed in order to obviously to distinguish.Complete this step and then return S1.
S5: if not close to each other, i.e. RSSI (n+1)≤RSSI (n), then whether the intensity level of wireless connection signal of sampling again described in judging is less than the second setting threshold value, and second to set threshold might be set be-90dbm.
S51: if so, then by the local storage of described bar code decoding data stored in described wireless bar code recognizing apparatus.This process is asynchronous transmission process, when triggering this process, is pointed out described bar code decoding data stored in local storage by the fast blink of the first attention gatter.The frequency of fast blink can be 5 flickers in 1s (second) time, or arranges other frequencies and glimmer at a slow speed in order to obviously to distinguish.Complete this step and then return S1.
S52: if not, then transfer to host computer by described bar code decoding data by wireless.Complete this step and then return S1.
For described wireless bar code recognizing apparatus and described host computer from the close-by examples to those far off, the situation that draws near, two different threshold values are set, effectively can avoid so frequently switching at Near Threshold, affect transmission availability.When drawing near, relative motion trend due to described invalid bar code recognizing apparatus and host computer can strengthen the intensity level of described wireless connection signal to a certain extent, owing to may be the information obtained after first time Propagation solution code-bar code, for ensureing transmission stability and reliability, the ratio second of the first setting threshold value setting need be set threshold value larger.Time from the close-by examples to those far off, relative motion trend due to described invalid bar code recognizing apparatus and host computer can weaken the intensity level of described wireless connection signal to a certain extent, due to wireless bar code recognizing apparatus and host computer effective to be invalidly connected may be there is, in order to the information obtained after Propagation solution code-bar code as much as possible, therefore it is smaller the ratio first of the second setting threshold value setting need to be set threshold value.
First a kind of wireless bar code recognizing apparatus data transfer control method described in the present embodiment judges whether to set up wireless connections, if set up wireless connections, and the intensity level of sampling wireless connection signal.The intensity level of sampling wireless connection signal again after the success of decoding bar code, judge wireless bar code recognizing apparatus and host computer whether close to each other, and set first, second setting threshold value according to judged result, the signal of sampling and corresponding threshold value are judged, selects to store bar code decoded data by wireless transmission bar code decoding data or at local storage.By described wireless bar code recognizing apparatus and described host computer from the close-by examples to those far off, the situation that draws near, two different threshold values are set, effectively can avoid so frequently switching at Near Threshold, affect transmission availability.When transmitting unstable by bar code decoding data stored in local storage, prevent loss of data.
Embodiment 2
On the basis of above-described embodiment 1, in described step S1, if connect without setting up valid wireless, then direct by the local storage of bar code decoding data stored in described wireless bar code recognizing apparatus.Local storage can be conventional memory device, as the one in nand flash memory, storage card (SD, TF, CF etc.).
A kind of wireless bar code recognizing apparatus data transfer control method described in the present embodiment, without when setting up valid wireless connection, during the bar code decoding data of decoding are directly stored stored in this locality, thus ensure the moment to keep duty, and adopt conventional memory device, convenient adaptive.
Embodiment 3
On the basis of above-described embodiment 2, in described step S41, first the bar code decoding data stored in described local storage are transferred to host computer by wireless successively by stored in the time order and function order in described local storage, after being transmitted, then transmit described bar code decoding data.Described bar code decoding data are the bar code decoding data of the up-to-date recognition successfully decoded of described wireless bar code recognizing apparatus.
The bar code decoding data stored in local storage, when setting up valid wireless and connecting, are uploaded, are guaranteed the ageing of data by a kind of wireless bar code recognizing apparatus data transfer control method described in the present embodiment successively successively.
Embodiment 4
On the basis of above-described embodiment 3, in described step S52, first the bar code decoding data stored in described local storage are transferred to host computer by wireless successively by stored in the time order and function order in described local storage, after being transmitted, then transmit described bar code decoding data.Described bar code decoding data are the bar code decoding data of the up-to-date recognition successfully decoded of described wireless bar code recognizing apparatus.
The bar code decoding data stored in local storage, when setting up valid wireless and connecting, are uploaded, are guaranteed the ageing of data by a kind of wireless bar code recognizing apparatus data transfer control method described in the present embodiment successively successively.
Embodiment 5
On the basis of above-described embodiment 4, described first setting threshold value is larger than described second setting threshold value.
A kind of wireless bar code recognizing apparatus data transfer control method described in the present embodiment for described wireless bar code recognizing apparatus and described host computer from the close-by examples to those far off, the situation that draws near, when drawing near, relative motion trend due to described invalid bar code recognizing apparatus and host computer can strengthen the intensity level of described wireless connection signal to a certain extent, owing to may be the information obtained after first time Propagation solution code-bar code, for ensureing transmission stability and reliability, the ratio second of the first setting threshold value setting need be set threshold value larger.Time from the close-by examples to those far off, relative motion trend due to described invalid bar code recognizing apparatus and host computer can weaken the intensity level of described wireless connection signal to a certain extent, due to wireless bar code recognizing apparatus and host computer effective to be invalidly connected may be there is, in order to the information obtained after Propagation solution code-bar code as much as possible, therefore it is smaller the ratio first of the second setting threshold value setting need to be set threshold value.
Embodiment 6
As shown in Figure 2, a kind of wireless bar code recognizing apparatus data transfer control system, comprises with lower module:
First sampling module 1: attempt setting up wireless connections, judges whether that setting up valid wireless connects; That then the intensity level of sampling wireless connection signal, is designated as RSSI (n).Such as first time collects intensity level RSSI (1)=-70dbm of wireless connection signal.Wireless connections described in the present embodiment can be bluetooth, zigbee, cellular data (GSM/CDMA/EVDO/WCDMA/TD-SCDMA/TDD-LTE/FDD-LTE, and follow-up evolution etc.), Wi-Fi etc.When successfully setting up wireless connections, pointed out by the slow flicker of the first attention gatter and set up wireless connections.Can be such as that the slow flicker of blue led (light emitting diode) carrys out reminding user.The frequency of slow flicker can be that 1s (second) glimmers 0.5 time, and namely 2s glimmers 1 time, also can arrange other frequencies.If connect without setting up valid wireless, wireless connections are pointed out not set up by the often bright of the first attention gatter.
Second sampling module 2: the two field picture that comprises bar code of decoding obtains the intensity level of sampling wireless connection signal again after bar code decoding data, is designated as RSSI (n+1); Such as described wireless bar code recognizing apparatus scans the image that a frame comprises bar code, and after successfully decoded, the intensity level of sampling wireless connection signal again, is RSSI (2)=-71dbm.After successfully decoded, pointing out bar code reading successfully decoded by lighting the second attention gatter, such as, can be green LED, shows green spot after successfully decoded in gathered bar code with certain geometric configuration within the time of setting.Or, described wireless bar code recognizing apparatus carries out button operation, and this button operation can trigger host computer (as server, panel computer, mobile phone etc.) performs wireless bar code recognizing apparatus as described in associative operation, then the intensity level of also sampling wireless connection signal when carrying out button operation.Also can be by setting-up time, gather the intensity level of wireless connection signal between described wireless bar code recognizing apparatus and host computer at interval of 6s (second).It is RSSI (n) that such as front 6s collects intensity level, and the current intensity level that collects is RSSI (n+1).
Multilevel iudge module 3: the intensity level comparing the wireless connection signal of double sampling, judge wireless bar code recognizing apparatus and host computer whether close to each other, namely judge whether the value of RSSI (n+1) is greater than RSSI (n) value.Owing to controlling the described process of wireless bar code recognizing apparatus internal signal, the instruction of transmission be adopt binary program language, conveniently judge wireless bar code recognizing apparatus and host computer whether close to each other, take to arrange the way of zone bit mark mobile status.Communication distance between described wireless bar code recognizing apparatus and host computer, mobile status from the close-by examples to those far off, signal strength values progressively weakens, and zone bit is set to " 1 " in order to represent this mobile status; On the contrary, draw near, zone bit is set to " 0 " in order to represent this mobile status.Through many experiments, when the intensity level of wireless connection signal is lower than-90dBm, the connection between described wireless bar code recognizing apparatus and host computer is insecure.
First processing module 4: if close to each other, i.e. RSSI (n+1) >RSSI (n), whether the intensity level of wireless connection signal of sampling again described in then judging is greater than the first setting threshold value, and first to set threshold might be set be-85dbm.
First transport module 41: if so, then described bar code decoding data are transferred to host computer by wireless.
First memory module 42: if not, then by the local storage of described bar code decoding data stored in described wireless bar code recognizing apparatus, stop to transmit with the data of host computer simultaneously.This process is asynchronous transmission process, when triggering this process, is pointed out described bar code decoding data stored in local storage by the fast blink of the first attention gatter.The frequency of fast blink can be 5 flickers in 1s (second) time, or arranges other frequencies and glimmer at a slow speed in order to obviously to distinguish.
Second processing module 5: if not close to each other, i.e. RSSI (n+1)≤RSSI (n), then whether the intensity level of wireless connection signal of sampling again described in judging is less than the second setting threshold value, and second to set threshold might be set be-90dbm.
Second memory module 51: if so, then by the local storage of described bar code decoding data stored in described wireless bar code recognizing apparatus.This process is asynchronous transmission process, when triggering this process, is pointed out described bar code decoding data stored in local storage by the fast blink of the first attention gatter.The frequency of fast blink can be 5 flickers in 1s (second) time, or arranges other frequencies and glimmer at a slow speed in order to obviously to distinguish.
Second transport module 52: if not, then transfer to host computer by described bar code decoding data by wireless.
First a kind of wireless bar code recognizing apparatus data transfer control system described in the present embodiment judges whether to set up wireless connections, if set up wireless connections, and the intensity level of sampling wireless connection signal.The intensity level of sampling wireless connection signal again after the success of decoding bar code, judge wireless bar code recognizing apparatus and host computer whether close to each other, and set first, second setting threshold value according to judged result, the signal of sampling and corresponding threshold value are judged, selects to store bar code decoded data by wireless transmission bar code decoding data or at local storage.By described wireless bar code recognizing apparatus and described host computer from the close-by examples to those far off, the situation that draws near, two different threshold values are set, effectively can avoid so frequently switching at Near Threshold, affect transmission availability.When transmitting unstable by bar code decoding data stored in local storage, prevent loss of data.
Embodiment 7
On the basis of above-described embodiment 6, in described first sampling module, if connect without setting up valid wireless, then direct by the local storage of bar code decoding data stored in described wireless bar code recognizing apparatus.Local storage can be conventional memory device, as the one in nand flash memory, storage card (SD, TF, CF etc.).
A kind of wireless bar code recognizing apparatus data transfer control system described in the present embodiment, without when setting up valid wireless connection, during the bar code decoding data of decoding are directly stored stored in this locality, thus ensure the moment to keep duty, and adopt conventional memory device, convenient adaptive.
Embodiment 8
On the basis of above-described embodiment 7, in described first transport module, first the bar code decoding data stored in described local storage are transferred to host computer by wireless successively by stored in the time order and function order in described local storage, after being transmitted, then transmit described bar code decoding data.Described bar code decoding data are the bar code decoding data of the up-to-date recognition successfully decoded of described wireless bar code recognizing apparatus.
The bar code decoding data stored in local storage, when setting up valid wireless and connecting, are uploaded, are guaranteed the ageing of data by a kind of wireless bar code recognizing apparatus data transfer control system described in the present embodiment successively successively.
Embodiment 9
On the basis of above-described embodiment 8, in described second transport module, first the bar code decoding data stored in described local storage are transferred to host computer by wireless successively by stored in the time order and function order in described local storage, after being transmitted, then transmit described bar code decoding data.Described bar code decoding data are the bar code decoding data of the up-to-date recognition successfully decoded of described wireless bar code recognizing apparatus.
The bar code decoding data stored in local storage, when setting up valid wireless and connecting, are uploaded, are guaranteed the ageing of data by a kind of wireless bar code recognizing apparatus data transfer control system described in the present embodiment successively successively.
Embodiment 10
On the basis of above-described embodiment 9, described first setting threshold value is larger than described second setting threshold value.
A kind of wireless bar code recognizing apparatus data transfer control system described in the present embodiment, for described wireless bar code recognizing apparatus and described host computer from the close-by examples to those far off, the situation that draws near, two different threshold values are set, effectively can avoid so frequently switching at Near Threshold, affect transmission availability.When drawing near, relative motion trend due to described invalid bar code recognizing apparatus and host computer can strengthen the intensity level of described wireless connection signal to a certain extent, owing to may be the information obtained after first time Propagation solution code-bar code, for ensureing transmission stability and reliability, the ratio second of the first setting threshold value setting need be set threshold value larger.Time from the close-by examples to those far off, relative motion trend due to described invalid bar code recognizing apparatus and host computer can weaken the intensity level of described wireless connection signal to a certain extent, due to wireless bar code recognizing apparatus and host computer effective to be invalidly connected may be there is, in order to the information obtained after Propagation solution code-bar code as much as possible, therefore it is smaller the ratio first of the second setting threshold value setting need to be set threshold value.
Obviously, above-described embodiment is only for clearly example being described, and the restriction not to embodiment.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here exhaustive without the need to also giving all embodiments.And thus the apparent change of extending out or variation be still among the protection domain of the invention.

Claims (10)

1. a wireless bar code recognizing apparatus data transfer control method, is characterized in that, comprises the following steps:
S1: attempt setting up wireless connections, judges whether that setting up valid wireless connects; That then the intensity level of sampling wireless connection signal, is designated as RSSI (n);
S2: the two field picture that comprises bar code of decoding obtains the intensity level of sampling wireless connection signal again after bar code decoding data, is designated as RSSI (n+1);
S3: the intensity level comparing the wireless connection signal of double sampling, judge wireless bar code recognizing apparatus and host computer whether close to each other, namely judge whether the value of RSSI (n+1) is greater than RSSI (n) value;
S4: if close to each other, i.e. RSSI (n+1) >RSSI (n), then whether the intensity level of the wireless connection signal of sampling again described in judging is greater than the first setting threshold value;
S41: if so, then described bar code decoding data are transferred to host computer by wireless;
S42: if not, then by the local storage of described bar code decoding data stored in described wireless bar code recognizing apparatus;
S5: if not close to each other, i.e. RSSI (n+1)≤RSSI (n), then whether the intensity level of the wireless connection signal of sampling again described in judging is less than the second setting threshold value;
S51: if so, then by the local storage of described bar code decoding data stored in described wireless bar code recognizing apparatus;
S52: if not, then transfer to host computer by described bar code decoding data by wireless.
2. a kind of wireless bar code recognizing apparatus data transfer control method according to claim 1, it is characterized in that, in described step S1, if connect without setting up valid wireless, then direct by the local storage of bar code decoding data stored in described wireless bar code recognizing apparatus.
3. a kind of wireless bar code recognizing apparatus data transfer control method according to claim 2, it is characterized in that, in described step S41, first the bar code decoding data stored in described local storage are transferred to host computer successively by stored in the time order and function order in described local storage, after being transmitted, then transmit described bar code decoding data.
4. a kind of wireless bar code recognizing apparatus data transfer control method according to claim 3, it is characterized in that, in described step S52, first the bar code decoding data stored in described local storage are transferred to host computer successively by stored in the time order and function order in described local storage, after being transmitted, then transmit described bar code decoding data.
5. a kind of wireless bar code recognizing apparatus data transfer control method according to claim 4, is characterized in that, described first setting threshold value is larger than described second setting threshold value.
6. a wireless bar code recognizing apparatus data transfer control system, is characterized in that, comprises with lower module:
First sampling module: attempt setting up wireless connections, judges whether that setting up valid wireless connects; That then the intensity level of sampling wireless connection signal, is designated as RSSI (n);
Second sampling module: the two field picture that comprises bar code of decoding obtains the intensity level of sampling wireless connection signal again after bar code decoding data, is designated as RSSI (n+1);
Multilevel iudge module: the intensity level comparing the wireless connection signal of double sampling, judge wireless bar code recognizing apparatus and host computer whether close to each other, namely judge whether the value of RSSI (n+1) is greater than RSSI (n) value;
First processing module: if close to each other, i.e. RSSI (n+1) >RSSI (n), then whether the intensity level of the wireless connection signal of sampling again described in judging is greater than the first setting threshold value;
First transport module: if so, then described bar code decoding data are transferred to host computer by wireless;
First memory module: if not, then by the local storage of described bar code decoding data stored in described wireless bar code recognizing apparatus;
Second processing module: if not close to each other, i.e. RSSI (n+1)≤RSSI (n), then whether the intensity level of the wireless connection signal of sampling again described in judging is less than the second setting threshold value;
Second memory module: if so, then by the local storage of described bar code decoding data stored in described wireless bar code recognizing apparatus;
Second transport module: if not, then transfer to host computer by described bar code decoding data by wireless.
7. a kind of wireless bar code recognizing apparatus data transfer control system according to claim 6, it is characterized in that, in described first sampling module, if connect without setting up valid wireless, then direct by the local storage of bar code decoding data stored in described wireless bar code recognizing apparatus.
8. a kind of wireless bar code recognizing apparatus data transfer control system according to claim 7, it is characterized in that, in described first transport module, first the bar code decoding data stored in described local storage are transferred to host computer successively by stored in the time order and function order in described local storage, after being transmitted, then transmit described bar code decoding data.
9. a kind of wireless bar code recognizing apparatus data transfer control system according to claim 8, it is characterized in that, in described second transport module, first the bar code decoding data stored in described local storage are transferred to host computer successively by stored in the time order and function order in described local storage, after being transmitted, then transmit described bar code decoding data.
10. a kind of wireless bar code recognizing apparatus data transfer control system according to claim 9, is characterized in that, described first setting threshold value is larger than described second setting threshold value.
CN201510275809.XA 2015-05-27 2015-05-27 Data transmission control method and system of wireless barcode recognizing and reading equipment Pending CN104951821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510275809.XA CN104951821A (en) 2015-05-27 2015-05-27 Data transmission control method and system of wireless barcode recognizing and reading equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510275809.XA CN104951821A (en) 2015-05-27 2015-05-27 Data transmission control method and system of wireless barcode recognizing and reading equipment

Publications (1)

Publication Number Publication Date
CN104951821A true CN104951821A (en) 2015-09-30

Family

ID=54166460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510275809.XA Pending CN104951821A (en) 2015-05-27 2015-05-27 Data transmission control method and system of wireless barcode recognizing and reading equipment

Country Status (1)

Country Link
CN (1) CN104951821A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101109811A (en) * 2006-07-20 2008-01-23 株式会社半导体能源研究所 Position information detection system and position information detection method
KR100936004B1 (en) * 2008-09-22 2010-01-08 에스티엑스조선해양 주식회사 Steel plate barcode detecting system using pattern matching
CN101891052A (en) * 2010-03-30 2010-11-24 江苏六维物流设备实业有限公司 New piler cargo quick stock-taking technique based on RFID
US20120091202A1 (en) * 2000-06-09 2012-04-19 Flash Seats, Llc Mobile application bar code identification method and system
CN104504357A (en) * 2014-12-23 2015-04-08 福建新大陆自动识别技术有限公司 Automatic barcode scanner and scanning method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120091202A1 (en) * 2000-06-09 2012-04-19 Flash Seats, Llc Mobile application bar code identification method and system
CN101109811A (en) * 2006-07-20 2008-01-23 株式会社半导体能源研究所 Position information detection system and position information detection method
KR100936004B1 (en) * 2008-09-22 2010-01-08 에스티엑스조선해양 주식회사 Steel plate barcode detecting system using pattern matching
CN101891052A (en) * 2010-03-30 2010-11-24 江苏六维物流设备实业有限公司 New piler cargo quick stock-taking technique based on RFID
CN104504357A (en) * 2014-12-23 2015-04-08 福建新大陆自动识别技术有限公司 Automatic barcode scanner and scanning method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁茂峰: "条形码数据用蓝牙采集", 《金卡工程》 *

Similar Documents

Publication Publication Date Title
KR101597199B1 (en) Rfid portal system with rfid tags having various read ranges
US20080191845A1 (en) Location-Based Power Management in RFID Applications
US20100019907A1 (en) Self Tuning RFID
US7825806B2 (en) Optimizing RFID reader duty cycle or power to preserve battery life
EP1677228A1 (en) Radio frequency identification (RFID) tag, portable terminal, and server for RFID tag
US7663486B2 (en) RFID tag user memory indication
CN106650530B (en) Enhanced quaternary tree anti-collision algorithm suitable for RFID system
US20070236331A1 (en) Preventing timeout of RFID tag in timed state of air-interface protocol
CN102708341A (en) Label anti-collision method for radio frequency identification (RFID) system
CN103761500A (en) Intelligent book locating device based on two-dimension code technology
US9858454B2 (en) Method and a radio tag communication apparatus
Hessar et al. Energy based performance evaluation of passive EPC Gen 2 class 1 RFID systems
CN102663458A (en) Multi-core UHF RFID reader-writer realized by application software
KR20100015224A (en) Method of recogniging rfid tag for the purpose of preventing throughput inversion and rfid reader performing the same
US20080191843A1 (en) Scanning Settings Inferred From Prior Scan Data
Huang et al. Efficient dynamic framed slotted aloha for rfid passive tags
CN104933384A (en) Wireless bar code recognition and reading equipment
CN104951821A (en) Data transmission control method and system of wireless barcode recognizing and reading equipment
CN104951822A (en) Data transmission control method and data transmission control system for Bluetooth bar code identifying and reading equipment
CN202838372U (en) Storage detection device
CN104951820A (en) Bluetooth mark identifying and reading equipment
Cui et al. A modified Q-parameter anti-collision scheme for RFID systems
CN203838734U (en) Hand-held type internet of things terminal
CN202929646U (en) Information acquisition statistical system based on article networking
US20090160611A1 (en) Enhanced Communication Via RFID Interrogator

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20180601

AD01 Patent right deemed abandoned