CN104519033A - Data exchange system and data exchange method based on two-dimensional code information protocol - Google Patents

Data exchange system and data exchange method based on two-dimensional code information protocol Download PDF

Info

Publication number
CN104519033A
CN104519033A CN201310462779.4A CN201310462779A CN104519033A CN 104519033 A CN104519033 A CN 104519033A CN 201310462779 A CN201310462779 A CN 201310462779A CN 104519033 A CN104519033 A CN 104519033A
Authority
CN
China
Prior art keywords
code
yard
gateway
processed
information
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.)
Granted
Application number
CN201310462779.4A
Other languages
Chinese (zh)
Other versions
CN104519033B (en
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.)
Founder Mobile Media Technology Beijing Co Ltd
Peking University Founder Group Co Ltd
Original Assignee
Founder Mobile Media Technology Beijing Co Ltd
Peking University Founder Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Founder Mobile Media Technology Beijing Co Ltd, Peking University Founder Group Co Ltd filed Critical Founder Mobile Media Technology Beijing Co Ltd
Priority to CN201310462779.4A priority Critical patent/CN104519033B/en
Publication of CN104519033A publication Critical patent/CN104519033A/en
Application granted granted Critical
Publication of CN104519033B publication Critical patent/CN104519033B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a data exchange system and a data exchange method based on a two-dimensional code information protocol. The data exchange system comprises a code making channel, a code sending channel, a service system, a code verifying tool and a code gateway. The data exchange method includes that the service system initiates a code making request to the code gateway; according to preset code making rules and code sending rules, the code gateway selects the proper code making channel and the proper code sending channel by combining parameters in the request to make and send codes; the code making channel makes the codes according to selection of the code gateway; the code sending channel sends the codes according to selection of the code gateway and sends generated two-dimensional codes to a client side; the code verifying tool recognizes and reads the two-dimensional codes and then sends back code verification information to the code gateway; the code gateway forwards the code verification information sent back by the code verifying tool to the service system; the service system processes the code verification information and sends results to the code gateway; the code gateway returns the code verification results to the code verifying tool, and the code verifying tool displays the code verification results. By the data exchange system and the data exchange method, the problems of single type and limited application range of two-dimensional code data exchange in the prior art are solved.

Description

