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
graphic
coded data
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

一种通过图形编码数据进行安全的信息传递的方法及系统A method and system for secure information transmission through graphic coded data

技术领域technical field

本发明涉及信息处理领域,并且更具体地,涉及一种通过图形编码数据进行安全的信息传递的方法及系统。The present invention relates to the field of information processing, and more particularly, to a method and system for secure information transmission through graphic coded data.

背景技术Background technique

编码数据的普及使得具有计算能力的设备能够进行信息读取、处理以及表达。目前,移动设备通过二维码进行信息处理的趋势已经越来越普遍。二维码是近几年来在移动设备上应用的非常流行的一种编码方式,它比传统的条形码能保存更多的信息并且能够表示更多的数据类型。The ubiquity of encoded data has enabled devices with computing power to read, process, and express information. At present, the trend of information processing by mobile devices through QR codes has become more and more common. Two-dimensional code is a very popular encoding method applied on mobile devices in recent years. It can store more information and represent more data types than traditional barcodes.

二维码使用某种特定的几何图形按一定规律在平面(二维方向上)分布的黑白相间的图形来记录数据符号信息。在代码编制上,二维码巧妙地利用构成计算机内部逻辑基础的“0”、“1”比特流的概念,使用若干个与二进制相对应的几何形体来表示文字数值信息。图象输入设备或光电扫描设备能够自动识读二维码以实现信息自动处理。二维码具有条码技术的一些共性:每种码制有其特定的字符集、每个字符占有一定的宽度以及具有一定的校验功能等。此外,二维码还具有对不同行的信息进行自动识别的功能以及处理图形旋转变化点的功能。The two-dimensional code uses a specific geometric figure to record data symbol information with black and white figures distributed on a plane (two-dimensional direction) according to a certain rule. In coding, the two-dimensional code cleverly uses the concept of "0" and "1" bit streams that constitute the internal logic basis of the computer, and uses several geometric shapes corresponding to binary to represent text and numerical information. Image input equipment or photoelectric scanning equipment can automatically read two-dimensional codes to realize automatic information processing. Two-dimensional code has some common features of barcode technology: each code system has its specific character set, each character occupies a certain width, and has a certain verification function. In addition, the two-dimensional code also has the function of automatically identifying the information of different lines and the function of processing the rotation change points of the graphics.

目前,二维码的形状均为正方形,例如,快速反应QR码。如图2所所示,QR码200呈正方形并且存在黑白两色。图2为现有技术中的QR码的示意图,其中QR码200的4个角落中3个设置有较小并且像“回”字的正方图案。这3个图案是帮助解码软件对QR码200进行定位的定标,使得用户不需要对准并无论以任何角度扫描,仍可正确读取数据。Currently, QR codes are all square in shape, for example, quick response QR codes. As shown in FIG. 2, the QR code 200 is square and exists in black and white. FIG. 2 is a schematic diagram of a QR code in the prior art, in which 3 of the 4 corners of the QR code 200 are provided with a small square pattern that resembles the character "Back". These 3 patterns are calibrations that help the decoding software to locate the QR code 200, so that the user does not need to align and scan at any angle, the data can still be read correctly.

然而,目前的二维码采用明文方式进行信息传递,因此导致信息容易被篡改或盗取。这种明文方式的信息传递有可能对用户的信息安全造成非常大的隐患。However, the current two-dimensional code uses plaintext to transmit information, so the information is easy to be tampered with or stolen. This clear text information transmission may cause great hidden dangers to the user's information security.

发明内容SUMMARY OF THE INVENTION

根据本发明的一个方面,提供一种通过图形编码数据进行安全的信息传递的方法,所述方法包括:According to one aspect of the present invention, there is provided a method for secure information transfer through graphic coded data, the method comprising:

基于多个应用中每个应用用于显示图形编码数据的显示范围和单个图形编码数据的最大信息量确定每个应用用于图形编码数据的图像区域的编码比例;Determine the coding ratio of the image area used by each application for the graphic encoded data based on the display range of each of the multiple applications for displaying the graphic encoded data and the maximum amount of information of a single graphic encoded data;

当多个应用中的特定应用希望进行信息内容的传递时,基于待传递的信息内容生成符合所述编码比例的未经加密的原始图形编码数据;When a specific application among the multiple applications wishes to transmit the information content, generating unencrypted original graphic encoding data that conforms to the encoding ratio based on the information content to be transmitted;

对所述待传递的信息内容进行结构解析,根据结构解析的结果将所述待传递的信息内容划分为多个信息子集;Perform structure analysis on the information content to be transmitted, and divide the information content to be transmitted into a plurality of information subsets according to the result of the structure analysis;

根据每个信息子集将未经加密的原始图形编码数据的数据信息区域划分为多个子区域,并为每个子区域确定加密单元和加密方式;以及Divide the data information area of the unencrypted original graphic coded data into a plurality of sub-areas according to each information subset, and determine an encryption unit and an encryption method for each sub-area; and

针对于每个子区域,将加密单元作为最小加密对象并根据加密方式对每个加密单元进行加密,以生成经过加密的图形编码数据,并且基于所述经过加密的图形编码数据进行安全的信息传递。For each sub-area, the encryption unit is taken as the minimum encryption object, and each encryption unit is encrypted according to the encryption method to generate encrypted graphic encoding data, and based on the encrypted graphic encoding data, secure information transmission is performed.

在基于多个应用中每个应用用于显示图形编码数据的显示范围和单个图形编码数据的最大信息量确定每个应用用于图形编码数据的图像区域的编码比例之前还包括:Before determining the encoding ratio of the image area used by each application for the graphic encoded data based on the display range for displaying the graphic encoded data and the maximum amount of information of a single graphic encoded data among the multiple applications, the method further includes:

获取与用户设备相关联的应用描述信息,基于所述应用描述信息确定希望通过图形编码数据进行信息传递的多个应用;Obtaining application description information associated with the user equipment, and determining, based on the application description information, multiple applications that wish to transmit information through the graphic coded data;

根据多个应用中每个应用的信息传递需求,确定每个应用通过单个图形编码数据进行信息传递时所需要的最大信息量;以及Determine the maximum amount of information required by each application to transmit information through a single graphic coded data according to the information transmission requirements of each of the multiple applications; and

对每个应用的用于提供图形编码数据的图形界面进行解析以确定每个应用能够用于显示图形编码数据的显示范围。The graphical interface for providing the graphically encoded data of each application is parsed to determine a display range that each application can use to display the graphically encoded data.

所述应用描述信息包括多个描述项,每个描述项的格式为<应用名称、应用类型、关联设备类型、编码数据标志位>。The application description information includes multiple description items, and the format of each description item is <application name, application type, associated device type, encoded data flag>.

根据每个应用通过图形编码数据进行信息传递时所要求的数据完整性来确定每个应用的信息传递需求。The information transfer requirements of each application are determined according to the data integrity required for each application to transfer information through the graphics-encoded data.

所述信息传递需求包括为了满足数据完整性所涉及的峰值数据量。The information delivery requirements include peak data volumes involved in order to satisfy data integrity.

根据所述峰值数据量确定每个应用通过单个图形编码数据进行信息传递时所需要的最大信息量。According to the peak data amount, the maximum amount of information required by each application to transmit information through a single graphic coded data is determined.

所述图形界面为每个应用的利用图形编码数据进行信息传递的界面。The graphical interface is an interface of each application for information transmission using graphical coding data.

所述显示范围是在图形界面中用于显示图形编码数据的范围。The display range is a range used to display the graphic coded data in the graphic interface.

其中基于多个应用中每个应用用于显示图形编码数据的显示范围和单个图形编码数据的最大信息量确定每个应用用于图形编码数据的图像区域的编码比例包括:Wherein, based on the display range of each application in the multiple applications for displaying the graphic coded data and the maximum information amount of a single graphic coded data, the coding ratio of the image area used by each application for the graphic coded data includes:

确定多个应用中每个应用用于显示图形编码数据的显示范围的长度和宽度;Determining the length and width of a display range used by each of the plurality of applications to display the graphically encoded data;

根据所述显示范围的宽度确定每个应用用于图形编码数据的图像区域的横向编码数量;According to the width of the display range, determine the horizontal encoding quantity of each application for the image area of the image encoding data;

根据所述显示范围的长度和单个图形编码数据的最大信息量确定每个应用用于图形编码数据的图像区域的纵向编码数量;以及determining the number of vertical encodings of the image area for each application for the graphics encoded data according to the length of the display range and the maximum information amount of a single graphics encoded data; and

基于横向编码数量和纵向编码数量确定每个应用用于图形编码数据的图像区域的编码比例。The encoding ratio of each application for the image region of the graphics encoded data is determined based on the horizontal encoding amount and the vertical encoding amount.

其中根据所述显示范围的长度和最大信息量确定每个应用用于图形编码数据的图像区域的纵向编码数量包括:Wherein, according to the length of the display range and the maximum amount of information, determining the vertical encoding quantity of the image area used for the graphic encoding data by each application includes:

根据最大信息量和横向编码数量确定预选的纵向编码数量;Determine the preselected number of vertical encodings according to the maximum amount of information and the number of horizontal encodings;

当确定所述显示范围的长度能够容纳所述预选的纵向编码数量时,将所述预选的纵向编码数量确定为每个应用用于图形编码数据的图像区域的纵向编码数量。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 of the image area for each application for graphic encoding data.

其中所述显示范围的形状为矩形,以及所述图像区域的形状为矩形。The shape of the display area is a rectangle, and the shape of the image area is a rectangle.

其中所述显示范围的形状为长方形,以及所述图像区域的形状为长方形。The shape of the display area is a rectangle, and the shape of the image area is a rectangle.

其中所述编码比例为0.618。Wherein the encoding ratio is 0.618.

所述符合所述编码比例的未经加密的原始图形编码数据包括:配置信息、标题信息和数据信息。The unencrypted original graphic encoding data conforming to the encoding ratio includes: configuration information, title information and data information.

还包括对原始图形编码数据中的标题信息和/或数据信息进行压缩以生成经过压缩的图形编码数据,所述经过压缩的图形编码数据的面积小于或等于所述原始图形编码数据的面积。It also includes compressing the title information and/or data information in the original graphics encoding data to generate compressed graphics encoding data, the compressed graphics encoding data having an area less than or equal to the original graphics encoding data.

还包括基于所述经过压缩的图形编码数据进行信息传递。Also included is information transfer based on the compressed graphics encoding data.

其中所述结构解析为语义结构解析,wherein the structure parsing is semantic structure parsing,

其中对所述待传递的信息内容进行结构解析,根据结构解析的结果将所述待传递的信息内容划分为多个信息子集包括:The structure analysis is performed on the information content to be transmitted, and the information content to be transmitted is divided into a plurality of information subsets according to the result of the structure analysis, including:

对所述待传递的信息内容进行语义结构解析,以生成多个语义结构子单元;performing semantic structure analysis on the information content to be transmitted to generate a plurality of semantic structure subunits;

根据所述多个语义结构子单元将所述待传递的信息内容划分为多个信息子集。The information content to be transmitted is divided into a plurality of information subsets according to the plurality of semantic structure subunits.

其中所述结构解析为分隔符结构解析,where the structure parsing is delimiter structure parsing,

其中对所述待传递的信息内容进行结构解析,根据结构解析的结果将所述待传递的信息内容划分为多个信息子集包括:The structure analysis is performed on the information content to be transmitted, and the information content to be transmitted is divided into a plurality of information subsets according to the result of the structure analysis, including:

对所述待传递的信息内容进行分隔符结构解析,以生成多个分隔符结构子单元;Delimiter structure analysis is performed on the information content to be transmitted to generate a plurality of delimiter structure subunits;

根据所述多个分隔符结构子单元将所述待传递的信息内容划分为多个信息子集。The information content to be delivered is divided into a plurality of information subsets according to the plurality of separator structure subunits.

其中每个加密单元的加密方式是相同的或不同的。The encryption method of each encryption unit is the same or different.

所述加密方式是由提供图形编码数据的提供方预先确定的,或者所述加密方式是根据使用图形编码数据的使用方的需求来确定的。The encryption method is predetermined by the provider who provides the graphic coded data, or the encryption method is determined according to the requirements of the user who uses the graphic coded data.

所述加密单元为单个编码单元、多个编码单元或数据块。The encryption unit is a single coding unit, multiple coding units or data blocks.

其中原始图形编码数据的编码单元为圆形、矩形和椭圆形。The coding units of the original graphic coded data are circle, rectangle and ellipse.

还包括,图形编码数据的提供方接收针对于协同服务的信息处理请求,其中所述信息处理请求包括与所述协同服务相关联的信息内容和所述协同服务的结构描述文件;It also includes that the provider of the graphic encoding data receives 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;

对所述协同服务的结构描述文件进行解析以确定所述协同服务所涉及的多个协同设备和每个协同设备所涉及的协同任务;Parsing the structure description file of the collaborative service to determine a plurality of collaborative devices involved in the collaborative service and a collaborative task involved in each collaborative device;

根据与所述协同服务相关联的信息内容生成包括数据信息的原始图形编码数据,并基于每个协同设备所涉及的协同任务将所生成的原始图形编码数据中的数据信息划分为多个子数据信息;Generates original graphic encoding data including data information according to the information content associated with the collaborative service, and divides the data information in the generated original graphic encoding data into a plurality of sub-data information based on the collaborative tasks involved in each collaborative device ;

确定所述多个协同设备之间的关联关系,并且基于所述关联关系为多个子数据信息中的每个子数据信息确定层级关系;以及determining an association relationship between the plurality of cooperating devices, and determining a hierarchical relationship for each sub-data information in the plurality of sub-data information based on the association relationship; and

基于每个子数据信息的层级关系将所生成的原始图形编码数据划分为多个层级式图形编码数据,并且将每个层级式图形编码数据分配给相应的协同设备以进行信息处理。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 allocated to a corresponding cooperative device for information processing.

在每个协同设备根据相应的层级式图形编码数据进行信息处理后,将每个协同设备通过信息处理所产生的结果进行组合以生成应答消息,将所述应答消息发送给图形编码数据的提供方。After each cooperating device performs information processing according to the corresponding hierarchical graphic encoding data, the results generated by each cooperating device through the information processing are combined to generate a response message, and the response message is sent to the provider of the graphics encoding data .

还包括为每个层级式图形编码数据设置标题信息,其中每个层级式图形编码数据的标题信息与所生成的原始的图形编码数据的标题信息相同、不同或相关。It also includes setting title information for each layered graphics coded data, wherein the title information of each layered graphics encoded data is the same, different or related to the title information of the generated original graphics encoded data.

还包括,接收针对于所生成的原始图形编码数据进行划分的分码请求;Also includes, receiving a code division request for dividing the generated original graphic encoding data;

对所述分码请求进行解析以确定子码数量N;Parsing the code division request to determine the number N of subcodes;

将所生成的原始的图形编码数据包括的数据信息划分为N个子数据信息;以及dividing the data information included in the generated original graphic encoding data into N pieces of sub-data information; and

根据N个子数据信息将所生成的原始图形编码数据划分为N个子编码数据。The generated original graphic coded data is divided into N sub-coded data according to the N pieces of sub-data information.

还包括将N个子编码数据中的每个发送给相应的用户设备,其中每个用户设备能够接收至少一个子编码数据。It also includes sending each of the N sub-coded data to a corresponding user equipment, wherein each user equipment is capable of receiving at least one sub-coded data.

还包括为每个子编码数据设置标题信息,其中每个子编码数据的标题信息与所生成的原始的图形编码数据的标题信息相同、不同或相关。It also includes setting header information for each sub-encoded data, wherein the header information of each sub-encoded data is the same, different or related to the header information of the generated original graphic encoded data.

还包括:接收针对于特定子编码数据进行划分的分码请求,并且根据分码请求将所述特定子编码数据划分为预定数量的孙编码数据。It also includes: receiving a code division request for division of specific sub-coded data, and dividing the specific sub-coded data into a predetermined number of grand-coded data according to the code division request.

其中所生成的原始图形编码数据包括:主定标、系统信息和备份信息,其中所述系统信息包括尺寸等级信息和纠错等级信息,并且所述备份信息包括尺寸等级信息和纠错等级信息。The generated original graphic coded data includes: primary scaling, system information and backup information, wherein 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 graphic encoding data also includes sub-scaling.

还包括在子编码数据的配置信息中包括:子编码数据的数量、子编码数据的序号和原始的图形编码数据的哈希值。Also included in the configuration information of the sub-coded data includes: the quantity of the sub-coded data, the serial number of the sub-coded data, and the hash value of the original graphic-coded data.

还包括在层级式图形编码数据的配置信息中包括:同级图形编码数据的数量、同级图形编码数据的序号和上级的图形编码数据的哈希值。Also included in the configuration information of the hierarchical graphic coding data includes: the quantity of the graphic coding data of the same level, the serial number of the graphic coding data of the same level, and the hash value of the graphic coding data of the upper level.

其中标题信息是所生成的符合编码比例的图形编码数据包括的数据信息的概要信息。The title information is the summary information of the data information included in the generated graphic encoding data conforming to the encoding scale.

其中子编码数据的数据信息包括原始的图形编码数据的码纠错等级和原始的图形编码数据的部分数据信息。The data information of the sub-coded data includes the code error correction level of the original graphic encoded data and the partial data information of the original graphic encoded data.

其中多个层级式图形编码数据中的每个层级式图形编码数据包括:上级图形编码数据的纠错等级和上级编码数据的部分数据信息。Each of the plurality of hierarchical graphic coding data includes: an error correction level of the upper-level graphic coding data and partial data information of the upper-level coding data.

所述配置信息还包括:配置信息版本号、标题信息标志位、分块标志位以及自定义配置数据。The configuration information further includes: configuration information version number, header information flag bit, block flag bit and self-defined configuration data.

