Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

80 results about "Program structure" patented technology

Program structure The overall form of a program, with particular emphasis on the individual components of the program and the interrelationships between these components. Programs are frequently referred to as either well structured or poorly structured.

Neural network-based context-aware code translation and optimization

Systems and methods for efficiently translating program code from a source language to a target language. Input source code is parsed, using a processor device, into an Intermediate Representation (IR). A structural and semantic model of the source code are established by applying static analysis to the IR, and a program skeleton of the target code is constructed from the IR, including generating context-aware placeholders. The IR is transformed into a Single Static Assignment (SSA) form, and a System Dependency Graph (SDG) is built from the SSA form. The SDG is traversed to order translation tasks, and ordered tasks are translated into the target language using a Large Language Model (LLM). A translated program is generated by integrating translated code segments into a coherent program structure in the target language.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Storage type XSS attack detection method and device based on large language model

The invention provides a storage type XSS attack detection method and device based on a large language model, and the method comprises the steps: receiving an initial cue word, inputting the initial cue word into a cue word expander, carrying out the extension of the initial cue word, carrying out the performance evaluation to screen out a cue word meeting a preset performance index, carrying out the multi-round extension and evaluation, and obtaining a detection result. Until the optimized cue word is obtained; the method comprises the following steps: receiving a to-be-detected code, generating a program dependency graph of the to-be-detected code, decomposing the program dependency graph of the to-be-detected code into a plurality of sub-graphs with consistent program structures to obtain a plurality of sub-program dependency graphs, traversing nodes in each sub-program dependency graph, and reserving an original structure of a program; the nodes are sequentially converted into an original code format to obtain code representation fragments, the code representation fragments and the optimized cue words are input into a large language model to judge whether each code fragment is an attack vector of a storage type XSS or not, and a final speculation result is obtained. The method has the advantages of low detection cost, high accuracy and high efficiency.
Owner:NAT UNIV OF DEFENSE TECH

Computer interactive programming platform automatic evaluation system based on deep learning

The invention discloses a computer interactive programming platform automatic evaluation system based on deep learning, and particularly relates to the technical field of deep learning, the system comprises five modules, namely a structure diagram construction module, a semantic diagram generation module, a dynamic evaluation trigger module, a semantic solution identification module and an exponential deduction feedback module, and full-process evaluation from code structure abstraction to semantic modeling is realized. The system dynamically controls a deep evaluation process through a structure matching rate and a logic deviation degree, identifies a potential innovation solution, generates a semantic equivalence degree and a path innovation index, outputs a grade in combination with a neural network score, and embeds a high-innovation sample into a training buffer area to update a model, so as to realize intelligent evaluation and adaptive optimization; according to the method, the modeling precision of a program structure and a control flow is improved, dynamic regulation and control of semantic understanding and an evaluation process are realized, a potential innovation solution can be identified, and model self-updating is realized through scoring grade feedback, so that the intelligent analysis and adaptive evolution capability of an evaluation system on complex programming behaviors is enhanced.
Owner:HAINAN NORMAL UNIV

Intelligent graph programming language application system and method based on large model technology

The invention discloses an intelligent graphic programming language application system and method based on a large model technology, and the system comprises an input module which is used for obtaining a programming logic document; the large model analysis and generation module is used for performing semantic analysis on the programming logic document and generating corresponding graphical programming language initial code representation; the graphical language generation module is used for converting the initial code representation into a program structure of a graphical programming language; the small model proofreading and optimizing module is used for verifying a program structure according to a preset graphic language grammar rule and automatically modifying and optimizing when a part which does not conform to the grammar rule is detected; and the output module is used for outputting the verified and optimized graphical programming language program. According to the intelligent graphic programming language application system and method based on the large model technology, the advantages of an artificial intelligence large model and an artificial intelligence small model are comprehensively utilized, and automatic conversion and optimization verification from a text requirement to a graphic program are achieved.
Owner:ZHEJIANG UNIV

Error processing method in parallel programming

The invention provides an error processing method in parallel programming, which comprises the following steps of: acquiring a program structure by adopting a source code analysis tool PMD according to a source code of an application program, and determining the position of a parallel execution unit; according to the error data, summarizing errors of similar types by adopting a decision tree algorithm, and allocating a unique identifier to each parallel execution unit according to error information mapping and classification results; according to the identified error type and error position, determining error processing strategies in the distributed environment, including error propagation, notification and recovery strategies; according to the parallel execution unit identifier and a distributed error processing protocol, judging a propagation path of an error and managing synchronization of the error; and automatically judging the error type according to the error information and the error propagation path.
Owner:GUANGXI POWER GRID CORP

