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

71 results about "Code maintenance" patented technology

Error log supervision method, device and system and storage medium

The invention discloses an error log supervision method, device and system and a storage medium. The error log supervision method comprises the steps of obtaining error log information of a target business system; analyzing the error log information, and determining target analysis information; a code line of a target code is positioned according to the target analysis information, submission information of the code line is obtained, and the submission information comprises a code submission object; adding comment information in the code line, wherein the comment information comprises part or all of the target analysis information; in response to the adding operation of the comment information, a prompt message is sent to the code submission object, and the prompt message comprises part or all of the comment information. Therefore, the corresponding code line can be automatically positioned, the analyzed error log information is added into the comment, and the code submission object can be notified in time, so that the convenience of code maintenance is improved.
Owner:ZHUHAI CHENGMI TECH CO LTD

Power grid mode system dynamic file configuration method and device, electronic equipment and medium

The invention discloses a power grid mode system dynamic file configuration method and device, electronic equipment and a medium, which are used for solving the technical problems of low development efficiency, high code maintenance cost, low reuse rate and poor configuration information expansibility in the prior art. The method comprises the following steps: acquiring a metadata configuration file; constructing a field configuration mapping table according to the metadata configuration file; based on the field configuration mapping table, table column configuration, screening item configuration and form item configuration are generated respectively; and transmitting the table column configuration, the screening item configuration and the form item configuration to a front-end rendering engine of the power grid mode system, so that the front-end rendering engine performs dynamic rendering according to the table column configuration, the screening item configuration and the form item configuration.
Owner:ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1

Batch code upgrading processing method based on abstract syntax tree and terminal

The invention discloses a batch code upgrading processing method and terminal based on an abstract syntax tree, and belongs to the technical field of software engineering and code maintaining.The batch code upgrading processing method comprises the steps that new version information and old version information of a project are obtained, and the difference between the new version and the old version of the project is analyzed; analyzing the source code of the old version of the project, and automatically converting the source code of the old version into an abstract syntax tree; defining a processing rule according to the difference between the new and old versions of the project; and traversing each node of the abstract syntax tree, and matching and converting each node of the abstract syntax tree into a new version code according to a defined processing rule. According to the method, the low-version code can be automatically converted into the AST syntax tree, then the AST syntax tree is matched and converted into the high-version code through an algorithm, manual code rewriting is not needed, and a large amount of manpower is saved.
Owner:SHENZHEN COOCAA NETWORK TECH CO LTD

Firmware upgrade method, computer program product, electronic device and medium

Provided in the present application are a firmware upgrade method, a computer program product, an electronic device and a medium. The method comprises: in response to detecting that a specified upgrade file has been input, detecting whether there is a system firmware upgrade thread in a baseboard management controller, wherein the specified upgrade file is a file that is generated on the basis of a preset rule and has a digital signature; in response to determining that no system firmware upgrade thread is detected, performing security verification on the specified upgrade file on the basis of a preset verification rule; and acquiring target system firmware included in the specified upgrade file, which has passed the security verification, and upgrading the target system firmware on the basis of the specified upgrade file. The decoupling of a baseboard management controller and system firmware upgrade is realized, thereby improving the stability of firmware upgrade, and facilitating the code maintenance, upgrade and improvement of tools in a later stage.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Application software architecture for encapsulating task management and synchronization mechanism of operating system

The invention discloses an application software architecture for encapsulating a task management and synchronization mechanism of an operating system, and belongs to the technical field of industrial real-time control. According to the architecture, an operating system task management and synchronization mechanism is modularly packaged into three types of objects: an employee type for packaging specific business execution logic; the pipeline class is used for packaging inter-task communication and synchronization functions; and the behavior class is used for packaging an operating system task entity and is responsible for scheduling employee objects contained in the behavior class to be executed orderly. The three types of objects are created, assembled and started through a factory mode according to configuration information to form a complete real-time task system. According to the method, through object-oriented packaging and configuration assembly, the problems of tight task coupling and difficult code maintenance in traditional process-oriented programming are solved, loose coupling and high cohesion among task modules are realized, the configurability, maintainability and expandability of industrial real-time software are remarkably improved, and the method is suitable for various real-time operating system environments.
Owner:ZHEJIANG WEIDOU TECHNOLOGY CO LTD

