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

27 results about "Function definition" patented technology

Test script generation method, system and device, medium and product

PendingCN121681366AError detection/correctionTest scriptFunction definition
The embodiment of the invention discloses a test script generation method, system and device, a medium and a product, and relates to the technical field of tests.The method comprises the steps that target structured DBC data is obtained; processing the target structured DBC data by utilizing a target test script generation model to obtain at least one CAPL test script fragment; the target test script generation model is obtained by training according to historical structured DBC data and corresponding historical CAPL test script fragments; the CAPL test script fragment comprises at least one of variable declaration, function definition and event processing; and according to the at least one CAPL test script fragment, determining a target CAPL test script so as to quickly realize verification of the CAN bus communication condition.
Owner:CHINA FAW CO LTD

Combination instrument testing method, equipment and medium

PendingCN121996542AError detection/correctionVersion controlFunction definitionTest script
The invention discloses a combination instrument test method and device and a medium, and the method comprises the steps: obtaining a function definition of a to-be-tested combination instrument, carrying out the analysis and classification of the function definition based on a preset function module division rule, and generating a plurality of test function module sets; for each test function module set, generating a corresponding automatic test script according to the display type and the association relationship of the display signals in the test function module set; automatic test scripts corresponding to the selected target function modules are loaded and run in sequence, and corresponding display signals are sent to the to-be-tested combination instrument according to the sequence, value and time sequence logic defined in the automatic test scripts; and observing and recording an actual display state of the to-be-tested combination instrument after executing the corresponding automated test script, and comparing and analyzing the actual display state and an expected display state predefined in the test case to generate a test judgment result for the target function module.
Owner:潍柴新能源商用车有限公司

High-availability and high-performance formula execution method based on analysis-free

The invention belongs to the technical field of industrial dynamic formula execution, and discloses an analysis-free high-availability and high-performance formula execution method. The method comprises the following steps: S1, formula extraction and function body construction: receiving a calculation formula input by a user, and taking the calculation formula as a function body core calculation logic; s2, function packaging: adding a function head and a return value statement for a function body, and constructing a complete function definition character string; wherein the function head comprises a function name and a parameter list; and S3, function persistence and dynamic import execution: writing a function character string into an independent Python module file, and calling and executing through a dynamic import mechanism. According to the method, function packaging is adopted, the repeated lexical analysis and grammar analysis process which must be carried out when a traditional event () method is executed each time is eliminated, and the problems that a formula is forcibly required to only comprise functions of input parameters, calculation expressions and return values, and the bottleneck of industrial real-time application and the fragility of a whole framework are solved.
Owner:HUANENG POWER INT INC DALIAN POWER PLANT

Track section automatic turn-back attribute and safe area generation method, equipment and medium

ActiveCN121404341ARailway signalling and safetyFunction definitionTrackway
The invention discloses a track section automatic turn-back attribute and safe area generation method and device and a medium. The method comprises the steps that topological data and function definition data of a track traffic line are input; on the basis of the incidence relation between the function definition data and the topological data, through a predefined attribute calculation rule, automatic turn-back attributes of related track sections in the line are automatically calculated, and the automatic turn-back attributes are used for identifying function roles of the track sections in automatic turn-back; on the basis of the automatic turn-back attributes of all the track sections, one or more continuous automatic turn-back safety function areas are automatically generated through a path search algorithm; and outputting the automatic turn-back attributes and the automatic turn-back safety function area information of all the track sections. Compared with the prior art, the method has the advantages that the track section attributes are automatically calculated, the safety function area is generated, and automatic and accurate conversion from the line data to the automatic turn-back control data is achieved.
Owner:CASCO SIGNAL LTD

A data encoding system and method based on a simplex complex homogenization linear code

PendingCN122092885AControl initial parameterssymmetricalError preventionError correction/detection using linear codesCode generationFunction definition
This invention discloses a data encoding system and method based on simplicated complex homogeneous linear codes. The system includes: a parameter initialization module for initializing the construction parameters of an n-ary multivariable function F; a function definition module for generating the multivariable function F based on the construction parameters; and a definition set extraction module for constructing a definition set D. F ; Linear code generation module, used to generate linear codes according to the definition set D F This invention employs an inner product mapping to construct a basic p-ary linear code corresponding to the defined set; a homogenization processing module is used to homogenize the multivariable function F to obtain an (n+1)-ary homogeneous function; and a homogenized code generation module is used to generate a homogenized definition set based on the homogenized function, and then generate a homogenized p-ary linear code based on this set. This invention solves the problems of existing p-ary linear code construction techniques being complex in structure, having uncontrollable parameters, or being difficult to analyze weight distribution, leading to difficulties in efficient deployment in engineering.
Owner:HANGZHOU DBAPPSECURITY CO LTD

Embedded system

PendingCN121705223AElectric digital data processingFunction definitionEmbedded system
The invention discloses an embedded system. The embedded system comprises a CPU (Central Processing Unit), an interface function reconfiguration controller and a first connector, the input end of the interface function reconfiguration controller is connected with each functional interface of the CPU in a one-to-one correspondence manner, the output end of the interface function reconfiguration controller is connected with the input end of the first connector in a one-to-one correspondence manner, and the output end of the first connector is used for being connected with external equipment; the interface function reconfiguration controller is configured to receive an interface function reconfiguration instruction; determining a target interface and a target function definition of an interface function reconstruction controller according to the interface function reconstruction instruction; and reconstructing the function definition of the target interface of the interface function reconstruction controller according to the target function definition. In the embodiment of the invention, the interface function reconfiguration controller is introduced into the embedded system, and the interface function definition is dynamically configured through the interface function reconfiguration controller, so that the pin function of the connector is changed, the limitation of interface curing of a traditional module is broken through, and the resource waste is reduced.
Owner:TIANJIN GUANGHAO TECH CO LTD

A large model-based industrial application software code testing method

The application relates to the technical field of APP development, in particular to an industrial application software code testing method based on a large model, which comprises the following steps: receiving an industrial application software source file, parsing function definition statements and interface calling instructions in the file, extracting logical connection relationships between various business modules, constructing a function calling topological graph reflecting code unit directivity, and mapping code character sequences of each node in the function calling topological graph to a high-dimensional numerical coordinate system through a large model. In the application, conditional branching and parameter type reverse deduction are performed on a key path, constraint conditions are solved, and regression test case data capable of triggering a specific business scenario are automatically generated. In this way, the selection of a test focus, the discovery of a key path and the generation process of test data are automated and intelligentized, so that test resources can be accurately invested in function links with the highest value and the highest risk in software, and the test efficiency is improved.
Owner:BEIJING XINLUHANG TECHNOLOGY CO LTD

A method and device for code automatic analysis, electronic equipment and storage medium

This application provides a method, apparatus, electronic device, and storage medium for automated code analysis. The method includes: constructing parsing parameters based on the source file root directory, header file search path, and predefined AUTOSAR target macros in response to a parsing parameter construction operation; performing syntactic analysis on the source code based on the parsing parameters using a Clang compiler frontend to generate an abstract syntax tree; recursively traversing the abstract syntax tree to identify function definition nodes to extract function information and to identify function call expression nodes to capture the call relationship between the caller and the callee; and storing the function information and call relationship in a structured format as a function listing file and a call relationship file. This application can improve the efficiency and accuracy of C language code analysis under the AUTOSAR architecture, and realize the structured storage of function information and the visualization of call relationships.
Owner:CHINA FAW CO LTD

Front-end integrated unit testing method, device, equipment, medium and program product

PendingCN121880193AReduce test implementation costsSolve the heavy workload of full testingError detection/correctionBiological modelsLogisimSyntax
The invention provides a front-end integrated unit testing method, device and equipment, a medium and a program product, which can be applied to the technical field of unit testing. The method comprises the steps that a code file of a first front-end project is obtained based on a version control system, the first front-end project is not integrated with a unit test framework, and the code file at least comprises an incremental code file newly added and / or modified in the version issuing process; extracting a target function which needs to be subjected to unit testing from the code file through a regular matching rule adaptive to a first front-end project technology architecture function definition grammar; generating a basic test case template based on the structure information of the target function, and converting the basic test case template into an executable test code according to a grammar specification of a preset bottom layer unit test framework; establishing a unit test core system comprising a bottom layer unit test tool, version difference analysis logic, a regular matching screening rule and a test case writing grammar specification; and testing the target function by using the unit test system.
Owner:CHINA CONSTRUCTION BANK +1

Intelligent interaction method and device based on Agent and system interface and electronic equipment

The invention discloses an intelligent interaction method and device based on an Agent and a system interface, electronic equipment and a storage medium, and relates to the field of system interaction.The intelligent interaction method comprises the steps that abstract processing is conducted on operation ports of a target system, an interface document is formed, and parameter types, function definitions and executable operation instructions of the operation ports are recorded in the interface document; storing the interface document to a preset storage unit; performing learning training on the interface document by adopting a large model; the Agent unit obtains an interaction instruction sent by a user and collects current state information of a target system; the Agent calls the large model and analyzes the interface document in combination with the interaction instruction and the current state information to generate an executable operation sequence, and the operation sequence converts the target system from the current state to the target state; the target system executes the operation sequence; in the operation sequence execution process, state updating information of the target system is collected in real time and fed back to the Agent unit, and the Agent unit dynamically adjusts the operation sequence according to the state updating information.
Owner:CHINA FAW CO LTD +1

Test case generation method based on cross-modal information fusion and iterative optimization

The invention discloses a test case generation method and system based on cross-modal information fusion and iterative optimization, and the method comprises the steps: receiving and analyzing a software demand document containing a text and an image, and extracting cross-modal information in the document; inputting the extracted cross-modal information into a multi-modal large model, cooperatively analyzing function definition and visual information through a cross-modal attention mechanism, extracting software function points, and classifying the function points according to a preset multi-level hierarchical structure; based on the classified function point hierarchical structure, generating a corresponding multi-level test point structure according to a mapping rule of the function points and the test points; generating a test case set containing a plurality of core fields according to the multi-stage test point structure, structuring and organizing the test case set into an initial JSON file, and executing at least one iterative optimization process on the initial JSON file to generate an optimized JSON file; and analyzing the optimized JSON file to generate a test case for an actual test.
Owner:CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD

Method and device for updating scene function data, electronic device, and storage medium

The application discloses a scene function data updating method and device, an electronic device and a storage medium, wherein the scene function data updating method comprises the following steps: obtaining a new function definition and an old function definition of a target device; establishing a mapping relationship between the new function definition and the old function definition; updating a scene function supported by the target device at present by using the new function definition; detecting whether a target scene function is applied to a scene function configuration; wherein the target scene function refers to a scene function with a changed function definition; if it is detected that the target scene function is applied to the scene function configuration, updating the scene function configuration to which the target scene function is applied based on the mapping relationship between the new function definition and the old function definition. Thus, a convenient scene function data updating method is realized.
Owner:QINGDAO HAIER TECH +1

A pattern conversion method and device for an object model to language model tool invocation

PendingCN122287555ALinguistic modelFunction definition
This invention provides a method and apparatus for pattern conversion in calling tools from object models to language models. The method includes: receiving and parsing input object model description data, and extracting action fields, attribute fields, and supplementary configuration fields from the object model description data; mapping the action fields to first-class tool function definitions recognizable by the large language model; splitting and reconstructing the attribute fields into independent attribute acquisition functions and attribute setting functions, and adding constraints to the parameters of the attribute acquisition functions and attribute setting functions; converting the supplementary configuration fields into synchronous interaction functions and tool-level annotation information adapted to the large language model; aggregating the first-class tool function definitions, second-class tool function definitions, synchronous interaction functions, and tool-level annotation information, and outputting a parameter pattern file conforming to the large language model tool calling specification. This achieves standardized automatic bridging between IoT devices and the large language model interface, reducing the cost of connecting massive numbers of devices to the large model.
Owner:MACAU DIGITAL POWER TECHNOLOGY CO LTD

Plan validation

PendingUS20260187063A1Function definitionEngineering
Certain aspects of the disclosure provide techniques for validating function plans by a device. An example method includes receiving, as input, a function plan comprising a function definition that comprises a set of features associated with a function, a user query, and a function schema that corresponds to the function included in the function plan; determining a hallucination in the function definition by comparing the set of features of the function definition with one or more corresponding features included in the user query or the function schema; determining that a correct feature corresponding to the hallucination is not included in either the user query or the function schema; performing function-specific disambiguation to obtain the correct feature; modifying the function definition by replacing the hallucination with the correct feature; and executing the function plan with the modified function definition.
Owner:INTUIT INC

MBSE-based proton exchange membrane fuel cell system modeling method and system

The invention discloses an MBSE-based proton exchange membrane fuel cell system modeling method. The method comprises the following steps: carrying out demand analysis modeling, collecting demands of a benefit related party, converting the demands into system demands, and constructing a demand analysis model; modeling an application scene, identifying a typical operation scene of the system, defining participants and an interaction process, and constructing an application scene model; function definition modeling is carried out, system functions are decomposed, the relationship between the functions is determined, and a function definition model is constructed; architecture design modeling is carried out, functions are mapped to system components, a system architecture is designed, and an architecture design model is constructed; performing system simulation modeling, establishing a simulation environment based on the architecture model, and performing simulation verification on key functions and performance; verification and confirmation are carried out, system requirements are verified and confirmed according to simulation results, and it is ensured that system design meets expected functions and performance targets. According to the invention, the consistency and traceability of the development of the proton exchange membrane fuel cell system can be improved.
Owner:SHANGHAI UNIV OF ENG SCI +1

Customized control method and device of water heater, electronic equipment and computer medium

ActiveCN115200228BAchieve flexible function controlImprove user experienceSolar heating energySolar heat collector controllersFunction definitionSpecific function
The application belongs to the technical field of water heater control, and particularly relates to a self-defined control method and device of a water heater, an electronic device and a computer medium. The application aims to solve the problem that the existing water heater control scheme has fixed functions and cannot meet the specific function requirements of different users. The self-defined control method of the water heater comprises the following steps: if the self-defined function key is enabled, a function definition set set by a user at the self-defined function key is acquired, the function definition set comprises one or more self-defined function options; instruction information of the user is received, and it is judged whether the instruction information is instruction information corresponding to the self-defined function option; if yes, corresponding function services are provided based on the instruction information. Through the above method, flexible function control of the water heater is realized, different water heater function requirements of different users are met, the interaction ability between the user and the water heater is optimized, and the technical effect of improving the use experience of the user is achieved.
Owner:QINGDAO ECONOMIC AND TECHNOLOGICAL DEVELOPMENT ZONE HAIER WATER HEATER CO LTD +1

Array border crossing detection method, device and apparatus, and storage medium

The invention provides an array border crossing detection method, device and device and a storage medium, and the method comprises the steps: obtaining at least one target file to be detected, the target file being a source code file written based on a C language; for each target file, reading the file content line by line, and performing local array definition statement pattern matching on the current line content under the condition that the current line content function definition statement pattern matching is unsuccessful; if the local array definition statement pattern matching is not successful, extracting array subscript judgment information to update a judgment dictionary and extracting array subscript variables to update an array subscript variable list for the current row content; performing border crossing detection on the array subscript variable list based on the judgment dictionary to obtain an array border crossing detection result; the array cross-border detection result is used for prompting the user whether the array cross-border risk exists or not. Therefore, the detection efficiency and the detection precision of array border crossing can be improved.
Owner:DATANG MOBILE COMM EQUIP CO LTD

Integration of machine learning models into software systems using software library

ActiveUS12541347B2Model driven codeSoftware reuseFunction definitionSoftware system
Various embodiments described herein support or provide operations including receiving input data that comprises a function definition; generating a schema that describes output data in an output format expected in a function output; and executing a function based on the function definition. The execution of the function includes generating a prompt that includes the schema and the input data; using a machine learning model to generate a response based on the prompt, the machine learning model comprising at least one large language model; and generating the function output by converting the response into a programming data object in the output format described by the schema.
Owner:DISCOVER BEAGLE INC

Automatic point burying method and device, equipment and storage medium

The invention discloses an automatic point burying method and device, equipment and a storage medium, and relates to the technical field of computers.The method comprises the steps that a design document of an intelligent cabin driving layer is analyzed, and basic function information in the design document is extracted; generating a log control configuration file and a burying point function configuration file of an intelligent cabin driving layer based on the basic function information; generating a log management component of an intelligent cabin driving layer according to the log control configuration file; and performing automatic point burying on the function definition code snippets to be subjected to point burying based on the log management component and the point burying function configuration file. The log management component can be generated according to the log control configuration file of the intelligent cabin driver layer, and automatic point burying is performed on the function based on the log management component and the point burying function configuration file of the intelligent cabin driver layer, so that the problem that a log point burying method in the prior art depends on manual operation; the coverage rate is not high; and errors are easy to occur.
Owner:FIBOCOM AUTO SOFTWARE INC

Visual design and simulation method and system for complex digital system based on graphical hardware description language HDL-X

The invention relates to a visual design and simulation method and system for a complex digital system based on a graphical hardware description language HDL-X. The method comprises the steps that the graphical hardware description language HDL-X and a visual simulation environment based on XML expansion SVG are constructed, and a graphical model is constructed through an automatic anchor point connection technology; defining device functions through four modes of device basic information, a truth table, a logic expression and a latch; the graphical model is converted into executable function description based on an HDL-X interpreter, a simulation and visualization real-time linkage mechanism is adopted, a signal path is dynamically highlighted in a graphical interface, waveform changes are synchronously displayed, a collaborative analysis environment of graphical waveforms and structural topology is formed, and interactive debugging of breakpoint setting and dynamic parameter modification is supported; the matched simulation verification system integrates a graphical design module, a device library management module, a function definition module, a compiling interpretation module, a simulation engine module and a visual linkage module; according to the method, the defects of insufficient design visualization, simulation debugging splitting and difficulty in cross-module signal tracking in the prior art are overcome.
Owner:SICHUAN XINXIANDA CONTROL & MEASUREMENT CO LTD

Visual design and simulation method and system for complex digital system based on graphical hardware description language HDL-X

The application relates to a complex digital system visual design and simulation method and system based on a graphical hardware description language HDL-X, the method constructs a graphical hardware description language HDL-X and a visual simulation environment based on XML extended SVG, constructs a graphical model through an anchor point automatic connection technology, and defines device functions through four modes of device basic information, a truth table, a logic expression and a latch; the graphical model is converted into an executable function description based on an HDL-X interpreter, a simulation and visual real-time linkage mechanism is adopted, signal paths are dynamically highlighted in a graphical interface, and waveform changes are synchronously displayed, a collaborative analysis environment of graphical waveforms and structure topologies is formed, interactive debugging of breakpoint setting and dynamic parameter modification is supported; a matching simulation verification system integrates graphical design, device library management, function definition, compilation and interpretation, a simulation engine and a visual linkage module; the application solves the defects of design visualization deficiency, simulation debugging fragmentation and cross-module signal tracking difficulty in the prior art.
Owner:SICHUAN XINXIANDA CONTROL & MEASUREMENT CO LTD

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

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

Fuzzy testing method based on thread execution sequence feedback

The invention discloses a fuzzy testing method based on thread execution sequence feedback. The method comprises the following steps: inserting source codes of type definition and function definition for memory security dynamic analysis and collection of thread execution sequence information into a source code file of a program to be tested; analyzing the source code of the to-be-tested program by using a compiler to generate an abstract syntax tree; traversing the abstract syntax tree, acquiring a specific node and performing instrumentation to detect memory errors, monitor memory state information and collect thread execution sequence information during program running; compiling the source code after instrumentation to obtain an assembly code; performing coverage rate instrumentation on the assembly code; the instrumented assembly codes are assembled and linked to obtain an executable file; performing fuzzy testing on the executable file, and taking coverage rate information obtained by coverage rate instrumentation, memory state information obtained by memory security dynamic analysis instrumentation and thread execution sequence information obtained by thread context instrumentation as feedback; and outputting a program input file which enables the to-be-tested program to be subjected to program crash or memory errors.
Owner:NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

Adaptive Deep Learning Model Generation Method and Apparatus Based on Heterogeneous Computing Platform

This invention discloses an adaptive deep learning model generation method and apparatus based on a heterogeneous computing platform, relating to the fields of artificial intelligence and edge computing. The method includes: constructing a search space containing a dynamically adjusted network architecture, and through... one_of Function definition component parameter range, repeat The invention employs a function to control the number of network layer stacks; it constructs a device knowledge base to store attributes such as the computing engine, device specifications, and operational-level processing time, estimating subnet latency by accumulating operational time; based on the search space, it utilizes a neural search algorithm to optimize model weights and subnet structure, combined with Nesterov acceleration gradient descent to accelerate loss function convergence, maximizing subnet accuracy within latency constraints. This invention can automatically adapt to the computing resources of heterogeneous devices, balancing inference accuracy and latency, eliminating the need for manual model adjustments, improving deployment efficiency, and is suitable for edge devices such as smartphones and IoT terminals.
Owner:BEIJING UNIV OF POSTS & TELECOMM

A resource file protection method and device under Unreal Engine

ActiveCN116010986BDigital data protectionExecution paradigmsFunction definitionPassword
The application provides a resource file protection method and device under Unreal Engine, equipment and a storage medium. The application embodiment uses the basic characteristics of the resource under Unreal Engine, makes the resource inherit an encryption base class when creating the resource, and realizes the function definition of the encryption base class; when creating the resource, a username and a password can also be input, and the username and the password are saved into the resource file and the key pair file. When trying to open the resource file, the username and the password in the resource file are matched with the username and the password of the key pair file, and the resource file can be successfully opened after the matching is successful. Through the method of the application embodiment, the file leakage problem caused by the lack of protection measures of the resource file of Unreal Engine in the prior art is solved, that is, even if the resource file is copied to other projects, it cannot be recognized or decrypted due to the lack of the encryption base class or the key pair file, and the security of the resource file is greatly improved.
Owner:TUYOO GAMES +1

Code annotation method and device for large model generation function and computer equipment

The invention relates to a code annotation method and device for a large model generation function and computer equipment. The method comprises the steps that a root directory path of a target code project is acquired, all source code files in the target code project are traversed, and a to-be-processed source code file set is screened out; for each source code file, performing lexical analysis, grammatical analysis and semantic analysis to construct a decorative abstract syntax tree corresponding to each source code file; based on the decorative abstract syntax tree, analyzing to obtain all function definitions in the corresponding source code file, and identifying a target function set to be supplemented and annotated; selecting an annotation generation mode for each target function in the target function set to generate a corresponding normalized function annotation; and respectively writing the generated normalized function annotations into source code positions of the corresponding target functions to complete batch supplement and repair of the function annotations of the target code project. By adopting the method, more efficient, lightweight and extensible automatic code annotation can be performed.
Owner:CHINA TELECOM CLOUD TECH CO LTD