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

118 results about "Code reuse" patented technology

Code reuse, also called software reuse, is the use of existing software, or software knowledge, to build new software, following the reusability principles.

Code conversion method and device, computer equipment and storage medium

The invention belongs to the field of artificial intelligence, and relates to a code conversion method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining a source code and a target language; analyzing the source code to generate an abstract syntax tree; analyzing the abstract syntax tree, and extracting semantic information; according to the semantic information and a grammar rule of a target language, converting the code into the target language to obtain a preliminary conversion code; and further optimizing the preliminarily converted code to generate a final translated code. The automation degree is high, and the workload of manual conversion is greatly reduced; the conversion process is standard and unified, and the consistency and accuracy of code conversion are improved; by analyzing the AST, the source code can be understood more deeply, so that the translation code with higher quality is generated; extension and maintenance are easy, and support for new languages or characteristics can be added according to needs; the optimization step ensures that the converted code is not only correct, but also efficient and high in readability; and cross-language programming and code reuse are promoted.
Owner:SHENZHEN LANYOU TECHNOLOGY CO LTD

Code reuse method and device based on AI drive, equipment and medium

The invention provides a code reuse method and device based on AI drive, equipment and a medium. When a code submission event is detected, a code scanning process is triggered, a code analysis module driven by AI carries out multi-dimensional analysis on submitted codes, quantitative evaluation is carried out on the basis of a preset reusability evaluation model, and code snippets meeting a reuse standard are stored in a code knowledge base with a semantic index structure; analyzing annotation semantics based on a natural language processing technology through an AI retrieval engine, calculating semantic similarity between demand description and code snippets in a knowledge base in combination with a deep learning model, and positioning the code snippets which are optimally matched; after code multiplexing execution, performing incremental modification on the multiplexing code snippets and automatically generating change records; and carrying out value layering on the code snippets based on the Pareto analysis principle by using frequency trend prediction. Through combination of the AI technology and code reuse, the development efficiency can be remarkably improved.
Owner:INSPUR TIANYUAN COMM INFORMATION SYST CO LTD

Macro definition processing method of hardware description language and related equipment

The invention discloses a macro definition processing method for a hardware description language and related equipment. The macro definition processing method comprises the following steps: acquiring a target file in a header file of a specified hardware description language; judging a target macro name corresponding to each conditional compiling instruction in the target file, if a macro name which is the same as the target macro name exists in a preset parameter data structure, storing a code block behind the target macro name, processing a macro value in the code block, and generating a processed code block; if the processed code block contains the conditional compilation instruction, continuing to perform macro name judgment, code block storage and macro value processing operation on the processed code block until the code block processed for multiple times does not contain the conditional compilation instruction any more; and macro definition extraction is carried out on the code block after multiple times of processing so as to obtain all macro definitions in the code block. According to the technical scheme, the code reusability and the development efficiency in the hardware design process can be improved.
Owner:北京汤谷软件技术有限公司

Business execution process arrangement method and device

The invention discloses a business execution process arrangement method and device. The method comprises the following steps: establishing a business process; the method comprises the following steps: decomposing a business process into a plurality of independent reusable business logic execution units, establishing a component template for each business logic execution unit, and establishing a business component based on the component template; constructing a business flow chart based on the business component and the system component; analyzing the business flow chart into business flow chart metadata, storing the business flow chart metadata in a database, and publishing the business flow chart to a flow engine service; and calling the metadata corresponding to the business flow chart through a flow engine service during transaction to generate a flow instance, and executing each component in sequence according to the component sequence drawn in the business flow chart through the flow instance to complete the processing of business logic. According to the method, business logic decoupling and component type development are realized, code reuse is improved, code specifications are unified, development and iteration efficiency is improved, and development errors are reduced.
Owner:WUHAN ZBANK CO LTD

Text-based software source code multistage feature generation method

The invention relates to a text-based software source code multistage feature generation method, and belongs to the technical field of software code reuse detection. According to the method, the Hash values of the file and the effective code are calculated through the Hash algorithm, the file fingerprint and the code fingerprint are formed and used for file or code-level code reuse detection, the detection efficiency is high, and the detection result is accurate; effective code hash values are calculated through a hash algorithm, code fingerprints are formed and used for code reuse detection of the code level, the influence of code modification modes such as adding or deleting annotations, spaces, table making characters, car returning and line feed codes on code reuse detection in the code reuse process is eliminated, and the detection rate of code reuse detection is increased; according to the method, the features of the file, the effective code and the code block are calculated through the Hash algorithm, the software source code with the complex content is converted into a set of Hash values with the fixed length, the code reuse detection efficiency is improved, and efficient code reuse detection in a large-scale data scene is achieved.
Owner:BEIJING INST OF COMP TECH & APPL

Front-end code generation method and device and storage medium

The invention discloses a front-end code generation method and device and a storage medium, and relates to the technical field of front-end development. According to the method, by obtaining the pre-configuration data of the to-be-executed project, the project demand can be accurately grasped. According to the method, the attribute information is analyzed, complex project requirements are refined into specific dimension configuration data, then the data are matched with the front-end configuration resource pools of the multiple dimensions, the target codes are rapidly generated, the code obtaining time is greatly shortened, and the tedious work that developers blindly search and write a large number of codes is avoided. Finally, the target front-end codes are generated through combination according to the preset format, repeated development is effectively avoided, developers do not need to write basic codes, more energy can be concentrated on core business logic implementation, the technical problems that in the front-end development process, code writing efficiency is low, errors are prone to occurring, and resource reusability is poor are solved, and the development efficiency is improved. The technical effects of improving the front-end development efficiency, improving the code quality and enhancing the code reusability are achieved.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Query page generation method and device based on data configuration, equipment and medium

The invention provides a query page generation method and device based on data configuration, equipment and a medium, and relates to the field of data processing. According to the method, by calling the initial query component, it is ensured that a unified starting point exists in the development process, so that the consistency and maintainability of codes are kept, and meanwhile the development time is saved. The target query component is generated by configuring the query page attribute of the initial query component, the query interface can be quickly customized and adjusted according to different query requirements, consistency and reusability between different query pages are ensured, and the workload of repeated development is reduced. The query page of the target data is generated by utilizing the target query component, so that a new query function can be quickly deployed, manual layout and coding do not need to be performed every time, repeated work is reduced, the code reuse rate is improved, the development process is simplified, and the development efficiency of the query page is improved.
Owner:PING AN BANK CO LTD

Business process arrangement method, device, computer equipment and storage medium

The present application relates to a business process orchestration method, device, computer equipment and storage medium. The aforementioned method includes: collecting multiple business logic slices from historical business processes, and classifying the business logic slices, responding to the drag command of the current task node in the current business process, placing the current task node in the corresponding position, responding to the configuration instruction of the current task node, obtaining the target business logic slice that matches the current task node according to the category of the business logic slice, and configuring the current task node according to the target business logic slice to orchestrate the current business process. The use of this method can utilize existing business logic fragments, avoid repeated development, and improve code reuse rate.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Method and device for multiplexing VScode plug-in code in IDEA plug-in package, storage medium and terminal equipment

The embodiment of the invention discloses a method and device for multiplexing VScode plug-in codes in an IDEA plug-in package, a storage medium and terminal equipment, and relates to the field of plug-in development. According to the method, the VSCode plug-in code can be directly reused when the IDEA plug-in is developed, so that the same set of code runs in different developer tools, and repeated writing of two sets of codes is avoided. Through code reuse, the time investment for redeveloping the same function under different developer tool environments is reduced, the research and development period is remarkably shortened, and the product iteration speed is increased.
Owner:YGSOFT INC

Rapid prototype algorithm verification platform and method

The invention provides a rapid prototyping algorithm verification platform and method, and the method comprises the steps: receiving a configuration parameter inputted by a user through a configuration interface, and generating a configuration file based on the configuration parameter and a script written according to an AUTOSAR standard; building an algorithm model based on a function module which is selected by a user and meets the AUTOSAR standard; generating a model code corresponding to the algorithm model; and compiling and linking the configuration file and the model code in the underlying project to obtain a hex file. In the scheme, the configuration file and the model code conforming to the AUTOSAR standard are obtained by using the script written based on the AUTOSAR standard and each functional module obtained by packaging the ECU abstraction layer interface in the AUTOSAR standard, and are automatically integrated to the underlying project for compiling and linking, so that the code reuse rate is improved, the manpower is saved, and the efficiency is improved. And the purpose of shortening algorithm verification time is achieved.
Owner:BEIJING JINGWEI HIRAIN TECH CO INC

Visual operation process design method, data management method and related devices thereof

The invention provides a visual operation process design method, a data governance method and related devices thereof, the method is applied to a visual operation interface, and the method comprises the following steps: receiving a first input of a user on the visual operation interface; in response to the first input, displaying the first process instance on the canvas; receiving a second input of the user to a first node component in the first process instance; and in response to the second input, updating the processing logic parameters of the first node component, and displaying the second process instance through the canvas. According to the method, the detailed logic and attribute of each node are flexibly set by a user in a process construction process, so that a highly customized data processing strategy is realized, the response speed of a temporary demand is accelerated by promoting code reuse and modular design, the agility and high efficiency of data management work are ensured, and the data management efficiency is improved. And the software development efficiency is improved.
Owner:WUHAN HONGXU INFORMATION TECH

Check code reuse method based on knowledge graph, apparatus, and storage medium

PCT designated stageWO2025179557A1Software reuseEvent typeAlgorithm
A check code reuse method based on a knowledge graph, an apparatus, and a storage medium. The method comprises: acquiring a description document corresponding to at least one check step in a check project; generating event types and parameter lists: by means of an event type classification model and a parameter list extraction model, generating an event type and a parameter list corresponding to each check step on the basis of the description document; searching for related code segments: by means of a knowledge graph, performing searching on the check steps on the basis of the event types and the parameter lists, so as to obtain N most related code segments; and generating candidate code segments: on the basis of the parameter lists, modifying the related code segments to generate candidate code segments. By means of the knowledge graph and the related models, the method can find code segments with similar structures and parameters with respect to description texts of operation steps, so as to complete conversion of the code segments, thereby facilitating check and reasonable combination of same, and finally realizing the overall check logic.
Owner:SIEMENS AG +1

Low-code application rapid construction system based on visual dragging

The invention discloses a low-code application rapid construction system based on visual dragging, and relates to the technical field of application software construction, which comprises a code acquisition module, an action vector marking module, a demand vector acquisition module and an application software construction module, the method has the advantages that the core link of code writing in traditional development is bypassed, application software is generated after demand input is achieved, the code writing link is bypassed, non-technical users can obtain available applications only by describing demands without mastering programming skills, complex installation is not needed, operation is extremely simple, national development becomes possible, and the method is worthy of popularization and application. The speed is greatly increased depending on code reuse, basic codes accumulated by the code collection module can be directly called, repeated coding is omitted, it is ensured that the retrieved codes are highly matched with requirements, common requirements are quickly responded, personalized scenes are covered, and the problem that functions are not matched or missing is solved.
Owner:GUANGDONG FOOD & DRUG VOCATIONAL COLLEGE

Interface switching method, device and electronic equipment

The present invention provides an interface switching method, device and electronic device. If an interface switching controller receives an interface switching instruction, it first calls the switching interface in the interface set corresponding to the switched interface to play the switching animation corresponding to the switched interface on the current interface. When the target interface to be switched to does not exist, the creation interface in the interface set corresponding to the target interface is called to create the target interface, and the entry interface in the interface set corresponding to the target interface is called to play the entry animation corresponding to the target interface on the current interface, so that when switching to the target interface, the animation of the switched interface is played first, and then the animation of the target interface is played, thereby achieving seamless connection of the animation playback. In the present invention, it is only necessary to configure the interface sets of different interfaces to realize interface switching of different interfaces, reduce the amount of repeated code writing, and improve the code reuse rate.
Owner:竞技世界(北京)网络技术有限公司

Functional module sharing system and method

PendingCN120122954AVersion controlSoftware reuseGeneral functionReusability
The invention relates to the technical field of computer software, and discloses a function module sharing system and method, and the system comprises a material registration center and a front-end application. The material registration center obtains and stores module codes and module attribute information of the sharable function modules; the front-end application obtains permission information of a user and field information of a target function module, generates a code request containing the field information according to the permission information, and sends the code request to the material registration center; the material registration center matches the field information in the code request with the module attribute information, determines a target function module in a preset number of sharable function modules, determines a module code of the target function module, and sends the module code of the target function module to the front-end application; and the front-end application loads the target function module according to the module code of the target function module. The problems that code reusability is poor, application upgrading is difficult, universal function modules cannot be shared, and development workload and time cost are increased are solved.
Owner:HUIDIAN TECHNOLOGY (SUZHOU) CO LTD

Modular game development engine system and method

The present application relates to the field of intelligent game development, and specifically to a modular game development engine system and method. It uses artificial intelligence technology based on deep learning to perform semantic analysis on game development project requirements, generate game logic text, and call basic component packages at the same time, and randomly arrange and combine each basic component in the basic component package and perform text description global semantic association encoding to generate a diversified basic component package functional feature representation, and then based on the semantic matching between the game logic text and the basic component package functional information, intelligent recommendation of the basic component package is achieved. In this way, the accuracy and efficiency of component selection in the game development process can be effectively improved, development costs can be reduced, and code reuse and game quality can be promoted.
Owner:WUHAN ZHUOXUN INTERACTIVE INFORMATION TECH CO LTD

Personal research and development efficiency improvement method and system and medium

The invention provides an individual research and development efficiency improvement method and system and a medium, and belongs to the technical field of research and development efficiency evaluation, and the method comprises the following steps: obtaining a code which is submitted by a to-be-evaluated individual and is combined with a review request; determining a continuous integration score, an automatic test score, a code normalization score and a code reusability score of the codes according to the number of the codes submitted by the to-be-evaluated individual, an integration condition, a test condition of an automatic test script, a static scanning result and a calling condition of the packaged codes in a fixed period; performing weighting coefficient distribution on the codes according to the influence factors of the codes in each practical application result to obtain a weighted sum score; and obtaining the review opinion adoption rate of the to-be-evaluated individual, and determining an efficiency comprehensive evaluation result according to the weighted sum score and the result of the review opinion adoption rate. According to the method, behaviors and corresponding results of research and development personnel can be accurately analyzed, and targeted implementation of an efficiency improvement plan is facilitated.
Owner:于春青

A templated business cache processing method and system

The present invention belongs to the technical field of computer technology server-side data processing, and discloses a templated business cache processing method and system. For a relational database using structured data, this method completes data storage in the relational database by defining a fixed data model as a cache data structure; the data stored in the cache is converted into a usable binary format in a serialized manner; an abstract interface for the data structure and an abstract interface for data operations are defined, and cache commands are performed on the detailed problem data used by the template class. The present invention uses a template to encapsulate the specific implementation of the operation steps into the template class, so that a general processing that supports multiple data types can be used to improve the code reuse rate and reduce redundancy. At the same time, the template class can be easily expanded to support new data types, and the unified maintenance method in the template class makes the code easier to maintain and expand.
Owner:QINGDAO CIVIL AVIATION KAIYA SYST INTEGRATION CO LTD

Optimization method and system for realizing list item data display based on Recycler View control

The invention relates to an optimization method and system for realizing list item data display based on a RecyclView control, and the method comprises the steps: constructing a business data layer in a list item adapter and a list item UI layer of the RecyclView control; the method comprises the following steps: defining a first interface serving as an independent data structure of a list item of a RecyclView control and a second interface serving as a basic behavior of the list item of the RecyclView control in a business data layer, associating the first interface with the second interface, and defining a first abstract class inheriting the second interface based on an abstract class of the RecyclView control in the business data layer, the first abstract class is the UI of the list item of the RecyclView control, and an instance corresponding to the UI is automatically queried and created in the list item adapter by adopting a reflection mode, so that the data of the list item is displayed. Therefore, the problem that the data structure of the multi-style list is bloated is solved, the development complexity of the multi-style list item is simplified, and the program stability and the code reuse rate are improved.
Owner:宝宝巴士股份有限公司

Virtual board card communication protocol unified packaging method

The invention provides a unified packaging method for a communication protocol of a virtual board card, and relates to the technical field of computers, and the method comprises the steps: firstly, constructing a universal virtual board card model according to the interface functions of various communication board cards; then, constructing a standard virtual bus data encapsulation protocol; and finally, calling a standard virtual bus data encapsulation protocol through the universal virtual board card model to process the data so as to realize the transceiving process of the data on the virtual bus. By constructing the universal virtual board card model and the standard virtual bus data encapsulation protocol, software function verification can get rid of limitation of physical equipment, the development and iteration period of an embedded system is shortened, the development efficiency is improved, the cost is reduced, the debugging process is simplified, meanwhile, the code reuse rate is increased, and the development cost is reduced. The difficulty of learning and cross-device maintenance of a developer on a privatized driving interface is reduced, and the compatibility and expansibility requirements of an embedded system are met.
Owner:LUOYANG INST OF ELECTRO OPTICAL EQUIP OF AVIC

Business process processing method and system and server

The invention provides a business process processing method, a business process processing system and a server, and relates to the field of business process back-end development, and the method can complete an automatic routing function only by carrying out simple annotation operation through annotation parameters when differentiated logic adjustment is carried out on different business processes in the same business process. The method does not need extra setting, realizes reuse of business process related codes, and also can realize isolated and differentiated calling between businesses.
Owner:HANGZHOU ZHILIAN CHANGXING TECHNOLOGY CO LTD

Code similarity review method based on artificial intelligence

The invention provides a code similarity review method based on artificial intelligence, and belongs to the field of artificial intelligence and software engineering.The code similarity review method comprises the steps that semantic features of codes are extracted through a deep learning model, code similarity classification is conducted through a machine learning model, the semantic features of the codes can be automatically learned, and the similarity of the codes is detected; the problems of potential code plagiarism, code reuse, code vulnerabilities and the like are identified, and the accuracy, efficiency and expandability of code similarity review are improved.
Owner:INSPUR ZHUOSHU BIG DATA IND DEV CO LTD

Code editor of low-code platform and low-code platform

The invention relates to a code editor of a low-code platform and the low-code platform. The code editor comprises a component event script writing module, a storage and storage module, an API object construction module, a user-defined API loading module and a component event execution script module. The component event script writing module provides a script writing interface for a developer to write component event scripts. And the API object construction module analyzes the configuration information when the page is loaded to generate an API object. And the user-defined API loading module obtains the module id set and stores the module id set in a cache for subsequent use. When an event is triggered, the component event execution script module reads script content, executes a script method and calls a method on an API object. The code editor is realized on the basis of an existing low-code platform project, and is used for a user to compile self-defined script event logic, so that logic definition of a complex business process is realized, a code compiling process is greatly simplified, and the code reuse capability is provided.
Owner:FUJIAN ECAN INFORMATION TECH CO LTD

Structured page data Excel file generation and export method, system and equipment

The invention discloses a structured page data Excel file generation and export method, system and equipment, and the method comprises the steps: obtaining page data of a power system, exporting Excel data, carrying out the structural analysis of the page data, structuring the page data, building data mapping between the structured data and Excel file data after structuring the page data, and storing the data mapping between the structured data and the Excel file data. The method comprises the steps of obtaining a mapping set according to page data, generating an Excel file data structure according to the page data and the corresponding mapping set, combining the page data according to an Excel file sequence and the Excel file data structure, generating an Excel file, and exporting the file through a preset export function. According to the method, the page data and the Excel nodes are structured in a mode of establishing the mapping set, and a many-to-one mapping mode is used, so that the code reuse rate is increased, the code expansibility is improved, and the development efficiency and the Excel file generation and export efficiency are improved.
Owner:GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD

Micro-service processing method based on soft clustering and graph neural network and related equipment

The invention discloses a micro-service processing method based on soft clustering and a graph neural network and related equipment, which can be applied to the technical field of software engineering. The method comprises the following steps: extracting structured dependency features among components in a single application source code to obtain a structured dependency vector, and then carrying out soft clustering on each component to obtain a structured membership degree vector; meanwhile, semantic function features of each component in the single application source code are extracted to obtain a semantic function vector, soft clustering is carried out to obtain a semantic membership degree vector, and then weighted fusion is carried out on the structured membership degree vector and the semantic membership degree vector to obtain a comprehensive membership degree vector; and then candidate micro-service allocation is performed on each component in the single application source code, so that the accuracy of component allocation can be improved according to the structured dependency relationship between the components and the semantic function information of the components, and then codes of each component can be called by utilizing an overlapped micro-service architecture to improve the code reusability and improve the user experience. The development workload is reduced.
Owner:CHINA TELECOM CORP LTD

Element-based online model development system and method

The invention provides an element-based online model development system and method, and the system comprises a front-end interface layer which provides a graphical interface comprising an element library, canvas and a code editor; the back-end service layer is used for automatically generating a complete project code containing a standard interface and a basic skeleton code according to a predefined element which is dragged and dropped by a user in a canvas, and managing a construction process; and the containerized execution environment layer is used for providing an isolation container for compiling, packaging and running project codes. The method comprises the following steps: forming a model flow through a drag-and-drop element; automatically generating a project skeleton code; a user compiles core logic at a specified position of the skeleton code; compilation and packaging are completed in the container environment. According to the invention, through combination of element-based, automatic code generation and containerized environment, online development experience of ready-to-use after box opening is realized, the development threshold of the structured element model is reduced, the model code reuse rate and the model development process efficiency are improved, and the environment consistency is ensured.
Owner:ZHONGDIAN DATA IND CO LTD +1

A configuration method and device of an apparatus, an electronic device, and a storage medium

This application relates to the field of computer technology and provides a device configuration method, apparatus, electronic device, and storage medium. The method, during the system startup phase of the target device, reads the hardware identification information of the target device; based on the hardware identification information, calls the corresponding feature configuration file of the target device from a pre-set device feature configuration library; initializes the target device according to the feature configuration file; and generates a unified hardware operation interface based on the feature configuration file, allowing upper-layer applications to control the hardware components of the target device through the hardware operation interface. This application, by automatically identifying the hardware identifier and loading the matching feature configuration file during the system startup phase, dynamically constructs a unified hardware operation interface, achieving complete decoupling between upper-layer business software and the underlying hardware platform. This significantly improves code reusability and system portability, avoiding the problems of high code duplication and low code reusability in software development.
Owner:NINGBO HOLLYSHI INFORMATION SECURITY RES INST CO LTD

Transplanting method and device of operating system driver

The invention discloses a transplanting method and device for an operating system driver, and the method comprises the steps: determining a driver read-write operation function set created by using an input / output control function according to an I / O mapping mode of target hardware; obtaining a driving process number sending function and a driving semaphore sending function created based on a signal processing mechanism of the target operating system; creating a data unit read-write performance function set based on the drive read-write operation function set; creating a semaphore response connection function based on the driving process number sending function and the driving semaphore sending function; and obtaining a performance function program file in an open source modem program of the target hardware, replacing a data unit read-write statement in the performance function program file with the data unit read-write performance function set, and adding the semaphore response connection function into the performance function program file to obtain a transplanted performance function program file. According to the method, the hardware interaction is simplified and the code reusability is improved by packaging the read-write operation of the bottom layer and simulating the hardware interruption.
Owner:WUHAN VOCATIONAL COLLEGE OF SOFTWARE & ENG (WUHAN OPEN UNIV)

Cloud native task arrangement system supporting multiple life cycles and code reuse method

The invention discloses a cloud native task arrangement system supporting multiple life cycles and a code reuse method. The system is realized in a reusable framework library form and is integrated by a plurality of cloud native controllers through a dependency management tool, and each controller is instantiated into a self-consistent task arrangement subsystem during operation. The framework library comprises a local task registry, a maintenance task identifier and factory function mapping; a parameterized task model supporting task logic fixation and receiving dynamic parameters by executing a context; the dynamic task chain assembler instantiates the task objects bound with the parameters from the predefined process definition according to the operation type and assembles the task objects into an executable chain; and the extensible state machine engine drives task execution and supports customized state nodes and rollback logic. According to the method, frame-level code reuse is realized, business differences are elastically adapted while the unification of the architecture is ensured, the maintenance cost is concentrated to a single frame library, the development efficiency is remarkably improved, and the balance of isolation, reusability and flexibility is achieved.
Owner:CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD