Sign In to Follow Application
View All Documents & Correspondence

System And Method To Generate And Read Qr Code Thereof

Abstract: ABSTRACT System and Method to Generate and Read QR Code thereof The embodiments described herein present a system and method generating and readinga QR Code.The system comprises a server (200) configured to generate the QR code and a user device comprising an applicationconfigured for reading the QR code present in a document.The server (200) is configured toreceive and encrypt one or more values into an encrypted data and encode the encrypted data. The server (200) is further configured to perform an XOR key function on encoded data andprint the XORed data in Sesh QR font to generate the QR code. The application is configured toextract and process a region of interest in the document to detect the QR code. Further, the application is configured to decode the QR code and perform an XOR key function on decoded data to derive the one or more values.

Get Free WhatsApp Updates!
Notices, Deadlines & Correspondence

Patent Information

Application #
Filing Date
16 December 2017
Publication Number
28/2019
Publication Type
INA
Invention Field
COMPUTER SCIENCE
Status
Email
nishantk@ediplis.com
Parent Application

Applicants

Seshaasai Business Forms Pvt. Ltd
9, Lalwani Industrial Estate, 14/Katrak Road, Wadala (W), Mumbai

Inventors

1. Mr. Pragnyat Lalwani
9, Lalwani Industrial Estate, 14/Katrak Road, Wadala (W), Mumbai- 400031

Specification

DESC:FIELD OF THE INVENTION
[001] The field of invention generally relates to a system and method for generating and reading QR code, more specifically, the invention provides an approach for data encryption using cryptographic algorithm and then encoding the encrypted data to QR code, which is further secured by XOR key. Furthermore, the system includes processing of images to detect the QR code based on standard algorithms and then converting the QR areas of an image into a byte array that is provided to the QR reading function.
BACKGROUND
[002] QR code or Quick Response code is a type of two-dimensional barcode that uses four standardised encoding modes to preserve data in a methodical way. A QR code comprises of a square shaped grid on a white background with black squares positioned in the grid. As QR codes have faster response time and larger storage capacity, they are utilised to transmit encrypted message to a receiving end.
[003] In the existing prior arts, QR code can be read by any authorised party and hence the information encrypted in the QR code can be obtained with the help of any authorised QR scanner. This leads to the probable chance of misuse of important document or data, which in turn raises big threat on security issue of confidentiality of important information. Moreover, no system has been designed till date, where single QR scanner can read all QR codes.
[004] Hence, there is utmost need for a system which provides a solution for above mentioned problem by restricting the misuse of important data, incorporates customising facility of QR generation and reading as per need, and which can be universally implemented.

OBJECTS OF THE INVENTION
[005] The principle object of the invention is to provide a method to generate QR code, each customised for particular user and scan the generated QR code.
[006] Yet another object of the invention is to provide a method to encrypt data using cryptographic algorithm.
[007] Another object of the invention is to provide a method to encode the encrypted data to be fed as QR code.
[008] Yet another object of the invention is to provide a method to secure the encoded and decoded data using XOR key.
[009] Another object of the invention is to provide a method to extract the part of an image, which most likely includes the QR code.
[0010] Another object of the invention is to provide a method to process to detect QR code based on standard algorithms.
[0011] Yet another object of the invention is to provide a method to convert the part of the image including a QR code,into a byte array.
[0012] Yet another object of the invention is to provide a method to furnish the converted byte array to QR reading function.

BRIEF DESCRIPTION OF DRAWINGS
[0013] This invention is illustrated in the accompanying drawings, throughout which, like reference letters indicate corresponding parts in the various figures.
[0014] The embodiments herein will be better understood from the following description with reference to the drawings, in which:
[0015] Fig. 1 depicts/illustrates a system for generating QR code in ‘Sesh QR font’ encrypted with important values and reading QR codes, in accordance with an embodiment of the invention.
[0016] Fig. 2 depicts/illustrates the components and working details of a server for generation of the QR code, in accordance with an embodiment of the invention.
[0017] Fig. 3 depicts/illustrates the components and working details of a user device for reading the QR code, in accordance with an embodiment of the invention.

STATEMENT OF INVENTION

