A host computer programmable configuration system

By designing a programmable configuration system for computers, the existing FCT technology has been solved, the problems of poor expansion, cumbersome programming and complex operations have been solved, and more flexible and efficient testing control has been achieved.

CN115629864BActive Publication Date: 2025-05-13RULONG INTELLIGENT TECH (JIAXING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211372217.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-03
Publication Date
2025-05-13
Estimated Expiration
2042-11-03

AI Technical Summary

Technical Problem

The existing FCT technology has problems such as poor scalability, cumbersome programming, high requirements for operators, and difficulty in debugging the board under test.

Method used

A programmable configuration system for upper computers is designed, including resource library, object library, module library and process editing modules. Users can expand, program and debug functions through these modules to achieve flexible control of lower computers.

Benefits of technology

It improves the expansion and programming efficiency of the FCT system, reduces the professional skills requirements for operators, simplifies the debugging process of the test board, and achieves more flexible and efficient testing control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115629864B_ABST
    Figure CN115629864B_ABST
Patent Text Reader

Abstract

A host computer programmable configuration system comprises a resource library, an object library, a module library and a process editing module. The configuration rule of the resource library is to generate resource items in a fixed format. The module library is composed of a plurality of classified modules. The module is composed of a plurality of objects in the selected object library. After the input parameters under the objects are selected and edited, a plurality of sequential objects are formed. The process editing module is a sequentially arranged set composed of a plurality of modules, objects and logical bodies in sequence. The process editing module comprises a system configuration area and a process configuration area. The system can edit any module and can be expanded arbitrarily. By performing modular process editing on the resource library, the problem that traditional PLC programming is complex and cannot meet complex control is solved. Newcomers can also realize the required process editing by dragging the module, which reduces the difficulty.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of FCT, and in particular to a host computer programmable configuration system. Background Art

[0002] FCT (Functional Test) refers to a test method that provides a simulated operating environment (stimulus and load) to the test target board (UUT: Unit Under Test) to make it work in various design states, thereby obtaining the parameters of each state to verify the function of the UUT.

[0003] There are the following problems in the prior art:

[0004] 1. Sequential type, which can only execute one or a limited number of preset systems. If expansion is required, the software needs to be upgraded to achieve it, and the scalability is very poor;

[0005] 2. The timing is inaccurate, and the entire test fails after an error occurs;

[0006] 3. The programming is cumbersome and not readable;

[0007] 4. The system requires great familiarity with the product being tested and high professional skills to operate, and has high requirements for operators. Summary of the invention

[0008] In view of the shortcomings of the background technology, the present invention provides a host computer programmable configuration system to solve the problems of poor scalability of FCT, cumbersome programming, high requirements for operators and difficulty in debugging the tested board.

[0009] The present invention relates to a host computer programmable configuration system, comprising:

[0010] Resource library, the configuration rule of the resource library is to generate resource items in a fixed format for extending function items, the resource library is configured as basic information of resources, at least two levels of directories are set in the resource library, namely, the first-level directory A and the second-level directory A, the first-level directory A is the resource input and output category, the second-level directory A is the initialization, sending and receiving of specific categories in the resource input and output category, and the basic information of the resource library resources, the first-level directory A and the second-level directory A are editable;

[0011] An object library, which is a collection of classified objects. The objects are generated by selecting a resource in the resource library and selecting and editing the various attributes under the resource. The object library has at least two levels of directories, namely, a first-level directory B and a second-level directory B. The first-level directory B is a functional classification directory, and the second-level directory B is a collection of objects under a specific first-level directory B, wherein the first-level directory B and the second-level directory B are editable;

[0012] A module library, which is composed of a plurality of classified modules. The modules are formed by selecting a plurality of objects in the object library, and each input parameter under the object is selected and edited to form a collection of a plurality of ordered objects. The module library is provided with at least two levels of directories, namely, a first-level directory C and a second-level directory C. The first-level directory C is a functional classification, and the second-level directory C is a collection of modules under a specific first-level directory C, wherein the first-level directory C and the second-level directory C are editable;

[0013] The process editing module is a sequentially arranged set composed of multiple modules, objects, and logical bodies. The process editing module includes a system configuration area and a process configuration area. The system configuration area includes the number of boards, the number of single-channel boards, the number of channels, the control mode, the product type and the product code. The process configuration area includes the flow program number, the custom name, the function type, the port, the execution time, the delay, the function and the configuration content.

[0014] Furthermore, the basic information of the resource library resources includes resource quantity, resource code, resource name, attribute code, attribute name, attribute type, data type, judgment type, data range, data unit and parameter description.

[0015] Furthermore, the editing of the first-level directory A, the second-level directory A, the first-level directory B, the second-level directory B, the first-level directory C and the second-level directory C includes adding, deleting, modifying and checking.

[0016] Furthermore, the categories of the first-level directory A include input category, output category, serial port communication category, IIC communication category, and SPI communication category.

[0017] Furthermore, the categories of the first-level directory B include port output, port acquisition, serial port communication, ICC communication, and SPI communication.

[0018] Furthermore, the categories of the first-level directory C include motors, DC signals, AC signals and custom modules.

[0019] Furthermore, the process editing module can be freely matched with modularization, objects and logical bodies as constituent elements.

[0020] The main beneficial effects of the present invention are:

[0021] 1. Programmable: Users can edit a program execution file that can control the execution of the lower computer according to the needs of the control scene. The lower computer can automatically execute the corresponding actions according to this program file when it is offline. The program file can contain input, output, acquisition, and data judgment operations. The program process can add the editing of logical operations, such as AND, OR, conditional branch execution, etc., which makes the control scene adapted by the lower computer more flexible and diverse.

[0022] 2. Modularity: In order to facilitate user programming and adapt to the programming needs of different industries, this system program can make commonly used program actions or professional combination actions into modules, which is convenient for users to choose during programming, avoid repeated operations and improve efficiency.

[0023] 3. Programmable: After establishing a connection with the lower computer, this system software can directly control the actions of the lower computer, such as starting, stopping, pausing, cyclic execution, single execution, etc.

[0024] 4. Traceability: After establishing a connection with the lower computer, this system software obtains the execution results of each action of the lower computer at all times and records them in the database.

[0025] 5. Data analysis: The data in the database can be selected to form data analysis graphs.

[0026] 6. Permission management: Different users can edit different functions.

[0027] 7. The system is expandable: If the hardware capabilities of the lower computer itself are insufficient and auxiliary modules need to be added, new projects can be directly added to the resource library and object library in the upper computer system to adapt to the programming of new functional requirements.

[0028] 8. The program process is highly readable: Each process can have a custom name, which is convenient for setting different names for different environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 is a diagram showing an example of resource library configuration of the present invention;

[0030] Figure 2 It is an example diagram of the configuration of the object library of the present invention;

[0031] Figure 3 This is an example diagram of the process editing of the present invention. DETAILED DESCRIPTION

[0032] The following will clearly and completely describe and discuss the technical solutions in the embodiments of the present invention. Obviously, what is described here is only a part of the examples of the present invention, not all the examples. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0033] In order to facilitate the understanding of the embodiments of the present invention, further explanation will be given below in combination with specific embodiments as examples, and each embodiment does not constitute a limitation on the embodiments of the present invention.

[0034] Embodiment 1 of the present invention relates to a host computer programmable configuration system, including a resource library, an object library, a module library and a process editing module.

[0035] The configuration rule of the resource library is to generate resource items in a fixed format for extending functional items, where a resource item refers to a certain hardware capability possessed by the lower computer or expansion module, such as voltage acquisition capability, a certain signal output capability, etc., and each hardware capability may have multiple characteristics after being pre-processed by the lower computer, such as the voltage acquisition capability may have maximum value, minimum value, average value and other characteristics after being processed by the lower computer. The resource library is configured as the basic information of the resources. In order to make it more convenient for the operator to select a certain resource item in the resource library, at least two levels of directories are set in the resource library, namely, the first-level directory A and the second-level directory A. The first-level directory A is the resource input and output category, and the second-level directory A is the initialization, sending and receiving of specific categories in the resource input and output category. The basic information of the resource library resources, the first-level directory A and the second-level directory A are editable, and the classified directory can be set by the system administrator. When creating a resource item, the operator can classify the resource item according to certain characteristics to make it more convenient for the user to select, such as Figure 1 shown.

[0036] The basic information of the resource library resources includes resource quantity, resource code, resource name, attribute code, attribute name, attribute type, data type, judgment type, data range, data unit and parameter description.

[0037] The resource quantity is the number of hardware ports corresponding to the resources that have the hardware capability to change.

[0038] The resource item of the resource code is a unique identifier in the resource library, which is used to distinguish different resource items.

[0039] The resource name is the Chinese identifier of the resource item, which is displayed during user configuration. It is convenient to convert the more professional parameter nouns of the product into parameter nouns that are easy for newcomers to understand, so that newcomers can get started as soon as possible and increase programming readability.

[0040] The functions of the first-level directory A are classified into "input class", "output class", "serial communication class", "IIC communication class", "SPI communication class", etc., which can be added, deleted, modified and checked by users. The second-level directory A is a collection of resources in a specific first-level directory A. For example, in the first-level directory A "serial communication class", its second-level directory A needs to have "serial port initialization", "serial port sending", "serial port receiving", etc., which can be added, deleted, modified and checked by users.

[0041] The rule parameter of the resource quantity is defined as the selection range of the specified port. By filling in a number, it is specified that the resource item has ports of the filled-in number available for user selection. It is the key value content of the "port" object in the "func" object in JSON.

[0042] The rule parameter of the resource code is defined as a keyword in the JSON configuration item, which is used to generate the key value of the "type" object in the JSON configuration item, which is unique in the function library to ensure accuracy.

[0043] The rule parameter definition of the resource name and the Chinese name corresponding to the resource code are displayed during user configuration. The binding relationship between the two facilitates the conversion of the more professional parameter nouns of the product into parameter nouns that are easy for newcomers to understand, so that newcomers can get started as soon as possible.

[0044] The rule parameter definition of the attribute code belongs to the sub-item of the resource code. There will be multiple parameters in a resource item. It is also a keyword in the JSON configuration item, which is used to generate the JSON configuration item and is the key name in the "output" and "input" objects.

[0045] The rule parameter definition of the attribute name and the Chinese name corresponding to the attribute code are displayed during user configuration. The two are bound together. A resource item can have multiple attributes, which makes it convenient to convert the more professional parameter nouns of the product into parameter nouns that are easy for newcomers to understand, so that newcomers can get started as soon as possible.

[0046] The attribute type and data type association settings are mainly divided into setting type, output type, collection type, comparison type, etc. The lower computer performs different processing for different attribute types. The rule parameter definition of the attribute type is the association setting of the attribute content, and there are mainly 2 options:

[0047] 1. Output: indicates that the property item belongs to the output class, and the corresponding JSON object is a sub-item of "output";

[0048] 2. Input: Indicates that the property item belongs to the input class, and the corresponding JSON object is a sub-item of "input".

[0049] The data type refers to a type of data according to the characteristics of the attribute under the corresponding resource. The data types include string, HEX, integer, decimal, enumeration, etc. The rule parameter definition of the data type is the associated item of the attribute. The final transmission protocol uses JSON. The data types of JSON mainly include integer, decimal, string, Boolean value, array, object, and null value.

[0050] The character string includes ASCII and HEX, the character string is an input-output type, the array includes integers and decimals, and the array is an input type attribute.

[0051] The rule parameter for determining the type is defined as determining the type relationship by symbol correspondence, and the following example is used for illustration, but the example does not constitute a limitation to the present application:

[0052] “==” means equal to;

[0053] “!=” means not equal to;

[0054] “<” means less than;

[0055] “>=” means greater than or equal to;

[0056] “>” means greater than;

[0057] “<=” means less than or equal to;

[0058] (a, b) is a value between a and b, excluding a and b;

[0059] [a, b] is a value between a and b, including a and b;

[0060] (a, b] is a value between a and b, excluding a but including b;

[0061] [a, b) is a value between a and b, excluding b but including a.

[0062] The data range is defined by the rule parameters to limit the user to fill in the attribute data, corresponding to the range of the numerical type, making the system more standardized

[0063] The rule parameter definition of the data unit is convenient for users to fill in the unit, which is convenient for novice users to better operate the corresponding.