所述配置信息还包括:码块总数、当前码块序号以及上级码块哈希值。The configuration information further includes: the total number of code blocks, the serial number of the current code block, and the hash value of the upper-level code block.

所述标题信息还包括压缩标志位。The header information also includes a compression flag.

还包括通过以下方式来生成经过加密的图形编码数据,为未经加密的原始的图形编码数据的标题信息生成哈希字符串,使用所述哈希字符串对所述原始的图形编码数据的数据信息进行逐字节的异或操作,对经过异或操作的图形编码数据进行加密以生成经过加密的图形编码数据。It also includes generating encrypted graphics data in the following manner, generating a hash string for the title information of the unencrypted original graphics encoding data, and using the hash string to compare the data of the original graphics encoding data. The information is subjected to a byte-by-byte XOR operation, and the XOR-operated graphics encoding data is encrypted to generate encrypted graphics encoding data.

在接收到经过加密的图形编码数据之后,对所述经过加密的图形编码数据进行解密以生成待处理的图形编码数据,为所述待处理的图形编码数据的标题信息生成哈希字符串,使用所述哈希字符串对所述待处理的图形编码数据的数据信息进行逐字节的异或操作,以获得未经加密的原始的图形编码数据。After receiving the encrypted graphics encoding data, decrypt the encrypted graphics encoding data to generate the graphics encoding data to be processed, generate a hash string for the title information of the graphics encoding data to be processed, and use The hash string performs byte-by-byte XOR operation on the data information of the to-be-processed graphics encoding data to obtain unencrypted original graphics encoding data.

所述协同服务是由多个协同设备共同完成的服务。The coordinated service is a service jointly completed by a plurality of coordinated devices.

所述协同服务的结构描述文件用于指示所述协同服务的逻辑结构,并且基于所述结构描述文件能够将所述协同服务分成多个子服务。The structure description file of the coordinated service is used to indicate the logical structure of the coordinated service, and the coordinated service can be divided into a plurality of sub-services based on the structure description file.

其中多个子服务中的每个子服务对应于相应协同设备所涉及的协同任务。Each sub-service in the plurality of sub-services corresponds to a coordinated task involved in the corresponding coordinated device.

所述多个协同设备之间的关联关系包括:同级关系、上级关系、下级关系和条件关系。The association relationship among the plurality of cooperative devices includes: a peer relationship, a superior relationship, a subordinate relationship, and a conditional relationship.

根据本发明的另一方面,提供一种通过图形编码数据进行安全的信息传递的系统,所述系统包括:According to another aspect of the present invention, there is provided a system for secure information transmission through graphic coded data, the system comprising:

比例确定装置,用于基于多个应用中每个应用用于显示图形编码数据的显示范围和单个图形编码数据的最大信息量确定每个应用用于图形编码数据的图像区域的编码比例;A scale determining device, configured to determine the coding scale of each application for the image region of the coded graphic data based on the display range of each application in the plurality of applications for displaying the coded graphic data and the maximum amount of information of a single coded graphic data;

生成装置,用于当多个应用中的特定应用希望进行信息内容的传递时,基于待传递的信息内容生成符合所述编码比例的未经加密的原始图形编码数据;a generating device, configured to generate unencrypted original graphic encoding data that conforms to the encoding ratio based on the information content to be transmitted when a specific application among the multiple applications wishes to transmit the information content;

解析装置,用于对所述待传递的信息内容进行结构解析,根据结构解析的结果将所述待传递的信息内容划分为多个信息子集;an analysis device, configured to perform structure analysis on the information content to be transmitted, and divide the information content to be transmitted into a plurality of information subsets according to the result of the structure analysis;

处理装置,用于根据每个信息子集将未经加密的原始图形编码数据的数据信息区域划分为多个子区域,并为每个子区域确定加密单元和加密方式;以及a processing device for dividing the data information area of the unencrypted original graphic coded data into a plurality of sub-areas according to each information subset, and determining an encryption unit and an encryption method for each sub-area; and

加密装置,用于针对于每个子区域,将加密单元作为最小加密对象并根据加密方式对每个加密单元进行加密,以生成经过加密的图形编码数据,并且基于所述经过加密的图形编码数据进行安全的信息传递。The encryption device is configured to, for each sub-area, take the encryption unit as the minimum encryption object and encrypt each encryption unit according to the encryption method, so as to generate encrypted graphics encoding data, and perform encryption based on the encrypted graphics encoding data. Secure information transfer.

还包括初始化装置,用于获取与用户设备相关联的应用描述信息,基于所述应用描述信息确定希望通过图形编码数据进行信息传递的多个应用;Also includes an initialization device for acquiring application description information associated with the user equipment, and determining, based on the application description information, a plurality of applications that wish to perform information transmission through the graphic coded data;

根据多个应用中每个应用的信息传递需求,确定每个应用通过单个图形编码数据进行信息传递时所需要的最大信息量;以及Determine the maximum amount of information required by each application to transmit information through a single graphic coded data according to the information transmission requirements of each of the multiple applications; and

对每个应用的用于提供图形编码数据的图形界面进行解析以确定每个应用能够用于显示图形编码数据的显示范围。The graphical interface for providing the graphically encoded data of each application is parsed to determine a display range that each application can use to display the graphically encoded data.

所述应用描述信息包括多个描述项,每个描述项的格式为<应用名称、应用类型、关联设备类型、编码数据标志位>。The application description information includes multiple description items, and the format of each description item is <application name, application type, associated device type, encoded data flag>.

所述初始化装置根据每个应用通过图形编码数据进行信息传递时所要求的数据完整性来确定每个应用的信息传递需求。The initialization device determines the information transmission requirement of each application according to the data integrity required when each application performs information transmission through the graphic coded data.

所述信息传递需求包括为了满足数据完整性所涉及的峰值数据量。The information delivery requirements include peak data volumes involved in order to satisfy data integrity.

所述初始化装置根据所述峰值数据量确定每个应用通过单个图形编码数据进行信息传递时所需要的最大信息量。The initialization device determines, according to the peak data amount, the maximum amount of information required for each application to transmit information through a single graphic coded data.

所述图形界面为每个应用的利用图形编码数据进行信息传递的界面。The graphical interface is an interface of each application for information transmission using graphical coding data.

所述显示范围是在图形界面中用于显示图形编码数据的范围。The display range is a range used to display the graphic coded data in the graphic interface.

其中所述比例确定装置基于多个应用中每个应用用于显示图形编码数据的显示范围和单个图形编码数据的最大信息量确定每个应用用于图形编码数据的图像区域的编码比例包括:Wherein, the ratio determining means determines, based on the display range of each of the multiple applications for displaying the coded graphics data and the maximum amount of information of a single coded graphics data, the coding ratio of each application used for the image region of the coded graphics data includes:

确定多个应用中每个应用用于显示图形编码数据的显示范围的长度和宽度;Determining the length and width of a display range used by each of the plurality of applications to display the graphically encoded data;

根据所述显示范围的宽度确定每个应用用于图形编码数据的图像区域的横向编码数量;According to the width of the display range, determine the horizontal encoding quantity of each application for the image area of the image encoding data;

根据所述显示范围的长度和单个图形编码数据的最大信息量确定每个应用用于图形编码数据的图像区域的纵向编码数量;以及determining the number of vertical encodings of the image area for each application for the graphics encoded data according to the length of the display range and the maximum information amount of a single graphics encoded data; and

基于横向编码数量和纵向编码数量确定每个应用用于图形编码数据的图像区域的编码比例。The encoding ratio of each application for the image region of the graphics encoded data is determined based on the horizontal encoding amount and the vertical encoding amount.

其中所述比例确定装置根据所述显示范围的长度和最大信息量确定每个应用用于图形编码数据的图像区域的纵向编码数量包括:Wherein, the ratio determining means for determining, according to the length of the display range and the maximum amount of information, determines the number of vertical encodings of the image area for each application to be used for graphic encoding data, including:

根据最大信息量和横向编码数量确定预选的纵向编码数量;Determine the preselected number of vertical encodings according to the maximum amount of information and the number of horizontal encodings;

当确定所述显示范围的长度能够容纳所述预选的纵向编码数量时,将所述预选的纵向编码数量确定为每个应用用于图形编码数据的图像区域的纵向编码数量。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 of the image area for each application for graphic encoding data.

其中所述显示范围的形状为矩形,以及所述图像区域的形状为矩形。The shape of the display area is a rectangle, and the shape of the image area is a rectangle.

其中所述显示范围的形状为长方形,以及所述图像区域的形状为长方形。The shape of the display area is a rectangle, and the shape of the image area is a rectangle.

其中所述编码比例为0.618。Wherein the encoding ratio is 0.618.

所述符合所述编码比例的未经加密的原始图形编码数据包括:配置信息、标题信息和数据信息。The unencrypted original graphic encoding data conforming to the encoding ratio includes: configuration information, title information and data information.

还包括压缩装置,对原始图形编码数据中的标题信息和/或数据信息进行压缩以生成经过压缩的图形编码数据,所述经过压缩的图形编码数据的面积小于或等于所述原始图形编码数据的面积。It also includes a compressing device that compresses the title information and/or data information in the original graphics encoding data to generate compressed graphics encoding data, the area of the compressed graphics encoding data being less than or equal to the area of the original graphics encoding data. area.

还包括基于所述经过压缩的图形编码数据进行信息传递。Also included is information transfer based on the compressed graphics encoding data.

其中所述结构解析为语义结构解析,wherein the structure parsing is semantic structure parsing,

其中所述解析装置对所述待传递的信息内容进行结构解析,根据结构解析的结果将所述待传递的信息内容划分为多个信息子集包括:The parsing device performs structure analysis on the information content to be transmitted, and divides the information content to be transmitted into multiple information subsets according to the result of the structure analysis, including:

对所述待传递的信息内容进行语义结构解析,以生成多个语义结构子单元;performing semantic structure analysis on the information content to be transmitted to generate a plurality of semantic structure subunits;

根据所述多个语义结构子单元将所述待传递的信息内容划分为多个信息子集。The information content to be transmitted is divided into a plurality of information subsets according to the plurality of semantic structure subunits.

其中所述结构解析为分隔符结构解析,where the structure parsing is delimiter structure parsing,

其中所述解析装置对所述待传递的信息内容进行结构解析,根据结构解析的结果将所述待传递的信息内容划分为多个信息子集包括:The parsing device performs structure analysis on the information content to be transmitted, and divides the information content to be transmitted into multiple information subsets according to the result of the structure analysis, including:

对所述待传递的信息内容进行分隔符结构解析,以生成多个分隔符结构子单元;Delimiter structure analysis is performed on the information content to be transmitted to generate a plurality of delimiter structure subunits;

根据所述多个分隔符结构子单元将所述待传递的信息内容划分为多个信息子集。The information content to be delivered is divided into a plurality of information subsets according to the plurality of separator structure subunits.

其中每个加密单元的加密方式是相同的或不同的。The encryption method of each encryption unit is the same or different.

所述加密方式是由提供图形编码数据的提供方预先确定的,或者所述加密方式是根据使用图形编码数据的使用方的需求来确定的。The encryption method is predetermined by the provider who provides the graphic coded data, or the encryption method is determined according to the requirements of the user who uses the graphic coded data.

所述加密单元为单个编码单元、多个编码单元或数据块。The encryption unit is a single coding unit, multiple coding units or data blocks.

其中原始图形编码数据的编码单元为圆形、矩形和椭圆形。The coding units of the original graphic coded data are circle, rectangle and ellipse.

还包括划分装置用于促使图形编码数据的提供方接收针对于协同服务的信息处理请求,其中所述信息处理请求包括与所述协同服务相关联的信息内容和所述协同服务的结构描述文件;Also included is a partitioning device configured to cause a provider of graphically encoded 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;

对所述协同服务的结构描述文件进行解析以确定所述协同服务所涉及的多个协同设备和每个协同设备所涉及的协同任务;Parsing the structure description file of the collaborative service to determine a plurality of collaborative devices involved in the collaborative service and a collaborative task involved in each collaborative device;

根据与所述协同服务相关联的信息内容生成包括数据信息的原始图形编码数据,并基于每个协同设备所涉及的协同任务将所生成的原始图形编码数据中的数据信息划分为多个子数据信息;Generates original graphic encoding data including data information according to the information content associated with the collaborative service, and divides the data information in the generated original graphic encoding data into a plurality of sub-data information based on the collaborative tasks involved in each collaborative device ;

确定所述多个协同设备之间的关联关系,并且基于所述关联关系为多个子数据信息中的每个子数据信息确定层级关系;以及determining an association relationship between the plurality of cooperating devices, and determining a hierarchical relationship for each sub-data information in the plurality of sub-data information based on the association relationship; and

基于每个子数据信息的层级关系将所生成的原始图形编码数据划分为多个层级式图形编码数据,并且将每个层级式图形编码数据分配给相应的协同设备以进行信息处理。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 allocated to a corresponding cooperative device for information processing.

在每个协同设备根据相应的层级式图形编码数据进行信息处理后,划分装置将每个协同设备通过信息处理所产生的结果进行组合以生成应答消息,将所述应答消息发送给图形编码数据的提供方。After each cooperating device performs information processing according to the corresponding hierarchical graphic coded data, the dividing means combines the results generated by each cooperating device through the information processing to generate a response message, and sends the response message to the receiver of the graphic coded data. provider.

还包括设置装置,为每个层级式图形编码数据设置标题信息,其中每个层级式图形编码数据的标题信息与所生成的原始的图形编码数据的标题信息相同、不同或相关。It also includes setting means for setting title information for each layered graphics coded data, wherein the title information of each layered graphics encoded data is the same, different or related to the title information of the generated original graphics encoded data.

还包括划分装置用于接收针对于所生成的原始图形编码数据进行划分的分码请求;It also includes a dividing device for receiving a code dividing request for dividing the generated original graphic coded data;

对所述分码请求进行解析以确定子码数量N;Parsing the code division request to determine the number N of subcodes;

将所生成的原始的图形编码数据包括的数据信息划分为N个子数据信息;以及dividing the data information included in the generated original graphic encoding data into N pieces of sub-data information; and

根据N个子数据信息将所生成的原始图形编码数据划分为N个子编码数据。The generated original graphic coded data is divided into N sub-coded data according to the N pieces of sub-data information.

所述划分装置将N个子编码数据中的每个发送给相应的用户设备,其中每个用户设备能够接收至少一个子编码数据。The dividing means sends each of the N sub-coded data to a corresponding user equipment, wherein each user equipment is capable of receiving at least one sub-coded data.

还包括设置装置,为每个子编码数据设置标题信息,其中每个子编码数据的标题信息与所生成的原始的图形编码数据的标题信息相同、不同或相关。It also includes setting means for setting header information for each sub-coded data, wherein the header information of each sub-coded data is the same as, different from or related to the header information of the generated original graphic coded data.

所述划分装置接收针对于特定子编码数据进行划分的分码请求,并且根据分码请求将所述特定子编码数据划分为预定数量的孙编码数据。The dividing means receives a code dividing request for dividing specific sub-coded data, and divides the specific sub-coded data into a predetermined number of grand-coded data according to the code dividing request.

其中所生成的原始图形编码数据包括:主定标、系统信息和备份信息,其中所述系统信息包括尺寸等级信息和纠错等级信息,并且所述备份信息包括尺寸等级信息和纠错等级信息。The generated original graphic coded data includes: primary scaling, system information and backup information, wherein 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 graphic encoding data also includes sub-scaling.

还包括设置装置,在子编码数据的配置信息中包括:子编码数据的数量、子编码数据的序号和原始的图形编码数据的哈希值。A setting device is also included, and the configuration information of the sub-coded data includes: the quantity of the sub-coded data, the serial number of the sub-coded data, and the hash value of the original graphic-coded data.

还包括在层级式图形编码数据的配置信息中包括:同级图形编码数据的数量、同级图形编码数据的序号和上级的图形编码数据的哈希值。Also included in the configuration information of the hierarchical graphic coding data includes: the quantity of the graphic coding data of the same level, the serial number of the graphic coding data of the same level, and the hash value of the graphic coding data of the upper level.

其中标题信息是所生成的符合编码比例的图形编码数据包括的数据信息的概要信息。The title information is the summary information of the data information included in the generated graphic encoding data conforming to the encoding scale.

其中子编码数据的数据信息包括原始的图形编码数据的码纠错等级和原始的图形编码数据的部分数据信息。The data information of the sub-coded data includes the code error correction level of the original graphic encoded data and the partial data information of the original graphic encoded data.

其中多个层级式图形编码数据中的每个层级式图形编码数据包括:上级图形编码数据的纠错等级和上级编码数据的部分数据信息。Each of the plurality of hierarchical graphic coding data includes: an error correction level of the upper-level graphic coding data and partial data information of the upper-level coding data.

所述配置信息还包括:配置信息版本号、标题信息标志位、分块标志位以及自定义配置数据。The configuration information further includes: configuration information version number, header information flag bit, block flag bit and self-defined configuration data.

所述配置信息还包括:码块总数、当前码块序号以及上级码块哈希值。The configuration information further includes: the total number of code blocks, the serial number of the current code block, and the hash value of the upper-level code block.

所述标题信息还包括压缩标志位。The header information also includes a compression flag.

所述加密装置通过以下方式来生成经过加密的图形编码数据,为未经加密的原始的图形编码数据的标题信息生成哈希字符串,使用所述哈希字符串对所述原始的图形编码数据的数据信息进行逐字节的异或操作,对经过异或操作的图形编码数据进行加密以生成经过加密的图形编码数据。The encrypting device generates encrypted graphic coded data in the following manner, generates a hash string for the title information of the unencrypted original graphic coded data, and uses the hash string to perform a hash on the original graphic coded data. Byte-by-byte XOR operation is performed on the data information, and the XOR-operated graphics encoding data is encrypted to generate encrypted graphics encoding data.

