Two-dimensional gridding data processing method, device, equipment and medium

By converting two-dimensional code into a two-dimensional array and creating a two-dimensional table in the code editing area, the inefficiency caused by the blank area on the right side of the code editing interface is solved, resulting in a more efficient Chinese programming experience.

CN114968212BActive Publication Date: 2026-11-24张文涛
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210621420.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-01
Publication Date
2026-11-24
Estimated Expiration
2042-06-01

AI Technical Summary

Technical Problem

The presence of a large amount of blank space on the right side of the code editing interface leads to low code editing efficiency, especially when programming in Chinese, where merging lines of code requires additional keyboard and mouse operations.

Method used

Convert two-dimensional code into two-dimensional array code and create a two-dimensional table in the code editing area, utilizing the blank space of the code editing area to improve the efficiency of Chinese programming.

Benefits of technology

By using a two-dimensional gridded data processing method, the number of page turns and scrolling during code editing is reduced, visual fatigue is decreased, and code editing efficiency and communication efficiency are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114968212B_ABST
    Figure CN114968212B_ABST
Patent Text Reader

Abstract

This disclosure provides a two-dimensional gridded data processing method, apparatus, device, and medium. The data processing method includes: acquiring two-dimensional code; converting the code format of the two-dimensional code to obtain two-dimensional array code; establishing a two-dimensional table in a code editing area based on the code structure characteristics of the two-dimensional array code; and writing the two-dimensional array code into the two-dimensional table to obtain a two-dimensional gridded encoding result. The method of this disclosure is particularly suitable for two-dimensional gridded data processing methods oriented towards Chinese programming. This method can make full use of the blank area of ​​the code editing area and can improve the code editing efficiency in the process of using Chinese programming or Chinese-involved programming.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a two-dimensional gridded data processing method, apparatus, device, and medium. Background Technology

[0002] When technical personnel are editing code, a large amount of blank space often appears on the right side of the editing interface. To reduce this blank space and increase the amount of code displayed per page, additional time is spent merging multiple lines of code into a single line using keyboard and mouse, resulting in low editing efficiency. Summary of the Invention

[0003] This disclosure provides a two-dimensional gridded data processing method, apparatus, device, and medium.

[0004] The following technical solution is adopted in this disclosure.

[0005] In some embodiments, this disclosure provides a two-dimensional gridded data processing method, including:

[0006] Get the QR code;

[0007] The code format of the two-dimensional code is converted to obtain a two-dimensional array code;

[0008] Based on the code structure characteristics of the two-dimensional array code, a two-dimensional table is created in the code editing area;

[0009] Write the two-dimensional array code into the two-dimensional table to obtain the two-dimensional grid encoding result.

[0010] In some embodiments, this disclosure provides a two-dimensional gridded data processing apparatus, comprising:

[0011] The acquisition module is used to acquire two-dimensional codes;

[0012] The first processing module is used to convert the code format of the two-dimensional code to obtain a two-dimensional array code;

[0013] The second processing module is used to create a two-dimensional table in the code editing area based on the code structure characteristics of the two-dimensional array code;

[0014] The third processing module is used to write the two-dimensional array code into the two-dimensional table to obtain the two-dimensional grid encoding result.

[0015] In some embodiments, this disclosure provides an electronic device, including: at least one memory and at least one processor;

[0016] The memory is used to store program code, and the processor is used to call the program code stored in the memory to execute the above method.

[0017] In some embodiments, this disclosure provides a computer-readable storage medium for storing program code that, when run by a processor, causes the processor to perform the methods described above.

[0018] The two-dimensional gridded data processing method provided in this disclosure first obtains two-dimensional code; then, the code format of the two-dimensional code is converted to obtain two-dimensional array code; based on the code structure characteristics of the two-dimensional array code, a two-dimensional table is established in the code editing area; finally, the two-dimensional array code is written into the two-dimensional table to obtain the two-dimensional gridded encoding result. This method is particularly suitable for two-dimensional table-based processing for Chinese programming, as it can fully utilize the blank areas of the code editing area and improve code editing efficiency in Chinese programming or programming involving Chinese characters. Attached Figure Description

[0019] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.

[0020] Figure 1 This is one of the flowcharts of a two-dimensional gridded data processing method according to an embodiment of this disclosure.

