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

54 results about "Version code" patented technology

Incremental code coverage rate calculation method and device, electronic equipment and storage medium

The invention relates to the technical field of computer testing, in particular to an incremental code coverage rate calculation method which comprises the following steps: executing a test case on a current version code, and collecting code test coverage information; comparing the baseline version code with the current version code to obtain a change code; based on a baseline version code, performing semantic equivalence analysis on the change code to obtain a logic change code, the semantic equivalence analysis being used for filtering change codes of non-logic factors; and calculating an incremental code coverage rate according to the logic change code and the code test coverage information, wherein the incremental code coverage rate comprises a change line coverage rate and a change link coverage rate. According to the multi-dimensional analysis method, coverage rate evaluation is more scientific and comprehensive, developers can better find test blind spots and potential defects, and therefore the software quality is improved.
Owner:QIAN JIN NETWORK INFORMATION TECH SHANGHAI LTD

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

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

Method for determining influenced function of system based on change code and related device

The invention discloses a method for determining an affected function of a system based on a variable code and a related device, and relates to the technical field of computers, and the method comprises the following steps: comparing a new version code file set with an old version code file set of a to-be-evaluated system, determining a variable code file and a variable row in the variable code file from the new version code file set, obtaining a file package where the variable code file is located, generating an abstract syntax tree based on the file package, extracting first-level routing information and second-level routing information corresponding to the variable row from the abstract syntax tree, and sending the first-level routing information and the second-level routing information to the new version code file set; and according to the first-level routing information and the second-level routing information, determining a target function point influenced by the change line in the to-be-evaluated system. According to the method, the two-stage routing information is extracted based on the abstract syntax tree, so that the target function point influenced by the variable row is accurately determined, manual participation is not needed in the whole process, more time and labor are saved, and the labor cost is saved.
Owner:ABC FINANCIAL 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

Data code debugging method and system

The invention discloses a data code debugging method and system, and the method comprises the steps: creating a first version code and a second version code, and achieving the separation of function logic and debugging logic; by exporting the first function template and generating the function fingerprint information, the second version code can accurately identify the function call of the first version code, capture the call data, execute the debugging operation according to the call data, and finally return the execution result to the preset function of the first version code. In this way, the debugging information is not directly embedded into the first version code any more, and the risk of sensitive information leakage and the debugging code amount in the first version code are reduced. And the second version code is independent of the main program, and the debugging information can still be captured and recorded even if the first version code crashes, so that the second version code can flexibly monitor and change the function calling process of the first version code without influencing the normal operation of the first version code.
Owner:FUJIAN TQ ONLINE INTERACTIVE INC

Code detection method and device for CDN scene, equipment and storage medium

The invention provides a CDN scene-oriented code detection method, device and equipment and a storage medium, and relates to the technical field of cloud computing, in particular to the technical field of CDN, content delivery networks, software testing and intelligent detection. In some embodiments of the invention, an original request sampling log is obtained; the original request sampling log is an original request for simulating real online traffic; executing request operation on the original request by adopting the second version code to obtain second request response information; executing request operation on the original request by adopting the first version code to obtain third request response information; determining a code detection result of the second version code; the code detection result of the second version code is determined by comparing the response results of the different version codes to the original request of the real online traffic, potential problems and code defects in the to-be-issued second version code are found in time, and the code detection accuracy is improved.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

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

Traffic playback test method and device, electronic equipment and storage medium

The invention discloses a flow playback test method, which comprises the following steps of: when a code change version is inconsistent with a test response message of a current running environment, triggering reference verification instead of directly considering that the test fails, and comparing the response messages returned by two online environments running the same online version code, and determining whether a noise field affects the test result or not according to the test result, so as to perform noise reduction on the code change version and the test response message of the current running environment to reduce the influence of personalized service logic on the test result, thereby reducing the time for positioning the test problem and improving the success rate of the playback test.
Owner:GUANGZHOU PINWEI SOFTWARE 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