CN108959949B - Method and system for carrying out safe information transmission through graphic coding data - Google Patents

Method and system for carrying out safe information transmission through graphic coding data Download PDF

Info

Publication number
CN108959949B
CN108959949B CN201810935480.9A CN201810935480A CN108959949B CN 108959949 B CN108959949 B CN 108959949B CN 201810935480 A CN201810935480 A CN 201810935480A CN 108959949 B CN108959949 B CN 108959949B
Authority
CN
China
Prior art keywords
data
information
sub
coded data
graphics
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810935480.9A
Other languages
Chinese (zh)
Other versions
CN108959949A (en
Inventor
方顺豹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
360 Zongheng Information Technology Co.,Ltd.
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201810935480.9A priority Critical patent/CN108959949B/en
Publication of CN108959949A publication Critical patent/CN108959949A/en
Application granted granted Critical
Publication of CN108959949B publication Critical patent/CN108959949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

The invention discloses a method and a system for carrying out safe information transmission through graphic coded data, wherein the method comprises the following steps: determining a coding ratio of each image region to which the graphic coding data is applied; generating unencrypted original graphic encoding data which accords with the encoding proportion based on the information content to be transmitted; performing structural analysis on the information content to be transmitted, and dividing the information content to be transmitted into a plurality of information subsets according to the result of the structural analysis; dividing a data information area of the original image coding data which is not encrypted into a plurality of sub-areas according to each information subset, and determining an encryption unit and an encryption mode for each sub-area; and for each sub-region, taking the encryption unit as a minimum encryption object, encrypting each encryption unit according to an encryption mode to generate encrypted graphics coded data, and performing safe information transfer based on the encrypted graphics coded data.

Description

Method and system for carrying out safe information transmission through graphic coding data
Technical Field
The present invention relates to the field of information processing, and more particularly, to a method and system for secure information transfer through graphically encoded data.
Background
The popularity of coded data enables devices with computing capabilities to read, process, and express information. At present, the trend of information processing by two-dimensional codes of mobile devices is more and more common. Two-dimensional codes are a very popular encoding method applied to mobile devices in recent years, and can store more information and represent more data types than traditional bar codes.
The two-dimensional code records data symbol information by using black and white patterns which are distributed on a plane (in a two-dimensional direction) according to a certain rule and a certain specific geometric figure. In terms of code encoding, the two-dimensional code skillfully utilizes the concepts of '0' and '1' bit streams forming the internal logic basis of a computer, and uses a plurality of geometric shapes corresponding to binary systems to represent literal numerical information. The image input device or the photoelectric scanning device can automatically read the two-dimensional code to realize automatic information processing. Two-dimensional codes have some commonalities in barcode technology: each code system has a specific character set, each character occupies a certain width, and has a certain checking function. In addition, the two-dimensional code also has a function of automatically recognizing information on different lines and a function of processing a figure rotation change point.
Currently, the two-dimensional codes are all square in shape, for example, quick response QR codes. As shown in fig. 2, the QR code 200 has a square shape and exists in black and white. Fig. 2 is a schematic diagram of a QR code in the related art, in which 3 of 4 corners of the QR code 200 are provided with a square pattern which is small and looks like a "square" character. These 3 patterns are a scale that helps the decoding software locate the QR code 200 so that the user does not need to align and scan at any angle, yet can correctly read the data.
However, the current two-dimensional code adopts a plaintext mode to transmit information, so that the information is easy to be tampered or stolen. The information transmission in the plaintext mode may cause great hidden trouble to the information security of the user.
Disclosure of Invention
According to one aspect of the present invention, there is provided a method of secure information transfer by graphically encoding data, the method comprising:
determining an encoding ratio of an image area for each application for the graphics-encoded data based on a display range for each application in the plurality of applications for displaying the graphics-encoded data and a maximum amount of information of a single graphics-encoded data;
when a specific application in the plurality of applications wants to transfer the information content, generating unencrypted original graphic encoding data which accords with the encoding ratio on the basis of the information content to be transferred;
performing structural analysis on the information content to be transmitted, and dividing the information content to be transmitted into a plurality of information subsets according to the result of the structural analysis;
dividing a data information area of the original image coding data which is not encrypted into a plurality of sub-areas according to each information subset, and determining an encryption unit and an encryption mode for each sub-area; and
and for each sub-area, taking the encryption unit as a minimum encryption object, encrypting each encryption unit according to an encryption mode to generate encrypted graphics coded data, and carrying out safe information transfer based on the encrypted graphics coded data.
Before determining the coding ratio of the image area used for the graphics coding data by each application based on the display range used for displaying the graphics coding data by each application in the plurality of applications and the maximum information amount of the single graphics coding data, the method further comprises the following steps:
acquiring application description information associated with user equipment, and determining a plurality of applications which desire information transfer through graphic coded data based on the application description information;
determining the maximum information quantity required by each application for information transmission through single graphic coded data according to the information transmission requirement of each application in a plurality of applications; and
the graphical interface of each application for providing the graphical encoded data is parsed to determine a display range that each application can use to display the graphical encoded data.
The application description information includes a plurality of description items, and the format of each description item is < application name, application type, associated device type, coded data flag >.
The information transfer requirements of each application are determined according to the data integrity required when each application performs information transfer by graphically encoding data.
The information delivery requirements include the amount of peak data involved in order to meet data integrity.
And determining the maximum information quantity required by each application for information transmission through single graphic coded data according to the peak data quantity.
The graphical interface is an interface which utilizes graphical coded data to carry out information transmission of each application.
The display range is a range for displaying graphically encoded data in the graphical interface.
Wherein determining the encoding ratio of the image area for the graphics-encoded data per application based on the display range for displaying the graphics-encoded data per application and the maximum amount of information for a single graphics-encoded data in the plurality of applications comprises:
determining a length and a width of a display range for each of the plurality of applications to display the graphically encoded data;
determining the horizontal encoding quantity of each image area applied for graphically encoding data according to the width of the display range;
determining the longitudinal coding number of each image area applied to the graphic coding data according to the length of the display range and the maximum information amount of the single graphic coding data; and
the encoding ratio of each image region to which the image encoding data is applied is determined based on the number of horizontal encodings and the number of vertical encodings.
Wherein determining the number of vertical encodings per image region applied for graphically encoded data based on the length of the display range and the maximum amount of information comprises:
determining a preselected longitudinal code number according to the maximum information amount and the transverse code number;
when it is determined that the length of the display range can accommodate the preselected number of vertical encodings, the preselected number of vertical encodings is determined as the number of vertical encodings per image area applied for graphically encoded data.
Wherein the shape of the display range is a rectangle, and the shape of the image area is a rectangle.
Wherein the display range is rectangular in shape and the image area is rectangular in shape.
Wherein the coding ratio is 0.618.
The unencrypted original image coding data conforming to the coding scale comprises: configuration information, header information, and data information.
The method also comprises the step of compressing the header information and/or the data information in the original graphics coded data to generate compressed graphics coded data, wherein the area of the compressed graphics coded data is smaller than or equal to that of the original graphics coded data.
Further comprising communicating information based on the compressed graphics encoding data.
Wherein the structure resolution is a semantic structure resolution,
the structural analysis of the information content to be transmitted is carried out, and the division of the information content to be transmitted into a plurality of information subsets according to the result of the structural analysis comprises the following steps:
semantic structure analysis is carried out on the information content to be transmitted to generate a plurality of semantic structure subunits;
and dividing the information content to be transmitted into a plurality of information subsets according to the semantic structure subunits.
Wherein the structure resolution is a separator structure resolution,
the structural analysis of the information content to be transmitted is carried out, and the division of the information content to be transmitted into a plurality of information subsets according to the result of the structural analysis comprises the following steps:
carrying out separator structure analysis on the information content to be transmitted to generate a plurality of separator structure subunits;
and dividing the information content to be transmitted into a plurality of information subsets according to the plurality of separator structure subunits.
Wherein the encryption mode of each encryption unit is the same or different.
The encryption scheme is predetermined by a provider who provides the graphics encoded data, or the encryption scheme is determined according to the requirements of a user who uses the graphics encoded data.
The encryption unit is a single coding unit, a plurality of coding units or a data block.
Wherein the coding units of the original graphic coded data are circular, rectangular and elliptical.
The method further comprises the steps that a provider of the graphic coded data receives an information processing request aiming at the cooperative service, wherein the information processing request comprises information content associated with the cooperative service and a structure description file of the cooperative service;
analyzing the structure description file of the collaborative service to determine a plurality of collaborative devices related to the collaborative service and a collaborative task related to each collaborative device;
generating original graphic coding data comprising data information according to information content associated with the collaborative service, and dividing the data information in the generated original graphic coding data into a plurality of sub data information based on a collaborative task related to each collaborative device;
determining an incidence relation among the plurality of cooperative devices, and determining a hierarchical relation for each sub data information in a plurality of sub data information based on the incidence relation; and
the generated original pattern coded data is divided into a plurality of hierarchical pattern coded data based on the hierarchical relationship of each sub data information, and each hierarchical pattern coded data is distributed to a corresponding cooperative device to perform information processing.
After each cooperative device carries out information processing according to the corresponding hierarchical graph coded data, the results produced by each cooperative device through the information processing are combined to generate a response message, and the response message is sent to a provider of the graph coded data.
The method also comprises the step of setting header information for each hierarchical graphic coding data, wherein the header information of each hierarchical graphic coding data is the same as, different from or related to the header information of the generated original graphic coding data.
Receiving a code division request for dividing the generated original graph coded data;
analyzing the code division request to determine the number N of subcodes;
dividing data information included in the generated original graphic coding data into N pieces of sub-data information; and
and dividing the generated original graph coded data into N sub-coded data according to the N sub-data information.
Further comprising transmitting each of the N sub-coded data to a respective user equipment, wherein each user equipment is capable of receiving at least one sub-coded data.
And setting header information for each piece of sub-coded data, wherein the header information of each piece of sub-coded data is the same as, different from or related to the header information of the generated original graphic coded data.
Further comprising: a code division request for dividing specific sub-encoded data is received, and the specific sub-encoded data is divided into a predetermined number of grandchild encoded data according to the code division request.
Wherein the generated original graphic encoding data includes: the system information includes size level information and error correction level information, and the backup information includes size level information and error correction level information.
Wherein the generated original graphics encoding data further comprises sub-scaling.
Further comprising the steps of, in the configuration information of the sub-coded data: the number of the sub-encoded data, the serial number of the sub-encoded data, and the hash value of the original graphic encoded data.
The method also comprises the following steps of: the number of the same level graphic encoding data, the sequence number of the same level graphic encoding data and the hash value of the upper level graphic encoding data.
Wherein the header information is summary information of data information included in the generated graphic encoding data in conformity with the encoding scale.
Wherein the data information of the sub-coded data includes a code error correction level of the original pattern coded data and partial data information of the original pattern coded data.
Wherein each hierarchical graphically encoded data of the plurality of hierarchical graphically encoded data comprises: the error correction level of the upper graphics coded data and partial data information of the upper coded data.
The configuration information further includes: configuration information version number, header information zone bit, block zone bit and custom configuration data.
The configuration information further includes: the total number of code blocks, the current code block sequence number, and the hash value of the upper code block.
The header information also includes a compression flag bit.
The method further comprises the steps of generating encrypted graphics encoding data, generating a hash character string for header information of the original graphics encoding data which is not encrypted, carrying out byte-by-byte exclusive OR operation on data information of the original graphics encoding data by using the hash character string, and encrypting the exclusive OR operation graphics encoding data to generate the encrypted graphics encoding data.
After receiving the encrypted graphics coded data, decrypting the encrypted graphics coded data to generate graphics coded data to be processed, generating a hash character string for header information of the graphics coded data to be processed, and performing byte-by-byte exclusive OR operation on data information of the graphics coded data to be processed by using the hash character string to obtain the original graphics coded data which is not encrypted.
The cooperative service is a service that is collectively completed by a plurality of cooperative devices.
The structure description file of the collaborative service is used for indicating the logical structure of the collaborative service, and the collaborative service can be divided into a plurality of sub-services based on the structure description file.
Wherein each sub-service of the plurality of sub-services corresponds to a collaborative task to which the respective collaborative device relates.
The association relationship among the plurality of cooperative devices includes: peer relationships, superior relationships, subordinate relationships, and conditional relationships.
According to another aspect of the present invention there is provided a system for secure information transfer by graphically encoded data, the system comprising:
scale determining means for determining a coding scale of an image area for graphics-coded data per application based on a display range for displaying the graphics-coded data per application among a plurality of applications and a maximum information amount of a single graphics-coded data;
generating means for generating, when a specific application of the plurality of applications desires to perform transfer of the information content, original pattern-encoded data that is not encrypted in conformity with the encoding ratio based on the information content to be transferred;
the analysis device is used for carrying out structural analysis on the information content to be transmitted and dividing the information content to be transmitted into a plurality of information subsets according to the result of the structural analysis;
the processing device is used for dividing a data information area of the original image coding data which is not encrypted into a plurality of sub-areas according to each information subset, and determining an encryption unit and an encryption mode for each sub-area; and
and the encryption device is used for regarding each sub-area, taking the encryption unit as a minimum encryption object, encrypting each encryption unit according to an encryption mode to generate encrypted graphics coded data, and carrying out safe information transfer based on the encrypted graphics coded data.
The device further comprises an initialization device used for acquiring application description information associated with the user equipment and determining a plurality of applications which want to carry out information transmission through the graphic coded data based on the application description information;
determining the maximum information quantity required by each application for information transmission through single graphic coded data according to the information transmission requirement of each application in a plurality of applications; and
the graphical interface for each application that is used to provide the graphical encoded data is parsed to determine a display range that each application can use to display the graphical encoded data.
The application description information includes a plurality of description items, and the format of each description item is < application name, application type, associated device type, coded data flag >.
The initialization device determines the information transmission requirement of each application according to the data integrity required when each application carries out information transmission through the pattern coding data.
The information delivery requirements include the amount of peak data involved in order to meet data integrity.
The initialization means determines the maximum amount of information required for information transfer by a single pattern-coded data per application based on the peak data amount.
The graphical interface is an interface which utilizes graphical coded data to carry out information transmission of each application.
The display range is a range for displaying graphically encoded data in the graphical interface.
Wherein the ratio determining means determines the encoding ratio of the image area for each application for the graphics-coded data based on the display range for each application for displaying the graphics-coded data and the maximum information amount of the single graphics-coded data among the plurality of applications includes:
determining a length and a width of a display range for each of the plurality of applications to display the graphically encoded data;
determining the horizontal encoding quantity of each image area for applying graphic encoding data according to the width of the display range;
determining the longitudinal coding number of each image area applied to the graphic coding data according to the length of the display range and the maximum information amount of the single graphic coding data; and
the encoding ratio of each image region to which the image encoding data is applied is determined based on the number of horizontal encodings and the number of vertical encodings.
Wherein the determining of the number of vertical encodings per image area to which the graphics-encoding data is applied, based on the length of the display range and the maximum amount of information, by the ratio determining means comprises:
determining a preselected longitudinal code number according to the maximum information amount and the transverse code number;
when it is determined that the length of the display range can accommodate the preselected number of vertical encodings, the preselected number of vertical encodings is determined as the number of vertical encodings per image area applied for graphically encoded data.
Wherein the shape of the display range is a rectangle, and the shape of the image area is a rectangle.
Wherein the display range is rectangular in shape and the image area is rectangular in shape.
Wherein the coding ratio is 0.618.
The unencrypted original image coding data conforming to the coding scale comprises: configuration information, header information, and data information.
The device also comprises a compression device which compresses the header information and/or the data information in the original graphics coding data to generate compressed graphics coding data, wherein the area of the compressed graphics coding data is smaller than or equal to that of the original graphics coding data.
Further comprising communicating information based on the compressed graphics encoding data.
Wherein the structure resolution is a semantic structure resolution,
the analyzing device performs structural analysis on the information content to be transmitted, and the dividing the information content to be transmitted into a plurality of information subsets according to the result of the structural analysis comprises:
semantic structure analysis is carried out on the information content to be transmitted to generate a plurality of semantic structure subunits;
and dividing the information content to be transmitted into a plurality of information subsets according to the semantic structure subunits.
Wherein the structure resolution is a separator structure resolution,
the analyzing device performs structural analysis on the information content to be transmitted, and the dividing the information content to be transmitted into a plurality of information subsets according to the result of the structural analysis comprises:
carrying out separator structure analysis on the information content to be transmitted to generate a plurality of separator structure subunits;
and dividing the information content to be transmitted into a plurality of information subsets according to the plurality of separator structure subunits.
Wherein the encryption mode of each encryption unit is the same or different.
The encryption scheme is predetermined by a provider who provides the graphics encoded data, or the encryption scheme is determined according to the requirements of a user who uses the graphics encoded data.
The encryption unit is a single coding unit, a plurality of coding units or a data block.
The coding units of the original graph coded data are circular, rectangular and oval.
The method comprises the steps that a dividing device is further included for enabling a provider of the image coded data to receive an information processing request aiming at the cooperative service, wherein the information processing request comprises information content relevant to the cooperative service and a structure description file of the cooperative service;
analyzing the structure description file of the collaborative service to determine a plurality of collaborative devices related to the collaborative service and a collaborative task related to each collaborative device;
generating original graphic coding data comprising data information according to information content associated with the collaborative service, and dividing the data information in the generated original graphic coding data into a plurality of sub data information based on a collaborative task related to each collaborative device;
determining an incidence relation among the plurality of cooperative devices, and determining a hierarchical relation for each sub data information in a plurality of sub data information based on the incidence relation; and
the generated original pattern coded data is divided into a plurality of hierarchical pattern coded data based on the hierarchical relationship of each sub data information, and each hierarchical pattern coded data is distributed to a corresponding cooperative device to perform information processing.
After each cooperative device performs information processing according to the corresponding hierarchical graph coded data, the dividing device combines the results generated by each cooperative device through the information processing to generate a response message, and the response message is sent to the provider of the graph coded data.
The method also comprises a setting device for setting header information for each hierarchical graphic coded data, wherein the header information of each hierarchical graphic coded data is the same as, different from or related to the header information of the generated original graphic coded data.
The dividing device is used for receiving a code dividing request for dividing the generated original graph coded data;
analyzing the code division request to determine the number N of subcodes;
dividing data information included in the generated original graphic coding data into N pieces of sub-data information; and
and dividing the generated original graph coded data into N sub-coded data according to the N sub-data information.
The dividing device sends each of the N sub-coded data to a corresponding user equipment, where each user equipment is capable of receiving at least one sub-coded data.
And setting means for setting header information for each of the sub-coded data, wherein the header information of each of the sub-coded data is the same as, different from, or related to the header information of the generated original graphics coded data.
The dividing means receives a division request for dividing specific sub-encoded data, and divides the specific sub-encoded data into a predetermined number of grandchild encoded data according to the division request.
Wherein the generated original graphic encoding data includes: the system information includes size level information and error correction level information, and the backup information includes size level information and error correction level information.
Wherein the generated original graphics encoding data further comprises sub-scaling.
The method also comprises a setting device, and the configuration information of the sub-coded data comprises the following steps: the number of the sub-coded data, the sequence number of the sub-coded data, and the hash value of the original graphic coded data.
The method also comprises the following steps of: the number of the same-level graphic coded data, the serial number of the same-level graphic coded data and the hash value of the upper-level graphic coded data.
Wherein the header information is summary information of data information included in the generated graphic encoding data in conformity with the encoding scale.
Wherein the data information of the sub-coded data includes a code error correction level of the original pattern coded data and partial data information of the original pattern coded data.
Wherein each hierarchical graphically encoded data of the plurality of hierarchical graphically encoded data comprises: the error correction level of the upper graphics coded data and partial data information of the upper coded data.
The configuration information further includes: configuration information version number, header information zone bit, block zone bit and custom configuration data.
The configuration information further includes: the total number of code blocks, the current code block sequence number, and the hash value of the upper code block.
The header information also includes a compression flag bit.
The encryption device generates encrypted graphics encoding data by generating a hash character string for header information of the original graphics encoding data that is not encrypted, performing byte-by-byte exclusive OR operation on data information of the original graphics encoding data using the hash character string, and encrypting the exclusive OR operated graphics encoding data to generate the encrypted graphics encoding data.
After receiving the encrypted graphics coded data, decrypting the encrypted graphics coded data to generate graphics coded data to be processed, generating a hash character string for header information of the graphics coded data to be processed, and performing byte-by-byte exclusive OR operation on data information of the graphics coded data to be processed by using the hash character string to obtain the original graphics coded data which is not encrypted.
The cooperative service is a service that is collectively completed by a plurality of cooperative devices.
The structure description file of the collaborative service is used for indicating the logical structure of the collaborative service, and the collaborative service can be divided into a plurality of sub-services based on the structure description file.
Wherein each sub-service of the plurality of sub-services corresponds to a collaborative task to which the respective collaborative device relates.
The association relationship among the plurality of cooperative devices comprises: peer relationships, superior relationships, subordinate relationships, and conditional relationships.
According to a further aspect of the present invention there is provided a mobile terminal comprising or adapted to carry out the system as described above.
Drawings
A more complete understanding of exemplary embodiments of the present invention may be had by reference to the following drawings in which:
FIG. 1 is a flow chart of a method of secure information transfer through graphically encoded data in accordance with a preferred embodiment of the present invention;
fig. 2 is a schematic diagram of a QR code in the prior art;
FIG. 3 is a schematic illustration of graphically encoded data according to a preferred embodiment of the present invention;
FIG. 4 is a schematic diagram of the overall structure of graphically encoded data in accordance with a preferred embodiment of the present invention;
FIG. 5 is a schematic diagram of the overall structure of graphically encoded data according to another preferred embodiment of the present invention;
FIG. 6 is a schematic diagram of partitioning graphics encoded data, according to a preferred embodiment of the present invention;
fig. 7 is a schematic view of the overall structure of a sub-code according to a preferred embodiment of the present invention;
FIG. 8 is a schematic diagram of main and sub-scaling according to a preferred embodiment of the present invention;
FIG. 9 is a diagram of a symbol structure in accordance with a preferred embodiment of the present invention;
FIG. 10 is a schematic illustration of secure information transfer through graphically encoded data in accordance with a preferred embodiment of the present invention; and
fig. 11 is a schematic diagram of a system for secure information transfer via graphically encoded data, in accordance with a preferred embodiment of the present invention.
Detailed Description
Example embodiments of the present invention will now be described with reference to the accompanying drawings, however, the invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, which are provided for a complete and complete disclosure of the invention and to fully convey the scope of the invention to those skilled in the art. The terms used in the exemplary embodiments shown in the drawings are not intended to limit the present invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
Fig. 1 is a flow chart of a method 100 for secure information transfer by graphically encoding data in accordance with a preferred embodiment of the present invention. As shown in fig. 1, method 100 begins at step 101.
In step 101, an encoding ratio of an image area for graphics-encoded data per application is determined based on a display range for displaying the graphics-encoded data per application and a maximum amount of information of a single graphics-encoded data per application among a plurality of applications. Wherein determining the encoding scale of each image area to which the graphics encoding data is applied based on the display range and the maximum amount of information for displaying the graphics encoding data comprises: and determining the length and the width of the display range for displaying the graphic coded data. Currently, the external shape of a mobile terminal (e.g., a mobile phone) is mostly rectangular or approximately rectangular. For this reason, the display plane of the display screen of the mobile terminal is also typically rectangular or approximately rectangular, i.e. both the mobile terminal and the display screen present a width and a length. Generally, the length is greater than the width, and the length and width do not vary in the present application with the lateral and longitudinal placement of the mobile terminal. The length and width of the display range determined by the present application is the largest display area or range that can be used to display the graphically encoded data.
And determining the transverse coding quantity of each image area applied to the graphics coding data according to the width of the display range. Typically, the width occupied by the horizontal encoding of the image area for the graphics encoded data is less than the width of the display range. As shown in fig. 3, the width of the horizontal encoding is, for example, the distance between the two main scales 311-1 and 311-2 (including themselves) located at the upper part of the image encoded data, and the width of the vertical encoding is, for example, the distance between the two main scales 311-2 and 311-3 (including themselves) located at the upper part of the image encoded data. It should be understood that when the graphic coded data contains less data information, the width of the graphic coded data does not occupy the width of the display range. That is, the width of the display range may be regarded as the maximum width of an image area for graphics-encoded data per application, and the maximum number of lateral encodings is determined based on the maximum width of the image area and the size of a symbol (or 1/4 symbols).
And determining the longitudinal coding number of each image area applied to the graphics coding data according to the length of the display range and the maximum information amount. Wherein determining the number of vertical encodings per image area applied for graphically encoded data based on the length of the display range and the maximum amount of information comprises: the preselected number of vertical codes is determined based on the maximum amount of information and the number of horizontal codes. The maximum information amount related to the data information of the pattern coded data determines the area of the pattern coded data, and for example, the area of the pattern coded data can be determined based on the maximum information amount and the size of the symbol (or 1/4 symbols). For example, in the case where the number of horizontal encodings of an image region for graphics-encoded data is determined, the number of vertical encodings per image region to which graphics-encoded data is applied may be determined in accordance with the length of the display range and the maximum amount of information. This is because the maximum information amount of a single pattern coded data can determine the number of symbols of this pattern coded data, and the number of vertical codes can be determined from the number of symbols and the number of horizontal codes.
When it is determined that the length of the display range can accommodate the preselected number of vertical encodings, the preselected number of vertical encodings is determined as the number of vertical encodings per image area applied for graphically encoded data. When it is determined that the length of the display range cannot accommodate the preselected number of vertical encodings, the maximum vertical encodings that the display range can accommodate is determined as the number of vertical encodings per image area to which the graphic encodings are applied.
It should be understood that, for a single graphic coded data, the smaller the size (display size or presentation size) of a symbol or 1/4 symbol (1/4 symbol is an elementary data unit of the graphic coded data, representing 1 or 0), the more information (system information, header information, and data information) can be accommodated by the single graphic coded data.
The encoding ratio of each image region to which the image encoding data is applied is determined based on the number of horizontal encodings and the number of vertical encodings. For example, if the number of horizontal codes of a specific application is 62 and the number of vertical codes is 100, then the coding ratio of the image area for graphics coded data of the specific application is 0.62. In a preferred embodiment of the present application, the coding ratio is 0.618.
At step 102, when a specific application in the plurality of applications desires to transmit information content, the unencrypted original image encoding data which conforms to the encoding ratio is generated based on the information content to be transmitted. When a specific application of the plurality of applications desires to perform information transfer, the specific application generates original graphics encoding data conforming to the encoding ratio and performs information transfer based on the original graphics encoding data conforming to the encoding ratio. The original graphic encoding data in conformity with the encoding ratio may include three main scales, a system information area and a backup information area. Three of which are used to locate graphics encoded data for a scanner or decoder. The main scaling is responsible for image recognition and positioning of the graphics encoding data.
The system information region includes two symbols, where each symbol may indicate 4 binary data bits or bits. The system information area represents the size level of the graphic encoded data, i.e., levels 0 to 63, using 6 bits, and represents the error correction level of the graphic encoded data, i.e., levels 0 to 3, using 2 bits. The system information area is located in the upper left corner of the graphics coded data. The content setting of the backup information area is identical to that of the system information area, and the content in the system information area and the backup information area of the same pattern coded data is identical. The backup information area is located at the lower right corner of the graphic coded data. It should be appreciated that the backup information area and the system information area may be disposed at any reasonable location of the pattern encoded data.
In addition, the original graphic encoding data conforming to the encoding scale may further include sub-scalings, and the number of the sub-scalings may be 0 or at least one. The sub-scaling is used for auxiliary positioning, i.e. for auxiliary positioning of encoded data in the graphics encoded data. For example, sub-scaling is responsible for symbol positioning in graphically encoded data. The greater the number of sub-scales required as the more information is conveyed by the graphically encoded data.
The original graphic coding data conforming to the coding scale comprises: configuration information, header information, and data information. The configuration information may include the following: version number, header information flag bit, block flag bit, data information configuration, user-defined configuration data, header information configuration, and block configuration information. Wherein the version number occupies 2 bits: version numbers range from 00 to 11(0-3), giving a total of 4 versions. Header information flag bit occupies 1 bit: identify whether there is title information: 1- > has a title; 0- > without title. The block flag bit occupies 1 bit: for identifying whether the current image coded data is a block: 1- > the current graphics coded data is a subcode; 0- > the current graphics coded data is the mother code. The user-defined configuration data occupies 2 bits: from 00 to 11(0-3), a total of 4 custom configuration data versions can be represented.
The data information configuration occupies 16 bits and includes: encryption, zip flag, data type, and data length. Wherein the encryption mode occupies 2 bits: 00- > is not encrypted; 01- > default AESTR encryption; 10- > reserving a system; and 11- > user-defined encryption. The Zip flag bit occupies 1 bit: 1- > the content is coded after zip encryption; 0- > content is normally encoded. The data type occupies 1 bit: 0- > UTF-8 text; 1- > binary. The data length occupies 12 bits: for indicating the byte information (maximum 4095 bytes) included in the data information.
The header information configuration occupies 9 bits and includes: zip flag bits and data length. Wherein the zip flag bit occupies 1 bit: 1- > encoding with zip encrypted title; 0- > title is normal encoding. The data length occupies 8 bits: for indicating byte information (maximum 255 bytes) included in the header information.
The blocking configuration information occupies 70 bits and includes: the total number of blocks, the block number, and the hash value of the parent block. Where the total number of blocks (total number of subcodes) occupies 3 bits: from 000 to 111(0-7), a total can represent 8 blocks in number, 000- > 1 block; 001- > 2 blocks in total; … … are provided. The block number (subcode number) occupies 3 bits: from 000 to 111(0-7), representing the current block number index, 000- > Block 1; 001- > block 2; … … are provided. The mother block hash value takes 64 bits: for identifying whether a plurality of sub-blocks are sub-blocks of the same mother block and identifying whether the mother block in which the sub-blocks are merged is correct. Wherein the 64-bit hash value may be obtained by selectively truncating the 128-bit hash value.
The header information indicates a header of the graphic encoded data as the mother code or the graphic encoded data as the child code. The data information is data content desired to be transmitted/expressed as the pattern code data of the mother code or the pattern code data of the child code.
In step 103, the structure of the information content to be transmitted is analyzed, and the information content to be transmitted is divided into a plurality of information subsets according to the result of the structure analysis. The method and the device carry out structural analysis on the data information, and divide the data information into a plurality of information subsets according to the result of the structural analysis. Wherein the structure parsing comprises semantic structure parsing and delimiter structure parsing. When the structure analysis is semantic structure analysis, performing structure analysis on the information content to be transmitted, and dividing the information content to be transmitted into a plurality of information subsets according to the result of the structure analysis comprises: semantic structure analysis is carried out on the information content to be transmitted to generate a plurality of semantic structure subunits; and dividing the information content to be transmitted into a plurality of information subsets according to the semantic structure subunits. When the structure analysis is separator structure analysis, the structure analysis is carried out on the information content to be transmitted, and the division of the information content to be transmitted into a plurality of information subsets according to the result of the structure analysis comprises the following steps: carrying out separator structure analysis on the information content to be transmitted to generate a plurality of separator structure subunits; and dividing the information content to be transmitted into a plurality of information subsets according to the plurality of separator structure subunits.
In step 104, the data information area of the original pattern coding data which is not encrypted is divided into a plurality of sub-areas according to each information subset, and an encryption unit and an encryption mode are determined for each sub-area. Dividing a data information area of the original pattern coding data which is not encrypted into a plurality of sub-areas according to each information subset, and determining an encryption unit and an encryption mode for each sub-area. In addition, the encryption mode of each encryption unit is the same or different. The encryption scheme is predetermined by a provider (e.g., an encoding maker, an encoding federation, etc.) that provides the graphics encoded data, or the encryption scheme is determined according to the needs of a user that uses the graphics encoded data. The encryption unit is a single coding unit, a plurality of coding units or a data block. In the present application, a single coding unit may be a symbol as shown in fig. 9. The data block may be a collection of data selected from the data information by semantics or by segmenters.
At step 105, for each sub-area, the encryption unit is used as a minimum encryption object and each encryption unit is encrypted according to an encryption mode to generate encrypted graphics coded data, and information is safely transmitted based on the encrypted graphics coded data. And aiming at each sub-area, taking the encryption unit as a minimum encryption object and encrypting each encryption unit according to an encryption mode to generate encrypted graphic coding data. That is, the original graphics encoded data that is not encrypted is divided into a plurality of objects to be subjected to the same or different encryption processes. Alternatively, the method also comprises the steps of determining an encryption unit and an encryption mode for the original image coded data which is not encrypted; and taking the encryption unit as a minimum encryption object and encrypting each encryption unit according to an encryption mode to generate encrypted graphics coded data. That is, the original graphics encoded data that has not been encrypted is subjected to encryption processing as a whole processing object.
Before determining the coding ratio of the image area used for the graphics coding data by each application based on the display range used for displaying the graphics coding data by each application in the plurality of applications and the maximum information amount of the single graphics coding data, the method further comprises the following steps:
application description information associated with a user device is obtained, and a plurality of applications that desire information transfer through graphically encoded data is determined based on the application description information. The application description information includes a plurality of description items, and the format of each description item is < application name, application type, associated device type, encoded data flag >. For example, < Payment Bao, Payment type, iOS, Yes > and < Payment Bao, Payment type, Andriod, Yes > are used to indicate that the Payment Bao application is of a Payment type application, and whether it is an iOS operating system or Andriod operating system, the graphical encoded data needs to be used. In general, description items may be set by a provider of an application, a provider of an operating system, an application store, the user device itself, and application description information associated with the user device is formed from a plurality of the set description items. Therefore, each application which wants to carry out information transmission through the graphic coded data can be determined through the analysis of each description item in the application description information.
And determining the maximum information quantity required by each application for information transmission through the single graphic coded data according to the information transmission requirement of each application in the plurality of applications. The application determines the information transfer requirements of each application according to the data integrity required when each application transfers information by graphically encoding data. The data integrity is the maximum possible data volume, namely the peak data volume, required for ensuring that information is not divided when each application carries out information transmission through the pattern coding data. Where the information transfer requirements include the amount of peak data involved in order to meet data integrity. The maximum information quantity required when each application carries out information transmission through single graph coded data is determined according to the peak data quantity. For example, the present application may use the peak data amount as the maximum information amount, 1.2 times the peak data amount as the maximum information amount, and 0.9 times the peak data amount as the maximum information amount.
The graphical interface of each application for providing the graphical encoded data is parsed to determine a display range that each application can use to display the graphical encoded data. The graphical interface is an interface for information transfer by utilizing graphical coded data of each application. For example, a graphical interface for a payment instrument for providing graphically encoded data includes: two-dimensional code for showing payment, bar code for showing payment, bank card information, member level, prompt information and the like. The display range is a range for displaying the graphic encoded data in the graphic interface, that is, a region of the graphic interface representing the two-dimensional code for payment. In the present application, the shape of the display range is rectangular and the shape of the image area is rectangular. That is, the shape of the display range is a square or a rectangle and the shape of the image area is a square or a rectangle. As shown in fig. 3, the shape of the display range is a rectangle, and the shape of the image area is a rectangle.
The method also comprises the step of compressing the header information and/or the data information in the original graphic coding data to generate compressed graphic coding data, wherein the area of the compressed graphic coding data is smaller than or equal to that of the original graphic coding data. For example, header information and/or data information in original graphics coding data is compressed by a zip method to generate compressed graphics coding data, and the area of the zip compressed graphics coding data is smaller than or equal to that of the original graphics coding data. This is because the header information and/or the data information may be compressed, which may result in a shorter length or width of the graphics-encoded data. The application also includes information transfer based on the compressed graphics encoding data.
In which the generated encoding units of the original graphic encoded data are circular, rectangular, and elliptical, as shown in fig. 3.
The application causes a provider of graphics coding data to receive an information processing request for a collaborative service, wherein the information processing request includes information content associated with the collaborative service and a structure description file of the collaborative service. The cooperative service is a service that is collectively completed by a plurality of cooperative devices. Wherein when the provider of the graphics coded data determines that the generated graphics coded data relates to a collaborative service, an information processing request for the collaborative service is generated. The information content associated with the collaborative service is task information required to complete the collaborative service. The structure description file of the collaborative service is used for indicating the logical structure of the collaborative service, and the collaborative service can be divided into a plurality of sub-services based on the structure description file. Wherein each sub-service of the plurality of sub-services corresponds to a collaborative task to which the respective collaborative device relates.
Analyzing the structure description file of the collaborative service to determine a plurality of collaborative devices related to the collaborative service and a collaborative task related to each collaborative device, specifically including: parsing a structure description file of the collaborative service to determine a plurality of sub-services of the collaborative service; determining a cooperative device involved by each sub-service in a plurality of sub-services; analyzing the service content of each sub-service to determine a cooperative task; and determining the cooperative task involved by each cooperative device.
And generating original graphic coding data comprising data information according to the information content associated with the collaborative service, and dividing the data information in the generated original graphic coding data into a plurality of sub data information based on the collaborative task related to each collaborative device. Wherein generating original graphically encoded data comprising data information from information content associated with the collaborative service comprises: information content associated with the collaborative service is taken as data information, and original graphic encoding data including the data information is generated. The dividing of the data information in the original graphic coding data into a plurality of sub data information based on the cooperative task related to each cooperative device includes: determining collaboration data associated with a collaboration task to which each collaboration device relates; and dividing the data information in the original graphic coding data into a plurality of sub data information based on the cooperative data of each cooperative device.
Determining an association relationship between the plurality of cooperative devices, and determining a hierarchical relationship for each of a plurality of sub data information based on the association relationship. The association relationship among the plurality of cooperative devices comprises: sibling relationships, superior relationships, subordinate relationships, and conditional relationships. Determining a hierarchical relationship for each sub-data information of the plurality of sub-data information based on the association relationship comprises: when the relationship is a peer relationship or a conditional relationship, determining a hierarchical relationship of each subdata information in the plurality of subdata information as the same hierarchical relationship; when the relationship is a higher-level relationship or a lower-level relationship, determining the hierarchical relationship of each of the plurality of sub data information as a different hierarchical relationship.
The generated original graphic coded data is divided into a plurality of hierarchical graphic coded data based on the hierarchical relationship of each sub data information, and each hierarchical graphic coded data is distributed to a corresponding cooperative device for information processing. Header information is set for each hierarchical pattern encoding data, wherein the header information of each hierarchical pattern encoding data is the same as, different from, or related to the header information of the generated original pattern encoding data.
After each cooperative device carries out information processing according to the corresponding hierarchical graph coded data, the results produced by each cooperative device through the information processing are combined to generate a response message, and the response message is sent to a provider of the graph coded data.
Alternatively, the present application receives a code division request for division of the generated original graphic encoding data. And analyzing the code division request to determine the number N of the subcodes. And dividing data information included in the generated original graphic coding data into N pieces of sub-data information. And dividing the generated original graphics coded data into N pieces of sub-coded data according to the N pieces of sub-data information. Each of the N sub-coded data is transmitted to a respective user equipment, wherein each user equipment is capable of receiving at least one sub-coded data. The title information is set for each sub-coded data, wherein the title information of each sub-coded data is the same as, different from or related to the title information of the generated original graphic coded data. A code division request for division of specific sub-encoded data is received, and the specific sub-encoded data is divided into a predetermined number of grandchild encoded data according to the code division request.
It should be understood that the data information in the original graphics-encoded data may be equally divided into N parts of sub-information, and each of the N parts of sub-information is used to form each of the N sub-encoded data. The N parts of sub information have a sequence, and the sequence depends on the content of the data information, namely the N parts of sub information can form the data information after being combined according to the sequence numbers without modifying the sequence. In addition, the data information in the original graphics coding data can be divided into N parts of sub information unevenly. Alternatively, the data information in the original graphics coding data may be divided into N pieces of sub information according to a semantic structure, a separator structure, or the like.
As is apparent from the above description, a plurality of hierarchical pattern-encoded data can be located at different levels, wherein each pattern-encoded data can be divided into at most a predetermined number of pattern-encoded data as subcodes. Hierarchical pattern coding data obtained by dividing original pattern coding data is positioned at the next level of the original pattern coding data. The new hierarchical graphics encoding data obtained by dividing a specific hierarchical graphics encoding data is located at a next level of the specific hierarchical graphics encoding data. For another example, when the number N of the sub-codes is 8, the original graphics encoding data can be divided into 8 sub-encoding data at most, and each sub-encoding data can be divided into 8 grandchild encoding data at most, and so on.
In the present application, the original pattern coded data conforming to the coding scale, the original pattern coded data, the generated original pattern coded data conforming to the coding scale, the generated original pattern coded data, and the generated original pattern coded data may refer to the same content.
Wherein the generated original graphics encoding data comprises: the system information includes size level information and error correction level information, and the backup information includes size level information and error correction level information. The generated original graphics-encoding data also includes sub-scaling.
As described above, the present application may set, in the configuration information of the sub-coded data: the number of the sub-coded data, the sequence number of the sub-coded data, and the hash value of the original graphic coded data. The configuration information of the hierarchical graph coding data comprises: the number of the same-level graphic coded data, the serial number of the same-level graphic coded data and the hash value of the upper-level graphic coded data.
The header information is summary information of data information included in the generated graphics coded data in conformity with the coding scale. The data information of the sub-coded data includes a code error correction level of the original pattern-coded data and partial data information of the original pattern-coded data. Wherein each hierarchical graphically encoded data of the plurality of hierarchical graphically encoded data comprises: the error correction level of the upper graphics coded data and partial data information of the upper coded data. The configuration information further includes: configuration information version number, header information flag bit, block flag bit and custom configuration data. The configuration information further includes: the total number of code blocks, the current code block sequence number, and the hash value of the upper code block. The header information also includes a compression flag bit.
The method further comprises the following steps of generating encrypted graphics coding data, generating a hash character string for header information of the original graphics coding data which is not encrypted, carrying out byte-by-byte exclusive OR operation on data information of the original graphics coding data by using the hash character string, and encrypting the exclusive OR operation graphics coding data to generate the encrypted graphics coding data. After receiving the encrypted graphics coded data, decrypting the encrypted graphics coded data to generate graphics coded data to be processed, generating a hash character string for header information of the graphics coded data to be processed, and performing byte-by-byte exclusive OR operation on data information of the graphics coded data to be processed by using the hash character string to obtain the original graphics coded data which is not encrypted.
Fig. 3 is a schematic illustration of graphically encoded data 300, in accordance with a preferred embodiment of the present invention. As shown in FIG. 3, the graphically encoded data 310 and 320 of the present application may also be referred to as a month code. The symbols of the month code 310 are circular and the symbols of the month code 320 are square or square. In the graphically encoded data 310, the primary scales 311-1, 311-2, and 311-3 are used to determine the location of the graphically encoded data for the scanner or decoder. The sub-scale 312 is used to aid in positioning, i.e., to aid in positioning encoded data in the graphics encoded data. The encoded data 313 is used to represent system information, backup information, configuration information, data information, and the like. In the graphic encoded data 320, the primary scales 321-1, 321-2, and 321-3 are used to determine the location of the graphic encoded data for the scanner or decoder. The sub-scale 322 is used for auxiliary positioning, i.e. for auxiliary positioning of encoded data in the graphics encoded data. The coded data 323 is used to represent system information, backup information, configuration information, data information, and the like.
Fig. 4 is a schematic diagram of the overall structure of graphically encoded data, in accordance with a preferred embodiment of the present invention. As shown in fig. 4, the month code 400 may include three primary, system information areas and a backup information area. Three of which are used to locate the graphics encoded data for the scanner or decoder. The system information region includes two symbols (circular symbols as an example), where each symbol may indicate 4 binary data bits or bits. The system information area represents the size level of the graphic encoded data, i.e., levels 0 to 63, using 6 bits, and represents the error correction level of the graphic encoded data, i.e., levels 0 to 3, using 2 bits. The system information area is located in the upper left corner of the graphics coded data. The content setting of the backup information area is identical to that of the system information area, and the content in the system information area and the backup information area of the same pattern coded data is identical. The backup information area is located at the lower right corner of the graphic coded data. It should be appreciated that the backup information area and the system information area may be disposed at any reasonable location of the pattern encoded data.
Fig. 5 is a schematic diagram of the overall structure of graphically encoded data according to another preferred embodiment of the present invention. The month code 500 includes: configuration information, header information, and data information. The configuration information may include the following: version number, header information flag bit, block flag bit, data information configuration, user-defined configuration data, header information configuration, and block configuration information. The title information is used to indicate a title of a month code as a mother code or a month code as a child code. The data information is data content desired to be delivered/expressed by the month code as the mother code or the month code as the child code.
Fig. 6 is a schematic diagram of a partitioning 600 of graphics encoded data according to a preferred embodiment of the present invention. As shown in fig. 6, the present application receives a code division request for division with respect to a generated month code 601. The split code request is parsed to determine the number of subcodes 8. The data information included in the generated month code 601 is divided into 8 pieces of sub-data information. The generated month code 601 is divided into 8 sub-codes 611-618 according to the 8 pieces of sub-data information. Each of the 8 sub-codes 611 and 618 is sent to a corresponding user equipment, where each user equipment is capable of receiving at least one sub-code. The present application sets header information for each sub-code, wherein the header information of each sub-code is the same as, different from, or related to the header information of the generated month code 601. A division request for division with respect to a specific subcode is received, and the specific subcode is divided into a predetermined number of grandchild encoded data according to the division request.
The month code 601 can be divided into 8 sub-codes 611 and 618 at most, and each sub-code can be divided into 8 grandchild codes at most, and so on. It should be understood that the data information in the month code 601 can be equally divided into 8 pieces of sub information, and each of the 8 pieces of sub information is utilized to form each of the 8 sub codes 611-618. The 8 parts of sub information have a sequence, and the sequence depends on the content of the data information, namely the 8 parts of sub information can form the data information after being combined according to the sequence numbers without modifying the sequence. In addition, the data information in the month code 601 may be unevenly divided into 8 pieces of sub information. Alternatively, the data information in the month code 601 may be divided into 8 pieces of sub information according to a semantic structure, a separator structure, or the like.
Fig. 7 is a schematic view of the overall structure of a sub-code according to a preferred embodiment of the present invention. The subcode 700 may include three primary scales 701, a system information area 702, and a backup information area 706. Three of the primary scales 701 are used to determine the position of the sub-code 700 for the scanner or decoder. The system information region 702 includes two symbols, where each symbol may indicate 4 binary data bits or bits. The system information area 702 represents the size level, i.e., 0-63 levels, of the sub-code 700 with 6 bits and represents the error correction level, i.e., 0-3 levels, of the sub-code 700 with 2 bits. The system information area 702 is located in the upper left corner of the sub-code 700. The content settings of the backup information area 706 and the system information area 702 are identical, and the contents in the system information area 702 and the backup information area 706 of the same subcode 700 are identical. The backup information area 706 is located at the lower right corner of the sub-code 700. It should be appreciated that the backup information area 706 and the system information area 702 may be disposed at any reasonable location of the subcode 700.
The configuration information 703 of the subcode 700 may include the following: the total number of subcodes takes 3 bits: from 000 to 111(0-7), a total can represent the number of 8 subcodes, 000- > 1 subcode; 001- > 2 subcodes in total; … … are provided. The sub-code number occupies 3 bits: from 000 to 111(0-7), representing the current subcode number index, 000- > 1 st subcode; 001- > sub-code 2; … … are provided. The mother code hash value takes 64 bits: for identifying whether a plurality of sub-codes are sub-codes of the same mother code and identifying whether the mother code in which the sub-codes are combined is correct. Wherein the 64-bit hash value may be obtained by selectively truncating the 128-bit hash value.
The title information 704 for each subcode may be different and may be customized. The data information 705 includes the code error correction level of the month code 700 and partial data information of the month code 700.
Fig. 8 is a diagram illustrating main and sub-scaling according to a preferred embodiment of the present invention. As shown in fig. 8, in block 800, primary scales 801 and 802 are used to determine the location of the month code for the scanner or decoder. The sub-scales 802 and 804 are used for auxiliary positioning, i.e., positioning the encoded data in the month code. The main scale 801 takes the form of a circular pattern and the width ratio between black and white pixels is 1: 1: 5: 1: 1. the main scaling 803 takes a square pattern, and the width ratio between black and white pixels is 1: 1: 5: 1: 1. the sub-scale 802 takes a circular pattern and the width ratio between black and white pixels is 1: 1: 2: 1: 1. the sub-scaling 802 takes a square pattern and the width ratio between black and white pixels is 1: 1: 2: 1: 1.
fig. 9 is a diagram of a symbol structure 900 according to a preferred embodiment of the present invention. As shown in fig. 9, four parts of the circular symbol according to the month code are clockwise, and 1, 2, 3, and 4 from the upper left corner (second quadrant). As shown in fig. 9, different patterns represent different values 0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, and 1111, respectively. It should be understood that the present application illustrates circular symbols as examples, and that the symbols may be any reasonable shape, such as square, rectangle, oval, etc. Further, while the pattern encoded data (month code) of the present application is characterized by performing various processes such as encoding, decoding, encryption, and grouping in units of symbols, the pattern encoded data in the related art is encoded or decoded in units of a single minimum unit, for example, 1, 2, 3, or 4 in fig. 9. The advantage of performing various processes such as encoding, decoding, encryption, and grouping in symbol units is that four bits can be processed at a time, thereby improving the efficiency of various processes such as encoding, decoding, encryption, and grouping.
Fig. 10 is a schematic diagram of information transfer 1000 secured by graphically encoded data in accordance with a preferred embodiment of the present invention. As shown in fig. 10, the transfer of the security information can be better performed by the month code. For example, without encryption, the user may be prompted by the header information "month code, unlike two-dimensional code" for the content of the information delivered. In the case of encryption, the user is prompted to input a password by reviewing the first my short message and what the password knows from the "title information". When the password input by the user is correct, the month code can be decrypted to obtain the information transmitted by the month code. When the password input by the user is incorrect, the month code cannot be decrypted, so that the information transmitted by the month code is protected safely.
According to a preferred embodiment of the present application, the month code has the following characteristics: the moon code is rectangular in shape, the width-height ratio is about 0.618, and the space of a mobile phone screen can be fully utilized; the moon code is divided into three parts as a whole: system information, header information, data information; the monthly data information supports two formats: text, binary; the title information and the data information of the month codes support UTF-8 texts and emoji expressions, so that the covered information amount is more complete; the month code compresses header information and data information by using zip, so that the area of the month code is reduced; the data information of the month code can be encrypted, the default encryption algorithm is AES CTR, and other encryption formats can be customized; the user can add user-defined configuration information in the month code; a month code can be split into 8 subcodes at most, and one subcode can be further split into 8 subcodes, and can be split indefinitely. The mother code can be spliced only by neatly gathering all the child codes; and the month code supports tamper resistance, and prevents other people from tampering the information in the month code. The main scaling of the month code is responsible for image recognition and month code positioning. The sub-scaling of the month code is responsible for symbol positioning in the month code.
The data storage levels are shown in table 1:
TABLE 1
Figure BDA0001767722240000141
The error correction level of the month code is shown in table 2:
TABLE 2
Figure BDA0001767722240000142
The data storage range of the month code after error correction is shown in table 3:
TABLE 3
Figure BDA0001767722240000151
The scaled arrangement rule of the month code is shown in table 4:
Figure BDA0001767722240000152
the configuration information structure of month code in table 4 is:
Figure BDA0001767722240000153
wherein
The version number occupies 2 bits: version numbers from 00 to 11(0-3), for a total of 4 versions;
whether header information occupies 1 bit: identify whether there is title information: 1- > has a title; 0- > no title;
whether 1 bit is occupied for a partition: for identifying whether the current image coded data is a block: 1- > the current graphics coded data is a subcode; 0- > the current graphics coding data is the mother code;
the user-defined configuration data occupies 2 bits: from 00 to 11(0-3), a total of 4 custom configuration data versions can be represented;
the data information configuration occupies 16 bits and includes: encryption mode, zip flag bit, data type and data length;
the header information configuration occupies 9 bits and includes: zip flag bit and data length;
the blocking configuration information occupies 70 bits and includes: the total number of blocks, the block number and the hash value of the parent block;
the header information is used for indicating the header of the graphics coded data as the mother code or the graphics coded data as the child code; and
the data information is data content desired to be transmitted/expressed as the pattern code data of the mother code or the pattern code data of the child code.
Among them, the title information configuration, the block configuration information, and the title information are selectable items.
The block information structure is:
total number of blocks 3 bits Block number 3 bit Hash value of the mother block is 64 bits
Wherein
The total number of blocks (total number of subcodes) takes 3 bits: from 000 to 111(0-7), a total represents 8 blocks in number, 000- > 1 block; 001- > 2 blocks in total; … …, respectively;
the block number (subcode number) occupies 3 bits: from 000 to 111(0-7), representing the current block number index, 000- > Block 1; 001- > block 2; … …, respectively; and
the mother block hash value takes 64 bits: for identifying whether a plurality of sub-blocks are sub-blocks of the same mother block and identifying whether the mother block in which the sub-blocks are merged is correct. Wherein the 64-bit hash value may be obtained by selectively truncating the 128-bit hash value.
The header information structure is:
whether or not zip 1 bit Data length 8 bits (255 bytes maximum)
Wherein
Whether zip occupies 1 bit: 1- > encoding with zip encrypted title; 0- > title normal encoding; and
the data length occupies 8 bits: for indicating byte information (maximum 255 bytes) included in the header information.
The data information structure is as follows:
2 bits of encryption mode Whether or not to zip 1 bit Data type 1 bit Data length 12 bits (maximum length 4095 bytes)
Wherein
The encryption mode occupies 2 bits: 00- > not encrypted; 01- > default AESTR encryption; 10- > reserving a system; 11- > user-defined encryption;
whether zip occupies 1 bit: 1- > the content is coded after zip encryption; 0- > content is normal encoding;
the data type occupies 1 bit: 0- > UTF-8 text; 1- > binary; and
the data length occupies 12 bits: for indicating the byte information (maximum 4095 bytes) included in the data information.
The fixed mask for the month code is shown in table 5:
TABLE 5
Figure BDA0001767722240000171
The graphically encoded data (e.g., month code) of the present application has a tamper-resistant mechanism.
Tamper-proofing purposes:
the month code contains header information and data information, and after the month code is generated, the two data must be matched with each other, so that the month code needs to be prevented from being forged by modifying one of the data by others.
Tamper-resistant conditions:
the month code containing only the data information does not need to be tamper-proof, i.e. the month code must contain header information and data information. The data information of the month code must be encrypted
Tamper-proofing:
generating a month code: the header information is used to generate a 128-bit hash string, before the data information is encrypted, the hash string is used to perform exclusive OR operation on the whole data information byte by byte, and then the data is encrypted.
Reading the month code: after the data information is decrypted, the 128-bit hash string generated by the header information is used for carrying out exclusive OR operation on the data information in a byte-by-byte mode, and the data information is restored.
Examples of applications of graphically encoded data (e.g., month code) of the present application include:
spreading the encrypted information by using the two-dimension code;
using pictures to encrypt and transmit information between different software;
performing group authentication, pipeline authentication and quality authentication by using the subcodes; and
secure payment, etc.
FIG. 11 is a block diagram of a system 1100 for information transfer based on graphically encoded data, in accordance with a preferred embodiment of the present invention. As shown in fig. 11, system 1100 includes: ratio determining means 1101, generating means 1102, analyzing means 1103, processing means 1104, encrypting means 1105, initializing means 1106, compressing means 1107, dividing means 1108, and setting means 1109.
Scale determining means 1101 for determining a coding scale of an image area for each application for the graphics-coded data based on a display range for displaying the graphics-coded data for each of the plurality of applications and a maximum amount of information of a single graphics-coded data. Wherein determining the encoding ratio of each image region to which the graphically encoded data is applied based on the display range and the maximum amount of information for displaying the graphically encoded data comprises: the length and width of the display range for displaying the encoded graphic data is determined. Currently, the external shape of a mobile terminal (e.g., a mobile phone) is mostly rectangular or approximately rectangular. For this reason, the display plane of the display screen of the mobile terminal is also typically rectangular or approximately rectangular, i.e. both the mobile terminal and the display screen present a width and a length. Generally, the length is greater than the width, and the length and width do not vary in this application with the lateral and longitudinal placement of the mobile terminal. The length and width of the display range determined by the present application is the largest display area or range that can be used to display the graphically encoded data.
And determining the transverse coding quantity of each image area applied to the graphics coding data according to the width of the display range. Typically, the width occupied by the horizontal encoding of the image area for the graphics encoded data is less than the width of the display range. As shown in fig. 3, the width of the horizontal encoding is, for example, the distance between the two main scales 311-1 and 311-2 (including themselves) located at the upper part of the image encoded data, and the width of the vertical encoding is, for example, the distance between the two main scales 311-2 and 311-3 (including themselves) located at the upper part of the image encoded data. It should be understood that when the graphic coded data contains less data information, the width of the graphic coded data does not occupy the width of the display range. That is, the width of the display range may be regarded as the maximum width of an image area for graphics-encoded data per application, and the maximum number of lateral encodings is determined based on the maximum width of the image area and the size of a symbol (or 1/4 symbols).
And determining the longitudinal coding number of each image area applied to the graphics coding data according to the length of the display range and the maximum information amount. Wherein determining the number of vertical encodings per image area applied for graphically encoded data based on the length of the display range and the maximum amount of information comprises: the preselected number of vertical codes is determined based on the maximum amount of information and the number of horizontal codes. The maximum information amount related to the data information of the pattern coded data determines the area of the pattern coded data, and for example, the area of the pattern coded data can be determined based on the maximum information amount and the size of the symbol (or 1/4 symbols). For example, in the case where the number of horizontal encodings of an image region for graphics-encoded data is determined, the number of vertical encodings per image region to which graphics-encoded data is applied may be determined in accordance with the length of the display range and the maximum amount of information. This is because the maximum amount of information of a single pattern-coded data can determine the number of symbols of this pattern-coded data, and the number of vertical codes can be determined from the number of symbols and the number of horizontal codes.
When it is determined that the length of the display range can accommodate the preselected number of vertical encodings, the preselected number of vertical encodings is determined as the number of vertical encodings per image area applied for graphically encoded data. When it is determined that the length of the display range cannot accommodate the preselected number of vertical encodings, the maximum vertical encodings that the display range can accommodate is determined as the number of vertical encodings per image area to which the graphic encodings are applied.
It should be understood that, for a single graphic coded data, the smaller the size (display size or presentation size) of a symbol or 1/4 symbol (1/4 symbol is an elementary data unit of the graphic coded data, representing 1 or 0), the more information (system information, header information, and data information) can be accommodated by the single graphic coded data.
The encoding ratio of each image region to which the image encoding data is applied is determined based on the number of horizontal encodings and the number of vertical encodings. For example, if the number of horizontal codes of a particular application is 62 and the number of vertical codes is 100, the coding ratio of the image area for the graphics-coded data of the particular application is 0.62. In a preferred embodiment of the present application, the coding ratio is 0.618.
Generating means 1102 for generating the original graphics encoding data without encryption in conformity with the encoding ratio based on the information content to be transmitted when the specific application in the plurality of applications desires to transmit the information content. When a specific application of the plurality of applications desires to perform information transfer, the specific application generates original graphics encoding data conforming to the encoding ratio and performs information transfer based on the original graphics encoding data conforming to the encoding ratio. The original graphic encoding data conforming to the encoding scale may include three main scales, a system information area and a backup information area. Three of which are used to locate the graphics encoded data for the scanner or decoder. The main scaling is responsible for image recognition and positioning of the graphics encoding data.
The system information region includes two symbols, where each symbol may indicate 4 binary data bits or bits. The system information area represents the size level of the graphic encoded data, i.e., levels 0 to 63, using 6 bits, and represents the error correction level of the graphic encoded data, i.e., levels 0 to 3, using 2 bits. The system information area is located in the upper left corner of the graphics coded data. The content setting of the backup information area is identical to that of the system information area, and the contents of the system information area and the backup information area of the same pattern coded data are identical. The backup information area is located at the lower right corner of the graphic encoded data. It should be appreciated that the backup information area and the system information area may be disposed at any reasonable location of the graphic encoding data.
Further, the original graphic encoding data in conformity with the encoding scale may further include sub-scalings, and the number of the sub-scalings may be 0 or at least one. The sub-scaling is used for auxiliary positioning, i.e. for auxiliary positioning of encoded data in the graphics encoded data. For example, sub-scaling is responsible for symbol positioning in graphically encoded data. The greater the number of sub-scales required as the more information is conveyed by the graphically encoded data.
The original graphic coding data conforming to the coding scale comprises: configuration information, header information, and data information. The configuration information may include the following: version number, header information flag bit, block flag bit, data information configuration, user-defined configuration data, header information configuration, and block configuration information. Wherein the version number occupies 2 bits: the version numbers range from 00 to 11(0-3), for a total of 4 versions. Header information flag bit occupies 1 bit: identify whether there is title information: 1- > has a title; 0- > without title. The blocking flag bit occupies 1 bit: for identifying whether the current image coded data is a block: 1- > the current graphics coded data is a subcode; 0- > the current graphics coded data is the mother code. The user-defined configuration data occupies 2 bits: from 00 to 11(0-3), a total of 4 custom configuration data versions can be represented.
The data information configuration occupies 16 bits and includes: encryption, zip flag, data type, and data length. The encryption mode occupies 2 bits: 00- > is not encrypted; 01- > default AESTR encryption; 10- > reserving a system; and 11- > user-defined encryption. The Zip flag bit occupies 1 bit: 1- > the content is coded after zip encryption; 0- > content is normally encoded. The data type occupies 1 bit: 0- > UTF-8 text; 1- > binary. The data length occupies 12 bits: for indicating the byte information (maximum 4095 bytes) included in the data information.
The header information configuration occupies 9 bits and includes: zip flag bits and data length. Wherein the zip flag bit occupies 1 bit: 1- > encoding with zip encrypted title; 0- > title is normal encoding. The data length occupies 8 bits: for indicating byte information (maximum 255 bytes) included in the header information.
The blocking configuration information occupies 70 bits and includes: the total number of blocks, the block number, and the hash value of the parent block. Where the total number of blocks (total number of subcodes) occupies 3 bits: from 000 to 111(0-7), a total represents 8 blocks in number, 000- > 1 block; 001- > 2 blocks in total; … … are provided. The block number (subcode number) occupies 3 bits: from 000 to 111(0-7), representing the current block number index, 000- > Block 1; 001- > block 2; … … are provided. The mother block hash value takes 64 bits: for identifying whether a plurality of sub-blocks are sub-blocks of the same mother block and identifying whether the mother block in which the sub-blocks are merged is correct. Wherein the 64-bit hash value may be obtained by selectively truncating the 128-bit hash value.
The header information indicates a header of the graphic encoded data as the mother code or the graphic encoded data as the child code. The data information is data content desired to be transmitted/expressed as the pattern code data of the mother code or the pattern code data of the child code.
The parsing device 1103 is configured to perform structure parsing on the information content to be transmitted, and divide the information content to be transmitted into a plurality of information subsets according to a result of the structure parsing. The method and the device carry out structural analysis on the data information, and divide the data information into a plurality of information subsets according to the result of the structural analysis. Wherein the structure parsing comprises semantic structure parsing and delimiter structure parsing. When the structure analysis is semantic structure analysis, performing structure analysis on the information content to be transmitted, and dividing the information content to be transmitted into a plurality of information subsets according to the result of the structure analysis comprises: semantic structure analysis is carried out on the information content to be transmitted to generate a plurality of semantic structure subunits; and dividing the information content to be transmitted into a plurality of information subsets according to the semantic structure subunits. When the structure analysis is separator structure analysis, the structure analysis is carried out on the information content to be transmitted, and the division of the information content to be transmitted into a plurality of information subsets according to the result of the structure analysis comprises the following steps: carrying out separator structure analysis on the information content to be transmitted to generate a plurality of separator structure subunits; and dividing the information content to be transmitted into a plurality of information subsets according to the plurality of separator structure subunits.
And the processing device 1104 is used for dividing the data information area of the original image coding data which is not encrypted into a plurality of sub-areas according to each information subset, and determining an encryption unit and an encryption mode for each sub-area. Dividing a data information area of the original pattern coding data which is not encrypted into a plurality of sub-areas according to each information subset, and determining an encryption unit and an encryption mode for each sub-area. In addition, the encryption mode of each encryption unit is the same or different. The encryption scheme is predetermined by a provider (e.g., an encoding maker, an encoding federation, etc.) that provides the graphics encoded data, or the encryption scheme is determined according to the needs of a user using the graphics encoded data. The encryption unit is a single coding unit, a plurality of coding units or a data block. In the present application, a single coding unit may be a symbol as shown in fig. 9. The data block may be a collection of data selected from the data information by semantics or by segmenters.
An encryption device 1105, configured to take the encryption unit as the minimum encryption object and encrypt each encryption unit according to the encryption mode for each sub-area to generate encrypted graphics coded data, and perform secure information transfer based on the encrypted graphics coded data. And aiming at each sub-area, taking the encryption unit as a minimum encryption object and encrypting each encryption unit according to an encryption mode to generate encrypted graphic coding data. That is, the original graphics-encoded data that is not encrypted is divided into a plurality of objects and subjected to the same or different encryption processes. Alternatively, the method also comprises the steps of determining an encryption unit and an encryption mode for the original image coded data which is not encrypted; and taking the encryption unit as a minimum encryption object and encrypting each encryption unit according to an encryption mode to generate encrypted graphics coded data. That is, the original graphics-coded data that is not encrypted is subjected to encryption processing as a whole processing object.
Initializing means 1106 for obtaining application description information associated with the user equipment, and determining a plurality of applications that desire information transfer through the graphically encoded data based on the application description information. The application description information includes a plurality of description items, and the format of each description item is < application name, application type, associated device type, encoded data flag >. For example, < pay-per, pay type, iOS, yes > and < pay-per, pay type, Andriod, yes > are used to indicate that the pay-per application is of a pay type, and graphical encoded data needs to be used in either the iOS operating system or the Andriod operating system. In general, description items may be set by a provider of an application, a provider of an operating system, an application store, the user device itself, and application description information associated with the user device is formed from a plurality of the set description items. Therefore, each application which wants to carry out information transmission through the graphic coded data can be determined through the analysis of each description item in the application description information.
And determining the maximum information quantity required by each application for information transmission through the single graphic coded data according to the information transmission requirement of each application in the plurality of applications. The information transfer requirements of each application are determined according to the data integrity required when each application carries out information transfer through the pattern coding data. The data integrity is the maximum possible data volume, namely the peak data volume, required for ensuring that information is not divided when each application carries out information transmission through the pattern coding data. Where the information transfer requirements include the amount of peak data involved in order to meet data integrity. The application determines the maximum information quantity required when each application carries out information transmission through single graphic coding data according to the peak data quantity. For example, the present application may use the peak data amount as the maximum information amount, 1.2 times the peak data amount as the maximum information amount, and 0.9 times the peak data amount as the maximum information amount.
The graphical interface of each application for providing the graphical encoded data is parsed to determine a display range that each application can use to display the graphical encoded data. The graphical interface is an interface for information transmission by utilizing graphically coded data of each application. For example, a graphical interface for a payment instrument for providing graphically encoded data includes: two-dimensional code for representing payment, bar code for representing payment, bank card information, member level, prompt information and the like. The display range is a range for displaying graphically encoded data in the graphical interface, i.e., a region of the graphical interface representing the two-dimensional code for payment. In the present application, the shape of the display range is rectangular and the shape of the image area is rectangular. That is, the shape of the display range is a square or a rectangle and the shape of the image area is a square or a rectangle. As shown in fig. 3, the shape of the display range is a rectangle, and the shape of the image area is a rectangle.
A compressing device 1107, configured to compress the header information and/or the data information in the original graphics coding data to generate compressed graphics coding data, where the area of the compressed graphics coding data is smaller than or equal to the area of the original graphics coding data. For example, header information and/or data information in original graphics coded data is compressed by a zip method to generate compressed graphics coded data, and the area of the zip compressed graphics coded data is smaller than or equal to that of the original graphics coded data. This is because the header information and/or the data information may be compressed, which may result in a shorter length or width of the graphics-encoded data. The application also includes information transfer based on the compressed graphics encoding data.
In which the generated encoding units of the original graphic encoded data are circular, rectangular, and elliptical, as shown in fig. 3.
Dividing means 1108 for causing a provider of the graphics coded data to receive an information processing request for the collaborative service, wherein the information processing request includes information content associated with the collaborative service and a structure description file of the collaborative service. The cooperative service is a service that is collectively completed by a plurality of cooperative devices. Wherein when the provider of the graphics coded data determines that the generated graphics coded data relates to a collaborative service, an information processing request for the collaborative service is generated. The information content associated with the collaborative service is task information required to complete the collaborative service. The structure description file of the collaborative service is used for indicating the logical structure of the collaborative service, and the collaborative service can be divided into a plurality of sub-services based on the structure description file. Wherein each sub-service of the plurality of sub-services corresponds to a collaborative task to which the respective collaborative device relates.
Analyzing the structure description file of the collaborative service to determine a plurality of collaborative devices related to the collaborative service and a collaborative task related to each collaborative device, specifically including: parsing a structure description file of the collaborative service to determine a plurality of sub-services of the collaborative service; determining a cooperative device involved by each sub-service in a plurality of sub-services; analyzing the service content of each sub-service to determine a cooperative task; and determining the cooperative task involved by each cooperative device.
And generating original graphic coding data comprising data information according to the information content associated with the collaborative service, and dividing the data information in the generated original graphic coding data into a plurality of sub data information based on the collaborative task related to each collaborative device. Wherein generating original graphically encoded data comprising data information from information content associated with the collaborative service comprises: information content associated with the collaborative service is taken as data information, and original graphic encoding data including the data information is generated. The dividing of the data information in the original graphic coding data into a plurality of sub data information based on the cooperative task related to each cooperative device comprises: determining collaboration data associated with a collaboration task to which each collaboration device relates; and dividing the data information in the original graphic coding data into a plurality of sub data information based on the cooperative data of each cooperative device.
Determining an association relationship between the plurality of cooperative devices, and determining a hierarchical relationship for each of a plurality of sub data information based on the association relationship. The association relationship among the plurality of cooperative devices includes: peer relationships, superior relationships, subordinate relationships, and conditional relationships. Determining a hierarchical relationship for each sub-data information of the plurality of sub-data information based on the association relationship comprises: when the relationship is a peer relationship or a conditional relationship, determining a hierarchical relationship of each subdata information in the plurality of subdata information as the same hierarchical relationship; and when the relationship is a higher-level relationship or a lower-level relationship, determining the hierarchy relationship of each sub-data information in the plurality of sub-data information as different hierarchy relationships.
The generated original graphic encoding data is divided into a plurality of hierarchical graphic encoding data based on the hierarchical relationship of each sub data information, and each hierarchical graphic encoding data is assigned to a corresponding cooperative device for information processing. Header information is set for each hierarchical pattern coded data, wherein the header information of each hierarchical pattern coded data is the same as, different from, or related to the header information of the original pattern coded data generated.
After each cooperative device carries out information processing according to the corresponding hierarchical graph coded data, the results produced by each cooperative device through the information processing are combined to generate a response message, and the response message is sent to a provider of the graph coded data.
Alternatively, the dividing means 1108 is used for receiving a code division request for dividing the generated original graphics coding data. And analyzing the code division request to determine the number N of the subcodes. And dividing data information included in the generated original graphic coding data into N pieces of sub-data information. And dividing the generated original graphics coded data into N pieces of sub-coded data according to the N pieces of sub-data information. Each of the N sub-coded data is transmitted to a respective user equipment, wherein each user equipment is capable of receiving at least one sub-coded data. The title information is set for each sub-coded data, wherein the title information of each sub-coded data is the same as, different from or related to the title information of the generated original graphic coded data. A code division request for dividing specific sub-encoded data is received, and the specific sub-encoded data is divided into a predetermined number of grandchild encoded data according to the code division request.
It should be understood that the data information in the original graphics-encoded data may be equally divided into N parts of sub-information, and each of the N parts of sub-information is used to form each of the N sub-encoded data. The N parts of sub information have a sequence, and the sequence depends on the content of the data information, namely the N parts of sub information can form the data information after being combined according to the sequence numbers without modifying the sequence. In addition, the data information in the original graphics coding data can be divided into N parts of sub information unevenly. Alternatively, the data information in the original graphics coding data may be divided into N pieces of sub information according to a semantic structure, a separator structure, or the like.
As is apparent from the above description, a plurality of hierarchical pattern encoded data may be located at different levels, wherein each pattern encoded data may be divided into at most a predetermined number of pattern encoded data as subcodes. Hierarchical pattern coding data obtained by dividing original pattern coding data is positioned at the next level of the original pattern coding data. The new hierarchical graphics encoding data resulting from dividing a particular hierarchical graphics encoding data is located at a next level of the particular hierarchical graphics encoding data. For another example, when the number N of the child codes is 8, the original graphics encoded data can be divided into 8 child encoded data at most, and each child encoded data can be divided into 8 grandchild encoded data at most, and so on.
In the present application, the original pattern coded data conforming to the coding scale, the original pattern coded data, the generated original pattern coded data conforming to the coding scale, the generated original pattern coded data, and the generated original pattern coded data may refer to the same content.
Wherein the generated original graphics encoding data comprises: the system information includes size level information and error correction level information, and the backup information includes size level information and error correction level information. The generated original graphics-encoding data also includes sub-scaling.
Setting means 1109 for setting, in the configuration information of the sub-coded data: the number of the sub-coded data, the sequence number of the sub-coded data, and the hash value of the original graphic coded data. The configuration information of the hierarchical graph coding data comprises: the number of the same level graphic encoding data, the sequence number of the same level graphic encoding data and the hash value of the upper level graphic encoding data.
The header information is summary information of data information included in the generated graphic encoded data in accordance with the encoding scale. The data information of the sub-coded data includes a code error correction level of the original pattern-coded data and partial data information of the original pattern-coded data. Wherein each hierarchical graphically encoded data of the plurality of hierarchical graphically encoded data comprises: the error correction level of the upper graphics coded data and partial data information of the upper coded data. The configuration information further includes: configuration information version number, header information flag bit, block flag bit and custom configuration data. The configuration information further includes: the total number of code blocks, the current code block sequence number, and the hash value of the upper code block. The header information also includes a compression flag bit.
The method further comprises the following steps of generating encrypted graphics coding data, generating a hash character string for header information of the original graphics coding data which is not encrypted, carrying out byte-by-byte exclusive OR operation on data information of the original graphics coding data by using the hash character string, and encrypting the exclusive OR operation graphics coding data to generate the encrypted graphics coding data. After receiving the encrypted graphics coded data, decrypting the encrypted graphics coded data to generate graphics coded data to be processed, generating a hash character string for header information of the graphics coded data to be processed, and performing byte-by-byte exclusive OR operation on data information of the graphics coded data to be processed by using the hash character string to obtain the original graphics coded data which is not encrypted.
The invention has been described with reference to a few embodiments. However, other embodiments of the invention than the ones disclosed above are equally possible within the scope of these appended patent claims, as these are known to those skilled in the art.
Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/an/the [ device, component, etc ]" are to be interpreted openly as referring to at least one instance of said device, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.

Claims (87)

1. A method of secure information transfer by graphically encoding data, the method comprising:
determining an encoding ratio of an image area for each application for the graphics-encoded data based on a display range for each application in the plurality of applications for displaying the graphics-encoded data and a maximum amount of information of a single graphics-encoded data;
when a specific application in the plurality of applications wants to transmit information content, generating unencrypted original graphic encoding data which accords with the encoding proportion based on the information content to be transmitted;
performing structural analysis on the information content to be transmitted, and dividing the information content to be transmitted into a plurality of information subsets according to the result of the structural analysis;
dividing a data information area of the original image coding data which is not encrypted into a plurality of sub-areas according to each information subset, and determining an encryption unit and an encryption mode for each sub-area; and
for each sub-region, taking an encryption unit as a minimum encryption object and encrypting each encryption unit according to an encryption mode to generate encrypted graphics coded data, and performing safe information transfer based on the encrypted graphics coded data;
wherein the structure parsing comprises semantic structure parsing and separator structure parsing;
when the structural analysis is semantic structural analysis, the structural analysis is performed on the information content to be transmitted, and the dividing the information content to be transmitted into a plurality of information subsets according to the result of the structural analysis comprises:
semantic structure analysis is carried out on the information content to be transmitted to generate a plurality of semantic structure subunits;
dividing the information content to be transmitted into a plurality of information subsets according to the semantic structure subunits;
when the structure analysis is separator structure analysis, the performing structure analysis on the information content to be transmitted, and dividing the information content to be transmitted into a plurality of information subsets according to the result of the structure analysis comprises:
carrying out separator structure analysis on the information content to be transmitted to generate a plurality of separator structure subunits;
and dividing the information content to be transmitted into a plurality of information subsets according to the plurality of separator structure subunits.
2. The method of claim 1, further comprising, prior to determining the encoding scale of the image region for each application of graphically encoded data based on the display range for each application of the plurality of applications for displaying graphically encoded data and the maximum amount of information for a single graphically encoded data:
acquiring application description information associated with user equipment, and determining a plurality of applications which desire information transfer through graphic coded data based on the application description information;
determining the maximum information quantity required by each application for information transmission through single graphic coded data according to the information transmission requirement of each application in a plurality of applications; and
the graphical interface of each application for providing the graphical encoded data is parsed to determine a display range that each application can use to display the graphical encoded data.
3. The method of claim 2, wherein the application description information comprises a plurality of description items, each description item having a format of < application name, application type, associated device type, encoded data flag >.
4. The method of claim 2, determining the information transfer requirements of each application based on the data integrity required for each application to transfer information via graphically encoded data.
5. The method of claim 4, the information delivery requirements comprising an amount of peak data involved in order to meet data integrity.
6. The method of claim 5, determining a maximum amount of information required for information transfer by a single graphic coded data per application from the peak data amount.
7. The method of claim 2, the graphical interface being an interface for each application to communicate information using graphically encoded data.
8. The method of claim 2 or 7, the display range being a range for displaying graphically encoded data in a graphical interface.
9. The method of claim 1, wherein determining the encoding scale of the image region for each application of graphically encoded data based on the display range for each application of the plurality of applications to display the graphically encoded data and the maximum amount of information for a single graphically encoded data comprises:
determining a length and a width of a display range for each of the plurality of applications to display the graphically encoded data;
determining the horizontal encoding quantity of each image area applied for graphically encoding data according to the width of the display range;
determining the longitudinal coding number of each image area applied to the graphic coding data according to the length of the display range and the maximum information amount of the single graphic coding data; and
the encoding ratio of each image region to which the image encoding data is applied is determined based on the number of horizontal encodings and the number of vertical encodings.
10. The method of claim 9, wherein determining a number of vertical encodings per image region applied for graphically encoded data based on the length of the display range and the maximum amount of information comprises:
determining a preselected longitudinal code number according to the maximum information amount and the transverse code number;
when it is determined that the length of the display range can accommodate the preselected number of vertical encodings, the preselected number of vertical encodings is determined as the number of vertical encodings per image area applied for graphically encoded data.
11. The method according to claim 1 or 2, wherein the shape of the display range is rectangular and the shape of the image area is rectangular.
12. A method according to claim 1 or 2, wherein the display area is rectangular in shape and the image area is rectangular in shape.
13. The method of any of claims 1-7, wherein the coding ratio is 0.618.
14. The method according to any one of claims 1-7, wherein the unencrypted original graphics encoding data conforming to the encoding scale comprises: configuration information, header information, and data information.
15. The method of claim 14, further comprising compressing header information and/or data information in the original graphics coded data to generate compressed graphics coded data, the compressed graphics coded data having an area less than or equal to an area of the original graphics coded data.
16. The method of claim 15, further comprising communicating information based on the compressed graphically encoded data.
17. The method of claim 1, wherein the encryption scheme of each encryption unit is the same or different.
18. The method of claim 1, wherein the encryption scheme is predetermined by a provider that provides the graphical encoded data, or the encryption scheme is determined based on requirements of a user that uses the graphical encoded data.
19. The method of claim 1, the encryption unit being a single coding unit, a plurality of coding units, or a block of data.
20. The method according to claim 1 or 19, wherein the coding units of the original graphics coded data are circular, rectangular and elliptical.
21. The method of claim 1 or 2, further comprising,
a provider of the graphic coded data receives an information processing request aiming at the cooperative service, wherein the information processing request comprises information content associated with the cooperative service and a structure description file of the cooperative service;
analyzing the structure description file of the cooperative service to determine a plurality of cooperative devices related to the cooperative service and a cooperative task related to each cooperative device;
generating original graphic coding data comprising data information according to information content associated with the collaborative service, and dividing the data information in the generated original graphic coding data into a plurality of sub data information based on a collaborative task related to each collaborative device;
determining an incidence relation among the plurality of cooperative devices, and determining a hierarchical relation for each sub data information in a plurality of sub data information based on the incidence relation; and
the generated original pattern coded data is divided into a plurality of hierarchical pattern coded data based on the hierarchical relationship of each sub data information, and each hierarchical pattern coded data is distributed to a corresponding cooperative device to perform information processing.
22. The method of claim 21, wherein after each cooperative device performs information processing according to the corresponding hierarchical encoded graphic data, combining results of each cooperative device generated by the information processing to generate a response message, and transmitting the response message to a provider of the encoded graphic data.
23. The method of claim 22, further comprising setting header information for each hierarchical graphically encoded data, wherein the header information for each hierarchical graphically encoded data is the same as, different from, or related to the header information for the generated original graphically encoded data.
24. The method of claim 14, further comprising,
receiving a code division request for dividing the generated original graph coding data;
analyzing the code division request to determine the number N of subcodes;
dividing data information included in the generated original graphic coding data into N pieces of sub-data information; and
and dividing the generated original graph coded data into N sub-coded data according to the N sub-data information.
25. The method of claim 24, further comprising transmitting each of the N sub-coded data to a respective user device, wherein each user device is capable of receiving at least one sub-coded data.
26. The method of claim 24, further comprising setting header information for each of the sub-coded data, wherein the header information of each of the sub-coded data is the same as, different from, or related to the header information of the generated original graphics coded data.
27. The method of claim 24, further comprising:
a code division request for dividing specific sub-encoded data is received, and the specific sub-encoded data is divided into a predetermined number of grandchild encoded data according to the code division request.
28. The method of claim 1, wherein the generated original graphics encoding data comprises: the system information includes size level information and error correction level information, and the backup information includes size level information and error correction level information.
29. The method of claim 28, wherein the generated original graphically encoded data further includes sub-scaling.
30. The method of claim 24, further comprising including in the configuration information of the sub-coded data: the number of the sub-coded data, the sequence number of the sub-coded data, and the hash value of the original graphic coded data.
31. The method of claim 21, further comprising including in the configuration information of the hierarchically encoded graphical data: the number of the same-level graphic coded data, the serial number of the same-level graphic coded data and the hash value of the upper-level graphic coded data.
32. The method according to claim 14, wherein the header information is summary information of data information included in the generated graphic coded data in conformity with the coding scale.
33. The method of claim 24, wherein the data information of the sub-coded data includes a code error correction level of the original pattern-coded data and partial data information of the original pattern-coded data.
34. The method of claim 21, wherein each hierarchical graphic encoding data of a plurality of hierarchical graphic encoding data comprises: the error correction level of the upper graphics coded data and partial data information of the upper coded data.
35. The method of any of claims 30-31, the configuration information further comprising: configuration information version number, header information zone bit, block zone bit and custom configuration data.
36. The method of any of claims 30-31, the configuration information further comprising: the total number of code blocks, the current code block sequence number, and the hash value of the upper code block.
37. The method of any one of claims 15, 23, 26 and 32, wherein the header information further comprises a compression flag.
38. The method according to any one of claims 15, 23, 26 and 32, further comprising generating encrypted graphics encoding data by generating a hash string for header information of the original graphics encoding data that is not encrypted, performing byte-wise exclusive-or operation on data information of the original graphics encoding data using the hash string, and encrypting the exclusive-or operated graphics encoding data to generate the encrypted graphics encoding data.
39. The method of claim 38, wherein after receiving the encrypted encoded graphics data, decrypting the encrypted encoded graphics data to generate encoded graphics data to be processed, generating a hash string for header information of the encoded graphics data to be processed, and performing byte-by-byte exclusive-or operation on data information of the encoded graphics data to be processed using the hash string to obtain the original encoded graphics data without encryption.
40. The method of claim 21, the collaborative service being a service that is commonly accomplished by a plurality of collaborative devices.
41. The method of claim 21, wherein the structure description file of the collaborative service is used to indicate a logical structure of the collaborative service, and the collaborative service can be divided into a plurality of sub-services based on the structure description file.
42. A method according to claim 41, wherein each of the plurality of sub-services corresponds to a collaborative task involving a respective collaborative device.
43. The method of claim 21, the association between the plurality of cooperating devices comprising: peer relationships, superior relationships, subordinate relationships, and conditional relationships.
44. A system for secure information transfer by graphically encoding data, the system comprising:
scale determining means for determining a coding scale of an image area for graphics-coded data per application based on a display range for displaying the graphics-coded data per application among a plurality of applications and a maximum information amount of a single graphics-coded data;
generating means for generating, when a specific application of the plurality of applications desires to perform transfer of the information content, original pattern-encoded data that is not encrypted in conformity with the encoding ratio based on the information content to be transferred;
the analysis device is used for carrying out structural analysis on the information content to be transmitted and dividing the information content to be transmitted into a plurality of information subsets according to the result of the structural analysis;
the processing device is used for dividing a data information area of the original image coding data which is not encrypted into a plurality of sub-areas according to each information subset, and determining an encryption unit and an encryption mode for each sub-area; and
the encryption device is used for taking the encryption unit as a minimum encryption object and encrypting each encryption unit according to an encryption mode for each subarea to generate encrypted graph coding data and safely transmitting information based on the encrypted graph coding data;
wherein the structure parsing comprises semantic structure parsing and separator structure parsing;
when the structural analysis is semantic structural analysis, the structural analysis is performed on the information content to be transmitted, and the dividing the information content to be transmitted into a plurality of information subsets according to the result of the structural analysis comprises:
semantic structure analysis is carried out on the information content to be transmitted to generate a plurality of semantic structure subunits;
dividing the information content to be transmitted into a plurality of information subsets according to the semantic structure subunits;
when the structure analysis is separator structure analysis, the performing structure analysis on the information content to be transmitted, and dividing the information content to be transmitted into a plurality of information subsets according to the result of the structure analysis comprises:
carrying out separator structure analysis on the information content to be transmitted to generate a plurality of separator structure subunits;
and dividing the information content to be transmitted into a plurality of information subsets according to the plurality of separator structure subunits.
45. The system of claim 44, further comprising initialization means for obtaining application description information associated with the user device, determining a plurality of applications for which information transfer via graphically encoded data is desired based on the application description information;
determining the maximum information quantity required by each application for information transmission through single graphic coded data according to the information transmission requirement of each application in a plurality of applications; and
the graphical interface of each application for providing the graphical encoded data is parsed to determine a display range that each application can use to display the graphical encoded data.
46. The system of claim 45, wherein the application description information comprises a plurality of description items, each description item having a format of < application name, application type, associated device type, encoded data flag >.
47. The system of claim 45, wherein the initialization device determines the information transfer requirements of each application based on the data integrity required for each application to transfer information via graphically encoded data.
48. The system of claim 47, the information delivery requirements comprising an amount of peak data involved in order to meet data integrity.
49. The system of claim 48, wherein the initialization means determines a maximum amount of information required for information transfer by a single graphically encoded data per application based on the peak data amount.
50. The system of claim 45, the graphical interface being an interface for each application to communicate information using graphically encoded data.
51. The system of claim 45 or 50, the display range being a range for displaying graphically encoded data in a graphical interface.
52. The system of claim 44, wherein the ratio determining means determines the encoding ratio of the image region for each application for graphically encoded data based on the display range for each application for displaying graphically encoded data in the plurality of applications and the maximum amount of information for a single graphically encoded data comprises:
determining a length and a width of a display range for each of the plurality of applications to display the graphically encoded data;
determining the horizontal encoding quantity of each image area applied for graphically encoding data according to the width of the display range;
determining the longitudinal coding number of each image area applied to the graphic coding data according to the length of the display range and the maximum information amount of the single graphic coding data; and
the encoding ratio of each image region to which the image encoding data is applied is determined based on the number of horizontal encodings and the number of vertical encodings.
53. The system of claim 52, wherein the ratio determining means determines the number of vertical encodings per image region applied for graphically encoded data based on the length of the display range and the maximum amount of information comprises:
determining a preselected longitudinal code number according to the maximum information amount and the transverse code number;
when it is determined that the length of the display range can accommodate the preselected number of vertical encodings, the preselected number of vertical encodings is determined as the number of vertical encodings per image area applied for graphically encoded data.
54. The system of claim 44 or 45, wherein the display range is rectangular in shape and the image area is rectangular in shape.
55. A system according to claim 44 or 45, wherein the display area is rectangular in shape and the image area is rectangular in shape.
56. The system of any of claims 44-50, wherein the encoding ratio is 0.618.
57. The system of any one of claims 44-50, wherein the unencrypted original graphics encoding data in accordance with the encoding scale comprises: configuration information, header information, and data information.
58. The system according to claim 57, further comprising compression means for compressing header information and/or data information in the original graphics coded data to generate compressed graphics coded data, the area of the compressed graphics coded data being less than or equal to the area of the original graphics coded data.
59. The system of claim 58, further comprising communicating information based on the compressed graphically encoded data.
60. The system according to claim 44, wherein the encryption scheme of each encryption unit is the same or different.
61. The system of claim 44, wherein the encryption scheme is predetermined by a provider that provides the graphical encoded data, or the encryption scheme is determined based on requirements of a user that uses the graphical encoded data.
62. The system of claim 44, the encryption unit being a single coding unit, a plurality of coding units, or a block of data.
63. The system of claim 44 or 62, wherein the coding units of the original graphically encoded data are circular, rectangular and oval.
64. The system according to claim 44 or 45, further comprising dividing means for causing a provider of graphics coded data to receive an information processing request for a collaborative service, wherein the information processing request includes information content associated with the collaborative service and a structure description file of the collaborative service;
analyzing the structure description file of the collaborative service to determine a plurality of collaborative devices related to the collaborative service and a collaborative task related to each collaborative device;
generating original graphic coding data comprising data information according to information content associated with the collaborative service, and dividing the data information in the generated original graphic coding data into a plurality of sub data information based on a collaborative task related to each collaborative device;
determining an association relationship between the plurality of cooperative devices, and determining a hierarchical relationship for each sub data information of a plurality of sub data information based on the association relationship; and
the generated original pattern coded data is divided into a plurality of hierarchical pattern coded data based on the hierarchical relationship of each sub data information, and each hierarchical pattern coded data is distributed to a corresponding cooperative device to perform information processing.
65. The system according to claim 64, wherein after each cooperative device has undergone information processing based on the corresponding hierarchical encoded graphic data, the dividing means combines the results of the information processing by each cooperative device to generate a response message, and transmits the response message to the provider of the encoded graphic data.
66. The system according to claim 64, further comprising setting means for setting header information for each of the hierarchically encoded graphical data, wherein the header information of each of the hierarchically encoded graphical data is the same as, different from, or related to the header information of the generated original graphically encoded data.
67. The system according to claim 57, further comprising dividing means for receiving a dividing request for dividing the generated original graphics encoding data;
analyzing the code division request to determine the number N of subcodes;
dividing data information included in the generated original graphic coding data into N pieces of sub-data information; and
and dividing the generated original graphics coded data into N sub-coded data according to the N pieces of sub-data information.
68. The system of claim 67, the dividing means transmits each of the N sub-coded data to a respective user device, wherein each user device is capable of receiving at least one sub-coded data.
69. The system according to claim 67, further comprising setting means for setting header information for each of the sub-coded data, wherein the header information of each of the sub-coded data is the same as, different from or related to the header information of the generated original graphically coded data.
70. The system of claim 67, the dividing means receives a division request for dividing a particular sub-coded data, and divides the particular sub-coded data into a predetermined number of grandchild coded data according to the division request.
71. The system of claim 44, wherein the generated original graphic encoding data comprises: the system information includes size level information and error correction level information, and the backup information includes size level information and error correction level information.
72. The system of claim 71, wherein the generated original graphically encoded data further includes sub-scaling.
73. The system according to claim 67, further comprising setting means for including, in the configuration information of the sub-coded data: the number of the sub-coded data, the sequence number of the sub-coded data, and the hash value of the original graphic coded data.
74. The system of claim 64, further comprising including in the configuration information of the hierarchically encoded graphical data: the number of the same-level graphic coded data, the serial number of the same-level graphic coded data and the hash value of the upper-level graphic coded data.
75. The system of claim 57, wherein the header information is summary information of data information included in the generated encoded graphic data in accordance with the encoding scale.
76. The system of claim 67, wherein the data information of the sub-coded data includes a code error correction level of the original pattern-coded data and partial data information of the original pattern-coded data.
77. The system of claim 64, wherein each hierarchical graphic encoding data of the plurality of hierarchical graphic encoding data comprises: the error correction level of the upper graphics coded data and partial data information of the upper coded data.
78. The system of any of claims 73-74, the configuration information further comprising: configuration information version number, header information flag bit, block flag bit and custom configuration data.
79. The system of any of claims 73-74, the configuration information further comprising: the total number of code blocks, the current code block sequence number, and the hash value of the upper code block.
80. The system of any one of claims 58, 66, 69, and 75, the header information further comprising a compression flag.
81. The system according to any one of claims 58, 66, 69 and 75, wherein the encryption means is adapted to generate encrypted graphics-coded data by generating a hash string for header information of the original graphics-coded data that is not encrypted, performing byte-by-byte exclusive-or operation on data information of the original graphics-coded data using the hash string, and encrypting the exclusive-or operated graphics-coded data to generate the encrypted graphics-coded data.
82. The system of claim 81, wherein after receiving the encrypted encoded graphical data, decrypting the encrypted encoded graphical data to generate encoded graphical data to be processed, generating a hash string for header information of the encoded graphical data to be processed, and performing a byte-wise exclusive-or operation on data information of the encoded graphical data to be processed using the hash string to obtain the original unencrypted encoded graphical data.
83. The system of claim 64, the collaborative service is a service that is jointly completed by a plurality of collaborative devices.
84. The system of claim 64, the structure description file of the collaborative service to indicate a logical structure of the collaborative service, and the collaborative service is separable into a plurality of sub-services based on the structure description file.
85. A system according to claim 84, wherein each of the plurality of sub-services corresponds to a collaborative task involving a respective collaborative device.
86. The system of claim 64, the association between the plurality of cooperating devices comprising: peer relationships, superior relationships, subordinate relationships, and conditional relationships.
87. A mobile terminal comprising a system according to any of claims 44-86.
CN201810935480.9A 2018-08-16 2018-08-16 Method and system for carrying out safe information transmission through graphic coding data Active CN108959949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810935480.9A CN108959949B (en) 2018-08-16 2018-08-16 Method and system for carrying out safe information transmission through graphic coding data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810935480.9A CN108959949B (en) 2018-08-16 2018-08-16 Method and system for carrying out safe information transmission through graphic coding data

Publications (2)

Publication Number Publication Date
CN108959949A CN108959949A (en) 2018-12-07
CN108959949B true CN108959949B (en) 2022-07-12

Family

ID=64470350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810935480.9A Active CN108959949B (en) 2018-08-16 2018-08-16 Method and system for carrying out safe information transmission through graphic coding data

Country Status (1)

Country Link
CN (1) CN108959949B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866578B (en) * 2019-10-29 2021-07-06 上海交通大学 Two-dimensional texture code and encoding and decoding methods thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902997A (en) * 2012-09-21 2013-01-30 华南农业大学 Two-dimensional code hybrid coding and decoding device and method
CN103414549A (en) * 2013-07-16 2013-11-27 广东工业大学 QR two-dimensional code binary image partition-based key varying chaotic encryption method
CN106685426A (en) * 2016-11-28 2017-05-17 北京航天自动控制研究所 Coding method of target information
CN108174217A (en) * 2017-12-06 2018-06-15 广州索答信息科技有限公司 A kind of generation of image code and analytic method, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170032776A (en) * 2015-09-15 2017-03-23 삼성전자주식회사 Image Processing Device and Image Processing Method Performing Selective Image Encryption

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902997A (en) * 2012-09-21 2013-01-30 华南农业大学 Two-dimensional code hybrid coding and decoding device and method
CN103414549A (en) * 2013-07-16 2013-11-27 广东工业大学 QR two-dimensional code binary image partition-based key varying chaotic encryption method
CN106685426A (en) * 2016-11-28 2017-05-17 北京航天自动控制研究所 Coding method of target information
CN108174217A (en) * 2017-12-06 2018-06-15 广州索答信息科技有限公司 A kind of generation of image code and analytic method, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
QR码信息加密的研究与实现;刘彦伟等;《铁路计算机应用》;20121125(第11期);第37-41页 *
一种提高QR码安全性的方法;张雅奇等;《信息技术》;20121231(第11期);第90-92,95页 *

Also Published As

Publication number Publication date
CN108959949A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
US20180247386A1 (en) Systems and methods for steganography based on text fonts
KR100677830B1 (en) Method and the Tool of Networking Service on Internet using Algorithm of Coding/Decoding Values of Color Codes
AU2008327506B2 (en) Method and system for encryption of data
US11902417B2 (en) Computer-implemented method of performing format-preserving encryption of a data object of variable size
CN103049777A (en) Security application method for two-dimension code and encoding/decoding system
CN110210270B (en) Two-dimensional code information security reinforcement method and system and two-dimensional code image analysis method and system
US7925012B2 (en) Method and system for the secure distribution of compressed digital texts
CN101859397A (en) Two-dimensional array code
CN109214488B (en) Method and system for information transmission based on graphic coded data
CN103957340A (en) Data transmission system based on color dynamic image
CN101859398B (en) Two-dimensional array code
CN111242259B (en) Intelligent anti-counterfeiting code encoding and decoding method and system
CN111931205A (en) Method and device for encrypting shader file
CN107105324A (en) A kind of method and client of protection barrage information
CN108959949B (en) Method and system for carrying out safe information transmission through graphic coding data
CN113676290A (en) Data transmission method based on fund system and related equipment
CN105718978A (en) QR code generation method and apparatus, and decoding method and apparatus
Yu et al. A Novel Three‐Layer QR Code Based on Secret Sharing Scheme and Liner Code
CN109086850B (en) Method and system for processing information by utilizing hierarchical graphic coding data
CN114298006B (en) Electronic bill generation method, system and storage device
CN115334317B (en) Information processing method, device and equipment
JP5123794B2 (en) IDENTIFICATION INFORMATION OUTPUT DEVICE, PROGRAM THEREOF, PROGRAM TRANSMITTING DEVICE, AND IC CARD
CN116664123A (en) Digital wallet design method based on blockchain technology
CN114626968A (en) Watermark embedding method, watermark extracting method and device
CN114239779A (en) Data transmission method, transmission system, acquisition equipment and receiving equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230220

Address after: 066000 Warehouse No. 9 and the 4th floor in the west of Qinglong Park, No. 12, Xihuan North Road, Qinhuangdao Economic and Technological Development Zone, Hebei Province

Patentee after: 360 Zongheng Information Technology Co.,Ltd.

Address before: 100086 room 112, block D, 28 xinjiekouwai street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.