[0021] Figure 2 This is the second flowchart of a two-dimensional gridded data processing method according to an embodiment of this disclosure.

[0022] Figure 3 This is the third flowchart of the two-dimensional gridded data processing method according to an embodiment of this disclosure.

[0023] Figure 4 This is the fourth flowchart of the two-dimensional gridded data processing method according to an embodiment of this disclosure.

[0024] Figure 5 This is the fifth flowchart of the two-dimensional gridded data processing method according to an embodiment of this disclosure.

[0025] Figure 6 This is the sixth flowchart of the two-dimensional gridded data processing method according to an embodiment of this disclosure.

[0026] Figure 7 This is the seventh flowchart of the two-dimensional gridded data processing method according to an embodiment of this disclosure.

[0027] Figure 8This is the eighth flowchart of a two-dimensional gridded data processing method according to an embodiment of this disclosure.

[0028] Figure 9 This is flowchart nine of the two-dimensional gridded data processing method according to an embodiment of this disclosure.

[0029] Figure 10 This is the tenth flowchart of the two-dimensional gridded data processing method according to an embodiment of this disclosure.

[0030] Figure 11 This is flowchart eleven of the two-dimensional gridded data processing method according to an embodiment of this disclosure.

[0031] Figure 12 This is the twelfth flowchart of the two-dimensional gridded data processing method according to an embodiment of this disclosure.

[0032] Figure 13 This is a schematic diagram of the code editing area in an embodiment of this disclosure.

[0033] Figure 14 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation

[0034] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0035] It should be understood that the various steps described in the method embodiments of this disclosure can be performed in sequence and / or in parallel. Furthermore, method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0036] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0037] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0038] It should be noted that the use of the word "a" in this disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as "one or more" unless otherwise expressly indicated in the context.

[0039] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0040] The solutions provided by the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.

[0041] Understandably, most screens used for programming are widescreen, often resulting in significant blank space on the right side of the code. This is especially true when programming in Chinese, which is more concise and refined than Western languages. This conciseness is a unique characteristic of Chinese, leading to shorter code widths and more blank space on the right. Code editing software, such as VS Code, EditPlus, and Notepad++, is primarily designed for Western programming, with a single, unified input area. To reduce right-side blank space and increase the amount of code displayed per page, users often merge multiple lines of code into a single line. However, this often requires using tabs or spaces, incurring extra time spent repositioning the code. If we consider the amount of editable code within the same editing area as a technical metric, a higher metric helps solve coding problems. The proof is as follows: to solve a problem, m threads are needed, distributed across n lines of code. There are two code display options, option a and option b. The difference between the two options is that, within a unit display area, option a displays more code than option b. If m clues are simultaneously displayed in the code contained in option a, then they must also be simultaneously displayed in the code contained in option b. If m clues are simultaneously displayed in the code contained in option b, they are not necessarily displayed in the code contained in option a. Let the event set of m clues simultaneously displayed in option a be Ta, and the event set of m clues simultaneously displayed in option b be Tb. The probability of Tb occurring is greater than or equal to the probability of Ta occurring, so solution b is more helpful in solving the problem than solution a. Therefore, the more editable code that edits the same code within the same editing area, the higher the probability that clues helpful in solving the problem will appear in the code, and the more helpful it will be in solving the problem.

[0042] like Figure 1 As shown, Figure 1 This is a flowchart of a two-dimensional gridded data processing method according to an embodiment of the present disclosure, which includes the following steps.

[0043] Step S01: Obtain the two-dimensional code;

[0044] In some embodiments, a two-dimensional code pre-stored on the server is obtained, or a two-dimensional code is obtained in response to a local upload instruction.

[0045] Step S02: Convert the code format of the two-dimensional code to obtain a two-dimensional array code;

[0046] In some embodiments, the two-dimensional code is first read, and then the data exchange format of the two-dimensional code is converted to obtain a two-dimensional array code.

[0047] Step S03: Based on the code structure characteristics of the two-dimensional array code, create a two-dimensional table in the code editing area;

[0048] In some embodiments, a two-dimensional table is created in the code editing area based on the number of rows and columns of the matrix code in the two-dimensional array code, such as... Figure 13 As shown. The two-dimensional table consists of standard cells used for code editing.

[0049] Step S04: Write the two-dimensional array code into the two-dimensional table to obtain the two-dimensional grid encoding result.

