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

27 results about "Version code" patented technology

Cross-version vulnerability identification system based on depth map neural network

The invention discloses a cross-version vulnerability recognition system based on a depth map neural network, and the system comprises a multi-version code metadata collection module which is used for collecting software source codes of multiple versions and analyzing the software source codes to generate a multi-version code metadata set; the multi-version code graph generation module is used for constructing a multi-version code graph set; the feature representation matrix generation module is used for generating a feature representation matrix of the multi-version code graph; the depth map neural network modeling module is used for obtaining an embedded matrix of each node by adopting a GLEM model; the potential vulnerability node identification module is used for identifying a cross-version potential vulnerability node set; and the result output module is used for outputting a cross-version vulnerability identification result and generating a detection report. According to the method, the depth map neural network and the cross-version modeling method are adopted, multi-version vulnerability automatic recognition is achieved, and the method has the advantages of being high in intelligence, high in adaptability and accurate in detection.
Owner:BEIJING RUISJINDA TECH CO LTD

Software updating method and device, equipment and storage medium

The invention provides a software updating method and device, equipment and a storage medium, and the method comprises the steps: generating a new version contract file based on a new version code, and enabling the new version contract file to be used for providing a standardized description of a new version API; obtaining a comparison result of the new version contract file and the old version contract file, and determining whether the comparison result meets a preset constraint condition; when it is determined that the comparison result meets a preset constraint condition, verifying whether an actual API interface of the new version code during operation is consistent with an API interface contained in the new version contract file or not; routing the traffic to the new-version service according to a preset gray release strategy after confirming that the traffic is consistent, and monitoring whether the running state of the new-version service is abnormal or not during gray release; if not, updating the old-version service into a new-version service, and if yes, triggering an exception handling mechanism; zero-interruption deployment of services is realized, compatibility detection and system reliability are greatly improved, resources are effectively saved, and continuity of key services is guaranteed.
Owner:CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1

An intelligent code adoption rate determination method, apparatus, device, and medium

This application discloses a method, apparatus, device, and medium for determining the adoption rate of intelligent code generation. The method includes acquiring initial code generated by an intelligent code generation model, comprising multiple first-version code fragments; determining the original attribute tags of the first-version code fragments based on their fragment metadata; encrypting the original attribute tags of the first-version code fragments based on the code version information of the initial code to obtain encrypted attribute tags; acquiring the target code corresponding to the initial code after actual use; determining the adopted target code fragment in the initial code based on the encrypted attribute tags of the second-version code fragment in the target code, the encrypted attribute tags of the first-version code fragment, the first-version code fragment, and the second-version code fragment; and determining the code adoption rate of the initial code based on the target code fragment and the first-version code fragment. This approach improves the accuracy and reliability of determining the sampling rate of intelligent code generation.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Code generation method and system based on large language model

The invention relates to a code generation method and system based on a large language model, and belongs to the technical field of computers. According to the method, dialogue is carried out on the basis of the generated first version code and the large language model to provide more detailed and specific input, so that the large language model generates a corresponding subprogram, and complete code logic is constructed; calling an example code stored in an example code library to further optimize the initial code based on multiple rounds of conversations, and generating a second version of code; and performing comprehensive quality evaluation on the generated second version code based on a preset code quality evaluation standard, automatically generating a repair rule based on an evaluation result, and generating a target code by using the repair rule. According to the method and the device, the repair rule is obtained according to the evaluation result obtained by performing comprehensive quality evaluation on the second-version code, the second-version code is repaired based on the repair, so that the high-quality target code is obtained, and the whole generation process is more intelligent.
Owner:ZHENGZHOU UNIV

A cross-version vulnerability identification system based on a deep graph neural network

The application discloses a kind of cross-version vulnerability identification systems based on depth map neural network, comprising: multi-version code metadata acquisition module, for collecting multiple versions of software source code and parsing generation multi-version code metadata set;Multi-version code graph generation module, for constructing multi-version code graph set;Characteristic representation matrix generation module, for generating the characteristic representation matrix of multi-version code graph;Depth map neural network modeling module, for using GLEM model, obtains the embedding matrix of each node;Potential vulnerability node identification module, for identifying the potential vulnerability node set across version;Result output module, for outputting cross-version vulnerability identification result and generating detection report.The application adopts depth map neural network and cross-version modeling method, realizes multi-version vulnerability automatic identification, with the advantages of strong intelligence, high adaptability, detection precision.
Owner:BEIJING RUISJINDA TECH CO LTD