A kind of System and method for carrying out exchanges data based on 2 D code information agreement
Technical field
The present invention relates to two-dimensional code data process field, specifically a kind of System and method for carrying out exchanges data based on 2 D code information agreement.
Background technology
Quick Response Code is the bar code utilizing the chequered with black and white geometric figure distributed according to certain rules on the two-dimensional directional of plane to come record data, information, is also referred to as " two-dimensional bar code " or " two-dimensional bar ".Compare with bar code, it has, and area is little, information memory capacity is large, coding range is wide, fault-tolerant ability is strong, reliability of decode is high, low cost and other advantages.Quick Response Code stores and Transfer Technology as a kind of new information, through effort for many years, obtains use widely in every field, and it can in horizontal and vertical two orientation expressing information simultaneously.Quick Response Code needs to carry out recognition by image input device or photoelectric scanning device to it and obtains two-dimensional code data, automatically processes to realize information.
Distinguishing two-dimensional code data and 2 D code information is sent to mobile terminal by network, is one of important application of Quick Response Code.Some are had to process two-dimensional code data and the method exchanged in prior art, as the method and the device that use Quick Response Code to carry out gene data exchange in DNA analysis, gene data is converted to image in 2 D code, again peak figure corresponding for described gene data is exported together with described image in 2 D code, receiving terminal obtains the image in 2 D code comprising gene data, and described image in 2 D code of decoding obtains gene data.The deficiency of the program is only to carry out Quick Response Code conversion to the data of this specific type of DNA, Quick Response Code traffic data type is more single, and the business scope of Quick Response Code application is very extensive in actual life, the convertible data type of Quick Response Code is also a lot, when needing when there being multiple business to use Quick Response Code, adopt the program cannot carry out Quick Response Code conversion and transmission to the business datum of other type simultaneously, cause the range of application of Quick Response Code to be restricted.
Summary of the invention
For this reason, technical problem to be solved by this invention is that in prior art, two-dimensional code data translation type is single, the range of application of Quick Response Code is restricted, thus proposes a kind of System and method for carrying out exchanges data based on 2 D code information agreement that can carry out Quick Response Code conversion and transmission to the data of miscellaneous service type.
For solving the problems of the technologies described above, the invention provides a kind of System and method for carrying out exchanges data based on 2 D code information agreement.
Carry out a code gateway for exchanges data based on 2 D code information agreement, comprising:
Receiving element: the code request processed receiving operation system;
Coding unit processed: select appropriate code channel processed and signaling channel to perform code processed and signaling respectively;
Passback retransmission unit: be given to operation system by testing a yard data message for instrument passback;
Return retransmission unit: after yard information is tested in the process of standby service system, object information is transmitted to and tests a yard instrument and show.
Carry out a code gateway processes method for exchanges data based on 2 D code information agreement, comprise following process:
Receive the code request processed of operation system;
Appropriate code channel processed and signaling channel is selected to perform code processed and signaling respectively;
Operation system is given to by testing a yard data message for instrument passback;
After yard information is tested in the process of standby service system, object information is transmitted to and tests a yard instrument and show.
Carry out a system for exchanges data based on 2 D code information agreement, comprising:
Code channel processed: be connected with code platform processed, provides code channel processed;
Signaling channel: be connected with signaling platform, provides signaling channel;
Operation system: be connected with code gateway, stores code rule processed and the signaling rule of practical business;
Test a yard instrument: read 2 D code information and return;
Code gateway: with described code channel processed, signaling channel, operation system, test a yard instrument and be connected respectively, receive the code request processed of operation system, and select appropriate code channel processed and signaling channel to perform code operations processed and signaling operation respectively, and be given to operation system by testing a yard data message for instrument passback, after yard information is tested in the process of standby service system, object information is transmitted to and tests a yard instrument and show.
The described system of carrying out exchanges data based on 2 D code information agreement, also comprises the multiplexing method, system of trade company, is connected with code gateway, is third-party gateway system.
The described system of carrying out exchanges data based on 2 D code information agreement, described in test a yard instrument and comprise and own test yard instrument and/or facility provider system, wherein:
Have by oneself and test a yard instrument: be connected with code gateway, make and manage and test a yard terminal, code is tested to Quick Response Code;
Facility provider system: be connected with code gateway, for the code of testing of Quick Response Code provides third party to test a yard terminal, and tests a yard terminal to third party and manages.
The described system of carrying out exchanges data based on 2 D code information agreement, described code rule processed comprises the information element of code processed.
The described system of carrying out exchanges data based on 2 D code information agreement, described signaling rule comprises Quick Response Code signaling platform, Quick Response Code recipient information.
The described system of carrying out exchanges data based on 2 D code information agreement, described in test a yard instrument and comprise single hand-held unit, cell-phone customer terminal.
Carry out a method for exchanges data based on 2 D code information agreement, comprise following process:
Operation system initiates code request processed to code gateway;
Code gateway is regular and signaling rule according to the code processed that configured in advance is good, in conjunction with the parameter in this request, selects appropriate code channel processed and signaling channel, performs code processed and signaling;
Code channel processed carries out code operations processed according to the selection of code gateway, generates Quick Response Code;
Signaling channel carries out signaling operation according to the selection of code gateway, and the Quick Response Code of described generation is issued to client;
Test after a yard instrument distinguishes out described Quick Response Code, yard information back will be tested to code gateway;
Described code gateway is given to operation system by testing yard yard information of testing of instrument passback;
Test a yard information described in described operation system process, and result is sent to a yard gateway;
Test described in described code gateway returns yard result to described in test a yard instrument, described in test yard instrument and carry out testing yard result and show.
The described method of carrying out exchanges data based on 2 D code information agreement, described in test yard instrument for own test that yard instrument or third party provide test a yard terminal.
The described method of carrying out exchanges data based on 2 D code information agreement, described code process processed comprises data analysis, data encoding, error correction coding, structure final data information, structural matrix, mask, production form and version information.
The described method of carrying out exchanges data based on 2 D code information agreement, described in test a yard process comprise picture strengthen process, binary conversion treatment, detection test pattern, correction graph detection, Geometry rectification, code figure sampling, information gathering.
The described method of carrying out exchanges data based on 2 D code information agreement, described signaling channel comprises short message channel.
Technique scheme of the present invention has the following advantages compared to existing technology:
(1) the code gateway carrying out exchanges data based on 2 D code information agreement of the present invention comprises receiving element, coding unit processed, returns retransmission unit, returns retransmission unit, its processing method is the code request processed receiving operation system, appropriate code channel processed and signaling channel is selected to perform code processed and signaling respectively, the data message testing the passback of yard instrument is given to after the process of operation system standby service system tests yard information, object information is transmitted to and tests a yard instrument and show.Quick Response Code can be applied in the Inside and outside network system of physical isolation like this, the management system of Intranet and the business platform of outer net and customer mobile terminal are carried out data transmission by planar bar code technology.
(2) system of carrying out exchanges data based on 2 D code information agreement of the present invention comprises code channel processed, signaling channel, operation system, test a yard instrument, code gateway, the method for interchanging data of its correspondence is that operation system initiates code request processed to code gateway, code gateway is regular and signaling rule according to the code processed that configured in advance is good, in conjunction with the parameter in this request, select appropriate code channel processed and signaling channel, perform code processed and signaling, code channel processed carries out code operations processed according to the selection of code gateway, generate Quick Response Code, signaling channel carries out signaling operation according to the selection of code gateway, the Quick Response Code of described generation is issued to client, test after a yard instrument distinguishes out described Quick Response Code, yard information back will be tested to code gateway, described code gateway is given to operation system by testing yard yard information of testing of instrument passback, a yard information is tested described in described operation system process, and result is sent to a yard gateway, test described in described code gateway returns yard result to described in test a yard instrument, described yard instrument of testing carries out testing a yard result displaying.Signaling channel processed, operation system and facility resource is introduced like this by code gateway, unify to provide two-dimensional code data function of exchange for each operation system, and the data type of operation system is not limited, thus Quick Response Code conversion and transmission can be carried out for the data of miscellaneous service type, realize remote real-time access and operation, expand the range of application of Quick Response Code.
(3) system of carrying out exchanges data based on 2 D code information agreement of the present invention also comprises the multiplexing method, system of trade company, be connected with code gateway, for third-party gateway system, by third party's gateway system, third party's operation system also can utilize the resource of native system, reach resource-sharing, and expand the range of application of Quick Response Code further.
(4) of the present inventionly carry out in the system of exchanges data based on 2 D code information agreement, a described yard instrument of testing comprises and own tests yard instrument and/or facility provider system, own test yard instrument and be connected with code gateway, make and manage and test a yard terminal, code is tested to Quick Response Code, the conversion operations of two-dimensional code data is convenient and swift, and reliability is high, and fault-tolerant ability is strong.The code of testing that simultaneously facility provider system is Quick Response Code provides third party to test a yard terminal, and tests a yard terminal to third party and manage, and facilitates third party's operation system data and native system to carry out Quick Response Code converting transmission.
(5) of the present inventionly carry out in the system of exchanges data based on 2 D code information agreement, a described yard instrument of testing comprises single hand-held unit, cell-phone customer terminal, the variation of testing yard instrument brings more selection to user, if and user adopts the mode of cell-phone customer terminal, just do not need professional recognizing apparatus, only need a mobile phone just can carry out testing code operations, very convenient.
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 structure chart of the code gateway that the embodiment of the present invention 1 provides;
Fig. 2 is the system construction drawing carrying out exchanges data based on 2 D code information agreement that the embodiment of the present invention 3 provides;
Fig. 3 is the system construction drawing carrying out exchanges data based on 2 D code information agreement that the embodiment of the present invention 4 provides;
Fig. 4 is the network topological diagram carrying out exchanges data based on 2 D code information agreement that the embodiment of the present invention 4 provides;
Fig. 5 is that a yard schematic diagram tested by the own yard instrument of testing that the embodiment of the present invention 5 provides;
Fig. 6 is the code processed that provides of the embodiment of the present invention 6 and signaling schematic flow sheet;
Fig. 7 is that the facility provider that the embodiment of the present invention 6 provides tests a yard schematic diagram.
Embodiment
embodiment 1
The present embodiment provides a kind of code gateway carrying out exchanges data based on 2 D code information agreement, and its structure as shown in Figure 1, comprising:
Receiving element: the code request processed receiving operation system;
Coding unit processed: select appropriate code channel processed and signaling channel to perform code processed and signaling respectively;
Passback retransmission unit: be given to operation system by testing a yard data message for instrument passback;
Return retransmission unit: after yard information is tested in the process of standby service system, object information is transmitted to and tests a yard instrument and show.
The code gateway carrying out exchanges data based on 2 D code information agreement described in the present embodiment comprises receiving element, coding unit processed, returns retransmission unit, returns retransmission unit, its processing method is the code request processed receiving operation system, appropriate code channel processed and signaling channel is selected to perform code processed and signaling respectively, the data message testing the passback of yard instrument is given to after the process of operation system standby service system tests yard information, object information is transmitted to and tests a yard instrument and show.Quick Response Code can be applied in the Inside and outside network system of physical isolation like this, the management system of Intranet and the business platform of outer net and customer mobile terminal are carried out data transmission by planar bar code technology.
embodiment 2
The present embodiment provides a kind of code gateway processes method of carrying out exchanges data based on 2 D code information agreement, comprises following process:
Receiving course: the code request processed receiving operation system, operation system is herein actual application system, deposits the logic rules of business;
Signaling process processed: according to the logic rules of business, selects appropriate code channel processed and signaling channel to perform code processed and signaling respectively;
Passback repeating process: after testing yard instrument and completing the checking of Quick Response Code, is given to operation system by testing a yard data message for instrument passback;
Return repeating process: after the data message of operation system to passback processes, be transmitted to by object information and test a yard instrument and show, object information herein comprises the concrete business consumption of user.
The code gateway processes method of carrying out exchanges data based on 2 D code information agreement described in the present embodiment is the code request processed receiving operation system, appropriate code channel processed and signaling channel is selected to perform code processed and signaling respectively, the data message testing the passback of yard instrument is given to after the process of operation system standby service system tests yard information, object information is transmitted to and tests a yard instrument and show.Quick Response Code can be applied in the Inside and outside network system of physical isolation like this, the management system of Intranet and the business platform of outer net and customer mobile terminal are carried out data transmission by planar bar code technology.
embodiment 3
The present embodiment provides a kind of system of carrying out exchanges data based on 2 D code information agreement, and its structure as shown in Figure 2, comprising:
Code channel processed: be connected with code platform processed, provides code channel processed;
Signaling channel: be connected with signaling platform, provides signaling channel;
Operation system: be connected with code gateway, stores code rule processed and the signaling rule of practical business;
Test a yard instrument: read 2 D code information and return;
Code gateway: with described code channel processed, signaling channel, operation system, test a yard instrument and be connected respectively, receive the code request processed of operation system, and select appropriate code channel processed and signaling channel to perform code operations processed and signaling operation respectively, and be given to operation system by testing a yard data message for instrument passback, after yard information is tested in the process of standby service system, object information is transmitted to and tests a yard instrument and show.
System of carrying out exchanges data based on 2 D code information agreement of the present invention comprises code channel processed, signaling channel, operation system, test a yard instrument, code gateway, the method for interchanging data of its correspondence is that operation system initiates code request processed to code gateway, code gateway is regular and signaling rule according to the code processed that configured in advance is good, in conjunction with the parameter in this request, select appropriate code channel processed and signaling channel, perform code processed and signaling, code channel processed carries out code operations processed according to the selection of code gateway, generate Quick Response Code, signaling channel carries out signaling operation according to the selection of code gateway, the Quick Response Code of described generation is issued to client, test after a yard instrument distinguishes out described Quick Response Code, yard information back will be tested to code gateway, described code gateway is given to operation system by testing yard yard information of testing of instrument passback, a yard information is tested described in described operation system process, and result is sent to a yard gateway, test described in described code gateway returns yard result to described in test a yard instrument, described yard instrument of testing carries out testing a yard result displaying.Signaling channel processed, operation system and facility resource is introduced like this by code gateway, unify to provide two-dimensional code data function of exchange for each operation system, and the data type of operation system is not limited, thus Quick Response Code conversion and transmission can be carried out for the data of miscellaneous service type, realize remote real-time access and operation, expand the range of application of Quick Response Code.
embodiment 4
The present embodiment provides a kind of system of carrying out exchanges data based on 2 D code information agreement, and its structure as shown in Figure 3, comprising:
Code channel processed: be connected with code platform processed, provides code channel processed;
Signaling channel: be connected with signaling platform, provides signaling channel;
Operation system: be connected with code gateway, store code rule processed and the signaling rule of practical business, described code rule processed comprises the information element of code processed, and described signaling rule comprises Quick Response Code signaling platform, Quick Response Code recipient information;
Test a yard instrument: can be single hand-held unit or cell-phone customer terminal, for reading 2 D code information and returning, comprise having by oneself and test yard instrument and facility provider system, have by oneself to test yard tool making and manage and test a yard terminal, code is tested to Quick Response Code; What facility provider system was Quick Response Code tests code provides third party to test a yard terminal, and tests a yard terminal to third party and manage;
The multiplexing method, system of trade company: be third-party gateway system, utilize other resource in system by code gateway;
Code gateway: with described code channel processed, signaling channel, operation system, test a yard instrument, the multiplexing method, system of trade company is connected respectively, receive the code request processed of operation system, and select appropriate code channel processed and signaling channel to perform code operations processed and signaling operation respectively, and be given to operation system by testing a yard data message for instrument passback, after yard information is tested in the process of standby service system, object information is transmitted to and tests a yard instrument and show.
As the execution mode optimized further, described system of carrying out exchanges data based on 2 D code information agreement can be expanded further, comprise multiple facility provider system, multiple trade companies multiplex system, and have and freely test a yard instrument, connect multiple operation system, its network topological diagram as shown in Figure 4, forms a large network system.
Test a yard instrument described in this system to comprise and own test yard instrument and/or facility provider system, ownly test yard instrument and be connected with code gateway, make and manage and test a yard terminal, code is tested to Quick Response Code, the conversion operations of two-dimensional code data is convenient and swift, and reliability is high, and fault-tolerant ability is strong.The code of testing that simultaneously facility provider system is Quick Response Code provides third party to test a yard terminal, and tests a yard terminal to third party and manage, and facilitates third party's operation system data and native system to carry out Quick Response Code converting transmission.A described yard instrument of testing comprises single hand-held unit, cell-phone customer terminal, the variation of testing yard instrument brings more selection to user, and if user adopts the mode of cell-phone customer terminal, just do not need professional recognizing apparatus, only need a mobile phone just can carry out testing code operations, very convenient.
The system of carrying out exchanges data based on 2 D code information agreement described in the present embodiment comprises code channel processed, signaling channel, operation system, tests a yard instrument, code gateway, signaling channel processed, operation system and facility resource is introduced like this by code gateway, unify to provide two-dimensional code data function of exchange for each operation system, and the data type of operation system is not limited, thus Quick Response Code conversion and transmission can be carried out for the data of miscellaneous service type, realize remote real-time access and operation, expand the range of application of Quick Response Code.
embodiment 5
The present embodiment provides a kind of method of carrying out exchanges data based on 2 D code information agreement, comprises following process:
Operation system initiates code request processed to code gateway;
Code gateway is regular and signaling rule according to the code processed that configured in advance is good, in conjunction with the parameter in this request, selects appropriate code channel processed and signaling channel, performs code processed and signaling;
Code channel processed carries out code operations processed according to the selection of code gateway, generates Quick Response Code;
Signaling channel carries out signaling operation according to the selection of code gateway, and the Quick Response Code of described generation is issued to client;
Figure 5 shows that to have by oneself and test the schematic diagram that code tested by yard instrument, after described Quick Response Code distinguished out by a yard instrument of testing, yard information back will be tested to code gateway;
Described code gateway is given to operation system by testing yard yard information of testing of instrument passback;
Test a yard information described in described operation system process, and result is sent to a yard gateway;
Test described in described code gateway returns yard result to described in test a yard instrument, described in test yard instrument and carry out testing yard result and show.
The method for interchanging data of its correspondence in the present embodiment is that operation system initiates code request processed to code gateway, code gateway is regular and signaling rule according to the code processed that configured in advance is good, in conjunction with the parameter in this request, select appropriate code channel processed and signaling channel, perform code processed and signaling, code channel processed carries out code operations processed according to the selection of code gateway, generate Quick Response Code, signaling channel carries out signaling operation according to the selection of code gateway, the Quick Response Code of described generation is issued to client, test after a yard instrument distinguishes out described Quick Response Code, yard information back will be tested to code gateway, described code gateway is given to operation system by testing yard yard information of testing of instrument passback, a yard information is tested described in described operation system process, and result is sent to a yard gateway, test described in described code gateway returns yard result to described in test a yard instrument, described yard instrument of testing carries out testing a yard result displaying.Signaling channel processed, operation system and facility resource is introduced like this by code gateway, unify to provide two-dimensional code data function of exchange for each operation system, and the data type of operation system is not limited, thus Quick Response Code conversion and transmission can be carried out for the data of miscellaneous service type, realize remote real-time access and operation, expand the range of application of Quick Response Code.
As other execution mode, expanding function can also be carried out by connecting the multiplexing method, system of trade company in the method, be connected with code gateway by trade company's multiplex system, for third-party gateway system, by third party's gateway system, third party's operation system also can utilize the resource of native system, reaches resource-sharing, and expands the range of application of Quick Response Code further.
embodiment 6
The present embodiment provides a kind of method of carrying out exchanges data based on 2 D code information agreement, comprises following process:
(1) operation system initiates code request processed to code gateway.
(2) code gateway is according to the code processed that configured in advance is good is regular and signaling is regular, in conjunction with the parameter in this request, selects appropriate code channel processed and signaling channel, performs code processed and signaling, and concrete code processed and signaling flow process are as shown in Figure 6.If this channel can be reported to bar code gateway return state, then status report is also returned to the operation system initiating this request by bar code gateway.
(3) code channel processed carries out code operations processed according to the selection of code gateway, and generate Quick Response Code, described code process processed comprises data analysis, data encoding, error correction coding, structure final data information, structural matrix, mask, production form and version information.
When generating Quick Response Code, according to business rule, the data required for acquisition, are combined into character string.The character string of combination is converted to Unicode character and generates two-dimension code image.On interface, show in the form of a list.Generate process and so-called code processed (coding) process of two-dimension code image, Quick Response Code coding techniques forms two-dimension code image according to customizing messages.Because Quick Response Code code system kind is a lot, qr code coding is a kind of Quick Response Code coded system, and other code system overall procedures are basically identical.Coding main algorithm is as follows:
Data analysis: determine the character types of encoding, convert sign character to by corresponding character set; Select error-correction level, under the condition that specification is certain, the capacity of error-correction level its True Data higher is less.
Data encoding: data character is converted to bit stream, every 8 code words, the overall codeword sequence forming data.In fact know that this code word data sequence is just aware of the data content of Quick Response Code.Data can be encoded according to a kind of pattern, to decode more efficiently, the content such as mode, pattern of just dividing into groups for letter, Chinese, Japanese etc. is distinguished to some extent.Basic skills is consistent.
Error correction coding: on demand by codeword sequence piecemeal above, and according to the code word of error-correction level and piecemeal, produce error correction code word, and error correction code word is joined after code word data sequence, becomes a new sequence.When Quick Response Code specification and error-correction level are determined, in fact it can hold code word sum and error correcting code number of words also just determine
Structure final data information: under the condition that specification is determined, the sequence in order produced above is put as in piecemeal.By regulation deblocking, then each block is calculated, draw corresponding error correcting code block block, error correcting code block block is formed a sequence in order, add to after original code word data sequence.
Structural matrix: detection figure, separator, positioning pattern, correction graph and code word module are put into matrix.Complete sequence is above filled in the region of Quick Response Code matrix of dimension.
Mask: coding region mask figure being used for symbol, makes dark color in two-dimension code pattern and light color (black and white) region can the distribution of ratio optimum.
Form and version information: production form and version information put into respective regions
(4) signaling channel carries out signaling operation according to the selection of code gateway, and signaling channel is short message channel herein, and the Quick Response Code of described generation is issued to client in the mode of note.
Figure 7 shows that facility provider tests a yard schematic diagram, test after a yard instrument distinguishes out described Quick Response Code, before testing yard information back to code gateway, forward again after facility provider system does routing decision, when judging to test yard receiving party as code gateway, yard information will be tested and be transmitted to a yard gateway, otherwise send to the operation system of third party oneself, described in test a yard process comprise picture strengthen process, binary conversion treatment, detection test pattern, correction graph detection, Geometry rectification, code figure sampling, information gathering;
(5) described code gateway is given to operation system by testing yard yard information of testing of instrument passback.Operation system can be extracted Quick Response Code and identify.When reading 2 D code information, scanned the two-dimension code image generated in Intranet by indicator screen by scanner, be Chinese character by the 2 D code information of reading by Unicode convert information, and split, be saved in database.Decoding main algorithm is as follows:
Image pre-processing module: this module mainly comprises image enhaucament and binaryzation two steps.After the code figure picture that camera is taken imports Decode engine into, need first through the preliminary treatment of image.The gray level image obtained being strengthened after algorithm through contrast adaptation, brightness regulation etc., enters binarization block, utilize Binarization methods, picture is converted into the image only having black and white two kinds of colors, using in order to detecting.The general principle of image enhaucament utilizes image procossing ABC, carries out suitable conversion to image, makes us interested provincial characteristics be exaggerated.Binaryzation is the information utilizing picture, calculates suitable threshold value, and the pixel assignment that gray value is greater than this threshold value is 1, and the pixel assignment being less than this threshold value is 1.Thus the object in image and background are separated.
Code figure detection module: this module mainly comprises detection test pattern module and correction graph detection module.Mainly complete in bianry image, by detection figure and the detection of correction graph, realize the location of yard figure, the calculating of block size provide coordinate transform datum mark for correction link.The general principle of detection test pattern module utilizes the feature of detection figure: no matter in which direction, number of modules ratio all meets 1:1:3:1:1.According to this feature, search for the candidate's figure satisfied condition in the picture.Again by tight multi-turns screen mechanism, reject pseudo-candidate's figure, leave real detection figure, thus complete the detection of detection figure.The general principle of correction graph detection module is, based on the positional information of detection figure, the rough position of correction graph, is called coarse positioning according to a preliminary estimate.In the neighborhood of coarse positioning position, utilize correction graph all directions number of modules ratio all to meet the feature of 1:1:1, carry out fine positioning.
Code figure correction module: this module comprises geometric correction module and code figure sampling module.Corrected by the code figure producing deformation in shooting process, and sample to code figure, each module pixel represents, thus obtains standard qr code, ready for decoding.Correction module utilizes the datum mark detected, with the datum mark one_to_one corresponding in standard code figure, by the corresponding geometrical relationship of datum mark, obtains the geometric maps relation between present image and standard code figure, thus calculate the mapping of each pixel.Sampling module is according to the block size that precomputes and code figure dimension, rebuilds the process of image.By building the corresponding relation of pixel in the rear each pixel of sampling and original image, the gray value of each pixel being solved out, forms standard code figure.
Decoder module: this module comprises information acquisition module and information analysis module.Obtain the key message such as format information, version information, error-correction level, content information of qr, judge code figure correctness, and according to coding rule, code figure content part is resolved.This modular algorithm is very ripe at present, and required improvement is few.
(6) test a yard information described in described operation system process, and result is sent to a yard gateway; Test described in described code gateway returns yard result to described in test a yard instrument, described in test yard instrument and carry out testing yard result and show.
The method of carrying out exchanges data based on 2 D code information agreement described in the present embodiment, the management platform provided, based on Internet technology and large database, can carry out remote real-time access and operation.Based on the Network Computing Technologies (Network Computing) of advanced person, adopt centralized processing pattern, support mobile office.Select OO large-scale relevant database, manage concentratedly.Management science, mathematical method and managerial experiences that extensive employing is modern, make it have advanced international level.Strict security control and data backup mechanism, can guarantee that data security is reliable; In running environment, the high reliability cluster of back-level server is arranged, and can run without interruption.System adopts browser interface, and simple operation, is easy to learn and use.The interface element such as menu, form meets compatriots' custom.And the main form that have employed cell-phone customer terminal of reading of anti-counterfeit recognition, the masses do not need professional identification equipment, only need a mobile phone just can oneself scan for inquiries to the ins and outs of bought product, this is after mobile Internet rise, the most easy way that the people is loved by all.In the design of application software, strengthening rights management function, has multilevel security mechanism.Level rights management is carried out to internal system, strict regulations rights of using, prevent from usurping infringement, illegal operation; The log management of Erecting and improving, all operations all has good grounds; By the right assignment to personnel at different levels and different personnel, accomplish that all personnel can only check the data relevant to oneself; Adopt Large-scale Relational Database, during core data transmission, adopt encryption to arrange; Large database has strict password authentication mechanism, can assist simultaneously institutional constraint with guarantee data can not obtain by disabled user.System adopts Componentized design, and be easy to expand, dynamic arranges Business Stream and data flow, the business reorganization that adaptation operation flow and management expectancy change and cause, and meets following development need.
Obviously, above-described embodiment is only for clearly example being described, and the restriction not to execution mode.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 execution modes.And thus the apparent change of extending out or variation be still among the protection range of the invention.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.

Claims (13)

1. carry out a code gateway for exchanges data based on 2 D code information agreement, it is characterized in that, comprising:
Receiving element: the code request processed receiving operation system;
Coding unit processed: select appropriate code channel processed and signaling channel to perform code processed and signaling respectively;
Passback retransmission unit: be given to operation system by testing a yard data message for instrument passback;
Return retransmission unit: after yard information is tested in the process of standby service system, object information is transmitted to and tests a yard instrument and show.
2. carry out a code gateway processes method for exchanges data based on 2 D code information agreement, it is characterized in that, comprise following process:
Receive the code request processed of operation system;
Appropriate code channel processed and signaling channel is selected to perform code processed and signaling respectively;
Operation system is given to by testing a yard data message for instrument passback;
After yard information is tested in the process of standby service system, object information is transmitted to and tests a yard instrument and show.
3. carry out a system for exchanges data based on 2 D code information agreement, it is characterized in that, comprising:
Code channel processed: be connected with code platform processed, provides code channel processed;
Signaling channel: be connected with signaling platform, provides signaling channel;
Operation system: be connected with code gateway, stores code rule processed and the signaling rule of practical business;
Test a yard instrument: read 2 D code information and return;
Code gateway: with described code channel processed, signaling channel, operation system, test a yard instrument and be connected respectively, receive the code request processed of operation system, and select appropriate code channel processed and signaling channel to perform code operations processed and signaling operation respectively, and be given to operation system by testing a yard data message for instrument passback, after yard information is tested in the process of standby service system, object information is transmitted to and tests a yard instrument and show.
4. system of carrying out exchanges data based on 2 D code information agreement according to claim 3, is characterized in that, also comprises the multiplexing method, system of trade company, is connected with code gateway, is third-party gateway system.
5. the system of carrying out exchanges data based on 2 D code information agreement according to claim 3 or 4, is characterized in that, described in test a yard instrument and comprise and own test yard instrument and/or facility provider system, wherein:
Have by oneself and test a yard instrument: be connected with code gateway, make and manage and test a yard terminal, code is tested to Quick Response Code;
Facility provider system: be connected with code gateway, for the code of testing of Quick Response Code provides third party to test a yard terminal, and tests a yard terminal to third party and manages.
6. the system of carrying out exchanges data based on 2 D code information agreement according to claim arbitrary in claim 3-5, is characterized in that, described code rule processed comprises the information element of code processed.
7. the system of carrying out exchanges data based on 2 D code information agreement according to claim arbitrary in claim 3-6, is characterized in that, described signaling rule comprises Quick Response Code signaling platform, Quick Response Code recipient information.
8. the system of carrying out exchanges data based on 2 D code information agreement according to claim arbitrary in claim 3-7, is characterized in that, described in test a yard instrument and comprise single hand-held unit, cell-phone customer terminal.
9. carry out a method for exchanges data based on 2 D code information agreement, it is characterized in that, comprise following process:
Operation system initiates code request processed to code gateway;
Code gateway is regular and signaling rule according to the code processed that configured in advance is good, in conjunction with the parameter in this request, selects appropriate code channel processed and signaling channel, performs code processed and signaling;
Code channel processed carries out code operations processed according to the selection of code gateway, generates Quick Response Code;
Signaling channel carries out signaling operation according to the selection of code gateway, and the Quick Response Code of described generation is issued to client;
Test after a yard instrument distinguishes out described Quick Response Code, yard information back will be tested to code gateway;
Described code gateway is given to operation system by testing yard yard information of testing of instrument passback;
Test a yard information described in described operation system process, and result is sent to a yard gateway;
Test described in described code gateway returns yard result to described in test a yard instrument, described in test yard instrument and carry out testing yard result and show.
10. method of carrying out exchanges data based on 2 D code information agreement according to claim 9, is characterized in that, described in test yard instrument for own test that yard instrument or third party provide test a yard terminal.
11. methods of carrying out exchanges data based on 2 D code information agreement according to claim 9 or 10, it is characterized in that, described code process processed comprises data analysis, data encoding, error correction coding, structure final data information, structural matrix, mask, production form and version information.
12. methods of carrying out exchanges data based on 2 D code information agreement according to claim arbitrary in claim 9-11, it is characterized in that, described in test a yard process comprise picture strengthen process, binary conversion treatment, detection test pattern, correction graph detection, Geometry rectification, code figure sampling, information gathering.
13. methods of carrying out exchanges data based on 2 D code information agreement according to claim arbitrary in claim 9-12, it is characterized in that, described signaling channel comprises short message channel.
CN201310462779.4A 2013-09-30 2013-09-30 A kind of System and method for carrying out data exchange based on 2 D code information agreement Expired - Fee Related CN104519033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310462779.4A CN104519033B (en) 2013-09-30 2013-09-30 A kind of System and method for carrying out data exchange based on 2 D code information agreement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310462779.4A CN104519033B (en) 2013-09-30 2013-09-30 A kind of System and method for carrying out data exchange based on 2 D code information agreement