[0018] The embodiments described herein present a system and method generating and reading a QR Code.The system comprises a serverconfigured to generate the QR code and a user device comprising an applicationconfigured for reading the QR code present in a document. The serveris configured to receive and encrypt one or more values into an encrypted data and encode the encrypted data. The serveris further configured to perform an XOR key function on encoded data and print the XORed data in Sesh QR font to generate the QR code. The application is configured to extract and process a region of interest in the document to detect the QR code. Further, the application is configured to decode the QR code and perform an XOR key function on decoded data to derive the one or more values.
[0019] In an embodiment, the servercomprises a data collection modulefor receiving one or more values to be encrypted. The server comprisesan encryption modulefor transforming the one or more values into an encrypted data. The server further comprisesan encoding modulefor converting the encrypted data in order to generate encoded data andan XOR key modulefor performing XOR key function on the encoded data.
[0020] In an embodiment, theapplication comprisesa data extraction modulefor extracting the region of interest from an original image document. Further, the application comprisesan image processing modulefor processing the region of interest to recognize a presence of the QR code in the region of interest. The application also comprises an image to byte conversion modulefor converting the region of interest into a byte array and a QR reading function modulefor reading the QR code.The application further comprisesa decoding modulefor decoding the read QR code andan XOR key modulefor performing XOR key function on the decoded data.

