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

325 results about "Test input" patented technology

Test_input is a user defined function and not a function built into PHP. Looking at the code it does indeed mean that if no comment has been inserted then it will be empty, however if it is not empty run the comment through the test_input function.

Testing of an on-device machine learning tool

PendingUS20250055762A1TransmissionTest inputAlgorithm
The invention proposes systems and methods for testing on-device machine learning models such as network models of a device based on an access to normal input and output channels, wherein a structure of a model is designed through training such that the model produces distinctive outputs to a given set of test inputs only so long as its internal structure remains in a desired state. Models may be rendered susceptible to such testing via model pre-training with training inputs designed to train the model into an appropriate structure and / or to cause the model to produce a distinctive output if later presented with a certain set of test inputs. If the structure of the model remains within allowable limits, the device will produce a predictable output when tested. If not, the device may be enforced to return to a pre-trained model.
Owner:KONINKLIJKE PHILIPS NV

System and method for evaluating generative artificial intelligence models

A system includes memory hardware configured to store instructions and one or more electronic processors configured to execute the instructions. The instructions include providing a plurality of training inputs to a first artificial intelligence model to generate a plurality of training outputs, organizing the preprocessed training inputs and / or training outputs in a feature space based on proximity using a second artificial intelligence model, providing a test input to the first artificial intelligence model to generate a test output, adding the preprocessed test output to the feature space as a test feature using the second artificial intelligence model, computing a first metric corresponding to a count of selected labeled features in the feature space, computing a second metric corresponding to distances between the selected labeled features and the test feature, computing a risk score based on the first metric and the second metric.
Owner:MASTERCARD TECHNOLOGIES CANADA ULC

System and method for large language model based automated test input generation for web applications

Existing techniques for automated generation of test data for testing web applications need detailed requirement documents. The present disclosure receives a plurality of textual documents to extract context. Rephrasing the extracted context by implementing a plurality of rules and passing extracted context along with a first set of prompts to Large Language Model (LLM). Generating program, validator and first set of constraints for extracted context and generating test data by running the generated program. Assigning ranking to test data and selecting the test data with highest ranking. Statically refining the generated program by calling a mathematical library function on the highest ranked test data to generate structural information and modifying language of the second set of prompts passed to the LLM. Dynamically refining the generated program by passing feedback generated by executing the highest ranked test data on a web application and refining the response obtained.
Owner:TATA CONSULTANCY SERVICES LTD

Conversation-driven regression test generation method based on code big language model

The invention discloses a dialogue-driven regression test generation method based on a code big language model, and belongs to the technical field of computers. Collecting and preparing a data set oriented to a C language program, wherein the data set comprises a source code, a corresponding test demand natural language description, a test case data constraint and an official test case example; determining an appropriate large language model; selecting a to-be-tested function from the data set and starting to generate a test case; prompt templates oriented to different types of C language programs are designed to guide the model to generate test cases of specific types and standard formats; performing semantic analysis on the test requirements by using the large language model and feeding back an analysis result to the large language model to deepen the understanding of the large language model on the test requirements; detecting whether the test input parameters for generating the test case are in one-to-one correspondence with the tested function parameters, and guiding the large model to correct the data type of the test case; and testing the generated test case, and generating a case quality evaluation report.
Owner:BEIJING JIAOTONG UNIV

Fuzzy test Kubernete-based three-party component vulnerability mining method

The invention relates to a fuzzy test Kubernete-based three-party component vulnerability mining method, which comprises the following steps of: firstly, automatically identifying a user controllable function by combining a large language model based on an official document, a configuration list and source code information of a three-party component, and constructing a keyword dictionary to assist in large-scale identification of a potential target function; then analyzing context information of the target function and an interaction relation of the target function in a Kubernetes cluster, constructing a front dependency library required by fuzzy testing, and automatically generating a fuzzy testing driving program; integrating a fuzzy test driving program with a three-party component source code, performing code instrumentation, pre-compiling and corpus optimization, generating test input according to a set variation strategy, dynamically monitoring a coverage rate and an abnormal behavior, and continuously optimizing a test corpus; and finally, based on the crash behavior of the fuzzy test record, analyzing a trigger path of the vulnerability, performing vulnerability verification in a local Kubernetes cluster environment, and finally generating a vulnerability analysis report.
Owner:HANGZHOU DIANZI UNIV

Automatic interpretation by machine learning models

An example system includes: a first large language model; a memory storing instructions and one or more processors operable to execute the instruction to: receive a natural language text string from a client device, where the natural language text string comprises a formal rule expressed in natural language; input the natural language text string and a control string into a large language model (LLM), where the control string is configured to cause the LLM to generate a formal expression representing the formal rule of the natural language text string; output, by the large language model, the formal expression to an output device; and evaluate a consistency of the formal expression using a test input.
Owner:UNIV OF SOUTH FLORIDA

Controlling uncertain output by large language models

A method including receiving a user input from a user device. The method also includes generating test inputs including the user input and modified inputs. The user input is processed with a rephrasing model to form the modified inputs. The method also includes executing a test model to generate test outputs, including an original test output and modified test outputs, from processing the test inputs. The method also includes generating similarity scores by performing similarity comparisons among the test outputs. The method also includes determining a model confidence from the similarity scores. The method also includes routing the user input responsive to the model confidence satisfying or failing to satisfy a confidence threshold.
Owner:INTUIT INC

Fault identification method and device for FPGA lookup table, equipment and storage medium

The invention relates to the technical field of FPGAs, and discloses an FPGA lookup table fault identification method, device and equipment and a storage medium, and the method comprises the steps: obtaining a lookup table on a to-be-tested FPGA, dividing the lookup table into a plurality of lookup table groups, sequentially connecting the plurality of lookup table groups in series, inputting a test input signal to a first-stage lookup table group, and obtaining a test output signal, and performing fault judgment on the lookup tables in each lookup table group according to a comparison result between the test output signal and the test expected output signal of each stage of lookup table group. Through the design of the lookup table group, the configuration frequency of the mass production test is reduced, and through the serial cascade connection of the lookup tables, the mass production test is not limited by the chip scale and the routing resource, and the fault detection efficiency of the lookup tables on the FPGA is improved.
Owner:SUZHOU YIGE TECH CO LTD

Performance test method and device of storage equipment, electronic equipment and storage medium

The invention discloses a performance test method and device of a storage device, an electronic device and a storage medium, and relates to the technical field of data storage, and the performance test method comprises the steps of controlling the storage device to execute data operation in response to test input; wherein the data operation comprises read operation and / or write operation; in the process of executing the data operation by the storage device, obtaining performance data of the storage device through the performance test model; wherein the performance data comprises performance data of a data link of the storage device and performance data of the storage controller, the storage controller is electrically connected with the storage device through the data link, the data link is used for transmitting data between the storage controller and the storage device, and the performance test model comprises at least one performance monitoring tool. The at least one performance monitoring tool is used for performing performance monitoring on the data link and the storage controller; and generating a performance test report of the storage device according to the performance data. The technical effect of improving the performance test efficiency of the storage device can be achieved.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

Method and apparatus for batch generation of test cases and computing device

PCT designated stage expiredWO2025107595A1Software testing/debuggingTest inputAlgorithm
The present application provides a method and apparatus for batch generation of test cases, and a computing device. The method comprises: acquiring a function to be tested of a target software product; acquiring an action factor and a data factor corresponding to said function; the action factor is used to describe at least one of the following types of information in a test case: a pre-condition, a test step, and an expected result; the data factor comprises at least one test input parameter corresponding to said function, and multiple values of each test input parameter; combining the plurality of values of the at least one test input parameter, and obtaining multiple data combination results; on the basis of the action factor and the multiple data combination results, generating a plurality of corresponding test cases in batches; and displaying the generated multiple test cases to a user. The described method can not only increase the efficiency of generating test cases, but also avoid the problem of missed testing.
Owner:HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

Test script generation method and device, electronic equipment and storage medium