Context aware transcoding and optimization based on neural network

Systems and methods for efficiently converting program code from a source language to a target language. Input source code is parsed into an intermediate representation (IR) using a processor device. Structural and semantic models of the source code are established by applying static analysis to the IR, and a program architecture of the target code is constructed from the IR, including generating context-aware placeholders. The IR is transformed into a single static assignment (SSA) form, and a system dependency graph (SDG) is constructed from the SSA form. The SDG is traversed to sort the translation tasks, and the sorted tasks are translated into a target language using a large language model (LLM). A translated program is generated by integrating the translated code segment into a coherent program structure in the target language.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Static vulnerability detection method and system based on unified cross-language program structure diagram

The invention discloses a static vulnerability detection method and system based on a unified cross-language program structure diagram, and the method comprises the following steps: constructing the unified cross-language program structure diagram according to a to-be-detected source code and compiling metadata thereof, and building an interface semantic mapping relation on a cross-language interface edge; a cross-language path from a program entry to a sensitive operation point is extracted on the unified cross-language program structure chart, uncertain elements in the cross-language path are labeled, and the confidence coefficient of the path is calculated; performing semantic alignment on heterogeneous language states on a cross-language path based on a cross-language abstract domain, and converting a path condition and a vulnerability establishment condition into logic constraints; and carrying out satisfiability judgment on the logic constraint, outputting a vulnerability detection result according to a judgment result, and generating a structured evidence chain. According to the method, the cross-language evidence chain can be output, vulnerability paths, witness information of trigger conditions and cross-language conversion details can be clearly displayed, and work such as manual recheck and vulnerability repair is powerfully supported.
Owner:GUANGDONG UNIV OF PETROCHEMICAL TECH

Test case generation method and device, computer equipment and storage medium

The invention relates to a test case generation method and device, computer equipment and a storage medium. The method comprises the steps of generating an initial test case according to a program structure of a to-be-tested program, wherein the initial test case comprises an initial execution path; according to the initial execution path, the path set of the to-be-tested program and the fitness function of the to-be-tested program, optimizing the initial test case, and generating a target test case of the to-be-tested program; the fitness function comprises a static fitness function and a dynamic fitness function, and the dynamic fitness function changes along with the number of iterations for optimizing the initial test case. The initial test case is generated in combination with the program structure of the to-be-tested program, so that the initial test case is more matched with the to-be-tested program, the accuracy of the initial test case is improved, updating of the initial test case is more effective due to the dynamic fitness function, and the matching degree of the target test case and the to-be-tested program is further improved.
Owner:CHINA TELECOM CLOUD TECH CO LTD

Similarity comparison-based large model supply chain automatic repair method and device

The invention discloses a similarity comparison-based large model supply chain automatic restoration method and device, and the method comprises the steps: firstly carrying out the semantic coding of an original vulnerability code through a pre-training model, and constructing a semantic and structure parallel dual-channel representation in combination with an abstract syntax tree and other program structures; cWE type intelligent classification is performed on vulnerabilities by using a locally deployed large language model subjected to LoRA fine tuning, and meanwhile, a zero sample semantic matching mechanism is introduced, so that the recognition capability of unknown vulnerability types is improved. And searching the closest historical case from the knowledge base through similarity vector comparison, and extracting a repair abstract to construct a model to generate a prompt. Patch codes and repair instructions are generated through a large model, automatic filing and knowledge base updating are supported, and the continuously-enhanced automatic repair capacity is achieved. The method can be widely applied to automatic vulnerability repair scenes of supply chain components such as large model plug-ins, code interfaces and dependent packages, and the safety, functionality and interpretability of code repair patches are greatly improved.
Owner:TSINGHUA UNIVERSITY

FPGA online upgrading method and system based on QuickBoot

