A code conversion method, device and storage medium

A technology of code conversion and source code, which is applied in the field of devices, storage media, and code conversion methods, and can solve problems that affect application development efficiency and increase the difficulty of application development.

Active Publication Date: 2021-07-06
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the current programming development, there is a significant difference between the browser-side application development method and the client-side application development method. For developers, in order to realize the development of the same application on the browser side and the client side, it is necessary to learn the knowledge of the browser side. system and the knowledge system of the client, and need to be familiar with two different sets of codes to realize their own application development, which makes application development significantly more difficult and affects the efficiency of application development

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 code conversion method, device and storage medium
  • A code conversion method, device and storage medium
  • A code conversion method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0027] Embodiments of the present invention provide a code conversion method and device. The code conversion method is executed by a code conversion device, and the code conversion device may be integrated in a terminal equipped with a memory and a processor with computing capabilities.

[0028] Please refer to figure 1 , which is an example diagram of an application scenario of the transcoding method provided by an embodiment of the present invention. The scenario may include...

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 code conversion method, device and storage medium; the invention firstly receives a code conversion request; then obtains the first source code to be converted according to the received code conversion request, and the first source code is suitable for viewing in a browser and then acquire the code conversion rules corresponding to the client; finally, according to the acquired code conversion rules, convert the first source code into the second source code, and the second source code is suitable for running on the client. The technical solution provided by the present invention shields the difference between the browser-side programming specification and the client-side programming specification. When developing, the developer only needs to complete the compilation of the browser-side source code according to the browser-side programming specification, and then use this The invention can convert the source code suitable for running on the browser side into the source code suitable for running on the client side, so as to achieve the purpose of code isomorphism, thereby improving the efficiency of application development.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a code conversion method, device and storage medium. Background technique [0002] In the current programming development, there is a significant difference between the browser-side application development method and the client-side application development method. For developers, in order to realize the development of the same application on the browser side and the client side, it is necessary to learn the knowledge of the browser side. system and the knowledge system of the client, and need to be familiar with two different sets of codes to realize their own application development, which makes application development significantly more difficult and affects the efficiency of application development. Contents of the invention [0003] Embodiments of the present invention provide a code conversion method, device, and storage medium, which can realize code isomorphism...

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): G06F8/51
CPCG06F8/51
Inventor 莫卓颖谢清贵
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products