Code conversion method and device and storage medium

A code conversion and source code technology, which is applied in the fields of code conversion methods, devices and storage media, can solve problems such as increasing the difficulty of application development and affecting the efficiency of application development, and achieve the effect of improving efficiency

Active Publication Date: 2019-10-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 2 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
  • Code conversion method and device and storage medium
  • Code conversion method and device and storage medium
  • Code conversion method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall 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 can be integrated in a terminal with a memory and a processor installed with computing capability.

[0028] Please refer to figure 1 , this figure is an example diagram of an application scenario of the transcoding method provided by the embodiment of the pres...

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 and device and a storage medium. The method comprises the following steps: receiving a code conversion request; obtaining a first source code needing to be converted according to the received code conversion request, wherein the first source code is suitable for running at a browser end; acquiring a code conversion rule corresponding to the client;and finally, converting the first source code into a second source code according to the obtained code conversion rule, the second source code being suitable for running at the client. The technical scheme provided by the invention is adopted, and the difference between a browser programming specification and a client programming specification is shielded; and, when a developer develops, the developer only needs to compile the source code of the browser side according to the programming specification of the browser side, then the source code suitable for running at the browser side can be converted into the source code suitable for running at the client side by adopting the method, the purpose of code isomorphism is achieved, and therefore the efficiency of application development is improved.

Description

technical field [0001] The present invention relates to the technical field of computers, in particular to a code conversion method, device and storage medium. Background technique [0002] In the current programming development, there are significant differences between the application development method on the browser side and the application development method on the client side. 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 on 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 the application development difficult and affects the efficiency of application development. SUMMARY OF THE INVENTION [0003] The embodiments of the present invention provide a code conversion method, device and storage medium, which can realize code isomorphis...

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 Applications(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