Publications (2)

Publication Number Publication Date
CN104519033A true CN104519033A (en) 2015-04-15
CN104519033B CN104519033B (en) 2018-08-07

Family

ID=52793769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310462779.4A Expired - Fee Related CN104519033B (en) 2013-09-30 2013-09-30 A kind of System and method for carrying out data exchange based on 2 D code information agreement

Country Status (1)

Country Link
CN (1) CN104519033B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079706A (en) * 2007-06-08 2007-11-28 黄晖 A 2D code verification method and system
CN102063739A (en) * 2010-05-11 2011-05-18 深圳鼎识科技有限公司 Accreditation and inspection system and method for infectious disease inspection physical examination documents at frontier port
CN102663619A (en) * 2012-03-29 2012-09-12 北京普罗信科技有限公司 Manufacturer rebate and sales promotion system employing mobile terminal and rebate and sales promotion realization method thereof
US20130085941A1 (en) * 2008-09-30 2013-04-04 Apple Inc. Systems and methods for secure wireless financial transactions
CN103106562A (en) * 2013-02-04 2013-05-15 深圳市东方智邑信息技术有限公司 Two-dimension code management control method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079706A (en) * 2007-06-08 2007-11-28 黄晖 A 2D code verification method and system
US20130085941A1 (en) * 2008-09-30 2013-04-04 Apple Inc. Systems and methods for secure wireless financial transactions
CN102063739A (en) * 2010-05-11 2011-05-18 深圳鼎识科技有限公司 Accreditation and inspection system and method for infectious disease inspection physical examination documents at frontier port
CN102663619A (en) * 2012-03-29 2012-09-12 北京普罗信科技有限公司 Manufacturer rebate and sales promotion system employing mobile terminal and rebate and sales promotion realization method thereof
CN103106562A (en) * 2013-02-04 2013-05-15 深圳市东方智邑信息技术有限公司 Two-dimension code management control method and system

