Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A control script program multi-language analysis system and multi-language analysis method

A technology of script program and analysis method, which is applied in uncommon multi-language analysis and display fields, can solve problems such as decoding failure, and achieve the effects of strong versatility, high reliability, and high analysis and recognition rate

Active Publication Date: 2020-06-12
北京数科网维技术有限责任公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of the above problems, the present invention proposes the ability to parse out the language problems of other countries that are not commonly used, and extract and record them in TXT, so as to solve the problem of decoding failure

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A control script program multi-language analysis system and multi-language analysis method
  • A control script program multi-language analysis system and multi-language analysis method
  • A control script program multi-language analysis system and multi-language analysis method

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0057] Such as figure 1 It is shown in the schematic flow chart of the first embodiment of the present invention:

[0058] A multi-language parsing method in a control script program, said method comprising the following steps:

[0059] S200: Execute the running script program of the controls one by one;

[0060] S300: Grab the program lines of the script program one by one, and record them into the TXT file;

[0061] S400: Save the content of the TXT file to the first-level cache;

[0062] S500: converting the content of the TXT file in the first-level cache into the script program in byte form line by line;

[0063] S600: Convert the bytes according to UTF-8 format;

[0064] S700: Convert the format-converted bytes into the script program in character form.

[0065] Preferably, the multi-language parsing method includes before step S200: S100: after the control is activated, it is invoked and executed by the operating system.

[0066] Preferably, the multi-language par...

no. 2 example

[0080] On the basis of Embodiment 1, this embodiment provides a method for analyzing multi-language characters in a control script program:

[0081] Preferably, the method for analyzing multi-language characters includes, after the step S700: S710: saving the characters into a new TXT file. For the subsequent operating system to query and modify.

[0082] This embodiment also provides a multi-language analysis system:

[0083] Preferably, in the multi-language analysis system, the script package production module is JAVA, VB, VC, VFP, ASP or PHP programming language tools.

[0084] Preferably, in the multi-language parsing system, the grabbing module is a control grabber.

[0085] Preferably, the multi-language parsing system further includes a memory, and the memory is used to save the TXT file in character form for query and modification by the operating system.

no. 3 example

[0087] The technical problem to be solved by this technical solution is that in the automated test system, the system can only recognize English and Chinese, and it cannot be used for other foreign languages ​​and characters that appear, especially those that are not commonly used, such as Arabic and Korean. Text parsing and extraction. Failure to extract means that the control of the language carrier cannot be controlled, so this technical solution is to solve this problem.

[0088] The existing android automation tool technology can only recognize commonly used English and Chinese, and other exotic characters that appear in android cannot be parsed and extracted, which will cause decoding failure problems, which has certain limitations for android automated testing tools. In response to this problem, in this case, other foreign language problems can be analyzed, and extracted and recorded in TXT, so as to solve the problem of decoding failure.

[0089] The patent of the pre...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of multilateral languages in program software, particularly to the technical problems existing in unusual multilateral language analysis and display, and discloses a multilateral language analysis method for control script programs. The method comprises the following steps of S200, executing the control script programs one by one; S300, capturing program lines of the script programs one by one, and recording to a TXT file; S400, storing the TXT file content to a first-level cache; S500, converting the TXT file content in the first-level cache into script programs in a byte format line by line; S600, converting bytes according to a UTF-8 format; and S700, converting the converted bytes into the script programs in a character format.

Description

technical field [0001] This application relates to the technical field of multi-language in program software, and in particular to the technical problem of uncommon multi-language parsing and display. Background technique [0002] People from various countries communicate more and more frequently, but the differences in language make the problem of information exchange very prominent. For this reason, people have invented various multilingual service systems. [0003] In the prior art, comparing the texts of different applications in multiple languages ​​on android, usually only commonly used English and Chinese can be recognized, and other exotic texts that appear in android cannot be parsed and extracted, which will cause decoding failure problems. For android automated testing tools Has certain limitations. [0004] Byte is a unit of measurement used by computer information technology to measure storage capacity and transmission capacity. One byte is equal to 8-bit bina...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/34
CPCG06F11/3414
Inventor 韩继梁惠晓辉
Owner 北京数科网维技术有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products