The invention discloses an FPGA (Field Programmable Gate Array) online upgrading method and system based on QuickBoot, the characteristics of the QuickBoot are utilized, an FPGA can jump to an online upgrading mode in any working state, a main system program of the FPGA is upgraded, and the FPGA does not need to be powered on again; the method avoids the use of a traditional JTAG connection solidification mode, solves the problem that a product may need to be disassembled during upgrading, does not need to consider the limitation of the length of a JTAG cable, is suitable for various environments, and is flexible and convenient to use. The QuickBoot separates online upgrading logic from a main system program, so that the influence of adding an online upgrading function on the structure and scale of the main system program is reduced, and the mode is more flexible; according to the QuickBoot mode, the FLASH is required to store a main system start control word, an online upgrading program and a main system program, the required storage space is smaller, and more sufficient space is reserved for function extension and performance improvement of the main system.
Owner:NANJING HENGHE KEYI ELECTRONIC TECH CO LTD

Unit test code generation method, system, equipment and medium

The invention discloses a unit test code generation method, system and device and a medium, which are applied to the technical field of code generation, and comprise the following steps: performing program structure interface analysis and abstract syntax tree analysis on a target engineering code to obtain a structured meta-information set and a source code syntax structure model; generating a structured context feature vector based on the structured meta-information set and the source code grammar structure model, and retrieving a historical test case sample set from a historical test case database, wherein the global line coverage rate weighted similarity of the historical test case sample set and the structured context feature vector meets a matching condition; after Prompt template filling of different test subtasks is performed based on a historical test case sample set and structured context data through an Agent agent, different modular test codes are generated by adopting different test code generation models, and closed-loop verification is performed after the different modular test codes are integrated into unit test codes. Therefore, the code quality, practicability and adaptability are improved.
Owner:THE BANK OF EAST ASIA (CHINA) LTD

Buildless dependency fetching

Some embodiments construct a set of build dependencies for a program without a full set of build instructions. The build dependency set is constructed without piggy-backing on a build process that would produce an executable version of the program. Representations of the program's structure, such as expression types, call targets, symbol tables, abstract syntax trees, and other internal compiler data structures, are emitted to persistent non-volatile storage instead of being used only as intermediate steps for executable code generation. Security analysis can then utilize the program representations. Licensing analysis can also utilize the dependency set to identify program components and their storage locations.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Static analysis-based Pascal-like binary program structured information extraction method

The invention relates to a static analysis-based Pascal-like binary program structured information extraction method, which specifically comprises the following steps of: (1) preliminarily reading basic attributes in a binary file compiled by a Pascal-like by a script and other tools, (2) finding all functions for creating class objects through an obtained construction characteristic function and a control flow analysis technology, and (3) extracting the structured information of the Pascal-like binary program. (3) recursively identifying a member object definition relationship in a binary file and an inheritance relationship between classes by taking a basic object address as a base address and combining a data analysis technology, (4) confirming a corresponding construction function name and a corresponding parameter type and name by combining a result of script automatic generation, and (5) searching a corresponding class interface according to an analysis result, and performing classification and classification on the corresponding construction function. And the code restoration logic is consistent with the original binary file behavior. Accurate restoration of class structures, interfaces and functions is achieved, and therefore the efficiency and accuracy of reverse analysis are improved.
Owner:SOUTHEAST UNIV

Automated creation of software program structure having runnable software code

A method of creating a software program structure for a project is presented. A plurality of project inputs are collected, including a type of software program that is to be created and at least one of: client name, application / project name, database server name, database name, username, password, custom message, configuration key, and cache system key. At least one structure placeholder in the software program structure is replaced with first project information dependent upon the plurality of project inputs, and at least one code placeholder in software code of the software program structure with second project information dependent upon the plurality of project inputs. The software program structure for the project is provided, including first project information and software code that include second project information. The software code is fully runnable software code that does not require further editing.
Owner:INSIGHT DIRECT USA INC

Micropatch repair path adaptive optimization method, system and device based on variational inference and medium

The invention relates to the technical field of software security, and discloses a variational inference-based micropatch repair path adaptive optimization method, system, device and medium, and the method comprises the steps: constructing a joint control flow diagram and a data flow diagram of a to-be-analyzed program, and forming a program structure diagram; based on the program structure diagram, modeling and sampling potential variables of the repair paths through variational inference, and generating a plurality of candidate repair paths; for each candidate repair path, generating a micropatch statement according to context semantics of each node in the path, and inserting the micropatch statement into a corresponding instrumentation position in the source code; and performing multi-dimensional scoring and sorting on the candidate repair paths, and selecting an optimal repair path for deployment according to a scoring result. According to the method, the structural breakthrough of the whole process is realized in the aspects of path identification, patch generation, strategy optimization, engineering deployment and the like, and a technical support is provided for constructing a software vulnerability repair system with autonomous generation, semantic understanding and controllable deployment capabilities.
Owner:GUIZHOU POWER GRID CO LTD

Test case generation method based on LLM and SMT solver

The invention relates to the technical field of software testing, and discloses an LLM and SMT solver-based test case generation method, which is characterized in that a search type test is taken as a core drive, when coverage stagnation occurs, an execution path is subjected to semantic analysis by means of an LLM, a logic expression for describing a target path condition is generated, and in consideration of the limitation of the LLM in logical reasoning, a test case is generated; the system further introduces an SMT solver to perform verification and reasoning on a logic expression output by the LLM, finally feasible test input is generated, and the test efficiency and the coverage rate are improved. According to the method, the efficiency and precision of path coverage are improved, good adaptability and universality are achieved, the method is suitable for various languages and complex program structures, and the intelligent level and engineering practical value of automatic testing are effectively improved. The problem of insufficient accuracy of a large language model in complex path constraint reasoning is effectively relieved.
Owner:CHENGDU UNIV OF INFORMATION TECH

API sequence recommendation method based on user intention perception

The invention provides an API sequence recommendation method based on user intention perception. The method comprises the steps of firstly constructing a training sample based on multi-source information; then carrying out joint modeling on the natural language description and the program structure representation by utilizing a pre-training language model to obtain unified representation fusing user intention and code semantics; secondly, predicting a candidate API sequence in an autoregression mode through a sequence generation model; secondly, in the reasoning stage, semantic enhancement is carried out on the input natural language query by adopting a query expansion technology so as to generate an expansion query; and finally, jointly inputting the extended query and the current code context into the sequence generation model, and outputting an API calling sequence conforming to the user intention. Natural language query and code context information are comprehensively utilized, the development intention is obtained from the natural language description input by the user, modeling is conducted on the programming environment in combination with the current code context, and the API recommendation result better meeting the actual development requirement is generated.
Owner:HANGZHOU DIANZI UNIVERSITY BINJIANG INSTITUTE CO LTD +1

Intelligent prompt sequencing architecture for segmentation of electronic documents

A platform that generates submittal reviews electronically for various construction projects. Embodiments include receiving project submittals by the reviewer, inputting the submittal in a web application interface, receiving the output in a specific format, reviewing the submittal review generated then downloading the reviewed submittal and handing it to a subsequent party for review. In some embodiments, during project initialization, project specifications and drawings are ingested. The project specifications and drawings are processed to extract relevant content, which is used to perform each submittal review. Artificial intelligence (AI) models are prompted through a series of dependent prompt engineered queries. The queries to the AI are broken into preconfigured pieces which improves the accuracy of the AI model. In order to break down the AI queries, the platform builds a program structure around making required calls to an AI API that are tuned for a particular program goal.
Owner:R-SPACE TECHNOLOGIES INC

Accelerator automatic synthesis method, device, equipment, medium and product

The invention discloses an accelerator automatic synthesis method, device and equipment, a medium and a product. The method comprises the steps of generating a candidate region set according to a global program structure tree corresponding to a target application program and LLVM intermediate representation; target areas needing to be accelerated are selected from the candidate area set based on preset constraint conditions, and a target area set is formed; and integrating and multiplexing the accelerators of each target area according to the structural similarity of each target area in the target area set to obtain the accelerator finally corresponding to each target area. According to the method, omission caused by manual selection in the prior art is effectively avoided, the overall performance optimization space is improved, the search efficiency is remarkably improved while the optimal performance is ensured, and the hardware resource cost is remarkably reduced.
Owner:SHANGHAI ARTIFICIAL INTELLIGENCE INNOVATION CENT

Method, system, and computer-readable program (neural network-based context-aware code translation and optimization)

To efficiently translate program code from a source language to a target language.SOLUTION: Input source code is parsed, using a processor device, into an Intermediate Representation (IR). A structural and semantic model of the source code are established by applying static analysis to the IR, and a program skeleton of the target code is constructed from the IR, including generating context-aware placeholders. The IR is transformed into a Single Static Assignment (SSA) form, and a System Dependency Graph (SDG) is built from the SSA form. The SDG is traversed to order translation tasks, and the ordered tasks are translated into the target language using a Large Language Model (LLM). A translated program is generated by integrating translated code segments into a coherent program structure in the target language.SELECTED DRAWING: Figure 6
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Graphical user interface with synchronized panes for linked document navigation