[0064] System administrators can add resource items to the resource library based on hardware capabilities and expansion capabilities, and add resource items to the resource library after editing the information of the resource items, so as to more flexibly adapt the functions of the lower computer and expand the system capabilities.

[0065] The rule parameter definition of the parameter description is used to display the parameter description content, so as to better guide the operation of novice users.

[0066] The resource library corresponds to the hardware.

[0067] The object library is a collection of classified objects. The object is generated by selecting a resource in the resource library and selecting and editing the various attributes under the resource. It is equivalent to establishing different objects based on the resource library according to the different attribute combinations of a resource, such as Figure 2As shown, an object is the smallest unit for establishing a program flow. The object library has at least two levels of directories, namely, a first-level directory B and a second-level directory B. The first-level directory B is a functional classification directory, and the second-level directory B is a collection of objects under a specific first-level directory B, wherein the first-level directory B and the second-level directory B are editable.

[0068] The functions of the first-level directory B are classified into "port output", "port acquisition", "serial communication", "IIC communication class", "SPI communication class", etc., which are convenient for users to add, delete, modify and check. The second-level directory B is a collection of objects under a specific first-level directory B. For example, in the first-level directory B "port output", the second-level directory B needs to have "analog voltage output", "DC voltage output", "pulse output", etc., which allow users to add, delete, modify and check. When creating the second-level directory B, it is necessary to select the integrated target resource. Objects under the same second-level directory B belong to the same resource.

[0069] The object mainly collects extreme values ​​and mean values ​​in the test data.

[0070] The module library is composed of multiple classified modules. The modules are formed by selecting several objects in the object library, and the various input parameters under the objects are selected and edited to form a collection of several ordered objects. Simply put, the module references several objects and arranges them in order. The module library has at least two levels of directories, namely, the first-level directory C and the second-level directory C. The first-level directory C is a functional classification, and the second-level directory C is a collection of modules under a specific first-level directory C, wherein the first-level directory C and the second-level directory C are editable. The module inherits the characteristics of all selected objects.

[0071] The first-level directory C is functionally classified as "motor", "DC signal", "AC signal", "custom xx", etc., which allows users to add, delete, modify and check. The second-level directory C is specifically a collection of modules under a first-level directory C. For example, when the first-level directory C is "motor", the second-level directory C needs to have "motor speed", "motor direction", "motor torque", etc., which allows users to add, delete, modify and check. Each task bar under the second-level directory C represents a module, and a module is composed of multiple objects.

[0072] The upper computer programmable configuration system also includes a logic body, which includes Switch logic (conditional jump logic), Or logic, And logic, and While logic, wherein the function of the Switch logic is to use the attribute value of an object as an input parameter, make multiple conditional judgments, and then jump to the true branch to execute the process object on different branches. The function of the Or logic is to loop parameter 1 for a maximum of times. If one of object 1 or object 2 is true, it will jump out to true, otherwise it will be false. The function of the And logic is to loop parameter 1 for a maximum of times. If both object 1 and object 2 are true, it will jump out to true, otherwise it will be false. The function of the While logic is to loop parameter 1 for a maximum of times. If both object 1 and object 2 are true in all times, it will be true, otherwise it will be false, and the number of times will be completed regardless of true or false.

[0073] The logic body can increase the flexibility of process execution, so that different application scenarios can be used when writing programs.

[0074] The above logic ensures that the scheduler will not have timing problems and ensures the accuracy of the entire test process.

[0075] The module library is a large collection of several "modules". The module is a small collection of several objects and execution logic. A module can generally realize a certain function under a certain field, which is realized by a combination of several hardware functions. When a certain process is reused, it can be edited into a module, and then the module can be selected when editing the process to simplify process editing.

[0076] The process editing module is a sequentially arranged set composed of multiple modules, objects, and logical bodies. The process editing module includes a system configuration area and a process configuration area. The system configuration area includes the number of boards, the number of single-channel boards, the number of channels, the control mode, the product type and the product code. The process configuration area includes the flow program number, the custom name, the function type, the port, the execution time, the delay, the function and the configuration content. The process editing module can be freely matched with modularization, objects and logical bodies as the constituent elements.

[0077] Each object, module, and logic body of the process configuration is converted into a JSON configuration item. When you need to update the test process or change the test logic, you only need to drag the module in the module library and edit it into the test process or test logic you need through the process editing module. You no longer need to upgrade the software to complete it, which greatly improves the applicability of the product. At the same time, newcomers can also get started faster, reducing personnel requirements.