DETAILED DESCRIPTION OF INVENTION
[0021] The embodiments herein and the various features and advantageous details thereof are explained more fully with reference to the non-limiting embodiments that are illustrated in the accompanying drawings and / or detailed in the following description. Descriptions of well-known components and processing techniques are omitted so as to not unnecessarily obscure the embodiments herein. The examples used herein are intended merely to facilitate an understanding of ways in which the embodiments herein may be practiced and to further enable those of skill in the art to practice the embodiments herein. Accordingly, the examples should not be construed as limiting the scope of the embodiments herein.
[0022] The embodiments herein below provide a system and method that encrypt and encode values/entities in a QR code and XOR the encrypted data using an XOR key in order to print data in Sesh QR font. The system has further incorporated a method to read the QR code by means of first extracting the portion of a document that most probably includes the QR code and then applying image processing technique to detect the QR code. If a QR code is detected, the portion of the document is converted to a byte array and the converted byte array is fed to the QR reading function.
[0023] In the present disclosure, encryption may refer to a technique that prohibits access to message or data of interest by unauthorised parties.
[0024] In the present disclosure, image processing may refer to analysis of an image using mathematical operations, the output of which may be either an image or a set of parameters related to the image.
[0025] In the present disclosure, Sesh QR font may refer to a special format developed by Seshaasai to print the encrypted data string.
[0026] Referring now to the drawings, where similar reference characters denote corresponding features consistently throughout the figures, there are shown preferred embodiments.
[0027] Fig 1 depicts a system 100 that generates QR code in ‘Sesh QR font’ with important values encrypted in it and reads QR codes. The subsystem 110 meets the purpose of generating QR code 116 with values/entities 111 of interest embedded in it. The values/entities 111 are first collected and rearranged in a required template 112. The data in specified template 112 is then encrypted using cryptographic algorithm, using which plaintext is transformed into cipher text.
[0028] In a preferred embodiment, the cryptographic algorithm that is used for encryption of data may be symmetric key algorithm in which same parameter is utilised to encrypt plaintext and/or decrypt cipher text.
[0029] In an embodiment of the present invention, plaintext may be defined as the unencrypted information and cipher text may be defined as the output of encryption completed on plaintext using an algorithm.
[0030] The encrypted data 113 is next encoded using digital encoding technique to deliver encoded data 114 that is further secured by performing XOR operation on it using XOR key. The main intention of encoding is to enhance the usability of the data especially in various systems. As a final step of subsystem 110, XORed data 115 is then printed in Sesh QR font to generate the QR code 116.
[0031] Referred to fig 1 again, the subsystem 120 reads/scans the document including the QR code and reproduces the necessary information from it. The system initiates its operation by first presenting the image document of interest 121 to the system, next the portion of the image 122 that is likely to include the QR code is extracted from the main image document 121.
[0032] In an embodiment, the portion of image 122 is then processed to detect the presence of QR code based on standard algorithms. In case a QR code is detected, the portion of image 122 is converted to a byte array 123. The next step involves decoding of the byte array 123 and then decoded data 124 is XORed to obtain XORed data 125 from which the necessary information 126 is derived.
[0033] Fig. 2 depicts the components and working details of the server 200 that plays important role in generation of the QR code. The necessary values or entities that are to be hidden in the QR code in an image document are fed to data collection module 204. Once the values or entities are ready in the data collection module 204, encryption module 205 comes into action; it transforms the original data into a format that can only be uncovered by authorised parties only using a key. The main purpose of encryption module 205 is to keep information secret from users who are not permitted to view that information, it performs symmetric key algorithm on the plaintext and converts them into cipher text which can’t be read a third party without having access to the key.
[0034] In an embodiment, a key may be defined as a piece of information that dictates the functional outcome of a cryptographic algorithm.
[0035] Further, with respect to fig 2, encoding module 206 encodes the cipher text to make it usable in different systems and to decrease the storage space. Generally, the encoding is achieved using a method accessible to public. Encoding module 206 converts the cipher text into a standard format that is widely used in different systems. Encoded data is further secured by XORing it using XOR key module 207.
[0036] Fig. 3 depicts/illustrates the components and working details of a user device/application that can read the QR code. The image document of interest is presented to the application that extracts the ‘region of interest’ from the original image document using data extraction module 304.
[0037] In an embodiment, the ‘region of interest’ in the present invention is a portion of the image document, which has maximum possibility of comprising the QR code.
[0038] In an embodiment, the ‘region of interest’ is then processed using image processing technique by image processing module 305 based on standard algorithms to recognize the presence of QR code in it, on being the QR code recognized, said portion of the image document is presented in binary format by converting it into a byte array using image to byte conversion module 309. The byte array is then provided to QR reading function module 308 and the QR data is decoded using decoding module 306. Decoded data is further XORed using XOR key module 307.
[0039] The foregoing description of the specific embodiments will so fully reveal the general nature of the embodiments herein that others can, by applying current knowledge, readily modify and/or adapt for various applications such specific embodiments without departing from the generic concept, and, therefore, such adaptations and modifications should and are intended to be comprehended within the meaning and range of equivalents of the disclosed embodiments. It is to be understood that the phraseology or terminology employed herein is for the purpose of description and not of limitation. Therefore, while the embodiments herein have been described in terms of preferred embodiments, those skilled in the art will recognize that the embodiments herein can be practiced with modification within the spirit and scope of the embodiments as described herein. ,CLAIMS:CLAIMS
We claim:
1. A system for generating and reading a QR Code, the system comprising:
a server (200) configured to generate the QR code, wherein the server (200) is configured to:
receive and encrypt one or more values into an encrypted data;
encode the encrypted data;
perform an XOR key function on encoded data; and
print the XORed data in Sesh QR font to generate the QR code; and
a user device comprising an application configured for reading the QR code present in a document, wherein the application is configured to:
extract and process a region of interest in the document to detect the QR code;
decode the QR code;
perform an XOR key function on decoded data to derive the one or more values.

2. The system according to claim 1, wherein the server (200) comprises:
a data collection module (204) for receiving one or more values to be encrypted;
an encryption module (205) for transforming the one or more values into an encrypted data;
an encoding module (206) for converting the encrypted data in order to generate encoded data; and
an XOR key module (207) for performing XOR key function on the encoded data.

3. The system according to claim 1, wherein the application comprises:
a data extraction module (304) forextractingthe region of interest from an original image document;
an image processing module (305) for processing the region of interest to recognize a presence of the QR code in the region of interest;
an image to byte conversion module (309) for converting the region of interest into a byte array;
a QR reading function module (308) for reading the QR code;
a decoding module (306) fordecoding the read QR code; and
an XOR key module (307) for performing XOR key function on the decoded data.

4. The system according to claim 2, wherein transforming comprises using a symmetric key algorithm to encrypt the one or more values.

5. The system according to claim 1, wherein the region of interest is a portion of the original image document with maximum possibility of including the QR code.