A platform that generates submittal reviews electronically for various construction projects. Embodiments include receiving project submittals by the reviewer, inputting the submittal in a web application interface, receiving the output in a specific format, reviewing the submittal review generated then downloading the reviewed submittal and handing it to a subsequent party for review. In some embodiments, during project initialization, project specifications and drawings are ingested. The project specifications and drawings are processed to extract relevant content, which is used to perform each submittal review. Artificial intelligence (AI) models are prompted through a series of dependent prompt engineered queries. The queries to the AI are broken into preconfigured pieces which improves the accuracy of the AI model. In order to break down the AI queries, the platform builds a program structure around making required calls to an AI API that are tuned for a particular program goal.
Owner:R-SPACE TECHNOLOGIES INC

Method and system for constructing a multi-language symbolic execution framework based on bytecode emulation

The application relates to the field of computer program analysis, and discloses a multilingual symbolic execution framework construction method and system based on bytecode simulation, which comprises the following steps: analyzing a target language bytecode program, binding instruction parameters and instruction implementation into a unified instruction object, and establishing a program structure; establishing a simulation value, a program state and an object mapping table according to an execution entrance and an execution environment by using a common simulation value representation and a common program state representation to form an initial path constraint; calling instruction implementation to perform operation and condition processing, submitting an execution result, and maintaining program state isolation through an object mapping table; constructing a candidate path, solving path constraints and performing assignment verification, generating a program state according to an execution strategy, continuously exploring and generating an analysis result. Through the unified instruction object, the unified calling interface and the common simulation value representation and the common program state representation, the application realizes common symbolic execution processes of different target languages, and reduces repeated implementation during language adaptation.
Owner:ELECTRIC POWER SCI & RES INST OF STATE GRID TIANJIN ELECTRIC POWER CO

Wechat applet source code generation method based on WXCL and storage medium

According to the WXCL-based WeChat applet source code generation method and the storage medium, an intermediate code WXCL language capable of describing a WeChat applet structure is adopted, the intermediate code WXCL language is set based on a WeChat applet platform, and the method comprises the steps of setting a lexical and linguistic definition formula, a lexical analyzer, a syntactic analyzer and a translation program from the WXCL language to a target code; the generation module is used for generating final WeChat applet codes; the system further comprises a back-end code translation system, and translation software of the WXCL language is deployed in a server background to translate the WXCL language into a WeChat applet source code in real time and send the WeChat applet source code to a user. The high cost performance of the method is reflected in that the learning cost of the user is extremely low, the time is extremely short, and the effect is relatively good, so that the problems of complex structure, high learning threshold and high time cost of the WeChat applet development for the common user are solved.
Owner:NANJING UNIV OF POSTS & TELECOMM

A test case generation method based on LLM and SMT solver

The present invention relates to the field of software testing technology, and discloses a test case generation method based on LLM and SMT solver. With search-type testing as the core driver, when coverage stagnation occurs, the execution path is semantically analyzed with the help of LLM, and a logical expression describing the target path condition is generated. Taking into account the limitations of LLM in logical reasoning, the system further introduces an SMT solver to verify and reason the logical expression output by LLM, and finally generates feasible test inputs, thereby improving test efficiency and coverage. The entire process forms a closed-loop optimization process that coordinates semantic understanding and logical solving. This method not only improves the efficiency and accuracy of path coverage, but also has good adaptability and versatility. It is applicable to multiple languages ​​and complex program structures, effectively improving the intelligence level and engineering practical value of automated testing. It effectively alleviates the problem of insufficient accuracy of large language models in complex path constraint reasoning.
Owner:CHENGDU UNIV OF INFORMATION TECH

Method and system for automatically generating requirement-driven test cases based on semantic test graph

