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

46 results about "Version code" patented technology

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

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

Method and system for testing coverage rate of incremental code

The invention discloses a coverage rate testing method and system for incremental codes, and the method comprises the steps: analyzing a current version code and a reference version code of a target project, so as to recognize a change function; performing influence range analysis on the change function to determine an associated code directly or indirectly influenced by the change function, and taking the change function and the associated code as a target monitoring code; executing acquisition logic at a preset position of the target monitoring code through instrumentation implantation so as to collect execution data of the target monitoring code in the running process; and calculating an incremental coverage rate of the target monitoring code based on the execution data. By analyzing and identifying a change function, analyzing and locking associated codes in combination with an influence range, collecting execution data through instrumentation, calculating an incremental coverage rate, accurately positioning a change point and determining a test range, the problems of resource redundancy and low efficiency of a full test are solved, and the defects of insufficient change positioning and coverage analysis are overcome; and precise quantification of incremental code testing is realized.
Owner:BEIJING FUYOUDUODUO INFORMATION 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

A code editing method and system based on SPA

This invention relates to the field of code editing technology and discloses a SPA-based code editing method, comprising: associating data between a menu service module and an online editing service module; obtaining modified version code, latest code, and empty code; compiling code in a code compilation module; performing secondary verification on the compiled code; determining and handling any conflicting code; publishing the edited code data through a publishing mechanism and displaying it through interface rendering. This invention also discloses a SPA-based code editing system, which enables real-time code editing and previewing for multi-user collaboration, eliminating the need for a local web front-end development environment, omitting the code building and publishing process, significantly lowering the barrier to entry for web front-end development, and improving development and deployment efficiency.
Owner:CLP JIUTIAN INTELLIGENT TECH CO LTD

Bipartite graph-based software test range determination method and related product

The invention discloses a bipartite graph-based software test range determination method and a related product. According to the scheme, a change file between two version codes and a corresponding change line number are obtained; and determining a change function to which the change line number belongs. Function points corresponding to the change function are determined by calling the link, and the affected frequency of each function point is determined. And constructing a bipartite graph model according to the incidence relation between the change function and the function point. And solving the bipartite graph model to generate a minimum function point set. And sorting the minimum function point set according to the affected frequency, and generating a target test set with a test priority. According to the technical scheme, the code change analysis is combined with the bipartite graph model, the affected frequency is quantified by calling link analysis, and the test priority is sorted according to the affected frequency. And the test efficiency is obviously improved on the premise of ensuring the test sufficiency.
Owner:ABC FINANCIAL TECH CO LTD

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

Test case generation method and device, equipment and storage medium

The embodiment of the invention provides a test case generation method and device, equipment and a storage medium, and belongs to the technical field of software development. The method comprises the steps of determining a logic change point of target software and a change type of the logic change point based on a first version code and a second version code of the target software; wherein the creation time of the second version code is later than the creation time of the first version code; determining a target influence range of the logic change point based on the logic change point, the code dependence graph and a change propagation model; and based on a test case generation strategy corresponding to the target influence range and the change type, determining a target test case, matched with the second version code, of the target software. The embodiment of the invention can be applied to financial and medical systems, and the reliability of the test case generation of software in related systems can be improved.
Owner:CHINA PING AN LIFE INSURANCE CO LTD

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

Gray release method and device

The invention discloses a gray release method and device, and the method can be applied to the business fields of financial science and technology, medical health, old-age care and the like, and the method comprises the steps that a front-end version server constructs a first front-end version code of a target application, and injects a first version number corresponding to a first front-end version into the first front-end version code, generating a first target version code; sending the first target version code to a front-end resource server; under the condition that the front-end resource server receives the first request, the first target version code is sent to the client; and the client receives the first target version code, obtains a first page rendering resource corresponding to a first version number based on the first version number in the first target version code, and runs the first front-end version according to the first page rendering resource and the first target version code. Therefore, the resource acquisition error caused by the fact that the version identifier cannot be loaded is avoided, and the version resource acquisition reliability is improved.
Owner:CHINA PING AN LIFE INSURANCE 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

Software platform metadata exporting method and device, equipment, storage medium and program product

The invention relates to the technical field of computer processing, provides a software platform metadata exporting method and device, equipment, a storage medium and a program product, and can realize that a user exports contents in a metadata set as required. Carrying out annotation scanning on a metadata model class of the software platform to obtain a metadata model type and a basic set name; obtaining a target set name according to the basic set name and a project number and a version code which need to be exported by a user; performing paging query on the metadata set of the target set name according to required export information set by a user on an export page configuration item, converting data obtained by paging query into character strings, and writing the character strings into corresponding directory files; and obtaining an export result according to the directory file.
Owner:SHENZHEN COMTOP INFORMATION TECH

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

Digital education-oriented multi-version code online experiment and teaching evaluation method

A digital education-oriented multi-version code online experiment and teaching evaluation method comprises the steps of selecting a corresponding basic environment template from a resource library in development software according to the type of an experiment problem and historical learning data of students, and performing personalized configuration to complete initialization of an experiment environment; students enter an experiment environment to write and submit codes, a version control tool is used for recording and storing codes of all versions submitted by the students and related information including submission time, modification content and submission instructions, the codes of all the versions are analyzed through abstract syntax trees, abstract syntax tree structures of codes of different versions are compared, and the codes of all the versions are analyzed. Identifying a similar part and a difference part of the code, and generating an analysis result; analyzing, verifying and optimizing a preset evaluation rule by using the large language model to generate an optimized evaluation rule; and generating a multi-dimensional evaluation report based on the analysis result of the multi-version code and the optimized evaluation rule, wherein the multi-dimensional evaluation report comprises code quality evaluation, function realization evaluation, innovativeness evaluation and learning progress evaluation.
Owner:SHAANXI NORMAL UNIV +1

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

Code testing method and device and electronic equipment

The embodiment of the invention provides a code testing method and device and electronic equipment, and the method comprises the steps: obtaining a difference code information set between a basic version code and a to-be-tested version code, and determining a change interface list according to the difference code information set, obtaining a test case set corresponding to the change interface list from a test case knowledge base, generating a test plan based on the test case set, and executing each test case according to the test plan to obtain a test result of the to-be-tested version code. According to the method and the device, the to-be-tested version code can be rapidly and comprehensively subjected to incremental test, so that the test efficiency of the to-be-tested version code is improved.
Owner:GUANGZHOU AUTOMOBILE GROUP 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

Method for automatic detection of vulnerabilities based on public vulnerability data

The application discloses a vulnerability automatic detection method based on public vulnerability data, and relates to the technical field of vulnerability detection. The method comprises the following steps: obtaining the code change record of the vulnerability repair code of each first target public disclosed vulnerability from an open source code platform, determining the position of each vulnerability related code according to each code change record, and then extracting the vulnerability related code from each vulnerability triggered version code; analyzing each vulnerability related code to obtain the corresponding abstract syntax tree; performing basic feature and generalization feature matching on the target code and each vulnerability related code according to each abstract syntax tree; and if the basic feature and the generalization feature of the target code and any vulnerability related code are matched, the target code contains the first target public disclosed vulnerability contained in the vulnerability related code which matches the basic feature and the generalization feature of the target code. The application realizes the automatic detection of public vulnerabilities based on public vulnerability data.
Owner:BEIJING BEIDA SOFTWARE ENG DEV CO LTD

Vulnerability repair detection method based on changed AST

The invention discloses a vulnerability repair detection method based on a change AST (Abstraction Syntax Tree), which generates a change by fusing a first version code and a second version code, realizes deep extraction of code vulnerability features by using a graph attention model, and then inputs a feature extraction result to a perceptron for vulnerability classification. The vulnerability detection rate is effectively improved, and false alarms are reduced.
Owner:ZHENGJIANG PUBLIC INFORMATION

System and method of proofing email content

Systems and methods for processing, management and display of email content for proofing and review are provided. A first message is received, and the first message is inspected for a first variant identifier. Then, the first message is assigned with a first versioning code and displayed in a user interface. When a second message with a first variant identifier is received, the second message is assigned with a second versioning code that denotes the second message as a newer version of the first message. Then, using the second versioning code, the second message is automatically displayed in place of the first message within the user interface. In some embodiments, the first variant identifier is automatically included in the first message sent by a sender, in response to the sender utilizing a selected attribute to create the first variant identifier.
Owner:KHOO JUSTIN