WO2009145439A2 - Code providing method using short message service, code providing device using short message service, device for recognizing codes received through short message and codes capable of being transmitted through short message - Google Patents

Code providing method using short message service, code providing device using short message service, device for recognizing codes received through short message and codes capable of being transmitted through short message Download PDF

Info

Publication number
WO2009145439A2
WO2009145439A2 PCT/KR2009/001622 KR2009001622W WO2009145439A2 WO 2009145439 A2 WO2009145439 A2 WO 2009145439A2 KR 2009001622 W KR2009001622 W KR 2009001622W WO 2009145439 A2 WO2009145439 A2 WO 2009145439A2
Authority
WO
WIPO (PCT)
Prior art keywords
code
short message
ticket
marker
dimensional code
Prior art date
Application number
PCT/KR2009/001622
Other languages
French (fr)
Korean (ko)
Other versions
WO2009145439A3 (en
Inventor
조영진
Original Assignee
(주)이토프
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020090005649A external-priority patent/KR101059586B1/en
Application filed by (주)이토프 filed Critical (주)이토프
Priority to JP2011502851A priority Critical patent/JP2011519448A/en
Publication of WO2009145439A2 publication Critical patent/WO2009145439A2/en
Publication of WO2009145439A3 publication Critical patent/WO2009145439A3/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/325Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices using wireless networks
    • G06Q20/3255Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices using wireless networks using mobile network messaging services for payment, e.g. SMS
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/045Payment circuits using payment protocols involving tickets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals

Definitions

  • the present invention relates to providing and utilizing a code, and more particularly, a code using a short message service capable of providing a code using a short message service and recognizing a code included in a message received through a short message.
  • the present invention relates to a method for providing a code, a device for providing a code using a short message service, a device for recognizing a code received through a short message, and a code that can be transmitted through a short message.
  • Short Message Service (hereinafter, abbreviated as 'SMS') is an additional telecommunication service that can send and receive text within 80 bytes using a mobile terminal such as a mobile phone or PDA (Personal Digital Assistants). Since the delay time between the transmission time and the reception time is low and the fee is low, the mobile communication service is the most used service after the voice call since it is commercialized.
  • SMS Short Message Servcie
  • MMS Multimedia Messaging Service
  • SMS is used not only for exchanging messages between individual users but also for transferring credit card transactions of users, or for transmitting authentication numbers required for electronic payment and electronic commerce.
  • the SMS is also used to transmit the ticket worship information when the user reserved the ticket online using a portable terminal or a computer.
  • the SMS since the maximum size of the message (for example, 80 bytes) is set in advance as described above, the SMS must be composed within a limited range, and the issued ticket cannot be stolen by others without permission. Since authentication and security measures are required to be used only by the purchased user, conventionally, only the ticket reservation information indicating that a ticket has been reserved is transmitted via SMS, instead of directly transmitting the ticket reserved by the user.
  • the user who has received the ticket reservation information through the SMS should visit the place where the ticket issuing ticket is issued and display the ticket reservation information included in the SMS message to the ticket issuer, or tell the ticket reservation information and receive the ticket.
  • the ticket issuing time or the ticket purchase time is wasted, and the ticket issuing personnel and resources necessary for tying the ticket to paper or plastic are wasted.
  • Japanese Patent Application Laid-Open No. Hei 08-185493 (named “2D code system card system” of the invention) generates a secondary base code based on a direction in which thin lines intersect a thick line, and generates the generated secondary base. Discussing a card recording a code is disclosed.
  • Japanese Patent Application Laid-Open No. 08-185493 has a two-dimensional code set (or two-dimensional code pattern) that needs to be converted into a graphic form in order to be transmitted to a portable terminal because the generated two-dimensional code is composed of a graphic form instead of a general symbol. do. Therefore, the two-dimensional code converted into a graphic form must be transmitted to the MMS because it is not possible to transmit via SMS, which has a disadvantage in that the transmission cost increases.
  • two-dimensional codes such as QR codes, Data Matrix codes, PDF417 codes, Maxi codes, Veri Codes, and the like are used for various tickets and coupons.
  • the two-dimensional code as described above are all configured in the form of a two-dimensional image, the code cannot be transmitted through an SMS that can transmit only text within a predetermined byte (80 bytes). Therefore, the conventional two-dimensional code as described above has a problem in that the generation process is complicated, and because the code cannot be transmitted through SMS, a huge cost is required for the code transmission, and thus the code is not utilized in various fields.
  • the conventional two-dimensional code is composed of a complex two-dimensional image, there is a high probability that an error occurs during the code recognition process, which requires a recognition device with high recognition accuracy, which increases the manufacturing cost of the recognition device. have.
  • a first object of the present invention is to provide a method for providing a code using a short message service, which can easily transmit a code using a short message service.
  • a second object of the present invention is to provide a code providing apparatus using a short message service that can easily transmit a code using a short message service.
  • a third object of the present invention is to provide an apparatus for recognizing a code received through a short message service, which can quickly and accurately recognize a code included in a message received through a short message service.
  • a fourth object of the present invention is to provide a code that can be transmitted through a short message service without additional processing.
  • the text information that can be transmitted through the short message service ticket information requested for issuance 3 Converting to a dimensional code, generating a short message including the converted three-dimensional code, and transmitting the generated short message through a short message.
  • the three-dimensional code may include at least one of ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ and
  • the three-dimensional code may include at least three markers for indicating the position of the three-dimensional code included in the short message.
  • the converting the ticket information requested for the issuance request into a three-dimensional code in a text format that may be transmitted through a short message service may encrypt the ticket information and convert the ticket information into the three-dimensional code.
  • the converting of the requested ticket information into a three-dimensional code in a text format that can be transmitted through a short message service may include converting parity information to detect an error of the three-dimensional code into the converted three-dimensional code. You can add three-dimensional code.
  • the apparatus for recognizing a ticket received through a short message service includes an information providing module for providing information of a ticket requested for issuance, and A code generation module for converting ticket information provided from an information providing module into a three-dimensional code in a text format that can be transmitted through a short message service, and receiving the three-dimensional code from the code generation module and receiving the three-dimensional code.
  • the three-dimensional code may include at least one of ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ and
  • the three-dimensional code may include at least three markers for indicating the position of the three-dimensional code included in the short message.
  • the code generation module arranges the three-dimensional code in a pattern having predetermined rows and columns, and arranges the at least three markers in the short message to start, width, and end positions of an area in which the three-dimensional code is located. Can be placed for display.
  • the code generation module may encrypt the provided ticket information and convert it into the three-dimensional code.
  • the code generation module may add a 3D code obtained by converting parity information to detect an error of the 3D code to the 3D code obtained by converting the provided ticket information.
  • the code generation module may arrange the 3D code obtained by converting the provided ticket information and the 3D code converted by the parity information in a predetermined order.
  • the information providing module provides the issuing information of the ticket for which the issuing request is requested to the SMS transmitting module, and the SMS sending module generates a short message including the issuing information of the ticket and the three-dimensional code to provide a short message service.
  • the apparatus for providing a code using the short message service may further include a database in which the 3D code transmitted through the short message service is classified and stored for each user.
  • a code recognition device for achieving the third object of the present invention, after photographing the three-dimensional code included in the received Short Message Service (SMS) message to provide the captured image
  • a camera unit and a color of the image captured by the 3D code provided from the camera unit are converted into a gray scale, and then a marker is detected by binarizing the converted image to the gray scale, based on the detected marker.
  • a pattern recognition unit for extracting a pattern image including the 3D code from the scale-converted image and converting the pattern image to a numeric string corresponding to the extracted pattern image using a neural network.
  • the pattern recognition unit analyzes a histogram of brightness values of an area corresponding to a preset size with respect to a center of the image converted to gray scale to determine a background color that is an area where the 3D code pattern is displayed, and the gray scale After the boundary between the white and the black is set in the image converted into, the image converted to the gray scale may be binarized into white and black based on the set boundary.
  • the pattern recognition unit may invert the binarized image when the background color is not a preset color in the binarized image.
  • the pattern recognizing unit includes a ratio of a length between a first marker and a second marker among the detected markers, a length between the second marker and a third marker, a straight line connecting the first marker and the second marker, and the first marker.
  • the validity of the detected marker may be determined based on an angle of a straight line connecting the second marker and the third marker.
  • the pattern recognizing unit includes a straight line connecting a first marker and a second marker among the detected markers as one horizontal side in the image converted to the gray scale based on the coordinate value of the detected marker, and the second marker And a rectangular region in which a straight line connecting the third markers consists of one vertical side may be extracted as the pattern image.
  • the pattern recognizing unit divides the extracted pattern image into at least one pattern region each including a 3D code, and then divides each of the divided pattern regions into a predetermined number of detailed regions, and divides the detailed region into the detailed regions.
  • the color average value of each region may be obtained, the acquired color average value may be provided to an input of the neural network, and converted into a number corresponding to the pattern image based on the output value of the neural network.
  • the code recognition apparatus may further include a controller configured to verify the validity of the decoded ticket after decoding the sequence of numbers provided from the pattern recognition unit.
  • the control unit may convert the numeric string provided from the pattern recognition unit into a bit string in the decoding process, detect an error with respect to the converted bit string, and decode the encrypted bit string.
  • the controller may verify the validity of the decoded ticket by comparing the decoded bit string with a predetermined data pattern.
  • the code recognition apparatus may further include a display unit configured to display a verification result of the decoded ticket based on control of the controller.
  • a code that can be transmitted through a short message for achieving the fourth object of the present invention, a text code consisting of ruled characters that can be transmitted through a short message and the area where the text code is located It includes at least three markers indicating the position of.
  • the text code may include at least one of ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ and ⁇ . Each text code may correspond to a different number of predetermined digits.
  • the device for providing a code using the short message service the device for recognizing the code received through the short message, and the code that can be transmitted through the short message, the user requests issuance through a communication network.
  • a text message including the converted three-dimensional code is transmitted to the user's portable terminal through SMS.
  • the code recognition apparatus captures a message in the form of a 3D code pattern displayed through the user's portable terminal, recognizes a marker, extracts a pattern image including the 3D code pattern based on the recognized marker, and then uses a neural network.
  • the 3D code is converted into a numeric string corresponding to the 3D code, and the 3D code is recognized by decoding the converted numeric string.
  • the 3D code can be easily transmitted through the SMS.
  • the generated three-dimensional code can be transmitted through SMS without a separate processing process, the cost of transmitting the three-dimensional code is reduced, and thus the three-dimensional code can be utilized in various fields.
  • FIG. 1 is a flowchart illustrating a code providing process using a short message service according to an embodiment of the present invention.
  • FIG. 2 is a block diagram illustrating a configuration of a code providing system using a short message service according to an embodiment of the present invention.
  • FIG. 3 is a block diagram illustrating a detailed configuration of a code recognition apparatus in the code providing system shown in FIG. 2.
  • FIG. 4 shows an SMS message display screen of a portable terminal receiving a code provided from a code providing device.
  • FIG. 5 illustrates a pattern of a three-dimensional code including ticket information provided by the code providing apparatus shown in FIG. 2.
  • FIG. 6 shows numbers corresponding to the three-dimensional codes shown in FIG. 5.
  • first and second may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another.
  • the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component.
  • the codes transmitted through the SMS are arranged in two dimensions and each code is named as a three-dimensional code because it has at least 10 different patterns.
  • the ticket is a concept including all the admission tickets, tickets, purchase tickets, coupons and the like.
  • FIG. 1 is a flowchart illustrating a code providing process using a short message service according to an embodiment of the present invention, in which a ticket is converted into a three-dimensional code according to a ticket issuing request provided by a user, and the converted ticket is converted into a short message service (SMS). : Shows the process of providing to a user's portable terminal through Short Message Service.
  • SMS short message service
  • a code providing apparatus for providing a 3D code including ticket information performs authentication for a user connected through a communication network (step 10), and if the authentication of the user is successful, the user is provided from the user. On the basis of the ticket issuing request information (step 20), it is checked whether the ticket can be issued (step 30).
  • the code providing apparatus may check whether a ticket is issued by searching a database and confirming the remaining quantity of the ticket that the user requests for issuance.
  • the code providing apparatus determines whether issuance of the ticket requested by the user is possible (step 40), and if it is determined that the ticket is possible, the ticket information is converted into a 3D code (step 50).
  • the three-dimensional code is a code in the form of text that can be transmitted via SMS ruled characters (that is, ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , May include at least three markers (ie,) for determining the position of the three-dimensional code in a text message.
  • the code providing apparatus converts the ticket information into a bit string in the process of converting the ticket information into a 3D code, and then encrypts the ticket information using a public key encryption algorithm or the like for the converted bit string. It can then be transformed into three-dimensional code.
  • the code providing apparatus adds a parity bit for detecting an error in a process of recognizing the converted 3D code, converts the added parity bit into a 3D code, and then converts the ticket information into a 3D code Can be included.
  • the code providing apparatus When the 3D information including the ticket information is generated in step 30, the code providing apparatus generates a text message including the generated 3D code (step 60), and then sends the generated text message to the user's portable terminal through SMS. (Step 70).
  • the 3D code since the 3D code has a text format, no separate image processing is required as in the conventional 2D code, and since the 3D code can be directly input into a text message, it can be easily transmitted as an SMS message.
  • FIG. 2 is a block diagram showing the configuration of a code providing system using a short message service according to an embodiment of the present invention
  • Figure 3 is a block diagram showing a detailed configuration of a code recognition device in the code providing system shown in FIG. .
  • 4 shows an SMS message display screen of a portable terminal receiving a code provided from a code providing device.
  • the code providing system may include a portable terminal 100, a communication network 150, a code providing apparatus 200, and a code recognizing apparatus 300.
  • the portable terminal 100 may be, for example, a mobile phone or PDA capable of receiving an SMS message, and accesses a code providing apparatus 200 connected to the communication network 150 using a wireless Internet service to reserve a ticket. Or apply for issuance and display the three-dimensional code provided via SMS from the code providing apparatus 200.
  • the 3D code may include ticket information that the user reserves or applies for through the mobile terminal 100.
  • the portable terminal 100 is illustrated as a user access means for accessing the code providing apparatus 200.
  • various information processing apparatuses capable of data communication such as a computer, in addition to the portable terminal 100, may be used as user access means. Of course, it can be used as.
  • the communication network 150 may include the Internet and a mobile communication network, and is connected between the portable terminal 100 and the code providing apparatus 200 to provide a transmission path of data such as Internet data and an SMS message.
  • the code providing apparatus 200 may be configured of a computer (eg, a main frame, a mini computer, a workstation) connected to the communication network 150.
  • the code providing apparatus 200 generates a 3D code including various information such as a ticket, a coupon, and the like, and transmits a message including the generated 3D code to the portable terminal 100 via SMS.
  • the code providing apparatus 200 may include a user authentication module 210, a ticket information providing module 220, a code generation module 230, an SMS transmission module 240, a user database 250, and a ticket issuing database 260. ) And code database 270.
  • the user authentication module 210 performs user authentication necessary for issuing a ticket based on information stored in the user database 250 or information provided by a connected user, and personal information of a user who accesses the code providing apparatus 200. Are stored in the user database 250 for each user.
  • the ticket information providing module 220 searches for the ticket issuing database 260 to obtain the remaining quantity information of the ticket when the user who has been authenticated by the user authentication module 210 requests the reservation or issuance of the ticket. Determine whether tickets can be booked or issued.
  • the ticket information providing module 220 performs a process for payment for the ticket issuance fee if it is determined that the ticket can be booked or issued, and the ticket information and / or ticket issuing information to be reserved or issued when the payment is completed To the code generation module 230 and / or the SMS transmission module 240.
  • the ticket information providing module 220 may not perform the payment processing for the ticket issuing cost for the ticket provided free of charge.
  • the ticket information may include content information constituting the ticket (for example, ticket name, amount, expiration date, seat number, ticket issuing company name, etc.) and information of the user who applied for ticket reservation or issuance.
  • the ticket issuing information may be summary information of the ticket composed of predetermined information extracted from the content information constituting the ticket.
  • the code generation module 230 generates a 3D code corresponding to the ticket information provided from the ticket information providing module 220, and generates a 3D code after processing for encrypting and error detection of the ticket in the process of generating the 3D code.
  • the ticket information is provided to the SMS transmission module 240.
  • the three-dimensional code is composed of text that can be transmitted via SMS without additional image processing.
  • the code generation module 230 may convert only the content information of the ticket among the ticket information into a 3D code, and may convert both the content information of the ticket and user information to which the ticket is issued into a 3D code.
  • the SMS transmission module 240 receives the ticket reservation information or the ticket issuing information from the ticket information providing module 220, generates a message including the ticket reservation information or the ticket issuing information, and then generates a message generated by the user's portable terminal ( 100, which primarily informs the user that a ticket has been reserved or issued.
  • the SMS transmission module 240 receives the 3D code including the ticket information from the code generation module 230 and generates a message including the received 3D code, the message generated by the user's portable Transmission to the terminal 100.
  • the three-dimensional code included in the message received through the SMS includes a plurality of three-dimensional codes 410 having a text form, three markers 430 indicating positions of the three-dimensional codes, and a ticket.
  • the issue information 450 may be configured.
  • the ticket issuing information 450 may be summary information of the ticket composed of predetermined information extracted from the content information constituting the ticket.
  • the user database 250 may store personal information of a user connected to the code providing apparatus 200, and the information stored in the user database 250 may be used for authentication of a user connected by the user authentication module 210. .
  • the ticket issuing database 260 stores ticket information to be reserved or issued by the ticket information providing module 220.
  • the code database 270 stores three-dimensional code information including reserved or issued ticket information for each user.
  • the code recognizing apparatus 300 captures a ticket composed of three-dimensional codes displayed on the display device of the portable terminal 100 and performs image processing on the captured image to indicate an area where at least one three-dimensional code is located. Recognize a marker to be extracted, extract a pattern region in which at least one three-dimensional code (that is, three-dimensional code pattern) is located based on the coordinate values of the recognized marker, and then use the neural network to extract the predetermined pattern region from a predetermined number string. After converting to, it decodes the converted numeric string to recognize the 3D code, that is, the ticket and validates the recognized 3D code.
  • the code recognition apparatus 300 may include a camera unit 310, a pattern recognition unit 320, a control unit 330, and a display unit 340.
  • the camera unit 310 photographs the portable terminal 100 displaying the 3D code including the ticket information and then provides the captured image to the pattern recognition unit 320.
  • the pattern recognition unit 320 performs a preprocessing process on the image provided from the camera unit 310, detects a marker, and extracts a pattern region that is an area where a 3D code is displayed based on the detected marker.
  • the pattern recognizing unit 320 divides the extracted pattern image into at least one pattern region each including a 3D code, processes the divided pattern regions, and provides them to the input of the neural network 327 to provide an input of the neural network 327. Based on the output, the pattern area is converted into a number corresponding to the three-dimensional code.
  • the pattern recognition unit 320 may include a preprocessing module 321, a marker detection module 323, a pattern image extraction module 325, and a neural network 327.
  • the preprocessing module 321 converts the color of the image provided from the camera unit 310 to an 8-bit gray scale, and then performs noise filtering on the image converted to the gray scale to reduce noise.
  • the noise filtering may be performed using a Gaussian Blur filter.
  • the marker detection module 323 receives the preprocessed image from the preprocessing module 321 and analyzes the histogram of the brightness value of the central portion of the image to determine the background color in the preprocessed image. Determine and set the boundaries for black and white in the preprocessed image.
  • the marker detection module 323 may determine a background color by setting an area of a preset size (for example, 90x120 pixels) around a center of the image and analyzing a histogram of brightness values of the set area. have.
  • a preset size for example, 90x120 pixels
  • the marker detection module 323 sets the black and white boundaries in the image and binarizes the gray scale image to white and black based on the set boundary. In this case, since the color of the marker included in the binarized image is opposite to the background color, the marker detection module 323 presets the color of the marker by inverting the binarized image when the color of the marker is not a preset color in the binarized image. You can convert to the set color.
  • the marker detection module 323 inverts the color of the binarized image so that the color of the marker is preset index white. Can be converted to
  • the marker detection module 323 removes noise included in the image by performing an erode process on the binarized image or the binarized and inverted image so that the markers can be clearly distinguished from the image.
  • the marker detection module 323 detects the marker.
  • the marker detection module 323 may detect a marker in an image by using a top hat filter.
  • the 3D code recognition apparatus may detect the marker by adjusting the mask of the top hat filter from 15x15 pixels to 50x50 pixels.
  • the marker detection module 323 may verify the validity of the detected marker based on the characteristics of the predetermined marker.
  • the marker may be composed of three circles and a straight line connecting the first marker and the second marker may be perpendicular to each other with a straight line connecting the second marker and the third marker.
  • the marker detection module 323 may verify the validity of the detected marker by checking whether the detected marker satisfies the above characteristics.
  • the marker detection module 323 provides the coordinate image of the detected marker to the pattern image extraction module 325.
  • the pattern image extraction module 325 extracts a pattern image, which is an area where a 3D code is displayed, from an image converted to gray scale by the preprocessing module 321 based on the coordinate values of the markers provided from the marker detection module 323. .
  • the pattern image extraction module 325 includes a line connecting the first marker and the second marker with one horizontal side, and a line connecting the second marker and the third marker with one line. Extract a rectangular area composed of vertical sides.
  • the pattern image extraction module 325 divides the extracted pattern image into a plurality of pattern regions each including one two-dimensional code.
  • the number of the plurality of pattern regions may vary according to the size of the pattern consisting of a three-dimensional code. For example, if the pattern of the 3D code included in the message received through the SMS is composed of 32 (4 rows and 8 columns) 3D codes including 3 markers, the pattern image is divided into 32 pattern areas. Can be distinguished.
  • each divided pattern region includes one three-dimensional code or marker.
  • the pattern image extraction module 325 divides each of the plurality of divided pattern regions into a preset number of detailed regions.
  • the number of subdivided subdivisions may be equal to the number of input nodes of the neural network 327. For example, when the number of input nodes of the neural network 327 is 25, the pattern image extraction module 325 divides each pattern region into 25 sub-regions (that is, 5x5).
  • the pattern image extraction module 325 obtains a color average value for each of the divided detailed regions and provides the color average value to the input of the neural network 327.
  • the neural network 327 may be composed of three layers of an input node, a hidden node, and an output node.
  • the neural network 327 may include 25 input nodes, 10 hidden nodes, and 10 output nodes.
  • the learning of the neural network 327 may be learned through a back propagation method, and turn each pattern region except for the pattern region including the marker among the divided pattern regions to the input of the neural network 327. Can be learned by providing.
  • the weight of the neural network 327 may be adjusted in consideration of characteristics of each of the various portable terminals to improve the accuracy of 3D code recognition.
  • the neural network 327 is provided with an average value for the detailed area of the pattern area and activates a value of a predetermined node among the plurality of output nodes based on the learned pattern.
  • the pattern image is divided into pattern regions each containing one three-dimensional code, and the pattern region is divided into the same number of detailed regions as the number of input nodes of the neural network 327, and the color average value of each detailed region divided. After this is obtained and provided to the input node of the neural network 327, the neural network 327 activates any one of the output nodes provided to the input node based on the learned pattern.
  • the conversion of the 3D code through the neural network 327 as described above is performed on all pattern areas except the pattern area including the marker, so that the 3D code is converted into a string of numbers of a predetermined number (eg, decimal).
  • a predetermined number eg, decimal
  • the controller 330 may include a decoding module 331 and a code verification module 333, and the decoding module 331 may convert ticket information converted into a string sequence by the pattern recognition unit 320 into a bit string. After the error is detected, the encrypted bit string is decrypted and provided to the code verification module.
  • the decoding module 331 may convert the decoded bit string into data in a form that can be recognized by a person (eg, text composed of letters and / or numbers).
  • the code verification module 333 compares the decoded bit string provided from the decoding module 331 with a predetermined data pattern, verifies the validity of the 3D code, and then provides the verification result to the display unit 340.
  • the code verification module 333 may display the ticket verification result and the contents of the ticket converted into human-readable data through the display unit 340.
  • the controller 330 may control the overall operations of the camera unit 310, the pattern recognition unit 320, and the display unit 340 in addition to the decoding and code verification functions as described above.
  • the display unit 340 may include a liquid crystal display (LCD) or an organic light emitting display device (OLED), and displays the 3D code verification result and / or the contents of the ticket provided from the control unit 330.
  • LCD liquid crystal display
  • OLED organic light emitting display device
  • the code providing apparatus 200 includes a user authentication module 210, a ticket information providing module 220, a code generation module 230, an SMS transmission module 240, a user database 250, and a ticket issuing database 260.
  • the code providing apparatus 200 includes at least one device, and each device includes the code providing apparatus 200. It may be configured to include at least one module of the modules included in.
  • FIG. 5 illustrates a pattern of a 3D code including ticket information provided by the code providing apparatus illustrated in FIG. 2, and FIG. 6 illustrates a number corresponding to the 3D code illustrated in FIG. 5.
  • the three-dimensional code generated by the code generation module 230 may be one of letters ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ . Can be configured.
  • the three-dimensional code has a text form that can be transmitted via SMS without the need for a separate image processing or image generation process as in the conventional two-dimensional code.
  • Each 3D code 410 corresponds to a specific number as shown in FIG. 6 and may be converted into the corresponding number shown in FIG. 6 by the code recognition apparatus.
  • One three-dimensional code 410 may be converted to a number of a particular number (for example, decimal), the three-dimensional code pattern 400 composed of a plurality of three-dimensional code (410) Can be converted to a string of numbers.
  • the converted string of numbers can be converted back to a bit string.
  • the 3D code 410 may increase the type of the 3D code 410 or increase the number of 3D codes 410 according to the type of information to be expressed.
  • the three-dimensional code 410 is composed of any one of ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , each three-dimensional code 410 is shown in FIG. As described above, when the number corresponds to any one of the decimal numbers, the number of information that can be represented by ten different three-dimensional codes 410 is 10 10 .
  • the number of three-dimensional codes 410 excluding three markers 431, 433, and 435 is 29.
  • the number of information that can be represented is 10 29 .
  • the markers 431, 433 and 435 may be composed of three circles. That is, the markers 431, 433, and 435 are the first marker 431 for indicating the start position of the three-dimensional code pattern 400, and the second marker for indicating the width of the three-dimensional code pattern 400 ( 433) and a third marker 435 for indicating an end position of the 3D code pattern 400, and a straight line connecting the first marker 431 and the second marker 433, and the second marker 435.
  • the straight lines connecting the marker 433 and the third marker 435 may be disposed to be perpendicular to each other.
  • the distance between the first marker 431 and the second marker 433 and the distance between the second marker 433 and the third marker 435 may be determined by the resolution of the display device provided in the portable terminal 100 and / or It can be configured to be a certain ratio according to the font size of each three-dimensional code.
  • the encoding process of a ticket may be performed by the code generation module 230 shown in FIG.
  • the code generation module 230 may add information for encrypting the ticket and information for detecting an error to be included in the 3D code pattern 400. Convert to the number of bits.
  • the three-dimensional code pattern 400 of the ticket transmitted in the SMS message is composed of four rows and eight columns, the number of usable three-dimensional codes excluding three markers is 29. Accordingly, the three-dimensional code pattern may be composed of three markers, 17 three-dimensional codes representing code information, and twelve three-dimensional codes for encryption and error detection.
  • the allocation of three-dimensional code for encryption and error detection may depend on the nature of the ticket (the ticket's hackability and usage environment).
  • the 3D code assigned to encryption can be dedicated for error detection. If the ticket usage environment is stable, the 3D code assigned to error detection can be used for encryption. Can be dedicated.
  • the encryption of the ticket is to prevent the ticket from being used illegally due to hacking or the like, and a public key algorithm may be used.
  • error detection is used to determine whether an error occurs in the decoding of a ticket
  • a parity bit may be used.
  • the bit string may be divided into predetermined bit units, and then parity bits may be generated in the divided bit units.
  • the 3D code added for encryption and the 3D code added for error detection in the ticket encoding process may not be arranged in the 3D code pattern sequentially, but may be arranged in an order determined by the operator to further improve security. have.
  • the configuration of the 3D code pattern is described as an example, and the 3D code pattern may be configured differently according to the contents of the ticket, the type of the 3D code, and the number of columns of the 3D code pattern.
  • the three-dimensional code 410 is composed of ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , ⁇ , and the markers 431, 433 and 435 are composed of
  • the three-dimensional code 410 may be composed of various letters, numbers, symbols, etc. that can be transmitted through an SMS message.
  • the markers 431, 433, and 435 may be composed of various symbols that can be easily identified in preparation for the 3D code and the code recognition apparatus 300 can easily recognize them.
  • the user accesses the code providing apparatus 200 through the communication network 150 using the portable terminal 100 or a computer, performs user authentication, and then selects any one of various tickets.
  • the user when a user is issued a railway ticket, the user first selects a date to board, a boarding time, a departure station, and a boarding station, and then checks whether a seat exists.
  • the presence or absence of a seat may be provided by the ticket information providing module 220 based on a search result of the ticket issuing database 260.
  • the ticket information providing module 220 transmits the ticket issuance information in which the boarding date, the boarding time, the train type, the seat number, and the amount are displayed. ) And firstly notify the user that the ticket issuing application is completed by transmitting the SMS message to the portable terminal 100 of the user.
  • the code providing apparatus 200 converts the information of the ticket requested by the user into a three-dimensional code, configures an SMS message, and then carries the user's hand at a predetermined time (for example, 30 minutes to 1 hour before the boarding time). Send to the terminal 100 via SMS.
  • the user displays the railway ticket received through the SMS at the time of boarding the train on the portable terminal 100 and presents it to the crew, and the crew is displayed on the portable terminal 100 of the user through the code recognition device 300 in three dimensions.
  • the code is recognized and the validity of the three-dimensional code (ie, railway ticket) displayed on the user's portable terminal 100 is verified.

Abstract

Disclosed are a code providing method using a short message service, capable of transmitting codes with ease through a short message service, a code providing device using a short message service, a device for recognizing codes received through a short message, and a code capable of being transmitted through a short message. The code providing device includes an information providing module for providing information on a ticket for which a request for issue is made, a code generating module for converting the information of the ticket provided from the information providing module into a three-dimensional code in a text format which can be transmitted through a short message service, and a short message service transmitting module for receiving the three-dimensional code from the code generating module, generating a short message including the three-dimensional code, and transmitting the generated short message through a short message service. Accordingly, the code providing device can easily transmit a three-dimentional code through a short message service and reduce the cost of transmitting the three-dimensional code.

Description

단문 메시지 서비스를 이용한 코드 제공 방법, 단문 메시지 서비스를 이용한 코드 제공 장치, 단문 메시지를 통해 수신된 코드의 인식 장치 및 단문 메시지를 통해 전송 가능한 코드Code providing method using short message service, device for providing code using short message service, device for recognizing code received through short message and code that can be transmitted through short message
본 발명은 코드 제공 및 활용에 관한 것으로, 더욱 상세하게는 단문 메시지 서비스를 이용하여 코드를 제공할 수 있고, 단문 메시지를 통해 수신된 메시지에 포함된 코드를 인식할 수 있는 단문 메시지 서비스를 이용한 코드 제공 방법, 단문 메시지 서비스를 이용한 코드 제공 장치, 단문 메시지를 통해 수신된 코드의 인식 장치 및 단문 메시지를 통해 전송 가능한 코드에 관한 것이다.The present invention relates to providing and utilizing a code, and more particularly, a code using a short message service capable of providing a code using a short message service and recognizing a code included in a message received through a short message. The present invention relates to a method for providing a code, a device for providing a code using a short message service, a device for recognizing a code received through a short message, and a code that can be transmitted through a short message.
단문 메시지 서비스(Short Message Service, 이하 ‘SMS’라 약칭함)는 휴대전화, PDA(Personal Digital Assistants) 등과 같은 휴대용 단말기를 이용하여 80바이트 이내의 문자를 송수신할 수 있는 이통통신 부가 서비스로, 메시지의 송신 시점과 수신 시점간에 지연 시간이 적고, 요금이 저렴하기 때문에 이동통신 서비스가 상용화된 이후 음성 통화 다음으로 가장 많이 이용되는 서비스이다.Short Message Service (hereinafter, abbreviated as 'SMS') is an additional telecommunication service that can send and receive text within 80 bytes using a mobile terminal such as a mobile phone or PDA (Personal Digital Assistants). Since the delay time between the transmission time and the reception time is low and the fee is low, the mobile communication service is the most used service after the voice call since it is commercialized.
최근에는 SMS 이외에도, LMS(Long Message Servcie), MMS(Multimedia Messaging Service) 등과 같이 장문의 문자나 이미지, 동영상, 음악 등과 같은 멀티미디어를 메시지에 부가하여 전송할 수 있는 다양한 메시지 서비스가 사용되고 있으나, SMS 비해 서비스 비용이 매우 높기 때문에 SMS와 같이 많이 사용되고 있지 않다.Recently, in addition to SMS, a variety of message services have been used to transmit multimedia such as long texts, images, videos, music, etc. to a message, such as Long Message Servcie (LMS) and Multimedia Messaging Service (MMS). Because of the high cost, it is not used much like SMS.
현재, SMS는 개인 사용자 사이의 메시지 교환 이외에도 신용카드 회사들이 사용자의 신용카드 거래 내역을 전송하는 용도로 사용하거나, 전자결제, 전자상거래시 요구되는 인증번호의 전송 용도로도 사용되고 있다.Currently, SMS is used not only for exchanging messages between individual users but also for transferring credit card transactions of users, or for transmitting authentication numbers required for electronic payment and electronic commerce.
또한, SMS는 사용자가 휴대용 단말기 또는 컴퓨터를 이용하여 온라인으로 티켓을 예매한 경우 티켓 예배 정보를 전송하는 용도로도 사용되고 있다.In addition, the SMS is also used to transmit the ticket worship information when the user reserved the ticket online using a portable terminal or a computer.
그러나, SMS는 상기한 바와 같이 메시지의 최대 크기(예를 들면, 80바이트)가 미리 설정되어 있기 때문에 한정된 범위 내에서 메시지를 작성해야 하고, 발급한 티켓은 타인이 무단으로 도용할 수 없고 티켓을 구매한 사용자만이 사용할 수 있도록 하는 인증 및 보안 대책이 필요하기 때문에 종래에는 사용자가 예매한 티켓을 SMS를 통해 직접 전송하지 않고 티켓이 예매되었음을 알려주는 티켓 예매 정보만을 SMS를 통해 전송하였다.However, since the maximum size of the message (for example, 80 bytes) is set in advance as described above, the SMS must be composed within a limited range, and the issued ticket cannot be stolen by others without permission. Since authentication and security measures are required to be used only by the purchased user, conventionally, only the ticket reservation information indicating that a ticket has been reserved is transmitted via SMS, instead of directly transmitting the ticket reserved by the user.
그리고, SMS를 통해 티켓 예매 정보를 수신한 사용자는 예매한 티켓을 발급하는 장소에 방문하여 티켓 발급자에게 SMS 메시지에 포함된 티켓 예매 정보를 표시하거나 티켓 예매 정보를 얘기한 후 티켓을 발급받아야 하기 때문에 티켓 발급 시간 또는 티켓 구매 시간 낭비되고, 티켓 발급 인력 및 티켓을 종이 또는 플라스틱 등으로 유형화하는데 필요한 자원이 낭비되는 문제점이 있다.In addition, the user who has received the ticket reservation information through the SMS should visit the place where the ticket issuing ticket is issued and display the ticket reservation information included in the SMS message to the ticket issuer, or tell the ticket reservation information and receive the ticket. There is a problem that the ticket issuing time or the ticket purchase time is wasted, and the ticket issuing personnel and resources necessary for tying the ticket to paper or plastic are wasted.
일본공개특허공보 평08-185493(발명의 명칭 “2차원 코드 방식의 카드 시스템”)은 굵은선을 기준으로 가는선이 교차되는 방향에 기초하여 2차 기초 코드를 생성하고, 생성된 2차 기초 코드를 기록한 카드에 대한 기술을 개시하고 있다.Japanese Patent Application Laid-Open No. Hei 08-185493 (named “2D code system card system” of the invention) generates a secondary base code based on a direction in which thin lines intersect a thick line, and generates the generated secondary base. Discussing a card recording a code is disclosed.
그러나, 일본공개특허공보 평08-185493는 생성된 2차원 코드가 일반적인 기호가 아닌 그래픽 형태로 구성되기 때문에 휴대용 단말기로 전송하기 위해서는 2차원 코드 집합(또는 2차원 코드 패턴)을 그래픽 형태로 변환해야 한다. 따라서, 그래픽 형태로 변환된 2차원 코드는 SMS를 통해 전송이 불가능하기 때문에 MMS로 전송해야 하고, 이로 인해 전송 비용이 상승하는 단점이 있다.However, Japanese Patent Application Laid-Open No. 08-185493 has a two-dimensional code set (or two-dimensional code pattern) that needs to be converted into a graphic form in order to be transmitted to a portable terminal because the generated two-dimensional code is composed of a graphic form instead of a general symbol. do. Therefore, the two-dimensional code converted into a graphic form must be transmitted to the MMS because it is not possible to transmit via SMS, which has a disadvantage in that the transmission cost increases.
또한, 상기 일본공개특허공보 평08-185493에 개시된 2차원 코드 이외에도 QR 코드, 데이터 매트릭스(Data Matrix) 코드, PDF417 코드, Maxi 코드, Veri Code 등과 같은 2차원 코드가 각종 티켓이나 쿠폰에 사용되고 있다.In addition to the two-dimensional codes disclosed in Japanese Patent Application Laid-Open No. Hei 08-185493, two-dimensional codes such as QR codes, Data Matrix codes, PDF417 codes, Maxi codes, Veri Codes, and the like are used for various tickets and coupons.
그러나, 상기와 같은 2차원 코드는 모두 2차원의 이미지 형태로 구성되기 때문에 소정 바이트(80바이트) 이내의 텍스트만 전송할 수 있는 SMS를 통해서는 코드를 전송할 수 없다. 따라서, 상기한 바와 같은 종래의 2차원 코드는 생성 과정이 복잡하고, SMS를 통해 코드를 전송할 수 없기 때문에 코드 전송에 막대한 비용이 들게 되고 이로 인해 코드가 다양한 분야에서 활용되지 못하는 문제점이 있다.However, since the two-dimensional code as described above are all configured in the form of a two-dimensional image, the code cannot be transmitted through an SMS that can transmit only text within a predetermined byte (80 bytes). Therefore, the conventional two-dimensional code as described above has a problem in that the generation process is complicated, and because the code cannot be transmitted through SMS, a huge cost is required for the code transmission, and thus the code is not utilized in various fields.
또한, 종래의 2차원 코드는 복잡한 형태의 2차원 이미지로 구성되기 때문에 코드 인식 과정에서 오류가 발생할 확률이 높고 이로 인해 인식 정밀도가 높은 인식 장치가 요구되어 인식 장치의 제조 비용이 상승하게 되는 단점이 있다.In addition, since the conventional two-dimensional code is composed of a complex two-dimensional image, there is a high probability that an error occurs during the code recognition process, which requires a recognition device with high recognition accuracy, which increases the manufacturing cost of the recognition device. have.
따라서, 본 발명의 제1 목적은 코드를 단문 메시지 서비스를 이용하여 용이하게 전송할 수 있는 단문 메시지 서비스를 이용한 코드 제공 방법을 제공하는 것이다.Accordingly, a first object of the present invention is to provide a method for providing a code using a short message service, which can easily transmit a code using a short message service.
또한, 본 발명의 제2 목적은 코드를 단문 메시지 서비스를 이용하여 용이하게 전송할 수 있는 단문 메시지 서비스를 이용한 코드 제공 장치를 제공하는 것이다.In addition, a second object of the present invention is to provide a code providing apparatus using a short message service that can easily transmit a code using a short message service.
또한, 본 발명의 제3 목적은 단문 메시지 서비스를 통해 수신된 메시지에 포함된 코드를 신속하고 정확하게 인식할 수 있는 단문 메시지 서비스를 통해 수신된 코드의 인식 장치를 제공하는 것이다.Further, a third object of the present invention is to provide an apparatus for recognizing a code received through a short message service, which can quickly and accurately recognize a code included in a message received through a short message service.
또한, 본 발명의 제4 목적은 별도의 부가적인 처리 없이 단문 메시지 서비스를 통해 전송할 수 있는 코드를 제공하는 것이다.In addition, a fourth object of the present invention is to provide a code that can be transmitted through a short message service without additional processing.
상술한 본 발명의 제1 목적을 달성하기 위한 본 발명의 일 측면에 따른 단문 메시지 서비스를 이용한 코드 제공 방법은, 발급 신청이 요청된 티켓 정보를 단문 메시지 서비스를 통해 전송될 수 있는 텍스트 형식의 3차원 코드로 변환하는 단계와, 상기 변환된 3차원 코드를 포함하는 단문 메시지를 생성하는 단계 및 상기 생성된 단문 메시지를 단문 메시지를 통해 전송하는 단계를 포함한다. 상기 3차원 코드는 ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─ 및 │ 중 적어도 하나를 포함할 수 있다. 상기 3차원 코드는 상기 단문 메시지에 포함된 상기 3차원 코드의 위치를 표시하기 위한 적어도 3개의 마커를 포함할 수 있다. 상기 발급 신청이 요청된 티켓 정보를 단문 메시지 서비스를 통해 전송될 수 있는 텍스트 형식의 3차원 코드로 변환하는 단계는, 상기 티켓 정보를 암호화하여 상기 3차원 코드로 변환할 수 있다.상기 발급 신청이 요청된 티켓 정보를 단문 메시지 서비스를 통해 전송될 수 있는 텍스트 형식의 3차원 코드로 변환하는 단계는, 상기 티켓 정보를 변환한 3차원 코드에 상기 3차원 코드의 오류를 검출하기 패리티 정보를 변환한 3차원 코드를 추가할 수 있다.Code providing method using a short message service according to an aspect of the present invention for achieving the first object of the present invention described above, the text information that can be transmitted through the short message service ticket information requested for issuance 3 Converting to a dimensional code, generating a short message including the converted three-dimensional code, and transmitting the generated short message through a short message. The three-dimensional code may include at least one of ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─ and |. The three-dimensional code may include at least three markers for indicating the position of the three-dimensional code included in the short message. The converting the ticket information requested for the issuance request into a three-dimensional code in a text format that may be transmitted through a short message service may encrypt the ticket information and convert the ticket information into the three-dimensional code. The converting of the requested ticket information into a three-dimensional code in a text format that can be transmitted through a short message service may include converting parity information to detect an error of the three-dimensional code into the converted three-dimensional code. You can add three-dimensional code.
또한, 상술한 본 발명의 제2 목적을 달성하기 위한 본 발명의 일 측면에 따른 단문 메시지 서비스를 통해 수신된 티켓의 인식 장치는 발급 신청이 요청된 티켓의 정보를 제공하는 정보 제공 모듈과, 상기 정보 제공 모듈로부터 제공된 티켓 정보를 단문 메시지 서비스(Short Message Service)를 통해 전송될 수 있는 텍스트 형식의 3차원 코드로 변환하는 코드 생성 모듈 및 상기 코드 생성 모듈로부터 상기 3차원 코드를 제공받고 상기 3차원 코드를 포함하는 단문 메시지를 생성한 후 상기 생성된 단문 메시지를 단문 메시지 서비스를 통해 전송하는 SMS 전송 모듈을 포함한다. 상기 3차원 코드는 ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─ 및 │ 중 적어도 하나를 포함할 수 있다. 상기 3차원 코드는 상기 단문 메시지에 포함된 상기 3차원 코드의 위치를 표시하기 위한 적어도 3개의 마커를 포함할 수 있다. 상기 코드 생성 모듈은 상기 3차원 코드를 소정의 행과 열을 가지는 패턴으로 배열하고, 상기 적어도 3개의 마커를 상기 단문 메시지에서 상기 3차원 코드가 위치하는 영역의 시작 위치, 가로폭 및 종료 위치를 표시하기 위해 배치할 수 있다. 상기 코드 생성 모듈은 상기 제공된 티켓 정보를 암호화하여 상기 3차원 코드로 변환할 수 있다. 상기 코드 생성 모듈은 상기 제공된 티켓 정보를 변환한 3차원 코드에 상기 3차원 코드의 오류를 검출하기 패리티 정보를 변환한 3차원 코드를 추가할 수 있다. 상기 코드 생성 모듈은 상기 제공된 티켓 정보를 변환한 3차원 코드와 상기 패리티 정보를 변환한 3차원 코드를 미리 정해진 순서에 의해 배열할 수 있다. 상기 정보 제공 모듈은 상기 발급 신청이 요청된 티켓의 발급 정보를 상기 SMS 전송 모듈에 제공하고, 상기 SMS 전송 모듈은 상기 티켓의 발급 정보 및 상기 3차원 코드를 포함하는 단문 메시지를 생성하여 단문 메시지 서비스를 통해 전송할 수 있다. 상기 단문 메시지 서비스를 이용한 코드 제공 장치는 상기 단문 메시지 서비스를 통해 전송된 3차원 코드가 사용자별로 구분되어 저장되는 데이터베이스를 더 포함할 수 있다.In addition, the apparatus for recognizing a ticket received through a short message service according to an aspect of the present invention for achieving the above-described second object of the present invention includes an information providing module for providing information of a ticket requested for issuance, and A code generation module for converting ticket information provided from an information providing module into a three-dimensional code in a text format that can be transmitted through a short message service, and receiving the three-dimensional code from the code generation module and receiving the three-dimensional code. After generating a short message including a code and the SMS transmission module for transmitting the generated short message through a short message service. The three-dimensional code may include at least one of ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─ and |. The three-dimensional code may include at least three markers for indicating the position of the three-dimensional code included in the short message. The code generation module arranges the three-dimensional code in a pattern having predetermined rows and columns, and arranges the at least three markers in the short message to start, width, and end positions of an area in which the three-dimensional code is located. Can be placed for display. The code generation module may encrypt the provided ticket information and convert it into the three-dimensional code. The code generation module may add a 3D code obtained by converting parity information to detect an error of the 3D code to the 3D code obtained by converting the provided ticket information. The code generation module may arrange the 3D code obtained by converting the provided ticket information and the 3D code converted by the parity information in a predetermined order. The information providing module provides the issuing information of the ticket for which the issuing request is requested to the SMS transmitting module, and the SMS sending module generates a short message including the issuing information of the ticket and the three-dimensional code to provide a short message service. Can be sent via The apparatus for providing a code using the short message service may further include a database in which the 3D code transmitted through the short message service is classified and stored for each user.
또한, 본 발명의 제3 목적을 달성하기 위한 본 발명의 일 측면에 따른 코드 인식 장치는, 수신된 SMS(Short Message Service) 메시지에 포함된 3차원 코드를 촬영한 후 상기 촬영된 영상을 제공하는 카메라부와, 상기 카메라부로부터 제공된 상기 3차원 코드를 촬영한 영상의 컬러를 그레이 스케일로 변환한 후 상기 그레이 스케일로 변환된 영상을 이진화하여 마커를 검출하고, 상기 검출된 마커에 기초하여 상기 그레이 스케일로 변환된 영상으로부터 상기 3차원 코드를 포함하는 패턴 영상을 추출한 후, 신경망을 이용하여 상기 추출된 패턴 영상에 대응되는 숫자열로 변환하는 패턴 인식부를 포함한다. 상기 패턴 인식부는 상기 그레이 스케일로 변환된 영상의 중앙을 기준으로 미리 설정된 크기에 해당하는 영역의 밝기값에 대한 히스토그램을 분석하여 상기 3차원 코드 패턴이 표시되는 영역인 배경색을 판단하고, 상기 그레이 스케일로 변환된 영상에서 흰색과 검정색의 경계를 설정한 후, 상기 설정된 경계에 기초하여 상기 그레이 스케일로 변환된 영상을 흰색과 검정색으로 이진화할 수 있다. 상기 패턴 인식부는 상기 이진화된 영상에서 배경색이 미리 설정된 색이 아닌 경우에는 상기 이진화된 영상을 반전시킬 수 있다. 상기 패턴 인식부는 상기 검출된 마커 중 제1 마커와 제2 마커 사이의 길이 및 상기 제2 마커와 제3 마커 사이의 길이의 비율과, 상기 제1 마커와 제2 마커를 연결하는 직선과 상기 제2 마커와 상기 제3 마커를 연결하는 직선의 각도에 기초하여 상기 검출된 마커의 유효성을 판단할 수 있다. 상기 패턴 인식부는 상기 검출된 마커의 좌표값에 기초하여 상기 그레이 스케일로 변환된 영상에서 상기 검출된 마커 중 제1 마커 및 제2 마커를 연결하는 직선이 하나의 가로변으로 구성되고, 상기 제2 마커 및 제3 마커를 연결하는 직선이 하나의 세로변으로 구성된 사각형의 영역을 상기 패턴 영상으로 추출할 수 있다. 상기 패턴 인식부는 상기 추출된 패턴 영상을 각각 3차원 코드가 포함된 적어도 하나의 패턴 영역으로 구분한 후, 상기 구분된 각각의 패턴 영역을 미리 설정된 개수의 세부 영역으로 구분하고, 상기 세부 영역으로 구분된 각 영역의 컬러 평균값을 획득하여, 상기 획득한 컬러 평균값을 신경망의 입력에 제공하고, 상기 신경망의 출력값에 기초하여 상기 패턴 영상에 대응되는 숫자로 변환할 수 있다. 상기 코드 인식 장치는 상기 패턴 인식부로부터 제공된 숫자열에 대한 디코딩을 수행한 후, 디코딩된 티켓의 유효성을 검증하는 제어부를 더 포함할 수 있다. 상기 제어부는 상기 디코딩 과정에서 상기 패턴 인식부로부터 제공된 숫자열을 비트열로 변환한 후, 상기 변환된 비트열에 대한 오류를 검출하고, 암호화된 비트열을 복호화할 수 있다. 상기 제어부는 상기 복호화된 비트열을 미리 정해진 데이터 패턴과 비교하여 상기 디코딩된 티켓의 유효성 여부를 검증할 수 있다. 상기 코드 인식 장치는 상기 제어부의 제어에 기초하여 상기 디코딩된 티켓의 검증 결과를 표시하는 디스플레이부를 더 포함할 수 있다.In addition, a code recognition device according to an aspect of the present invention for achieving the third object of the present invention, after photographing the three-dimensional code included in the received Short Message Service (SMS) message to provide the captured image A camera unit and a color of the image captured by the 3D code provided from the camera unit are converted into a gray scale, and then a marker is detected by binarizing the converted image to the gray scale, based on the detected marker. And a pattern recognition unit for extracting a pattern image including the 3D code from the scale-converted image and converting the pattern image to a numeric string corresponding to the extracted pattern image using a neural network. The pattern recognition unit analyzes a histogram of brightness values of an area corresponding to a preset size with respect to a center of the image converted to gray scale to determine a background color that is an area where the 3D code pattern is displayed, and the gray scale After the boundary between the white and the black is set in the image converted into, the image converted to the gray scale may be binarized into white and black based on the set boundary. The pattern recognition unit may invert the binarized image when the background color is not a preset color in the binarized image. The pattern recognizing unit includes a ratio of a length between a first marker and a second marker among the detected markers, a length between the second marker and a third marker, a straight line connecting the first marker and the second marker, and the first marker. The validity of the detected marker may be determined based on an angle of a straight line connecting the second marker and the third marker. The pattern recognizing unit includes a straight line connecting a first marker and a second marker among the detected markers as one horizontal side in the image converted to the gray scale based on the coordinate value of the detected marker, and the second marker And a rectangular region in which a straight line connecting the third markers consists of one vertical side may be extracted as the pattern image. The pattern recognizing unit divides the extracted pattern image into at least one pattern region each including a 3D code, and then divides each of the divided pattern regions into a predetermined number of detailed regions, and divides the detailed region into the detailed regions. The color average value of each region may be obtained, the acquired color average value may be provided to an input of the neural network, and converted into a number corresponding to the pattern image based on the output value of the neural network. The code recognition apparatus may further include a controller configured to verify the validity of the decoded ticket after decoding the sequence of numbers provided from the pattern recognition unit. The control unit may convert the numeric string provided from the pattern recognition unit into a bit string in the decoding process, detect an error with respect to the converted bit string, and decode the encrypted bit string. The controller may verify the validity of the decoded ticket by comparing the decoded bit string with a predetermined data pattern. The code recognition apparatus may further include a display unit configured to display a verification result of the decoded ticket based on control of the controller.
또한, 본 발명의 제4 목적을 달성하기 위한 본 발명의 일 측면에 따른 단문 메시지를 통해 전송 가능한 코드는, 단문 메시지를 통해 전송될 수 있는 괘선 문자로 구성된 텍스트 코드 및 상기 텍스트 코드가 위치하는 영역의 위치를 표시하는 적어도 3개의 마커를 포함한다. 상기 텍스트 코드는 ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─ 및 │ 중 적어도 하나를 포함할 수 있다. 상기 텍스트 코드는 각각 소정 진수의 서로 다른 숫자와 대응될 수 있다.In addition, a code that can be transmitted through a short message according to an aspect of the present invention for achieving the fourth object of the present invention, a text code consisting of ruled characters that can be transmitted through a short message and the area where the text code is located It includes at least three markers indicating the position of. The text code may include at least one of ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─ and │. Each text code may correspond to a different number of predetermined digits.
상기와 같은 단문 메시지 서비스를 이용한 코드 제공 방법, 단문 메시지 서비스를 이용한 코드 제공 장치, 단문 메시지를 통해 수신된 코드의 인식 장치 및 단문 메시지를 통해 전송 가능한 코드에 따르면, 사용자가 통신망을 통해 발급을 요청한 티켓 정보를 SMS를 통해 전송될 수 있는 텍스트 형식의 3차원 코드 패턴으로 변환한 후 변환된 3차원 코드를 포함하는 문자 메시지를 SMS를 통해 사용자의 휴대용 단말기로 전송한다. 또한, 코드 인식 장치는 사용자의 휴대용 단말기를 통해 표시되는 3차원 코드 패턴 형태의 메시지를 촬영한 후 마커를 인식하고 인식된 마커에 기초하여 3차원 코드 패턴이 포함된 패턴 영상을 추출한 후 신경망을 이용하여 3차원 코드에 대응되는 숫자열로 변환한 후 변환된 숫자열을 디코딩하여 3차원 코드를 인식한다.According to the code providing method using the short message service as described above, the device for providing a code using the short message service, the device for recognizing the code received through the short message, and the code that can be transmitted through the short message, the user requests issuance through a communication network. After converting the ticket information into a three-dimensional code pattern in a text format that can be transmitted via SMS, a text message including the converted three-dimensional code is transmitted to the user's portable terminal through SMS. In addition, the code recognition apparatus captures a message in the form of a 3D code pattern displayed through the user's portable terminal, recognizes a marker, extracts a pattern image including the 3D code pattern based on the recognized marker, and then uses a neural network. The 3D code is converted into a numeric string corresponding to the 3D code, and the 3D code is recognized by decoding the converted numeric string.
따라서, 코드를 생성하기 위한 별도의 이미지 처리 및 생성된 코드를 전송하기 위한 처리가 필요없기 때문에 용이하게 3차원 코드를 SMS를 통해 전송할 수 있다. Therefore, since a separate image processing for generating a code and a processing for transmitting the generated code are not necessary, the 3D code can be easily transmitted through the SMS.
또한, 생성된 3차원 코드를 별도의 처리 과정없이 SMS를 통해 전송할 수 있기 때문에 3차원 코드를 전송하는데 소요되는 비용이 감소되고, 이로 인해 3차원 코드가 다양한 분야에서 활용될 수 있게 된다.In addition, since the generated three-dimensional code can be transmitted through SMS without a separate processing process, the cost of transmitting the three-dimensional code is reduced, and thus the three-dimensional code can be utilized in various fields.
도 1은 본 발명의 일 실시예에 따른 단문 메시지 서비스를 이용한 코드 제공 과정을 나타내는 흐름도이다.1 is a flowchart illustrating a code providing process using a short message service according to an embodiment of the present invention.
도 2는 본 발명의 일 실시예에 따른 단문 메시지 서비스를 이용한 코드 제공 시스템의 구성을 나타내는 블록도이다.2 is a block diagram illustrating a configuration of a code providing system using a short message service according to an embodiment of the present invention.
도 3은 도 2에 도시된 코드 제공 시스템에서 코드 인식 장치의 상세한 구성을 나타내는 블록도이다.FIG. 3 is a block diagram illustrating a detailed configuration of a code recognition apparatus in the code providing system shown in FIG. 2.
도 4는 코드 제공 장치로부터 제공된 코드를 수신한 휴대용 단말기의 SMS 메시지 표시 화면을 나타낸다.4 shows an SMS message display screen of a portable terminal receiving a code provided from a code providing device.
도 5는 도 2에 도시된 코드 제공 장치에 의해 제공되는 티켓 정보를 포함하는 3차원 코드의 패턴을 나타낸다.FIG. 5 illustrates a pattern of a three-dimensional code including ticket information provided by the code providing apparatus shown in FIG. 2.
도 6은 도 5에 도시된 3차원 코드에 대응되는 숫자를 나타낸다.FIG. 6 shows numbers corresponding to the three-dimensional codes shown in FIG. 5.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다.As the invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all changes, equivalents, and substitutes included in the spirit and scope of the present invention. In describing the drawings, similar reference numerals are used for similar elements.
제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.Terms such as first and second may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component. The term and / or includes a combination of a plurality of related items or any item of a plurality of related items.
어떤 구성요소가 다른 구성요소에 “연결되어” 있다거나 “접속되어”있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 “직접 연결되어”있다거나 “직접 접속되어”있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.When a component is said to be “connected” or “connected” to another component, it may be directly connected to or connected to that other component, but it may be understood that another component may exist in the middle. Should be. On the other hand, when a component is referred to as being "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.
본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.
이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, with reference to the accompanying drawings, it will be described in detail a preferred embodiment of the present invention. Hereinafter, the same reference numerals are used for the same components in the drawings, and duplicate descriptions of the same components are omitted.
이하, 본 발명의 실시예에서 SMS를 통해 전송되는 코드는 이차원으로 배열되고 각각의 코드는 적어도 10개 이상의 서로 다른 패턴을 가지므로 3차원 코드로 명명한다. 또한, 본 발명의 실시예에서 티켓은 입장권, 승차권, 구매권, 쿠폰 등을 모두 포함하는 개념이다.Hereinafter, in the embodiment of the present invention, the codes transmitted through the SMS are arranged in two dimensions and each code is named as a three-dimensional code because it has at least 10 different patterns. In addition, in the embodiment of the present invention, the ticket is a concept including all the admission tickets, tickets, purchase tickets, coupons and the like.
도 1은 본 발명의 일 실시예에 따른 단문 메시지 서비스를 이용한 코드 제공 과정을 나타내는 흐름도로서, 사용자로부터 제공된 티켓 발급 요청에 상응하여 티켓을 3차원 코드로 변환하고 변환된 티켓을 단문 메시지 서비스(SMS: Short Message Service)를 통해 사용자의 휴대용 단말기로 제공하는 과정을 나타낸다.1 is a flowchart illustrating a code providing process using a short message service according to an embodiment of the present invention, in which a ticket is converted into a three-dimensional code according to a ticket issuing request provided by a user, and the converted ticket is converted into a short message service (SMS). : Shows the process of providing to a user's portable terminal through Short Message Service.
도 1을 참조하면, 먼저 티켓 정보가 포함된 3차원 코드를 제공하는 코드 제공 장치는, 통신망을 통해 접속한 사용자에 대한 인증을 수행하고(단계 10), 사용자의 인증이 성공된 경우 사용자로부터 제공된 티켓 발급 요청 정보에 기초하여(단계 20) 티켓의 발급 가능 여부를 확인 한다(단계 30).Referring to FIG. 1, first, a code providing apparatus for providing a 3D code including ticket information performs authentication for a user connected through a communication network (step 10), and if the authentication of the user is successful, the user is provided from the user. On the basis of the ticket issuing request information (step 20), it is checked whether the ticket can be issued (step 30).
여기서, 코드 제공 장치는 데이터베이스를 검색하여 사용자가 발급을 요청한 티켓의 잔여 수량을 확인함으로써 티켓의 발급 여부를 확인할 수 있다.Here, the code providing apparatus may check whether a ticket is issued by searching a database and confirming the remaining quantity of the ticket that the user requests for issuance.
이후, 코드 제공 장치는 사용자가 요청한 티켓의 발급이 가능 여부를 판단하고(단계 40), 상기 티켓의 발급이 가능한 것으로 판단되면 상기 티켓 정보를 3차원 코드로 변환한다(단계 50).Thereafter, the code providing apparatus determines whether issuance of the ticket requested by the user is possible (step 40), and if it is determined that the ticket is possible, the ticket information is converted into a 3D code (step 50).
본 발명의 일 실시예에서, 상기 3차원 코드는 SMS를 통해 전송될 수 있는 텍스트 형태의 코드로 괘선 문자(즉, ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─ , │)가 될 수 있고, 문자 메시지에서 상기 3차원 코드의 위치를 판단하기 위한 적어도 3개의 마커(즉, ●)를 포함한다.In one embodiment of the present invention, the three-dimensional code is a code in the form of text that can be transmitted via SMS ruled characters (that is, ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─, May include at least three markers (ie,) for determining the position of the three-dimensional code in a text message.
또한, 코드 제공 장치는 상기 티켓 정보를 3차원 코드로 변환하는 과정에서 상기 티켓 정보를 먼저 비트열로 변환한 후 변환된 비트열에 대해 공지된 공개 키 암호화 알고리즘 등을 사용하여 상기 티켓 정보를 암호화한 후 3차원 코드로 변활할 수 있다.In addition, the code providing apparatus converts the ticket information into a bit string in the process of converting the ticket information into a 3D code, and then encrypts the ticket information using a public key encryption algorithm or the like for the converted bit string. It can then be transformed into three-dimensional code.
또는, 상기 코드 제공 장치는 상기 변환된 3차원 코드의 인식 과정에서 오류를 검출하기 위한 패리티 비트를 추가하고, 추가된 패리티 비트를 3차원 코드로 변환한 후 상기 티켓 정보를 변환한 3차원 코드에 포함시킬 수 있다.Alternatively, the code providing apparatus adds a parity bit for detecting an error in a process of recognizing the converted 3D code, converts the added parity bit into a 3D code, and then converts the ticket information into a 3D code Can be included.
단계 30에서 티켓 정보를 포함하는 3차원 정보가 생성되면 코드 제공 장치는 상기 생성된 3차원 코드를 포함하는 문자 메시지를 생성한 후(단계 60), 생성된 문자 메시지를 SMS를 통해 사용자의 휴대용 단말기로 전송한다(단계 70).When the 3D information including the ticket information is generated in step 30, the code providing apparatus generates a text message including the generated 3D code (step 60), and then sends the generated text message to the user's portable terminal through SMS. (Step 70).
여기서, 상기 3차원 코드는 텍스트 형식을 가지기 때문에 종래의 2차원 코드와 같이 별도의 이미지 처리가 필요없고, 직접적으로 문자 메시지에 입력될 수 있기 때문에 용이하게 SMS 메시지로 전송될 수 있다.Here, since the 3D code has a text format, no separate image processing is required as in the conventional 2D code, and since the 3D code can be directly input into a text message, it can be easily transmitted as an SMS message.
도 2는 본 발명의 일 실시예에 따른 단문 메시지 서비스를 이용한 코드 제공 시스템의 구성을 나타내는 블록도이고, 도 3는 도 2에 도시된 코드 제공 시스템에서 코드 인식 장치의 상세한 구성을 나타내는 블록도이다. 또한, 도 4는 코드 제공 장치로부터 제공된 코드를 수신한 휴대용 단말기의 SMS 메시지 표시 화면을 나타낸다.2 is a block diagram showing the configuration of a code providing system using a short message service according to an embodiment of the present invention, Figure 3 is a block diagram showing a detailed configuration of a code recognition device in the code providing system shown in FIG. . 4 shows an SMS message display screen of a portable terminal receiving a code provided from a code providing device.
도 2 내지 도 4를 참조하면, 코드 제공 시스템은 휴대용 단말기(100), 통신망(150), 코드 제공 장치(200) 및 코드 인식 장치(300)를 포함할 수 있다.2 to 4, the code providing system may include a portable terminal 100, a communication network 150, a code providing apparatus 200, and a code recognizing apparatus 300.
휴대용 단말기(100)는 예를 들어, SMS 메시지의 수신이 가능한 휴대전화, PDA 등이 될 수 있고, 무선 인터넷 서비스를 이용하여 통신망(150)과 연결된 코드 제공 장치(200)에 접속하여 티켓의 예약 또는 발급을 신청하고 코드 제공 장치(200)로부터 SMS를 통해 제공된 3차원 코드를 표시한다.The portable terminal 100 may be, for example, a mobile phone or PDA capable of receiving an SMS message, and accesses a code providing apparatus 200 connected to the communication network 150 using a wireless Internet service to reserve a ticket. Or apply for issuance and display the three-dimensional code provided via SMS from the code providing apparatus 200.
여기서, 상기 3차원 코드는 사용자가 휴대용 단말기(100)를 통해 예약 또는 신청한 티켓 정보를 포함할 수 있다.In this case, the 3D code may include ticket information that the user reserves or applies for through the mobile terminal 100.
도 2에서는 코드 제공 장치(200)에 접속하기 위한 사용자 접속 수단으로 휴대용 단말기(100)를 예를 들어 도시하였으나, 휴대용 단말기(100) 이외에도 컴퓨터와 같이 데이터 통신이 가능한 다양한 정보 처리 장치가 사용자 접속 수단으로 이용될 수 있음은 물론이다.In FIG. 2, the portable terminal 100 is illustrated as a user access means for accessing the code providing apparatus 200. However, various information processing apparatuses capable of data communication such as a computer, in addition to the portable terminal 100, may be used as user access means. Of course, it can be used as.
통신망(150)은 인터넷 및 이동통신망을 포함할 수 있고, 휴대용 단말기(100)와 코드 제공 장치(200) 사이에 연결되어, 인터넷 데이터 및 SMS 메시지의 등과 같은 데이터의 전송 경로를 제공한다.The communication network 150 may include the Internet and a mobile communication network, and is connected between the portable terminal 100 and the code providing apparatus 200 to provide a transmission path of data such as Internet data and an SMS message.
코드 제공 장치(200)는 통신망(150)과 연결된 컴퓨터(예를 들면, 메인 프레임, 미니 컴퓨터, 워크스테이션)로 구성될 수 있다. 코드 제공 장치(200)는 예를 들어 티켓, 쿠폰 등과 같은 다양한 정보를 포함하는 3차원 코드를 생성하고, 생성된 3차원 코드가 포함된 메시지를 SMS를 통해 휴대용 단말기(100)에 전송한다.The code providing apparatus 200 may be configured of a computer (eg, a main frame, a mini computer, a workstation) connected to the communication network 150. The code providing apparatus 200 generates a 3D code including various information such as a ticket, a coupon, and the like, and transmits a message including the generated 3D code to the portable terminal 100 via SMS.
구체적으로, 코드 제공 장치(200)는 사용자 인증 모듈(210), 티켓 정보 제공 모듈(220), 코드 생성 모듈(230), SMS 전송 모듈(240), 사용자 데이터베이스(250), 티켓 발급 데이터베이스(260) 및 코드 데이터베이스(270)를 포함할 수 있다.In detail, the code providing apparatus 200 may include a user authentication module 210, a ticket information providing module 220, a code generation module 230, an SMS transmission module 240, a user database 250, and a ticket issuing database 260. ) And code database 270.
사용자 인증 모듈(210)은 사용자 데이터베이스(250)에 저장된 정보 또는 접속한 사용자가 제공한 정보에 기초하여 티켓 발급을 위해 필요한 사용자 인증을 수행하고, 코드 제공 장치(200)에 접속한 사용자의 개인 정보를 사용자별로 구분하여 사용자 데이터베이스(250)에 저장한다.The user authentication module 210 performs user authentication necessary for issuing a ticket based on information stored in the user database 250 or information provided by a connected user, and personal information of a user who accesses the code providing apparatus 200. Are stored in the user database 250 for each user.
티켓 정보 제공 모듈(220)은 사용자 인증 모듈(210)에 의해 인증이 완료된 사용자가 티켓의 예매 또는 발급을 신청하는 경우 티켓 발급 데이터베이스(260)를 검색하여 티켓의 잔여 수량 정보를 획득하고 이에 기초하여 티켓의 예매 또는 발급 가능 여부를 판단한다.The ticket information providing module 220 searches for the ticket issuing database 260 to obtain the remaining quantity information of the ticket when the user who has been authenticated by the user authentication module 210 requests the reservation or issuance of the ticket. Determine whether tickets can be booked or issued.
또한, 티켓 정보 제공 모듈(220)은 티켓의 예매 또는 발급이 가능한 것으로 판단되면 티켓 발급 비용에 대한 결제를 위한 처리를 수행한 후 결제가 완료되면 예매 또는 발급될 티켓 정보 및/또는 티켓의 발급 정보를 코드 생성 모듈(230) 및/또는 SMS 전송 모듈(240)에 제공한다. 여기서, 티켓 정보 제공 모듈(220)은 무료로 제공되는 티켓에 대해서는 상기 티켓 발급 비용에 대한 결제 처리를 수행하지 않을 수도 있다.In addition, the ticket information providing module 220 performs a process for payment for the ticket issuance fee if it is determined that the ticket can be booked or issued, and the ticket information and / or ticket issuing information to be reserved or issued when the payment is completed To the code generation module 230 and / or the SMS transmission module 240. Here, the ticket information providing module 220 may not perform the payment processing for the ticket issuing cost for the ticket provided free of charge.
상기 티켓 정보는 티켓을 구성하는 내용 정보(예를 들면, 티켓 이름, 금액, 유효 기간, 좌석 번호, 티켓 발급 회사명 등) 및 티켓 예매 또는 발급을 신청한 사용자의 정보를 포함할 수 있고, 상기 티켓의 발급 정보는 상기 티켓을 구성하는 내용 정보에서 추출된 소정 정보로 구성된 티켓의 요약 정보가 될 수 있다.The ticket information may include content information constituting the ticket (for example, ticket name, amount, expiration date, seat number, ticket issuing company name, etc.) and information of the user who applied for ticket reservation or issuance. The ticket issuing information may be summary information of the ticket composed of predetermined information extracted from the content information constituting the ticket.
코드 생성 모듈(230)은 티켓 정보 제공 모듈(220)로부터 제공된 티켓 정보에 대응되는 3차원 코드를 생성하고, 3차원 코드의 생성 과정에서 티켓의 암호화 및 오류 검출을 위한 처리를 수행한 후 생성된 티켓 정보를 SMS 전송 모듈(240)에 제공한다.The code generation module 230 generates a 3D code corresponding to the ticket information provided from the ticket information providing module 220, and generates a 3D code after processing for encrypting and error detection of the ticket in the process of generating the 3D code. The ticket information is provided to the SMS transmission module 240.
여기서, 상기 3차원 코드는 별도의 이미지 처리 없이 SMS를 통해 전송될 수 있는 텍스트로 구성된다.Here, the three-dimensional code is composed of text that can be transmitted via SMS without additional image processing.
코드 생성 모듈(230)은 상기 티켓 정보 중 티켓의 내용 정보만을 3차원 코드로 변환할 수도 있고, 티켓의 내용 정보 및 티켓을 발급 받는 사용자 정보를 모두 3차원 코드로 변환할 수 있다.The code generation module 230 may convert only the content information of the ticket among the ticket information into a 3D code, and may convert both the content information of the ticket and user information to which the ticket is issued into a 3D code.
SMS 전송 모듈(240)은 티켓 정보 제공 모듈(220)로부터 티켓 예매 정보 또는 티켓 발급 정보를 제공받고, 티켓 예매 정보 또는 티켓 발급 정보가 포함된 메시지를 생성한 후 생성된 메시지를 사용자의 휴대용 단말기(100)로 전송함으로써 사용자에게 티켓이 예매 또는 발급되었음을 일차적으로 알려준다.The SMS transmission module 240 receives the ticket reservation information or the ticket issuing information from the ticket information providing module 220, generates a message including the ticket reservation information or the ticket issuing information, and then generates a message generated by the user's portable terminal ( 100, which primarily informs the user that a ticket has been reserved or issued.
또한, SMS 전송 모듈(240)은 코드 생성 모듈(230)로부터 티켓 정보가 포함된 3차원 코드를 제공받고 제공받은 3차원 코드를 포함하는 메시지를 생성한 후 생성된 메시지를 SMS를 통해 사용자의 휴대용 단말기(100)로 전송한다.In addition, the SMS transmission module 240 receives the 3D code including the ticket information from the code generation module 230 and generates a message including the received 3D code, the message generated by the user's portable Transmission to the terminal 100.
도 4는 코드 제공 장치(200)로부터 SMS를 통해 제공된 3차원 코드를 수신한 휴대용 단말기(100)의 SMS 메시지 표시 화면을 나타낸다. 도 4에 도시된 바와 같이 SMS를 통해 수신된 메시지에 포함된 3차원 코드는 텍스트 형태를 가지는 복수의 3차원 코드(410) 및 3차원 코드의 위치를 지시하는 3개의 마커(430)와, 티켓의 발급 정보(450)로 구성될 수 있다. 여기서, 티켓의 발급 정보(450)는 상기 티켓을 구성하는 내용 정보에서 추출된 소정 정보로 구성된 티켓의 요약 정보가 될 수 있다.4 illustrates an SMS message display screen of the mobile terminal 100 that receives the 3D code provided through the SMS from the code providing apparatus 200. As shown in FIG. 4, the three-dimensional code included in the message received through the SMS includes a plurality of three-dimensional codes 410 having a text form, three markers 430 indicating positions of the three-dimensional codes, and a ticket. The issue information 450 may be configured. Here, the ticket issuing information 450 may be summary information of the ticket composed of predetermined information extracted from the content information constituting the ticket.
사용자 데이터베이스(250)는 코드 제공 장치(200)에 접속한 사용자의 개인 정보가 저장되고, 사용자 데이터베이스(250)에 저장된 정보는 사용자 인증 모듈(210)에 의해 접속한 사용자의 인증을 위해 사용될 수 있다.The user database 250 may store personal information of a user connected to the code providing apparatus 200, and the information stored in the user database 250 may be used for authentication of a user connected by the user authentication module 210. .
티켓 발급 데이터베이스(260)는 티켓 정보 제공 모듈(220)에 의해 예매 또는 발급될 티켓 정보가 저장된다.The ticket issuing database 260 stores ticket information to be reserved or issued by the ticket information providing module 220.
코드 데이터베이스(270)는 예매 또는 발급된 티켓 정보를 포함하는 3차원 코드 정보가 사용자별로 구분되어 저장된다.The code database 270 stores three-dimensional code information including reserved or issued ticket information for each user.
코드 인식 장치(300)는 휴대용 단말기(100)의 디스플레이 장치에 표시되는 3차원 코드로 구성된 티켓을 촬영한 후 촬영된 영상에 대한 이미지 처리를 수행하여 적어도 하나의 3차원 코드가 위치하는 영역을 지시하는 마커를 인식하고, 인식된 마커의 좌표값에 기초하여 적어도 하나의 3차원 코드(즉, 3차원 코드 패턴)가 위치하는 패턴 영역을 추출한 후 신경망을 이용하여 추출된 패턴 영역을 미리 정해진 숫자열로 변환한 후 변환된 숫자열을 디코딩하여 3차원 코드 즉, 티켓을 인식하고 인식된 3차원 코드의 유효성을 검증한다.The code recognizing apparatus 300 captures a ticket composed of three-dimensional codes displayed on the display device of the portable terminal 100 and performs image processing on the captured image to indicate an area where at least one three-dimensional code is located. Recognize a marker to be extracted, extract a pattern region in which at least one three-dimensional code (that is, three-dimensional code pattern) is located based on the coordinate values of the recognized marker, and then use the neural network to extract the predetermined pattern region from a predetermined number string. After converting to, it decodes the converted numeric string to recognize the 3D code, that is, the ticket and validates the recognized 3D code.
구체적으로, 코드 인식 장치(300)는 카메라부(310), 패턴 인식부(320), 제어부(330) 및 디스플레이부(340)를 포함할 수 있다.In detail, the code recognition apparatus 300 may include a camera unit 310, a pattern recognition unit 320, a control unit 330, and a display unit 340.
카메라부(310)는 티켓 정보를 포함하는 3차원 코드를 표시하는 휴대용 단말기(100)를 촬영한 후 촬영된 영상을 패턴 인식부(320)에 제공한다.The camera unit 310 photographs the portable terminal 100 displaying the 3D code including the ticket information and then provides the captured image to the pattern recognition unit 320.
패턴 인식부(320)는 카메라부(310)로부터 제공된 영상에 대해 전처리 과정을 수행한 후 마커를 검출하고 검출된 마커에 기초하여 3차원 코드가 표시되는 영역인 패턴 영역을 추출한다. 패턴 인식부(320)는 추출된 패턴 영상을 각각 3차원 코드를 포함하는 적어도 하나의 패턴 영역으로 구분한 후 구분된 각 패턴 영역을 처리하여 신경망(327)의 입력에 제공하고 신경망(327)의 출력에 기초하여 각 패턴 영역 즉, 3차원 코드에 대응되는 숫자로 변환한다.The pattern recognition unit 320 performs a preprocessing process on the image provided from the camera unit 310, detects a marker, and extracts a pattern region that is an area where a 3D code is displayed based on the detected marker. The pattern recognizing unit 320 divides the extracted pattern image into at least one pattern region each including a 3D code, processes the divided pattern regions, and provides them to the input of the neural network 327 to provide an input of the neural network 327. Based on the output, the pattern area is converted into a number corresponding to the three-dimensional code.
구체적으로, 패턴 인식부(320)는 전처리 모듈(321), 마커 검출 모듈(323), 패턴 영상 추출 모듈(325) 및 신경망(327)을 포함하여 구성될 수 있다.In detail, the pattern recognition unit 320 may include a preprocessing module 321, a marker detection module 323, a pattern image extraction module 325, and a neural network 327.
전처리 모듈(321)은 카메라부(310)로부터 제공된 영상의 컬러를 8비트의 그레이 스케일(gray scale)로 변환한 후, 그레이 스케일로 컬러가 변환된 영상에 대해 노이즈 필터링을 수행하여 노이즈를 감쇄시킨다. 여기서, 상기 노이즈 필터링은 가우시안 블러(Gaussian Blur) 필터를 사용하여 수행될 수 있다.The preprocessing module 321 converts the color of the image provided from the camera unit 310 to an 8-bit gray scale, and then performs noise filtering on the image converted to the gray scale to reduce noise. . In this case, the noise filtering may be performed using a Gaussian Blur filter.
마커 검출 모듈(323)은 전처리 모듈(321)로부터 전처리가 수행된 영상을 제공받고, 상기 전처리가 수행된 영상에서 배경색을 판단하기 위해, 영상의 중앙부분에 대한 밝기값의 히스토그램을 분석하여 배경색을 판단하고, 전처리가 수행된 영상에서 검은색과 흰색에 대한 경계를 설정한다.The marker detection module 323 receives the preprocessed image from the preprocessing module 321 and analyzes the histogram of the brightness value of the central portion of the image to determine the background color in the preprocessed image. Determine and set the boundaries for black and white in the preprocessed image.
예를 들어, 마커 검출 모듈(323)은 영상의 중앙을 중심으로 미리 설정된 크기의 영역(예를 들면, 90x120 픽셀)을 설정하고, 설정된 영역의 밝기값에 대한 히스토그램을 분석하여 배경색을 판단할 수 있다.For example, the marker detection module 323 may determine a background color by setting an area of a preset size (for example, 90x120 pixels) around a center of the image and analyzing a histogram of brightness values of the set area. have.
그리고, 마커 검출 모듈(323)은 영상에서 검정색과 흰색에 대한 경계를 설정한 후 설정된 경계에 기초하여 그레이 스케일의 영상을 흰색과 검정색으로 이진화 한다. 여기서, 이진화된 영상에 포함된 마커의 색은 배경색과 반대이기 때문에 마커 검출 모듈(323)은 이진화된 영상에서 마커의 색이 미리 설정된 색이 아닌 경우에는 이진화된 영상을 반전시킴으로써 마커의 색을 미리 설정된 색으로 변환할 수 있다.The marker detection module 323 sets the black and white boundaries in the image and binarizes the gray scale image to white and black based on the set boundary. In this case, since the color of the marker included in the binarized image is opposite to the background color, the marker detection module 323 presets the color of the marker by inverting the binarized image when the color of the marker is not a preset color in the binarized image. You can convert to the set color.
예를 들어, 미리 설정된 마커의 색이 흰색이고, 이진화된 영상이 흰색 배경과 검정색 마커로 표시되는 경우, 마커 검출 모듈(323)은 이진화된 영상의 컬러를 반전시켜 마커의 색이 미리 설정된 색인 흰색이 되도록 변환할 수 있다.For example, when the preset marker color is white and the binarized image is displayed with a white background and a black marker, the marker detection module 323 inverts the color of the binarized image so that the color of the marker is preset index white. Can be converted to
또한, 마커 검출 모듈(323)은 이진화된 영상 또는 이진화된 후 반전된 영상에 대해 침식(erode) 처리를 수행하여 영상에 포함된 노이즈를 제거함으로써 영상에서 마커가 분명하게 구분될 수 있도록 한다.In addition, the marker detection module 323 removes noise included in the image by performing an erode process on the binarized image or the binarized and inverted image so that the markers can be clearly distinguished from the image.
상기와 같은 영상에 대한 이진화가 수행된 후, 마커 검출 모듈(323)은 마커를 검출한다. 여기서, 마커 검출 모듈(323)은 탑햇 필터(Top-Hat Filter)를 이용하여 영상에서 마커를 검출할 수 있다. 또한, 휴대용 단말기(100)마다 표시되는 마커의 크기가 다를 수 있기 때문에 3차원 코드 인식 장치는 탑햇 필터의 마스크를 15x15 픽셀부터 50x50 픽셀까지 조정하여 마커를 검출할 수 있다.After binarization of the image is performed, the marker detection module 323 detects the marker. Here, the marker detection module 323 may detect a marker in an image by using a top hat filter. In addition, since the size of the marker displayed on each portable terminal 100 may be different, the 3D code recognition apparatus may detect the marker by adjusting the mask of the top hat filter from 15x15 pixels to 50x50 pixels.
마커 검출 모듈(323)은 미리 정해진 마커의 특징에 기초하여 검출된 마커의 유효성을 검증할 수 있다. 예를 들어, 마커는 3개의 동그라미로 구성될 수 있고 제1 마커와 제2 마커를 연결하는 직선은 제2 마커와 제3 마커를 연결하는 직선과 서로 직각을 이룰 수 있다.The marker detection module 323 may verify the validity of the detected marker based on the characteristics of the predetermined marker. For example, the marker may be composed of three circles and a straight line connecting the first marker and the second marker may be perpendicular to each other with a straight line connecting the second marker and the third marker.
마커 검출 모듈(323)은 검출된 마커가 상기한 바와 같은 특징을 만족하는가를 검사함으로써 검출된 마커의 유효성을 검증할 수 있다.The marker detection module 323 may verify the validity of the detected marker by checking whether the detected marker satisfies the above characteristics.
마커 검출 모듈(323)은 상기와 같이 검출된 마커의 검증이 완료되면, 검출된 마커의 좌표값을 패턴 영상 추출 모듈(325)에 제공한다.When the verification of the detected marker is completed as described above, the marker detection module 323 provides the coordinate image of the detected marker to the pattern image extraction module 325.
패턴 영상 추출 모듈(325)은 마커 검출 모듈(323)로부터 제공된 마커의 좌표값에 기초하여 전처리 모듈(321)에 의해 그레이 스케일로 변환된 영상에서 3차원 코드가 표시되는 영역인 패턴 영상을 추출한다.The pattern image extraction module 325 extracts a pattern image, which is an area where a 3D code is displayed, from an image converted to gray scale by the preprocessing module 321 based on the coordinate values of the markers provided from the marker detection module 323. .
예를 들어, 패턴 영상 추출 모듈(325)은 그레이 스케일 영상에서 제1 마커와 제2 마커를 연결하는 선이 하나의 가로 변으로 구성되고, 제2 마커와 제3 마커를 연결하는 선이 하나의 세로 변으로 구성된 사각형의 영역을 추출한다.For example, in the gray scale image, the pattern image extraction module 325 includes a line connecting the first marker and the second marker with one horizontal side, and a line connecting the second marker and the third marker with one line. Extract a rectangular area composed of vertical sides.
이후, 패턴 영상 추출 모듈(325)은 추출된 패턴 영상을 각각 하나의 이차원 코드를 포함하는 복수의 패턴 영역으로 구분한다. 여기서, 상기 복수의 패턴 영역의 개수는 3차원 코드로 구성된 패턴의 크기에 따라 달라질 수 있다. 예를 들어, SMS를 통해 수신된 메시지에 포함된 3차원 코드의 패턴이 3개의 마커를 포함하여 32개(4행 8열)의 3차원 코드로 구성된 경우에는 상기 패턴 영상은 32개의 패턴 영역으로 구분될 수 있다. 또한, 구분된 각각의 패턴 영역은 하나의 3차원 코드 또는 마커를 포함한다.Thereafter, the pattern image extraction module 325 divides the extracted pattern image into a plurality of pattern regions each including one two-dimensional code. Here, the number of the plurality of pattern regions may vary according to the size of the pattern consisting of a three-dimensional code. For example, if the pattern of the 3D code included in the message received through the SMS is composed of 32 (4 rows and 8 columns) 3D codes including 3 markers, the pattern image is divided into 32 pattern areas. Can be distinguished. In addition, each divided pattern region includes one three-dimensional code or marker.
패턴 영상 추출 모듈(325)은 구분된 복수의 패턴 영역 각각에 대해 다시 미리 설정된 개수의 세부 영역으로 구분한다. 여기서, 구분되는 세부 영역의 개수는 신경망(327)의 입력 노드 개수와 동일한 개수가 될 수 있다. 예를 들어, 신경망(327)의 입력 노드의 개수가 25개인 경우, 패턴 영상 추출 모듈(325)은 각각의 패턴 영역을 25개(즉, 5x5)의 세부 영역으로 구분한다.The pattern image extraction module 325 divides each of the plurality of divided pattern regions into a preset number of detailed regions. Here, the number of subdivided subdivisions may be equal to the number of input nodes of the neural network 327. For example, when the number of input nodes of the neural network 327 is 25, the pattern image extraction module 325 divides each pattern region into 25 sub-regions (that is, 5x5).
패턴 영상 추출 모듈(325)은 구분된 각각의 세부 영역에 대한 컬러 평균값을 구한 후 상기 컬러 평균값을 신경망(327)의 입력에 제공한다.The pattern image extraction module 325 obtains a color average value for each of the divided detailed regions and provides the color average value to the input of the neural network 327.
신경망(327)은 입력 노드, 은닉 노드 및 출력 노드의 3개 레이어로 구성될 수 있고, 입력 노드는 25개, 은닉 노드는 10개, 출력 노드는 10개로 구성될 수 있다.The neural network 327 may be composed of three layers of an input node, a hidden node, and an output node. The neural network 327 may include 25 input nodes, 10 hidden nodes, and 10 output nodes.
또한, 신경망(327)의 학습은 역전파(back propagation) 방법을 통해 학습될 수 있고, 상기 구분된 패턴 영역 중 마커를 포함하는 패턴 영역을 제외한 각각의 패턴 영역을 신경망(327)의 입력에 차례대로 제공함으로써 학습될 수 있다. 그리고, 다양한 휴대용 단말기 각각의 특성을 고려하여 신경망(327)의 가중치를 조정하여 3차원 코드 인식의 정확도를 향상시킬 수 있다.In addition, the learning of the neural network 327 may be learned through a back propagation method, and turn each pattern region except for the pattern region including the marker among the divided pattern regions to the input of the neural network 327. Can be learned by providing. In addition, the weight of the neural network 327 may be adjusted in consideration of characteristics of each of the various portable terminals to improve the accuracy of 3D code recognition.
신경망(327)은 패턴 영역의 세부 영역에 대한 평균값을 제공 받고 학습된 패턴에 기초하여 복수의 출력 노드 중 소정 노드의 값을 활성화시킨다.The neural network 327 is provided with an average value for the detailed area of the pattern area and activates a value of a predetermined node among the plurality of output nodes based on the learned pattern.
즉, 패턴 영상은 각각 하나의 3차원 코드를 포함하는 패턴 영역으로 구분되고, 패턴 영역은 신경망(327)의 입력 노드 개수와 동일한 수의 세부 영역으로 구분되어 구분된 각각의 세부 영역에 대한 컬러 평균값이 구해진 후 신경망(327)의 입력 노드에 제공되면 신경망(327)은 학습된 패턴에 기초하여 입력 노드에 제공된 출력 노드 중 어느 하나의 노드를 활성화시킨다.That is, the pattern image is divided into pattern regions each containing one three-dimensional code, and the pattern region is divided into the same number of detailed regions as the number of input nodes of the neural network 327, and the color average value of each detailed region divided. After this is obtained and provided to the input node of the neural network 327, the neural network 327 activates any one of the output nodes provided to the input node based on the learned pattern.
상기와 같은 신경망(327)을 통한 3차원 코드의 변환은 마커를 포함하는 패턴 영역을 제외한 모든 패턴 영역에 대해 수행되어 3차원 코드는 소정 진수(예를 들면, 십진수)의 숫자열로 변환된다.The conversion of the 3D code through the neural network 327 as described above is performed on all pattern areas except the pattern area including the marker, so that the 3D code is converted into a string of numbers of a predetermined number (eg, decimal).
제어부(330)는 디코딩 모듈(331) 및 코드 검증 모듈(333)을 포함할 수 있고, 디코딩 모듈(331)은 패턴 인식부(320)에 의해 숫자열로 변환된 티켓 정보를 비트열로 변환한 후 오류를 검출하고 암호화된 비트열을 복호화 한 후 코드 검증 모듈에 제공한다.The controller 330 may include a decoding module 331 and a code verification module 333, and the decoding module 331 may convert ticket information converted into a string sequence by the pattern recognition unit 320 into a bit string. After the error is detected, the encrypted bit string is decrypted and provided to the code verification module.
여기서, 디코딩 모듈(331)은 상기 복호화된 비트열을 사람이 인식 가능한 형태(예를 들면, 문자 및/또는 숫자로 구성된 텍스트)의 데이터로 변환할 수도 있다.Here, the decoding module 331 may convert the decoded bit string into data in a form that can be recognized by a person (eg, text composed of letters and / or numbers).
코드 검증 모듈(333)은 디코딩 모듈(331)로부터 제공된 복호화된 비트열을 미리 정해진 데이터 패턴과 비교하여 3차원 코드의 유효성 여부를 검증한 후, 검증 결과를 디스플레이부(340)에 제공한다.The code verification module 333 compares the decoded bit string provided from the decoding module 331 with a predetermined data pattern, verifies the validity of the 3D code, and then provides the verification result to the display unit 340.
또는, 코드 검증 모듈(333)은 티켓의 검증 결과 및 사람이 인식 가능한 형태의 데이터로 변환된 티켓의 내용을 디스플레이부(340)를 통해 표시할 수도 있다.Alternatively, the code verification module 333 may display the ticket verification result and the contents of the ticket converted into human-readable data through the display unit 340.
제어부(330)는 상기한 바와 같은 디코딩 및 코드 검증 기능 이외에도 카메라부(310), 패턴 인식부(320) 및 디스플레이부(340)의 전반적인 동작을 제어할 수 있다.The controller 330 may control the overall operations of the camera unit 310, the pattern recognition unit 320, and the display unit 340 in addition to the decoding and code verification functions as described above.
디스플레이부(340)는 액정표시장치(LCD) 또는 유기전계발광장치(OLED)로 구성될 수 있고, 제어부(330)로부터 제공된 3차원 코드 검증 결과 및/또는 티켓의 내용을 표시한다.The display unit 340 may include a liquid crystal display (LCD) or an organic light emitting display device (OLED), and displays the 3D code verification result and / or the contents of the ticket provided from the control unit 330.
도 2에서는 코드 제공 장치(200)가 사용자 인증 모듈(210), 티켓 정보 제공 모듈(220), 코드 생성 모듈(230), SMS 전송 모듈(240), 사용자 데이터베이스(250), 티켓 발급 데이터베이스(260) 및 코드 데이터베이스(270)를 모두 포함하는 것으로 예를 들어 도시하였으나, 본 발명의 다른 실시예에서는 코드 제공 장치(200)가 적어도 하나 이상의 장치로 구성되고 각각의 장치가 상기 코드 제공 장치(200)에 포함된 모듈들 중 적어도 하나의 모듈을 포함하도록 구성될 수도 있다.In FIG. 2, the code providing apparatus 200 includes a user authentication module 210, a ticket information providing module 220, a code generation module 230, an SMS transmission module 240, a user database 250, and a ticket issuing database 260. For example, the code providing apparatus 200 includes at least one device, and each device includes the code providing apparatus 200. It may be configured to include at least one module of the modules included in.
도 5는 도 2에 도시된 코드 제공 장치에 의해 제공되는 티켓 정보를 포함하는 3차원 코드의 패턴을 나타내고, 도 6은 도 5에 도시된 3차원 코드에 대응되는 숫자를 나타낸다.FIG. 5 illustrates a pattern of a 3D code including ticket information provided by the code providing apparatus illustrated in FIG. 2, and FIG. 6 illustrates a number corresponding to the 3D code illustrated in FIG. 5.
도 5 및 도 6를 참조하면, 코드 생성 모듈(230)에 의해 생성되는 3차원 코드는 ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─, │ 중 어느 하나의 문자로 구성될 수 있다. 상기 3차원 코드는 종래의 2차원 코드와 같이 별도의 이미지 처리 또는 이미지 생성 과정이 필요 없고 SMS를 통해 전송될 수 있는 텍스트 형태를 가진다.5 and 6, the three-dimensional code generated by the code generation module 230 may be one of letters ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─, │. Can be configured. The three-dimensional code has a text form that can be transmitted via SMS without the need for a separate image processing or image generation process as in the conventional two-dimensional code.
각각의 3차원 코드(410)는 도 6에 도시된 바와 같이 특정 숫자와 대응되고, 코드 인식 장치에 의해 도 6에 도시된 해당 숫자로 변환될 수 있다.Each 3D code 410 corresponds to a specific number as shown in FIG. 6 and may be converted into the corresponding number shown in FIG. 6 by the code recognition apparatus.
하나의 3차원 코드(410)는 특정 진수(예를 들면, 10진수) 중 하나의 숫자로 변환될 수 있고, 복수의 3차원 코드(410)로 구성된 3차원 코드 패턴(400)은 특정 진수의 숫자열로 변환될 수 있다. 변환된 숫자열은 다시 비트열로 변환될 수 있다.One three-dimensional code 410 may be converted to a number of a particular number (for example, decimal), the three-dimensional code pattern 400 composed of a plurality of three-dimensional code (410) Can be converted to a string of numbers. The converted string of numbers can be converted back to a bit string.
3차원 코드(410)는 표현할 정보의 종류에 따라 3차원 코드(410)의 종류를 증가시커나 3차원 코드(410)의 개수를 증가시킬 수 있다.The 3D code 410 may increase the type of the 3D code 410 or increase the number of 3D codes 410 according to the type of information to be expressed.
예를 들어, 3차원 코드(410)가 ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─ 중 어느 하나로 구성되고, 각각의 3차원 코드(410)는 도 6에 도시된 바와 같이 10진수 중 어느 하나의 수에 대응되는 경우, 10개의 서로 다른 3차원 코드(410)로 표현 가능한 정보의 수는 1010이 된다.For example, the three-dimensional code 410 is composed of any one of ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─, each three-dimensional code 410 is shown in FIG. As described above, when the number corresponds to any one of the decimal numbers, the number of information that can be represented by ten different three-dimensional codes 410 is 10 10 .
또한, SMS 메시지를 통해 전송되는 티켓이 4행 8열의 3차원 코드 패턴(400)으로 구성되는 경우, 3개의 마커(431, 433 및 435)를 제외한 3차원 코드(410)의 개수는 29개가 되어 표현 가능한 정보의 수는 1029이 된다.In addition, when the ticket transmitted through the SMS message is composed of a three-dimensional code pattern 400 of four rows and eight columns, the number of three-dimensional codes 410 excluding three markers 431, 433, and 435 is 29. The number of information that can be represented is 10 29 .
또한, 마커(431, 433 및 435)는 세 개의 ●로 구성될 수 있다. 즉, 마커(431, 433 및 435)는 3차원 코드 패턴(400)의 시작 위치를 나타내기 위한 제1 마커(431), 3차원 코드 패턴(400)의 가로폭을 나타내기 위한 제2 마커(433) 및 3차원 코드 패턴(400)의 종료 위치를 나타내기 위한 제3 마커(435)로 구성될 수 있고, 제1 마커(431) 및 제2 마커(433)를 연결하는 직선과, 제2 마커(433) 및 제3 마커(435)를 연결하는 직선은 서로 직각이 되도록 배치될 수 있다.Also, the markers 431, 433 and 435 may be composed of three circles. That is, the markers 431, 433, and 435 are the first marker 431 for indicating the start position of the three-dimensional code pattern 400, and the second marker for indicating the width of the three-dimensional code pattern 400 ( 433) and a third marker 435 for indicating an end position of the 3D code pattern 400, and a straight line connecting the first marker 431 and the second marker 433, and the second marker 435. The straight lines connecting the marker 433 and the third marker 435 may be disposed to be perpendicular to each other.
또한, 제1 마커(431)와 제2 마커(433) 사이의 거리 및 제2 마커(433)와 제3 마커(435) 사이의 거리는 휴대용 단말기(100)에 구비된 디스플레이 장치의 해상도 및/또는 각 3차원 코드의 폰트 크기에 따라 일정 비율이 되도록 구성될 수 있다.In addition, the distance between the first marker 431 and the second marker 433 and the distance between the second marker 433 and the third marker 435 may be determined by the resolution of the display device provided in the portable terminal 100 and / or It can be configured to be a certain ratio according to the font size of each three-dimensional code.
이하, 본 발명의 일 실시예에 따라 티켓의 인코딩 과정을 설명하면 다음과 같다. 티켓의 인코딩은 도 1에 도시된 코드 생성 모듈(230)에 의해 수행될 수 있다.Hereinafter, the encoding process of a ticket according to an embodiment of the present invention will be described. The encoding of the ticket may be performed by the code generation module 230 shown in FIG.
예를 들어, 티켓의 정보가 54 비트로 구성되어 있다고 가정하면, 코드 생성 모듈(230)은 티켓을 암호화하기 위한 정보와 오류를 검출하기 위한 정보를 추가하여 3차원 코드 패턴(400)에 포함될 수 있는 비트 수로 변환한다.For example, assuming that the information of the ticket consists of 54 bits, the code generation module 230 may add information for encrypting the ticket and information for detecting an error to be included in the 3D code pattern 400. Convert to the number of bits.
예를 들어, 3차원 코드가 도 6에 도시된 바와 같이 10개의 기호로 구성되고 각각의 3차원 코드에 서로 다른 십진수가 대응된다면, 54비트의 정보를 표현하기 위해서는 17개의 3차원 코드가 필요하다.For example, if a three-dimensional code is composed of ten symbols as shown in FIG. 6 and a different decimal number corresponds to each three-dimensional code, 17 three-dimensional codes are required to represent 54 bits of information. .
또한, SMS 메시지로 전송되는 티켓의 3차원 코드 패턴(400)이 4행 8열로 구성된다면, 3개의 마커를 제외한 사용 가능한 3차원 코드의 개수는 29개가 된다. 따라서, 3차원 코드 패턴은 3개의 마커와, 코드 정보를 나타내는 17개의 3차원 코드와, 암호화 및 오류 검출을 위한 12개의 3차원 코드로 구성될 수 있다.Further, if the three-dimensional code pattern 400 of the ticket transmitted in the SMS message is composed of four rows and eight columns, the number of usable three-dimensional codes excluding three markers is 29. Accordingly, the three-dimensional code pattern may be composed of three markers, 17 three-dimensional codes representing code information, and twelve three-dimensional codes for encryption and error detection.
암호화와 오류 검출을 위한 3차원 코드의 배정은 티켓의 특성(티켓의 해킹 가능성과 사용 환경)에 따라 달라질 수 있다.The allocation of three-dimensional code for encryption and error detection may depend on the nature of the ticket (the ticket's hackability and usage environment).
예를 들어, 티켓에 대한 해킹의 위험이 적은 경우에는 암호화에 배정되는 3차원 코드를 오류 검출용으로 전용할 수 있으며, 티켓의 사용 환경이 안정적이라면 오류 검출에 배정되는 3차원 코드를 암호화용으로 전용할 수 있다.For example, if the risk of hacking on a ticket is low, the 3D code assigned to encryption can be dedicated for error detection. If the ticket usage environment is stable, the 3D code assigned to error detection can be used for encryption. Can be dedicated.
티켓의 암호화는 해킹 등으로 인해 티켓이 부정하게 사용되는 것을 방지하기 위한 것으로, 공개 키(public key) 알고리즘이 사용될 수 있다.The encryption of the ticket is to prevent the ticket from being used illegally due to hacking or the like, and a public key algorithm may be used.
또한, 오류 검출은 티켓의 디코딩 과정에서 오류 발생 여부를 판단하기 위한 것으로, 패리티 비트(parity bit)가 이용될 수 있다. 예를 들어, 비트열로 구성된 티켓 정보에서 비트열을 미리 설정된 비트 단위로 구분한 후 구분된 비트 단위에 패리티 비트를 생성할 수 있다.In addition, error detection is used to determine whether an error occurs in the decoding of a ticket, and a parity bit may be used. For example, in the ticket information composed of the bit string, the bit string may be divided into predetermined bit units, and then parity bits may be generated in the divided bit units.
일반적인 이진 데이터 전송은 비트 단위로 오류가 발생하지만, SMS의 통해 전송된 티켓의 디코딩시에는 3차원 코드 단위로 오류가 발생하기 때문에 종래와 같이 각 비트 단위에 패리티 비트가 직접 삽입되면, 특정 3차원 코드의 인식 실패가 발생했을 경우 패리티 비트와 데이터가 동시에 손실되어 오류를 검출할 수 없는 문제가 있다. 따라서 본 발명의 일 실시예에 따른 티켓 인코딩 과정에서는 상기 구분된 각각의 비트 단위별로 생성된 복수의 패리티 비트는 해당 비트 단위에 삽입하지 않고 별도로 관리하여 3차원 코드로 변환한 후, 3차원 코드 패턴의 특정 위치에 배열한다.In general, binary data transmission generates an error in bits. However, when decoding a ticket transmitted through SMS, an error occurs in units of three-dimensional codes. Therefore, when parity bits are directly inserted into each bit unit, a specific three-dimensional method is used. If a code recognition failure occurs, the parity bit and data are lost at the same time, and thus an error cannot be detected. Therefore, in the ticket encoding process according to an embodiment of the present invention, a plurality of parity bits generated for each of the divided bit units are separately managed without being inserted into the corresponding bit units, converted into three-dimensional codes, and then three-dimensional code patterns. Arrange at a specific location.
또한, 티켓 인코딩 과정에서 암호화를 위해 추가된 3차원 코드와 오류 검출을 위해 추가된 3차원 코드를 3차원 코드 패턴에 순차적으로 배열하지 않고 사업자가 정한 순서에 따라 배열하여 보안성을 더욱 향상시킬 수도 있다.In addition, the 3D code added for encryption and the 3D code added for error detection in the ticket encoding process may not be arranged in the 3D code pattern sequentially, but may be arranged in an order determined by the operator to further improve security. have.
상기한 3차원 코드 패턴의 구성은 예를 들어 설명한 것으로, 티켓의 내용, 3차원 코드의 종류 및 3차원 코드 패턴의 행열수에 따라 3차원 코드 패턴이 각각 다르게 구성될 수 있다.The configuration of the 3D code pattern is described as an example, and the 3D code pattern may be configured differently according to the contents of the ticket, the type of the 3D code, and the number of columns of the 3D code pattern.
도 5 및 도 6에서는 3차원 코드(410)가 ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─, │로 구성되고, 마커(431, 433 및 435)가 ●로 구성된 것으로 예를 들어 도시하였으나, 본 발명의 다른 실시예에서는 3차원 코드(410)가 SMS 메시지를 통해 전송 가능한 다양한 문자, 숫자, 기호 등으로 구성될 수 있다. 또한, 마커(431, 433 및 435)는 3차원 코드에 대비하여 식별이 용이하고, 코드 인식 장치(300)가 용이하게 인식 가능한 다양한 기호로 구성될 수 있다.5 and 6, the three-dimensional code 410 is composed of ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─, │, and the markers 431, 433 and 435 are composed of Although illustrated as an example, in another embodiment of the present invention, the three-dimensional code 410 may be composed of various letters, numbers, symbols, etc. that can be transmitted through an SMS message. In addition, the markers 431, 433, and 435 may be composed of various symbols that can be easily identified in preparation for the 3D code and the code recognition apparatus 300 can easily recognize them.
이하, 도 1 내지 도 6을 참조하여 사용자가 SMS를 통해 티켓을 제공받고, 제공받은 티켓을 이용하는 과정을 예를 들어 설명한다.Hereinafter, a process in which a user receives a ticket through SMS and uses the received ticket will be described with reference to FIGS. 1 to 6.
먼저, 사용자가 휴대용 단말기(100) 또는 컴퓨터 등을 이용하여 통신망(150)을 통해 코드 제공 장치(200)에 접속한 후 사용자 인증을 행한 후 각종 티켓 중 어느 하나를 선택한다.First, the user accesses the code providing apparatus 200 through the communication network 150 using the portable terminal 100 or a computer, performs user authentication, and then selects any one of various tickets.
예를 들어, 사용자가 철도 승차권을 발급받는 경우, 사용자는 우선 탑승할 날짜, 탑승 시간, 출발역, 탑승역을 선택한 후, 좌석의 존재 여부를 확인한다. 여기서, 좌석의 존재 여부는 티켓 정보 제공 모듈(220)이 티켓 발급 데이터베이스(260)의 검색 결과에 기초하여 제공할 수 있다.For example, when a user is issued a railway ticket, the user first selects a date to board, a boarding time, a departure station, and a boarding station, and then checks whether a seat exists. Here, the presence or absence of a seat may be provided by the ticket information providing module 220 based on a search result of the ticket issuing database 260.
상기와 같은 과정을 통해 사용자가 철도 승차권의 발급 신청을 완료하면, 티켓 정보 제공 모듈(220)은 탑승 날짜, 탑승 시간, 열차 종류, 좌석 번호, 금액 등이 표시된 티켓 발급 정보를 SMS 전송 모듈(240)에 제공하여 SMS 메시지를 통하여 사용자의 휴대용 단말기(100)로 전송함으로써 사용자에게 티켓 발급 신청이 완료되었음을 1차적으로 통보한다.When the user completes the application for issuance of the railway ticket through the above process, the ticket information providing module 220 transmits the ticket issuance information in which the boarding date, the boarding time, the train type, the seat number, and the amount are displayed. ) And firstly notify the user that the ticket issuing application is completed by transmitting the SMS message to the portable terminal 100 of the user.
이후, 코드 제공 장치(200)는 사용자가 신청한 티켓의 정보를 3차원 코드로 변환하여 SMS 메시지를 구성한 후, 미리 지정된 시간(예를 들면, 탑승 시간 30분 내지 1시간 전)에 사용자의 휴대용 단말기(100)로 SMS를 통해 전송한다.Thereafter, the code providing apparatus 200 converts the information of the ticket requested by the user into a three-dimensional code, configures an SMS message, and then carries the user's hand at a predetermined time (for example, 30 minutes to 1 hour before the boarding time). Send to the terminal 100 via SMS.
이후, 사용자는 열차 탑승시에 SMS를 통해 수신된 철도 승차권을 휴대용 단말기(100)에 표시하여 승무원에게 제시하고, 승무원은 코드 인식 장치(300)를 통해 사용자의 휴대용 단말기(100)에 표시된 3차원 코드를 인식하고 사용자의 휴대용 단말기(100)에 표시된 3차원 코드(즉, 철도 승차권)의 유효성을 검증한다.Thereafter, the user displays the railway ticket received through the SMS at the time of boarding the train on the portable terminal 100 and presents it to the crew, and the crew is displayed on the portable terminal 100 of the user through the code recognition device 300 in three dimensions. The code is recognized and the validity of the three-dimensional code (ie, railway ticket) displayed on the user's portable terminal 100 is verified.
이상 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although described with reference to the above embodiments, those skilled in the art will understand that various modifications and changes can be made without departing from the spirit and scope of the invention as set forth in the claims below. Could be.

Claims (27)

  1. 발급 신청이 요청된 티켓 정보를 단문 메시지 서비스를 통해 전송될 수 있는 텍스트 형식의 3차원 코드로 변환하는 단계;Converting the ticket information requested for issuance to a three-dimensional code in a text format that can be transmitted through a short message service;
    상기 변환된 3차원 코드를 포함하는 단문 메시지를 생성하는 단계; 및Generating a short message including the converted three-dimensional code; And
    상기 생성된 단문 메시지를 단문 메시지를 통해 전송하는 단계를 포함하는 단문 메시지 서비스를 이용한 코드 제공 방법.And transmitting the generated short message through a short message.
  2. 제1항에 있어서, 상기 3차원 코드는 The method of claim 1, wherein the three-dimensional code
    ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─ 및 │ 중 적어도 하나를 포함하는 것을 특징으로 하는 단문 메시지 서비스를 이용한 코드 제공 방법. A code providing method using a short message service, comprising at least one of ┼,, ┐, └, ┘, ├, ┤, ┬, ┴, ─, and │.
  3. 제1항에 있어서, 상기 3차원 코드는 The method of claim 1, wherein the three-dimensional code
    상기 단문 메시지에 포함된 상기 3차원 코드의 위치를 표시하기 위한 적어도 3개의 마커를 포함하는 것을 특징으로 하는 단문 메시지 서비스를 이용한 코드 제공 방법.And at least three markers for indicating the position of the three-dimensional code included in the short message.
  4. 제1항에 있어서, 상기 발급 신청이 요청된 티켓 정보를 단문 메시지 서비스를 통해 전송될 수 있는 텍스트 형식의 3차원 코드로 변환하는 단계는, The method of claim 1, wherein the converting the ticket information requested for the issuance request into a three-dimensional code in a text format that may be transmitted through a short message service may include:
    상기 티켓 정보를 암호화하여 상기 3차원 코드로 변환하는 것을 특징으로 하는 단문 메시지 서비스를 이용한 코드 제공 방법. Code providing method using a short message service, characterized in that for encrypting the ticket information is converted into the three-dimensional code.
  5. 제1항에 있어서, 상기 발급 신청이 요청된 티켓 정보를 단문 메시지 서비스를 통해 전송될 수 있는 텍스트 형식의 3차원 코드로 변환하는 단계는, The method of claim 1, wherein the converting the ticket information requested for the issuance request into a three-dimensional code in a text format that may be transmitted through a short message service may include:
    상기 티켓 정보를 변환한 3차원 코드에 상기 3차원 코드의 오류를 검출하기 패리티 정보를 변환한 3차원 코드를 추가하는 것을 특징으로 하는 단문 메시지 서비스를 이용한 코드 제공 방법. And a 3D code obtained by converting parity information for detecting an error of the 3D code to the 3D code obtained by converting the ticket information.
  6. 발급 신청이 요청된 티켓의 정보를 제공하는 정보 제공 모듈; An information providing module for providing information of a ticket for which an application for issuance is requested;
    상기 정보 제공 모듈로부터 제공된 티켓 정보를 단문 메시지 서비스(Short Message Service)를 통해 전송될 수 있는 텍스트 형식의 3차원 코드로 변환하는 코드 생성 모듈; 및 A code generation module for converting ticket information provided from the information providing module into a three-dimensional code in a text format that can be transmitted through a short message service; And
    상기 코드 생성 모듈로부터 상기 3차원 코드를 제공받고 상기 3차원 코드를 포함하는 단문 메시지를 생성한 후 상기 생성된 단문 메시지를 단문 메시지 서비스를 통해 전송하는 SMS 전송 모듈을 포함하는 단문 메시지 서비스를 이용한 코드 제공 장치. Code using a short message service including an SMS transmission module for receiving the three-dimensional code from the code generation module and generating a short message including the three-dimensional code and then transmitting the generated short message through a short message service. Provision device.
  7. 제6항에 있어서, 상기 3차원 코드는 The method of claim 6, wherein the three-dimensional code
    ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─ 및 │ 중 적어도 하나를 포함하는 것을 특징으로 하는 단문 메시지 서비스를 이용한 코드 제공 장치.  Code providing apparatus using a short message service, characterized in that it comprises at least one of ┼,, ┐, └, ┘, ├, ┤, ┬, ┴, ─ and |.
  8. 제6항에 있어서, 상기 3차원 코드는 The method of claim 6, wherein the three-dimensional code
    상기 단문 메시지에 포함된 상기 3차원 코드의 위치를 표시하기 위한 적어도 3개의 마커를 포함하는 것을 특징으로 하는 단문 메시지 서비스를 이용한 코드 제공 장치. And at least three markers for indicating the position of the three-dimensional code included in the short message.
  9. 제8항에 있어서, 상기 코드 생성 모듈은 The method of claim 8, wherein the code generation module
    상기 3차원 코드를 소정의 행과 열을 가지는 패턴으로 배열하고, 상기 적어도 3개의 마커를 상기 단문 메시지에서 상기 3차원 코드가 위치하는 영역의 시작 위치, 가로폭 및 종료 위치를 표시하기 위해 배치하는 것을 특징으로 하는 단문 메시지 서비스를 이용한 코드 제공 장치. Arranging the three-dimensional code in a pattern having predetermined rows and columns, and arranging the at least three markers to indicate a start position, a width width, and an end position of a region in which the three-dimensional code is located in the short message; Code providing apparatus using a short message service, characterized in that.
  10. 제6항에 있어서, 상기 코드 생성 모듈은 The method of claim 6, wherein the code generation module
    상기 제공된 티켓 정보를 암호화하여 상기 3차원 코드로 변환하는 것을 특징으로 하는 단문 메시지 서비스를 이용한 코드 제공 장치. Code providing apparatus using a short message service, characterized in that for encrypting the ticket information provided and converted into the three-dimensional code.
  11. 제6항에 있어서, 상기 코드 생성 모듈은 The method of claim 6, wherein the code generation module
    상기 제공된 티켓 정보를 변환한 3차원 코드에 상기 3차원 코드의 오류를 검출하기 패리티 정보를 변환한 3차원 코드를 추가하는 것을 특징으로 하는 단문 메시지 서비스를 이용한 코드 제공 장치. And a 3D code obtained by converting parity information for detecting an error of the 3D code to the 3D code obtained by converting the provided ticket information.
  12. 제11항에 있어서, 상기 코드 생성 모듈은 The method of claim 11, wherein the code generation module
    상기 제공된 티켓 정보를 변환한 3차원 코드와 상기 패리티 정보를 변환한 3차원 코드를 미리 정해진 순서에 의해 배열하는 것을 특징으로 하는 단문 메시지 서비스를 이용한 코드 제공 장치. And a three-dimensional code obtained by converting the provided ticket information and a three-dimensional code converted by the parity information in a predetermined order.
  13. 제6항에 있어서, 상기 정보 제공 모듈은 상기 발급 신청이 요청된 티켓의 발급 정보를 상기 SMS 전송 모듈에 제공하고, 상기 SMS 전송 모듈은 상기 티켓의 발급 정보 및 상기 3차원 코드를 포함하는 단문 메시지를 생성하여 단문 메시지 서비스를 통해 전송하는 것을 특징으로 하는 단문 메시지 서비스를 이용한 코드 제공 장치. The short message of claim 6, wherein the information providing module provides issuance information of the ticket for which the issuance request is requested to the SMS transmission module, and the SMS transmission module includes issuance information of the ticket and the three-dimensional code. Code providing apparatus using a short message service, characterized in that for generating and transmitting through a short message service.
  14. 제6항에 있어서, 상기 단문 메시지 서비스를 이용한 코드 제공 장치는 The apparatus of claim 6, wherein the code providing apparatus using the short message service comprises:
    상기 단문 메시지 서비스를 통해 전송된 3차원 코드가 사용자별로 구분되어 저장되는 데이터베이스를 더 포함하는 것을 특징으로 하는 단문 메시지 서비스를 이용한 코드 제공 장치. And a database in which the 3D code transmitted through the short message service is classified and stored for each user.
  15. 수신된 SMS(Short Message Service) 메시지에 포함된 3차원 코드를 촬영한 후 상기 촬영된 영상을 제공하는 카메라부; A camera unit for photographing a 3D code included in a received Short Message Service (SMS) message and providing the captured image;
    상기 카메라부로부터 제공된 상기 3차원 코드를 촬영한 영상의 컬러를 그레이 스케일로 변환한 후 상기 그레이 스케일로 변환된 영상을 이진화하여 마커를 검출하고, 상기 검출된 마커에 기초하여 상기 그레이 스케일로 변환된 영상으로부터 상기 3차원 코드를 포함하는 패턴 영상을 추출한 후, 신경망을 이용하여 상기 추출된 패턴 영상에 대응되는 숫자열로 변환하는 패턴 인식부를 포함하는 코드 인식 장치. After converting the color of the image captured by the three-dimensional code provided from the camera unit to a gray scale, the image is converted to the gray scale to detect a marker, and converted to the gray scale based on the detected marker And a pattern recognition unit extracting a pattern image including the 3D code from the image and converting the pattern image into a numeric string corresponding to the extracted pattern image using a neural network.
  16. 제15항에 있어서, 상기 패턴 인식부는 The method of claim 15, wherein the pattern recognition unit
    상기 그레이 스케일로 변환된 영상의 중앙을 기준으로 미리 설정된 크기에 해당하는 영역의 밝기값에 대한 히스토그램을 분석하여 상기 3차원 코드 패턴이 표시되는 영역인 배경색을 판단하고, 상기 그레이 스케일로 변환된 영상에서 흰색과 검정색의 경계를 설정한 후, 상기 설정된 경계에 기초하여 상기 그레이 스케일로 변환된 영상을 흰색과 검정색으로 이진화하는 것을 특징으로 하는 코드 인식 장치. A histogram of brightness values of an area corresponding to a preset size is analyzed based on the center of the image converted to gray scale to determine a background color that is an area where the 3D code pattern is displayed, and the image is converted to gray scale. And a white and black boundary, and binarize the image converted to the gray scale to white and black based on the set boundary.
  17. 제16항에 있어서, 상기 패턴 인식부는 The method of claim 16, wherein the pattern recognition unit
    상기 이진화된 영상에서 배경색이 미리 설정된 색이 아닌 경우에는 상기 이진화된 영상을 반전시키는 것을 특징으로 하는 코드 인식 장치. And if the background color is not a preset color in the binarized image, inverting the binarized image.
  18. 제15항에 있어서, 상기 패턴 인식부는  The method of claim 15, wherein the pattern recognition unit
    상기 검출된 마커 중 제1 마커와 제2 마커 사이의 길이 및 상기 제2 마커와 제3 마커 사이의 길이의 비율과, 상기 제1 마커와 제2 마커를 연결하는 직선과 상기 제2 마커와 상기 제3 마커를 연결하는 직선의 각도에 기초하여 상기 검출된 마커의 유효성을 판단하는 것을 특징으로 하는 코드 인식 장치. A ratio of a length between a first marker and a second marker and a length between the second marker and a third marker among the detected markers, a straight line connecting the first marker and the second marker, the second marker and the And determining the validity of the detected marker based on an angle of a straight line connecting a third marker.
  19. 제15항에 있어서, 상기 패턴 인식부는  The method of claim 15, wherein the pattern recognition unit
    상기 검출된 마커의 좌표값에 기초하여 상기 그레이 스케일로 변환된 영상에서 상기 검출된 마커 중 제1 마커 및 제2 마커를 연결하는 직선이 하나의 가로변으로 구성되고, 상기 제2 마커 및 제3 마커를 연결하는 직선이 하나의 세로변으로 구성된 사각형의 영역을 상기 패턴 영상으로 추출하는 것을 특징으로 하는 코드 인식 장치. A straight line connecting the first marker and the second marker among the detected markers in the image converted to the gray scale based on the coordinate values of the detected markers comprises one horizontal side, and the second marker and the third marker Code extraction apparatus, characterized in that for extracting a rectangular region consisting of a vertical line with a straight line connecting the pattern image.
  20. 제15에 있어서, 상기 패턴 인식부는  The method of claim 15, wherein the pattern recognition unit
    상기 추출된 패턴 영상을 각각 3차원 코드가 포함된 적어도 하나의 패턴 영역으로 구분한 후, 상기 구분된 각각의 패턴 영역을 미리 설정된 개수의 세부 영역으로 구분하고, 상기 세부 영역으로 구분된 각 영역의 컬러 평균값을 획득하여, 상기 획득한 컬러 평균값을 신경망의 입력에 제공하고, 상기 신경망의 출력값에 기초하여 상기 패턴 영상에 대응되는 숫자로 변환하는 것을 특징으로 하는 코드 인식 장치. After dividing the extracted pattern image into at least one pattern region each including a 3D code, each of the divided pattern regions is divided into a predetermined number of detailed regions, and each of the divided regions is divided into detailed regions. And obtaining a color average value, providing the obtained color average value to an input of a neural network, and converting the obtained color average value into a number corresponding to the pattern image based on the output value of the neural network.
  21. 제15항에 있어서, 상기 코드 인식 장치는 16. The apparatus of claim 15, wherein the code recognition device is
    상기 패턴 인식부로부터 제공된 숫자열에 대한 디코딩을 수행한 후, 디코딩된 티켓의 유효성을 검증하는 제어부를 더 포함하는 코드 인식 장치. And a controller configured to verify the validity of the decoded ticket after decoding the numeric string provided from the pattern recognition unit.
  22. 제15항에 있어서, 상기 제어부는 상기 디코딩 과정에서  The method of claim 15, wherein the control unit is
    상기 패턴 인식부로부터 제공된 숫자열을 비트열로 변환한 후, 상기 변환된 비트열에 대한 오류를 검출하고, 암호화된 비트열을 복호화하는 것을 특징으로 하는 코드 인식 장치. And converting the numeric string provided from the pattern recognition unit into a bit string, detecting an error with respect to the converted bit string, and decoding the encrypted bit string.
  23. 제22항에 있어서, 상기 제어부는 The method of claim 22, wherein the control unit
    상기 복호화된 비트열을 미리 정해진 데이터 패턴과 비교하여 상기 디코딩된 티켓의 유효성 여부를 검증하는 것을 특징으로 하는 코드 인식 장치. And verifying whether the decoded ticket is valid by comparing the decoded bit string with a predetermined data pattern.
  24. 제15항에 있어서, 상기 코드 인식 장치는  16. The apparatus of claim 15, wherein the code recognition device is
    상기 제어부의 제어에 기초하여 상기 디코딩된 티켓의 검증 결과를 표시하는 디스플레이부를 더 포함하는 것을 특징으로 하는 코드 인식 장치. And a display unit which displays a result of verifying the decoded ticket based on the control of the controller.
  25. 단문 메시지를 통해 전송될 수 있는 괘선 문자로 구성된 텍스트 코드; 및 A text code consisting of ruled characters that can be transmitted through a short message; And
    상기 텍스트 코드가 위치하는 영역의 위치를 표시하는 적어도 3개의 마커를 포함하는 단문 메시지를 통해 전송 가능한 3차원 코드. 3D code transmittable through a short message including at least three markers indicating the location of the area where the text code is located.
  26. 제25항에 있어서, 상기 텍스트 코드는 The method of claim 25, wherein the text code is
    ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─ 및 │ 중 적어도 하나를 포함하는 것을 특징으로 하는 단문 메시지를 통해 전송 가능한 3차원 코드. A three-dimensional code that can be transmitted through a short message, characterized in that it comprises at least one of ┼, ┌, ┐, └, ┘, ├, ┤, ┬, ┴, ─ and |.
  27. 제26항에 있어서, 상기 텍스트 코드는 27. The system of claim 26, wherein the text code is
    각각 소정 진수의 서로 다른 숫자와 대응되는 것을 특징으로 하는 단문 메시지를 통해 전송 가능한 3차원 코드. Three-dimensional code that can be transmitted through a short message, characterized in that each corresponding to a different number of a predetermined number.
PCT/KR2009/001622 2008-04-01 2009-03-31 Code providing method using short message service, code providing device using short message service, device for recognizing codes received through short message and codes capable of being transmitted through short message WO2009145439A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011502851A JP2011519448A (en) 2008-04-01 2009-03-31 Code providing method using short message service, code providing device using short message service, device for recognizing code received through short message, and code that can be transmitted through short message

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2008-0030484 2008-04-01
KR20080030484 2008-04-01
KR10-2009-0005649 2009-01-22
KR1020090005649A KR101059586B1 (en) 2008-04-01 2009-01-22 Code providing method using short message service, device for providing code using short message service, device for recognizing code received through short message and code that can be transmitted through short message

Publications (2)

Publication Number Publication Date
WO2009145439A2 true WO2009145439A2 (en) 2009-12-03
WO2009145439A3 WO2009145439A3 (en) 2010-01-21

Family

ID=41377705

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2009/001622 WO2009145439A2 (en) 2008-04-01 2009-03-31 Code providing method using short message service, code providing device using short message service, device for recognizing codes received through short message and codes capable of being transmitted through short message

Country Status (2)

Country Link
JP (1) JP2011519448A (en)
WO (1) WO2009145439A2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030014743A (en) * 2003-01-20 2003-02-19 김인호 Sms ticketing system and method using of a matrix code
KR20050119807A (en) * 2004-06-17 2005-12-22 (주)엠비원 Pattern code with logo insertion and method for encoding and decoding thereof
KR20070089440A (en) * 2006-02-28 2007-08-31 주식회사 인사이트 앤드 컴퍼니 Procedure for encoding/decoding data of cell image and the cell

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08185493A (en) * 1994-12-28 1996-07-16 Apo Syst Kk Card system for two-dimensional code system
JP2000123131A (en) * 1998-10-20 2000-04-28 Hitachi Information Technology Co Ltd Bar code generating method
AU4861701A (en) * 2000-04-18 2001-10-30 British Airways Plc A method of operating a ticketing system
JP4163406B2 (en) * 2001-09-28 2008-10-08 シャープ株式会社 Bar code recognition device
JP4859549B2 (en) * 2005-06-13 2012-01-25 豊 木内 Information management method using management symbol and information management server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030014743A (en) * 2003-01-20 2003-02-19 김인호 Sms ticketing system and method using of a matrix code
KR20050119807A (en) * 2004-06-17 2005-12-22 (주)엠비원 Pattern code with logo insertion and method for encoding and decoding thereof
KR20070089440A (en) * 2006-02-28 2007-08-31 주식회사 인사이트 앤드 컴퍼니 Procedure for encoding/decoding data of cell image and the cell

Also Published As

Publication number Publication date
JP2011519448A (en) 2011-07-07
WO2009145439A3 (en) 2010-01-21

Similar Documents

Publication Publication Date Title
WO2018048051A1 (en) Payment authentication method and system using quantum random number generator
EP1489551B1 (en) Biometric authentication system employing various types of biometric data
US7756292B2 (en) System and method of generic symbol recognition and user authentication using a communication device with imaging capabilities
WO2017222170A1 (en) Method and card company server for processing payment by verifying verification value, method for supporting payment by using verification value, and smart card
WO2011062364A2 (en) User authentication system, user authentication apparatus, smart card, and user authentication method for ubiquitous authentication management
WO2012053817A2 (en) Method and apparatus for verifying the authenticity of an issued document using a barcode
WO2016085062A1 (en) Authentication method using nfc authentication card
CN107592308A (en) A kind of two server multiple-factor authentication method towards mobile payment scene
WO2017043885A1 (en) Financial service providing method and system through mobile non-face-to-facereal name verification
WO2014104694A1 (en) Authentication server and method using label, and mobile device
WO2019198849A1 (en) Mobile passport, mobile passport generation system for generating same, and mobile passport certifcation method
CN101183458A (en) Picture validation code generating method and device
WO2018043951A1 (en) Pos device and system for performing payment authentication using biometric information, and control method therefor
WO2022255757A1 (en) Security certification system and method using otid
CN101594354B (en) Method and system for improving account transfer safety
KR20140079348A (en) Point-of-sale system using a plurality of sequencial fingerprint set input, and the method therefor
WO2012030162A2 (en) Card payment method, card payment system, and mobile terminal thereof
WO2017111521A2 (en) Passport information converting device including additional information
US11631062B2 (en) Voucher verification auxiliary device, voucher verification auxiliary system, and voucher verification auxiliary method
WO2009145439A2 (en) Code providing method using short message service, code providing device using short message service, device for recognizing codes received through short message and codes capable of being transmitted through short message
WO2015047020A1 (en) System for providing card payment service by using smart device and method therefor
WO2015186965A2 (en) Pos system using input of multiple sequential fingerprint sets and driving method therefor
KR101059586B1 (en) Code providing method using short message service, device for providing code using short message service, device for recognizing code received through short message and code that can be transmitted through short message
WO2010140191A1 (en) Information communication network
WO2015076522A1 (en) Internet security method and system using otid

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09754904

Country of ref document: EP

Kind code of ref document: A2

WWE Wipo information: entry into national phase

Ref document number: 2011502851

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1)EPC

122 Ep: pct application non-entry in european phase

Ref document number: 09754904

Country of ref document: EP

Kind code of ref document: A2