CN104484639B - Decoding method and system - Google Patents
Decoding method and system Download PDFInfo
- Publication number
- CN104484639B CN104484639B CN201410843952.XA CN201410843952A CN104484639B CN 104484639 B CN104484639 B CN 104484639B CN 201410843952 A CN201410843952 A CN 201410843952A CN 104484639 B CN104484639 B CN 104484639B
- Authority
- CN
- China
- Prior art keywords
- code
- image
- unit
- information
- original
- 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
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a decoding method and system. Terminal decoding is combined with server decoding, when a terminal cannot conduct decoding successfully, an original code figure is uploaded to a server, the code figure is successfully analyzed as much as possible through mass information stored in the server to obtain a code value, the commodity attribute corresponding to the code value is then issued to the terminal, and therefore the success rate of code scanning for inquiring by the terminal is increased, and user experience is improved. In addition, when a two-dimensional code figure is incomplete or is abraded, the server conducts analysis to obtain a part of code value information; besides, the server can still inquire closest commodity attribute information through the part of code value information in combination with background characteristic information, and the decoding rate of the code figure is further increased. Besides, the decoding method and system have the advantages that the decoding process of the code figure is simple and efficient.
Description
Technical field
The invention belongs to technical field of information processing, and in particular to a kind of coding/decoding method and solution code system.
Background technology
At present, Quick Response Code is widely used to industry-by-industry, for example, logistics, manufacturing industry, traffic, security protection, ticket
Etc. industry.
By taking application of the Quick Response Code in merchandise sales field as an example, the use principle of Quick Response Code is introduced:(1) safety service platform
Database purchase Quick Response Code code value and item property corresponding relation;(2) Quick Response Code with the Quick Response Code code value is fixed
To on commodity, for example, Quick Response Code A is fixed on commodity A, and Quick Response Code B is fixed on commodity B;(3) businessman is after vending articles,
Buyer is using the Quick Response Code in intelligent terminal's items scanning, and Quick Response Code is decoded in intelligent terminal, obtains Quick Response Code code value;
Then, Quick Response Code code value is sent to safety service platform by intelligent terminal, and safety service platform by inquiring about data base, judgement is
It is no to there is item property corresponding with the Quick Response Code code value, if it has, the item property for finding is returned to into intelligent terminal then,
User would know that the association attributes of bought commodity.
However, above-mentioned application mode is primarily present problems with:
Usually there are the phenomenons such as incompleteness or abrasion in Quick Response Code code figure, therefore, intelligent terminal is using decoding algorithm to Quick Response Code
During code diagram code, it is often difficult to normal solution and parses Quick Response Code code value, and then cause user carry out follow-up inquiry operation, drop
Low experience of the user to commodity.
The content of the invention
For the defect that prior art is present, the present invention provides a kind of coding/decoding method and solution code system, can be in effectively solving
State problem.
The technical solution used in the present invention is as follows:
The present invention provides a kind of coding/decoding method, comprises the following steps:
S1, terminal unit collection original two dimensional code image;Wherein, the original two dimensional code image includes Quick Response Code cog region
Area image and background area image;
S2, the terminal unit to the original two dimensional code image in the Quick Response Code identification region image solve
Code, if successfully parsing code value, performs S3-S4;Otherwise, perform S5;
S3, the terminal unit disappear to the request that server sends inquiry information attribute value corresponding with the code value
Breath;
S4, the server inquire about data base with the code value as searching keyword, and can judgement inquire and the code
It is worth corresponding information attribute value;If can inquire, the information attribute value for inquiring is issued to into the terminal
Equipment, and terminate flow process;Otherwise, the notification message of inquiry failure is returned to the terminal unit, and terminates flow process;
The original two dimensional code image is uploaded onto the server by S5, the terminal unit;
S6, the server to the original two dimensional code image in the Quick Response Code identification region image decode,
Judge that success parses full code value information, if it can, then performing S4;Otherwise, determine whether that success is parsed
Part code value information, if it is not, directly returning the notification message of inquiry failure to the terminal unit, and terminates flow process;
If part code value information successfully can be parsed, S7 is performed;
S7, with the part code value information as searching keyword, can searching data storehouse, judgement inquire the server
With the information attribute value of the part code value information association;If it is not, directly return inquiry to the terminal unit losing
The notification message for losing, and terminate flow process;If it can, then determining whether that inquired information attribute value belongs to commodity class
Such commodity corresponding information attribute value if class I goodss, is then directly issued to terminal unit, and is tied by other quantity
Line journey;If two class above commodity, then S8 is performed;
S8, the server to the original two dimensional code image in the background area image carry out feature extraction, obtain
To characteristic information point;
S9, the server select the characteristic information point obtained with S8 most in the two class above commodity that S7 is obtained
The class I goodss of matching, and the information attribute value of such commodity is issued to into terminal unit, and terminate flow process.
Preferably, in S2, the terminal unit to the original two dimensional code image in the Quick Response Code identification region figure
As being decoded, specifically include:
S2.1, the terminal unit carry out contrast enhancement processing to the original two dimensional code image, then, right to strengthening
Binary conversion treatment is carried out than the image in 2 D code of degree, binaryzation image in 2 D code is obtained;
S2.2, the terminal unit carry out decoding operate to the binaryzation image in 2 D code.
Preferably, in S3, the information attribute value includes trade name information, commodity production company-information, commodity life
Produce at least one in date and time information.
Preferably, S5 is specially:
The original two dimensional code image is compressed process by the terminal unit, then by the image in 2 D code after compression
Pass to server.
Preferably, in S8, the characteristic information point is character features information point, color characteristic information point, pattern form spy
Levy at least one in information point.
Preferably, the original two dimensional code image is dot matrix image in 2 D code.
The present invention also provides a kind of solution code system, including terminal unit and server:
The terminal unit includes:
Acquisition module, for gathering original two dimensional code image;Wherein, the original two dimensional code image includes that Quick Response Code is recognized
Area image and background area image;
Decoder module, knows for the Quick Response Code in the original two dimensional code image that collects to the acquisition module
Other area image is decoded;
Enquiry module, for when the decoder module successfully parses code value, sending inquiry and the code to server
It is worth the request message of corresponding information attribute value;
Receiver module, for receiving the Query Result of the server;
Display module, for showing Query Result that the receiver module is received;
The server includes:
Receiving unit, the inquiry request that the enquiry module for receiving the terminal unit sends;Wherein, the inquiry please
Ask and carry code value;
First query unit, for the code value that received with the receiving unit as searching keyword, is inquired about data base, is sentenced
It is disconnected to inquire information attribute value corresponding with the code value;
First issuance unit, for being issued to the terminal unit by the Query Result of first query unit;
The terminal unit also includes:
Sending module, for when query unit inquiry fails, uploading to service by the original two dimensional code image
Device;
The server also includes:
Decoding unit, for decoding to the original two dimensional code image that the sending module sends;
Second query unit, for when the decoding unit parses full code value information, being believed with the complete code value
Cease for searching keyword, inquire about data base, can judgement inquire information attribute value corresponding with the full code value information;
Second issuance unit, for being issued to the terminal unit by the Query Result of second query unit;3rd
Query unit, it is for when the decoding unit parses part code value information, crucial by inquiry of the part code value information
Word, inquires about data base, and can judgement inquire the information attribute value with the part code value information association;
3rd issuance unit, for being space-time when the 3rd query unit Query Result, returns to the terminal unit
The notification message of inquiry failure;
Judging unit, for being not space-time when the 3rd query unit Query Result, determines whether that the described 3rd looks into
The information attribute value that inquiry unit is inquired belongs to the quantity of merchandise classification;
4th issuance unit, for when the judged result of the judging unit is class I goodss, directly by such commodity
Corresponding information attribute value is issued to terminal unit;
Feature extraction unit, for when the judged result of the judging unit is two class above commodity, to described original
The background area image in image in 2 D code carries out feature extraction, obtains characteristic information point;
Matching unit, for when the judging unit judged result is two class above commodity, in the two classes above business
In product, the class I goodss most matched with the characteristic information point that the feature extraction unit is extracted are selected;
5th issuance unit, the information attribute value of the commodity for the matching unit is matched are issued to terminal and set
It is standby.
Preferably, the terminal unit also includes:
Image pre-processing module, for carrying out contrast enhancement processing to the original two dimensional code image, then, to strengthening
The image in 2 D code of contrast carries out binary conversion treatment, obtains binaryzation image in 2 D code;Then, by the binaryzation Quick Response Code
Image is sent to the decoder module.
Preferably, the terminal unit also includes:
Compression module, for when query unit inquiry fails, being compressed place by the original two dimensional code image
Reason, then the image in 2 D code after compression is sent to into the sending module.
Preferably, the original two dimensional code image is dot matrix image in 2 D code.
Coding/decoding method and solution code system that the present invention is provided, with advantages below:
(1) decoding terminals and server decoding are combined, in the case that terminal cannot be successfully decoded, by source code
Figure is uploaded onto the server, and by the magnanimity information of service memory, as much as possible successfully parses code figure, obtains code value, then, then
The corresponding item property of code value is issued to terminal, so as to improve the success rate of terminal barcode scanning inquiry, improves the experience of user.
(2) when the phenomenons such as incomplete or abrasion occurs in Quick Response Code code figure, server parsing obtains part code value information, and
And, server, remains able to inquire closest item property in conjunction with background characteristics information by part code value information
Information, so that further increase code diagram code check;Additionally, also having, code figure decoding process is simple, efficient advantage.
Description of the drawings
The schematic flow sheet of the coding/decoding method that Fig. 1 is provided for the present invention.
Specific embodiment
Below in conjunction with accompanying drawing, the present invention is described in detail:
As shown in figure 1, the present invention provides a kind of coding/decoding method, comprise the following steps:
S1, terminal unit collection original two dimensional code image;Wherein, the original two dimensional code image includes Quick Response Code cog region
Area image and background area image;
Terminal unit can be smart mobile phone or intelligent barcode scanning instrument, gather original two dimensional code image and refer to:Using intelligent handss
The photographic head of the photographic head of machine or intelligent barcode scanning instrument shoots image in 2 D code.
When image in 2 D code is gathered, in addition to the Quick Response Code code figure for collecting rectangle, the back of the body of code figure turnover can be also collected
Scape image.Herein, due to the background image that collects, usually commodity corresponding with Quick Response Code code value exist and closely contact, example
Such as, for instant noodles Quick Response Code code figure, generally it is pasted onto on Package bag for instant noodles, and Package bag for instant noodles can be usually related to text
The instant noodles brand message of font formula or instant noodles graphical information.Therefore, can aid in knowing by the characteristic information of background image
Other Quick Response Code code value, detailed process can be discussed in detail in subsequent step of the present invention, repeated no more.
S2, the terminal unit to the original two dimensional code image in the Quick Response Code identification region image solve
Code, if successfully parsing code value, performs S3-S4;Otherwise, perform S5;
This step is specially:
S2.1, the terminal unit carry out contrast enhancement processing to the original two dimensional code image, then, right to strengthening
Binary conversion treatment is carried out than the image in 2 D code of degree, binaryzation image in 2 D code is obtained;
S2.2, the terminal unit carry out decoding operate to the binaryzation image in 2 D code.
S3, the terminal unit disappear to the request that server sends inquiry information attribute value corresponding with the code value
Breath;
Wherein, during information attribute value includes trade name information, commodity production company-information, commodity production date and time information
At least one.
S4, the server inquire about data base with the code value as searching keyword, and can judgement inquire and the code
It is worth corresponding information attribute value;If can inquire, the information attribute value for inquiring is issued to into the terminal
Equipment, and terminate flow process;Otherwise, the notification message of inquiry failure is returned to the terminal unit, and terminates flow process;
The original two dimensional code image is uploaded onto the server by S5, the terminal unit;
In this step, it is to save flow, can be big to the capacity for not affecting to decode by original two dimensional code compression of images first
It is little, then uploaded.I.e.:The original two dimensional code image is compressed process by the terminal unit, then by compression after two
Dimension code image is uploaded onto the server.
S6, the server to the original two dimensional code image in the Quick Response Code identification region image decode,
Judge that success parses full code value information, if it can, then performing S4;Otherwise, determine whether that success is parsed
Part code value information, if it is not, directly returning the notification message of inquiry failure to the terminal unit, and terminates flow process;
If part code value information successfully can be parsed, S7 is performed;
S7, with the part code value information as searching keyword, can searching data storehouse, judgement inquire the server
With the information attribute value of the part code value information association;If it is not, directly return inquiry to the terminal unit losing
The notification message for losing, and terminate flow process;If it can, then determining whether that inquired information attribute value belongs to commodity class
Such commodity corresponding information attribute value if class I goodss, is then directly issued to terminal unit, and is tied by other quantity
Line journey;If two class above commodity, then S8 is performed;
S8, the server to the original two dimensional code image in the background area image carry out feature extraction, obtain
To characteristic information point;
For example, characteristic information point be character features information point, color characteristic information point, in pattern form characteristic information point
It is at least one.
S9, the server select the characteristic information point obtained with S8 most in the two class above commodity that S7 is obtained
The class I goodss of matching, and the information attribute value of such commodity is issued to into terminal unit, and terminate flow process.
For convenience of understanding, it is exemplified below:
(1) successfully parse full code value information situation:
If successfully parsing full code value information, as complete code value uniquely corresponds to class I goodss, therefore it may only be necessary to directly
Inquiry data base is met, Query Result only includes two kinds of situations:There are no such commodity in data base, or, exist in data base
Unique class I goodss.
(2) due to reasons such as Quick Response Code abrasions, only successfully parse the situation of part code value information:
The corresponding relation of the code value shown in following table and merchandise classification is stored in assuming data base:
Six bit code values | Merchandise classification |
123456 | A brand instant noodles commodity |
123457 | B brand instant noodles commodity |
123459 | C brand instant noodles commodity |
457824 | Alcoholic commercial articles |
523457 | Furniture commodity |
Due to reasons such as Quick Response Code abrasions, the code value for successfully parsing is:4578xx;Wherein, x represents default, no solution
Separate out corresponding numerical value.With 4578xx as searching keyword, searching data storehouse can only inquire alcoholic commercial articles, then directly to server
Connect and the attribute information of alcoholic commercial articles is issued to into terminal unit;
If the code value for successfully parsing is:1234xx;Server with 1234xx as searching keyword, searching data storehouse,
Three class commodity can be inquired, respectively:A brand instant noodles commodity, B brand instant noodles commodity and C brand instant noodles commodity;This
When, need to further determine that the ownership of 1234xx code values;Therefore, in the present invention, to the background area image in image in 2 D code
Feature extraction is carried out, " Shanxi " printed words for example, are extracted, if for A brand instant noodles commodity, B brand instant noodles commodity and C
The production address of brand instant noodles commodity, only A brands instant noodles is Shanxi, then can clearly determine that 1234xx code values belong to A product
Then the attribute information of A brand instant noodles, is issued to terminal unit by board instant noodles;
(2) due to Quick Response Code heavy wear reason, the situation of any code value is not parsed:
The part that this kind of information slip plain code figure is lost is excessive, has both made to carry out feature extraction to background parts, it is also difficult to inquire about
To related commodity, therefore, feature extraction is carried out to background parts no longer, the notice of inquiry failure is directly returned to terminal unit
Message.
The present invention also provides a kind of solution code system, including terminal unit and server:
The terminal unit includes:
Acquisition module, for gathering original two dimensional code image;Wherein, the original two dimensional code image includes that Quick Response Code is recognized
Area image and background area image;
Decoder module, knows for the Quick Response Code in the original two dimensional code image that collects to the acquisition module
Other area image is decoded;
Enquiry module, for when the decoder module successfully parses code value, sending inquiry and the code to server
It is worth the request message of corresponding information attribute value;
Receiver module, for receiving the Query Result of the server;
Display module, for showing Query Result that the receiver module is received;
The server includes:
Receiving unit, the inquiry request that the enquiry module for receiving the terminal unit sends;Wherein, the inquiry please
Ask and carry code value;
First query unit, for the code value that received with the receiving unit as searching keyword, is inquired about data base, is sentenced
It is disconnected to inquire information attribute value corresponding with the code value;
First issuance unit, for being issued to the terminal unit by the Query Result of first query unit;
The terminal unit also includes:
Sending module, for when query unit inquiry fails, uploading to service by the original two dimensional code image
Device;
The server also includes:
Decoding unit, for decoding to the original two dimensional code image that the sending module sends;
Second query unit, for when the decoding unit parses full code value information, being believed with the complete code value
Cease for searching keyword, inquire about data base, can judgement inquire information attribute value corresponding with the full code value information;
Second issuance unit, for being issued to the terminal unit by the Query Result of second query unit;3rd
Query unit, it is for when the decoding unit parses part code value information, crucial by inquiry of the part code value information
Word, inquires about data base, and can judgement inquire the information attribute value with the part code value information association;
3rd issuance unit, for being space-time when the 3rd query unit Query Result, returns to the terminal unit
The notification message of inquiry failure;
Judging unit, for being not space-time when the 3rd query unit Query Result, determines whether that the described 3rd looks into
The information attribute value that inquiry unit is inquired belongs to the quantity of merchandise classification;
4th issuance unit, for when the judged result of the judging unit is class I goodss, directly by such commodity
Corresponding information attribute value is issued to terminal unit;
Feature extraction unit, for when the judged result of the judging unit is two class above commodity, to described original
The background area image in image in 2 D code carries out feature extraction, obtains characteristic information point;
Matching unit, for when the judging unit judged result is two class above commodity, in the two classes above business
In product, the class I goodss most matched with the characteristic information point that the feature extraction unit is extracted are selected;
5th issuance unit, the information attribute value of the commodity for the matching unit is matched are issued to terminal and set
It is standby.
The terminal unit also includes:
Image pre-processing module, for carrying out contrast enhancement processing to the original two dimensional code image, then, to strengthening
The image in 2 D code of contrast carries out binary conversion treatment, obtains binaryzation image in 2 D code;Then, by the binaryzation Quick Response Code
Image is sent to the decoder module.
The terminal unit also includes:
Compression module, for when query unit inquiry fails, being compressed place by the original two dimensional code image
Reason, then the image in 2 D code after compression is sent to into the sending module.
Coding/decoding method and solution code system that the present invention is provided, with advantages below:
(1) decoding terminals and server decoding are combined, in the case that terminal cannot be successfully decoded, by source code
Figure is uploaded onto the server, and by the magnanimity information of service memory, as much as possible successfully parses code figure, obtains code value, then, then
The corresponding item property of code value is issued to terminal, so as to improve the success rate of terminal barcode scanning inquiry, improves the experience of user.
(2) when the phenomenons such as incomplete or abrasion occurs in Quick Response Code code figure, server parsing obtains part code value information, and
And, server, remains able to inquire closest item property in conjunction with background characteristics information by part code value information
Information, so that further increase code diagram code check;Additionally, also having, code figure decoding process is simple, efficient advantage.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
Depending on protection scope of the present invention.
Claims (10)
1. a kind of coding/decoding method, it is characterised in that comprise the following steps:
S1, terminal unit collection original two dimensional code image;Wherein, the original two dimensional code image includes Quick Response Code identification region figure
Picture and background area image;
S2, the terminal unit to the original two dimensional code image in the Quick Response Code identification region image decode, such as
Fruit successfully parses code value, then perform S3-S4;Otherwise, perform S5;
S3, the terminal unit send the request message of inquiry information attribute value corresponding with the code value to server;
S4, the server inquire about data base with the code value as searching keyword, and can judgement inquire and the code value pair
The information attribute value answered;If can inquire, the information attribute value for inquiring is issued to into the terminal unit,
And terminate flow process;Otherwise, the notification message of inquiry failure is returned to the terminal unit, and terminates flow process;
The original two dimensional code image is uploaded onto the server by S5, the terminal unit;
S6, the server to the original two dimensional code image in the Quick Response Code identification region image decode, judge
Success parses full code value information, if it can, then performing S4;Otherwise, determine whether that success parses part
Code value information, if it is not, directly returning the notification message of inquiry failure to the terminal unit, and terminates flow process;If
Part code value information can be successfully parsed, then performs S7;
S7, with the part code value information as searching keyword, can searching data storehouse, judgement inquire and institute the server
State the information attribute value of part code value information association;If it is not, directly returning inquiry failure to the terminal unit
Notification message, and terminate flow process;If it can, then determining whether that inquired information attribute value belongs to merchandise classification
Such commodity corresponding information attribute value if class I goodss, is then directly issued to terminal unit, and terminates stream by quantity
Journey;If two class above commodity, then S8 is performed;
S8, the server to the original two dimensional code image in the background area image carry out feature extraction, obtain spy
Levy information point;
S9, in the two class above commodity that S7 is obtained, selection is most matched the server with the characteristic information point that S8 is obtained
Class I goodss, and the information attribute value of such commodity is issued to into terminal unit, and terminates flow process.
2. coding/decoding method according to claim 1, it is characterised in that in S2, the terminal unit is to the original two dimensional
The Quick Response Code identification region image in code image is decoded, and is specifically included:
S2.1, the terminal unit carry out contrast enhancement processing to the original two dimensional code image, then, to enhancing contrast ratio
Image in 2 D code carry out binary conversion treatment, obtain binaryzation image in 2 D code;
S2.2, the terminal unit carry out decoding operate to the binaryzation image in 2 D code.
3. coding/decoding method according to claim 1, it is characterised in that in S3, the information attribute value includes trade name
At least one in title information, commodity production company-information, commodity production date and time information.
4. coding/decoding method according to claim 1, it is characterised in that S5 is specially:
The original two dimensional code image is compressed process by the terminal unit, then the image in 2 D code after compression is uploaded to
Server.
5. coding/decoding method according to claim 1, it is characterised in that in S8, the characteristic information point are character features letter
At least one in breath point, color characteristic information point, pattern form characteristic information point.
6. the coding/decoding method according to any one of claim 1-5, it is characterised in that the original two dimensional code image is dot matrix
Image in 2 D code.
7. it is a kind of to solve code system, it is characterised in that including terminal unit and server:
The terminal unit includes:
Acquisition module, for gathering original two dimensional code image;Wherein, the original two dimensional code image includes Quick Response Code identification region
Image and background area image;
Decoder module, for the Quick Response Code cog region in the original two dimensional code image that collects to the acquisition module
Area image is decoded;
Enquiry module, for when the decoder module successfully parses code value, sending inquiry and the code value pair to server
The request message of the information attribute value answered;
Receiver module, for receiving the Query Result of the server;
Display module, for showing Query Result that the receiver module is received;
The server includes:
Receiving unit, the inquiry request that the enquiry module for receiving the terminal unit sends;Wherein, the inquiry request is taken
With code value;
First query unit, for the code value that received with the receiving unit as searching keyword, is inquired about data base, judges energy
It is no to inquire information attribute value corresponding with the code value;
First issuance unit, for being issued to the terminal unit by the Query Result of first query unit;
The terminal unit also includes:
Sending module, for when first query unit inquiry fails, uploading to service by the original two dimensional code image
Device;
The server also includes:
Decoding unit, for decoding to the original two dimensional code image that the sending module sends;
Second query unit, for when the decoding unit parses full code value information, with the full code value information being
Searching keyword, inquires about data base, and can judgement inquire information attribute value corresponding with the full code value information;
Second issuance unit, for being issued to the terminal unit by the Query Result of second query unit;3rd inquiry
Unit, for when the decoding unit parses part code value information, with the part code value information as searching keyword, looking into
Data base is ask, can judgement inquire the information attribute value with the part code value information association;
3rd issuance unit, for being space-time when the 3rd query unit Query Result, returns to the terminal unit and inquires about
The notification message of failure;
Judging unit, for being not space-time when the 3rd query unit Query Result, determines whether the 3rd cargo tracer
The information attribute value that unit inquires belongs to the quantity of merchandise classification;
4th issuance unit, for when the judged result of the judging unit is class I goodss, directly by such commodity correspondence
Information attribute value be issued to terminal unit;
Feature extraction unit, for when the judged result of the judging unit is two class above commodity, to the original two dimensional
The background area image in code image carries out feature extraction, obtains characteristic information point;
Matching unit, for when the judging unit judged result is two class above commodity, in the two classes above commodity,
The class I goodss that selection is most matched with the characteristic information point that the feature extraction unit is extracted;
5th issuance unit, the information attribute value of the commodity for the matching unit is matched are issued to terminal unit.
8. solution code system according to claim 7, it is characterised in that the terminal unit also includes:
Image pre-processing module, for carrying out contrast enhancement processing to the original two dimensional code image, then, to strengthening contrast
The image in 2 D code of degree carries out binary conversion treatment, obtains binaryzation image in 2 D code;Then, by the binaryzation image in 2 D code
It is sent to the decoder module.
9. solution code system according to claim 7, it is characterised in that the terminal unit also includes:
Compression module, for when query unit inquiry fails, the original two dimensional code image being compressed process, then
Image in 2 D code after compression is sent to into the sending module.
10. the solution code system according to any one of claim 7-9, it is characterised in that the original two dimensional code image is point
Battle array image in 2 D code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410843952.XA CN104484639B (en) | 2014-12-30 | 2014-12-30 | Decoding method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410843952.XA CN104484639B (en) | 2014-12-30 | 2014-12-30 | Decoding method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104484639A CN104484639A (en) | 2015-04-01 |
CN104484639B true CN104484639B (en) | 2017-03-22 |
Family
ID=52759180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410843952.XA Active CN104484639B (en) | 2014-12-30 | 2014-12-30 | Decoding method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104484639B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105095825A (en) * | 2015-09-28 | 2015-11-25 | 北京慧眼智行科技有限公司 | Code map decoding method, code map decoding system and code map scanning equipment |
CN106971125B (en) * | 2017-03-23 | 2020-05-19 | 义乌好耶网络技术股份有限公司 | Two-dimensional code decoding algorithm comparison verification method |
CN107679437B (en) * | 2017-09-26 | 2021-08-03 | 四川元匠科技有限公司 | Bar code image recognition method based on Zbar |
CN108491897B (en) * | 2018-01-30 | 2020-09-29 | 阿里巴巴集团控股有限公司 | Information identification method, server, client and system |
CN108334798B (en) * | 2018-03-20 | 2020-10-09 | 平安科技(深圳)有限公司 | Code scanning processing method, device and equipment and computer readable storage medium |
CN109376568A (en) * | 2018-09-19 | 2019-02-22 | 上海商米科技有限公司 | Identify the method, apparatus and system of bar code |
CN113111673B (en) * | 2021-04-09 | 2024-07-09 | 北京复兴华创技术有限公司 | Quick two-dimension code decoding method and device for production line |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101093547A (en) * | 2007-05-18 | 2007-12-26 | 上海邮政科学研究院 | Method for recognizing article by cooperating bar code based on height parameter with digit |
CN103034830A (en) * | 2011-09-30 | 2013-04-10 | 无锡爱丁阁信息科技有限公司 | Bar code decoding method and device |
CN103150392A (en) * | 2013-03-25 | 2013-06-12 | 江苏乐买到网络科技有限公司 | Method for comparing prices of similar commodities |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3516144B1 (en) * | 2002-06-18 | 2004-04-05 | オムロン株式会社 | Optical information code reading method and optical information code reader |
CN103034831B (en) * | 2011-09-30 | 2015-05-27 | 无锡爱丁阁信息科技有限公司 | Method and system for identifying linear bar code |
-
2014
- 2014-12-30 CN CN201410843952.XA patent/CN104484639B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101093547A (en) * | 2007-05-18 | 2007-12-26 | 上海邮政科学研究院 | Method for recognizing article by cooperating bar code based on height parameter with digit |
CN103034830A (en) * | 2011-09-30 | 2013-04-10 | 无锡爱丁阁信息科技有限公司 | Bar code decoding method and device |
CN103150392A (en) * | 2013-03-25 | 2013-06-12 | 江苏乐买到网络科技有限公司 | Method for comparing prices of similar commodities |
Non-Patent Citations (1)
Title |
---|
残缺和破损条形码的图像识别技术研究;郭明;《中国优秀硕士学位论文全文数据库 信息科技辑》;20140715;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104484639A (en) | 2015-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104484639B (en) | Decoding method and system | |
US6343276B1 (en) | Shoe size scanner system | |
US10073997B2 (en) | Filtering inventory objects using images in an RFID system | |
US20120006891A1 (en) | Facilitating mobile device payments using product code scanning | |
US20020145036A1 (en) | Radio frequency identification system and method | |
CN107146057B (en) | Returned goods processing method | |
CN103500391A (en) | Signing system based on NFC (Near Field Communication) mobile terminal and implementation method thereof | |
US20240220958A1 (en) | System and method for detecting unpaid items in retail store transactions | |
CN202870897U (en) | Commodity anti-fake system | |
CN110858205A (en) | Electronic commerce data processing system and method | |
Zhu et al. | Mobile RFID technology for improving m-commerce | |
CN108388931B (en) | Intelligent coding scheme and settlement system of radio frequency electronic tag in field of unmanned retail | |
Garg | Improving business logistics using barcode scanners | |
US20130282601A1 (en) | Counterfeit products detection methods and system | |
CN108415916B (en) | Goods sorting prompting method and device and electronic equipment | |
US20180155075A1 (en) | Tagging gun and method and system to use radio frequency identification tagging | |
CN203054918U (en) | Self-service Internet-of-things shopping system and self-service handheld shopping terminal | |
EP2060997A1 (en) | Radiofrequency Identification (RFID) System for the wine sector | |
US20150032842A1 (en) | Web page provision method and system associated with a two-dimensional barcode | |
CN103914777A (en) | Self-service internet-of-things shopping system and self-service handheld shopping terminal | |
CN210515534U (en) | Unified payment management platform based on big data | |
CN207909156U (en) | A kind of Intelligent clothes hanger reader | |
CN103914674A (en) | Barcode recognition method and apparatus based on android platform | |
CN105930881A (en) | Intelligent logistics management mobile terminal capable of identify cargoes automatically | |
WO2005124620A1 (en) | Method and system for monitoring sales of commodities |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180709 Granted publication date: 20170322 |
|
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20210709 Granted publication date: 20170322 |
|
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20220930 Granted publication date: 20170322 |