Verilog rtl code hardening method and related device

The application discloses a Verilog RTL code reinforcing method and related equipment, relates to the programming technical field, and mainly aims at solving the problem that there is no proper reinforcing method to make the circuit resist 0 and 1 error flip. The method comprises the following steps: obtaining a time sequence logic code section of an original Verilog RTL code file containing time sequence logic; performing format identification on the time sequence logic code section to generate a time sequence logic identification version code file; determining a flip-flop code in the code section with the format identification; and adding redundant combination logic voting circuit code to the flip-flop code to reinforce the original Verilog RTL code. The application is used in the Verilog RTL code reinforcing process.
Owner:INST OF MICROELECTRONICS CHINESE ACAD OF SCI LTD

Code tracking method and system, electronic equipment, storage medium and computer program product

The invention discloses a code tracking method and system, electronic equipment, a storage medium and a computer program product, and relates to the technical field of artificial intelligence and computers. The method comprises the following steps: in response to a writing event of a target type code in an integrated development environment, obtaining code change data corresponding to the writing event; in response to a version submission operation executed for a to-be-submitted code corresponding to the target type code, verifying the code change data based on the to-be-submitted code and a reference version code corresponding to the target type code to obtain submission statistical information, the submission statistical information is used for representing an effective code change line provided by the target type code relative to the reference version code; and performing associative storage on the submission statistical information and a code version identifier corresponding to the version submission operation to obtain a code tracking record. According to the method and the device, the technical problems of low code tracking efficiency and poor real-time performance and accuracy in related technologies are solved.
Owner:HANGZHOU ALICLOUD FEITIAN INFORMATION TECH CO LTD

Code potential risk identification method and device, storage medium and computer equipment

PendingCN121833025ALow failure rateComprehensive and accurate identificationVersion controlCreation/generation of source codeAlgorithmSoftware system
The invention provides a potential risk identification method and device of a code, a storage medium and computer equipment, and can compare a to-be-tested version code with a reference version code to determine a difference code file with code change in the to-be-tested version code, and perform potential risk identification on the difference code file by using a plurality of AI code assistant tools, so as to improve the identification accuracy of the potential risk of the to-be-tested version code. And obtaining multiple pieces of risk information. And then, carrying out duplicate removal and conflict detection processing on the risk information identified by the plurality of AI code assistant tools so as to integrate the plurality of pieces of risk information into final risk information. Therefore, the potential risk of the to-be-tested version code can be simply, efficiently, comprehensively and accurately identified, so that the probability that the code breaks down in a production environment is effectively reduced, and the running stability and reliability of a software system are improved.
Owner:GUANGZHOU PINWEI SOFTWARE CO LTD

A method and apparatus for gray scale publishing

ActiveCN119645480BTime segmentMicroservices
This specification discloses a method and apparatus for canary deployment. The canary deployment system acquires traffic segmentation rules corresponding to a target microservice among multiple microservices. Then, based on the traffic received by the new version of the target microservice in the current time period, it obtains the operational data of the new version of the target microservice in the current time period. Finally, based on the operational data of the new version of the target microservice in the current time period and the traffic segmentation rules corresponding to the target microservice, it performs traffic segmentation on the traffic received by the target microservice to determine the traffic received by the new version of the target microservice in the next time period, and further obtains the operational data of the new version of the target microservice in the next time period, and so on, until the new version of the target microservice receives all the traffic, thus completing the canary deployment. This automatically adjusts the traffic ratio between the old and new versions of the code, avoiding errors caused by human operation, and improving the efficiency of canary deployment.
Owner:ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD +1

Test case recommendation method, system and equipment

The invention relates to the technical field of software testing, in particular to a test case recommendation method, system and equipment. The method comprises the following steps: comparing a to-be-tested version code of a target application with a previous version code to obtain a difference code; inputting the difference code into a trained AI model to indicate the AI model to output an optimal test case suitable for the difference code according to the difference code and a pre-constructed knowledge base; wherein the knowledge base is obtained in the following mode: obtaining coverage rate data obtained based on the target test case, taking the target test case as a historical test case, associating the target test case with the corresponding coverage rate data, and storing the target test case in the knowledge base. Therefore, the problems that in the prior art, the test case maintenance cost is high, and the designed test case code coverage rate is low can be effectively solved.
Owner:KINCHENG BANK OF TIANJIN CO LTD

