CN110162309B - Parameter checking method and device - Google Patents

Parameter checking method and device Download PDF

Info

Publication number
CN110162309B
CN110162309B CN201910451267.5A CN201910451267A CN110162309B CN 110162309 B CN110162309 B CN 110162309B CN 201910451267 A CN201910451267 A CN 201910451267A CN 110162309 B CN110162309 B CN 110162309B
Authority
CN
China
Prior art keywords
parameter
operation instruction
hbase database
preset
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
CN201910451267.5A
Other languages
Chinese (zh)
Other versions
CN110162309A (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.)
Chengdu Sefon Software Co Ltd
Original Assignee
Chengdu Sefon Software 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 Chengdu Sefon Software Co Ltd filed Critical Chengdu Sefon Software Co Ltd
Priority to CN201910451267.5A priority Critical patent/CN110162309B/en
Publication of CN110162309A publication Critical patent/CN110162309A/en
Application granted granted Critical
Publication of CN110162309B publication Critical patent/CN110162309B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding

Abstract

The parameter checking method and device provided by the application are applied to data processing equipment. The data processing equipment is provided with an Hbase database, wherein the Hbase database comprises a Java code segment for verifying operation parameters of database operation instructions, and the Java code segment comprises a Unicode coding range of preset English characters, symbolic characters and Chinese characters. And converting the database operation parameters of the byte array type acquired by the Java code segment into the char array type. And sequentially acquiring data in the char array, converting the data into corresponding integers, comparing the integers with the Unicode coding range, and further judging that the operation is a legal character. Therefore, the user can build the table directly by Chinese, and the user experience is improved.

Description

