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

51 results about "Code maintenance" patented technology

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

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

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

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

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

A storage resource management method and device, a storage medium and an electronic device

The application provides a storage resource management method and device, a storage medium and an electronic device. When a storage resource management request is received, device information of a storage device corresponding to the storage resource management request and a keyword of an API to be called are determined. The device information and the keyword are input into an IoC container to obtain an object instance of the API to be called. The IoC container obtains registration information and a dependency relationship of the API to be called based on the device information and the keyword, and reflects the registration information and the dependency relationship to obtain the object instance of the API to be called. Based on the object instance, the API to be called is called to manage a storage resource corresponding to the storage resource management request in the storage device. It can be seen that, according to the application, the IoC container is pre-constructed in a test environment, the object instance is generated by the IoC container, the API is called, and thus the coupling degree and the difficulty of code maintenance are reduced.
Owner:CHINA CONSTRUCTION BANK

Disk letter assignment method, server, and system

The application discloses a disk symbol allocation method, a server and a system, and relates to the field of servers.In the process of allocating disk symbols by the server, the server acquires a preset disk symbol list or a self-defined disk symbol list, and allocates disk symbols corresponding to each hard disk in a plurality of hard disks in turn according to the order of the disk symbol list.The server allocates disk symbols at the software logic level by using the order of the disk symbol list, and does not need to manually change the cable wiring relationship in the server, so that the disk symbol adjustment mode is relatively more convenient.In addition, the disk symbol allocation is realized by using the order of the disk symbol list, so that different servers with the same cable wiring relationship can have different disk symbol allocation rules, thereby saving the difficulty of server case code maintenance.Further, the disk symbol list can be self-defined, so that the flexibility and applicability of disk symbol allocation can be improved.
Owner:HUAWEI TECH CO LTD

Redundant code processing method and device, program product and electronic equipment

The invention discloses a redundant code processing method and device, a program product and electronic equipment, and relates to the field of financial science and technology, and the method comprises the steps that an entry program table is determined based on a project log of a target project, the entry program table comprises L entry codes, L is a positive integer, and the L entry codes are codes called first for running the target project; based on the entry program table and a code calling relation table, target codes are determined, and the code calling relation table is used for storing code calling relations among all source codes of the target project; taking a difference set between the source code of the target item and the target code as a redundant code; and deleting redundant codes in the source code of the target project. According to the method, the technical problems of high code maintenance difficulty and low maintenance efficiency caused by redundant codes in source codes of existing projects of financial institutions are solved.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA +1

Installation package generation method, device, equipment and storage medium

The disclosure provides a kind of installation package generation method, installation package generation device, electronic equipment and non-transient computer readable storage medium, it is related to computer field, especially in the field of application promotion technology.The specific implementation scheme is: obtaining original code data;Wherein, original code data includes basic code data and difference code data;Difference code data includes the difference code logic under different release channels that meets corresponding release strategy;The difference code logic of each release channel is packed with basic code data respectively, and the to-be-released installation package of corresponding release channel is generated.According to the technology of the present disclosure, the packing efficiency of the to-be-released installation package under multiple release channels is improved, and code maintenance is facilitated.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

Service scheduling method and device, electronic equipment and storage medium

The invention provides a service scheduling method and device, electronic equipment and a storage medium, relates to the field of computers, and can solve the problems of high code maintenance cost and unreasonable resource utilization. The method comprises the following steps: in response to an input operation of service configuration parameters, determining an execution sequence of a plurality of services; creating an intelligent agent based on the execution sequence of the plurality of services; determining a deployment position based on computing power and network performance of a server managed in the service scheduling system; in response to the first request message, determining a scheduling position based on the deployment position; and based on the scheduling position, scheduling the plurality of services in sequence according to the execution sequence through the intelligent agent. According to the method, multiple services can be automatically scheduled, the matching degree of resources can be optimized, the services are scheduled to the corresponding scheduling positions, the multiple services are sequentially executed according to the execution sequence, manual intervention can be reduced, and the resource utilization rate is increased.
Owner:CHINA UNITED NETWORK COMM GRP CO LTD

Data insertion method and device, computer device and storage medium

The application provides a data insertion method and device, computer equipment and a storage medium. The method comprises the following steps: obtaining to-be-inserted data, a target data table to be inserted and a corresponding deduplication rule; in the case that the deduplication rule is not empty, determining the coincidence degree between the to-be-inserted data and each first data in the target data table according to the deduplication rule; and in the case that the coincidence degree between the to-be-inserted data and each first data is less than a threshold value, inserting the to-be-inserted data into the target data table. The method can deduplicate the to-be-inserted data by using the deduplication rule of the data table to which the to-be-inserted data is inserted, without any coding development and code maintenance work, thereby reducing the cost and improving the data insertion efficiency.
Owner:JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD

Solid-state memory back-end loopback test method

The invention relates to the field of solid-state storage, in particular to a back-end loopback test method for a solid-state storage. According to the method, the implementation of the loopback test interface is separated from the main business logic of the upper layer, so that the normal firmware operation mode can be switched to the loopback test mode only by properly modifying the initialization step and replacing the callback function of the related register operation of the flash memory controller on the basis of reserving the back-end processing flow architecture; the reusability and compatibility of codes are improved, and the code maintenance difficulty and cost in the subsequent firmware development process are reduced. A round-robin queue and a bitmap mapping table which are realized by software are used as containers for simulating idle, trigger and completion of register behaviors of a flash memory controller, the time for calling the operation interfaces is fixed and predictable, and the upper limit of the computing power of a CPU (Central Processing Unit) in an SSD (Solid State Disk) main control chip can be estimated, so that a relatively strong guiding effect is achieved on analysis and improvement of performance indexes such as 4K random read command IOPS (Input / Output Operations Per Second) and the like.
Owner:SHANDONG SINOCHIP SEMICON CO LTD