Also Published As

Publication number Publication date
CN104519033B (en) 2018-08-07

Similar Documents

Publication Publication Date Title
CN105512881A (en) Method and terminal for completing payment on the basis of two-dimensional code
CN104834839B (en) A kind of code generating method, method for authenticating and associated terminal based on bar code
CN106327605B (en) A kind of method for inspecting
CN104468531A (en) Authorization method, device and system for sensitive data
CN110070359A (en) Verification of data system, method, calculating equipment and storage medium based on block chain
CN107172571A (en) A kind of smart machine automatic matching connection method and system
CN105162604A (en) Feature image identification based verification method and system, and verification server
CN110427949A (en) The method, apparatus of list verification calculates equipment and medium
CN104869019A (en) Feedback method and apparatus for positioning faults, and server
CN107992759A (en) Realize device, method and the computer-readable recording medium of E-seal
JP2014085777A (en) Two-dimensional code, method of generating two-dimensional code, and method of reading two-dimensional code
CN104376291B (en) The method and device of data processing
CN107241431A (en) The method and system of virtual desktop are logged in based on the barcode scanning that Quick Response Code is realized
CN110347709A (en) A kind of construction method and system of regulation engine
CN104778386A (en) Registration method and system for product
CN111769969A (en) Terminal configuration method and device based on two-dimensional code and computer equipment
CN105868308A (en) File viewing two-dimensional code and file viewing method and system
CN106778441A (en) A kind of graph image intelligent identifying system and its recognition methods
CN108665286A (en) A kind of ginseng is endowed and its recognition methods
CN108388930A (en) The method and device of verification contract spare part picture correctness and integrality
CN104951974A (en) Method, device and system for verifying invoice authenticity
CN104519033A (en) Data exchange system and data exchange method based on two-dimensional code information protocol
CN111984881A (en) Prompting method, prompting device, terminal, server and storage medium
CN116012612A (en) Content detection method and system
CN205176846U (en) Product information inquiry system based on two -dimension code technology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180807

Termination date: 20180930

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