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

95 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

Application program jumping method and device, computer equipment and storage medium

The invention relates to an application program jumping method and device, computer equipment and a storage medium. The method comprises the following steps: responding to a jump request of a current application program, when the jump request carries a uniform resource identifier, analyzing the uniform resource identifier to obtain to-be-accessed resource information and an access protocol, and when the access protocol is consistent with a preset protocol in the current application program, sending the to-be-accessed resource information to the current application program; determining to-be-accessed target page information according to the to-be-accessed resource information, acquiring a pre-configured jump type according to the target page information, calling a routing frame of modal jump to perform page jump when the jump type is modal jump, and performing page jump through a page navigation component when the jump type is non-modal jump. By adopting the method, different types of application program jumps can be unified, and the code maintenance cost is reduced.
Owner:SHANGHAI SHUHE INFORMATION TECH CO LTD

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

DSP (Digital Signal Processor) multi-accounting power division method, device and equipment and storage medium

The invention discloses a DSP multi-core computing power division method, device and equipment and a storage medium, and relates to the technical field of data processing, the method comprises the steps that a single RTOS system is created for a DSP, and the single RTOS system only comprises one RTOS, one set of audio frame and one set of audio topology; carrying out audio topology definition and identification so as to identify an I / O task and an algorithm task of the audio topology as different core operation; and defining an inter-core data interface to realize inter-core communication and data sharing, and carrying out consistency maintenance operation on inter-core data. Through the single RTOS system design, the code space occupation is reduced, the code maintenance complexity is reduced, and the deployment and operation complexity is reduced.
Owner:SIENGINE 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

File transmission control method, section interceptor and electronic equipment

The invention discloses a file transmission control method, a section interceptor and electronic equipment. The method comprises the steps that it is detected that a transmission method carrying a target annotation is called, the transmission method is intercepted, and the transmission method is used for achieving the file transmission function of a target interface; determining a target file type indicating that the transmission method is allowed to be executed in the target annotation and a current file type of a current transmission file of the transmission method; and under the condition that the target file type is not matched with the current file type, determining that the current transmission file is an abnormal file. According to the method and the device, the technical problem of large code maintenance limitation caused by high coupling degree of verification logic and uploading service logic of file uploading in related technologies is solved.
Owner:CHINA TELECOM BESTPAY CO LTD

Page parameter transmission callback method and electronic equipment

The invention discloses a page parameter transmission callback method and system, and belongs to the technical field of computers.The method comprises the steps that a target page defines required parameters, annotations are used for marking the parameter types of the parameters, and the parameters are returned to a source page; a start method is generated in the source page, and the start method is provided with a corresponding start annotation label; and the target page receives a target parameter transmitted by the source page, executes a related operation based on the target parameter to obtain an operation result, and returns the operation result to the source page. According to the method and the apparatus, the technical effects of logic association of jumping and parameter transmission between pages, high code readability, relatively high security and facilitation of later code maintenance are realized.
Owner:CHINA UNICOM ONLINE INFORMATION TECHNOLOGY 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

Code deployment method and device and electronic equipment

The invention discloses a code deployment method and device and electronic equipment, and is applied to the field of financial science and technology, and the method comprises the steps: packaging first data and pushing the first data to a mirror image warehouse under the condition that a code library receives the first data, and obtaining an updated mirror image warehouse; determining incremental configuration information in the change information when it is detected that the configuration stock is in the change information; determining a target code environment corresponding to the incremental configuration information; and deploying the target code environment based on the continuous integration system according to the updated mirror image warehouse and the incremental configuration information. Through the method and the device, the problem of low code deployment efficiency caused by relatively complex inheriting or merging operation of different versions and difficulty in code maintenance when the differentiated configuration information in various code environments is managed in a branch or directory mode in related technologies is solved.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

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

Conditional search component packaging method and device, equipment and storage medium

The invention provides a packaging method, device and equipment for a conditional search component and a storage medium, firstly, a dom structure of the conditional search component is constructed, a search condition box and a slot used in a system are uniformly packaged in a form component, then, a search type list transmitted when the packaged conditional search component is used is received, and the search type list is stored in the form component. Packaging a user-defined function to process data of a list, generating attributes and default values of a form, processing a button click event according to a button type of a button clicked by a user, and providing a function of searching when an enter key of a keyboard is clicked; and finally, introducing the packaged condition search component into a page to be used, and transmitting the data of the search type list into the packaged condition search component. The method aims at solving the problems of code redundancy and code repetition of all pages, private customization is supported through a flexible configuration mode, and later unified modification and code maintenance are better facilitated while the code quantity is reduced.
Owner:SHENYANG ERYISAN ELECTRONICS TECH CO LTD

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