Unlock instant, AI-driven research and patent intelligence for your innovation.

Program source code detection method and apparatus, and electronic device

A detection method and technology of a detection device, which are applied to program control devices, error detection/correction, code reconstruction, etc., can solve the problem of not being able to find out the translation of the program source code but the text that has not been translated, so as to improve the efficiency of judgment. Effect

Inactive Publication Date: 2017-06-13
LETV HLDG BEIJING CO LTD +1
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the embodiment of the present invention provides a program source code detection method, device and electronic equipment to solve the problem that the existing methods cannot find all the words that need to be translated but have not yet been translated in the program source code

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
  • Program source code detection method and apparatus, and electronic device
  • Program source code detection method and apparatus, and electronic device
  • Program source code detection method and apparatus, and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0043] figure 1 A flow chart of a method for detecting program source code according to an embodiment of the present invention is shown, and the method can be applied to electronic devices with processors such as computers. according to figure 1 In the embodiment shown, the detection method of the program source code includes the following steps:

[0044] ...

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 discloses a program source code detection method and apparatus, and an electronic device. The method comprises the steps of obtaining a to-be-detected source code file; judging whether the to-be-detected source code file has a second language encoding rule, which is not a specified region encoding rule, or not, wherein the second language encoding rule is an encoding rule except an English encoding rule; and when the second language encoding rule of the source code file is not the specified region encoding rule, judging that the source code file needs to be translated. Through the method, the apparatus, and the electronic device, all texts needed to be translated in all source code files used for realizing a system function can be found out, so that programming personnel can modify the source code files conveniently to enable contents of a display interface to be texts readable for personnel in a specified region.

Description

technical field [0001] The invention relates to the technical field of program testing, in particular to a program source code detection method, device and electronic equipment. Background technique [0002] Many services of various terminals (such as smart phones, cloud TV, etc.) that people use daily are provided by the cloud platform system. When the service is operated on a global scale, due to the different languages ​​used in each country, specialized personnel will be arranged in each country to operate and manage the local cloud platform system according to its own domestic service resources. [0003] When the cloud platform system is developed and debugged, the display interface or output results usually use a specific language. For example, when the background operation interface is displayed through a web page, Chinese programmers will write the source code so that all the text on the page is in Chinese. When the Chinese background operation interface is used in...

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
IPC IPC(8): G06F11/36G06F17/28G06F9/44
CPCG06F8/72G06F11/3624G06F40/40
Inventor 隆彦段宇航
Owner LETV HLDG BEIJING CO LTD