6. A method for generating and readinga QR Code, the system comprising:
generating the QR code by using a server (200), wherein the generating is configured for:
receiving and encrypting one or more values into an encrypted data;
encoding the encrypted data;
performing an XOR key function on encoded data; and
printing the XORed data in Sesh QR font to generate the QR code; and
reading the QR code present in a document by using an application, wherein the application is configured for:
extracting and processing a region of interest in the document to detect the QR code;
decoding the QR code; and
performing an XOR key function on decoded data for deriving the one or more values.

7. The method according to claim 6, wherein the server (200) is configured for:
receiving one or more values to be encrypted by using a data collection module (204);
transforming the one or more values into an encrypted data by using an encryption module (205);
converting the encrypted data in order to generate encoded data by using an encoding module (206); and
performing XOR key function on the encoded data by using an XOR key module (207).

8. The system according to claim 1, wherein the application comprises:
extractingthe region of interest from an original image document by using a data extraction module (304);
processing the region of interest to recognize a presence of the QR code in the region of interest by using an image processing module (305);
converting the region of interest into a byte array by using an image to byte conversion module (309);
reading the QR code by using a QR reading function module (308);
decoding the read QR code by using a decoding module (306); and
performing XOR key function on the decoded data by using an XOR key module (307).

9. The system according to claim 7, wherein transforming comprises using a symmetric key algorithm to encrypt the one or more values.

10. The system according to claim 1, wherein the region of interest is a portion of the original image document with maximum possibility of including the QR code.

Documents

Application Documents

# Name Date
1 201721045280-STATEMENT OF UNDERTAKING (FORM 3) [16-12-2017(online)].pdf 2017-12-16
2 201721045280-PROVISIONAL SPECIFICATION [16-12-2017(online)].pdf 2017-12-16
3 201721045280-POWER OF AUTHORITY [16-12-2017(online)].pdf 2017-12-16
4 201721045280-FORM 1 [16-12-2017(online)].pdf 2017-12-16
5 201721045280-DRAWINGS [16-12-2017(online)].pdf 2017-12-16
6 201721045280-ORIGINAL UNDER RULE 6 (1A)-FORM 1,26-21-12-2017.pdf 2017-12-21
7 201721045280-DRAWING [15-12-2018(online)].pdf 2018-12-15
8 201721045280-CORRESPONDENCE-OTHERS [15-12-2018(online)].pdf 2018-12-15
9 201721045280-COMPLETE SPECIFICATION [15-12-2018(online)].pdf 2018-12-15
10 201721045280-FORM 3 [03-01-2019(online)].pdf 2019-01-03
11 201721045280-Request Letter-Correspondence [15-01-2019(online)].pdf 2019-01-15
12 201721045280-Power of Attorney [15-01-2019(online)].pdf 2019-01-15
13 201721045280-Form 1 (Submitted on date of filing) [15-01-2019(online)].pdf 2019-01-15
14 201721045280-CERTIFIED COPIES TRANSMISSION TO IB [15-01-2019(online)].pdf 2019-01-15
15 201721045280-ORIGINAL UR 6(1A) FORM 5-241218.pdf 2019-04-01
16 Abstract1.jpg 2019-04-18
17 201721045280-FORM 3 [28-08-2019(online)].pdf 2019-08-28
18 201721045280-FORM 18 [15-12-2021(online)].pdf 2021-12-15
19 201721045280-FER.pdf 2022-04-27
20 201721045280-FORM 4(ii) [20-10-2022(online)].pdf 2022-10-20
21 201721045280-FORM 3 [27-01-2023(online)].pdf 2023-01-27
22 201721045280-FER_SER_REPLY [27-01-2023(online)].pdf 2023-01-27
23 201721045280-ENDORSEMENT BY INVENTORS [27-01-2023(online)].pdf 2023-01-27
24 201721045280-DRAWING [27-01-2023(online)].pdf 2023-01-27
25 201721045280-CORRESPONDENCE [27-01-2023(online)].pdf 2023-01-27
26 201721045280-COMPLETE SPECIFICATION [27-01-2023(online)].pdf 2023-01-27
27 201721045280-CLAIMS [27-01-2023(online)].pdf 2023-01-27
28 201721045280-POA [17-07-2025(online)].pdf 2025-07-17
29 201721045280-FORM 13 [17-07-2025(online)].pdf 2025-07-17

Search Strategy

1 201721045280searchE_06-04-2022.pdf