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

Instruction parsing method, device and electronic device

A technology of instruction analysis and instructions, applied in instruction analysis, machine execution devices, etc., can solve problems such as continuous development of unfavorable modules, increase the difficulty of code maintenance, etc., and achieve the effect of improving the difficulty of code maintenance and efficient analysis

Active Publication Date: 2022-06-24
PEKING UNIV +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides an instruction analysis method, device and electronic equipment, to at least solve the technical problem that the difficulty of code maintenance is greatly increased due to the use of hard-coded methods for parameter analysis in the prior art, which is not conducive to the continuous development of modules

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
  • Instruction parsing method, device and electronic device
  • Instruction parsing method, device and electronic device
  • Instruction parsing method, device and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make those skilled in the art better understand the solutions of the present invention, 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 Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0022] It should be noted that the terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used may be interchanged under appropriate ...

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 an instruction analysis method, device and electronic equipment. Wherein, the method includes: receiving a target command and a set of parameter processors, wherein the target command includes a target command parameter vector, the constituent elements of the target command parameter vector are target command parameters, and the parameter processor set includes at least one parameter processor, The parameter processor is composed of a preset command parameter vector to be matched and a first preset anonymous function; determine the target parameter processor matching the target command parameter in the target command parameter vector from the parameter processor, and use the target parameter processor to The parameters of the target instruction are processed to obtain a processing result; according to the processing result, a processing command corresponding to the target command is determined, and the processing command is executed. The invention solves the technical problem that the difficulty of code maintenance is greatly increased and the continuous development of modules is unfavorable due to the use of hard-coded methods for parameter analysis in the prior art.

Description

technical field [0001] The present invention relates to the field of software drawing, in particular, to an instruction parsing method, device and electronic device. Background technique [0002] The idea of ​​the drawing module of the general-purpose software for numerical calculation is that the general-purpose software for numerical computing transmits drawing commands and parameters, and the drawing module performs parameter analysis. The image is represented by a four-layer tree of Canvas-Figure-Axis-Object. The processing process is the transformation process of the four-level tree. After the parameter parsing process is completed, traverse the four-level tree, convert it into a gnuplot script, and finally call the gnuplot program to convert the script into an image. In this process, parameter parsing and processing is the most complex part. Since there are many commands and parameters that need to be supported, using hard-coded parameter parsing will greatly increas...

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): G06F9/30
CPCG06F9/30145
Inventor 李若卢朓
Owner PEKING UNIV