Multi-version code processing method and device, storage medium and electronic equipment

The invention belongs to the field of code management, and provides a multi-version code processing method and device, a storage medium and electronic device.The method comprises the steps that multi-version codes are obtained, and the multi-version codes comprise codes of different versions under an old architecture and codes of different versions under a new architecture; in the process of upgrading the old architecture code to the new architecture code, upgrading the code structure of the old architecture code to generate the new architecture code; in the process of upgrading the old architecture code to the new architecture code, determining a matched target processing flow according to the type of the current development demand; and performing parallel processing on the parallel version codes in the multi-version codes through the target processing flow. According to the processing method provided by the embodiment of the invention, parallel processing can be automatically performed on the parallel version codes in the multi-version codes through the target processing flow, so that the code upgrading process is simplified, and the code accuracy in the code upgrading process is also improved.
Owner:TRAVELSKY TECHNOLOGY LIMITED

Code package detection processing method and device, electronic equipment and storage medium

The embodiment of the invention provides a code package detection processing method and device, electronic equipment and a storage medium. The method comprises the steps that code package attribute information corresponding to a to-be-processed code package is determined, the to-be-processed code package corresponds to a first version code package and a second version code package, and the code package attribute information is used for indicating functions included in the code package and source files to which the functions belong; according to the code package attribute information of the first version code package and the code package attribute information of the second version code package, target positioning information corresponding to the first version code package is determined, and the target positioning information is used for indicating a source classification result causing the size increment change of code packages generated by the first version code package compared with the second version code package; and performing code optimization on the first version code package according to the target positioning information. According to the scheme, the unnecessary code quantity can be reduced, the code execution efficiency and maintainability can be improved, the code development and maintenance cost can be reduced, and the code adaptability and stability are enhanced.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD

Method and device for determining version difference data and electronic equipment

The invention provides a version difference data determination method and apparatus, and an electronic device. The method comprises the steps of obtaining a first system operation parameter and a second system operation parameter; the first system operation parameter and the second system operation parameter are respectively used for indicating the performance of a first service system generated by the reference version code in the process of processing each service request in a preset service request sequence; the performance of a second service system generated by the target version code in each service request process in the service request sequence processing process is obtained; determining a performance degradation parameter based on the first system operation parameter, the second system operation parameter and a communication protocol corresponding to each service request in the service request sequence; based on the performance degradation parameter, target difference data for the reference version code and the target version code is determined. According to the mode, the difference part of performance degradation caused by the two version codes can be determined, the analysis efficiency of the multiple version codes is improved, and the labor cost is reduced.
Owner:NETEASE (HANGZHOU) NETWORK CO LTD

Automatic code reconstruction method and system based on visual regression test

The invention discloses an automatic code reconstruction method and system based on visual regression testing, and relates to the technical field of artificial intelligence, and the method comprises the steps: obtaining a source item code; converting the source project code into a target project initial version code; performing pixel-level difference comparison verification on the source project code and the target project initial version code to obtain difference positioning information; a targeted repair code is generated based on the difference positioning information; applying the targeted repair code to the target project, and executing multiple rounds of iterative verification and optimization until the targeted repair code meets a visual consistency standard condition; and the targeted repair code meeting the visual consistency standard reaching condition is determined as the final reconstruction code, the final reconstruction code is output, and the problem that automatic code reconstruction cannot be achieved in the prior art is solved.
Owner:JIANGSU ZHIJIAN LOGISTICS CO LTD

Update monitoring method of code warehouse, electronic equipment and storage medium

The invention relates to a code warehouse update monitoring method, electronic equipment and a storage medium. The method comprises the following steps: according to preset first configuration information, pulling first update data conforming to the first configuration information from a first code warehouse; wherein the first configuration information comprises a pull item associated with the modification content of the code in the second code warehouse relative to the reference version code, the reference version code is a historical version code in the first code warehouse, and the code in the second code warehouse is obtained by modifying the reference version code; converting the first update data into structured input data according to a preset data structure; constructing an agent-oriented service request based on the input data and a preset model behavior constraint; and calling the intelligent agent through the service request to obtain a first update summary report generated by the intelligent agent for the first update data.
Owner:SHANGHAI BIREN TECH CO LTD

Chip verification automation regression test method and computer readable storage medium

The present application belongs to the chip verification technical field, and specifically relates to a chip verification automatic regression test method and a computer readable storage medium. The updated code to be regressed is subjected to regression test by using simulation seeds having coverage contribution to the simulation of the old version code, and then the code to be regressed is subjected to regression test by using random simulation seeds until a set coverage rate is reached. By using the simulation seeds having coverage contribution to the simulation of the old version code for regression test after the code version is updated, the regression coverage can be quickly covered in the initial regression test, and after the regression test is performed by using the simulation seeds in the prior seed set, the regression test is further performed by using random simulation seeds, so that the coverage rate is further improved. The regression test of the present application is automatic regression test, and no manpower is needed, so that the chip verification automatic regression test method of the present application can meet the coverage rate requirement while improving the regression test efficiency.
Owner:SPL ELECTRONICS TECH CO LTD

Traffic playback method and device, computer device, storage medium and computer program product

This application provides a traffic replay method, apparatus, computer device, storage medium, and computer program product. The method includes: determining the latest traffic file to be replayed from a traffic replay task queue; sending the latest traffic file to be replayed to a new code execution node and an old code execution node for traffic replay, obtaining a traffic replay result; the new code execution node running a new version of the target application's code; the old code execution node running an old version of the target application's code; and, if the traffic replay result shows failed traffic replay records, determining a processing strategy for the failed traffic replay records based on the differences between the new and old code versions. This method can improve the efficiency of traffic replay verification.
Owner:GUANGZHOU PINWEI SOFTWARE CO LTD

Code vulnerability analysis method and device, computer equipment, storage medium and product

PendingCN122065314Afully understandEnsure vulnerability analysis accuracyPlatform integrity maintainanceAlgorithmTheoretical computer science
The invention relates to the technical field of network security, in particular to a code vulnerability analysis method and device, computer equipment, a storage medium and a product. The method comprises the following steps: constructing a time sequence code attribute graph corresponding to a historical version code according to the historical version code corresponding to a to-be-detected code; according to the time sequence code attribute graph, determining an evolution perception soft prompt corresponding to the to-be-detected code; and performing vulnerability analysis on the to-be-detected code according to the evolution perception soft prompt to obtain a vulnerability detection result of the to-be-detected code. According to the method, the historical evolution process of the to-be-detected code is fully understood when vulnerability analysis is carried out on the to-be-detected code, and the vulnerability analysis accuracy of the to-be-detected code is ensured.
Owner:ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD

Updating method and device

The present disclosure relates to an updating method and device. The method comprises: using an existing version of an engineering tool to package and build project source code to obtain original version code products; installing a new version of the engineering tool; using the new version of the engineering tool to package and build the project source code to obtain new version code products; and determining whether the updating is successful according to whether the implementation functions of the original version code products and the new version code products are consistent. The engineering tool updating process is automated, human intervention is not required for updating, and problems such as human error and low efficiency are avoided. In addition, the cause of a safe updating failure can be output.
Owner:WIRELESS LIFE (HANGZHOU) INFORMATION TECH CO LTD

Code repository management method and device, computer device and storage medium

The application discloses a code warehouse management method and device, computer equipment and a storage medium, and the method comprises the following steps: acquiring a target code of a first version, determining a plurality of environment code branches corresponding to the target code of the first version, the plurality of environment code branches corresponding to a plurality of running environments running the target code; determining the same content among the plurality of environment code branches and the different content in each environment code branch; generating an environment configuration file matched with the running environment of each environment code branch according to the different content of each environment code branch, obtaining a plurality of environment configuration files corresponding to the plurality of running environments; taking the same content among the plurality of environment code branches as basic content, and generating a version code branch corresponding to the target code of the first version according to the basic content and the plurality of environment configuration files. The application improves the management efficiency of the code warehouse for each version code.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Test positioning method and apparatus, computer device, and computer storage medium

The application relates to a test positioning method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: obtaining a to-be-tested version code file and a historical version code file of a target application, identifying a first function in the to-be-tested version code file, obtaining a first function identifier and first encoding information of the first function, identifying a second function in the historical version code file, obtaining a second function identifier and second encoding information of the second function, and determining a target function to be tested from the first function according to the first function identifier, the first encoding information, the second function identifier and the second encoding information, so as to realize accurate test positioning, reduce redundant tests and improve test efficiency.
Owner:IND BANK CO +1

Multi-language function level code difference detection method and system based on syntax tree

The invention discloses a multi-language function level code difference detection method and system based on a syntax tree, and the method comprises the steps: S10, carrying out the recursive scanning of a directory of a specified old version code and a directory of a specified new version code, and screening a target language file; s20, analyzing the source code file by using a syntactic analyzer, extracting function definition nodes, and constructing a syntax tree comprising a plurality of functions; s30, generating a unique function identifier corresponding to each function based on the syntax tree; s40, normalizing the function body code corresponding to each function to obtain a normalized result, and generating a hash value based on the normalized result; and S50, according to a judgment rule, comparing the unique function identifier in the old version code with the unique function identifier in the new version code to obtain a code difference result, and completing function-level code difference detection. According to the method, the function level can be directly positioned, the workload of manual screening is remarkably reduced, and the fine granularity and the precision of detection are improved.
Owner:CASCO SIGNAL LTD

Global replacement type on-orbit programming method and system supporting multiple memories

The invention provides a global replacement type on-orbit programming method and system supporting multiple memories. The method comprises the steps that S1, a software uploading remote control package is generated; s2, sending an instruction to clear a cache region of the current software for receiving the uploading software; s3, uploading the remote control packet by the uploading software; step S4, verifying all the remote control packets which are already injected; s5, writing the uploading software in the cache region into the curable storage device according to the configuration condition; s6, FPGA gating operation is executed, and a newly written program is selected and loaded; and S7, the monitoring software loads a program to a memory for execution according to the FPGA gating signal. According to the method, the program is completely re-injected without interrupting the running of the on-satellite software, the comparison of new and old version codes is not needed, and the operation is simple and convenient; by adopting a mode of separately managing the pre-storage area and the uploading area for on-satellite codes, a storage device where a pre-storage area program is located is isolated, the pre-storage area program is guaranteed not to be tampered or damaged, and on-orbit software is easier and more reliable to change.
Owner:SHANGHAI SATELLITE ENG INST

Method for determining system-affected functions based on change codes and related apparatus

The application discloses a method for determining system affected functions based on changed codes and related devices, and relates to the technical field of computers, which comprises the following steps: comparing a new version code file set and an old version code file set of a system to be evaluated to determine changed code files and changed lines in the changed code files from the new version code file set, obtaining a file package where the changed code files are located, generating an abstract syntax tree based on the file package, extracting first-level routing information and second-level routing information corresponding to the changed lines from the abstract syntax tree, and determining target function points in the system to be evaluated that are affected by the changed lines according to the first-level routing information and the second-level routing information. The application extracts two-level routing information based on the abstract syntax tree, and then accurately determines the target function points affected by the changed lines. The whole process does not need manual participation, is more time-saving and labor-saving, and saves the labor cost.
Owner:ABC FINANCIAL TECH CO LTD

A semantic perception-based software architecture evolution intention classification method

The application relates to a software architecture evolution intention classification method based on semantic perception, which comprises the following steps: obtaining historical version code and current version code of a software system; constructing a multi-level architecture tree, identifying changed architecture components and generating corresponding code block update pair sets; performing semantic feature extraction to obtain corresponding semantic vector pairs; calculating the semantic displacement strength of the corresponding update pairs; constructing a double-index matrix and dividing the evolution intention of the target architecture component into trivial maintenance, code reconstruction, substantial evolution or component replacement according to a preset classification threshold. The software architecture evolution intention classification method based on semantic perception can solve the problem that, due to the lack of a measurement method capable of combining structural change information and semantic change information, existing methods are difficult to make engineering semantic classification judgment on evolution activities, and further difficult to provide stable and quantifiable basis for architecture governance.
Owner:ANHUI UNIVERSITY OF TECHNOLOGY

Online binary continuous optimization system and method supporting multi-instruction-set architecture and application

The invention discloses an online binary continuous optimization system supporting a multi-instruction-set architecture. The online binary continuous optimization system comprises a program behavior information acquisition module, an offline binary optimization module, an online code replacement module, an old version code recovery module and a program stage change detection and decision module, the program behavior information acquisition module realizes information acquisition during general operation through a self-adaptive dual-mode design; the offline binary optimization module converts the collected dynamic information into an intermediate representation, and performs optimization on the intermediate representation; the online code replacement module controls the process to start and stop and replaces the optimized fragment; the old version code recovery module detects and recovers old version codes through a runtime memory management mechanism; the program stage change detection and decision-making module monitors program performance index changes, identifies stage behavior switching and realizes continuous adaptive optimization of a closed loop. The invention also discloses an optimization method realized by using the system, and the method has a wide application prospect.
Owner:EAST CHINA NORMAL UNIV