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

A program code conversion method, device, medium and computing device

A technology of program codes and conversion devices, applied in computing, database design/maintenance, instruments, etc., can solve problems such as low versatility, increased maintenance difficulty, and optimistic lock development difficulty, so as to improve versatility, simplify modification schemes, Reduce the effect of implementing logic complexity and maintenance difficulty

Active Publication Date: 2021-11-19
阿里巴巴华北技术有限公司
View PDF17 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, at present, the implementation of optimistic locking solutions mostly depends on manually added judgment conditions. Since the judgment conditions in the optimistic locking solution are set in the core logic statement, the implementation logic of optimistic locking is completely coupled to the business code, resulting in the current optimistic locking solution. There are problems such as complex implementation logic, difficult maintenance, low versatility, and poor pluggability
In addition, due to the large number of database tables involved in the judging conditions in the current optimistic locking solution, it will further lead to the development and maintenance difficulties of optimistic locking.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The principle and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are given only to enable those skilled in the art to better understand and implement the present invention, rather than to limit the scope of the present invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0043] Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, device, method or computer program product. Therefore, the present disclosure may be embodied in the form of complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0044] According to the embodiments of the present invention, a program code conversion meth...

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

Embodiments of the present invention provide a program code conversion method, device, medium and computing equipment. The method includes: reading the source code of the program sentence by sentence; judging whether the currently read program statement is a specific statement; if yes, converting the program statement into an intermediate code; interpreting and executing the intermediate code; if not, directly interpreting and executing the program statement. This method judges whether the current program statement is a specific statement, and interprets and executes the program statement according to the judgment result, so as to realize the automatic identification and dynamic modification of the program statement, which helps to simplify the modification plan of the program statement and reduce the implementation logic of the program statement Complexity and maintenance difficulty, improve the versatility of program statements.

Description

technical field [0001] Embodiments of the present invention relate to the field of software, and more specifically, embodiments of the present invention relate to a program code conversion method, device, medium, and computing device. Background technique [0002] This section is intended to provide a background or context for implementations of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] Optimistic Lock is suitable for multi-read application types and helps to improve the throughput of database tables. In the optimistic locking solution based on the data version (Version) mechanism, the data version is a version identifier used to indicate data changes. By adding a data version (such as a version field) to the database table, the data to be submitted can be judged when the data is submitted. Whether it is expired data, if the data to be submitted is not expired data, the data...

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): G06F16/242G06F16/21
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