Parameter checking method and device
Technical Field
The present application relates to the field of data processing, and in particular, to a parameter checking method and apparatus.
Background
With the explosive growth of data in the industry, the traditional relational database cannot meet the requirement of the industry on the storage and quick retrieval of hundreds of millions of large data tables, and a new database is urgently needed in the industry for storing the explosively-increased data.
The HBase is used as a distributed non-relational database running on the HDFS, has the advantages of massive data storage capacity and high-speed data retrieval, and is widely applied to the application scenes of real-time analysis and rapid retrieval of massive data. However, native HBas does not support table creation using chinese directly, and table creation using chinese would throw corresponding error information directly. At present, it is common practice in the industry to convert chinese into Unicode code by a program, and create a data table with the Unicode code as a table name. However, in the Unicode coded chinese, the user has poor readability, and the corresponding chinese character can be obtained only by looking up the corresponding coding table. Therefore, the user experience is extremely poor for users using chinese.
Disclosure of Invention
In order to overcome at least one of the deficiencies in the prior art, an object of the present application is to provide a parameter checking method applied to a data processing device, where the data processing device is configured with an Hbase database, the Hbase database includes a Java code segment for checking an operation parameter in an operation instruction of the database, the code segment includes a Unicode encoding range of a preset character, and the preset character includes an english character, a preset symbol character, and a preset chinese character, where the method includes:
obtaining an operating parameter in the Hbase database operating instruction, wherein the operating parameter is a byte type array;
converting the operation parameters into an array of char types;
and sequentially reading the data in the char type array, converting the data into integers, and comparing the integers with the Unicode encoding range.
And if the integers corresponding to the data are all located in the Unicode encoding range, executing a corresponding operation instruction according to the operation parameters.
Optionally, the step of obtaining the operation parameters in the Hbase database operation instruction includes:
acquiring an Hbase database operation instruction;
and analyzing the operation instruction according to the grammar rule of the operation instruction to obtain the operation parameters in the operation instruction.
Optionally, the method further comprises:
and if the integer corresponding to the data is not in the Unicode encoding range, not executing the operation instruction corresponding to the operation parameter.
Optionally, the operation parameter is a table name of a database.
Optionally, the method further comprises:
obtaining the Java code fragment, and replacing a relevant code of a preset position in a source code of the Hbase database by the Java code fragment;
compiling the modified Hbase database source code to obtain a compiling result, and deploying the compiling result.
Another objective of the embodiments of the present application is to provide a parameter checking device, which is applied to a data processing device, where the data processing device is configured with an Hbase database, the Hbase database includes a Java code segment for checking an operation parameter in an operation instruction of the database, the code segment includes a Unicode encoding range of a preset character, the preset character includes an english character, a symbol character and a chinese character, and the parameter checking device includes an obtaining module, a first converting module, a second converting module and a comparing module;
the obtaining module is used for obtaining an operating parameter in the Hbase database operating instruction, wherein the operating parameter is a byte type array;
the first conversion module is used for converting the operation parameters into an array of char types;
the second conversion module is used for reading the data in the char type array in sequence, converting the data into integers and comparing the integers with the Unicode coding range;
and the comparison module is used for executing a corresponding operation instruction according to the operation parameter if the integer corresponding to the data is positioned in the Unicode encoding range.
Optionally, the obtaining module obtains the operating parameter by:
acquiring an Hbase database operation instruction;
and analyzing the operation instruction according to the grammar rule of the operation instruction to obtain the operation parameters in the operation instruction.
Optionally, the comparing module is further configured to not execute the operation instruction corresponding to the operation parameter if the integer corresponding to the data is not within the Unicode encoding range.
Optionally, the operation parameter is a table name of a database.
Optionally, the parameter checking apparatus further includes a replacement module and a deployment module;
the replacing module is used for obtaining the Java code fragment and replacing a relevant code of a preset position in the Hbase database source code through the Java code fragment;
the deployment module is used for compiling the modified Hbase database source code to obtain a compiling result and deploying the compiling result.
Compared with the prior art, the method has the following beneficial effects:
the parameter checking method and device provided by the application are applied to data processing equipment. The data processing equipment is provided with an Hbase database, wherein the Hbase database comprises a Java code segment for verifying operation parameters of database operation instructions, and the Java code segment comprises a Unicode coding range of preset English characters, symbolic characters and Chinese characters. And converting the database operation parameters of the byte array type acquired by the Java code segment into the char array type. And sequentially acquiring data in the char array, converting the data into corresponding integers, comparing the integers with the Unicode coding range, and further judging that the operation is a legal character. Therefore, the user can build the table directly by Chinese, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a hardware configuration diagram of a data processing device according to an embodiment of the present application;
fig. 2 is a flowchart illustrating steps of a parameter checking method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a parameter calibration apparatus according to an embodiment of the present application;
fig. 4 is a second schematic diagram of a parameter calibration apparatus according to an embodiment of the present application.
Icon: 100-a data processing device; 110-parameter checking means; 120-a memory; 130-a processor; 1101-an acquisition module; 1102-a first conversion module; 1103-a second conversion module; 1104-a comparison module; 1105-a replacement module; 1106-deployment module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it is noted that the terms "first", "second", "third", and the like are used merely for distinguishing between descriptions and are not intended to indicate or imply relative importance.
The inventor researches and discovers that the table name containing Chinese characters in the original Hbase source code is called as illegal characters, and once the illegal characters are detected, the original Hbase database throws corresponding error information.
In view of the discovery of the above problems, the source code of the Hbase database is downloaded; and replacing the code of the preset position in the original Hbase source code with the Java code segment for verifying the operation parameters in the operation instruction. Further, the data processing equipment packs the modified Hbase source code into an installation file through a maven tool and deploys the installation file.
The embodiment provided by the application provides a parameter checking method for checking operation parameters in an Hbase database operation instruction, and the parameter checking method is applied to data processing equipment. The data processing equipment is configured with an Hbase database, the Hbase database comprises a Java code segment for checking operation parameters in database operation instructions, the code segment comprises a Unicode encoding range of preset characters, and the preset characters comprise English characters to be preset, symbol characters to be preset and Chinese characters to be preset.
It should be noted that the finding of the above technical problems is obtained after the inventors have made creative studies, and therefore, the finding of the above technical problems and the means for solving the above technical problems are considered to be contributions to the creativity of the present application.
Referring to fig. 1, a hardware structure diagram of a data processing apparatus 100 according to an embodiment of the present application is shown, where the data processing apparatus 100 includes a processor 130, a storage area, and a parameter checking device 110, and each element of the storage 120 and the processor 130 are directly or indirectly electrically connected to each other to implement data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The parameter checking device 110 includes at least one software function module which can be stored in the memory 120 in the form of software or firmware (firmware) or is fixed in an Operating System (OS) of the data processing apparatus 100. The processor 130 is used for executing executable modules stored in the memory 120, such as software functional modules and computer programs included in the parameter verification device 110.
The Memory 120 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 120 is used for storing a program, and the processor 130 executes the program after receiving the execution instruction.
The processor 130 may be an integrated circuit chip having signal processing capabilities. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a parameter checking method, where the parameter checking method is applied to the data processing apparatus 100 shown in fig. 1, and the data processing apparatus 100 may be, but is not limited to, a smart phone, a Personal Computer (PC), a tablet computer, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), and the like. The individual steps of the method are explained in detail below.
And S100, acquiring an operating parameter in the Hbase database operating instruction, wherein the operating parameter is a byte type array.
Optionally, the data processing device 100 obtains an operation instruction for the Hbase database, and analyzes the operation instruction according to a grammar rule of the operation instruction for the Hbase database, so as to obtain an operation parameter therein.
For example, in one possible example, the operation instruction is "create 'student _ info'," contacts ', "address'. The function of the operation instruction is to establish a table called "student _ info" in the Hbase database, wherein the table comprises two column families, namely "contacts" and "address" respectively; "create" is an operation function of the operation instruction, and is a keyword in the Hbase database. In this way, the data processing apparatus 100 obtains the operation parameters according to the syntax rules corresponding to different operation instructions.
And step S200, converting the operation parameters into an array of char types.
And S300, sequentially reading the data in the char type array, converting the data into integers, and comparing the integers with the Unicode coding range.
Optionally, the operation parameters acquired by the data processing apparatus 100 are an array of byte types in Java. The data length of each datum in the byte type array is 8 bits, and the Unicode encoding of Chinese characters is 16 bits in length. To determine the encoding of each character in the operating parameter, the 8-bit byte array needs to be converted into a 16-bit char array.
For example, in one possible example, a table is created in the Hbase database, named "student info _ name", stored in a byte type array, named "qualifield name". After the data processing device 100 obtains the table name, the byte type array is converted into a char type array by the following codes:
char arr=new String(qualifierName).toCharArray();
the method comprises the steps of creating an anonymous String object by taking 'qualiferenme' as a parameter, calling a 'toCharAlrraray ()' method of the object, and converting the String object into an array of char types. The data processing device 100 sequentially converts the data in the char type array into integers and compares the integers with the encoding range of preset characters, wherein the preset character types include preset english characters, preset symbolic characters and chinese characters. For example, the data processing apparatus 100 converts char type "learning" into an integer, and compares the integer with the Unicode range of english characters, the encoding range of preset symbol characters, and the encoding range of chinese characters in this order.
And step S400, if the integers corresponding to the data are all located in the Unicode encoding range, executing a corresponding operation instruction according to the operation parameters.
After the data processing device 100 checks the operation parameters, if the characters in the operation parameters all belong to legal characters of preset english characters, preset symbolic characters and chinese characters, corresponding operation instructions are executed according to the operation parameters, and a corresponding data table of chinese names is created in the Hbase database. If the operation character contains illegal characters, such as "<", "? Or "%", etc., the data processing apparatus 100 does not execute the operation command corresponding to the operation parameter.
Therefore, a user can directly use Chinese to establish a Chinese data table in the Hbase database, and the use experience of the user is improved.
It should be noted that, in the parameter verification method provided in the embodiment of the present application, the data processing apparatus 100 performs the method by modifying Hbase data after source code.
Referring to fig. 3, an embodiment of the present application further provides a parameter checking device 110, which is applied to a data processing device 100, where the data processing device 100 is configured with an Hbase database, the Hbase database includes a Java code segment for checking an operation parameter in an operation instruction of the database, the code segment includes a Unicode encoding range of a preset character, and the preset character includes an english character, a symbol character, and a chinese character that should be preset. Fig. 3 is a schematic diagram of a parameter checking apparatus, which is functionally divided, and the parameter checking apparatus 110 includes an obtaining module 1101, a first converting module 1102, a second converting module 1103, and a comparing module 1104.
The obtaining module 1101 is configured to obtain an operation parameter in the Hbase database operation instruction, where the operation parameter is an array of a byte type.
In the present embodiment, the obtaining module 1101 is configured to execute step S100 in fig. 2, and reference may be made to the detailed description of step S100 for a detailed description of the obtaining module 1101.
The first conversion module 1102 is configured to convert the operating parameters into an array of char types.
In the present embodiment, the first conversion module 1102 is used to execute step S200 in fig. 2, and the detailed description about the first conversion module 1102 may refer to the detailed description about step S200.
The second conversion module 1103 is configured to sequentially read data in the char type array, convert the data into integers, and compare the integers with the Unicode encoding range.
In this embodiment, the second conversion module 1103 is configured to perform step S300 in fig. 2, and the detailed description about the second conversion module 1103 may refer to the detailed description about step S300.
The comparing module 1104 is configured to execute a corresponding operation instruction according to the operation parameter if the integer corresponding to the data is located in the Unicode encoding range.
In the present embodiment, the comparing module 1104 is configured to execute step S400 in fig. 2, and reference may be made to the detailed description of step S400 for a detailed description of step S400.
Optionally, the obtaining module 1101 obtains the operation parameter by:
acquiring an Hbase database operation instruction;
and analyzing the operation instruction according to the grammar rule of the operation instruction to obtain the operation parameters in the operation instruction.
Optionally, the comparing module 1104 is further configured to not execute the operation instruction corresponding to the operation parameter if the integer corresponding to the data is not within the Unicode encoding range.
Optionally, the operation parameter in the parameter verification device 110 is a table name of the database.
Optionally, referring to fig. 4, fig. 4 is a second schematic diagram of the parameter checking apparatus, and the parameter checking apparatus 110 further includes a replacing module 1105 and a deploying module 1106;
the replacing module 1105 is configured to obtain the Java code segment, and replace a relevant code at a preset position in the source code of the Hbase database with the Java code segment;
the deployment module 1106 is configured to compile the modified Hbase database source code to obtain a compilation result, and deploy the compilation result.
In summary, the parameter verification method and apparatus provided in the embodiments of the present application are applied to a data processing device. The data processing equipment is provided with an Hbase database, wherein the Hbase database comprises a Java code segment for verifying operation parameters of database operation instructions, and the Java code segment comprises a Unicode coding range of preset English characters, symbolic characters and Chinese characters. And converting the database operation parameters of the byte array type acquired by the Java code segment into the char array type. And sequentially acquiring data in the char array, converting the data into corresponding integers, comparing the integers with the Unicode coding range, and further judging that the operation is a legal character. Therefore, the user can build the table directly by Chinese, and the user experience is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for various embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and all such changes or substitutions are included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. The parameter verification method is applied to data processing equipment, wherein the data processing equipment is provided with an Hbase database, the Hbase database comprises a Java code segment for verifying operation parameters in a database operation instruction, the code segment comprises a Unicode encoding range of preset characters, and the preset characters comprise English characters to be preset, symbol characters to be preset and Chinese characters to be preset, and the method comprises the following steps of:
obtaining an operating parameter in the Hbase database operating instruction, where the operating parameter is an array of byte types, and the step of obtaining the operating parameter in the Hbase database operating instruction includes:
acquiring an Hbase database operation instruction;
analyzing the operation instruction according to the grammar rule of the operation instruction to obtain the operation parameters in the operation instruction;
converting the operation parameters into an array of char types;
sequentially reading the data in the char type array, converting the data into integers, and comparing the integers with the Unicode coding range;
and if the integers corresponding to the data are all located in the Unicode encoding range, executing a corresponding operation instruction according to the operation parameters, wherein the operation instruction is to establish a table in the Hbase database.
2. The parameter checking method according to claim 1, further comprising:
and if the integer corresponding to the data is not in the Unicode encoding range, not executing the operation instruction corresponding to the operation parameter.
3. The parameter verification method of claim 1, wherein the operation parameter is a table name of a database.
4. The parameter checking method according to claim 1, further comprising:
obtaining the Java code fragment, and replacing a relevant code of a preset position in a source code of the Hbase database by the Java code fragment; compiling the modified Hbase database source code to obtain a compiling result, and deploying the compiling result.
5. The parameter checking device is applied to data processing equipment, wherein the data processing equipment is provided with an Hbase database, the Hbase database comprises a Java code segment for checking operation parameters in a database operation instruction, the code segment comprises a Unicode coding range of preset characters, the preset characters comprise English characters to be preset, symbol characters to be preset and Chinese characters to be preset, and the parameter checking device comprises an acquisition module, a first conversion module, a second conversion module and a comparison module;
the obtaining module is configured to obtain an operation parameter in the Hbase database operation instruction, where the operation parameter is an array of a byte type, and the obtaining module obtains the operation parameter in the following manner:
acquiring an Hbase database operation instruction;
analyzing the operation instruction according to the grammar rule of the operation instruction to obtain the operation parameters in the operation instruction;
the first conversion module is used for converting the operation parameters into an array of char types;
the second conversion module is used for reading the data in the char type array in sequence, converting the data into integers and comparing the integers with the Unicode coding range;
and the comparison module is used for executing a corresponding operation instruction according to the operation parameter if the integers corresponding to the data are all located in the Unicode encoding range, wherein the operation instruction is a table built in the Hbase database.
6. The parameter checking apparatus according to claim 5, wherein the comparing module is further configured to not execute the operation instruction corresponding to the operation parameter if the integer corresponding to the data is not within the Unicode encoding range.
7. The parameter checking apparatus of claim 5, wherein the operation parameter is a table name of a database.
8. The parameter checking apparatus according to claim 5, wherein the parameter checking apparatus further comprises a replacement module and a deployment module;
the replacing module is used for obtaining the Java code fragment and replacing a relevant code of a preset position in the Hbase database source code through the Java code fragment;
the deployment module is used for compiling the modified Hbase database source code to obtain a compiling result and deploying the compiling result.
CN201910451267.5A 2019-05-28 2019-05-28 Parameter checking method and device Active CN110162309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910451267.5A CN110162309B (en) 2019-05-28 2019-05-28 Parameter checking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910451267.5A CN110162309B (en) 2019-05-28 2019-05-28 Parameter checking method and device