在接收到经过加密的图形编码数据之后,对所述经过加密的图形编码数据进行解密以生成待处理的图形编码数据,为所述待处理的图形编码数据的标题信息生成哈希字符串,使用所述哈希字符串对所述待处理的图形编码数据的数据信息进行逐字节的异或操作,以获得未经加密的原始的图形编码数据。After receiving the encrypted graphics encoding data, decrypt the encrypted graphics encoding data to generate the graphics encoding data to be processed, generate a hash string for the title information of the graphics encoding data to be processed, and use The hash string performs byte-by-byte XOR operation on the data information of the to-be-processed graphics encoding data to obtain unencrypted original graphics encoding data.

所述协同服务是由多个协同设备共同完成的服务。The coordinated service is a service jointly completed by a plurality of coordinated devices.

所述协同服务的结构描述文件用于指示所述协同服务的逻辑结构,并且基于所述结构描述文件能够将所述协同服务分成多个子服务。The structure description file of the coordinated service is used to indicate the logical structure of the coordinated service, and the coordinated service can be divided into a plurality of sub-services based on the structure description file.

其中多个子服务中的每个子服务对应于相应协同设备所涉及的协同任务。Each sub-service in the plurality of sub-services corresponds to a coordinated task involved in the corresponding coordinated device.

所述多个协同设备之间的关联关系包括:同级关系、上级关系、下级关系和条件关系。The association relationship among the plurality of cooperative devices includes: a peer relationship, a superior relationship, a subordinate relationship, and a conditional relationship.

根据本发明的再一方面,提供一种移动终端,包括或用于执行如上所述的系统。According to yet another aspect of the present invention, there is provided a mobile terminal comprising or for executing the system as described above.

附图说明Description of drawings

通过参考下面的附图,可以更为完整地理解本发明的示例性实施方式:Exemplary embodiments of the present invention may be more fully understood by reference to the following drawings:

图1为根据本发明优选实施方式的通过图形编码数据进行安全的信息传递的方法的流程图;FIG. 1 is a flow chart of a method for secure information transmission through graphic coded data according to a preferred embodiment of the present invention;

图2为现有技术中的QR码的示意图;2 is a schematic diagram of a QR code in the prior art;

图3为根据本发明优选实施方式的图形编码数据的示意图;FIG. 3 is a schematic diagram of graphics encoded data according to a preferred embodiment of the present invention;

图4为根据本发明优选实施方式的图形编码数据的整体结构的示意图;FIG. 4 is a schematic diagram of the overall structure of the graphic encoding data according to the preferred embodiment of the present invention;

图5为根据本发明另一优选实施方式的图形编码数据的整体结构的示意图;FIG. 5 is a schematic diagram of the overall structure of the graphic coded data according to another preferred embodiment of the present invention;

图6为根据本发明优选实施方式的对图形编码数据进行划分的示意图;6 is a schematic diagram of dividing graphic coded data according to a preferred embodiment of the present invention;

图7为根据本发明优选实施方式的子码的整体结构的示意图;7 is a schematic diagram of an overall structure of a subcode according to a preferred embodiment of the present invention;

图8为根据本发明优选实施方式的主定标和子定标的示意图;FIG. 8 is a schematic diagram of a main calibration and a sub-calibration according to a preferred embodiment of the present invention;

图9为根据本发明优选实施方式的码元结构的示意图;9 is a schematic diagram of a symbol structure according to a preferred embodiment of the present invention;

图10为根据本发明优选实施方式的通过图形编码数据进行安全的信息传递的示意图;以及FIG. 10 is a schematic diagram of secure information transfer through graphically encoded data according to a preferred embodiment of the present invention; and

图11为根据本发明优选实施方式的通过图形编码数据进行安全的信息传递的系统的结构示意图。FIG. 11 is a schematic structural diagram of a system for secure information transmission through graphic coded data according to a preferred embodiment of the present invention.

具体实施方式Detailed ways

现在参考附图介绍本发明的示例性实施方式,然而,本发明可以用许多不同的形式来实施,并且不局限于此处描述的实施例,提供这些实施例是为了详尽地且完全地公开本发明,并且向所属技术领域的技术人员充分传达本发明的范围。对于表示在附图中的示例性实施方式中的术语并不是对本发明的限定。在附图中,相同的单元/元件使用相同的附图标记。Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for the purpose of this thorough and complete disclosure invention, and 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 invention. In the drawings, the same elements/elements are given the same reference numerals.