[0078] The editing of the first-level directory A, the second-level directory A, the first-level directory B, the second-level directory B, the first-level directory C and the second-level directory C includes adding, deleting, modifying and checking.

[0079] The process editing of the present invention is specifically as follows:

[0080] Engineers select an object or module to act on according to the test points and functions of the actual target under test and in a certain sequence, such as Figure 3 As shown, the lower computer stimulates the test target board or drives the load according to the action, and then captures some actual feedback values ​​of the target board. In the process, you can set the range of external stimulation, the size of the load, the action delay, the action cycle, the action condition jump, collect the output value of the test point on the target board and set the interval value for judging success or failure.

[0081] This system will have data statistics in two places: In the production line employee statistics interface, the system will count the current product test pass rate, qualified quantity, number of times the equipment is used, and the distribution of unqualified items on the test target board based on production items, test time, and equipment channels, so that engineers can make immediate adjustments to the production process.

[0082] Since FCT equipment is a high-intensity working equipment, the life and maintenance of the equipment will be directly related to the working status. This system can intelligently prompt users to provide maintenance warnings and life warnings for key equipment components based on the equipment usage.

[0083] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A host computer programmable configuration system, characterized in that: include: Resource library, the configuration rule of the resource library is to generate resource items in a fixed format for extending function items, the resource library is configured as basic information of resources, at least two levels of directories are set in the resource library, namely, the first-level directory A and the second-level directory A, the first-level directory A is the resource input and output category, the second-level directory A is the initialization, sending and receiving of specific categories in the resource input and output category, and the basic information of the resource library resources, the first-level directory A and the second-level directory A are editable; An object library, which is a collection of classified objects. The objects are generated by selecting a resource in the resource library and selecting and editing the various attributes under the resource. The object library has at least two levels of directories, namely, a first-level directory B and a second-level directory B. The first-level directory B is a functional classification directory, and the second-level directory B is a collection of objects under a specific first-level directory B, wherein the first-level directory B and the second-level directory B are editable; A module library, which is composed of a plurality of classified modules. The modules are formed by selecting a plurality of objects in the object library, and each input parameter under the object is selected and edited to form a collection of a plurality of ordered objects. The module library is provided with at least two levels of directories, namely, a first-level directory C and a second-level directory C. The first-level directory C is a functional classification, and the second-level directory C is a collection of modules under a specific first-level directory C, wherein the first-level directory C and the second-level directory C are editable; The process editing module is a sequentially arranged set composed of multiple modules, objects, and logical bodies. The process editing module includes a system configuration area and a process configuration area. The system configuration area includes the number of boards, the number of single-channel boards, the number of channels, the control mode, the product type and the product code. The process configuration area includes the flow program number, the custom name, the function type, the port, the execution time, the delay, the function and the configuration content.

2. A host computer programmable configuration system according to claim 1, characterized in that: The basic information of the resource library resources includes resource quantity, resource code, resource name, attribute code, attribute name, attribute type, data type, judgment type, data range, data unit and parameter description.

3. A host computer programmable configuration system according to claim 2, characterized in that: The editing of the first-level directory A, the second-level directory A, the first-level directory B, the second-level directory B, the first-level directory C and the second-level directory C includes adding, deleting, modifying and checking.

4. A host computer programmable configuration system according to claim 3, characterized in that: The categories of the first-level directory A include input category, output category, serial communication category, IIC communication category, and SPI communication category.

5. A host computer programmable configuration system according to claim 4, characterized in that: The categories of the first-level directory B include port output, port acquisition, serial port communication, ICC communication, and SPI communication.

6. A host computer programmable configuration system according to claim 5, characterized in that: The categories of the first-level directory C include motors, DC signals, AC signals and custom modules.

7. A host computer programmable configuration system according to claim 6, characterized in that: The process editing module can be freely matched with modularization, objects and logical bodies as constituent elements.

Citation Information

Patent Citations

  • Visual platform system based on bay level device logic configuration and construction method of system

    CN108108403A

  • Generating animation rigs using scriptable reference modules

    US20200320764A1