The application relates to the technical field of software test automation, and provides a requirement-driven test case automatic generation method and system based on a semantic test graph, which comprises the following steps: performing multidimensional static analysis on source code, respectively constructing an abstract syntax tree, a control flow graph and a function call graph, and extracting function call relations and data flow dependency relations; constructing a semantic test graph by taking functions as nodes, taking function call relations as main edges and taking data flow dependency relations as auxiliary edges, and aggregating function nodes in the semantic test graph into several function modules; obtaining several test requirement nodes, calculating semantic similarity between the test requirement nodes and the function modules, establishing a mapping relationship from the test requirement nodes to the function modules, and forming a requirement-program structure association graph; and based on the requirement-program structure association graph, generating a test intention for each test requirement node, and converting the test intention into an executable test case. The highly corresponding relationship between the generated test case and the business requirement is ensured.
Owner:SHANDONG NORMAL UNIV +1

Program structure analyzer and method for analyzing program structure

A program structure analyzer configured to analyze the structure of a program for causing a computer to execute a predetermined process identifies a source of an action corresponding to a starting pin associated with a reference port selected from one or more output ports set for a target block; repeats identification of a source with the identified source being set as the starting pin, until no output pin corresponding to an action executable by the target block is identified as a source; identifies an input port corresponding to an input pin receiving input from a source that is not an output pin corresponding to an action executable by the target block, as a parent port; and outputs, for each of the output ports set for the target block, dependence data indicating the parent port on which the output port depends.
Owner:TOYOTA JIDOSHA KK

A method for supporting adaptive offloading of multiple IoT applications in edge environments

The present invention relates to a method for supporting adaptive unloading of multiple IoT applications in an edge environment, including: constructing an application program that conforms to a general program structure that supports on-demand computing unloading; for an application program that conforms to a general program structure that supports on-demand computing unloading, extracting a program fragment flow chart through static code analysis to provide internal process information of the program for the generation of an unloading solution; analyzing the surrounding MEC environment and the application program through an unloading solution generation algorithm based on a multi-task particle swarm optimization algorithm of a genetic algorithm operator to obtain an optimal unloading solution; the application program performs computing unloading with service as the granularity according to the unloading solution, and minimizes the system overhead while satisfying the deadline constraints of each application. The method supports computing unloading of different types of applications in an MEC environment and minimizes the system overhead generated by computing unloading.
Owner:FUZHOU UNIV

Application migration method from client-server architecture to blockchain architecture

An application migration method from client-server architecture to blockchain architecture is provided. The application migration method includes the following steps: S1: modeling an application program of a conventional client-server architecture and abstracting the application program to a program call tree; S2: defining a taint propagation rule for taint analysis by taking key data as tainted data, to acquire all taint variables in the application program; and S3: identifying a key module of the application program on the program call tree according to a tainted path, and setting a code refactoring rule to perform code refactoring on a method in the key module according to a special program structure.
Owner:FUZHOU UNIV

Practical training device for electronic programming teaching

The invention relates to a practical training device for electronic programming teaching, a turntable assembly comprises more than two groups of rotating rings which are coaxially and movably connected, and each rotating ring is uniformly provided with positioning grooves along the circumferential direction; the workpiece assembly is arranged in the positioning groove in any position, a sleeve is arranged at the movable tail end of the mechanical arm assembly, and the mechanical arm assembly is used for driving the sleeve to be transferred among the positioning grooves and collecting workpiece bodies; after the workpiece bodies are sequentially transferred to the inner cavity of the sleeve, the upper conductive part and the lower conductive part are conducted through the workpiece bodies arranged according to the correct sequence, and a timing stop signal is sent to the timer. According to the method, the time spent by an operator on the premise that the program compiled by the operator meets the requirement is quantified through the timer, and the quality of the program compiled by the operator is quantified according to the length of the time, so that students are stimulated to optimize the program structure.
Owner:FUJIAN MEIZHOU BAY VOCATIONAL & TECH SCHOOL

Special character display method and device, equipment and medium

The invention provides a special character display method and device, equipment and a medium, the method is applied to the technical field of communication, and the method comprises the steps that in response to copying operation for rich text content, copy content is displayed in a rich text editor, and no special character is displayed in the copy content; obtaining a target program structure of the copy content, wherein the target program structure comprises a plurality of element containers; determining a first element container carrying a special character tag from the plurality of element containers, and obtaining element contents and content attribute tags in the first element container; creating a second element container, and setting a special character label for the second element container to obtain a target element container; and replacing the first element container with the target element container in the copy content so as to display the element content carrying the special character corresponding to the special character tag in the rich text editor. According to the method, the element content carrying the special characters can be displayed in the rich text editor.
Owner:GREAT WALL MOTOR CO LTD