除非另有说明,此处使用的术语(包括科技术语)对所属技术领域的技术人员具有通常的理解含义。另外,可以理解的是,以通常使用的词典限定的术语,应当被理解为与其相关领域的语境具有一致的含义,而不应该被理解为理想化的或过于正式的意义。Unless otherwise defined, terms (including scientific and technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is to be understood that terms defined in commonly used dictionaries should be construed as having meanings consistent with the context in the related art, and should not be construed as idealized or overly formal meanings.

图1为根据本发明优选实施方式的通过图形编码数据进行安全的信息传递的方法100的流程图。如图1所示,方法100从步骤101处开始。FIG. 1 is a flowchart of a method 100 for secure information transfer through graphically encoded data according to a preferred embodiment of the present invention. As shown in FIG. 1 , method 100 begins at step 101 .

在步骤101,基于多个应用中每个应用用于显示图形编码数据的显示范围和单个图形编码数据的最大信息量确定每个应用用于图形编码数据的图像区域的编码比例。其中基于所述用于显示图形编码数据的显示范围和最大信息量确定每个应用用于图形编码数据的图像区域的编码比例包括:确定所述用于显示图形编码数据的显示范围的长度和宽度。目前,移动终端(例如,手机)的外形以长方形或近似长方形的形状居多。为此,移动终端的显示屏幕的显示平面也通常为长方形或近似长方形,即移动终端和显示屏幕均存在宽度和长度。通常,长度要大于宽度,并且在本申请中长度和宽度不会随着移动终端的横置和纵置进行变化。本申请所确定的显示范围的长度和宽度是能够用于显示图形编码数据的最大的显示区域或范围。In step 101 , an encoding ratio of an image region of each application for displaying the encoded graphics data is determined based on a display range of each of the multiple applications for displaying the encoded graphics data and the maximum information amount of a single encoded graphics data. Wherein, determining the encoding ratio of the image area for each application for displaying the encoded graphic data based on the display range for displaying the encoded graphic data and the maximum amount of information includes: determining the length and width of the display range for displaying the encoded graphic data . At present, the shape of a mobile terminal (for example, 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 usually rectangular or approximately rectangular, that is, both the mobile terminal and the display screen have a width and a length. Generally, the length is greater than the width, and in this application, the length and width will not change with the horizontal and vertical positions of the mobile terminal. The length and width of the display range determined in the present application are the largest display area or range that can be used to display graphic encoded data.

根据所述显示范围的宽度确定每个应用用于图形编码数据的图像区域的横向编码数量。通常,用于图形编码数据的图像区域的横向编码所占用的宽度要小于显示范围的宽度。如图3所示,横向编码的宽度例如是位于图像编码数据上面部分的两个主定标311-1和311-2(包含自身)之间的距离,并且纵向编码的宽度例如是位于图像编码数据上面部分的两个主定标311-2和311-3(包括自身)之间的距离。应当了解的是,当图形编码数据所包含的数据信息较少时,图形编码数据的宽度不会占满显示范围的宽度。即,所述显示范围的宽度可以被认为是每个应用用于图形编码数据的图像区域的最大宽度,并且基于图像区域的最大宽度和码元(或1/4个码元)的尺寸来确定横向编码的最大数量。According to the width of the display range, each application is used to determine the number of horizontal encoding of the image area of the image encoding data. Generally, the width occupied by the horizontal encoding of the image area used for the graphic encoding data is smaller 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 itself) located in the upper part of the image encoding data, and the width of the vertical encoding is, for example, the width of the image encoding The distance between the two main scales 311-2 and 311-3 (including itself) of the upper part of the data. It should be understood that, when the graphic coded data contains less data information, the width of the graphic coded data will not occupy the full width of the display range. That is, the width of the display range can be considered as the maximum width of the image area for each application for the graphics encoded data, and is determined based on the maximum width of the image area and the size of a symbol (or 1/4 symbol) Maximum number of horizontal encodings.

根据所述显示范围的长度和最大信息量确定每个应用用于图形编码数据的图像区域的纵向编码数量。其中根据所述显示范围的长度和最大信息量确定每个应用用于图形编码数据的图像区域的纵向编码数量包括:根据最大信息量和横向编码数量确定预选的纵向编码数量。图形编码数据的数据信息所涉及的最大信息量确定了图形编码数据的面积,例如,基于最大信息量和码元(或1/4个码元)的尺寸能够确定图形编码数据的面积。例如,在用于图形编码数据的图像区域的横向编码数量被确定的情况下,可以根据显示范围的长度和最大信息量确定每个应用用于图形编码数据的图像区域的纵向编码数量。这是因为单个图形编码数据的最大信息量能够确定这个图形编码数据的码元数,并且根据码元数和横向编码数量可以确定纵向编码数量。According to the length of the display range and the maximum amount of information, each application is used to determine the number of vertical encoding of the image area of the image encoded data. Wherein, determining the vertical encoding quantity of each application for the image area of the graphic coded data according to the length of the display range and the maximum information amount includes: determining a preselected vertical encoding quantity according to the maximum information amount and the horizontal encoding quantity. The maximum amount of information involved in the data information of the graphics encoded data determines the area of the graphics encoded data, for example, the area of the graphics encoded data can be determined based on the maximum amount of information and the size of a symbol (or 1/4 symbol). For example, in the case where the horizontally encoded number of image regions for graphics encoded data is determined, the vertically encoded number of image regions for graphics encoded data per application may be determined according to the length of the display range and the maximum amount of information. This is because the maximum information amount of a single graphic coded data can determine the number of symbols of this graphic coded data, and the number of vertical codes can be determined according to 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 of the image area for each application for graphic encoding data. When it is determined that the length of the display range cannot accommodate the preselected number of longitudinally encoded data, the maximum number of longitudinally encoded data that can be accommodated in the display range is determined as the number of longitudinally encoded image regions used for graphic encoded data for each application.

应当了解的是,针对于单个图形编码数据,码元或1/4码元(1/4码元是图形编码数据的基本数据单元,代表1或0)的尺寸(显示尺寸或呈现尺寸)越小,则单个图形编码数据所能容纳的信息(系统信息、标题信息和数据信息)更多。It should be understood that for a single graphic coded data, the size (display size or presentation size) of a symbol or 1/4 symbol (1/4 symbol is the basic data unit of graphic coded data, representing 1 or 0) is higher. If the value is small, the information (system information, title information and data information) that can be accommodated in a single graphic coded data is more.

基于横向编码数量和纵向编码数量确定每个应用用于图形编码数据的图像区域的编码比例。例如,特定应用横向编码数量为62个并且纵向编码数量100个,那么特定应用用于图形编码数据的图像区域的编码比例为0.62。在本申请的优选实施方式中,编码比例为0.618。The encoding ratio of each application for the image region of the graphics encoded data is determined based on the horizontal encoding amount and the vertical encoding amount. For example, if the number of horizontal encodings in a specific application is 62 and the number of vertical encodings is 100, the encoding ratio of the image area used for the graphics encoding data in the specific application is 0.62. In a preferred embodiment of the present application, the coding ratio is 0.618.

在步骤102,当多个应用中的特定应用希望进行信息内容的传递时,基于待传递的信息内容生成符合所述编码比例的未经加密的原始图形编码数据。当多个应用中的特定应用希望进行信息传递时,所述特定应用生成符合所述编码比例的原始的图形编码数据,并且基于符合编码比例的原始的图形编码数据进行信息传递。符合编码比例的原始的图形编码数据可以包括三个主定标、系统信息区域和备份信息区域。其中三个主定标用于为扫码器或解码器确定图形编码数据的位置。主定标负责图像识别和图形编码数据的定位。In step 102, when a specific application among the plurality of applications wishes to transmit information content, unencrypted original graphic encoding data that conforms to the encoding ratio is generated based on the information content to be transmitted. When a specific application among the plurality of applications wishes to transmit information, the specific application generates original graphic encoding data conforming to the encoding scale, and transmits information based on the original graphic encoding data conforming to the encoding scale. 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 the main scales are used to locate the graphics encoded data for the scanner or decoder. The main calibration is responsible for image recognition and localization of the image-encoded data.

系统信息区域包括两个码元,其中每个码元可以指示4个二进制数据位或比特。系统信息区域利用6个比特来表示图形编码数据的尺寸等级,即0-63级,并且利用2个比特来表示图形编码数据的纠错等级,即0-3级。系统信息区域位于图形编码数据的左上角。备份信息区域与系统信息区域的内容设置完全相同,并且相同图形编码数据的系统信息区域和备份信息区域内的内容相同。备份信息区域位于图形编码数据的右下角。应当了解的是,备份信息区域与系统信息区域可以被设置在图形编码数据的任何合理位置处。The system information region includes two symbols, where each symbol may indicate 4 bits or bits of binary data. The system information area uses 6 bits to represent the size level of the graphics coded data, ie, levels 0-63, and uses 2 bits to represent the error correction level of the graphics coded data, ie, levels 0-3. The system information area is located in the upper left corner of the graphic encoded data. The content settings of the backup information area and the system information area are exactly the same, and the contents of the system information area and the backup information area of the same graphic coded data are the same. The backup information area is located in 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 located at any reasonable location in the graphics encoded data.

此外,符合编码比例的原始的图形编码数据还可以包括子定标,并且子定标的数量可以是0个或至少一个。子定标用于进行辅助定位,即对图形编码数据中的编码数据进行辅助定位。例如,子定标负责图形编码数据中的码元定位。当图形编码数据所传递的信息越多时,所需要的子定标的数量越多。In addition, the original graphic encoding data conforming to the encoding scale may further include subscales, and the number of subscales may be zero or at least one. The sub-scaling is used for auxiliary positioning, that is, auxiliary positioning is performed on the encoded data in the graphic encoded data. For example, subscaling is responsible for symbol positioning in graphics encoded data. The greater the number of subscales required, the more information conveyed by the graphics coded data.

符合编码比例的原始的图形编码数据包括:配置信息、标题信息和数据信息。配置信息可以包括以下内容:版本号、标题信息标志位、分块标志位、数据信息配置、用户自定义配置数据、标题信息配置以及分块配置信息。其中版本号占用2比特:版本号从00到11(0-3),一共能表示4个版本。标题信息标志位占用1比特:标识是否有标题信息:1->有标题;0->无标题。分块标志位占用1比特:用于标识当前图像编码数据是否为分块:1->当前图形编码数据是子码;0->当前图形编码数据是母码。用户自定义配置数据占用2位:从00到11(0-3),一共能表示4种自定义的配置数据版本。The original graphic encoding data conforming to the encoding ratio includes: configuration information, title information and data information. The configuration information may include the following contents: version number, title information flag bit, block flag bit, data information configuration, user-defined configuration data, title information configuration, and block configuration information. The version number occupies 2 bits: the version number is from 00 to 11 (0-3), which can represent a total of 4 versions. The header information flag bit occupies 1 bit: it identifies whether there is header information: 1->with header; 0->without header. The block flag bit occupies 1 bit: it is used to identify whether the current image encoding data is a block: 1-> the current image encoding data is a child code; 0-> the current image encoding data is a mother code. User-defined configuration data occupies 2 bits: from 00 to 11 (0-3), a total of 4 customized configuration data versions can be represented.

数据信息配置占用16位并且包括:加密方式、zip标志位、数据类型以及数据长度。其中加密方式占用2位:00->未加密;01->默认AESCTR加密;10->系统预留;11->用户自定义加密。Zip标志位占用1位:1->内容为zip加密后的编码;0->内容为正常编码。数据类型占用1位:0->UTF-8文本;1->二进制。数据长度占用12位:用于指示数据信息所包括的字节信息(最大4095字节)。The data information configuration occupies 16 bits and includes: encryption method, zip flag bit, data type and data length. The encryption method occupies 2 bits: 00->unencrypted; 01->default AESCTR encryption; 10->system reserved; 11->user-defined encryption. The Zip flag occupies 1 bit: 1->the content is the zip-encrypted encoding; 0->the content is the normal encoding. The data type occupies 1 bit: 0->UTF-8 text; 1->binary. The data length occupies 12 bits: used to indicate the byte information included in the data information (maximum 4095 bytes).

标题信息配置占用9位并且包括:zip标志位和数据长度。其中zip标志位占用1位:1->标题为zip加密后的编码;0->标题为正常编码。数据长度占用8位:用于指示标题信息所包括的字节信息(最大255字节)。The header information configuration occupies 9 bits and includes: zip flag bit and data length. The zip flag occupies 1 bit: 1->the title is the zip-encrypted code; 0->the title is the normal code. The data length occupies 8 bits: used to indicate the byte information (maximum 255 bytes) included in the header information.

分块配置信息占用70位并且包括:块总数、块号以及母块的哈希值。其中块总数(子码总数)占用3位:从000到111(0-7),一共能表示8块数量,000->共1块;001->共2块;……。块号(子码序号)占用3位:从000到111(0-7),代表当前块号索引,000->第1块;001->第2块;……。母块哈希值占用64位:用于识别多个子块是否是同一母块的子块并且识别子块合并的母块是否正确。其中64位哈希值可以通过对128位哈希值进行选择性截取来获得。The block configuration information occupies 70 bits and includes: the total number of blocks, the block number, and the hash value of the parent block. The total number of blocks (total number of subcodes) occupies 3 bits: from 000 to 111 (0-7), a total of 8 blocks can be represented, 000->1 block in total; 001->2 blocks in total; ……. The block number (subcode sequence number) occupies 3 bits: from 000 to 111 (0-7), representing the index of the current block number, 000->1st block; 001->2nd block;  …. The hash value of the parent block occupies 64 bits: it is used to identify whether multiple child blocks are child blocks of the same parent block and whether the parent block combined with the child blocks is correct. The 64-bit hash value can be obtained by selectively intercepting the 128-bit hash value.

标题信息用于指示作为母码的图形编码数据或作为子码的图形编码数据的标题。数据信息是作为母码的图形编码数据或作为子码的图形编码数据所希望传递/表达的数据内容。The title information is used to indicate the title of the picture coded data as the mother code or the picture coded data as the child code. The data information is the data content desired to be conveyed/expressed as the image coded data of the mother code or the image coded data as the child code.

在步骤103,对所述待传递的信息内容进行结构解析,根据结构解析的结果将所述待传递的信息内容划分为多个信息子集。本申请对数据信息进行结构解析,根据结构解析的结果将所述数据信息划分为多个信息子集。其中所述结构解析包括语义结构解析和分隔符结构解析。当所述结构解析为语义结构解析时,对所述待传递的信息内容进行结构解析,根据结构解析的结果将所述待传递的信息内容划分为多个信息子集包括:对所述待传递的信息内容进行语义结构解析,以生成多个语义结构子单元;根据所述多个语义结构子单元将所述待传递的信息内容划分为多个信息子集。当所述结构解析为分隔符结构解析时,对所述待传递的信息内容进行结构解析,根据结构解析的结果将所述待传递的信息内容划分为多个信息子集包括:对所述待传递的信息内容进行分隔符结构解析,以生成多个分隔符结构子单元;根据所述多个分隔符结构子单元将所述待传递的信息内容划分为多个信息子集。In step 103, structure analysis is performed on the information content to be transmitted, and the information content to be transmitted is divided into multiple information subsets according to the result of the structure analysis. The present application performs structure analysis on data information, and divides the data information into multiple information subsets according to the results of the structure analysis. The structure parsing includes semantic structure parsing and delimiter structure parsing. When the structure parsing is semantic structure parsing, structure parsing is performed on the information content to be delivered, and dividing the information content to be delivered into multiple information subsets according to the result of the structural parsing includes: analyzing the information content to be delivered Semantic structure analysis is performed on the information content of the device to generate a plurality of semantic structure subunits; the information content to be transmitted is divided into a plurality of information subsets according to the plurality of semantic structure subunits. When the structure parsing is delimiter structure parsing, structure parsing is performed on the information content to be transmitted, and dividing the information content to be transmitted into multiple information subsets according to the result of the structure parsing includes: analyzing the information content to be transmitted The transmitted information content is subjected to delimiter structure analysis to generate a plurality of delimiter structure subunits; the information content to be transmitted is divided into a plurality of information subsets according to the plurality of delimiter structure subunits.

在步骤104,根据每个信息子集将未经加密的原始图形编码数据的数据信息区域划分为多个子区域,并为每个子区域确定加密单元和加密方式。根据每个信息子集将未经加密的原始的图形编码数据的数据信息区域划分为多个子区域,并为每个子区域确定加密单元和加密方式。此外,每个加密单元的加密方式是相同的或不同的。加密方式是由提供图形编码数据的提供方(例如,编码制定方、编码联盟等)预先确定的,或者所述加密方式是根据使用图形编码数据的使用方的需求来确定的。所述加密单元为单个编码单元、多个编码单元或数据块。在本申请中,单个编码单元可以为如图9所示的码元。数据块可以是按照语义或分割符从数据信息中所选择的数据集合。In step 104, the data information area of the unencrypted original graphic coded data is divided into a plurality of sub-areas according to each information subset, and an encryption unit and an encryption method are determined for each sub-area. According to each information subset, the data information area of the unencrypted original graphic coded data is divided into a plurality of sub-areas, and the encryption unit and the encryption method are determined for each sub-area. In addition, the encryption method of each encryption unit is the same or different. The encryption method is pre-determined by the provider (for example, the encoding developer, the encoding alliance, etc.) that provides the graphics encoded data, or the encryption method is determined according to the needs of the user who uses the graphics encoded data. The encryption unit is a single coding unit, multiple coding units or data blocks. In this application, a single coding unit may be a symbol as shown in FIG. 9 . A data block may be a set of data selected from data information according to semantics or delimiters.

在步骤105,针对于每个子区域,将加密单元作为最小加密对象并根据加密方式对每个加密单元进行加密,以生成经过加密的图形编码数据,并且基于所述经过加密的图形编码数据进行安全的信息传递。针对于每个子区域,将加密单元作为最小加密对象并根据加密方式对每个加密单元进行加密,以生成经过加密的图形编码数据。即,将未经加密的原始的图形编码数据分为多个对象进行相同或不同的加密处理。替换地,本申请还为未经加密的原始的图形编码数据确定加密单元和加密方式;以及将加密单元作为最小加密对象并根据加密方式对每个加密单元进行加密,以生成经过加密的图形编码数据。即,将未经加密的原始的图形编码数据作为整体处理对象进行加密处理。In step 105, for each sub-area, the encryption unit is taken as the minimum encryption object and each encryption unit is encrypted according to the encryption method, so as to generate encrypted graphics encoding data, and perform security based on the encrypted graphics encoding data. information transfer. For each sub-region, the encryption unit is taken as the minimum encryption object, and each encryption unit is encrypted according to the encryption method, so as to generate the encrypted graphic encoding data. That is, the original unencrypted graphic coded data is divided into a plurality of objects and subjected to the same or different encryption processes. Alternatively, the present application also determines an encryption unit and an encryption method for the unencrypted original graphics code data; and the encryption unit is used as the minimum encryption object and each encryption unit is encrypted according to the encryption method, to generate an encrypted graphics code. data. That is, the encryption processing is performed using the unencrypted original graphics coded data as the entire processing object.

在基于多个应用中每个应用用于显示图形编码数据的显示范围和单个图形编码数据的最大信息量确定每个应用用于图形编码数据的图像区域的编码比例之前还包括:Before determining the encoding ratio of the image area used by each application for the graphic encoded data based on the display range for displaying the graphic encoded data and the maximum amount of information of a single graphic encoded data among the multiple applications, the method further includes:

获取与用户设备相关联的应用描述信息,基于所述应用描述信息确定希望通过图形编码数据进行信息传递的多个应用。应用描述信息包括多个描述项,每个描述项的格式为<应用名称、应用类型、关联设备类型、编码数据标志位>。例如,<支付宝、支付类型、iOS、是>和<支付宝、支付类型、Andriod、是>用于表示支付宝应用属于支付类型的应用,并且无论是iOS操作系统或Andriod操作系统中均需要使用图形编码数据。通常,可以由应用的提供方、操作系统的提供方、应用商店、用户设备自身来设置描述项,并且将所设置的多个描述项来形成与用户设备相关联的应用描述信息。由此可知,通过对应用描述信息中每个描述项的解析可以确定希望通过图形编码数据进行信息传递的每个应用。Obtain application description information associated with the user equipment, and determine, based on the application description information, a plurality of applications that wish to perform information transmission through the graphic coded data. The application description information includes multiple description items, and the format of each description item is <application name, application type, associated device type, encoded data flag>. For example, <Alipay, Payment Type, iOS, Yes> and <Alipay, Payment Type, Andriod, Yes> are used to indicate that the Alipay application is a payment type application, and graphics coding needs to be used in either the iOS operating system or the Android operating system data. Generally, description items may be set by the provider of the application, the provider of the operating system, the application store, and the user equipment itself, and the set multiple description items are used to form application description information associated with the user equipment. It can be seen from this that, by analyzing each description item in the application description information, it is possible to determine each application that wishes to transmit information through the graphic coded data.

根据多个应用中每个应用的信息传递需求,确定每个应用通过单个图形编码数据进行信息传递时所需要的最大信息量。本申请根据每个应用通过图形编码数据进行信息传递时所要求的数据完整性来确定每个应用的信息传递需求。其中,数据完整性是每个应用通过图形编码数据进行信息传递时,为了保证信息完整不被分割所需要的最大可能数据量,即峰值数据量。其中信息传递需求包括为了满足数据完整性所涉及的峰值数据量。本申请根据所述峰值数据量确定每个应用通过单个图形编码数据进行信息传递时所需要的最大信息量。例如,本申请可以将峰值数据量作为最大信息量、将峰值数据量的1.2倍作为最大信息量、将峰值数据量的0.9倍作为最大信息量。According to the information transmission requirements of each application in the multiple applications, determine the maximum amount of information required by each application to transmit information through a single graphic coded data. The present application determines the information transmission requirements of each application according to the data integrity required for each application to transmit information through graphic coded data. The data integrity is the maximum possible amount of data required to ensure that the information is complete and not divided when each application transmits information through the graphic coded data, that is, the peak data amount. Among them, the information transfer requirements include the peak data volume involved in order to meet the data integrity. The present application determines, according to the peak data amount, the maximum amount of information required for each application to transmit information through a single graphic coded data. For example, the present application may take the peak data amount as the maximum information amount, take 1.2 times the peak data amount as the maximum information amount, and take 0.9 times the peak data amount as the maximum information amount.

对每个应用的用于提供图形编码数据的图形界面进行解析以确定每个应用能够用于显示图形编码数据的显示范围。其中图形界面为每个应用的利用图形编码数据进行信息传递的界面。例如,支付宝的用于提供图形编码数据的图形界面包括:表示支付的二维码、表示支付的条形码、银行卡信息、会员等级、提示信息等内容。显示范围是在图形界面中用于显示图形编码数据的范围,即图形界面表示支付的二维码的区域。在本申请中,显示范围的形状为矩形并且所述图像区域的形状为矩形。即,显示范围的形状为正方形或长方形并且所述图像区域的形状为正方形或长方形。如图3所示,显示范围的形状为长方形,以及所述图像区域的形状为长方形。The graphical interface for providing the graphically encoded data of each application is parsed to determine a display range that each application can use to display the graphically encoded data. The graphical interface is an interface for each application to transmit information using graphically encoded data. For example, Alipay's graphical interface for providing graphically encoded data includes: a two-dimensional code representing payment, a barcode representing payment, bank card information, membership level, prompt information, and the like. The display range is the range used to display the graphic coded data in the graphic interface, that is, the area where the graphic interface represents the two-dimensional code for payment. In the present application, the shape of the display area is a rectangle and the shape of the image area is a rectangle. That is, the shape of the display area 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 area is a rectangle, and the shape of the image area is a rectangle.

本申请还包括对原始的图形编码数据中的标题信息和/或数据信息进行压缩以生成经过压缩的图形编码数据,所述经过压缩的图形编码数据的面积小于或等于所述原始的图形编码数据的面积。例如,通过zip方式对原始的图形编码数据中的标题信息和/或数据信息进行压缩以生成经过压缩的图形编码数据,经过zip压缩的图形编码数据的面积小于或等于所述原始的图形编码数据的面积。这是因为标题信息和/或数据信息被压缩后,可能会导致图形编码数据的长度或宽度变短。本申请还包括基于所述经过压缩的图形编码数据进行信息传递。The present application also includes compressing the title information and/or data information in the original graphics encoding data to generate compressed graphics encoding data, the compressed graphics encoding data having an area smaller than or equal to the original graphics encoding data area. For example, the title information and/or data information in the original graphic encoding data is compressed in a zip manner to generate compressed graphic encoding data, and the area of the zip-compressed graphic encoding data is smaller than or equal to the original graphic encoding data area. This is because the compressed header information and/or data information may result in a shortened length or width of the graphics encoded data. The present application also includes information transfer based on the compressed graphics encoded data.

其中所生成的原始的图形编码数据的编码单元为圆形、矩形和椭圆形,如图3所示。The coding units of the generated original graphic coding data are circle, rectangle and ellipse, as shown in FIG. 3 .

本申请促使图形编码数据的提供方接收针对于协同服务的信息处理请求,其中所述信息处理请求包括与所述协同服务相关联的信息内容和所述协同服务的结构描述文件。协同服务是由多个协同设备共同完成的服务。其中当图形编码数据的提供方确定所生成的图形编码数据涉及协同服务时,生成针对于协同服务的信息处理请求。与所述协同服务相关联的信息内容是为了完成所述协同服务所需要的任务信息。协同服务的结构描述文件用于指示所述协同服务的逻辑结构,并且基于所述结构描述文件能够将所述协同服务分成多个子服务。其中多个子服务中的每个子服务对应于相应协同设备所涉及的协同任务。The present application causes a provider of graphically encoded 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 for the collaborative service. A collaborative service is a service completed by multiple collaborative devices. Wherein, when the provider of the graphics encoding data determines that the generated graphics encoding data involves 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 coordinated service is used to indicate the logical structure of the coordinated service, and the coordinated service can be divided into a plurality of sub-services based on the structure description file. Each sub-service in the plurality of sub-services corresponds to a coordinated task involved in the corresponding coordinated device.

对所述协同服务的结构描述文件进行解析以确定所述协同服务所涉及的多个协同设备和每个协同设备所涉及的协同任务,具体包括:对所述协同服务的结构描述文件进行解析以确定所述协同服务的多个子服务;确定多个子服务中每个子服务所涉及的协同设备;对每个子服务的服务内容进行解析以确定协同任务;以及确定每个协同设备所涉及的协同任务。Parsing the structure description file of the coordinated service to determine the multiple coordinated devices involved in the coordinated service and the coordinated tasks involved in each coordinated device, specifically including: parsing the structure description file of the coordinated service to Determine multiple sub-services of the coordinated service; determine a coordinated device involved in each sub-service in the multiple sub-services; parse the service content of each sub-service to determine a coordinated task; and determine a coordinated task involved in each coordinated device.

根据与所述协同服务相关联的信息内容生成包括数据信息的原始的图形编码数据,并基于每个协同设备所涉及的协同任务将所生成的原始的图形编码数据中的数据信息划分为多个子数据信息。其中根据与所述协同服务相关联的信息内容生成包括数据信息的原始的图形编码数据包括:将与所述协同服务相关联的信息内容作为数据信息,并且生成包括所述数据信息的原始的图形编码数据。其中基于每个协同设备所涉及的协同任务将原始的图形编码数据中的数据信息划分为多个子数据信息包括:确定与每个协同设备所涉及的协同任务相关联的协同数据;基于每个协同设备的协同数据将原始的图形编码数据中的数据信息划分为多个子数据信息。Generate original graphics encoding data including data information according to the information content associated with the collaborative service, and divide the data information in the generated original graphics encoding data into a plurality of subsections based on the collaborative tasks involved in each collaborative device Data information. Wherein, generating the original graphic encoding data including the data information according to the information content associated with the collaborative service includes: taking the information content associated with the collaborative service as the data information, and generating the original graphic including the data information encoded data. Wherein, dividing the data information in the original graphics coding data into multiple sub-data information based on the collaborative tasks involved in each collaborative device includes: determining the collaborative data associated with the collaborative tasks involved in each collaborative device; The collaborative data of the device divides the data information in the original graphic coded data into a plurality of sub-data information.

确定所述多个协同设备之间的关联关系,并且基于所述关联关系为多个子数据信息中的每个子数据信息确定层级关系。所述多个协同设备之间的关联关系包括:同级关系、上级关系、下级关系和条件关系。基于所述关联关系为多个子数据信息中的每个子数据信息确定层级关系包括:当关联关系为同级关系或条件关系时,将多个子数据信息中的每个子数据信息确定层级关系确定为相同层级关系;当关联关系为上级关系或下级关系时,将多个子数据信息中的每个子数据信息确定层级关系确定为不同层级关系。An association relationship between the plurality of cooperating devices is determined, and a hierarchical relationship is determined for each of the plurality of sub-data information based on the association relationship. The association relationship among the plurality of cooperative devices includes: a peer relationship, a superior relationship, a subordinate relationship, and a conditional relationship. Determining the hierarchical relationship for each sub-data information in the plurality of sub-data information based on the association relationship includes: when the association relationship is a sibling relationship or a conditional relationship, determining the hierarchical relationship for each sub-data information in the plurality of sub-data information as the same Hierarchical relationship; when the association relationship is a superior relationship or a subordinate relationship, the hierarchical relationship of each sub-data information in the plurality of sub-data information is determined as a different hierarchical relationship.

基于每个子数据信息的层级关系将所生成的原始的图形编码数据划分为多个层级式图形编码数据,并且将每个层级式图形编码数据分配给相应的协同设备以进行信息处理。本申请为每个层级式图形编码数据设置标题信息,其中每个层级式图形编码数据的标题信息与所生成的原始的图形编码数据的标题信息相同、不同或相关。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 allocated to a corresponding cooperative device for information processing. The present application sets title information for each layered graphics encoding data, wherein the title information of each layered graphics encoding data is the same, different or related to the title information of the generated original graphics encoding data.

在每个协同设备根据相应的层级式图形编码数据进行信息处理后,将每个协同设备通过信息处理所产生的结果进行组合以生成应答消息,将所述应答消息发送给图形编码数据的提供方。After each cooperating device performs information processing according to the corresponding hierarchical graphic encoding data, the results generated by each cooperating device through the information processing are combined to generate a response message, and the response message is sent to the provider of the graphics encoding data .

可替换地,本申请接收针对于所生成的原始的图形编码数据进行划分的分码请求。对所述分码请求进行解析以确定子码数量N。将所生成的原始的图形编码数据包括的数据信息划分为N个子数据信息。根据N个子数据信息将所生成的原始的图形编码数据划分为N个子编码数据。将N个子编码数据中的每个发送给相应的用户设备,其中每个用户设备能够接收至少一个子编码数据。本申请为每个子编码数据设置标题信息,其中每个子编码数据的标题信息与所生成的原始的图形编码数据的标题信息相同、不同或相关。接收针对于特定子编码数据进行划分的分码请求,并且根据分码请求将所述特定子编码数据划分为预定数量的孙编码数据。Alternatively, the present application receives a code division request for dividing the generated original graphic encoding data. The code division request is parsed to determine the number N of subcodes. The data information included in the generated original graphic encoding data is divided into N pieces of sub-data information. The generated original graphic coded data is divided into N sub-coded data according to the N pieces of sub-data information. Each of the N sub-coded data is sent to a corresponding user equipment, wherein each user equipment is capable of receiving at least one sub-coded data. The present application sets header information for each sub-encoded data, wherein the header information of each sub-encoded data is the same, different or related to the header information of the generated original graphic encoded data. A code division request for division for 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.

应当了解的是,可以将月原始的图形编码数据中的数据信息平均分为N份子信息,并且利用N份子信息中的每一份子信息来形成N个子编码数据中的每个。N份子信息具有先后顺序,这个先后顺序依赖于数据信息的内容,即N份子信息按照序号进行组合后能够形成数据信息而无需修改顺序。此外,可以将原始的图形编码数据中的数据信息不平均地分为N份子信息。或者,可以按照语义结构、分隔符结构等将原始的图形编码数据中的数据信息地分为N份子信息。It should be understood that the data information in the original graphic coded data can be divided into N pieces of sub-information equally, and each of the N pieces of sub-coded data is formed by using each piece of the N pieces of sub-information. The N pieces of information have an order, and the order depends on the content of the data information, that is, after the N pieces of information are combined according to the serial numbers, data information can be formed without modifying the order. In addition, the data information in the original graphic encoded data can be divided into N pieces of information unevenly. Alternatively, the data information in the original graphic encoding data can be divided into N pieces of information according to the semantic structure, the delimiter structure, and the like.

通过上面的说明可知,多个层级式图形编码数据可以位于不同的级别,其中每个图形编码数据最多可以划分为预定数量的作为子码的图形编码数据。对原始的图形编码数据进行划分所得到的层级式图形编码数据位于所述原始的图形编码数据的下一级别。对特定的层级式图形编码数据进行划分所得到的新的层级式图形编码数据位于所述特定的层级式图形编码数据的下一级别。又例如,当子码数量N为8时,原始的图形编码数据最多可以分为8个子编码数据,并且每个子编码数据最多可分为8个孙编码数据,以此类推。As can be seen from the above description, a plurality of hierarchical graphic encoding data may be located at different levels, wherein each graphic encoding data may be divided into a predetermined number of graphic encoding data serving as subcodes at most. The hierarchical graphics encoding data obtained by dividing the original graphics encoding data is located at the next level of the original graphics encoding data. The new hierarchical graphic coding data obtained by dividing the specific hierarchical graphic coding data is located at the next level of the specific hierarchical graphic coding data. For another example, when the number of sub-codes N is 8, the original graphic coded data can be divided into 8 sub-coded data at most, and each sub-coded data can be divided into 8 grand-coded data at most, and so on.

在本申请中,符合编码比例的原始的图形编码数据、原始的图形编码数据、原始图形编码数据、所生成的符合编码比例的原始的图形编码数据、所生成的原始的图形编码数据、所生成的原始图形编码数据可以指代同一内容。In this application, the original graphics encoding data conforming to the encoding ratio, the original graphics encoding data, the original graphics encoding data, the generated original graphics encoding data conforming to the encoding ratio, the generated original graphics encoding data, the generated can refer to the same content.

其中所生成的原始的图形编码数据包括:主定标、系统信息和备份信息,其中所述系统信息包括尺寸等级信息和纠错等级信息,并且所述备份信息包括尺寸等级信息和纠错等级信息。所生成的原始的图形编码数据还包括子定标。The generated original graphic coded data includes: main scaling, system information and backup information, wherein 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 raw graphics encoded data also includes subscales.

如上所述,本申请可以在子编码数据的配置信息中设置:子编码数据的数量、子编码数据的序号和原始的图形编码数据的哈希值。本申请在层级式图形编码数据的配置信息中包括:同级图形编码数据的数量、同级图形编码数据的序号和上级的图形编码数据的哈希值。As mentioned above, the present application may set in the configuration information of the sub-coded data: the number of the sub-coded data, the serial number of the sub-coded data, and the hash value of the original graphic-coded data. In the present application, the configuration information of the hierarchical graphic coding data includes: the quantity of the graphic coding data of the same level, the serial number of the graphic coding data of the same level, and the hash value of the graphic coding data of the upper level.

标题信息是所生成的符合编码比例的图形编码数据包括的数据信息的概要信息。子编码数据的数据信息包括原始的图形编码数据的码纠错等级和原始的图形编码数据的部分数据信息。其中多个层级式图形编码数据中的每个层级式图形编码数据包括:上级图形编码数据的纠错等级和上级编码数据的部分数据信息。所述配置信息还包括:配置信息版本号、标题信息标志位、分块标志位以及自定义配置数据。所述配置信息还包括:码块总数、当前码块序号以及上级码块哈希值。所述标题信息还包括压缩标志位。The header information is the outline information of the data information included in the generated graphic encoding data conforming to the encoding scale. The data information of the sub-coded data includes the code error correction level of the original graphic encoded data and the partial data information of the original graphic encoded data. Each of the plurality of hierarchical graphic coding data includes: an error correction level of the upper-level graphic coding data and partial data information of the upper-level coding data. The configuration information further includes: configuration information version number, header information flag bit, block flag bit and self-defined configuration data. The configuration information further includes: the total number of code blocks, the serial number of the current code block, and the hash value of the upper-level code block. The header information also includes a compression flag.

本申请还包括通过以下方式来生成经过加密的图形编码数据,为未经加密的原始的图形编码数据的标题信息生成哈希字符串,使用所述哈希字符串对所述原始的图形编码数据的数据信息进行逐字节的异或操作,对经过异或操作的图形编码数据进行加密以生成经过加密的图形编码数据。在接收到经过加密的图形编码数据之后,对所述经过加密的图形编码数据进行解密以生成待处理的图形编码数据,为所述待处理的图形编码数据的标题信息生成哈希字符串,使用所述哈希字符串对所述待处理的图形编码数据的数据信息进行逐字节的异或操作,以获得未经加密的原始的图形编码数据。The present application also includes generating encrypted graphics coded data in the following manner, generating a hash string for the title information of the unencrypted original graphics coded data, and using the hash string to interpret the original graphics coded data Byte-by-byte XOR operation is performed on the data information, and the XOR-operated graphics encoding data is encrypted to generate encrypted graphics encoding data. After receiving the encrypted graphics encoding data, decrypt the encrypted graphics encoding data to generate the graphics encoding data to be processed, generate a hash string for the title information of the graphics encoding data to be processed, and use The hash string performs byte-by-byte XOR operation on the data information of the to-be-processed graphics encoding data to obtain unencrypted original graphics encoding data.

图3为根据本发明优选实施方式的图形编码数据300的示意图。如图3所示,本申请的图形编码数据310和320也可以被称为月码。月码310的码元为圆形,并且月码320的码元为正方形或方形。在图形编码数据310中,主定标311-1、311-2和311-3用于为扫码器或解码器确定图形编码数据的位置。子定标312用于进行辅助定位,即对图形编码数据中的编码数据进行辅助定位。编码数据313用于表示系统信息、备份信息、配置信息、数据信息等。在图形编码数据320中,主定标321-1、321-2和321-3用于为扫码器或解码器确定图形编码数据的位置。子定标322用于进行辅助定位,即对图形编码数据中的编码数据进行辅助定位。编码数据323用于表示系统信息、备份信息、配置信息、数据信息等。FIG. 3 is a schematic diagram of graphics encoded data 300 according to a preferred embodiment of the present invention. As shown in FIG. 3 , the graphic encoding data 310 and 320 of the present application may also be referred to as month codes. The symbols of the month code 310 are circular, and the symbols of the month code 320 are square or square. In the graphics coded data 310, the main scales 311-1, 311-2 and 311-3 are used to determine the position of the graphics coded data for the scanner or decoder. The sub-scaling 312 is used to perform auxiliary positioning, that is, to perform auxiliary positioning for the encoded data in the graphic encoded data. The encoded data 313 is used to represent system information, backup information, configuration information, data information, and the like. In the graphics coded data 320, the main scales 321-1, 321-2 and 321-3 are used to determine the position of the graphics coded data for the scanner or decoder. The sub-scaling 322 is used for auxiliary positioning, that is, auxiliary positioning is performed on the encoded data in the graphic encoded data. The encoded data 323 is used to represent system information, backup information, configuration information, data information, and the like.

图4为根据本发明优选实施方式的图形编码数据的整体结构的示意图。如图4所示,月码400可以包括三个主定标、系统信息区域和备份信息区域。其中三个主定标用于为扫码器或解码器确定图形编码数据的位置。系统信息区域包括两个码元(以圆形码元作为例子),其中每个码元可以指示4个二进制数据位或比特。系统信息区域利用6个比特来表示图形编码数据的尺寸等级,即0-63级,并且利用2个比特来表示图形编码数据的纠错等级,即0-3级。系统信息区域位于图形编码数据的左上角。备份信息区域与系统信息区域的内容设置完全相同,并且相同图形编码数据的系统信息区域和备份信息区域内的内容相同。备份信息区域位于图形编码数据的右下角。应当了解的是,备份信息区域与系统信息区域可以被设置在图形编码数据的任何合理位置处。FIG. 4 is a schematic diagram of the overall structure of graphic encoded data according to a preferred embodiment of the present invention. As shown in FIG. 4, the month code 400 may include three main calibration, system information area and backup information area. Three of the main scales are used to locate the graphics encoded data for the scanner or decoder. The system information region includes two symbols (using circular symbols as an example), where each symbol may indicate 4 bits or bits of binary data. The system information area uses 6 bits to represent the size level of the graphics coded data, ie, levels 0-63, and uses 2 bits to represent the error correction level of the graphics coded data, ie, levels 0-3. The system information area is located in the upper left corner of the graphic encoded data. The content settings of the backup information area and the system information area are exactly the same, and the contents of the system information area and the backup information area of the same graphic coded data are the same. The backup information area is located in 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 located at any reasonable location in the graphics encoded data.

图5为根据本发明另一优选实施方式的图形编码数据的整体结构的示意图。月码500包括:配置信息、标题信息和数据信息。配置信息可以包括以下内容:版本号、标题信息标志位、分块标志位、数据信息配置、用户自定义配置数据、标题信息配置以及分块配置信息。标题信息用于指示作为母码的月码或作为子码的月码的标题。数据信息是作为母码的月码或作为子码的月码所希望传递/表达的数据内容。FIG. 5 is a schematic diagram of the overall structure of graphic encoded data according to another preferred embodiment of the present invention. The month code 500 includes: configuration information, title information and data information. The configuration information may include the following contents: version number, title information flag bit, block flag bit, data information configuration, user-defined configuration data, title information configuration, and block configuration information. The title information is used to indicate the title of the month code as the mother code or the month code as the child code. The data information is the data content that the month code as the mother code or the month code as the child code wishes to convey/express.

图6为根据本发明优选实施方式的对图形编码数据进行划分600的示意图。如图6所示,本申请接收针对于所生成的月码601进行划分的分码请求。对所述分码请求进行解析以确定子码数量8。将所生成的月码601包括的数据信息划分为8个子数据信息。根据8个子数据信息将所生成的月码601划分为8个子码611-618。将8个子码611-618中的每个发送给相应的用户设备,其中每个用户设备能够接收至少一个子码。本申请为每个子码设置标题信息,其中每个子码的标题信息与所生成的月码601的标题信息相同、不同或相关。接收针对于特定子码进行划分的分码请求,并且根据分码请求将所述特定子码划分为预定数量的孙编码数据。FIG. 6 is a schematic diagram of dividing 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 dividing the generated month code 601 . The code division request is parsed to determine the number of subcodes 8. The data information included in the generated month code 601 is divided into 8 sub-data information. The generated month code 601 is divided into 8 sub-codes 611-618 according to the 8 sub-data information. Each of the 8 subcodes 611-618 is sent to a corresponding user equipment, wherein each user equipment is capable of receiving at least one subcode. The present application sets header information for each subcode, wherein the header information of each subcode is the same, different or related to the header information of the generated month code 601 . A code division request for division for a specific subcode is received, and the specific subcode is divided into a predetermined number of grand-coded data according to the code division request.

月码601最多可以分为8个子码611-618,并且每个子码最多可分为8个孙码,以此类推。应当了解的是,可以将月码601中的数据信息平均分为8份子信息,并且利用8份子信息中的每一份子信息来形成8个子码611-618中的每个。8份子信息具有先后顺序,这个先后顺序依赖于数据信息的内容,即8份子信息按照序号进行组合后能够形成数据信息而无需修改顺序。此外,可以将月码601中的数据信息不平均地分为8份子信息。或者,可以按照语义结构、分隔符结构等将月码601中的数据信息地分为8份子信息。The month code 601 can be divided into at most 8 subcodes 611-618, and each subcode can be divided into at most 8 grandchild codes, and so on. It should be understood that the data information in the month code 601 can be equally divided into 8 sub-information, and each of the 8 sub-codes 611-618 is formed using each of the 8 sub-information. The 8 pieces of sub-information have an order, and the order depends on the content of the data information, that is, after the 8 pieces of sub-information are combined according to the serial numbers, the data information can be formed without modifying the order. In addition, the data information in the month code 601 may be divided into 8 pieces of sub-information unevenly. Alternatively, the data information in the month code 601 may be divided into 8 sub-information according to the semantic structure, the separator structure, and the like.

图7为根据本发明优选实施方式的子码的整体结构的示意图。子码700可以包括三个主定标701、系统信息区域702和备份信息区域706。其中三个主定标701用于为扫码器或解码器确定子码700的位置。系统信息区域702包括两个码元,其中每个码元可以指示4个二进制数据位或比特。系统信息区域702利用6个比特来表示子码700的尺寸等级,即0-63级,并且利用2个比特来表示子码700的纠错等级,即0-3级。系统信息区域702位于子码700的左上角。备份信息区域706与系统信息区域702的内容设置完全相同,并且相同子码700的系统信息区域702和备份信息区域706内的内容相同。备份信息区域706位于子码700的右下角。应当了解的是,备份信息区域706与系统信息区域702可以被设置在子码700的任何合理位置处。FIG. 7 is a schematic diagram of an overall structure of a subcode according to a preferred embodiment of the present invention. Subcode 700 may include three main scales 701 , system information area 702 and backup information area 706 . Three of the main scales 701 are used to determine the position of the subcode 700 for the scanner or decoder. System information region 702 includes two symbols, where each symbol may indicate 4 bits or bits of binary data. The system information area 702 uses 6 bits to represent the size level of the subcode 700, that is, levels 0-63, and uses 2 bits to represent the error correction level of the subcode 700, that is, levels 0-3. The system information area 702 is located in the upper left corner of the subcode 700 . The content settings of the backup information area 706 and the system information area 702 are exactly the same, and the contents in the system information area 702 and the backup information area 706 of the same subcode 700 are the same. The backup information area 706 is located in the lower right corner of the subcode 700 . It should be appreciated that the backup information area 706 and the system information area 702 may be located at any reasonable location in the subcode 700.

子码700的配置信息703可以包括以下内容:子码总数占用3位:从000到111(0-7),一共能表示8个子码数量,000->共1个子码;001->共2个子码;……。子码号占用3位:从000到111(0-7),代表当前子码号索引,000->第1子码;001->第2子码;……。母码哈希值占用64位:用于识别多个子码是否是同一母码的子码并且识别子码合并的母码是否正确。其中64位哈希值可以通过对128位哈希值进行选择性截取来获得。The configuration information 703 of the subcode 700 may include the following content: The total number of subcodes occupies 3 bits: from 000 to 111 (0-7), which can represent a total of 8 subcodes, 000-> a total of 1 subcode; 001-> a total of 2 subcode;  …. The subcode number occupies 3 bits: from 000 to 111 (0-7), representing the index of the current subcode number, 000->1st subcode; 001->2nd subcode;  …. The mother code hash value occupies 64 bits: it is used to identify whether multiple subcodes are subcodes of the same mother code and whether the combined mother code of the subcodes is correct. The 64-bit hash value can be obtained by selectively intercepting the 128-bit hash value.

关于子码的标题信息704,其中每个子码的标题信息704可不一样,并且可以进行自定义。数据信息705包括月码700的码纠错等级和月码700的部分数据信息。Regarding the header information 704 of the subcodes, the header information 704 of each subcode may be different and can be customized. The data information 705 includes the code error correction level of the month code 700 and the partial data information of the month code 700 .

图8为根据本发明优选实施方式的主定标和子定标的示意图。如图8所示,在框800中,主定标801和802用于为扫码器或解码器确定月码的位置。子定标802和804用于进行辅助定位,即对月码中的编码数据进行辅助定位。主定标801采用圆形图案,并且黑白像素之间的宽度比例为1:1:5:1:1。主定标803采用正方形图案,并且黑白像素之间的宽度比例为1:1:5:1:1。子定标802采用圆形图案,并且黑白像素之间的宽度比例为1:1:2:1:1。子定标802采用正方形图案,并且黑白像素之间的宽度比例为1:1:2:1:1。Figure 8 is a schematic diagram of a main scale and a sub scale in accordance with a preferred embodiment of the present invention. As shown in FIG. 8, in block 800, primary calibrations 801 and 802 are used to determine the location of the month code for the scanner or decoder. Sub-scales 802 and 804 are used for auxiliary positioning, that is, auxiliary positioning is performed on the encoded data in the month code. The main scale 801 adopts a circular pattern, and the width ratio between black and white pixels is 1:1:5:1:1. The main scale 803 adopts a square pattern, and the width ratio between black and white pixels is 1:1:5:1:1. The subscale 802 adopts a circular pattern and the width ratio between black and white pixels is 1:1:2:1:1. The subscale 802 is in a square pattern, and the width ratio between black and white pixels is 1:1:2:1:1.

图9为根据本发明优选实施方式的码元结构900的示意图。如图9所示,按照月码的圆形码元四部分顺时针方向,从左上角(第二象限)开始为1、2、3和4。如图9所示,不同的图案分别代表不同的数值0000、0001、0010、0011、0100、0101、0110、0111、1000、1001、1010、1011、1100、1101、1110以及1111。应当了解的是,本申请以圆形码元作为实例进行说明,码元可以为正方形、长方形、椭圆形等任何合理形状。此外,本申请的图形编码数据(月码)的特点是以码元为单位进行编码、解码、加密、分组等各种处理,而现有技术中的图形编码数据均是以单个最小单元,例如图9中的1、2、3或4为单位进行编码或解码。以以码元为单位进行编码、解码、加密、分组等各种处理的好处是能够一次性处理四个比特位,从而能够提高编码、解码、加密、分组等各种处理的效率。FIG. 9 is a schematic diagram of a symbol structure 900 according to a preferred embodiment of the present invention. As shown in FIG. 9 , according to the clockwise direction of the four parts of the circular symbol of the month code, starting from the upper left corner (second quadrant), the numbers are 1, 2, 3 and 4. As shown in FIG. 9 , different patterns represent different values of 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 takes a circular symbol as an example for description, and the symbol can be any reasonable shape such as a square, a rectangle, and an ellipse. In addition, the feature of the graphic coded data (monthly code) of the present application is to perform various processing such as encoding, decoding, encryption, grouping, etc. in units of symbols, while the graphic coded data in the prior art is a single minimum unit, such as Encoding or decoding is performed in units of 1, 2, 3 or 4 in FIG. 9 . The advantage of encoding, decoding, encrypting, grouping and other processing in units of symbols is that four bits can be processed at one time, thereby improving the efficiency of various processing such as encoding, decoding, encryption, and grouping.

图10为根据本发明优选实施方式的通过图形编码数据进行安全的信息传递1000的示意图。如图10所示,通过月码可以更好地进行安全信息的传递。例如,在不加密的情况下,通过标题信息“月码,不一样的二维码”可以提示用户所传递的信息的内容。在进行加密的情况下,通过标题信息“来来来,回顾下我的第一条短信,密码你懂的”来提示用户输入密码。当用户输入的密码正确时,可以对月码进行解密以获取月码所传递的信息。当用户输入的密码不正确时,无法对月码进行解密,以使得月码所传递的信息受到安全保护。FIG. 10 is a schematic diagram of secure information transfer 1000 through graphically encoded data according to a preferred embodiment of the present invention. As shown in Figure 10, the security information can be better transmitted through the monthly code. For example, in the case of no encryption, the content of the information transmitted by the user can be prompted through the title information "month code, different QR code". In the case of encryption, the user is prompted to enter the password through the title message "Come on, review my first text message, you know the password". When the password entered by the user is correct, the month code can be decrypted to obtain the information transmitted by the month code. When the password entered by the user is incorrect, the monthly code cannot be decrypted, so that the information transmitted by the monthly code can be protected safely.

根据本申请的优选实施方式,月码具有如下特点:月码外形为长方形,宽高比例为0.618左右,能充分利用手机屏幕空间;月码整体分为三部分:系统信息、标题信息、数据信息;月码数据信息支持两种格式:文本、二进制;月码的标题信息和数据信息支持UTF-8文本,支持emoji表情,涵盖的信息量更全;月码使用zip压缩标题信息和数据信息,减小月码的面积;月码的数据信息可以加密,默认加密算法为AES CTR,可自定义其他加密格式;用户可以在月码中添加自定义配置信息;一个月码可以拆分为最多8个子码,一个子码也可以进一步拆解为8个子码,能无限拆分下去。只有凑齐所有子码,才能拼成母码;以及月码支持防篡改,防止他人篡改月码中的信息。月码的主定标负责图像识别和月码定位。月码的子定标负责月码中的码元定位。According to the preferred embodiment of the present application, the monthly code has the following characteristics: the monthly code is rectangular in shape, with a width-to-height ratio of about 0.618, which can fully utilize the screen space of the mobile phone; the monthly code is divided into three parts as a whole: system information, title information, data information ;The monthly code data information supports two formats: text and binary; the title information and data information of the monthly code support UTF-8 text, support emoji expressions, and cover a more complete amount of information; the monthly code uses zip to compress the title information and data information, Reduce the area of the monthly code; the data information of the monthly code can be encrypted, the default encryption algorithm is AES CTR, and other encryption formats can be customized; the user can add custom configuration information in the monthly code; the monthly code can be split into a maximum of 8 A sub-code can also be further disassembled into 8 sub-codes, which can be split infinitely. Only when all the sub-codes are collected can the mother code be assembled; and the monthly code supports tamper-proof, preventing others from tampering with the information in the monthly code. The main calibration of the month code is responsible for image recognition and month code positioning. The subscale of the month code is responsible for the positioning of symbols in the month code.

数据存储等级如表1所示:The data storage levels are shown in Table 1:

表1Table 1

Figure BDA0001767722240000141
Figure BDA0001767722240000141

月码的纠错等级如表2所示:The error correction level of the monthly code is shown in Table 2:

表2Table 2

Figure BDA0001767722240000142
Figure BDA0001767722240000142

月码在纠错后的数据存储范围如表3所示:The data storage range of the month code after error correction is shown in Table 3:

表3table 3

Figure BDA0001767722240000151
Figure BDA0001767722240000151

月码的定标排列规则如表4所示:The calibration and arrangement rules of month codes are shown in Table 4:

Figure BDA0001767722240000152
Figure BDA0001767722240000152

表4月码的配置信息结构为:The configuration information structure of the April code in the table is:

Figure BDA0001767722240000153
Figure BDA0001767722240000153

其中in

版本号占用2比特:版本号从00到11(0-3),一共能表示4个版本;The version number occupies 2 bits: the version number is from 00 to 11 (0-3), which can represent a total of 4 versions;

是否有标题信息占用1比特:标识是否有标题信息:1->有标题;0->无标题;Whether there is title information occupies 1 bit: identifies whether there is title information: 1->with title; 0->without title;

是否为分块占用1比特:用于标识当前图像编码数据是否为分块:1->当前图形编码数据是子码;0->当前图形编码数据是母码;Whether it is a block occupies 1 bit: it is used to identify whether the current image encoding data is a block: 1-> the current image encoding data is a child code; 0-> the current image encoding data is a mother code;

用户自定义配置数据占用2位:从00到11(0-3),一共能表示4种自定义的配置数据版本;User-defined configuration data occupies 2 bits: from 00 to 11 (0-3), a total of 4 customized configuration data versions can be represented;

数据信息配置占用16位并且包括:加密方式、zip标志位、数据类型以及数据长度;The data information configuration occupies 16 bits and includes: encryption method, zip flag bit, data type and data length;

标题信息配置占用9位并且包括:zip标志位和数据长度;The header information configuration occupies 9 bits and includes: zip flag bit and data length;

分块配置信息占用70位并且包括:块总数、块号以及母块的哈希值;The block configuration information occupies 70 bits and includes: the total number of blocks, the block number, and the hash value of the parent block;

标题信息用于指示作为母码的图形编码数据或作为子码的图形编码数据的标题;以及The title information is used to indicate the title of the picture-encoded data as the mother code or the picture-encoded data as the child code; and

数据信息是作为母码的图形编码数据或作为子码的图形编码数据所希望传递/表达的数据内容。The data information is the data content desired to be conveyed/expressed as the image coded data of the mother code or the image coded data as the child code.

其中,标题信息配置、分块配置信息和标题信息是可选项。Among them, the title information configuration, block configuration information and title information are optional.

分块信息结构为:The block information structure is:

块总数3位Total number of blocks 3 digits 块号3位block number 3 digits 母块的hash值64位The hash value of the mother block is 64 bits

其中in

块总数(子码总数)占用3位:从000到111(0-7),一共能表示8块数量,000->共1块;001->共2块;……;The total number of blocks (total number of subcodes) occupies 3 bits: from 000 to 111 (0-7), a total of 8 blocks can be represented, 000->1 block in total; 001->2 blocks in total;...;

块号(子码序号)占用3位:从000到111(0-7),代表当前块号索引,000->第1块;001->第2块;……;以及The block number (subcode sequence number) occupies 3 bits: from 000 to 111 (0-7), representing the index of the current block number, 000->1st block; 001->2nd block; ...; and

母块哈希值占用64位:用于识别多个子块是否是同一母块的子块并且识别子块合并的母块是否正确。其中64位哈希值可以通过对128位哈希值进行选择性截取来获得。The hash value of the parent block occupies 64 bits: it is used to identify whether multiple child blocks are child blocks of the same parent block and whether the parent block combined with the child blocks is correct. The 64-bit hash value can be obtained by selectively intercepting the 128-bit hash value.

标题信息结构为:The title information structure is:

是否zip 1位Whether to zip 1 bit 数据长度8位(最大255字节)Data length 8 bits (maximum 255 bytes)

其中in

是否zip占用1位:1->标题为zip加密后的编码;0->标题为正常编码;以及Whether zip occupies 1 bit: 1->the header is the zip-encrypted encoding; 0->the header is the normal encoding; and

数据长度占用8位:用于指示标题信息所包括的字节信息(最大255字节)。The data length occupies 8 bits: used to indicate the byte information (maximum 255 bytes) included in the header information.

数据信息结构为:The data information structure is:

加密方式2位Encryption method 2 digits 是否zip 1位Whether to zip 1 bit 数据类型1位data type 1 bit 数据长度12位(最大长度4095字节)Data length 12 bits (maximum length 4095 bytes)

其中in

加密方式占用2位:00->未加密;01->默认AESCTR加密;10->系统预留;11->用户自定义加密;The encryption method occupies 2 bits: 00->unencrypted; 01->default AESCTR encryption; 10->system reserved; 11->user-defined encryption;

是否zip占用1位:1->内容为zip加密后的编码;0->内容为正常编码;Whether zip occupies 1 bit: 1->the content is zip-encrypted encoding; 0->the content is normal encoding;

数据类型占用1位:0->UTF-8文本;1->二进制;以及The data type occupies 1 bit: 0->UTF-8 text; 1->binary; and

数据长度占用12位:用于指示数据信息所包括的字节信息(最大4095字节)。The data length occupies 12 bits: used to indicate the byte information included in the data information (maximum 4095 bytes).

月码的固定掩码如表5所示:The fixed mask of the month code is shown in Table 5:

表5table 5

Figure BDA0001767722240000171
Figure BDA0001767722240000171

本申请的图形编码数据(例如,月码)具有防篡改机制。Graphically encoded data (eg, month codes) of the present application have a tamper-resistant mechanism.

防篡改目的:Tamper-proof purpose:

月码包含标题信息和数据信息,在生成月码后,两个数据必须是相互匹配的,需要防止他人将其中一个数据进行修改伪造新的月码。The month code contains title information and data information. After the month code is generated, the two data must match each other. It is necessary to prevent others from modifying one of the data to forge a new month code.

防篡改条件:Tamper Resistant Conditions:

只包含数据信息的月码无需防篡改,即月码必须包含标题信息和数据信息。月码的数据信息必须是加密的The month code that only contains data information does not need to be tamper-proof, that is, the month code must contain title information and data information. The data information of the month code must be encrypted

防篡改方式:Tamper-proof way:

生成月码:使用标题信息生成128位的hash串,在加密数据信息前,使用这个hash串对数据信息整体逐字节进行异或操作,之后再对这个数据进行加密。Generate month code: Use the header information to generate a 128-bit hash string. Before encrypting the data information, use this hash string to perform XOR operation on the entire data information byte by byte, and then encrypt the data.

解读月码:在解密数据信息后,使用标题信息生成的128位hash串对数据信息整体逐字节进行异或操作,还原数据信息。Interpret the month code: After decrypting the data information, use the 128-bit hash string generated by the header information to perform the XOR operation on the entire data information byte by byte to restore the data information.

本申请的图形编码数据(例如,月码)的应用实例包括:Examples of applications of the graphically encoded data (eg, month code) of the present application include:

使用二维码传播加密信息;Use QR codes to disseminate encrypted information;

使用图片,在不同软件之间加密传输信息;Use pictures to encrypt and transmit information between different software;

使用子码进行团体认证、流水线认证、质量认证;以及Use subcodes for group authentication, pipeline authentication, quality authentication; and

安全支付等。secure payment, etc.

图11为根据本发明优选实施方式的基于图形编码数据进行信息传递的系统1100的结构示意图。如图11所示,系统1100包括:比例确定装置1101、生成装置1102、解析装置1103、处理装置1104、加密装置1105、初始化装置1106、压缩装置1107、划分装置1108以及设置装置1109。FIG. 11 is a schematic structural diagram of a system 1100 for information transmission based on graphic coded data according to a preferred embodiment of the present invention. As shown in FIG. 11 , the system 1100 includes: a ratio determination device 1101 , a generation device 1102 , an analysis device 1103 , a processing device 1104 , an encryption device 1105 , an initialization device 1106 , a compression device 1107 , a division device 1108 , and a setting device 1109 .

比例确定装置1101,用于基于多个应用中每个应用用于显示图形编码数据的显示范围和单个图形编码数据的最大信息量确定每个应用用于图形编码数据的图像区域的编码比例。其中基于所述用于显示图形编码数据的显示范围和最大信息量确定每个应用用于图形编码数据的图像区域的编码比例包括:确定所述用于显示图形编码数据的显示范围的长度和宽度。目前,移动终端(例如,手机)的外形以长方形或近似长方形的形状居多。为此,移动终端的显示屏幕的显示平面也通常为长方形或近似长方形,即移动终端和显示屏幕均存在宽度和长度。通常,长度要大于宽度,并且在本申请中长度和宽度不会随着移动终端的横置和纵置进行变化。本申请所确定的显示范围的长度和宽度是能够用于显示图形编码数据的最大的显示区域或范围。The scale determining means 1101 is configured to determine the coding scale of the image area used by each application for the graphic coded data based on the display range of each of the multiple applications for displaying the graphic coded data and the maximum information amount of a single graphic coded data. Wherein, determining the encoding ratio of the image area for each application for displaying the encoded graphic data based on the display range for displaying the encoded graphic data and the maximum amount of information includes: determining the length and width of the display range for displaying the encoded graphic data . At present, the shape of a mobile terminal (for example, 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 usually rectangular or approximately rectangular, that is, both the mobile terminal and the display screen have a width and a length. Generally, the length is greater than the width, and in this application, the length and width will not change with the horizontal and vertical positions of the mobile terminal. The length and width of the display range determined in the present application are the largest display area or range that can be used to display graphic encoded data.

根据所述显示范围的宽度确定每个应用用于图形编码数据的图像区域的横向编码数量。通常,用于图形编码数据的图像区域的横向编码所占用的宽度要小于显示范围的宽度。如图3所示,横向编码的宽度例如是位于图像编码数据上面部分的两个主定标311-1和311-2(包含自身)之间的距离,并且纵向编码的宽度例如是位于图像编码数据上面部分的两个主定标311-2和311-3(包括自身)之间的距离。应当了解的是,当图形编码数据所包含的数据信息较少时,图形编码数据的宽度不会占满显示范围的宽度。即,所述显示范围的宽度可以被认为是每个应用用于图形编码数据的图像区域的最大宽度,并且基于图像区域的最大宽度和码元(或1/4个码元)的尺寸来确定横向编码的最大数量。According to the width of the display range, each application is used to determine the number of horizontal encoding of the image area of the image encoding data. Generally, the width occupied by the horizontal encoding of the image area used for the graphic encoding data is smaller 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 itself) located in the upper part of the image encoding data, and the width of the vertical encoding is, for example, the width of the image encoding The distance between the two main scales 311-2 and 311-3 (including itself) of the upper part of the data. It should be understood that, when the graphic coded data contains less data information, the width of the graphic coded data will not occupy the full width of the display range. That is, the width of the display range can be considered as the maximum width of the image area for each application for the graphics encoded data, and is determined based on the maximum width of the image area and the size of a symbol (or 1/4 symbol) Maximum number of horizontal encodings.

根据所述显示范围的长度和最大信息量确定每个应用用于图形编码数据的图像区域的纵向编码数量。其中根据所述显示范围的长度和最大信息量确定每个应用用于图形编码数据的图像区域的纵向编码数量包括:根据最大信息量和横向编码数量确定预选的纵向编码数量。图形编码数据的数据信息所涉及的最大信息量确定了图形编码数据的面积,例如,基于最大信息量和码元(或1/4个码元)的尺寸能够确定图形编码数据的面积。例如,在用于图形编码数据的图像区域的横向编码数量被确定的情况下,可以根据显示范围的长度和最大信息量确定每个应用用于图形编码数据的图像区域的纵向编码数量。这是因为单个图形编码数据的最大信息量能够确定这个图形编码数据的码元数,并且根据码元数和横向编码数量可以确定纵向编码数量。According to the length of the display range and the maximum amount of information, each application is used to determine the number of vertical encoding of the image area of the image encoded data. Wherein, determining the vertical encoding quantity of each application for the image area of the graphic coded data according to the length of the display range and the maximum information amount includes: determining a preselected vertical encoding quantity according to the maximum information amount and the horizontal encoding quantity. The maximum amount of information involved in the data information of the graphics encoded data determines the area of the graphics encoded data, for example, the area of the graphics encoded data can be determined based on the maximum amount of information and the size of a symbol (or 1/4 symbol). For example, in the case where the horizontally encoded number of image regions for graphics encoded data is determined, the vertically encoded number of image regions for graphics encoded data per application may be determined according to the length of the display range and the maximum amount of information. This is because the maximum information amount of a single graphic coded data can determine the number of symbols of this graphic coded data, and the number of vertical codes can be determined according to 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 of the image area for each application for graphic encoding data. When it is determined that the length of the display range cannot accommodate the preselected number of longitudinally encoded data, the maximum number of longitudinally encoded data that can be accommodated in the display range is determined as the number of longitudinally encoded image regions used for graphic encoded data for each application.

应当了解的是,针对于单个图形编码数据,码元或1/4码元(1/4码元是图形编码数据的基本数据单元,代表1或0)的尺寸(显示尺寸或呈现尺寸)越小,则单个图形编码数据所能容纳的信息(系统信息、标题信息和数据信息)更多。It should be understood that for a single graphic coded data, the size (display size or presentation size) of a symbol or 1/4 symbol (1/4 symbol is the basic data unit of graphic coded data, representing 1 or 0) is higher. If the value is small, the information (system information, title information and data information) that can be accommodated in a single graphic coded data is more.

基于横向编码数量和纵向编码数量确定每个应用用于图形编码数据的图像区域的编码比例。例如,特定应用横向编码数量为62个并且纵向编码数量100个,那么特定应用用于图形编码数据的图像区域的编码比例为0.62。在本申请的优选实施方式中,编码比例为0.618。The encoding ratio of each application for the image region of the graphics encoded data is determined based on the horizontal encoding amount and the vertical encoding amount. For example, if the number of horizontal encodings in a specific application is 62 and the number of vertical encodings is 100, the encoding ratio of the image area used for the graphics encoding data in the specific application is 0.62. In a preferred embodiment of the present application, the coding ratio is 0.618.

生成装置1102,用于当多个应用中的特定应用希望进行信息内容的传递时,基于待传递的信息内容生成符合所述编码比例的未经加密的原始图形编码数据。当多个应用中的特定应用希望进行信息传递时,所述特定应用生成符合所述编码比例的原始的图形编码数据,并且基于符合编码比例的原始的图形编码数据进行信息传递。符合编码比例的原始的图形编码数据可以包括三个主定标、系统信息区域和备份信息区域。其中三个主定标用于为扫码器或解码器确定图形编码数据的位置。主定标负责图像识别和图形编码数据的定位。The generating device 1102 is configured to generate, based on the information content to be transmitted, unencrypted original graphic encoded data that conforms to the encoding ratio when a specific application among the multiple applications wishes to transmit the information content. When a specific application among the plurality of applications wishes to transmit information, the specific application generates original graphic encoding data conforming to the encoding scale, and transmits information based on the original graphic encoding data conforming to the encoding scale. 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 the main scales are used to locate the graphics encoded data for the scanner or decoder. The main calibration is responsible for image recognition and localization of the image-encoded data.

系统信息区域包括两个码元,其中每个码元可以指示4个二进制数据位或比特。系统信息区域利用6个比特来表示图形编码数据的尺寸等级,即0-63级,并且利用2个比特来表示图形编码数据的纠错等级,即0-3级。系统信息区域位于图形编码数据的左上角。备份信息区域与系统信息区域的内容设置完全相同,并且相同图形编码数据的系统信息区域和备份信息区域内的内容相同。备份信息区域位于图形编码数据的右下角。应当了解的是,备份信息区域与系统信息区域可以被设置在图形编码数据的任何合理位置处。The system information region includes two symbols, where each symbol may indicate 4 bits or bits of binary data. The system information area uses 6 bits to represent the size level of the graphics coded data, ie, levels 0-63, and uses 2 bits to represent the error correction level of the graphics coded data, ie, levels 0-3. The system information area is located in the upper left corner of the graphic encoded data. The content settings of the backup information area and the system information area are exactly the same, and the contents of the system information area and the backup information area of the same graphic coded data are the same. The backup information area is located in 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 located at any reasonable location in the graphics encoded data.

此外,符合编码比例的原始的图形编码数据还可以包括子定标,并且子定标的数量可以是0个或至少一个。子定标用于进行辅助定位,即对图形编码数据中的编码数据进行辅助定位。例如,子定标负责图形编码数据中的码元定位。当图形编码数据所传递的信息越多时,所需要的子定标的数量越多。In addition, the original graphic encoding data conforming to the encoding scale may further include subscales, and the number of subscales may be zero or at least one. The sub-scaling is used for auxiliary positioning, that is, auxiliary positioning is performed on the encoded data in the graphic encoded data. For example, subscaling is responsible for symbol positioning in graphics encoded data. The greater the number of subscales required, the more information conveyed by the graphics coded data.

符合编码比例的原始的图形编码数据包括:配置信息、标题信息和数据信息。配置信息可以包括以下内容:版本号、标题信息标志位、分块标志位、数据信息配置、用户自定义配置数据、标题信息配置以及分块配置信息。其中版本号占用2比特:版本号从00到11(0-3),一共能表示4个版本。标题信息标志位占用1比特:标识是否有标题信息:1->有标题;0->无标题。分块标志位占用1比特:用于标识当前图像编码数据是否为分块:1->当前图形编码数据是子码;0->当前图形编码数据是母码。用户自定义配置数据占用2位:从00到11(0-3),一共能表示4种自定义的配置数据版本。The original graphic encoding data conforming to the encoding ratio includes: configuration information, title information and data information. The configuration information may include the following contents: version number, title information flag bit, block flag bit, data information configuration, user-defined configuration data, title information configuration, and block configuration information. The version number occupies 2 bits: the version number is from 00 to 11 (0-3), which can represent a total of 4 versions. The header information flag bit occupies 1 bit: it identifies whether there is header information: 1->with header; 0->without header. The block flag bit occupies 1 bit: it is used to identify whether the current image encoding data is a block: 1-> the current image encoding data is a child code; 0-> the current image encoding data is a mother code. User-defined configuration data occupies 2 bits: from 00 to 11 (0-3), a total of 4 customized configuration data versions can be represented.

数据信息配置占用16位并且包括:加密方式、zip标志位、数据类型以及数据长度。其中加密方式占用2位:00->未加密;01->默认AESCTR加密;10->系统预留;11->用户自定义加密。Zip标志位占用1位:1->内容为zip加密后的编码;0->内容为正常编码。数据类型占用1位:0->UTF-8文本;1->二进制。数据长度占用12位:用于指示数据信息所包括的字节信息(最大4095字节)。The data information configuration occupies 16 bits and includes: encryption method, zip flag bit, data type and data length. The encryption method occupies 2 bits: 00->unencrypted; 01->default AESCTR encryption; 10->system reserved; 11->user-defined encryption. The Zip flag occupies 1 bit: 1->the content is the zip-encrypted encoding; 0->the content is the normal encoding. The data type occupies 1 bit: 0->UTF-8 text; 1->binary. The data length occupies 12 bits: used to indicate the byte information included in the data information (maximum 4095 bytes).

标题信息配置占用9位并且包括:zip标志位和数据长度。其中zip标志位占用1位:1->标题为zip加密后的编码;0->标题为正常编码。数据长度占用8位:用于指示标题信息所包括的字节信息(最大255字节)。The header information configuration occupies 9 bits and includes: zip flag bit and data length. The zip flag occupies 1 bit: 1->the title is the zip-encrypted code; 0->the title is the normal code. The data length occupies 8 bits: used to indicate the byte information (maximum 255 bytes) included in the header information.

分块配置信息占用70位并且包括:块总数、块号以及母块的哈希值。其中块总数(子码总数)占用3位:从000到111(0-7),一共能表示8块数量,000->共1块;001->共2块;……。块号(子码序号)占用3位:从000到111(0-7),代表当前块号索引,000->第1块;001->第2块;……。母块哈希值占用64位:用于识别多个子块是否是同一母块的子块并且识别子块合并的母块是否正确。其中64位哈希值可以通过对128位哈希值进行选择性截取来获得。The block configuration information occupies 70 bits and includes: the total number of blocks, the block number, and the hash value of the parent block. The total number of blocks (total number of subcodes) occupies 3 bits: from 000 to 111 (0-7), a total of 8 blocks can be represented, 000->1 block in total; 001->2 blocks in total; ……. The block number (subcode sequence number) occupies 3 bits: from 000 to 111 (0-7), representing the index of the current block number, 000->1st block; 001->2nd block;  …. The hash value of the parent block occupies 64 bits: it is used to identify whether multiple child blocks are child blocks of the same parent block and whether the parent block combined with the child blocks is correct. The 64-bit hash value can be obtained by selectively intercepting the 128-bit hash value.

标题信息用于指示作为母码的图形编码数据或作为子码的图形编码数据的标题。数据信息是作为母码的图形编码数据或作为子码的图形编码数据所希望传递/表达的数据内容。The title information is used to indicate the title of the picture coded data as the mother code or the picture coded data as the child code. The data information is the data content desired to be conveyed/expressed as the image coded data of the mother code or the image coded data as the child code.

解析装置1103,用于对所述待传递的信息内容进行结构解析,根据结构解析的结果将所述待传递的信息内容划分为多个信息子集。本申请对数据信息进行结构解析,根据结构解析的结果将所述数据信息划分为多个信息子集。其中所述结构解析包括语义结构解析和分隔符结构解析。当所述结构解析为语义结构解析时,对所述待传递的信息内容进行结构解析,根据结构解析的结果将所述待传递的信息内容划分为多个信息子集包括:对所述待传递的信息内容进行语义结构解析,以生成多个语义结构子单元;根据所述多个语义结构子单元将所述待传递的信息内容划分为多个信息子集。当所述结构解析为分隔符结构解析时,对所述待传递的信息内容进行结构解析,根据结构解析的结果将所述待传递的信息内容划分为多个信息子集包括:对所述待传递的信息内容进行分隔符结构解析,以生成多个分隔符结构子单元;根据所述多个分隔符结构子单元将所述待传递的信息内容划分为多个信息子集。The parsing device 1103 is configured to perform structure analysis on the information content to be transmitted, and divide the information content to be transmitted into a plurality of information subsets according to the result of the structure analysis. The present application performs structure analysis on data information, and divides the data information into multiple information subsets according to the results of the structure analysis. The structure parsing includes semantic structure parsing and delimiter structure parsing. When the structure parsing is semantic structure parsing, structure parsing is performed on the information content to be delivered, and dividing the information content to be delivered into multiple information subsets according to the result of the structural parsing includes: analyzing the information content to be delivered Semantic structure analysis is performed on the information content of the device to generate a plurality of semantic structure subunits; the information content to be transmitted is divided into a plurality of information subsets according to the plurality of semantic structure subunits. When the structure parsing is delimiter structure parsing, structure parsing is performed on the information content to be transmitted, and dividing the information content to be transmitted into multiple information subsets according to the result of the structure parsing includes: analyzing the information content to be transmitted The transmitted information content is subjected to delimiter structure analysis to generate a plurality of delimiter structure subunits; the information content to be transmitted is divided into a plurality of information subsets according to the plurality of delimiter structure subunits.

处理装置1104,用于根据每个信息子集将未经加密的原始图形编码数据的数据信息区域划分为多个子区域,并为每个子区域确定加密单元和加密方式。根据每个信息子集将未经加密的原始的图形编码数据的数据信息区域划分为多个子区域,并为每个子区域确定加密单元和加密方式。此外,每个加密单元的加密方式是相同的或不同的。加密方式是由提供图形编码数据的提供方(例如,编码制定方、编码联盟等)预先确定的,或者所述加密方式是根据使用图形编码数据的使用方的需求来确定的。所述加密单元为单个编码单元、多个编码单元或数据块。在本申请中,单个编码单元可以为如图9所示的码元。数据块可以是按照语义或分割符从数据信息中所选择的数据集合。The processing device 1104 is configured to divide the data information area of the unencrypted original graphic coded data into a plurality of sub-areas according to each information subset, and determine an encryption unit and an encryption method for each sub-area. According to each information subset, the data information area of the unencrypted original graphic coded data is divided into a plurality of sub-areas, and the encryption unit and the encryption method are determined for each sub-area. In addition, the encryption method of each encryption unit is the same or different. The encryption method is pre-determined by the provider (for example, the encoding developer, the encoding alliance, etc.) that provides the graphics encoded data, or the encryption method is determined according to the needs of the user who uses the graphics encoded data. The encryption unit is a single coding unit, multiple coding units or data blocks. In this application, a single coding unit may be a symbol as shown in FIG. 9 . A data block may be a set of data selected from data information according to semantics or delimiters.

加密装置1105,用于针对于每个子区域,将加密单元作为最小加密对象并根据加密方式对每个加密单元进行加密,以生成经过加密的图形编码数据,并且基于所述经过加密的图形编码数据进行安全的信息传递。针对于每个子区域,将加密单元作为最小加密对象并根据加密方式对每个加密单元进行加密,以生成经过加密的图形编码数据。即,将未经加密的原始的图形编码数据分为多个对象进行相同或不同的加密处理。替换地,本申请还为未经加密的原始的图形编码数据确定加密单元和加密方式;以及将加密单元作为最小加密对象并根据加密方式对每个加密单元进行加密,以生成经过加密的图形编码数据。即,将未经加密的原始的图形编码数据作为整体处理对象进行加密处理。The encryption device 1105 is configured to, for each sub-area, take the encryption unit as the minimum encryption object and encrypt each encryption unit according to the encryption method, so as to generate encrypted graphic encoded data, and based on the encrypted graphic encoded data for secure information transfer. For each sub-region, the encryption unit is taken as the minimum encryption object, and each encryption unit is encrypted according to the encryption method, so as to generate the encrypted graphic encoding data. That is, the original unencrypted graphic coded data is divided into a plurality of objects and subjected to the same or different encryption processes. Alternatively, the present application also determines an encryption unit and an encryption method for the unencrypted original graphics code data; and the encryption unit is used as the minimum encryption object and each encryption unit is encrypted according to the encryption method, to generate an encrypted graphics code. data. That is, the encryption processing is performed using the unencrypted original graphics coded data as the entire processing object.

初始化装置1106,用于获取与用户设备相关联的应用描述信息,基于所述应用描述信息确定希望通过图形编码数据进行信息传递的多个应用。应用描述信息包括多个描述项,每个描述项的格式为<应用名称、应用类型、关联设备类型、编码数据标志位>。例如,<支付宝、支付类型、iOS、是>和<支付宝、支付类型、Andriod、是>用于表示支付宝应用属于支付类型的应用,并且无论是iOS操作系统或Andriod操作系统中均需要使用图形编码数据。通常,可以由应用的提供方、操作系统的提供方、应用商店、用户设备自身来设置描述项,并且将所设置的多个描述项来形成与用户设备相关联的应用描述信息。由此可知,通过对应用描述信息中每个描述项的解析可以确定希望通过图形编码数据进行信息传递的每个应用。The initialization means 1106 is configured to acquire application description information associated with the user equipment, and determine, based on the application description information, multiple applications that wish to perform information transmission through the graphic coded data. The application description information includes multiple description items, and the format of each description item is <application name, application type, associated device type, encoded data flag>. For example, <Alipay, Payment Type, iOS, Yes> and <Alipay, Payment Type, Andriod, Yes> are used to indicate that the Alipay application is a payment type application, and graphics coding needs to be used in either the iOS operating system or the Android operating system data. Generally, description items may be set by the provider of the application, the provider of the operating system, the application store, and the user equipment itself, and the set multiple description items are used to form application description information associated with the user equipment. It can be seen from this that, by analyzing each description item in the application description information, it is possible to determine each application that wishes to transmit information through the graphic coded data.

根据多个应用中每个应用的信息传递需求,确定每个应用通过单个图形编码数据进行信息传递时所需要的最大信息量。本申请根据每个应用通过图形编码数据进行信息传递时所要求的数据完整性来确定每个应用的信息传递需求。其中,数据完整性是每个应用通过图形编码数据进行信息传递时,为了保证信息完整不被分割所需要的最大可能数据量,即峰值数据量。其中信息传递需求包括为了满足数据完整性所涉及的峰值数据量。本申请根据所述峰值数据量确定每个应用通过单个图形编码数据进行信息传递时所需要的最大信息量。例如,本申请可以将峰值数据量作为最大信息量、将峰值数据量的1.2倍作为最大信息量、将峰值数据量的0.9倍作为最大信息量。According to the information transmission requirements of each application in the multiple applications, determine the maximum amount of information required by each application to transmit information through a single graphic coded data. The present application determines the information transmission requirements of each application according to the data integrity required for each application to transmit information through graphic coded data. The data integrity is the maximum possible amount of data required to ensure that the information is complete and not divided when each application transmits information through the graphic coded data, that is, the peak data amount. Among them, the information transfer requirements include the peak data volume involved in order to meet the data integrity. The present application determines, according to the peak data amount, the maximum amount of information required for each application to transmit information through a single graphic coded data. For example, the present application may take the peak data amount as the maximum information amount, take 1.2 times the peak data amount as the maximum information amount, and take 0.9 times the peak data amount as the maximum information amount.

对每个应用的用于提供图形编码数据的图形界面进行解析以确定每个应用能够用于显示图形编码数据的显示范围。其中图形界面为每个应用的利用图形编码数据进行信息传递的界面。例如,支付宝的用于提供图形编码数据的图形界面包括:表示支付的二维码、表示支付的条形码、银行卡信息、会员等级、提示信息等内容。显示范围是在图形界面中用于显示图形编码数据的范围,即图形界面表示支付的二维码的区域。在本申请中,显示范围的形状为矩形并且所述图像区域的形状为矩形。即,显示范围的形状为正方形或长方形并且所述图像区域的形状为正方形或长方形。如图3所示,显示范围的形状为长方形,以及所述图像区域的形状为长方形。The graphical interface for providing the graphically encoded data of each application is parsed to determine a display range that each application can use to display the graphically encoded data. The graphical interface is an interface for each application to transmit information using graphically encoded data. For example, Alipay's graphical interface for providing graphically encoded data includes: a two-dimensional code representing payment, a barcode representing payment, bank card information, membership level, prompt information, and the like. The display range is the range used to display the graphic coded data in the graphic interface, that is, the area where the graphic interface represents the two-dimensional code for payment. In the present application, the shape of the display area is a rectangle and the shape of the image area is a rectangle. That is, the shape of the display area 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 area is a rectangle, and the shape of the image area is a rectangle.

压缩装置1107,用于对原始的图形编码数据中的标题信息和/或数据信息进行压缩以生成经过压缩的图形编码数据,所述经过压缩的图形编码数据的面积小于或等于所述原始的图形编码数据的面积。例如,通过zip方式对原始的图形编码数据中的标题信息和/或数据信息进行压缩以生成经过压缩的图形编码数据,经过zip压缩的图形编码数据的面积小于或等于所述原始的图形编码数据的面积。这是因为标题信息和/或数据信息被压缩后,可能会导致图形编码数据的长度或宽度变短。本申请还包括基于所述经过压缩的图形编码数据进行信息传递。Compression device 1107, configured to compress the title information and/or data information in the original graphic encoding data to generate compressed graphic encoding data, the area of the compressed graphic encoding data is smaller than or equal to the original graphic The area of the encoded data. For example, the title information and/or data information in the original graphic encoding data is compressed in a zip manner to generate compressed graphic encoding data, and the area of the zip-compressed graphic encoding data is smaller than or equal to the original graphic encoding data area. This is because the compressed header information and/or data information may result in a shortened length or width of the graphics encoded data. The present application also includes information transfer based on the compressed graphics encoded data.

其中所生成的原始的图形编码数据的编码单元为圆形、矩形和椭圆形,如图3所示。The coding units of the generated original graphic coding data are circle, rectangle and ellipse, as shown in FIG. 3 .

划分装置1108,用于促使图形编码数据的提供方接收针对于协同服务的信息处理请求,其中所述信息处理请求包括与所述协同服务相关联的信息内容和所述协同服务的结构描述文件。协同服务是由多个协同设备共同完成的服务。其中当图形编码数据的提供方确定所生成的图形编码数据涉及协同服务时,生成针对于协同服务的信息处理请求。与所述协同服务相关联的信息内容是为了完成所述协同服务所需要的任务信息。协同服务的结构描述文件用于指示所述协同服务的逻辑结构,并且基于所述结构描述文件能够将所述协同服务分成多个子服务。其中多个子服务中的每个子服务对应于相应协同设备所涉及的协同任务。The dividing means 1108 is configured to prompt the provider of the graphic encoding data to receive an information processing request for the collaborative service, wherein the information processing request includes the information content associated with the collaborative service and a structure description file of the collaborative service. A collaborative service is a service completed by multiple collaborative devices. Wherein, when the provider of the graphics encoding data determines that the generated graphics encoding data involves 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 coordinated service is used to indicate the logical structure of the coordinated service, and the coordinated service can be divided into a plurality of sub-services based on the structure description file. Each sub-service in the plurality of sub-services corresponds to a coordinated task involved in the corresponding coordinated device.

对所述协同服务的结构描述文件进行解析以确定所述协同服务所涉及的多个协同设备和每个协同设备所涉及的协同任务,具体包括:对所述协同服务的结构描述文件进行解析以确定所述协同服务的多个子服务;确定多个子服务中每个子服务所涉及的协同设备;对每个子服务的服务内容进行解析以确定协同任务;以及确定每个协同设备所涉及的协同任务。Parsing the structure description file of the coordinated service to determine the multiple coordinated devices involved in the coordinated service and the coordinated tasks involved in each coordinated device, specifically including: parsing the structure description file of the coordinated service to Determine multiple sub-services of the coordinated service; determine a coordinated device involved in each sub-service in the multiple sub-services; parse the service content of each sub-service to determine a coordinated task; and determine a coordinated task involved in each coordinated device.

根据与所述协同服务相关联的信息内容生成包括数据信息的原始的图形编码数据,并基于每个协同设备所涉及的协同任务将所生成的原始的图形编码数据中的数据信息划分为多个子数据信息。其中根据与所述协同服务相关联的信息内容生成包括数据信息的原始的图形编码数据包括:将与所述协同服务相关联的信息内容作为数据信息,并且生成包括所述数据信息的原始的图形编码数据。其中基于每个协同设备所涉及的协同任务将原始的图形编码数据中的数据信息划分为多个子数据信息包括:确定与每个协同设备所涉及的协同任务相关联的协同数据;基于每个协同设备的协同数据将原始的图形编码数据中的数据信息划分为多个子数据信息。Generate original graphics encoding data including data information according to the information content associated with the collaborative service, and divide the data information in the generated original graphics encoding data into a plurality of subsections based on the collaborative tasks involved in each collaborative device Data information. Wherein, generating the original graphic encoding data including the data information according to the information content associated with the collaborative service includes: taking the information content associated with the collaborative service as the data information, and generating the original graphic including the data information encoded data. Wherein, dividing the data information in the original graphics coding data into multiple sub-data information based on the collaborative tasks involved in each collaborative device includes: determining the collaborative data associated with the collaborative tasks involved in each collaborative device; The collaborative data of the device divides the data information in the original graphic coded data into a plurality of sub-data information.

确定所述多个协同设备之间的关联关系,并且基于所述关联关系为多个子数据信息中的每个子数据信息确定层级关系。所述多个协同设备之间的关联关系包括:同级关系、上级关系、下级关系和条件关系。基于所述关联关系为多个子数据信息中的每个子数据信息确定层级关系包括:当关联关系为同级关系或条件关系时,将多个子数据信息中的每个子数据信息确定层级关系确定为相同层级关系;当关联关系为上级关系或下级关系时,将多个子数据信息中的每个子数据信息确定层级关系确定为不同层级关系。An association relationship between the plurality of cooperating devices is determined, and a hierarchical relationship is determined for each of the plurality of sub-data information based on the association relationship. The association relationship among the plurality of cooperative devices includes: a peer relationship, a superior relationship, a subordinate relationship, and a conditional relationship. Determining the hierarchical relationship for each sub-data information in the plurality of sub-data information based on the association relationship includes: when the association relationship is a sibling relationship or a conditional relationship, determining the hierarchical relationship for each sub-data information in the plurality of sub-data information as the same Hierarchical relationship; when the association relationship is a superior relationship or a subordinate relationship, the hierarchical relationship of each sub-data information in the plurality of sub-data information is determined as a different hierarchical relationship.

基于每个子数据信息的层级关系将所生成的原始的图形编码数据划分为多个层级式图形编码数据,并且将每个层级式图形编码数据分配给相应的协同设备以进行信息处理。本申请为每个层级式图形编码数据设置标题信息,其中每个层级式图形编码数据的标题信息与所生成的原始的图形编码数据的标题信息相同、不同或相关。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 allocated to a corresponding cooperative device for information processing. The present application sets title information for each layered graphics encoding data, wherein the title information of each layered graphics encoding data is the same, different or related to the title information of the generated original graphics encoding data.

在每个协同设备根据相应的层级式图形编码数据进行信息处理后,将每个协同设备通过信息处理所产生的结果进行组合以生成应答消息,将所述应答消息发送给图形编码数据的提供方。After each cooperating device performs information processing according to the corresponding hierarchical graphic encoding data, the results generated by each cooperating device through the information processing are combined to generate a response message, and the response message is sent to the provider of the graphics encoding data .

可替换地,划分装置1108,用于接收针对于所生成的原始的图形编码数据进行划分的分码请求。对所述分码请求进行解析以确定子码数量N。将所生成的原始的图形编码数据包括的数据信息划分为N个子数据信息。根据N个子数据信息将所生成的原始的图形编码数据划分为N个子编码数据。将N个子编码数据中的每个发送给相应的用户设备,其中每个用户设备能够接收至少一个子编码数据。本申请为每个子编码数据设置标题信息,其中每个子编码数据的标题信息与所生成的原始的图形编码数据的标题信息相同、不同或相关。接收针对于特定子编码数据进行划分的分码请求,并且根据分码请求将所述特定子编码数据划分为预定数量的孙编码数据。Alternatively, the dividing means 1108 is configured to receive a code division request for dividing the generated original graphic coded data. The code division request is parsed to determine the number N of subcodes. The data information included in the generated original graphic encoding data is divided into N pieces of sub-data information. The generated original graphic coded data is divided into N sub-coded data according to the N pieces of sub-data information. Each of the N sub-coded data is sent to a corresponding user equipment, wherein each user equipment is capable of receiving at least one sub-coded data. The present application sets header information for each sub-encoded data, wherein the header information of each sub-encoded data is the same, different or related to the header information of the generated original graphic encoded data. A code division request for division for 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.

应当了解的是,可以将月原始的图形编码数据中的数据信息平均分为N份子信息,并且利用N份子信息中的每一份子信息来形成N个子编码数据中的每个。N份子信息具有先后顺序,这个先后顺序依赖于数据信息的内容,即N份子信息按照序号进行组合后能够形成数据信息而无需修改顺序。此外,可以将原始的图形编码数据中的数据信息不平均地分为N份子信息。或者,可以按照语义结构、分隔符结构等将原始的图形编码数据中的数据信息地分为N份子信息。It should be understood that the data information in the original graphic coded data can be divided into N pieces of sub-information equally, and each of the N pieces of sub-coded data is formed by using each piece of the N pieces of sub-information. The N pieces of information have an order, and the order depends on the content of the data information, that is, after the N pieces of information are combined according to the serial numbers, data information can be formed without modifying the order. In addition, the data information in the original graphic encoded data can be divided into N pieces of information unevenly. Alternatively, the data information in the original graphic encoding data can be divided into N pieces of information according to the semantic structure, the delimiter structure, and the like.

通过上面的说明可知,多个层级式图形编码数据可以位于不同的级别,其中每个图形编码数据最多可以划分为预定数量的作为子码的图形编码数据。对原始的图形编码数据进行划分所得到的层级式图形编码数据位于所述原始的图形编码数据的下一级别。对特定的层级式图形编码数据进行划分所得到的新的层级式图形编码数据位于所述特定的层级式图形编码数据的下一级别。又例如,当子码数量N为8时,原始的图形编码数据最多可以分为8个子编码数据,并且每个子编码数据最多可分为8个孙编码数据,以此类推。As can be seen from the above description, a plurality of hierarchical graphic encoding data may be located at different levels, wherein each graphic encoding data may be divided into a predetermined number of graphic encoding data serving as subcodes at most. The hierarchical graphics encoding data obtained by dividing the original graphics encoding data is located at the next level of the original graphics encoding data. The new hierarchical graphic coding data obtained by dividing the specific hierarchical graphic coding data is located at the next level of the specific hierarchical graphic coding data. For another example, when the number of sub-codes N is 8, the original graphic coded data can be divided into 8 sub-coded data at most, and each sub-coded data can be divided into 8 grand-coded data at most, and so on.

在本申请中,符合编码比例的原始的图形编码数据、原始的图形编码数据、原始图形编码数据、所生成的符合编码比例的原始的图形编码数据、所生成的原始的图形编码数据、所生成的原始图形编码数据可以指代同一内容。In this application, the original graphics encoding data conforming to the encoding ratio, the original graphics encoding data, the original graphics encoding data, the generated original graphics encoding data conforming to the encoding ratio, the generated original graphics encoding data, the generated can refer to the same content.

其中所生成的原始的图形编码数据包括:主定标、系统信息和备份信息,其中所述系统信息包括尺寸等级信息和纠错等级信息,并且所述备份信息包括尺寸等级信息和纠错等级信息。所生成的原始的图形编码数据还包括子定标。The generated original graphic coded data includes: main scaling, system information and backup information, wherein 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 raw graphics encoded data also includes subscales.

设置装置1109,用于在子编码数据的配置信息中设置:子编码数据的数量、子编码数据的序号和原始的图形编码数据的哈希值。本申请在层级式图形编码数据的配置信息中包括:同级图形编码数据的数量、同级图形编码数据的序号和上级的图形编码数据的哈希值。The setting means 1109 is configured to set in the configuration information of the sub-coded data: the quantity of the sub-coded data, the serial number of the sub-coded data, and the hash value of the original graphic-coded data. In the present application, the configuration information of the hierarchical graphic coding data includes: the quantity of the graphic coding data of the same level, the serial number of the graphic coding data of the same level, and the hash value of the graphic coding data of the upper level.

标题信息是所生成的符合编码比例的图形编码数据包括的数据信息的概要信息。子编码数据的数据信息包括原始的图形编码数据的码纠错等级和原始的图形编码数据的部分数据信息。其中多个层级式图形编码数据中的每个层级式图形编码数据包括:上级图形编码数据的纠错等级和上级编码数据的部分数据信息。所述配置信息还包括:配置信息版本号、标题信息标志位、分块标志位以及自定义配置数据。所述配置信息还包括:码块总数、当前码块序号以及上级码块哈希值。所述标题信息还包括压缩标志位。The header information is the outline information of the data information included in the generated graphic encoding data conforming to the encoding scale. The data information of the sub-coded data includes the code error correction level of the original graphic encoded data and the partial data information of the original graphic encoded data. Each of the plurality of hierarchical graphic coding data includes: an error correction level of the upper-level graphic coding data and partial data information of the upper-level coding data. The configuration information further includes: configuration information version number, header information flag bit, block flag bit and self-defined configuration data. The configuration information further includes: the total number of code blocks, the serial number of the current code block, and the hash value of the upper-level code block. The header information also includes a compression flag.

本申请还包括通过以下方式来生成经过加密的图形编码数据,为未经加密的原始的图形编码数据的标题信息生成哈希字符串,使用所述哈希字符串对所述原始的图形编码数据的数据信息进行逐字节的异或操作,对经过异或操作的图形编码数据进行加密以生成经过加密的图形编码数据。在接收到经过加密的图形编码数据之后,对所述经过加密的图形编码数据进行解密以生成待处理的图形编码数据,为所述待处理的图形编码数据的标题信息生成哈希字符串,使用所述哈希字符串对所述待处理的图形编码数据的数据信息进行逐字节的异或操作,以获得未经加密的原始的图形编码数据。The present application also includes generating encrypted graphics coded data in the following manner, generating a hash string for the title information of the unencrypted original graphics coded data, and using the hash string to interpret the original graphics coded data Byte-by-byte XOR operation is performed on the data information, and the XOR-operated graphics encoding data is encrypted to generate encrypted graphics encoding data. After receiving the encrypted graphics encoding data, decrypt the encrypted graphics encoding data to generate the graphics encoding data to be processed, generate a hash string for the title information of the graphics encoding data to be processed, and use The hash string performs byte-by-byte XOR operation on the data information of the to-be-processed graphics encoding data to obtain unencrypted original graphics encoding data.

已经通过参考少量实施方式描述了本发明。然而,本领域技术人员所公知的,正如附带的专利权利要求所限定的,除了本发明以上公开的其他的实施例等同地落在本发明的范围内。The present invention has been described with reference to a few embodiments. However, as is known to those skilled in the art, other embodiments than the above disclosed invention are equally within the scope of the invention, as defined by the appended patent claims.

通常地,在权利要求中使用的所有术语都根据他们在技术领域的通常含义被解释,除非在其中被另外明确地定义。所有的参考“一个/所述/该[装置、组件等]”都被开放地解释为所述装置、组件等中的至少一个实例,除非另外明确地说明。这里公开的任何方法的步骤都没必要以公开的准确的顺序运行,除非明确地说明。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/the/the [means, component, etc.]" are open to interpretation as at least one instance of said means, component, etc., unless expressly 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 上海交通大学 A two-dimensional texture code and its encoding and decoding method

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
CN105825257B (en) Information hiding and hiding information extracting method and system based on two-dimensional bar code
US8254570B2 (en) Method and system for encryption of data
US20190370620A1 (en) Method and apparatus for generating and reading composite two-dimensional code
CN100576227C (en) A kind of software encrypting registration piracy-preventing method
CN106610995B (en) Method, device and system for creating ciphertext index
US11902417B2 (en) Computer-implemented method of performing format-preserving encryption of a data object of variable size
CN1941691B (en) Apparatus and method for generating data for detecting false alteration of encrypted data during processing
CN112883361B (en) Function jump method and device of application program, computer equipment and storage medium
CN110704854B (en) Stream type encryption method aiming at text data reserved format
US20210279341A1 (en) Cryptographic security system, method, and program product using data partitioning
CN111242259B (en) Intelligent anti-counterfeiting code encoding and decoding method and system
CN110830261B (en) Encryption method, encryption device, computer equipment and storage medium
CN109214488B (en) A method and system for information transmission based on graphic coded data
CN108959949B (en) Method and system for carrying out safe information transmission through graphic coding data
Yu et al. A Novel Three‐Layer QR Code Based on Secret Sharing Scheme and Liner Code
CN105718978A (en) QR code generation method and apparatus, and decoding method and apparatus
CN109743305A (en) The method for realizing applicating text data protection in the application of Intelligent dialogue system
CN109086850B (en) Method and system for processing information by utilizing hierarchical graphic coding data
CN116915491A (en) Multi-user-oriented multi-dimensional key mixed symmetric key encryption and decryption method
CN114091081B (en) Subtitle file encryption and decryption method, system, storage medium and electronic device
CN116664123A (en) Digital wallet design method based on blockchain technology
CN111556071B (en) Data encryption algorithm and system for computer
CN109190738A (en) A kind of generation of encoding of graphs, recognition methods and device
Koptyra et al. Multi-secret Steganography in QR Codes
Bikos PRIVocular: Enhancing User Privacy Through Air-Gapped Communication Channels

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

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.

TR01 Transfer of patent right