The invention provides a test script generation method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining test input information containing demand information and test data, carrying out the structural processing of the test input information into a parameter dictionary, and determining a target feature based on the test input information to match a target test template constructed based on a specific grammar template engine, and finally, binding the parameter dictionary with the target test template, and dynamically rendering to generate a script file conforming to a test rule. According to the method, the test input information is subjected to structured processing to form the parameter dictionary, the target template is accurately matched and dynamically rendered, and the script generation efficiency and quality are greatly improved.
Owner:AUTOLINK INFORMATION TECHNOLOGY CO LTD

Scan Chain Analysis Using Predefined Capture Signature

An apparatus includes a plurality of circuit blocks, a plurality of scan-enabled flip-flop circuits, and a plurality of scan signature circuits. The plurality of scan-enabled flip-flop circuits may be coupled in a sequential manner across the plurality of circuit blocks, and be configured to shift a scan chain test signal from a test input interface to a test output interface. The plurality of scan signature circuits may be coupled to respective ones of a subset of the plurality of scan-enabled flip-flop circuits, and be configured to, in response to a particular test signal, concurrently load a known scan-chain pattern to the subset of the scan-enabled flip-flop circuits. The plurality of scan-enabled flip-flop circuits may be further configured to sequentially output at least a portion of the known scan-chain pattern to the test output interface.
Owner:APPLE INC

Method and device for generating test cases in batches and computing equipment

The invention provides a method and a device for generating test cases in batches and computing equipment. The method comprises the following steps: acquiring a to-be-tested function of a target software product; an action factor and a data factor corresponding to the to-be-tested function are obtained, the action factor is used for describing at least one of the following information in a test case: a precondition, a test step and an expected result, and the data factor comprises at least one test input parameter corresponding to the to-be-tested function and a plurality of values of each test input parameter; combining the plurality of values of the at least one test input parameter to obtain a plurality of data combination results; generating a plurality of corresponding test cases in batches according to the action factors and the plurality of data combination results; and displaying the plurality of generated test cases to the user. The method not only can improve the generation efficiency of the test case, but also can avoid the problem of missing test.
Owner:HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

Automatic testing method, system and equipment based on internet of things model and medium

The invention provides an automatic testing method and system based on an Internet of Things model, electronic equipment and a storage medium, and aims to solve the problems of low efficiency and incomplete test of compiling a model test case. The method comprises the following steps: exporting a specific format file of a product model on an Internet of Things platform, and analyzing the file to obtain a product model test case; extracting each field content under attributes, events and service function types; respectively storing the extracted field contents according to events, attributes and services; and automatically generating test input data for each test item in combination with the data type and the parameter value range in the field content through an effective equivalence class and boundary value method, and storing the automatically generated test input data in the test input data item of the corresponding test case file to complete the automatic generation of the test case. The test case can be automatically generated, the test efficiency is improved, and the timeliness, stability and reliability of the test case are effectively improved.
Owner:CHINA UNITED NETWORK COMM GRP CO LTD

Integrated Development Environments for Generating Machine Learning Models

A method includes receiving a request indication indicating a GUI interaction by a user on a user device, and in response, providing to the device a response configured to cause the device to display, within a GUI, a structured prompt including a plurality of user input fields, each user input field representing a corresponding training sample and including a first corresponding text input field for capturing input text to be provided to an ML model, and a second corresponding text input field for capturing ground-truth output text. The method also includes receiving, from the device, the training samples, and, in response, adjusting the ML model using the training samples. The method further includes receiving, from the device, test input text, generating, using the adjusted ML model, test output text based on the test input text, and providing, to the user device, the test output text for display within the GUI.
Owner:GOOGLE LLC

High-reliability unit test automatic generation method and apparatus based on conversational large language model