Publications (2)

Publication Number Publication Date
CN110162309A CN110162309A (en) 2019-08-23
CN110162309B true CN110162309B (en) 2020-07-24

Family

ID=67629480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910451267.5A Active CN110162309B (en) 2019-05-28 2019-05-28 Parameter checking method and device

Country Status (1)

Country Link
CN (1) CN110162309B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111353279A (en) * 2020-03-04 2020-06-30 海南金盘智能科技股份有限公司 Character code conversion method, device and computer storage medium
CN111309719B (en) * 2020-05-13 2020-08-21 深圳市赢时胜信息技术股份有限公司 Data standardization method and system corresponding to HBase database

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424010A (en) * 2013-09-06 2015-03-18 北大方正集团有限公司 Method and system for detecting and repairing text document messy codes
CN104572102A (en) * 2015-01-08 2015-04-29 浪潮软件集团有限公司 Method for solving Chinese messy codes in JAVA

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424010A (en) * 2013-09-06 2015-03-18 北大方正集团有限公司 Method and system for detecting and repairing text document messy codes
CN104572102A (en) * 2015-01-08 2015-04-29 浪潮软件集团有限公司 Method for solving Chinese messy codes in JAVA

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
通过Unicode编码区间的划分获取字符串中中文、英文、数字;请叫我小貂禅;《https://blog.csdn.net/sinat_34754865/article/details/52794637》;20161012;第1-2页 *

Also Published As

Publication number Publication date
CN110162309A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
KR20020033549A (en) Method and system for mapping strings for comparison
US10606957B1 (en) Method and system for translating natural language policy to logical access control policy
CN110188135B (en) File generation method and equipment
KR102006245B1 (en) Method and system for identifying an open source software package based on binary files
CN112015430A (en) JavaScript code translation method and device, computer equipment and storage medium
US11609748B2 (en) Semantic code search based on augmented programming language corpus
CN110162309B (en) Parameter checking method and device
CN110109681B (en) Method and system for converting codes between different platforms
CN110007906B (en) Script file processing method and device and server
CN103038762B (en) Natural language processing device and method
CN105701074A (en) Character processing method and apparatus
WO2019068541A1 (en) Method of selecting software files
KR102550596B1 (en) Apparatus and method for analyzing vulnerability of smart contract code
CN111666101A (en) Software homologous analysis method and device
WO2017141893A1 (en) Software analysis apparatus and software analysis method
US20170010955A1 (en) System and method for facilitating change based testing of a software code using annotations
CN112527738A (en) Project description file optimization method, system and storage medium
Forta Learning regular expressions
CN109472145A (en) A kind of code reuse recognition methods and system based on graph theory
CN112433943A (en) Method, device, equipment and medium for detecting environment variable based on abstract syntax tree
CN116880847A (en) Source tracing method and device based on open source project, electronic equipment and storage medium
CN113408250B (en) Project file processing method and device
US20230297703A1 (en) System and method for detecting a harmful script based on a set of hash codes
US11356853B1 (en) Detection of malicious mobile apps
EP4246352A1 (en) System and method for detecting a harmful script based on a set of hash codes

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