[0050] In some embodiments, the matrix code is written into each standard cell of the two-dimensional table according to the row number and column number of the matrix code to obtain a two-dimensional grid encoding result.

[0051] The two-dimensional gridded data processing method described in this disclosure refers to the data processing method for Chinese programming provided in the embodiments of this disclosure. It first obtains two-dimensional code; then converts the code format of the two-dimensional code to obtain two-dimensional array code; based on the code structure characteristics of the two-dimensional array code, a two-dimensional table is established in the code editing area; finally, the two-dimensional array code is written into the two-dimensional table to obtain the two-dimensional grid encoding result. The method of this disclosure can fully utilize the blank area of ​​the code editing area, thereby improving code editing efficiency in the process of programming with Chinese characters or involving Chinese characters.

[0052] In some embodiments, obtaining the two-dimensional code includes:

[0053] Obtain a pre-stored two-dimensional code from the server, or in response to a local upload command, obtain the two-dimensional code according to the local upload command.

[0054] In some embodiments, a QR code stored on a specified server or a QR code uploaded by a user can be opened.

[0055] In some embodiments, the conversion of the code format to obtain two-dimensional array code includes:

[0056] Read the two-dimensional code;

[0057] The data exchange format of the two-dimensional code is converted to obtain a two-dimensional array code.

[0058] In some embodiments, such as Figure 3 As shown, the code source code is read. When the format is JSON, the JSON format is converted into a two-dimensional array code; when the format is other available formats, the other formats are converted into two-dimensional array code, and a two-dimensional file array code is returned.

[0059] In some embodiments, the code is Chinese character code generated based on fourth-generation computer languages, including but not limited to.

[0060] In some embodiments, the Chinese programming mentioned in this patent also includes programming in which Chinese is partially used in the programming process of keywords, variables, function names, class names, space names, comments, code file names, etc.

[0061] While professionals generally equate Chinese programming with programming entirely in Chinese characters, in practice, some native Chinese-speaking programmers have gradually become accustomed to using Chinese in comments. In projects involving code editing, testing, debugging, and later upgrades, these native language comments make it easier to recall content forgotten over time. Furthermore, replacing English function or variable names with Chinese ones in projects further reduces communication and memory costs, significantly improving code editing efficiency. The increasing use of Chinese in the programming process is a future trend.

[0062] Currently, the latest versions of many languages ​​support programming with Chinese input, such as PHP, JavaScript, and .NET compilers. However, most editors are foreign-made and manufactured. Although Chinese is incorporated into the programming process, designers often lack a deep understanding of Chinese programming and therefore haven't implemented any special designs for it. This disclosure fully utilizes the conciseness of Chinese to improve efficiency in Chinese programming.

[0063] In some instances, the code is saved in the traditional one-dimensional code format, but it can also be edited using a two-dimensional editor.

[0064] In some embodiments, Chinese characters of the same width can express more meaning than Western characters. For example, there are approximately 3,500 commonly used Chinese characters, while Unicode 13.0 includes approximately 93,000 Chinese characters; there are 26 letters in the English alphabet; the display width of Chinese characters is generally twice that of English characters; there are 676 possible combinations of two English letters; the expressive power of one Chinese character is 5 to 137 times that of two English characters; if the number of Chinese characters is n and the number of English characters is 2n, then the expressive power of n Chinese characters of the same width will be 5n to 137n times that of 2n English characters. There are 17,576 possible combinations of 3 English letters and 456,976 possible combinations of 4 English letters. The expressive power of 3 English characters < the expressive power of 1 Chinese character < the expressive power of 4 English characters. From the perspective of written symbols, to express the same meaning, the width of Chinese characters will be 1.5 to 2 times narrower than that of English characters. In summary, this disclosure utilizes the concise nature of Chinese characters to generate Chinese character codes based on fourth-generation computer languages, thereby achieving a higher technical indicator of the amount of editable code that can be edited within the same editing code area, thus providing more technical advantages for Chinese programming.

[0065] In some embodiments, establishing a two-dimensional table in the code editing area based on the code structure characteristics of the two-dimensional array code includes:

[0066] Based on the number of rows and columns of the matrix code in the two-dimensional array code, a two-dimensional table is created in the code editing area. The two-dimensional table consists of standard cells used for code editing.

[0067] In some embodiments, such as Figure 2 As shown, after reading the two-dimensional array code, the maximum number of rows and columns of the matrix code is first determined, and then according to... Figure 2 The process involves creating a two-dimensional table.

[0068] In some embodiments, it also includes:

[0069] When the code in the two-dimensional table is revised, the original color of the revised code is replaced by a preset revision color, and the replaced code is displayed with revision marks.

[0070] In some embodiments, such as Figure 12 As shown, when the code in the two-dimensional table is modified, the original color of the keyword is replaced by a keyword crawler and the code after the crawler replaces the keyword is displayed.

[0071] In some embodiments, writing the two-dimensional array code into the two-dimensional table to obtain a two-dimensional grid encoding result includes:

[0072] Based on the row and column numbers of the matrix code, the matrix code is written into each standard cell of the two-dimensional table to obtain the two-dimensional grid encoding result.

[0073] In some embodiments, the code is written into the corresponding position in the two-dimensional table according to the row number and column number corresponding to the matrix code in the two-dimensional array code, thereby obtaining the two-dimensional grid encoding result.

[0074] In some embodiments, after editing the code in a two-dimensional table, the two-dimensional table can be saved, such as... Figure 4 As shown, the edited two-dimensional table can be downloaded to the local machine or saved to the server.

[0075] In some embodiments, this disclosure also provides a method for saving the edited two-dimensional table, such as... Figure 5 As shown.

[0076] In some embodiments, this disclosure also provides a method for saving the edited two-dimensional table in the background, such as... Figure 6 As shown.

[0077] In some embodiments, this disclosure also provides a button design method for editing two-dimensional tables, such as... Figure 7 As shown.

[0078] In some embodiments, this disclosure also provides a method for shifting the code area in a two-dimensional table, such as... Figure 8 As shown, a recursive method is used, where the next row number and the next column number are the row number and column number of the next call.

[0079] In some embodiments, this disclosure also provides a method for shifting the code area forward in a two-dimensional table, such as... Figure 9 As shown.

[0080] In some embodiments, this disclosure also provides a method for adding a row to the code area of ​​a two-dimensional table, such as... Figure 10 As shown.

[0081] In some embodiments, this disclosure also provides a method for reducing a row in the code area of ​​a two-dimensional table, such as... Figure 11 As shown.

[0082] The two-dimensional Chinese encoding method disclosed herein carries more than three times the information of equivalent one-dimensional English code. This reduces the number of times users need to flip through pages or scroll through code, saving time and effort. It also reduces visual fatigue caused by page flipping or scrolling, ultimately improving software productivity. When expressing the same amount of code information, the number of lines in two-dimensional Chinese encoding is often one-third that of one-dimensional encoding. If one-dimensional code is three pages long, two-dimensional Chinese code will be less than one page. In this case, when finding bugs and modifying code, users of one-dimensional encoding often need to flip through pages, causing more visual fatigue and mental stress. Users of two-dimensional Chinese encoding do not need to flip pages, significantly reducing visual fatigue and mental stress, thus greatly improving software productivity. Two-dimensional Chinese grid encoding aligns the code vertically, making it easier to read, understand, edit, and debug; it significantly improves the efficiency of visual code retrieval, saving eye strain; and it enhances software productivity, making it more convenient for users.

[0083] In some embodiments, the methods provided in this disclosure are also applicable to English encoding, and no specific limitations are made herein.

[0084] Two-dimensional Chinese grid coding carries significantly more information than traditional one-dimensional English code. Therefore, it allows for more descriptive language, making the designed computer language more similar to everyday language. Table 1 below shows a code snippet for creating a data table. It not only replaces Chinese characters but also enriches the expression, utilizing grid positions to align content vertically. Therefore, in two-dimensional grid coding, more descriptive language can be used to replace function names, keywords, and variable names, making the code more conversational and closer to documentation. Incorporating interesting language makes the code easier for users to learn, increasing the enjoyment of the coding process and improving efficiency. Business personnel can also learn and master this interesting code more quickly.

[0085] Table 1

[0086]

[0087] Two-dimensional Chinese grid encoding is closer to the language people use in daily life, and it also makes the code look more like documentation. In practice, it has been found that in code development projects involving business personnel, because the code looks like documentation, they can communicate directly using the code, which makes communication more efficient. Business personnel and technical personnel can directly discuss which code needs to be modified.

[0088] Chinese characters themselves have a two-dimensional structure and possess the characteristic of sound, form, and meaning being integrated. Combined with two-dimensional encoding, this greatly enhances the semantic expressiveness of the code.

[0089] Two-dimensional grid coding offers exceptional flexibility. In practice, this feature can be applied to creating problem-oriented computer languages. Users can define their own coding language standards and two-dimensional representations for each problem and requirement. When users create custom coding languages ​​specifically for business logic, concepts like classes, functions, and objects can be omitted (similar to Java eliminating pointers), focusing only on the logic used in the business logic to create the compiler. In this case, business users don't need to learn basic programming languages; they can use a custom business coding language standard, making it easier for them to learn and use. Simultaneously, developers only need to create compilers for a limited number of business logic logics, significantly reducing the cost of compiler development.

[0090] This disclosure also provides a two-dimensional gridded data processing device, including...

[0091] The acquisition module is used to acquire two-dimensional codes;

[0092] The first processing module is used to convert the code format of the two-dimensional code to obtain a two-dimensional array code;

[0093] The second processing module is used to create a two-dimensional table in the code editing area based on the code structure characteristics of the two-dimensional array code;

[0094] The third processing module is used to write the two-dimensional array code into the two-dimensional table to obtain the two-dimensional grid encoding result.

[0095] In some embodiments, the acquisition module is specifically used for:

[0096] Obtain a pre-stored two-dimensional code from the server, or in response to a local upload command, obtain the two-dimensional code according to the local upload command.

[0097] In some embodiments, the first processing module is specifically used for:

[0098] Read the two-dimensional code;

[0099] The data exchange format of the two-dimensional code is converted to obtain a two-dimensional array code.

[0100] In some embodiments, the code is Chinese character code generated based on a computer language.

[0101] In some embodiments, the second processing module is specifically used for:

[0102] Based on the number of rows and columns of the matrix code in the two-dimensional array code, a two-dimensional table is created in the code editing area. The two-dimensional table consists of standard cells used for code editing.

[0103] In some embodiments, a fourth processing module is also included;

[0104] The fourth processing module is used to replace the original color of the revised code with a preset revision color when the code in the two-dimensional table is revised, and to display the replaced code with revision marks.

[0105] In some embodiments, the third processing module is specifically used for:

[0106] Based on the row and column numbers of the matrix code, the matrix code is written into each standard cell of the two-dimensional table to obtain the two-dimensional grid encoding result.

[0107] For embodiments of the apparatus, since they basically correspond to the method embodiments, relevant details can be found in the descriptions of the method embodiments. The apparatus embodiments described above are merely illustrative, and the modules described as separate modules may or may not be separate. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0108] The methods and apparatus of this disclosure have been described above based on embodiments and application examples. Furthermore, this disclosure also provides an electronic device and a computer-readable storage medium, which are described below.

[0109] The following is for reference. Figure 14 The figure illustrates a structural schematic of an electronic device (e.g., a terminal device or server) 800 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in the figure is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present disclosure.

[0110] Electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 802 or a program loaded from storage device 808 into random access memory (RAM) 803. RAM 803 also stores various programs and data required for the operation of electronic device 800. The processing device 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.

[0111] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although an electronic device 800 with various devices is shown in the figure, it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0112] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by a processing device 801, it performs the functions defined in the methods of embodiments of this disclosure.

[0113] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0114] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0115] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0116] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure.

[0117] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0118] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0119] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.

[0120] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0121] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0122] According to one or more embodiments of this disclosure, a two-dimensional gridded data processing method is provided, comprising:

[0123] Get the QR code;

[0124] The code format of the two-dimensional code is converted to obtain a two-dimensional array code;

[0125] Based on the code structure characteristics of the two-dimensional array code, a two-dimensional table is created in the code editing area;

[0126] Write the two-dimensional array code into the two-dimensional table to obtain the two-dimensional grid encoding result.

[0127] According to one or more embodiments of this disclosure, a method is provided for obtaining a two-dimensional code, comprising:

[0128] Obtain a pre-stored two-dimensional code from the server, or in response to a local upload command, obtain the two-dimensional code according to the local upload command.

[0129] According to one or more embodiments of this disclosure, a method is provided for converting the code format of the two-dimensional code to obtain a two-dimensional array code, including:

[0130] Read the two-dimensional code;

[0131] The data exchange format of the two-dimensional code is converted to obtain a two-dimensional array code.

[0132] According to one or more embodiments of this disclosure, a method is provided in which the code is Chinese character code generated based on a computer language.

[0133] According to one or more embodiments of this disclosure, a method is provided in which a two-dimensional table is created in a code editing area based on the code structure characteristics of the two-dimensional array code, comprising:

[0134] Based on the number of rows and columns of the matrix code in the two-dimensional array code, a two-dimensional table is created in the code editing area. The two-dimensional table consists of standard cells used for code editing.

[0135] According to one or more embodiments of this disclosure, a method is provided, further comprising:

[0136] When the code in the two-dimensional table is revised, the original color of the revised code is replaced by a preset revision color, and the replaced code is displayed with revision marks.

[0137] According to one or more embodiments of this disclosure, a method is provided in which the two-dimensional array code is written into the two-dimensional table to obtain a two-dimensional grid encoding result, comprising:

[0138] Based on the row and column numbers of the matrix code, the matrix code is written into each standard cell of the two-dimensional table to obtain the two-dimensional grid encoding result.

[0139] According to one or more embodiments of this disclosure, a two-dimensional gridded data processing apparatus is provided, comprising:

[0140] The acquisition module is used to acquire two-dimensional codes;

[0141] The first processing module is used to convert the code format of the two-dimensional code to obtain a two-dimensional array code;

[0142] The second processing module is used to create a two-dimensional table in the code editing area based on the code structure characteristics of the two-dimensional array code;

[0143] The third processing module is used to write the two-dimensional array code into the two-dimensional table to obtain the two-dimensional grid encoding result.

[0144] According to one or more embodiments of the present disclosure, an electronic device is provided, including: at least one memory and at least one processor;

[0145] The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method described in any one of the above.

[0146] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided for storing program code that, when executed by a processor, causes the processor to perform the methods described above.

[0147] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0148] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0149] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A two-dimensional gridded data processing method, characterized in that, include: Get the QR code; The code format of the two-dimensional code is converted to obtain a two-dimensional array code; Based on the code structure characteristics of the two-dimensional array code, a two-dimensional table is created in the code editing area, including: based on the number of rows and columns of the matrix code of the two-dimensional array code, a two-dimensional table is created in the code editing area, wherein the two-dimensional table is composed of standard cells for code editing; Write the two-dimensional array code into the two-dimensional table to obtain the two-dimensional grid encoding result.

2. The method according to claim 1, characterized in that, The process of obtaining the two-dimensional code includes: Obtain a pre-stored two-dimensional code from the server, or in response to a local upload command, obtain the two-dimensional code according to the local upload command.

3. The method according to claim 1, characterized in that, The conversion of the code format of the two-dimensional code to obtain the two-dimensional array code includes: Read the two-dimensional code; The data exchange format of the two-dimensional code is converted to obtain a two-dimensional array code.

4. The method according to claim 1, characterized in that, The code is Chinese character code generated based on a computer language.

5. The method according to claim 1, characterized in that, Also includes: When the code in the two-dimensional table is revised, the original color of the revised code is replaced by a preset revision color, and the replaced code is displayed with revision marks.

6. The method according to claim 1, characterized in that, The step of writing the two-dimensional array code into the two-dimensional table to obtain the two-dimensional grid encoding result includes: Based on the row and column numbers of the matrix code, the matrix code is written into each standard cell of the two-dimensional table to obtain the two-dimensional grid encoding result.

7. A two-dimensional gridded data processing device, characterized in that, include: The acquisition module is used to acquire two-dimensional codes; The first processing module is used to convert the code format of the two-dimensional code to obtain a two-dimensional array code; The second processing module is used to create a two-dimensional table in the code editing area according to the code structure characteristics of the two-dimensional array code, including: creating a two-dimensional table in the code editing area according to the number of rows and columns of the matrix code of the two-dimensional array code, wherein the two-dimensional table is composed of standard cells for code editing; The third processing module is used to write the two-dimensional array code into the two-dimensional table to obtain the two-dimensional grid encoding result.

8. An electronic device, comprising: At least one memory and at least one processor; The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method of any one of claims 1 to 6.

9. A computer-readable storage medium for storing program code that, when executed by a processor, causes the processor to perform the method of any one of claims 1 to 6.