The present invention generally relates to collecting and analyzing two-dimensional code, and more particularly, to a system and a method for collecting and analyzing two-dimensional code by using a mobile terminal.
Two-dimensional code is a new coding scheme developed recently, which is to record data and symbol signals by arranging certain particular geometrical graphics on a plane (two-dimension directions) according to a specific rule. Since it may represent information both horizontally and vertically at the same time, the two-dimensional code has the characteristics of high coding density, large information capacity, wide coding range, strong error-correcting ability, high decoding reliability, good security, low cost and the like. Due to above advantages, the two-dimensional code is being widely employed in fields such as logistics, ID verification, rapid data entry in printed form or by transmission via network.
As continuous development and wider use of Internet technologies and wireless communication technologies, the currently employed two-dimensional reading and processing devices are no longer suitable for fast, accurate, networked and intelligent applications for very large amount of uses in large geographical scope. Current two-dimensional code is typically published and used by one entity (for example, a nationwide enterprise), and only includes information associated with the entity, database and devices associated thereof are commonly purpose-specific or separated. That different entities independently use their own two-dimensional codes, encryption systems, and even devices, is not only cumbersome for the interaction and cooperation between these entities, but also causes repeat and waste of network resource and computation resource, and at the same time will slow down the processing speed.
Therefore, there is need for flexible system and method of collecting and analyzing two-dimensional code which save network resource, storage space and computation resource. The system and method of collecting and analyzing two-dimensional code proposed in the present invention will meet the need.
The single-field two-dimensional code termed in the present invention refers to a two-dimensional code including information related to one entity (part) only, for example, associated information about one enterprise and products thereof. The multi-fields two-dimensional code termed in the present invention refers to a two-dimensional code including information related to more than one entity, for example, associated information about one enterprise and products thereof, and information about a second enterprise. The second enterprise may be a seller, promoter, depository, maintaining site, training site and the like of the products and services of the first enterprise. The more than one entity may together form a shared multi-fields two-dimensional code, for example, a shared multi-fields two-dimensional code may be encoded according to a contact or rule agreed by all entities. Those skilled in the art may understand that a multi-fields two dimensional code may include any number of entities including two entities, three entities, as long as there is enough capacity.
In accordance with one aspect of the present invention, a system capable of collecting and analyzing a multi-fields two-dimensional code is provided, which comprises: at least one mobile terminal comprising a collecting module for collecting the multi-fields two dimensional code in an optical manner and a decoding module for decoding the collected multi-fields two dimensional code, wherein the multi-fields two-dimensional code includes at least a first field and a second field, wherein the first field comprises information associated with a first part and a protocol of multiple protocols initialed by the first part, and the second field comprises information associated with at least one second part which is authorized by the first part to propagate and/or carry out the protocol of the multiple protocols; and an identifying module for identifying the first and second fields from the decoded multi-fields two dimensional code by applying a predetermined rule. The mobile terminal may include the identifying module. The system further comprises a communication network and at least one server coupled with the communication network, the mobile terminal is coupled with the communication network and sends the identified first and second fields of the multi-fields two-dimensional code to the server via the communication network, wherein the server comprises a memory storing multiple pieces of first information associated with the first part and the multiple protocols, and an analyzing module for analyzing whether the received first field is matched to one of the multiple pieces of first information in the memory and whether the second field of the multi-fields two-dimensional code has been collected, if the first field is matched and the second filed has not been collected, the analyzing module gives out a corresponding first result and recording the second field, and if the first field is matched and the second field has been collected, the analyzing module gives out a corresponding second result.
In accordance with another aspect of the present invention, a system capable of collecting and analyzing a multi-fields two-dimensional code is provided, which comprises: at least one mobile terminal comprising a collecting module for collecting the multi-fields two dimensional code in an optical manner and a decoding module for decoding the collected multi-fields two dimensional code, wherein the multi-fields two-dimensional code includes at least a first field and a second field, wherein the first field comprises information associated with a first part and a protocol of multiple protocols initialed by the first part, and the second field comprises information associated with at least one second part which is authorized by the first part to propagate and/or carry out the protocol of the multiple protocols; and an identifying module for identifying the first and second fields from the decoded multi-fields two dimensional code by applying a predetermined rule. The mobile terminal may include the identifying module. The mobile terminal further comprises a memory storing multiple pieces of first information associated with the first part and the multiple protocols, and an analyzing module for analyzing whether the received first field is matched to one of the multiple pieces of first information in the memory and whether the second field of the multi-fields two-dimensional code has been collected, if the first field is matched and the second field has not been collected, the analyzing module gives out a corresponding first result and recording the second field, and if the first field is matched and the second field has been collected, the analyzing module gives out a corresponding second result.
In accordance with yet another aspect of the present invention, a system capable of collecting and analyzing a multi-fields two-dimensional code is provided, which comprises: at least one mobile terminal comprising a collecting module for collecting the multi-fields two dimensional code in an optical manner and a decoding module for decoding the collected multi-fields two dimensional code, wherein the multi-fields two-dimensional code includes at least a first field and a second field, wherein the first field comprises information associated with a first part and a protocol of multiple protocols initialed by the first part, and the second field comprises information associated with at least one second part which is authorized by the first part to propagate and/or carry out the protocol of the multiple protocols; and an identifying module for identifying the first and second fields from the decoded multi-fields two dimensional code by applying a predetermined rule. The system further comprises a communication network and at least one server coupled with the communication network, the mobile terminal is coupled with the communication network and sends the identified first and second fields of the multi-fields two-dimensional code to the server via the communication network, wherein the server comprises the identifying module, and the server further comprises a memory storing multiple pieces of first information associated with the first part and the multiple protocols, and an analyzing module for analyzing whether the received first field is matched to one of the multiple pieces of first information in the memory and whether the second field of the multi-fields two-dimensional code has been collected, if the first field is matched and the second field has not been collected, the analyzing module gives out a corresponding first result and recording the second field, and if the first field is matched and the second field has been collected, the analyzing module gives out a corresponding second result.
In accordance with yet another aspect of the present invention, a method of collecting and analyzing a multi-fields two-dimensional code is provide, which comprises: collecting the multi-fields two dimensional code in an optical manner through at least one mobile terminal, wherein the multi-fields two-dimensional code includes at least a first field and a second field, wherein the first field comprises information associated with a first part and a protocol of multiple protocols initialed by the first part, and the second field comprises information associated with at least one second part which is authorized by the first part to propagate and/or carry out the protocol of the multiple protocols; decoding the collected multi-fields two dimensional code; identifying the first and second fields from the decoded multi-fields two dimensional code by applying a predetermined rule; and analyzing whether the first field is matched to one of pre-stored multiple pieces of first information and whether the second field of the multi-fields two-dimensional code has been collected, if the first field is matched and the second field has not been collected, giving out a corresponding first result and recording the second field, and if the first field is matched and the second field has been collected, giving out a corresponding second result. The method further comprises displaying the first or second result. In the method, the pre-stored multiple pieces of first information may be locally stored, or may be obtained remotely via network.
In embodiments of the present invention, the predetermined rule includes encryption arithmetic, Hash arithmetic, fields-distributing ratio rule and flag bit rule, and so on. The first field of the multi-fields two-dimensional code includes a first sub-field containing information associated with the protocol of the multiple protocols initialed by the first part and a second sub-field containing information associated with the first part. The communication network includes Internet, Local area network, Wide area network, mobile Internet, wireless Local area network and the like. The communication between the mobile terminal and the server includes wire communication, wireless communication, infrared communication, Blue tooth, radio frequency, WiFi, WiMax and the like.
Embodiments of the invention are illustrated by way of example, and not by way of limitation, in the accompanying drawings:
In the following detailed description, reference is made to the accompanying drawings that show, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. It is to be understood that the various embodiments of the invention, although different, are not necessarily mutually exclusive. For example, a particular feature, structure, or characteristic described herein, in connection with one embodiment, may be implemented within other embodiments without departing from the spirit and scope of the invent. In addition, it is to be understood that the location or arrangement of individual elements within each disclosed embodiment may be modified without departing from the spirit and scope of the invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims, appropriately interpreted, along with the full range of equivalents to which the claims are entitled. In the drawings, like numerals refer to the same or similar functionality throughout the several views.
First, the collecting module 142 collects an information carrier 120 (such as a multi-fields two dimensional code) into the mobile terminal 140 in an optical manner, and transfers the multi-fields two dimensional code to the decoding module 144, wherein the multi-fields two-dimensional code includes at least a first field and a second field, wherein the first field comprises information associated with a first part and a protocol of multiple protocols initialed by the first part, and the second field comprises information associated with at least one second part which is authorized by the first part to propagate and/or carry out the protocol of the multiple protocols, and wherein the first field includes a first sub-field containing information associated with the protocol of the multiple protocols initialed by the first part and a second sub-field containing information associated with the first part. Propagating includes, but not limited to, relaying, transferring, introducing, popularizing, promoting, and advertising and so on. In accordance with one example of the present invention, for example, the first sub-field may be information representing one of the protocols initialed by an enterprise about its product or service informationâ–ˇthe second sub-field may be information representing the enterprise per se, and the second field may be information representing another enterprise which popularizing, promoting and/or carrying out the protocol. In accordance with an example of the present invention, the protocol may be, but not limited to, a popularizing protocol, a promoting protocol, a maintaining protocol, a preferential and reward protocol, a part delivering protocol and the like. Then the decoding module 144 decodes the collected multi-fields two-dimensional code and transfers the decoded result to the identifying module 148. The identifying module 148 identifies the first and the second fields from the decoded multi-fields two-dimensional code by applying a predetermined rule, and transfers the first and the second fields to the transmitting module 150, wherein the predetermined rule includes, but not limited to, encryption arithmetic, Hash arithmetic, fields-distributing ratio rule and flag bit rule. Additionally, these rules may be stored in the identifying module 148 as firmware, and in accordance with one embodiment, the identifying module 148 may be coupled to the input/output (I/O) module 146, and the rules stored therein may be modified, replaced, added or deleted through the I/O module 146.
Then, the mobile terminal 140 sends the first and the second fields to the server 180 respectively via the transmitting module 150. The above-mentioned information is transferred to the analyzing module 186 in the server 180 via the network adapter 184. Multiple pieces of first information associated with the first part and the multiple protocols are stored in the memory 188 of the server 180, and according to one embodiment of present invention, the memory 188 is coupled to the I/O module 190 of the server 180 so that the information stored therein may be modified, replaced, added or deleted through the I/O module 190.
The analyzing module 186 analyzes whether the received first field is matched to one of multiple pieces of first information in the memory 188. If it is matched, the analyzing module 186 further analyzes whether the second field has been collected. If it has not been collected, the analyzing module 186 correspondingly gives out a first result and records the second field, wherein the first result may be information representing the validation of the multi-fields two-dimensional code in accordance with an example of the present invention. If the second field has been collected, the analyzing module 186 correspondingly gives out a second result, wherein in accordance with an example of the present invention, the second result may be information representing that the multi-fields two-dimensional code has ever been used. In addition, the analyzing module 186 may further perform statistics and analysis on recorded second fields. Subsequently, the server 180 sends the first or second result to the receiving module 152 of the mobile terminal 140 via the communication network 160. After receiving the first or second result, the receiving module 152 transfers the received result to the displaying module 156 for displaying.
Next, turn to
A hardware circuit for identifying multiple fields from a multi-fields two dimensional code according to the ratio rule is introduced below.
The following will refer to
The operational steps of the system 200 are similar to those of the system 100, except that in the system 100 the analysis on the multi-fields two-dimensional code is performed in the server 180 while all the operations are performed in the mobile terminal 240 in the system 200. In some embodiments of the present invention, the identifying module 246 and the memory 250 are both coupled to the I/O module 252 of the mobile terminal such that the modification, replacement, addition and delete of the information in the memory 250 and the rules in the identifying module 246 may be implemented. For example, in accordance with one embodiment of the present invention, the I/O module 252 may operate the identifying module 246 or the memory 250 by applying flag bit selection. However, this is only for illustrative purpose, and the present invention is not limited in this aspect. Those skilled in the art may understand that the rules may also be partially or totally stored in the Memory 250.
As described with respect to the system 100 above, a collecting module 342 collects an information carrier 320 (such as a multi-fields two dimensional code) into the mobile terminal 340 in an optical manner, and transfers the collected multi-fields two dimensional code to a decoding module 344 to perform decode, wherein the multi-fields two-dimensional code includes at least a first field and a second field, wherein the first field comprises information associated with a first part and a protocol of multiple protocols initialed by the first part, and the second field comprises information associated with at least one second part which is authorized by the first part to propagate and/or carry out the protocol of the multiple protocols, and wherein the first field includes a first sub-field containing information associated with the protocol of the multiple protocols initialed by the first part and a second sub-field containing information associated with the first part. The decoding module 344 transfers the decoded result to a transmitting module 346. The transmitting module 346 then sends the decoded result to a server 380 via a communication network 360.
In server 380, the decoded result is transferred to an identifying module 384 through a network adapter 382. Similarly to the description with respect to the system 100, the decoded result is identified and analyzed by the identifying module 384 and an analyzing module 386. The analyzing module 386 gives out a first or second result. The server 380 sends the result to a receiving module 350 of the mobile terminal 340 via the communication network 360. The receiving module 350 further transfers the first or second result to the displaying module 354 for displaying. In addition, in some embodiments of the present invention, a memory 388 and the identifying module 384 are both coupled to an I/O module 390 of the server 380 such that the modification, replacement, addition and delete of the information in the memory 388 and the rules in the identifying module 384 may be implemented. For example, in accordance with one embodiment of the present invention, the I/O module 390 may operate the identifying module 384 or the memory 388 by applying flag bit selection. However, this is only for illustrative purpose, and the present invention is not limited in this aspect. Those skilled in the art may understand that the rules may also be partially or totally stored in the Memory 388.
Now refer to
At step 540, an analyzing module analyzes whether the received first field is matched to one of multiple pieces of first information in a memory. If it is not matched, a prompting message is sent at step 550. However, in accordance with other embodiments of the present invention, other different operations may be performed at step 550. Therefore, it is just for exemplary purpose and the present invention is not limited in this aspect. If it is matched, the analyzing module further analyzes at step 560 whether the second field has been collected. If it has not been collected, at step 570, a first result is given out, the second field is recorded, and the first result is displayed. If the second field has been collected, a second result is given out and displayed at step 580.
In accordance with the description about the embodiments of the present invention, those skilled in the art should appreciate that the present invention includes multiple modules which may be integrated together or may be discrete. Although the systems in the figures of the present invention include specific modules, some modules may be removed or additional modules may be added according to particular applications. The modules may be implemented in hardware circuit, or may be implemented in a combination of hardware and firmware, or in a combination of hardware circuit, firmware and software. At the same time, those skilled in the art may find out that the method and system of the present invention require relatively less network resource, storage space and computation resource for data to be collected and analyzed, therefore fast, accurate, flexible, prompt, and even real-time and individuated collection, analysis and monitoring of large scale complex information may be achieved.
Although the description herein is performed using the multi-fields two-dimensional code as an example of information carrier, person with skills in the art will recognize that the present invention may be applied to barcode, RFID tag and OCR-recognizable character in addition to the multi-fields two-dimensional code. Furthermore, it should be noted that the second field may also be divided into multiple sub-fields in a way similar to that of the first field, although it is not mentioned in the above description. Additionally, it should be clarified that the first and second sub-fields is just for illustrative purpose, and the first or second field may be divided into three or more sub-fields as desired in practice, therefore the present invention is not limited in this aspect, and the multi-fields two-dimensional code in the present invention may include three or more fields.
In large geographical scope, applying the method of the present invention for numerous collecting operations of a lot of users may conveniently obtain and instantly analyze information of multiple entities associated with individual fields of the multi-fields two-dimensional code simultaneously. For example, an enterprise may discover actual effects of individual promoters in time, and individual promoters may get feedbacks in time.
For example, the embodiments of the present invention may be applied to applications such as electronic coupons management to achieve efficient and low cost management of electronic coupons. As an example, codes of vendor, multiple promoters and coupon may be encoded into an information carrier such as a multi-fields two-dimensional code, wherein the first sub-field includes information about the code of the coupon, the second sub-field includes information about the code of the vendor, and the second field(s) includes information about promoter(s). By employing the embodiment of the present invention, functions of automatic statistics and recovery of coupons and count records for promoters may be achieved, so as to greatly improve uses of electronic coupons.
The above description of illustrated embodiments of the invention, including what is described in the Abstract, is not intended to be exhaustive or to limit the invention to the precise forms disclosed. While specific embodiments of, and examples for, the invention are described herein for illustrative purposes, various equivalent modifications are possible within the scope of the invention, as those skilled in the relevant art will recognize.
Modifications may be made to the present invention according to the detailed description above. The terms used in the appended claims should not to be explained to limit the present invention to the specific embodiments disclosed in the specification and the claims. Rather, the scope of the present invention is to be determined by the appended claims, which are to be construed according to established doctrines of claim interpretation.
Number | Date | Country | Kind |
---|---|---|---|
2006 1 0168072 | Dec 2006 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
5602382 | Ulvr | Feb 1997 | A |
6006990 | Ye | Dec 1999 | A |
20030094494 | Blanford | May 2003 | A1 |
20050059339 | Honda | Mar 2005 | A1 |
Number | Date | Country |
---|---|---|
1632811 | Jun 2005 | CN |
Number | Date | Country | |
---|---|---|---|
20080149719 A1 | Jun 2008 | US |