The present invention provides a high-reliability unit test automatic generation method and apparatus based on a conversational large language model. First, projects are parsed and analyzed to extract context information, then the testing necessity of a method to be tested is determined, and different test direction lists are generated on the basis of the division of testing purposes. After initial test cases are generated and repaired, input data searching is performed on passed test cases to improve test input data. Subsequently, mutation testing is performed on all test cases, and test cases are regenerated for failed mutations to improve assertion quality. Finally, successful test cases are reduced and merged to avoid overlapping. The present invention is superior to existing methods in terms of coverage, test data integrity, assertion quality, and the like, and has stable performance across projects of different scales and fields. The generated test cases have significant advantages in readability, understandability, maintainability, test input data integrity, assertion quality, and volume.
Owner:ZHEJIANG UNIV

Methods for testing a computer program

According to various embodiments, a method for testing a computer program is described, comprising performing several test iterations, wherein for each test iteration a reference test input and a mutation for the reference test input are selected according to a selection strategy (201), and a test input for the computer program is generated by applying the selected mutation to the selected reference test input, wherein for each test iteration a test run of the computer program is performed with the respective generated test input for the computer program, wherein for each test iteration a test coverage increase (209) is determined which is achieved by the test run, and wherein the selection strategy (201) is trained by means of reinforcement learning, wherein the test coverage increases (209) are used as rewards (204).
Owner:ROBERT BOSCH GMBH

Fuzzy test input optimization device for Internet of Things equipment firmware

The invention belongs to the technical field of computer information processing, and particularly discloses an internet of things equipment firmware-oriented fuzz test input optimization device, which comprises a static analysis module used for carrying out firmware analysis through an API interface, identifying an input transmission point of bare computer firmware, and realizing automatic identification through a custom script; the dynamic simulation module is used for identifying an input transfer point of the firmware of the real-time operating system and realizing a length inference mechanism and a final input transfer algorithm; the input routing mapping module is used for identifying and dynamically monitoring a data retrieval point, an input processing point and an availability check instruction in firmware to obtain a mapping result; the input transmission point identification module is used for automatically identifying an input transmission point of the firmware based on the mapping result; and the sensing module is used for dynamically determining the minimum length and the maximum length of the input data of the input transmission point, optimizing the input transmission point of the firmware fuzz test, and dynamically calculating the length of the reserved data. According to the invention, the fuzz testing efficiency can be improved.
Owner:HUAZHONG UNIV OF SCI & TECH

Containerized orchestration of secure socket layer virtual private network benchmarking

Containerized orchestration of secure socket layer virtual private network benchmarking is disclosed. A test portal can accommodate developing test event information (TEI) based on test input information. Test input information can be used to generate event images, e.g., containers, that can be readily scaled, mutated, etc., via a containerization environment instance. One or more event image can be groups into a pod. An event image can be a new container, a previously used container, or a permutation of a container. Event image(s) can be retrieved from external sources, e.g., a library, a commercial vendor of event images, etc. TEI can be based on a pod(s) and communicated to a device-under-test (DUT). DUT performance can be measured, and results can be accessed by an entity, e.g., a test engineer, a results analysis engine, etc. Results can be employed to direct subsequent DUT testing.
Owner:AT&T INTELLECTUAL PROPERTY I L P

Automatic test input generation method based on dynamic page splitting

The invention discloses an automatic test input generation method based on dynamic page splitting, and belongs to the technical field of dynamic webpages. In order to effectively verify the semantic consistency of a page in a complex Web application supported by multiple languages, the method comprises the following steps: acquiring a dynamic webpage to be tested, and analyzing a document object model structure of the dynamic webpage based on a Cypress framework; the monitored dynamic content elements are classified and marked in real time by using the real-time DOM operation capability of Cypress; on the basis of the structural information of the page components, in combination with integration of Cypress and GraphQL API, dynamically obtaining test data from a background, and automatically generating a test input template matched with the current state of the page; the method is applied to dynamic page testing in real time; generating a test report; a natural language processing module is introduced, and text content in the page is analyzed; and optimizing a page splitting strategy, an input generation rule and GraphQL query configuration.
Owner:HARBIN AEROSPACE STAR DATA SYST TECH CO LTD

Web automatic testing method and system

The invention belongs to the technical field of automatic testing, and particularly relates to a web automatic testing method and system.The method comprises the steps of automatic script recording and dynamic adaptation, layered framework collaborative testing and data verification and continuous integration testing and test report generation. Wherein automatic script recording is dynamically adapted: recording a page operation script through a playwright tool and applying the page operation script to a UI layer, and when the page UI changes, recording the script again and replacing the original script without element-by-element positioning and code modification; in the hierarchical framework collaborative testing and data verification, a data access layer inputs test data, a UI layer executes page operation and captures display data, and a business logic layer calls an API interface to obtain real data and compares the real data with the display data for verification. According to the method, a web automatic test framework is constructed in combination with the advantages of playwright, a structured engineering project is more suitable for project operation and maintenance, and a sustainable integrated test environment is constructed by utilizing jenkins, so that test input, execution and output are automated.
Owner:JIANGXI DIGITAL NETWORK INFORMATION SECURITY TECH CO LTD

Method for detecting motor based on autoencoder ensemble learning model

The invention discloses a method for detecting a motor based on an autoencoder integrated learning model, and relates to the field of testing technology; the method comprises step S101 of extracting and obtaining normal audio features of a motor from a training set, step S102 of obtaining an autoencoder integrated learning model, step S103 of training the autoencoder integrated learning model, step S104 of obtaining integrated weights, and step S2 of testing to obtain an abnormality score. Through step S104 and step S2, etc., during the training process, the mean square error between the training input feature and the training output feature of each autoencoder is calculated and obtained as the training error, the inverse of each training error is obtained, normalized, and the integrated weight is obtained; during the test process, the mean square error between the test input feature and the test output feature of each autoencoder is calculated and obtained as the reconstruction error, and the reconstruction error is weighted and summed to obtain the abnormality score, thereby improving the accuracy of motor abnormality detection.
Owner:SUZHOU ACOUSTIC IND TECH RES INST CO LTD

Fuzzy test input generation method based on characteristic unification and related equipment

The invention relates to the technical field of kernel fuzz testing, and provides a fuzz test input generation method based on characteristic unification and related equipment, the method comprises the following steps: generating a function call graph and a plurality of control flow graphs of a target system, and integrating the function call graph and all the control flow graphs to obtain an inter-program control flow graph; constructing a kernel code calling chain based on the inter-program control flow diagram; carrying out characteristic unified representation modeling based on the kernel configuration file and the kernel code call chain of the target system, and generating a configuration code relation mapping table; extracting related information of the characteristic related interface function according to the kernel code call chain, and performing grammar conversion based on the related information to generate a system call test protocol template of the characteristic related interface function; and generating fuzzy test input of the target system based on the system call test protocol template and the configuration code relation mapping table. According to the method provided by the invention, the correlation between kernel characteristic configuration and fuzzy test input can be improved.
Owner:CENT SOUTH UNIV

Read-write function test method and device of storage chip, equipment and storage medium

The invention discloses a read-write function test method and device for a storage chip, electronic equipment and a computer readable storage medium, and the method comprises the steps: obtaining a test requirement, input by a user, of a to-be-tested storage chip, the test requirements at least comprise the following information: storage unit matrix parameters and data writing mode requirements of the to-be-tested storage chip; embedding the test requirement into a preset cue word template to obtain a test cue word; inputting the test cue word into a trained test case generation model to obtain a target test case; and calling the target test case to execute a read-write function test process. According to the scheme, the test case can be automatically generated according to the test requirements, various test scenes can be quickly adapted, the time and the economic cost for manually compiling the test case are remarkably reduced, and the test efficiency is greatly improved.
Owner:SHENZHEN JINGCUN TECH CO LTD

Semiconductor device

A semiconductor device includes a plurality of test circuits connected between a test input pin and a test output pin, and a TAP controller connected to a plurality of test control pins and configured to define a data transmission path between the test input pin and the test output pin in response to test control signals received by the plurality of test control pins, the data transmission path including at least one of the plurality of test circuits.
Owner:SAMSUNG ELECTRONICS CO LTD

Rapid test board for power supply module