User Interface Code Generation Method, Device, Terminal, and Medium

The present application discloses a method, apparatus, terminal, and medium for generating user interface code. The method includes: obtaining a domain object corresponding to a user interface; defining the domain object through annotations to obtain annotation information; generating interface component code corresponding to the user interface based on the user interface and the annotation information; generating interface method code corresponding to the user interface based on the annotation information and the interface component code; and determining target code corresponding to the user interface according to the interface component code and the interface method code. The purpose of the present application is to efficiently generate the code of the user interface, facilitating code maintenance and subsequent development by developers.
Owner:CHENGDU UNIV OF INFORMATION TECH

Software maintenance difficulty assessment method, device, equipment and storage medium

The present application provides a software maintenance difficulty assessment method, apparatus, device, and storage medium. The method includes: obtaining code maintenance information of target software; determining the update complexity level of the target software and the architecture level corresponding to the update complexity level based on the updated function code and newly added function code in the code maintenance information; determining the maintenance workload of the target software based on the update complexity level and the architecture level, and calculating the software maintenance difficulty level corresponding to the maintenance workload. This method effectively determines the maintenance workload of the target software based on the code maintenance information, and effectively determines the software maintenance difficulty of the target software and similar software, thereby providing valuable data feedback for subsequent maintenance task allocation.
Owner:PING AN BANK CO LTD

System and methods for automatic code maintenance and code healing using genai

Example techniques for code modifications are described. In an example, one or more portions of a source code that require modification are identified. Further, for each of the identified portions of the source code, a modification to be performed is identified. Furthermore, a unique identifier corresponding to each of the identified portions is generated. The unique identifier corresponds to the modification to be performed on the respective portions of the source code. Based on the unique identifier corresponding to each of the identified portions, an artificial intelligence (AI) module is selected for each of the respective portions. The selected AI module is triggered to generate a modification code to replace each of the respective portions of the source code.
Owner:HONEYWELL INTERNATIONAL INC

Code management method and device, electronic equipment and computer readable storage medium

The invention relates to the technical field of computers, and provides a code management method and device, electronic equipment and a computer readable storage medium. The code management method comprises the following steps: receiving code uploading data submitted or pushed by a user, wherein the code uploading data comprises code change information, submission information and branch information; performing first normative check on the code uploading data through the client Git Hooks, wherein the first normative check comprises check on the submission type, the action scope and the subject field of the submitted information; if the first normativity check is passed, sending the user information and the code uploading data to a server side; if not, terminating the operation and returning first prompt information to the user; and after the code uploading data is sent to the server side, receiving second prompt information or warehousing success information returned by the server side. According to the code management scheme, the quality specification of warehousing codes can be improved, and the code maintenance cost is reduced.
Owner:ZHONGKE TIMES (SHENZHEN) COMPUTER SYST CO LTD

Service invocation methods, devices, electronic devices, storage media, and program products

This application provides a service invocation method, apparatus, electronic device, storage medium, and program product. In this method, external service providers can register services on a service gateway on their own. Internal service providers can generate processing events for the target service as needed and call back to the external service providers through the service gateway. The service gateway can complete the callback service based on the internal general parameters and registration identifier generated by the external service providers. That is, this application utilizes the service gateway to provide special service customization capabilities, eliminating the need for internal business code development, effectively reducing development costs, and enabling code decoupling between internal and external service providers, which is helpful for subsequent code maintenance and iteration.
Owner:RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD

Intelligent code maintenance method and system based on large model and static analysis fusion

The invention relates to the technical field of software security, and discloses an intelligent code maintenance method and system based on fusion of a large model and static analysis. An intelligent code maintenance method based on large model and static analysis fusion comprises the following steps: S1, a data analysis step: receiving multi-source heterogeneous code input, and converting the multi-source heterogeneous code input into a program representation which can be understood and processed by a subsequent detection engine and is rich in structured information; the multi-source heterogeneous code input content comprises a code warehouse, a local file and an analysis rule; s2, constructing a global program map, and constructing the global program map on the basis of the abstract syntax tree; the global program graph comprises a control flow graph, a data flow graph and a function call dependency graph, and is used for describing a call relation between functions, a variable transfer path and program execution logic. According to the method, the defect detection precision is remarkably improved, and the technical problem of high false alarm rate is effectively solved.
Owner:ANHUI ZHONGKEGUO CHUANGGAO CREDIBLE SOFTWARE CO LTD

Code text translation method, device and computer program product

The invention discloses a code text translation method and device and a computer program product, and relates to the technical field of computers.The method comprises the steps that a current code file is obtained, and a to-be-translated code text is determined in the current code file; analyzing the to-be-translated code text by adopting an abstract syntax tree technology, generating a to-be-translated entry list according to an analysis result, and displaying the to-be-translated entry list to a user through a preset page interaction component; when a confirmation instruction of the user is received, calling a preset translation API interface to perform text translation on the to-be-translated entry list; and updating the current code file according to a text translation result to obtain a translated code file. According to the method and the device, the translable content in the code text can be accurately analyzed, translation API calling is triggered in combination with a user interaction confirmation mechanism, the accuracy and the reliability of translation are ensured, finally, the integrity of the code file is maintained by directly updating the code file, and double improvement of translation efficiency and code maintainability is realized.
Owner:SHENZHEN SHENGQIANG TECH

Business processing method, business processing apparatus and computer-readable storage medium

This application relates to a business processing method, a business processing apparatus, and a computer-readable storage medium. The method includes: receiving a business request sent by a front-end; determining a target version identifier based on the business request; obtaining identifiers and dependency identifiers of multiple target middlewares from a middleware database based on the target version identifier; determining a target execution order based on the dependency identifiers of the target middlewares, and generating a target identifier chain based on the identifiers of all target middlewares and the target execution order; and returning the target identifier chain to the front-end, enabling the front-end to call and execute middleware from the middleware database based on the target identifier chain. This method solves the problem in the prior art where mixing different versions of business code for the same business within the same code block leads to difficult code maintenance.
Owner:BEIJING QINGSONG YIKANG INFORMATION TECHNOLOGY CO LTD

Service behavior management method and device, equipment and storage medium

The invention discloses a service behavior management method and device, equipment and a storage medium, and the method comprises the steps: loading a preset service model and a preset service behavior, the preset service model at least comprises a preset service identifier and an implementation type, and the implementation type is used for representing a calling mode of a service; creating a service behavior instance according to the implementation type and a preset service behavior, and establishing a cache mapping table of the service behavior instance and a preset service model; and in response to a service interface request of the application program, obtaining a request service identifier, and querying and returning the target service behavior instance in the cache mapping table according to the request service identifier. According to the method and the device, different implementation types of services can be managed through the service model, and the cache mapping table is established with the service behavior instance, so that the application only needs to initiate the service interface request to look up the table and return the target instance when running, thereby realizing decoupling of the application and a specific service calling mode, and improving the service calling efficiency. And the complexity and workload of subsequent application code maintenance are reduced.
Owner:BEIJING PACTERA JINXIN TECH LTD

File cleaning method and device, equipment and medium

The invention discloses a file cleaning method and device, equipment and a medium in the technical field of computers. In the method, cleaning configuration information is firstly obtained; the cleaning configuration information comprises sub-cleaning configuration information corresponding to the target data structure. The sub-cleaning configuration information comprises a cleaning condition used for triggering execution of cleaning operation on the file of the target data structure. First file information of the file of the target data structure is obtained; the first file information is related to cleaning conditions included in the sub-cleaning configuration information corresponding to the target data structure. If it is determined that the file meets the cleaning condition included in the sub-cleaning configuration information corresponding to the target data structure based on the first file information, cleaning operation is executed on the file. Therefore, the file of the target data structure can be cleaned by using the cleaning configuration information. The file can be cleaned independently by using the cleaning configuration information, and the service code corresponding to the file does not need to be adjusted, so that the code maintenance cost of a developer is reduced.
Owner:BEIJING YOUZHUJU NETWORK TECH CO LTD

General packaging and calling method for constellation intelligent state monitoring algorithm

The invention discloses a universal packaging and calling method for a constellation intelligent state monitoring algorithm, and relates to a universal packaging and calling method. In order to solve the problems that when a plurality of algorithms are integrated in a software system, due to the fact that formats of input data and output data of the algorithms are different, various combined coding needs to be carried out on the different algorithms, and if each algorithm is independently packaged and called, the development workload is remarkably increased, and the coding maintenance complexity is high. According to the method, various algorithm models are packaged into modular services and integrated into the algorithm library, so that modularization and generalization of algorithm calling are realized. Meanwhile, through a complete algorithm scheduling module, the system can efficiently realize switching and calling among different modular services, and the flexibility, the expandability and the maintenance efficiency of the system are remarkably improved, so that the requirements of diversified business scenes are met. The invention belongs to the technical field of computers.
Owner:HARBIN INST OF TECH

Code management method and device, electronic equipment and computer readable storage medium

The present disclosure relates to the technical field of computers, and provides a code management method and device, electronic equipment and a computer readable storage medium. The code management method comprises: receiving code upload data submitted or pushed by a user, the code upload data comprising code change information, submission information and branch information; performing first standardization checking on the code upload data by a client-side Git Hook, the first standardization checking comprising checking a submission type, a scope and a theme field of the submission information; if the first standardization checking is passed, sending user information and the code upload data to a server side; if the first standardization checking is not passed, terminating the operation and returning first prompt information to the user; after sending the code upload data to the server side, receiving second prompt information or storage success information returned by the server side. The code management scheme of the present disclosure can improve the quality specification of the stored code and reduce the code maintenance cost.
Owner:ZHONGKE TIMES (SHENZHEN) COMPUTER SYST CO LTD

Model setting method and system for free report, readable storage medium

The application provides a model setting method and system of a free report, and a readable storage medium. The model setting method of the free report comprises the following steps: acquiring a cell list, the cell list comprising a plurality of design cells; converting the design cells to obtain business cells; structurally processing the business cells to obtain design blocks; and sequentially processing cell information in the design blocks, and collecting cells on the same link together according to the cell information to form a design path. Through the technical scheme, the server adds the design block layer and the design path layer in the running time, the execution is clear in hierarchy, supports a more fine-grained business scenario, and is convenient for subsequent code maintenance and expansion.
Owner:YONYOU NETWORK TECH CO LTD

Screening bar element recognition and interaction intent prediction method

This application provides a method for identifying filter bar elements and predicting interactive intent. It uses a visual language model to uniformly identify filter bar controls and buttons of different styles, and combines multimodal fusion to predict interaction behavior types (pop-up / refresh / jump), solving the problems of poor versatility and lack of intent prediction in traditional tools. Automated instructions are generated based on coordinates and adapted to different device resolutions, achieving cross-platform operation with zero code maintenance. A closed-loop system of confidence verification and training set optimization improves model robustness. Ultimately, it achieves automated verification of the filtering function, replacing time-consuming manual click testing, significantly improving verification efficiency and reliability.
Owner:GUANGZHOU PINWEI SOFTWARE CO LTD

Error code returning method and device, equipment and storage medium

The embodiment of the invention relates to an error code returning method and device, equipment and a storage medium. The method comprises the steps that under the condition that a target program runs abnormally, file information of a target file to which a target source code belongs and position information of the target source code in the target file are obtained, and the target source code is a source code at the position where the target program runs abnormally; generating an error code of the target source code based on the file information and the position information; and outputting the error code of the target source code. According to the embodiment of the invention, the accuracy of abnormal point positioning can be improved, and the maintenance difficulty of error codes is reduced.
Owner:BEIJING TSINGTENG MICROSYSTEM CO LTD

EEPROM chip driving method and device

The invention discloses an EEPROM (Electrically Erasable Programmable Read-Only Memory) chip driving method and device, and the EEPROM chip driving method comprises the following steps: determining a read / write / query process action sequence array: extracting a basic time sequence action from original driving time sequence actions for driving an EEPROM chip as a basic instruction; combining the plurality of basic instructions as a combined instruction; according to the read / write / query process of the EEPROM chip, the EEPROM chip is decomposed into a read process action sequence array, a write process action sequence array and a query process action sequence array which respectively comprise a plurality of combined instructions; according to the different process action sequence arrays, corresponding driving programs are formed and used for driving the EEPROM chip. According to the EEPROM chip driving method, code maintenance is facilitated, program readability is improved, timing of actions and timing sequences is distinguished, and the execution speed and sequence of the actions are easily adjusted according to different chips.
Owner:QINGDAO HISENSE BOSCH AIR CONDITIONING SYSTEM CO LTD

Message processing method, device and equipment based on different systems

The embodiment of the invention provides a message processing method, device and equipment based on different systems, and relates to the field of financial science and technology. The method comprises the following steps: in response to a received to-be-processed message sent by an external system, performing message format conversion on the to-be-processed message based on a preset conversion mode to obtain a format-converted message; comparing the to-be-processed message with the format-converted message to obtain key information content different from the format-converted message in the to-be-processed message; and fusing the key information content into the message after format conversion to obtain a service message. Therefore, messages of different external systems can be automatically converted into messages meeting the message format requirements of the processing system. And the code development cost and the code maintenance cost of message conversion are reduced. According to the method, the key information content, different from the format-converted message, in the to-be-processed message is obtained, and the key information content is fused into the format-converted message, so that key data of the to-be-processed message is prevented from being lost.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Service configuration method and device, electronic equipment, storage medium and program product

The invention discloses a service configuration method and device, electronic equipment, a storage medium and a program product, and relates to the technical field of computers, the method comprises the following steps: in response to a service creation request, obtaining first service information of a target service; performing matching in a target storage space based on the first service information to obtain a first service execution step matched with the first service information and a first atomic operation corresponding to a first service logic in the first service execution step, the target storage space is configured to be used for storing second service information, a second service execution step and a second atomic operation corresponding to second service logic in the second service execution step; and constructing an execution object for executing the target service based on the first service execution step and a first atomic operation corresponding to the first service logic in the first service execution step. According to the invention, the business configuration process can be simplified, and the reusability and expandability of the business configuration code are improved, so that the problem of high maintenance cost of the business configuration code is solved.
Owner:BEIJING YOUZHUJU NETWORK TECH CO LTD

Method and system for generating recipes for code maintenance

A method and a system for automating a process of generating a recipe for software code maintenance by recommending sub-recipes that are needed to write a new recipe are provided. The method includes: receiving a first user input that includes information that relates to the new recipe, such as a recipe name and a recipe description; analyzing the information that relates to the new recipe in order to automatically determine a list of sub-recipes for possible inclusion in the new recipe and a corresponding set of scores that indicate a probability that each sub-recipe is suitable for inclusion in the new recipe; transmitting, to the user, the list and a request for user feedback; and receiving a second user input that includes a set of selected sub-recipes to be included in the new recipe.
Owner:JPMORGAN CHASE BANK NA

A code generation method, apparatus, device, and medium

The application relates to the technical field of interface development, in particular to a code generation method and device, equipment and medium, which are used for solving the problems of low development efficiency and difficult code maintenance of a traditional interface development scheme. The method comprises the following steps: in response to a code generation operation for a first control, calling a code generation tool corresponding to the first control, parsing a configuration file of a to-be-developed interface to obtain various fields contained in the configuration file and logical relationships between the various fields; and then generating a target file and a test file corresponding to the to-be-developed interface based on the various fields and the logical relationships between the various fields, wherein the target file comprises at least one of the configuration file and an application file of the to-be-developed interface. In this way, the development efficiency can be improved, the labor cost can be reduced, the front-end and back-end interface can be debugged in advance, the code format is consistent, and the code maintenance is facilitated.
Owner:CHINA CONSTRUCTION BANK +1

Unified Hash collision suppression method for multi-dimensional weight distribution of distributed database

The invention discloses a distributed database multi-dimensional weight distribution unified Hash collision suppression method, which comprises the following steps of: adopting the same basic Hash function in data exchange and Hash table processing, and sequentially performing multi-layer processing of bit folding, non-GF (2) domain multiplication transformation and secondary folding on an initial Hash value, so as to obtain a uniform Hash collision suppression result. Therefore, differential hash results with low statistical correlation and uniform distribution are derived; according to the method, the relevance of Hash collision in different stages is effectively broken, the overall collision rate is greatly reduced on the premise of maintaining a single Hash architecture of the system, the execution efficiency of connection and aggregation operation is improved, and meanwhile, the code maintenance complexity is greatly reduced.
Owner:BEIJING FLYWHEEL DATA TECH CO LTD

Global variable integration method

The invention provides a global variable integration method, which comprises the following steps of: opening client software of battery detection equipment, opening a step editor on the client software, and editing step flow parameters; after the work step flow parameters are edited, a channel to be tested is selected and clicked to start, the client packages the work step flow parameters and sends the packed work step flow parameters to the server, the server sends the packed work step flow parameters to the middle computer, and the middle computer parses the work step flow parameters and then starts the channel to start testing; the middle computer executes the process step test logic according to the process step flow parameters and synchronously executes the function of global variable integral parameters, and a client channel interface displays the value of a global variable for storing an integral result in real time; and ending the test until the step flow of the test channel is executed. The software code maintenance cost can be reduced; the integral requirements of different test parameters of the user are met, integral objects have diversity, and integral on internal fixed variables, user-defined variables and external variables is supported.
Owner:NEWARE TECH LTD

PDF (Portable Document Format) document generation method and system based on layered architecture and structured content

The invention discloses a PDF (Portable Document Format) document generation method and system based on layered architecture and structured content. According to the method, a PDFWriter object is created through a layered architecture, and the PDFWriter object is driven to create a page based on semantic structure element data; according to the visual and structural attribute change content of the elements in the page, generating a PDF document; and verifying and adjusting the layout through the form control, setting the fine-grained security authority, and adjusting the processing process. Therefore, the generation efficiency is remarkably improved, the memory occupation is reduced, and the compliance and accessibility of the WCAG are enhanced. The layered architecture reduces the code maintenance amount and the cross-platform cost, rich elements and controls support improve the comprehensiveness of functions, and finally high-quality, high-efficiency and high-safety PDF document generation is achieved.
Owner:WIN THE BID HUIKANG TECH CO LTD

Invoice converter generation method and device, terminal equipment and storage medium

The invention discloses an invoice converter generation method and device, terminal equipment and a storage medium, and belongs to the field of invoice generation, and the method comprises the steps: traversing and recognizing a business object class annotated and labeled by an invoice entity from a compiling unit; the business object class at least comprises a plurality of first fields marked by invoice element annotations; extracting all the first fields from the business object class, and verifying all the first fields through a preset invoice field rule; if all the first fields in the business object class pass the verification, generating a corresponding mapping code statement for each first field; and compiling all the mapping code statements corresponding to the business object class to obtain an invoice converter corresponding to the business object class. Therefore, by implementing the method and the device, the development efficiency of the invoice converter under the multi-service system architecture can be improved, and the code maintenance cost can be reduced.
Owner:GUANGDONG AEROSPACE INFORMATION CO LTD