Information processing system, information code generating system, information processing method and information code generating method
By decoding and comparing the visual category and location information of the information code, it is determined whether the information code has been stolen, which solves the shortcomings of the information code in detecting inappropriate behavior in the existing technology and realizes the security and effectiveness of the information code.
Patent Information
- Application Number
- CN201980021705.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-22
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2039-07-22
AI Technical Summary
The existing information code detection system cannot effectively detect whether the information code has been stolen. Especially when application software is widely used, it is difficult to distinguish legal and illegal information codes, and it is difficult for the human eye to identify the original information code.
Obtain the original information by photographing the information code and decoding it, compare the category and location information of the visual information with the information code, determine whether the information code has been stolen, and control the processing process based on the comparison results to prevent inappropriate behavior.
It achieves reliable judgment on whether the information code has been stolen, prevents improper behavior, and ensures the security and effectiveness of the information code.
Smart Images

Figure CN112543933B
Abstract
Description
Technical Field
[0001] The present invention relates to a system for detecting misconduct associated with an information code representing information that is optically readable. Background Art
[0002] In the past, information codes such as QR code (registered trademark) (ISO / IEC 18004) and barcodes have been widely used. The information code is obtained by encoding information related to an object to which the information code is attached or something provided at a place where the information code is displayed. The encoded original information is, for example, the information itself provided to the user, or a URL (Uniform Resource Locator) used to store the information provided to the user. The user can obtain the original information by reading the information code using a terminal device such as a portable terminal equipped with a digital camera.
[0003] Technologies for detecting misconduct related to such information codes have also been developed. For example, Patent Document 1 discloses a misconduct detection system that encodes designated information and detection information for detecting misconduct into information codes. When the system reads an information code, it compares the detection information obtained by decoding the information code with the comparison information recorded in the database, thereby determining whether there is misconduct related to the information code.
[0004] Prior Art Literature
[0005] Patent Literature
[0006] Patent Document 1: Japanese Patent Application Publication No. 2014-029659 Summary of the invention
[0007] [Problems to be solved by the invention]
[0008] However, even with the above-mentioned technology, not all improper behaviors related to information codes can be detected. For example, when application software for generating information codes is widely provided, anyone can generate information codes in a regular manner. In this case, improper information can be encoded together with detection information to generate information codes, and comparison information that matches the detection information can be recorded in the data in a regular manner. It is impossible to detect improper behaviors for information codes generated in this way.
[0009] However, information codes are generally formed by configuring multiple geometric figures such as lines and quadrilaterals. Therefore, it is usually impossible for people to recognize the original information from the information code with naked eyes. In addition, when a certain information code has been replaced with another information code, it is also difficult for people to find that the information code has been replaced.
[0010] The invention of the present application is completed in view of the above-mentioned points, and its purpose is to provide an information processing system, an information code generating system, an information processing method and an information code generating method that can easily determine whether an information code has been replaced.
[0011] [Technical means to solve the problem]
[0012] In order to solve the above-mentioned problem, one form of the present invention is an information processing system, characterized in that it comprises: a first category information acquisition element, which acquires first category information based on original information obtained by photographing an optically readable information code and decoding it, and the first category information indicates the category into which an object visually represented by first visual information that should be displayed together with the information code is classified; a second category information acquisition element, which acquires second category information, and the second category information indicates the category into which an object visually represented by second visual information is classified, and the second visual information is photographed together with the information code because it is to be displayed together with the information code; a comparison element, which compares the acquired first category information with the acquired second category information; and a control element, which controls the execution of a specified processing using the acquired original information based on a result of the comparison.
[0013] According to this form, the second visual information that visually represents a certain object is photographed together with the displayed information code (hereinafter referred to as the first information code). The second visual information is the visual information actually displayed together with the first information code. The original information is obtained by decoding the first information code. Based on the original information, the first category information is obtained, and the first category information indicates the category into which the object visually represented by the first visual information is classified. The first visual information is the visual information that should be displayed together with the first information code. On the other hand, the second category information is obtained, and the second category information indicates the category into which the object visually represented by the second visual information is classified. Then, based on the comparison result of the first category information and the second category information, the execution of the designated processing using the original information is controlled. When the second category information is different from the first category information, it means that the first information code is not the second information code that should be displayed together with the second visual information. Therefore, it is possible that the second information code displayed together with the second visual information has been replaced with the first visual information. In this case, the execution of the designated processing can be refused based on the comparison result. On the other hand, even when the second visual information is consistent with the first visual information, there is a possibility that the information code has been replaced. Specifically, the following situation can be imagined: the combination of the originally displayed third information code and the third visual information that should be displayed together with the third information code is replaced with a combination of the first information code and the first visual information (second visual information). Here, people can recognize through vision what category each visual information represents an object classified into. Therefore, in the case where this person has seen visual information before, the category into which the object represented by the visual information is classified can be compared with the category into which the object represented by the currently displayed first visual information is classified based on the person's memory and vision. Based on the result of the comparison, this person can determine whether the information code has been replaced. In the case where a person determines that the information code has been replaced, this person can prevent the reading of the currently displayed first information code. As a result, the specified processing is not executed. In this way, improper behavior related to the information code will be suppressed.
[0014] Another form of the present invention is characterized in that the first category information acquisition element generates the first category information by converting the obtained original information, and the second category information acquisition element performs image classification on a photo image obtained by shooting the information code and the second visual information, thereby acquiring the second category information.
[0015] According to this aspect, the first category information can be acquired even without pre-storing the original information in association with the first category information. In addition, the second category information indicating the same category as the category that tends to be visually recognized by the second visual information can be acquired.
[0016] Still another aspect of the present invention is an information processing system, characterized in that the first category information acquisition element generates the first category information from the original information using a method different from a coding method for generating the information code from the original information.
[0017] According to this aspect, the first type of information different from the information code is generated by conversion.
[0018] Another form of the present invention is characterized in that it also comprises: a first position information acquisition element, which acquires the first position information indicating the position of a place where the information code should be displayed based on the obtained original information; and a second position information acquisition element, which acquires the second position information indicating the position of a place where the information code and the second visual information are photographed; and the comparison element further compares the acquired first position information with the acquired second position information, and the control element controls the execution of the specified processing based on the comparison result of the first category information with the second category information, and the comparison result of the first position information with the second position information.
[0019] According to this aspect, when the distance between the first place where the photographed first information code should be displayed and the second place where the first information code is actually displayed is relatively far, it is possible that another information code that should be displayed at the second place has been replaced with the first information code. In this case, even if the first category information and the second category information are consistent, the designated processing can be rejected based on the comparison result of the first location information and the second location information.
[0020] Still another aspect of the present invention is an information processing system, characterized in that the control element executes the specified processing when the result of the comparison satisfies a specified condition, and does not execute the specified processing when the result of the comparison does not satisfy the specified condition.
[0021] According to this aspect, a situation in which a designated process is improperly executed when an information code has been replaced can be prevented.
[0022] Still another aspect of the present invention is characterized in that the control element executes the designated processing when the result of the comparison satisfies a designated condition, and prompts a user with a notification based on the result of the comparison when the result of the comparison does not satisfy the designated condition.
[0023] Based on this form, the user can recognize that the information code may have been replaced.
[0024] Still another aspect of the present invention is an information processing system, wherein the control element determines whether to execute the designated process based on a selection of the user when the result of the comparison does not satisfy the designated condition.
[0025] According to this aspect, the user can perform designated processing with responsibility on the basis that the user recognizes that the information code may have been replaced.
[0026] Another form of the present invention is an information code generating system, characterized in that it comprises: an information code generating element, which encodes original information to generate an optically readable information code; a category information generating element, which generates category information based on the original information, and the category information represents the category into which an object that can be visually represented is classified; and an output element, which outputs the generated information code in association with visual information, and the visual information visually represents the object classified into the category represented by the generated category information.
[0027] According to this form, the information code and the visual information that should be displayed together with the information code are output, and the information code and the visual information are displayed together. The visual information visually represents a certain object. Therefore, based on the person's memory and vision, a person can compare the category into which the object represented by the visual information previously displayed together with the information code is classified and the category into which the object represented by the visual information currently displayed together with the information code is classified. Based on the result of the comparison, the person can determine whether the information code has been replaced. In the case where the person determines that the information code has been replaced, the person can prevent the reading of the currently displayed information code. As a result, the designated processing is not executed. In this way, improper behavior related to the information code will be suppressed.
[0028] Another aspect of the present invention is an information code generating system, characterized in that the category information generating element uses a method different from the encoding method used to generate the information code from the original information to convert the original information to generate the category information.
[0029] According to this aspect, category information different from the information code is generated by conversion.
[0030] Another form of the present invention is an information code generating system, characterized in that it also includes a determining element, which determines which conversion specification to use from a plurality of different conversion specifications for each information code generated, and the plurality of conversion specifications can be used to convert the original information to generate the category information; and the category information generating element generates the category information according to the determined conversion specification, and the information code generating element encodes the original information and the specification information representing the determined conversion specification from the plurality of conversion specifications to generate the information code.
[0031] According to this aspect, it is difficult to identify the conversion standard used to generate the visual information. Therefore, it is possible to prevent a malicious third party from generating correct visual information that should be displayed together with an inappropriate information code.
[0032] Another aspect of the present invention is characterized in that the specification information indicates a date on which the information code and the visual information are output, and the category information generating element generates the category information according to the conversion specification corresponding to the date among the plurality of conversion specifications.
[0033] Another form of the present invention is an information code generating system, characterized in that it also includes a location information acquisition element, which acquires location information representing the location of a place where the information code should be displayed; and the category information generating element generates the category information different from the generated category information, and the generated category information is generated for other information codes that should be displayed at a place within a specified distance from the place represented by the acquired location information.
[0034] According to this form, visual information different from visual information that should be displayed together with other information codes that should be displayed at a location within a specified distance from a location where the generated information code should be displayed is generated. Therefore, in the case where the combination of the information code and the visual information has been replaced with a combination of other information code and visual information that should be displayed at a relatively close location, a person can determine whether the information code has been replaced by viewing the visual information.
[0035] Still another aspect of the present invention is an information code generating system, characterized in that the category information generating element generates category information that has a relatively small degree of overlap with the already generated category information among a plurality of category information that are different from the already generated category information.
[0036] According to this form, visual information is generated that is easily distinguishable from visual information that should be displayed together with other information codes, which should be displayed at a location within a specified distance from the location where the information code should be displayed. Therefore, even if the memory of the visual information seen before is vague, people can easily determine whether the information code has been replaced.
[0037] Still another aspect of the present invention is an information code generating system, characterized in that the visual information represents the object in a manner that enables the category to be recognized by human vision.
[0038] Another aspect of the present invention is an information code generating system, characterized in that the visual information includes at least one of pictures, numbers, text and symbols.
[0039] Another form of the present invention is an information code generating system, characterized in that the information code includes multiple geometric figures.
[0040] Still another aspect of the present invention is an information code generating system, characterized in that the output element outputs an image in which the visual information is arranged outside the information code.
[0041] Still another aspect of the present invention is an information code generating system, characterized in that the output element outputs an image in which the visual information is arranged inside the information code.
[0042] Another form of the present invention is an information processing method executed by a computer, characterized in that it includes: a first category information acquisition step, based on original information obtained by photographing an optically readable information code and decoding it, acquiring the first category information, the first category information indicating the category into which an object visually represented by a first visual information that should be displayed together with the information code is classified; a second category information acquisition step, acquiring the second category information, the second category information indicating the category into which an object visually represented by a second visual information is classified, the second visual information being photographed together with the information code because it is to be displayed together with the information code; a comparison step, comparing the acquired first category information with the acquired second category information; and a control step, based on the result of the comparison, controlling the execution of a specified processing using the acquired original information.
[0043] Another form of the present invention is an information code generating method executed by a computer, characterized in that it includes: an information code generating step of encoding original information to generate an optically readable information code; a category information generating step of acquiring category information based on the original information, the category information indicating the category into which an object that can be visually represented is classified; and an output step of outputting the generated information code in association with visual information, the visual information visually representing the object classified into the category represented by the generated category information.
[0044] [Effects of the Invention]
[0045] According to the present invention, it is possible to easily determine whether the information code has been replaced secretly. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 This is a diagram showing an example of a schematic configuration of an electronic settlement system S according to an embodiment.
[0047] Figure 2 This is a block diagram showing an example of a schematic configuration of the settlement management server 1 according to one embodiment.
[0048] Figure 3A 2 is a diagram showing an example of the extended information code 200.
[0049] Figure 3B2 is a diagram showing an example of the extended information code 200.
[0050] Figure 3C 2 is a diagram showing an example of the extended information code 200.
[0051] Figure 4 This is a diagram showing an example of a functional block of the system control unit 11 of the settlement management server 1 according to one embodiment.
[0052] Figure 5 2 is a diagram showing an example of the data flow when the extended information code 200 is distributed.
[0053] Figure 6 2 is a diagram showing an example of the data flow when the extended information code 200 is checked.
[0054] Fig. 7A The following is a diagram showing an example of determining improper behavior related to information codes.
[0055] Figure 7B The following is a diagram showing an example of determining improper behavior related to information codes.
[0056] Figure 7C The following is a diagram showing an example of determining improper behavior related to information codes.
[0057] Figure 8 This is a flowchart showing an example of the information code issuing process of the system control unit 11 of the payment management server 1.
[0058] Fig. 9 This is a flowchart showing an example of the information code use control process of the system control unit 11 of the payment management server 1.
[0059] Fig.10 2 is a diagram showing an example of information stored in the verification code DB 14 a .
[0060] Fig.11 This is a flowchart showing an example of the information code issuing process of the system control unit 11 of the payment management server 1.
[0061] Fig.12 This is a flowchart showing an example of the information code use control process of the system control unit 11 of the payment management server 1.
[0062] Fig.13 2 is a diagram showing an example of information stored in the verification code DB 14 a .
[0063] Fig.14 2 is a diagram showing an example of how the extended information code 200 is generated.
[0064] Fig.15 This is a diagram showing an example of the data flow for comparing position information.
[0065] Fig.16 This is a flowchart showing an example of the information code issuing process of the system control unit 11 of the payment management server 1.
[0066] Fig.17 This is a flowchart showing an example of the information code use control process of the system control unit 11 of the payment management server 1.
[0067] Fig.18 1 is a diagram showing an example of the data flow when the extended information code 200 is generated.
[0068] Fig.19 This is a diagram showing an example of the data flow when checking the extended information code.
[0069] Fig. 20 This is a flowchart showing an example of the information code issuing process of the system control unit 11 of the payment management server 1.
[0070] Fig.21 This is a flowchart showing an example of the information code use control process of the system control unit 11 of the payment management server 1. DETAILED DESCRIPTION
[0071] The embodiments of the present invention are described in detail below with reference to the accompanying drawings. Some of the embodiments described below are embodiments in which the present invention is applied to an electronic settlement system for settling commodity purchases or service fees based on the terminal device reading an information code. By decoding the read settlement information code, settlement information can be obtained. The electronic settlement system specifies the settlement amount and the financial account of the store that is the recipient of the amount from the settlement information.
[0072] Some information codes for settlement are displayed on the display of the terminal device, and some are printed on designated objects such as signs. For example, a sign with an information code printed on it is posted in the store. A malicious third party may tear off the sign and then post a sign with other information codes printed on it. Or, the third party may attach other signs on top of the original sign. In this case, for example, a customer who wants to buy goods in the store only needs to check the information code on the sign, and it is difficult to find that the information code has been replaced. In addition, it is extremely difficult for people to remember the information code, so even the employees of the store find it difficult to find that the information code has been replaced. If the information code is read in this way and the settlement is processed, the money will be paid to the account of the malicious third party. As electronic settlement using information codes continues to become popular, it is hoped that such improper behavior can be prevented.
[0073] [1. First embodiment]
[0074] [1-1. Composition of the behavior analysis system]
[0075] First, use Figure 1 , the structure of the electronic settlement system S according to the first embodiment is described. Figure 1 This is a diagram showing an example of the schematic configuration of the electronic settlement system S according to the present embodiment.
[0076] like Figure 1 As shown, the electronic settlement system S is composed of a settlement management server 1, a printer 2, a plurality of store terminals 3, and a plurality of user terminals 4. The settlement management server 1, each store terminal 3, and each user terminal 4 are connected to a network NW. The network NW is constructed by, for example, the Internet, a dedicated communication line (for example, a CATV (Community Antenna Television) line), a mobile communication network (including base stations, etc.), and a gateway.
[0077] The settlement management server 1 issues an information code, which is an information code obtained by encoding the settlement information and is combined with the following visual information. The combination of the information code and the visual information is called an extended information code. The information code can be issued for each commodity or service provided by the store. In addition, the settlement management server 1 performs electronic settlement based on the settlement information obtained by decoding the information code in the extended information code read by the user terminal 4. At this time, the settlement management server 1 determines whether there has been any improper behavior related to the information code based on the visual information attached to the information code (verify the information code). Examples of improper behavior judged by the settlement management server 1 are as follows.
[0078] (1) The extended information code contains an irregular information code.
[0079] (2) Although the extended information code includes the regular information code, only the information code has been replaced among the information code and visual information originally included in the extended code.
[0080] In this embodiment, the information code issued by the settlement management server 1 is called a legitimate information code. In addition, the device that issues the information code and the device that performs electronic settlement can be different devices. In addition, the device that performs electronic settlement and the device that verifies the information code can be different devices.
[0081] The printer 2 is connected to the settlement management server 1. Alternatively, the settlement management server 1 may also include the printer 2. The printer 2 prints the extended information code on a designated object based on the control performed by the settlement management server 1. Examples of the designated object include a sign, paper, and a plastic plate. The designated object printed with the information code may be mailed to a store that provides a product or service corresponding to the information code.
[0082] Each store terminal 3 is a terminal device installed in a store that sells goods or provides services. Examples of store terminals 3 include personal computers, tablet computers, smart phones, mobile phones, PDAs (Personal Digital Assistants), etc. An application for requesting the issuance of an extended information code is installed on each store terminal. Based on the operation of the store staff, the store terminal 3 requests the settlement management server 1 to issue an extended information code. The settlement management server 1 issues a new extended information code in accordance with the request.
[0083] Each user terminal 4 is a terminal device used by a user who is a consumer. Examples of the user terminal 4 include a smart phone, a tablet computer, a mobile phone, a PDA, etc. An application for electronic settlement is installed on each user terminal 4. Each user terminal 4 is equipped with a digital camera. The user uses the digital camera to photograph the extended information code displayed on the designated object. The user terminal 4, for example, sends a photo image of the extended information code obtained by photographing to the settlement management server 1. The settlement management server 1 performs information code verification and settlement processing based on the photo image.
[0084] [1-2. Configuration of the Settlement Management Server]
[0085] Next, use Figure 2 , the structure of the settlement management server 1 is explained. Figure 2 1 is a block diagram showing an example of the schematic configuration of the settlement management server 1 according to the present embodiment. Figure 2 As shown, the payment management server 1 includes a system control unit 11, a system bus 12, an input / output interface 13, a storage unit 14, and a communication unit 15. The system control unit 11 and the input / output interface 13 are connected via the system bus 12.
[0086] The system control unit 11 includes a CPU (Central Processing Unit) 11 a , a ROM (Read Only Memory) 11 b , a RAM (Random Access Memory) 11 c and the like.
[0087] The input / output interface 13 performs interface processing between the storage unit 14 and the communication unit 15 and the system control unit 11 .
[0088] The storage unit 14 includes, for example, a hard disk drive, etc. Various databases are stored in the storage unit 14. Examples of databases stored in the storage unit 14 include databases related to stores logged in to the electronic settlement system S, databases related to users logged in to the electronic settlement system S, and databases related to goods or services for which information codes have been issued. In addition, the storage unit 14 stores various programs such as an operating system, a DBMS (Database Management System), and a server program. The server program is a program that enables the system control unit 11 to issue information codes, verify information codes, and perform settlement processing. The server program can be obtained from other devices, for example, via the network NW. Alternatively, the server program can also be recorded in a recording medium such as a magnetic tape, an optical disk, or a memory card and read in via a drive device.
[0089] The communication unit 15 is connected to the store terminal 3 and the user terminal 4 via the network NW, and controls the communication status with these devices.
[0090] [1-3. Structure of extended information code]
[0091] Next, use FIG. 3A to FIG. 3C , the composition of the extended information code published in the electronic settlement system S is explained. FIG. 3A to FIG. 3C 2 is a diagram showing an example of the extended information code 200. Figure 3A As shown, the extended information code 200 includes an information code 210 and visual information 220 .
[0092] The information code 210 is optically readable. The so-called optically readable information code refers to a code that can be detected by devices such as CCD (Charge-Coupled Device) sensors, CMOS (Complementary Metal Oxide Semiconductor) sensors, other optical sensors or laser sensors. In this embodiment, a digital camera is used. The information code 210, for example, includes multiple geometric figures. As examples of geometric figures, rectangles, triangles, circles, lines (thinner rectangles) and the like can be listed. Figures formed by combining multiple of these basic geometric figures are also regarded as geometric figures. Generally, it is extremely difficult for a person to identify the original information that has been encoded by looking at the information code 210. The generated information code 210 can be, for example, a two-dimensional code or a one-dimensional barcode. The specifications of the information code 210 are not particularly limited. As examples of two-dimensional codes, QR code (registered trademark), Datamatrix code, Maxi code and the like can be listed. Examples of barcode standards include JAN (Japanese Article Number), EAN (European Article Number), and UPC (Universal Product Code).
[0093] Visual information 220 is information that visually represents certain objects. The type of object is not particularly limited. Examples of objects include animals, virtual characters, vehicles, props, sports, numbers, text, symbols, etc. Visual information 220 represents the object in a manner that allows a person to visually recognize the category of the object. When the object is an animal, examples of categories include dogs, cats, monkeys, etc. When the object is a sport, examples of categories include football, baseball, tennis, etc. When the object is a number, examples of categories include "0", "1", "2", etc. When the object is text, examples of categories include "A", "B", "C", etc. As long as the object can be visually recognized, any definition of the category is fine.
[0094] Each officially published information code 210 is associated with a unique and specific visual information 220. Therefore, there is only one visual information 220 that should be displayed together with a specific information code 210. It is difficult for a person to determine whether the information code 210 has been replaced by simply viewing the currently displayed information code 210. On the other hand, if it is possible to determine whether the visual information 220 seen in the past is consistent with the visual information 220 currently seen, then a person can determine whether the information code 210 displayed together with the visual information 220 has been replaced. Therefore, it is more ideal to use visual information 220 to represent an object in a manner that allows a person to easily remember the category of the object represented by the visual information 220 by viewing the visual information 220. For example, the visual information 220 includes at least one of a picture, a number, a text, and a symbol. As examples of pictures, drawings, photographs, etc. can be listed. Figure 3A The visual information 220 shown includes drawings 221, 222, and 223 of animals. Drawings 221 to 223 are components of the visual information 220. Drawing 221 is a drawing of a sheep. Drawing 222 is a drawing of a dog. Drawing 223 is a drawing of a cat.
[0095] exist Figure 3B In the extended information code 200 shown, visual information 220 includes characters 224, 225, 226, and 227. Characters 224 to 227 are components of visual information 220. Character 224 represents "F". Character 225 represents "2". Character 226 represents "v". Character 227 represents "9".
[0096] Figure 3A and Figure 3B In the example, the visual information 220 is arranged outside the information code 210. The visual information 220 may also be arranged at any position above, below, left, or right of the information code 210. Figure 3C As shown, visual information 220 may also be arranged inside the information code 210 .
[0097] [1-4. Functional overview of the system control unit]
[0098] Next, use Figures 4 to 7C , an overview of the functions of the system control unit 11 of the settlement management server 1 will be described. Figure 4 FIG. 1 is a diagram showing an example of a functional block of the system control unit 11 of the settlement management server 1 of the present embodiment. The system control unit 11 causes the CPU 11a to read and execute various program codes included in the server program. Figure 4 As shown, it functions as an information code generating unit 111, a check code generating unit 112, a code output unit 113, an information code decoding unit 114, a check code acquiring unit 115, a visual information recognizing unit 116, a check code comparing unit 117 and an information processing unit 118.
[0099] [1-4-1. Release of extended information code]
[0100] Figure 5 2 is a diagram showing an example of a data flow when issuing an extended information code 200. The information code generating unit 111 obtains information that is the basis for generating the information code 210. In this embodiment, the original information is Figure 5 The settlement information 310 is shown. The settlement information 310 includes, for example, information identifying a commodity for which purchase money is to be settled or a service for which usage fee is to be settled. The format of the settlement information is not particularly limited, and for example, the settlement information can be represented by a URL. The system control unit 11 can generate new settlement information 310, for example, based on a request for issuing the extended information code 200 sent from the store terminal 3 to the settlement management server.
[0101] The information code generation unit 111 encodes the settlement information 310, which is original information, to generate the information code 210. The settlement information 310 is encoded using an encoding method corresponding to the specification of the information code 210. The encoding method may be a known method.
[0102] The verification code generation unit 112 generates information indicating the category into which the object that can be visually represented is classified based on the settlement information 310 as the original information. The generated information is Figure 5 The check code 320 shown. The check code 320 indicates the category to which the object represented by the visual information 220 generated later is classified. The check code 320 is composed of one or more code elements. Each code element is a numerical value, a character, or a character string, etc., indicating the category to which the object that can be visually represented is classified. Figure 5 In the example shown, the check code 320 indicates "sheep, dog, cat". As described above, the visual information 220 that should be displayed together with the specific information code 210 so that people can judge whether the information code 210 has been replaced is only the specific visual information 220. Therefore, if the situation or time changes, it is necessary to generate a specific check code 320 from the specific settlement information 310. In addition, the same check code 320 can also be generated for different information codes 210. However, the lower the probability of such a situation, the better.
[0103] In order to make people remember the visual information 220, it is more ideal that the number of elements constituting the visual information 220 is a little less. On the other hand, the fewer the number of constituent elements, the higher the probability that the multiple information codes 210 are consistent with the visual information 220 associated with them. Even if the extended information code 200 is replaced, as long as the visual information 220 remains unchanged, people will not be able to find that the information code 210 has been replaced. Therefore, it is more ideal that the visual information 220 is composed of a certain number of elements. For example, it is said that the number that people can remember in short-term memory is about 4 digits. Therefore, when using a digital string as the check code 320, the number of digits of the check code 320 can be less than 4 digits.
[0104] The check code generation unit 112 may, for example, convert the settlement information 310 into the check code 320 using a specified conversion method (algorithm). In this case, the check code generation unit 112 converts the settlement information 310 using a method different from the encoding method for generating the information code 210 from the settlement information 310 to generate the check code 320. Therefore, the check code 320 is necessarily different from the information code 210. The conversion method of the settlement information 310 is not particularly limited. The conversion method used may be a reversible conversion or an irreversible conversion. For example, the check code generation unit 112 may generate the check code 320 by hashing the settlement information 310.
[0105] The code output unit 113 associates the information code 210 generated by the information code generation unit 111 with the visual information 220 to form the extended information code 200 and outputs it. The visual information 220 visually represents an object classified into the category represented by the check code 320 generated by the check code generation unit 112. For example, when the visual information 220 includes a picture, the storage unit 14 pre-stores image data representing the object classified into the category. When the visual information 220 includes numbers, characters, or symbols, the storage unit 14 pre-stores image data or font data of numbers, characters, or symbols classified into the category. The code output unit 113 generates the visual information 220 based on the image data (or font data). The code output unit 113 outputs, for example, an image including the information code 210 and the visual information 220. The code output unit 113 may also print the information code 210 and the visual information 220 onto the designated object 400 using the printer 2. Outputting the information code 210 and the visual information 220 in association means outputting the information code 210 and the visual information 220 in a form that allows a person to visually recognize the association between the information code 210 and the visual information 220. For example, if the information code 210 and the visual information 220 are displayed on the same designated object 400, a person can recognize that the information code 210 and the visual information 220 are associated.
[0106] [1-4-2. Verification of extended information code]
[0107] Figure 6 FIG. 2 is a diagram showing an example of a data flow in the case of checking the extended information code 200. Figure 6 As shown, an extended information code 200 is displayed on a certain designated object 400. The extended information code 200 may be officially released or may not be. Alternatively, there is a possibility that the designated object 400 printed with the officially released extended information code 200 has been replaced with another designated object 400 printed with another officially released extended information code 200. Alternatively, there is a possibility that only the information code 210 in the extended information code 200 has been replaced.
[0108] To settle the purchase price of goods or service usage fee, the user uses the digital camera of the user terminal 4 to take a picture of the extended information code 200. This obtains the photo image 330 of the extended information code 200. The user terminal 4 transmits the photo image 330 to the settlement management server 1.
[0109] The information code decoding unit 114 decodes the information code 210 included in the photo image 330 based on the photo image 330 received from the user terminal 4, and generates the settlement information 340 as original information.
[0110] The verification code acquisition unit 115 acquires the verification code 350, which is information indicating the category into which the object visually indicated by the visual information to be displayed together with the information code 210 is classified, based on the settlement information 340 obtained by photographing the information code 210 and decoding it by the information code decoding unit 114. The visual information to be displayed together with the information code 210 refers to the visual information that is formally output by the code output unit 113 in association with the information code 210 (the visual information associated with the information code 210 in the formally published extended information code). In the present embodiment, when the extended information code 200 is published, the verification code generation unit 112 generates the verification code 320 by converting the settlement information 310. Therefore, the verification code acquisition unit 115 generates the verification code 350 by converting the settlement information 340 using the same method. In this case, the verification code generation unit 112 can also serve as the verification code acquisition unit 115.
[0111] The visual information recognition unit 116 obtains a check code 360, which indicates the category into which the object visually represented by the visual information 220 is classified. The visual information 220 is photographed together with the information code 210 because it is to be displayed together with the information code 210. The visual information 220 photographed together with the information code 210 is the visual information 220 actually displayed together with the information code 210. The visual information 220 actually displayed may be the visual information output in a regular manner in association with the information code 210, or it may not be. As described above, in the case where only the information code 210 is replaced in the extended information code 200, the visual information 220 does not correspond to the information code 210 displayed together. It is more desirable that the classification result of the object obtained by the visual information recognition unit 116 is consistent with the tendency of the classification result obtained by a person through vision. The visual information recognition unit 116 can obtain the check code 360, for example, by performing image classification on the photo image 330. As a method of image classification, for example, a pattern matching method can be used. For example, the visual information recognition unit 116 identifies the visual information 220 from the photo image, and divides the image of the visual information 220 into images of the respective constituent elements. The visual information recognition unit 116 calculates the similarity between the image data stored by category in the storage unit 14 and the images of the respective constituent elements. The visual information recognition unit 116 determines the category corresponding to the image data with the highest similarity for each constituent element, and generates a check code 360. Alternatively, a machine learning method may be used as a method for image classification. For example, a specified neural network model is pre-trained based on the image data stored in the storage unit 14. One image data may be used for each category for training. The visual information recognition unit 116 inputs the image of each constituent element to the trained model, so that it outputs information indicating the category of each constituent element. The visual information recognition unit 116 combines the output information to generate a check code 360. In addition, it does not matter which of the generation of the check code 350 and the generation of the check code 360 is performed first.
[0112] The check code comparison unit 117 compares the check code 350 acquired by the check code acquisition unit 115 with the check code 360 acquired by the visual information recognition unit 116. In particular, the check code comparison unit 117 determines whether the comparison result between the check code 350 and the check code 360 satisfies a specified condition. For example, the check code comparison unit 117 determines whether the check code 350 and the check code 360 are consistent.
[0113] The information processing unit 118 controls the execution of the designated processing using the settlement information 340 obtained by the information code decoding unit 114 based on the comparison result of the check code 350 and the check code 360 obtained by the check code comparison unit 117. In the present embodiment, the designated processing is the settlement processing. When the comparison result satisfies the designated condition, the information processing unit 118 executes the settlement processing. On the other hand, when the comparison result does not satisfy the designated condition, the information processing unit 118 does not execute the settlement processing (refuses to execute the settlement processing). Alternatively, when the comparison result does not satisfy the designated condition, the information processing unit 118 may also prompt the user based on the comparison result. For example, the information processing unit 118 may display a notification such as "This information code may be an inappropriate information code." through the user terminal 4. After the prompt notification, the information processing unit 118 may also decide whether to execute the settlement processing according to the user's choice. For example, the information processing unit 118 causes the user terminal 4 to further display a message such as "Do you want to settle?". When the user operates the user terminal 4 and selects to agree to the settlement, the information processing unit 118 executes the settlement processing. If the user has chosen not to consent to the settlement, the information processing unit 118 does not execute the settlement process.
[0114] 7A to 7C is a diagram showing an example of determining improper behavior related to an information code. For example, the settlement management server 1 generates settlement information "AAAAA" for commodity A sold by store X. Then, Fig. 7A As shown, the settlement management server 1 generates the information code 210-1 by encoding the settlement information "AAAAA". In addition, the settlement management server 1 generates the visual information 220-1 based on the settlement information "AAAAA". The visual information 220-1 is the digital string "8545". The settlement management server 1 prints the information code 210-1 and the visual information 220-1 on the sign 410. Then, the sign 410 is posted in the store X. The person 500 who visits the store X can easily remember the digital string "8545" as the visual information 220-1 by looking at the sign 410. The person 500 can be, for example, a clerk of the store X or a customer of the store X.
[0115] Then, for example, for product B of malicious person Y who has nothing to do with store X, settlement information "BBBBB" is generated. Product B may be a virtual product. Then, Figure 7BAs shown, information code 210-2 is generated by encoding the settlement information "BBBBB". Information code 210-2 is printed on the sign 420. Perhaps person Y himself issued information code 210-2, or settlement management server 1 issued an extended information code containing information code 210-2 based on a request from person Y. Person Y visits store X and quietly sticks sign 420 on information code 210-1 printed on sign 410. In other words, information code 210-1 is replaced with information code 210-2. Because visual information 220-1 has not been replaced, person 500 may not find that information code 210-1 has been replaced. A user wants to buy product A and takes a photo of information code 210-2 together with visual information 220-1. The photo image obtained by shooting is sent from user terminal 4 to settlement management server 1. Settlement management server 1 decodes information code 210-2 contained in the photo image and generates settlement information "BBBBB". Then, the settlement management server 1 obtains the verification code based on the settlement information "BBBBB". Since the settlement information "BBBBB" is different from the settlement information "AAAAA", the probability that the verification code generated by the settlement information "BBBBB" is different from "8545" is extremely high. For example, the verification code "2150" is generated. The settlement management server 1 unilaterally performs image recognition on the visual information 220-1 contained in the photo image and generates the verification code "8545". Since the verification code "2150" is different from the verification code "8545", the settlement management server 1 refuses to execute the settlement processing for the product B. In this way, it is possible to avoid the situation where the user or store X who purchased the product A suffers losses.
[0116] Or, if Figure 7CAs shown, the information code 210-2 is generated by encoding the settlement information "BBBBB", and the visual information 220-2 is generated based on the settlement information "BBBBB". The visual information 220-2 is the digital string "2150". The information code 210-2 and the visual information 220-2 are printed on the sign 430. Person Y quietly sticks the sign 430 on the sign 420. In other words, the combination of the information code 210-1 and the visual information 220-1 is replaced by the combination of the information code 210-2 and the visual information 220-2. Then, the person 500 who has seen the visual information 220-2 printed on the sign 430 can easily recognize that the visual information 220-2 is the digital string "2150". The digital string "2150" is different from the digital string "8545" remembered by the person 500. Therefore, the person 500 can find that the information code 210-1 has been replaced. Thus, the person 500 or the like can take measures such as tearing off the label 430 before someone takes a picture of the information code 210-1 to purchase the product A. This makes it easy for people to determine whether the information code has been replaced. Thus, the prevention of improper behavior related to the information code is strengthened.
[0117] [1-5. Operation of the electronic settlement system]
[0118] Next, use Figure 8 and Fig. 9 , the operation of the electronic settlement system S is explained. Figure 8 1 is a flowchart showing an example of information code issuing processing by the system control unit 11 of the payment management server 1. When the payment management server 1 receives an information code issuing request from the store terminal 3, the system control unit 11 executes the information code issuing processing according to the program code included in the server program.
[0119] like Figure 8As shown, the system control unit 11 generates new settlement information 310 according to the release request (step S101). Then, the information code generation unit 111 encodes the generated settlement information 310 to generate a new information code 210 (step S102). Then, the check code generation unit 112 generates a check code 320 by converting the settlement information 310, such as hashing using a specified hash function (step S103). Then, the code output unit 113 generates visual information 220 corresponding to the generated check code 320 (step S104). For example, the code output unit 113 obtains image data corresponding to each category represented by the check code 320 from the storage unit 14. The code output unit 113 combines the obtained image data in the order of the categories represented by the check code 320 to generate image data of the visual information 220. The code output unit 113 outputs the generated information code 210 in association with the visual information 220 (step S105). For example, the code output unit 113 combines the image data of the information code 210 with the image data of the visual information 220 to generate the image data of the extended information code 200. The code output unit 113 sends the generated image data to the printer 2, and the extended information code 200 is printed by the printer 2. Once step S105 is completed, the information code issuance process is completed.
[0120] Fig. 9 1 is a flowchart showing an example of the information code utilization control process of the system control unit 11 of the settlement management server 1. The user photographs the extended information code 200 displayed on the designated object using the user terminal 4. Then, the user terminal 4 transmits the photo image 330 of the extended information code 200 to the settlement management server 1. When the settlement management server 1 receives the photo image 330 from the user terminal 4, the system control unit 11 executes the information code utilization control process according to the program code included in the server program.
[0121] like Fig. 9 As shown in FIG. 1 , the system control unit 11 obtains the photo image 330 sent from the user terminal 4 via the communication unit 15 (step S201). Then, the information code decoding unit 114 decodes the information code contained in the photo image 330 and generates the settlement information 340 (step S202). Then, the verification code acquisition unit 115 uses the same Figure 8The settlement information 340 is converted in the same manner as step S103 in the information code issuing process shown in FIG. 1 , and a check code 350 is generated (step S203). Then, the visual information recognition unit 116 classifies the photo image 330 to obtain a check code 360 indicating the category of the object represented by the visual information 220 (step S204). For example, the visual information recognition unit 116 specifies the category into which the object represented by each component element that constitutes the visual information 220 included in the photo image 330 is classified. The visual information recognition unit 116 generates the check code 360 by combining the information indicating the specified category according to the arrangement of the component elements.
[0122] Then, the verification code comparison unit 117 determines whether the verification code 350 and the verification code 360 are consistent (step S205). When it is determined that the verification code 350 and the verification code 360 are consistent (step S205: Yes), the process proceeds to step S206. In step S206, the information processing unit 118 performs settlement processing (step S206). For example, the information processing unit 118 obtains the credit card information of the user who uses the user terminal 4 that sent the photo image 330 from the database stored in the storage unit 14. In addition, the information processing unit 118 specifies the payment amount and the store as the recipient based on the settlement information 340. Based on the acquired information, the information processing unit 118 cooperates with the server device of the credit sales company (not shown) to perform processing for the user to settle the amount with the store. Then, the information processing unit 118 sends a message indicating that the electronic settlement has been completed to the user terminal 4 (step S207). On the other hand, if it is determined that the verification code 350 and the verification code 360 are inconsistent (step S205: No), the process proceeds to step S208. In step S208, the information processing unit 118 sends an error message to the user terminal 4 (step S208). As a result, the user terminal 4 displays an error message such as "the settlement has been rejected due to an inappropriate information code". Once step S207 or S208 is completed, the information code utilization control process is completed.
[0123] [1-6. Variations]
[0124] Each store terminal 3 may execute part or all of the processing related to the issuance of the extended information code 200. In this case, for example, each store terminal 3 may be equipped with a printer. The CPU equipped in each store terminal 3 functions as at least one of the information code generating unit 111, the verification code generating unit 112, and the code output unit 113. For example, after generating the extended information code 200, the settlement management server 1 may send the extended information code 200 to the store terminal 3. Then, the store terminal 3 may print the extended information code 200. Alternatively, the store terminal 3 may generate the information code 210, and the settlement management server 1 may generate the visual information 220. Then, the store terminal 3 may combine the information code 210 with the visual information 220 to generate the extended information code 200. Alternatively, the store terminal 3 may generate both the information code 210 and the visual information 220. However, from the viewpoint of security, when it is important to keep the method of converting the settlement information 310 to generate the verification code confidential, it is more desirable that the settlement management server 1 generates the visual information 220.
[0125] Each user terminal 4 may execute part or all of the processing related to the verification of the extended information code 200. In this case, the CPU of each user terminal 4 functions as at least one of the information code decoding unit 114, the verification code acquisition unit 115, the visual information recognition unit 116, the verification code comparison unit 117, and the information processing unit 118. For example, the user terminal 4 may decode the information code 210 and generate the settlement information 340. The user terminal 4 may send the settlement information 340 and the photo image 330 to the settlement management server 1. In this case, the settlement management server 1 generates and compares the verification codes 350 and 360. The user terminal 4 may further recognize the visual information 220 from the photo image 330 and generate the verification code 350. Then, the user terminal 4 may send the verification code 350 and the settlement information 340 to the settlement management server 1. In this case, the settlement management server 1 generates the verification code 360 and compares the verification code 350 with the verification code 360. The user terminal 4 may further convert the settlement information 340 and generate a verification code 360. In this case, the user terminal 4 also compares the verification code 350 with the verification code 360. When the verification code 350 and the verification code 360 are consistent, the user terminal 4 sends the settlement information 340 to the settlement management server 1. When the verification code 350 and the verification code 360 are different, the user terminal 4 refuses to send the settlement information 340. Thus, the user terminal 4 controls the execution of the settlement process of the settlement management server 1. The settlement management server 1 executes the settlement process only when the settlement information 340 is received from the user terminal 4. In addition, as described above, it is more desirable that the settlement management server 1 generates the verification code 360 from the viewpoint of security.
[0126] As described above, according to the present embodiment, the information code generating unit 111 encodes the settlement information 340 to generate an optically readable information code 210. In addition, the verification code generating unit 112 obtains the verification code 320 based on the settlement information 340, and the verification code 320 indicates the category to which the object that can be visually represented is classified. In addition, the code output unit 113 outputs the generated information code 210 in association with the visual information 220, and the visual information 220 visually indicates the object classified into the category represented by the generated verification code 320. Therefore, it is easy for a person to determine whether the information code 210 has been replaced. In the case where a person determines that the information code 210 has been replaced, the person can prevent the reading of the currently displayed information code 210. As a result, the designated processing is not performed. In this way, improper behavior related to the information code 210 will be suppressed.
[0127] In addition, the check code generation unit 112 may generate the check code 320 by converting the settlement information 340 using a method different from the encoding method used to generate the information code 210 from the settlement information 340. According to this embodiment, the check code 320 different from the information code 210 is generated by conversion.
[0128] In addition, the visual information 220 can represent the object in a manner that can be recognized by human vision. In addition, the visual information can include at least one of a picture, a number, a text, and a symbol. In addition, the information code 210 can include a plurality of geometric figures.
[0129] In addition, the code output unit 113 may output an image in which the visual information 220 is arranged outside the information code 210. In addition, the code output unit 113 may output an image in which the visual information 220 is arranged inside the information code 210.
[0130] In addition, the verification code acquisition unit 115 acquires the verification code 350, which indicates the category into which the object visually indicated by the visual information 220 to be displayed together with the information code 210 is classified, based on the settlement information 340 obtained by photographing and decoding the optically readable information code 210. In addition, the visual information recognition unit 116 acquires the verification code 360, which indicates the category into which the object visually indicated by the visual information 220 is classified, and the visual information 220 is photographed together with the information code 210 because it is to be displayed together with the information code 210. In addition, the verification code comparison unit 117 compares the acquired verification code 350 with the acquired verification code 360. In addition, the information processing unit 118 controls the execution of a specified process using the acquired settlement information 340 based on the comparison result. Therefore, it is easy to judge whether the information code 210 has been replaced. When a person determines that the information code 210 has been replaced, the person can prevent the reading of the currently displayed information code 210. As a result, the designated process is not executed. In this way, the improper behavior related to the information code 210 will be suppressed.
[0131] In addition, the verification code acquisition unit 115 can generate the verification code 350 by converting the obtained settlement information 340. In addition, the visual information recognition unit 116 can classify the photograph image 330 obtained by photographing the information code 210 and the visual information 220, thereby acquiring the verification code 360. According to this form, the verification code 350 can be acquired even if the settlement information 340 and the verification code 350 are not stored in advance in association with each other. In addition, the verification code 360 indicating the same category as the category that is likely to be recognized by the visual information 220 can be acquired.
[0132] The check code acquisition unit 115 may generate the check code 350 from the settlement information 340 using a method different from the encoding method used to generate the information code 210 from the settlement information 340. According to this embodiment, the check code 350 different from the information code 210 is generated by conversion.
[0133] In addition, the information processing unit 118 can execute the specified processing when the comparison result of the verification code 350 and the verification code 360 meets the specified condition, and not execute the specified processing when the comparison result does not meet the specified condition. According to this form, the situation where the specified processing is improperly executed when the information code 210 has been replaced can be prevented.
[0134] In addition, the information processing unit 118 may also execute a specified process when the comparison result satisfies a specified condition, and may notify the user based on the comparison result when the comparison result does not satisfy the specified condition. According to this form, the user can recognize that the information code 210 may have been replaced.
[0135] In addition, the information processing unit 118 can also determine whether to execute the specified processing according to the user's choice when the comparison result does not meet the specified condition. According to this form, the user can perform the specified processing responsibly on the basis that the user recognizes that the information code 210 may have been replaced.
[0136] [2. Second embodiment]
[0137] Next, use Figures 10 to 12 , the second embodiment is described. This embodiment is the same as the first embodiment except for the points described below. In this embodiment, the verification code is obtained by a method other than converting the settlement information or not related to the settlement information.
[0138] Fig.10 1 is a diagram showing an example of information stored in the verification code DB14a. In the present embodiment, the verification code DB14a is stored in the storage unit 14 of the settlement management server 1. "DB" is an abbreviation for database. The verification code DB14a stores information related to the verification code 320 generated in the electronic settlement system S. For example, the verification code DB14a stores a store ID, settlement information 310, and a verification code 320 in association with each information code 210 issued. The store ID is information for identifying a store. The store ID in the verification code DB14a indicates the store requesting the issuance of the information code 210. The settlement information 310 is information that serves as the basis for the issued information code 210. The verification code 320 corresponds to the visual information 220 associated with the issued information code 210.
[0139] Fig.11 1 is a flowchart showing an example of information code issuing processing by the system control unit 11 of the settlement management server 1. Fig.11 In Figure 8 The same steps are marked with the same symbols. Fig.11 As shown, first, steps S101 and S102 are executed. Then, the verification code generation unit 112 generates a new verification code 320 according to the specified algorithm (step S121). For example, the verification code generation unit 112 may also randomly determine the verification code 320. Alternatively, the verification code generation unit 112 may also determine the verification code 320 according to a specified order. Then, the verification code generation unit 112 associates the settlement information 310 with the verification code 320 and stores them in the verification code DB 14a (step S122). Then, steps S104 and S105 are executed, and the information code release process is completed.
[0140] Fig.12 1 is a flowchart showing an example of information code utilization control processing by the system control unit 11 of the settlement management server 1. Fig.12 In Fig. 9 The same steps are marked with the same symbols. Fig.12 As shown, first, steps S201 and S202 are executed. Then, the verification code acquisition unit 115 determines whether the settlement information 340 consistent with the settlement information 340 generated in step S202 has been stored in the verification code DB14a (step S221). When it is determined that the settlement information 340 is not stored in the verification code DB14a (step S221: No), the information processing unit 118 sends an error message to the user terminal 4 (step S208). This determination result means that the information code 210 read by the user terminal 4 is not the information code officially issued by the electronic settlement system S. On the other hand, when it is determined that the settlement information 340 has been stored in the verification code DB14a (step S221: Yes), the processing enters step S222. In step S222, the verification code acquisition unit 115 obtains the verification code 350 associated with the settlement information 340 from the verification code DB14a. Then, steps S204 and S205 are executed. In step S205, it is determined whether the verification code 350 acquired from the verification code DB 14a is consistent with the verification code 360. Depending on the result of the determination, steps S206 and S207 are executed, or step S208 is executed.
[0141] As described above, in this embodiment, as in the case of the first embodiment, each store terminal 3 may execute part or all of the processing related to the issuance of the extended information code 200. In addition, each user terminal 4 may execute part or all of the processing related to the verification of the extended information code 200. However, the settlement management server 1 needs to be equipped with the verification code DB 14a.
[0142] As described above, according to this embodiment, it is also easy to determine whether the information code 210 has been replaced.
[0143] [3. Third embodiment]
[0144] Next, use Figures 13 to 17 , the third embodiment is described. Except for the points described below, this embodiment is the same as the second embodiment. In this embodiment, the generation of the check code when issuing the information code uses the position information, and the check of the information code uses the position information.
[0145] Fig.131 is a diagram showing an example of information stored in the verification code DB 14a. In the present embodiment, the verification code DB 14a stores a store ID, settlement information 310, verification code 320, and store location information 380 in association with each information code 210 released. The store location information indicates the location of the place where the released information code 210 should be displayed. In other words, the store location information indicates the place where the designated object 400 for displaying the extended information code 200 should be placed. The place where the information code 210 should be displayed is usually the store that requested the release of the information code 210. However, when requesting the release of the information code 210, the store staff may also specify a place different from the store (a place where goods are sold or a place where services are provided) as the place where the information code 210 should be displayed. The location of the place where the information code 210 should be displayed may be represented by latitude and longitude, for example, or by an address.
[0146] When the information code 210 is released in this embodiment, the verification code generating unit 112 obtains the location information indicating the location of the place where the information code should be displayed. The location information is, for example, the store location information. Then, the verification code generating unit 112 generates a verification code 320 different from the generated verification code, and the generated verification code is generated for other information codes that should be displayed at a place within a specified distance from the place represented by the acquired location information. Thus, it is ensured that the visual information 220 is different between the extended information codes 200 that are relatively close to the place that should be displayed. Therefore, in the case where the extended information code 200 displayed at a certain place has been replaced with the extended information code 200 that should be displayed at a place nearby, the store employees and the like can discover the replacement.
[0147] Fig.14 2 is a diagram showing an example of generating the extended information code 200. Fig.14As shown, for example, a new extended information code 200-7 is issued for store 610. Area 700 is an area surrounded by a circle of a specified radius with store 610 as the center. In addition to store 610, there are stores 620 to 640 in area 700. Extended information code 200-1 has been issued for store 610. Extended information code 200-2 has been issued for store 620. Extended information code 200-3 has been issued for store 630. Extended information codes 200-4 and 200-5 have been issued for store 640. The visual information 220 contained in extended information codes 200-1 to 200-5 are "2411", "6114", "0264", "8339" and "8973", respectively. Therefore, the visual information 220 contained in the newly issued extended information code 200-7 is different from these, for example, "2072". There is a store 650 outside area 700. Extended information code 200-6 has been issued for store 650. The visual information 220 included in the extended information code 200-6 is "3625". Here, for the following reason, there is no problem even if the visual information 220 included in the newly issued extended information code 200-7 is changed to "3625".
[0148] The check code generation unit 112 may generate a check code that has a relatively small degree of overlap with the generated check code among a plurality of check codes different from the generated check code, and the generated check code is generated for other information codes that should be displayed at a place within a specified distance. That is, the check code generation unit 112 generates a check code 320 that has a very small degree of overlap with the generated check code. For example, the check code generation unit 112 may generate a check code 320 that has the smallest degree of overlap among the check codes different from the generated check code. In the present embodiment, the check code is composed of code elements that respectively represent the categories into which the objects that can be visually represented are classified. The degree of overlap may correspond to, for example, the number of code elements that have the same value and position as the code elements that constitute the generated check code among the code elements that constitute the check code 320. For example, the Hamming distance may be used as information indicating the degree of overlap. In this case, the longer the Hamming distance, the smaller the degree of overlap. For example, the Hamming distance between the numeric strings "1563" and "4581" is 3. In addition, in the case where there are constituent elements that have different positions but the same value, the check code generation unit 112 may also determine a larger degree of overlap. For example, the Hamming distance between the digital string "1623" and "1929" is 2, and the Hamming distance between the digital string "1623" and "1329" is also 2. The "9" in the digital string "1929" is not included in the digital string "1623", while the "3" in the digital string "1329" is included in the digital string "1623". Therefore, the digital string "1929" has a smaller overlap than "1329".
[0149] Generating visual information 220 by generating a check code 320 with a relatively small overlap makes it easy for a person to determine whether visual information 220 has changed. The smaller the overlap between the generated visual information 220 and other visual information 220, the lower the similarity between the visual information 220 and other visual information 220, and thus the easier it is for a person to distinguish the visual information. There is a case where the person's memory of visual information 220 seen in the past is vague, and the person cannot easily determine whether the visual information 220 currently seen is consistent with the visual information 220 seen in the past. However, if the visual information 220 currently seen is easily distinguishable from the visual information 220 seen in the past, then even if the memory is vague, the person can easily determine that they are different.
[0150] Fig.15 is a diagram showing an example of a data flow used to compare location information when verifying an extended code. In this embodiment, each user terminal 4 has a function of obtaining terminal location information indicating the location of the user terminal 4. For example, a global positioning satellite system such as GPS (Global Positioning System) can be used to calculate longitude and latitude as terminal location information. In addition, for example, the location information of the base station can be provided to the user terminal 4 by a mobile communication operator. In this case, the user terminal 4 obtains the longitude and latitude or address corresponding to the location of the base station located near the user terminal 4 as the terminal location information. After shooting the extended information code 200, the user terminal 4 can, as shown in FIG. Fig.15 As shown, the photo image 330 of the extended information code 200 is sent to the settlement management server 1 together with the terminal position information 370 at that time.
[0151] When verifying the extended information code 200, the verification code comparison unit 117 obtains location information indicating the location of the place where the extended information code 200 was photographed. This location information is, for example, the terminal location information 370 sent from the user terminal 4. In addition, the verification code comparison unit 117 obtains location information indicating the location of the place where the information code 210 should be displayed based on the settlement information 340 generated by the information code decoding unit 114. This location information is, for example, store location information 380. For example, the verification code comparison unit 117 obtains the store location information 380 associated with the settlement information 340 from the verification code DB 14a. The verification code comparison unit 117 further compares the obtained store location information 380 with the obtained terminal location information 370.
[0152] The information processing unit 118 controls the execution of the designated processing using the settlement information 340 based on the comparison result of the check code 350 and the check code 360, and the comparison result of the store location information 380 and the terminal location information 370. Specifically, the information processing unit 118 executes the settlement processing when the check code 350 and the check code 360 are consistent, and the distance between the location represented by the store location information 380 and the location represented by the terminal location information 370 is less than the specified threshold. On the other hand, the information processing unit 118 refuses to execute the settlement processing when the check code 350 and the check code 360 are consistent, but the distance between the location represented by the store location information 380 and the location represented by the terminal location information 370 exceeds the threshold. Thus, when the extended information code 200 displayed at a certain place has been replaced with the extended information code 200 that should be displayed at a place relatively far away from the place, the settlement management server 1 can refuse the settlement processing. In addition, the threshold of the distance may be the same as the specified distance or different from the specified distance.
[0153] exist Fig.14 In the example shown, the extended information code 200-7 displayed in the store 610 has been replaced with one of the extended information codes 200-2 to 200-5. However, the visual information 220 contained in each of the extended information codes 200-2 to 200-5 is different from the visual information 220 contained in the extended information code 200-7. Therefore, the employees of the store 610 are more likely to find that the extended information code 200-7 has been replaced. Assume that the extended information code 200-7 with the visual information 220 of "3625" is released. Because the visual information 220 has not changed in the case where the extended information code 200-7 has been replaced with the extended information code 200-6, the employees may not be able to find the replacement. However, the distance between the store 610 that should display the extended information code 200-7 and the store 650 that should display the extended information code 200-6 exceeds the threshold. Therefore, even if the user terminal 4 reads the extended information code 200 - 6 at the store 610 , the settlement process will be rejected due to the comparison between the store location information 380 and the terminal location information 370 in the settlement management server 1 .
[0154] In view of the ease with which people can remember the visual information 220, the fewer the number of patterns of the visual information 220, the better. For example, when the visual information 220 is composed of a 4-digit string, the number of patterns of the visual information 220 is 10,000. On the other hand, the fewer the number of patterns of the visual information 220, the higher the probability that the visual information 220 is consistent with each other between the extended information codes 200 as multiple extended information codes 200 are released. However, in this embodiment, it is ensured that the visual information 220 is different within the range of a specified distance. Therefore, it is possible to maintain a situation in which it is easy for people to determine whether the information code 210 has been replaced, and to reduce the number of patterns of the visual information 220.
[0155] Furthermore, when distributing the extended information code 200, the verification code is generated using the position information, and when verifying the extended information code 200, the position information is compared, and both of them may be implemented, or only one of them may be implemented.
[0156] Fig.16 1 is a flowchart showing an example of information code issuing processing by the system control unit 11 of the settlement management server 1. Fig.16 In Fig.11 The same steps are marked with the same symbols. Fig.16 As shown, first, steps S101 and S102 are executed. Then, the verification code generating unit 112 obtains the store location information as the location of the place where the information code should be displayed, and the store location information indicates the location of the store where the store terminal 3 that sent the release request of the information code 210 is set (step S141). For example, the verification code generating unit 112 can obtain the store location information as the address of the store of the release requester from the database of store addresses stored in the storage unit 14.
[0157] Then, the verification code generation unit 112 calculates the distance between the location indicated by the store location information of the store that issued the request and the location indicated by each store location information stored in the verification code DB 14a. The verification code generation unit 112 specifies the store location information stored in the verification code DB 14a, for which the calculated distance is less than the specified distance. The verification code generation unit 112 obtains the verification code stored in the verification code DB 14a in association with each store location information specified as the generated verification code to be excluded (step S142).
[0158] Then, the check code generation unit 112 generates a check code 320 that is different from all the check codes except the generated check codes acquired according to the specified algorithm. For example, the check code generation unit 112 may randomly determine the check code 320, or may determine the check code 320 according to a specified order. In either case, as long as the final check code 320 is different from the generated check codes except the generated check codes, it is sufficient. Then, based on the generated check code 320, the visual information 220 is generated, and the extended information code 200 is output (steps S104 and S105).
[0159] Fig.17 1 is a flowchart showing an example of information code utilization control processing by the system control unit 11 of the settlement management server 1. Fig.17 In Fig.12 The same steps are marked with the same symbols. Fig.17As shown, first, step S201 is executed. Then, the verification code comparison unit 117 obtains the terminal location information 370 sent from the user terminal 4 together with the photo image 330 via the communication unit 15 (step S241). Then, steps S202, S221, S204 and S205 are executed. In the case where it is determined in step S205 that the verification code 350 and the verification code 360 are inconsistent (step S205: No), step S208 is executed. On the other hand, in the case where it is determined that the verification code 350 and the verification code 360 are consistent (step S205: Yes), the process enters step S242.
[0160] In step S242, the verification code comparison unit 117 obtains the store location information 380 associated with the settlement information 340 generated in step S202 from the verification code DB 14a. Then, the verification code comparison unit 117 determines whether the difference between the store location information 380 and the terminal location information 370 is less than the threshold value (step S243). When it is determined that the difference between the store location information 380 and the terminal location information 370 is less than the threshold value (step S243: Yes), steps S206 and S207 are executed. On the other hand, when it is determined that the difference between the store location information 380 and the terminal location information 370 is not less than the threshold value (step S243: No), step S208 is executed.
[0161] As described above, according to the present embodiment, the verification code generation unit 112 acquires the store location information indicating the location of the place where the information code 210 should be displayed. In addition, the verification code generation unit 112 generates a verification code 320 different from the generated verification code, which is generated for another information code 210 that should be displayed at a place within a specified distance from the place indicated by the acquired store location information. Therefore, in the case where the combination of the information code 210 and the visual information has been replaced with a combination of another information code 210 and the visual information that should be displayed at a relatively close place, a person can judge whether the information code 210 has been replaced by viewing the visual information.
[0162] In addition, the verification code generating unit 112 can generate a verification code 320 that is different from the generated verification code and has a relatively small overlap with the generated verification code. According to this form, even if the memory of the visual information seen before is vague, people can easily determine whether the information code 210 has been replaced.
[0163] In addition, the verification code comparison unit 117 obtains the store location information indicating the location of the place where the information code 210 should be displayed based on the obtained settlement information 340. In addition, the verification code comparison unit 117 obtains the terminal location information indicating the location of the place where the information code 210 and the visual information 220 are photographed. In addition, the verification code comparison unit 117 further compares the obtained store location information with the obtained terminal location information. In addition, the information processing unit 118 controls the execution of the designated processing based on the comparison result of the verification code 350 and the verification code 360, and the comparison result of the store location information and the terminal location information. Therefore, even if the verification code 350 and the verification code 360 are consistent, the situation where the designated processing is improperly executed can be suppressed based on the comparison result of the store location information and the terminal location information.
[0164] [4. Fourth embodiment]
[0165] Next, use Figures 18 to 21 , the fourth embodiment is described. Except for the points described below, this embodiment is the same as the first embodiment. In this embodiment, the conversion specification of the settlement information 220 is determined from a plurality of different conversion specifications. The plurality of conversion specifications have been predetermined. Each conversion specification, for example, represents at least one of a conversion method and a fixed parameter for conversion. At least one of the conversion method and the fixed parameter may be different between the plurality of conversion specifications. For example, a plurality of hash functions corresponding to the plurality of conversion specifications may be stored in advance in the storage unit 14.
[0166] Fig.18 1 is a diagram showing an example of a data flow when an extended information code 200 is generated. When the extended information code 200 is released, the check code generating unit 112 determines which conversion specification is used for each information code 210 generated among a plurality of different conversion specifications, and the plurality of conversion specifications can be used to convert the settlement information 310 to generate the check code 320. The check code generating unit 112 generates the check code 320 according to the determined conversion specification. Here, it is more desirable to use an algorithm that makes the selection probability of each of the plurality of conversion specifications the same to determine the conversion specification. For example, the check code generating unit 112 can randomly determine the conversion specification for conversion, or can determine it in a specified order. Alternatively, the check code generating unit 112 can also use other information to determine the conversion specification. For example, the check code generating unit 112 can determine the conversion specification for conversion based on the release date of the extended information code 200. The release date is the date when the extended information code 200 is output. As long as one conversion specification is determined corresponding to the release date, the method of determining the conversion specification is arbitrary. The information used to determine the conversion specification can be information other than the release date of the extended information code 200. However, it is desirable to use information that makes it difficult for a third party to identify the information for determining the conversion specification.
[0167] For example, Fig.18 As shown, hash functions 600-1 to 600-N are stored in the storage unit 14 (N is a natural number satisfying N>1). Today's date is March 19, 2019 as the release date. Here, for example, release date information 710 is generated. Release date information 710 is "0319". From among hash functions 600-1 to 600-N, hash function 600-11 is determined corresponding to "0319". Using hash function 600-11, settlement information 310 is converted to generate check code 320.
[0168] The information code generating unit 111 encodes the settlement information 310 and the specification information indicating the conversion specification used to generate the check code 320 among the plurality of conversion specifications to generate the extended information code 200. The specification information may be, for example, identification information of the conversion specification. In the case where the conversion specification is selected based on the release date of the extended information code 200, the specification information may be release date information 710. For example, Fig.18 As shown, the settlement information 310 is combined with the release date information 710 to generate extended settlement information 720. The extended settlement information 720 is encoded to generate the information code 210. Then, the extended information code 200 including the information code 210 and the visual information 220 is generated.
[0169] Fig.19 2 is a diagram showing an example of a data flow when verifying an extended information code. The information code decoding unit 114 decodes the information code 210 to generate the settlement information 340 and the specification information. The specification information indicates the conversion specification used to generate the verification code 320 when the extended information code 200 is issued. When the verification code acquisition unit 115 generates the settlement information 340 and the specification information by decoding the information code 210, it generates the verification code 350 according to the conversion specification indicated by the specification information among the plurality of conversion specifications. For example, Fig.19 As shown, the information code 210 is decoded to generate extended settlement information 730. Extended settlement information 730 includes settlement information 340 and release date information 740. Release date information 740 is "0319", so hash function 600-11 is selected from hash functions 600-1 to 600-N. Using hash function 600-11, settlement information 310 is converted to generate check code 350. Then, check code 350 is compared with check code 360.
[0170] It is difficult to identify what conversion specification is used for what extended information code 200 by simply looking at the visual information 220. Therefore, it is difficult for a malicious person to generate visual information 220 that will pass the verification of the extended information code 200.
[0171] Fig. 201 is a flowchart showing an example of information code issuing processing by the system control unit 11 of the settlement management server 1. Fig. 20 In Figure 8 The same steps are marked with the same symbols. Fig. 20 As shown, first, step S101 is executed. Then, the check code generation unit 112 obtains the release date information 710 (step S161). For example, the check code generation unit 112 can obtain today's date as the release date information 710. Then, the information code generation unit 111 combines the settlement information 310 with the release date information 710 to generate the extended settlement information 720 (step S162). Then, the information code generation unit 111 encodes the generated extended settlement information 720 to generate a new information code 210 (step S163). Then, the check code generation unit 112 selects the conversion specification corresponding to the release date information 710 from a plurality of conversion specifications (step S164). For example, the check code generation unit 112 can generate identification information of the conversion specification to be selected by calculating the hash value of the release date information 710. Then, the check code generation unit 112 converts the settlement information 310 according to the selected conversion specification to generate the check code 320 (step S165). Then, steps S104 and S105 are executed.
[0172] Fig.21 1 is a flowchart showing an example of information code utilization control processing by the system control unit 11 of the settlement management server 1. Fig.21 In Fig. 9 The same steps are marked with the same symbols. Fig.21 As shown, first, step S201 is executed. Then, the information code decoding unit 114 decodes the information code 210 and generates the extended settlement information 730 (step S261). Then, the check code acquisition unit 115 determines whether the generated extended settlement information 730 includes the release date information (step S262). In the case where it is determined that the extended settlement information 730 does not include the release date information (step S262: No), step S208 is executed. On the other hand, in the case where it is determined that the extended settlement information 730 includes the release date information (step S262: Yes), the processing proceeds to step S263.
[0173] In step S263, the verification code acquisition unit 115 separates the extended settlement information 730 into the settlement information 340 and the release date information 740. Then, the verification code acquisition unit 115 selects the conversion specification corresponding to the release date information 740 from the plurality of conversion specifications (step S264). Then, the verification code acquisition unit 115 converts the settlement information 340 according to the selected conversion specification and generates the verification code 350 (step S265). Then, steps S204 and S205 are executed. In step S205, it is determined whether the verification code 350 generated in step S265 is consistent with the verification code 360. According to the result of the determination, steps S206 and S207 are executed, or step S208 is executed.
[0174] As described above, according to the present embodiment, the check code generation unit 112 determines which conversion specification is used for each information generated among a plurality of different conversion specifications, and the plurality of conversion specifications can be used to convert the settlement information 340 to generate the check code 320. In addition, the check code generation unit 112 generates the check code 320 according to the determined conversion specification. In addition, the information code generation unit 111 encodes the settlement information 340 and the specification information indicating the conversion specification determined among the plurality of conversion specifications to generate the information code 210. Therefore, it is difficult to specify which conversion specification is used to generate the visual information. Thus, it is possible to suppress the situation where a malicious third party generates the correct visual information that should be displayed together with the improper information code 210.
[0175] In addition, the check code generation unit 112 may generate the check code 320 according to a conversion specification corresponding to the release date of the output extended information code 200 among the plurality of conversion specifications. In addition, the information code generation unit 111 may encode the settlement information 340 and the release date information 710 to generate the information code 210.
[0176] [5. Other embodiments]
[0177] The system to which the present invention can be applied is not limited to the electronic settlement system. The present invention can be applied to all systems that perform certain processing using the original information obtained by decoding the information code. For example, the present invention can also be applied to a system for automatically accessing a website. In this case, for example, the URL is the original information. The user terminal 4 accesses the website according to the URL obtained by decoding the information code. The user terminal 4 can, for example, display the page of the visited website, and can also automatically perform certain processing with the website server that is the access target. In addition, for example, the present invention can also be applied to a system for automatically making a call. In this case, the telephone number is the original information. The user terminal 4 makes a call using the telephone number obtained by decoding the information code.
[0178] Depending on the system, there is a case where it is not necessary to have a server device for executing a designated process using the information code like the settlement management server 1. For example, when each terminal device such as the store terminal 3 generates both the information code and the visual information by converting the original information and prints the extended information code, and each user terminal 4 executes the designated process, a server device is not required.
[0179] [Explanation of Symbols]
[0180] 1: Settlement management server
[0181] 2: Printer
[0182] 3: Store terminal
[0183] 4: User Terminal
[0184] 11: System control unit
[0185] 12: System bus
[0186] 13: Input and output interface
[0187] 14: Storage
[0188] 14a: Check code DB
[0189] 111: Information code generating unit
[0190] 112: Check code generating unit
[0191] 113: Code output unit
[0192] 114: Information code decoding unit
[0193] 115: Verification code acquisition unit
[0194] 116: Visual Information Recognition Department
[0195] 117: Check code comparison unit
[0196] 118: Information Processing Department
[0197] NW: Network
[0198] S: Electronic Settlement System
Claims
1. An information processing system, characterized in that: have: a first category information acquisition element that acquires first category information indicating a category into which an object visually indicated by first visual information to be displayed together with the information code is classified, based on original information obtained by photographing and decoding the optically readable information code; a second category information acquisition element for acquiring second category information indicating a category into which an object visually represented by second visual information is classified, the second visual information being captured together with the information code because the second visual information is to be displayed together with the information code; a comparison component, for comparing the acquired first category information with the acquired second category information; a control element that controls execution of a specified process using the obtained raw information based on a result of the comparison; a first position information acquisition element that acquires first position information indicating a position of a place where the information code should be displayed based on the acquired original information; and A second position information acquisition element acquires second position information indicating the position of a place where the information code and the second visual information are photographed; and The comparison element further compares the acquired first position information with the acquired second position information. The control element controls execution of the designated process based on a comparison result between the first category information and the second category information and a comparison result between the first position information and the second position information.
2. The information processing system according to claim 1, characterized in that The first category information acquisition component generates the first category information by converting the obtained original information. The second category information acquisition element acquires the second category information by performing image classification on a photographic image obtained by photographing the information code and the second visual information.
3. The information processing system according to claim 2, characterized in that: The first-category information acquisition component generates the first-category information from the original information using a method different from a coding method used to generate the information code from the original information.
4. The information processing system according to any one of claims 1 to 3, characterized in that: The control element executes the specified process when the result of the comparison satisfies a specified condition, and does not execute the specified process when the result of the comparison does not satisfy the specified condition.
5. The information processing system according to any one of claims 1 to 3, characterized in that: The control element executes the designated process when the result of the comparison satisfies a designated condition, and presents a notification to a user based on the result of the comparison when the result of the comparison does not satisfy the designated condition.
6. The information processing system according to claim 5, characterized in that: When the result of the comparison does not satisfy the designated condition, the control element determines whether to execute the designated process according to the user's selection.