The utility model relates to a power supply module rapid test board, comprising a test board, a storage box with a protective cover is detachably connected outside the test board, the test board is clamped with the storage box, the left side of the top end of the test board is fixedly connected with a power supply connection port, and the test board at the right side of the power supply connection port is fixedly connected with a power supply module installation seat. By adopting the detection structure, when the power supply module needs to be detected after being produced, the pins of the detected power supply module can be aligned with the hole sites on the power supply module mounting seat and are correctly connected with the power supply connecting port and the electronic load connecting port, and parameters are set according to the specification of the power supply module; the first power supply pin is connected with the universal meter to test input and output signals, then the oscilloscope interface is connected with an oscilloscope to read ripples and noise of the tested power supply module, and at the moment, the intelligent control switch is shifted to carry out related tests and record test results, so that the effect of rapidly detecting the tested power supply module is effectively achieved.
Owner:CHENGDU DODUN ELECTRONIC TECH CO LTD

Test case generation method based on LLM and SMT solver

The invention relates to the technical field of software testing, and discloses an LLM and SMT solver-based test case generation method, which is characterized in that a search type test is taken as a core drive, when coverage stagnation occurs, an execution path is subjected to semantic analysis by means of an LLM, a logic expression for describing a target path condition is generated, and in consideration of the limitation of the LLM in logical reasoning, a test case is generated; the system further introduces an SMT solver to perform verification and reasoning on a logic expression output by the LLM, finally feasible test input is generated, and the test efficiency and the coverage rate are improved. According to the method, the efficiency and precision of path coverage are improved, good adaptability and universality are achieved, the method is suitable for various languages and complex program structures, and the intelligent level and engineering practical value of automatic testing are effectively improved. The problem of insufficient accuracy of a large language model in complex path constraint reasoning is effectively relieved.
Owner:CHENGDU UNIV OF INFORMATION TECH

Registers

An integrated circuit device includes an n-bit register comprising: a plurality of latches and at least one flip-flop, and clock gating circuitry, which includes a clock signal coupled to the latches and the flip-flop. Each latch comprises a latch gating terminal configured to receive a gating signal, wherein a respective latch is configured to receive the gating signal that either corresponds to the clock signal or is determined according to a logical operation including the clock signal such that a transparency for each respective latch is controlled in dependence upon a level of the gating signal. The integrated circuit device is configured to operate in a scan test mode, wherein during a scan shift operation, an input signal terminal of the flip-flop is configured to receive a test input signal and the flip-flop is configured to load the test input signal to an output signal terminal of the flip-flop.
Owner:NORDIC SEMICONDUCTOR

Virtual machine vulnerability mining method and device, equipment and storage medium

The invention provides a virtual machine vulnerability mining method and device, equipment and a storage medium, and the method comprises the steps that a plurality of execution tracks of a plurality of input programs input into a virtual machine when the input programs are executed by the virtual machine are obtained, each input program corresponds to one execution track, and the execution tracks are no-vulnerability tracks when the virtual machine executes; according to the trajectory similarity of the execution trajectories, N target execution trajectories with the similarity meeting a preset condition are obtained from the execution trajectories, a target input program corresponding to each target execution trajectory is obtained, and N is a natural number; and according to each target execution track and the corresponding target input program, obtaining a test input program for mining virtual machine vulnerabilities through a large language model. According to the method provided by the invention, the technical effect of deeply mining the vulnerabilities of the virtual machine while ensuring the grammatical structure is realized.
Owner:CHINA UNITED NETWORK COMM GRP CO LTD

Network function configurator and test generator

A network function configuration and test generation framework are configured to generate a test script indicative of a configuration and test cases for verifying a virtual function implemented in a virtualized computing environment. A test input is received that encodes information for verifying a network function. The information includes identification of a test tool, a target testbed for testing the network function, and network information including parameters for network conditions to be operational during testing of the network function. A data parser translates and formats the test input. The formatted test input in input to a topology discoverer configured to identify a network topology of the testbed and which network functions deployed on the testbed are emulated and which network functions deployed on the testbed are real. A configuration generator generates a configuration file usable to configure applicable network functions and their functionalities.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC