Display screen control card test method and device, electronic equipment and storage medium
By automatically generating and sending functional test parameters, the automated functional testing of the display control card is realized, which solves the problems of low testing efficiency and insufficient accuracy and reliability in the existing technology, and improves the testing efficiency and accuracy.
Patent Information
- Application Number
- CN202411995647.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-11
AI Technical Summary
In the prior art, the functional testing of the display screen control card is inefficient and relies on manual operation, which makes it easy to cause problems of misoperation and low accuracy and reliability.
Automatic functional testing is achieved by generating functional test parameters corresponding to the target display control card and sending them to the display control card when the communication connection status is met. The method includes a test parameter determination module, a test parameter sending module and a feedback information receiving module, and automatically parsing the test feedback information to determine the test result.
It improves the functional testing efficiency of the display control card, reduces manual operation, and improves the accuracy and reliability of the test.
Smart Images

Figure CN119811233A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of display screen control card testing, and in particular to a display screen control card testing method, device, electronic equipment and storage medium. Background Art
[0002] The display control card is one of the key components of the LED display. It is responsible for converting the input image information into data and control signals that the LED screen can display. Its stability and functional diversity are crucial to the normal operation of the display. With the continuous advancement of technology and the growing application needs, the functions of the display control card are becoming more and more abundant. After the display control card is produced, it is necessary to test the various functions of the display control card. It can only be shipped if all functions are tested and qualified.
[0003] At present, the main method for functional testing of display screen control cards is: the user manually establishes a communication connection between the display screen control card to be tested and the test server; runs the pre-developed test software in the test server; for various functional test items, the user can edit the test data in the test software based on his own experience and send it to the display screen control card to be tested for functional testing; then the user determines whether the functional test item has passed the test by observing the actual display effect of the display screen driven by the display screen control card to be tested.
[0004] However, in response to the display control card testing needs with numerous functional test items, the existing testing method requires the user to repeatedly perform multiple tedious operations during the test process to complete the display control card testing work, which has the problem of low display control card testing efficiency; in addition, the existing method is heavily dependent on manual operation, and manual operation is prone to the risk of misoperation. Based on this, there is also the problem of low test accuracy and reliability. Summary of the invention
[0005] The present invention provides a display screen control card testing method, device, electronic equipment and storage medium, so as to automatically perform functional testing on the display screen control card, avoid a large number of manual operation processes, improve the testing efficiency of the display screen control card, and enhance the accuracy and reliability of the functional testing of the display screen control card.
[0006] In a first aspect, an embodiment of the present invention provides a display screen control card testing method, the method comprising:
[0007] Based on target instruction information corresponding to at least one target functional test item of the target display screen control card, generating a functional test parameter corresponding to the target display screen control card;
[0008] Under the condition that the target display screen control card meets the communication connection state, the function test parameter is sent to the target display screen control card, so that the target display screen control card performs a function test corresponding to the at least one target function test item based on the function test parameter;
[0009] The test feedback information fed back by the target display screen control card is received, and data parsing processing is performed on the test feedback information to obtain a test parsing result, so as to determine a target test result corresponding to the target display screen control card based on the test parsing result.
[0010] In a second aspect, an embodiment of the present invention further provides a display screen control card testing device, the device comprising:
[0011] A test parameter determination module, configured to generate a functional test parameter corresponding to a target display screen control card based on target instruction information corresponding to at least one target functional test item of the target display screen control card;
[0012] A test parameter sending module, used for sending the function test parameters to the target display screen control card under the condition that the target display screen control card meets the communication connection state, so that the target display screen control card performs a function test corresponding to the at least one target function test item based on the function test parameters;
[0013] The feedback information receiving module is used to receive the test feedback information fed back by the target display screen control card, perform data analysis on the test feedback information, obtain a test analysis result, and determine a target test result corresponding to the target display screen control card based on the test analysis result.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0015] one or more processors;
[0016] The storage device is used to store one or more programs. When the one or more programs are executed by one or more processors, the one or more processors implement the display screen control card testing method as any one of the embodiments of the present invention.
[0017] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, which are used to execute a display screen control card testing method as described in any one of the embodiments of the present invention when executed by a computer processor.
[0018] The technical solution of the embodiment of the present invention generates functional test parameters corresponding to the target display screen control card through the target instruction information corresponding to at least one target functional test item of the target display screen control card; thus, under the condition that the target display screen control card meets the communication connection state, the functional test parameters are sent to the target display screen control card, so that the target display screen control card performs a functional test corresponding to at least one target functional test item based on the functional test parameters, and further, receives the test feedback information fed back by the target display screen control card, performs data parsing processing on the test feedback information, obtains the test parsing result, and determines the target test result corresponding to the target display screen control card based on the test parsing result. The technical solution provided by this embodiment can automatically generate functional test parameters executable by the display screen control card according to the target instruction information corresponding to various functional test items of the display screen control card, so that the display screen control card can be automatically tested for function, avoiding a large number of manual operation processes, not only improving the test efficiency of the display screen control card, but also improving the accuracy and reliability of the functional test of the display screen control card. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required to describe the embodiments. Obviously, the drawings introduced are only drawings of a part of the embodiments to be described in the present invention, rather than all the drawings. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 A schematic flow chart of a display screen control card testing method provided by an embodiment of the present invention;
[0021] Figure 2 This is a flow chart of another display screen control card testing method provided in this embodiment;
[0022] Figure 3 A schematic diagram of the structure of a display screen control card testing device provided by an embodiment of the present invention;
[0023] Figure 4 The present invention is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] Embodiment 1
[0025] Figure 1A flow chart of a display screen control card testing method provided in an embodiment of the present invention is provided. This embodiment can be applied to a scenario in which a display screen control card is functionally tested. The method can be executed by a display screen control card testing device, which can be implemented in the form of software and / or hardware. The hardware can be an electronic device, such as a mobile terminal, a PC, or a server.
[0026] like Figure 1 As shown, the display screen control card testing method includes:
[0027] S110 . Generate functional test parameters corresponding to the target display screen control card based on target instruction information corresponding to at least one target functional test item of the target display screen control card.
[0028] The display screen control card is a hardware device specially used to control the display screen. It can be used to receive external signals and convert the signals into data and control signals that can be recognized by the display screen, so that the display screen can display the specified media content. The target display screen control card is the display screen control card on which the function test is to be performed.
[0029] Among them, the target function test item refers to the function test item to be applied to the target display screen control card. The function test item refers to the specific item that needs to be functionally tested on the target display screen control card. Specifically, the target function test item may include: at least one of the program sending function item, the firmware upgrade function item, the timed task function item, the device status query function item and the button trigger function item. The program sending function item is mainly to test whether the target display screen control card can accurately control the display screen to display the specified program content, and the program content includes but is not limited to text, pictures, videos and other multimedia content. The firmware upgrade function item is mainly to test whether the control method in the target display screen control card has been upgraded to the specified version. The timed task function item is mainly to test whether the target display screen control card can accurately perform the timed task, such as the timed power on and off task, the timed adjustment of the screen brightness, the timed playback of a specific program, etc. The device status query function item is mainly to test whether the target display screen control card can accurately feedback the basic device parameter information of the display module corresponding to the display screen control card. The button trigger function item is mainly to test whether the target display screen control card can accurately control the trigger function of a button. In addition, the target functional test items may also include but are not limited to hardware parameter sending function item, device lock function item, boot screen function item, boot prompt function item, font library function item, device time correction function item, power-off reset function item, boot gradual brightness function item, etc. Those skilled in the art will appreciate that the above functional test items are only examples, and any other functional test items, if applicable to the present invention, should be included in the protection scope of the present invention and are included herein by reference.
[0030] The target instruction information is the instruction information that requires the target display screen control card to perform the corresponding function test item operation. The function test parameter is the data content in the specified format that can be recognized and processed by the target display screen control card.
[0031] Specifically, the display screen control card test method provided in the present embodiment can be integrated into a test tool. The test tool can be installed in any server system, so that the test tool can be opened in the server system, and any display screen control card can be tested based on the display screen control card test method integrated in the test tool. In the process of applying the test tool, at least one target function test item can be determined from a variety of optional function test items, and the target instruction information corresponding to the target function test item can be obtained. Since the target display screen control card cannot recognize the data format of the target instruction information, the information can be formatted and converted to obtain functional test parameters executable by the target display screen control card.
[0032] S120. When the target display screen control card satisfies the communication connection state, the function test parameters are sent to the target display screen control card, so that the target display screen control card performs a function test corresponding to at least one target function test item based on the function test parameters.
[0033] Specifically, the test tool can detect whether the server system has established a communication connection with one or several display screen control cards (for example, a communication connection is established through a wireless local area network, a communication connection is established through a hardware connection device, etc.), and these display screen control cards are the target display screen control cards. If the target display screen control card has established a communication connection with the server system, it means that the target display screen control card meets the conditions of the communication connection state. At this time, the functional test parameters can be sent to the target display screen control card. After receiving these functional test parameters, the target display screen control card can perform functional tests corresponding to various target functional test items according to the test item data content carried in the functional test parameters, and generate test feedback information corresponding to various target functional test items.
[0034] Optionally, a specific implementation method of sending the functional test parameters to the target display screen control card may include: sending the functional test parameters to the target display screen control card based on basic communication information of the target display screen control card under the condition that the target display screen control card meets the communication connection state.
[0035] Among them, basic communication information refers to the basic information required for data transmission with the target display screen control card. Specifically, the basic communication information may include the communication address information, port information and communication mode information corresponding to the target display screen control card. The communication address information is used to characterize the IP address of the target display screen control card. For example, the communication address information can be expressed as "192.168.4.1"; the port information refers to the port through which the target display screen control card communicates data. For example, the port information can be expressed as "6101", where 6101 refers to the name of a port of the target display screen control card; the communication mode information refers to the mode through which the target display screen control card communicates data. For example, the communication mode information can be expressed as "udp", "tcp", etc.
[0036] Based on the above embodiment, optionally, based on the basic communication information of the target display screen control card, a specific implementation method of sending the functional test parameters to the target display screen control card may include:
[0037] S1. Under the condition that the target display screen control card meets the communication connection state, obtain the communication address information corresponding to the target display screen control card.
[0038] In this embodiment, when the target display screen control card has established a communication connection with the server system, the communication address information of the target display screen control card at the current moment can be obtained through a pre-configured communication address acquisition method. This is because the communication address information of the target display screen control card can change over time, based on which the communication address information corresponding to the target display screen control card can be dynamically acquired.
[0039] S2. Determine the port information and communication mode information corresponding to the target display screen control card according to the model information of the target display screen control card.
[0040] In this embodiment, the model information refers to the model to which the target display screen control card belongs. This is because in an actual production environment, display screen control cards with different application functions correspond to different models, and different models of display screen control cards correspond to different communication port information and communication mode information. Based on this, the model information of the target display screen control card can be used to query a pre-established mapping relationship table (the mapping relationship table pre-stores which model of display screen control card corresponds to which communication port information and communication mode information), and determine the port information and communication mode information corresponding to the target display screen control card.
[0041] S3. Based on the communication address information, port information and communication mode information, the function test parameters are sent to the target display screen control card.
[0042] In this embodiment, the target display control card to which the function test parameters are sent can be determined according to the communication address information, and the specific implementation method of sending the function test parameters to the target display control card can be determined according to the port information and the communication mode information. Thus, based on the communication address information, the port information and the communication mode information, the function test parameters can be sent to the target display control card.
[0043] S130, receiving test feedback information fed back by the target display screen control card, performing data analysis on the test feedback information to obtain a test analysis result, and determining a target test result corresponding to the target display screen control card based on the test analysis result.
[0044] The test feedback information is the feedback data generated by the target display screen control card after executing the functional test parameters corresponding to each target functional test item. The test analysis result refers to the test data content in the target data format obtained after analyzing the test feedback information in the first data format. The target test result is used to indicate whether a target functional test item has passed the test.
[0045] Specifically, after the target display screen control card has executed the functional test processing corresponding to each target functional test item, it can feed back the test feedback information to the test tool. After receiving the test feedback information, the test tool can parse and process the test feedback information based on the pre-configured data parsing algorithm, so that the test feedback information in the first data format can be converted into the test parsing result in the second data format. Among them, the difference between the first data format and the second data format is that the first data format is a data format that is not readable by the user, and the second data format is a data format that is readable by the user. Further, the test parsing results can be matched by a pre-set result matching algorithm. For example, if the "success" text is detected, it means that the target functional test item is executed successfully; if the "failure" text is detected, it means that the target functional test item is executed unsuccessfully; based on this, it can be determined whether each target functional test item corresponding to the target display screen control card is executed successfully, thereby obtaining the target test result corresponding to the target display screen control card.
[0046] On the basis of the above-mentioned embodiments, the test tool integrated with the test method of the display screen control card also has a log recording and analysis function and a display interface function. For the log recording and analysis function, the test tool has a built-in log system to automatically record the detailed information of each operation, including the operation time, instruction content, execution results, etc., which is convenient for subsequent review and troubleshooting. For the display interface function, the test tool provides a friendly and intuitive user interface, allowing users to easily configure test tasks, view test progress and results, improve operational convenience, visualize data results, and more intuitively reflect the operation of the control card.
[0047] The technical solution of the embodiment of the present invention generates functional test parameters corresponding to the target display screen control card based on the target instruction information corresponding to at least one target functional test item of the target display screen control card; thus, under the condition that the target display screen control card satisfies the communication connection state, the functional test parameters are sent to the target display screen control card, so that the target display screen control card performs a functional test corresponding to at least one target functional test item based on the functional test parameters, and further, receives the test feedback information fed back by the target display screen control card, performs data parsing processing on the test feedback information, obtains the test parsing result, and determines the target test result corresponding to the target display screen control card based on the test parsing result. The technical solution provided by this embodiment can automatically generate functional test parameters executable by the display screen control card according to the target instruction information corresponding to various functional test items of the display screen control card, so that the display screen control card can be automatically tested for functions, avoiding a large number of manual operation processes, not only improving the test efficiency of the display screen control card, but also improving the accuracy and reliability of the functional test of the display screen control card.
[0048] Embodiment 2
[0049] Figure 2 This is a flow chart of a display screen control card testing method provided by the second embodiment of the present invention. Based on the above embodiment, S110 is described in detail. The specific implementation method can refer to the detailed description of the embodiment of the present disclosure. The technical features that are the same or similar to the above embodiment are not repeated here.
[0050] like Figure 2 As shown, the display screen control card testing method includes:
[0051] S210: In response to a trigger operation for at least one to-be-selected test function item, determine target instruction information corresponding to at least one target function test item.
[0052] In this embodiment, the test tool may include a visual display page, in which a plurality of selectable test function items may be displayed, that is, at least one test function item to be selected. When a user triggers one or more of the test function items to be selected, the instruction information corresponding to the triggered test function items to be selected may be the target instruction information.
[0053] More specifically, optionally, in response to a trigger operation for at least one test function item to be selected, target instruction information corresponding to at least one target function test item is determined, including: in response to a trigger operation for at least one test function item to be selected, at least one target function test item is determined; and target instruction information corresponding to at least one target function test item is determined from a pre-set function test instruction set.
[0054] In this embodiment, the function test instruction set is a data set including various function test item instructions of various types of display screen control cards. The function test instruction set can be preconfigured. The generation method of the function test instruction set can include:
[0055] For at least one type of display screen control card, a test instruction subset corresponding to each type of display screen control card is generated based on the application layer protocol of the display screen control card; a functional test instruction set is constructed based on the test instruction subsets of the display screen control cards of various types.
[0056] The application layer protocol is the key part of the computer network that handles communication between applications and data transmission, enabling various network services to meet the different needs of users. The application layer protocol defines the types of messages exchanged, the syntax of message types, the semantics of fields, and the rules for when and how processes send messages and respond to messages.
[0057] In this embodiment, for display screen control cards of various models and types, the implementation method of generating the corresponding test instruction subset is consistent. In order to clearly introduce the present technical solution, the following can be introduced by taking one of the model types of display screen control cards as an example. The application layer protocol of the display screen control card predefines the interaction rules corresponding to various functional test items, and the instruction information corresponding to a variety of different functional test items can be pre-configured according to the application layer protocol. The collection of these instruction information is called a test instruction subset. Therefore, the test instruction subset corresponding to all model types of display screen control cards can be determined as a functional test instruction set.
[0058] For example, for a certain type of display screen control card, a corresponding subset of test instructions is shown in Table 2.
[0059]
[0060] On the basis of the above embodiment, when the user triggers the test function items to be selected displayed on the visual display page of the test tool, the triggered one or more test function items to be selected are target function test items. On the basis of determining the target function test items, the target instruction information corresponding to the target function test items can be found from the pre-configured function test instruction set according to the model identification information of the target display screen control card and the test item identification information of the target function test items.
[0061] S220: Convert the target instruction information into target format data executable by the target display screen control card, and obtain function test parameters corresponding to the target display screen control card.
[0062] The target format data is format data that can be recognized and executed by the target display screen control card.
[0063] In the specific implementation process, the target instruction information can be converted through a pre-configured data format conversion algorithm to obtain target format data executable by the target display screen control card. These target format data are the functional test parameters corresponding to the target display screen control card.
[0064] S230: When the target display screen control card satisfies the communication connection state, the function test parameters are sent to the target display screen control card, so that the target display screen control card performs a function test corresponding to at least one target function test item based on the function test parameters.
[0065] S240, receiving test feedback information fed back by the target display screen control card, performing data analysis on the test feedback information to obtain a test analysis result, and determining a target test result corresponding to the target display screen control card based on the test analysis result.
[0066] The technical solution of the embodiment of the present invention, when generating functional test parameters corresponding to the target display screen control card, responds to a trigger operation for at least one test function item to be selected, determines at least one target functional test item; converts target instruction information into target format data executable by the target display screen control card, and obtains functional test parameters corresponding to the target display screen control card. The user can automatically generate functional test parameters executable by the display screen control card only through simple interactive operations, thereby further improving the testing efficiency of the display screen control card.
[0067] Embodiment 3
[0068] Figure 3 This is a schematic diagram of the structure of a display screen control card testing device provided by an embodiment of the present invention. The device includes: a test parameter determination module 310 , a test parameter sending module 320 and a feedback information receiving module 330 .
[0069] The test parameter determination module 310 is used to generate a functional test parameter corresponding to the target display screen control card based on the target instruction information corresponding to at least one target functional test item of the target display screen control card;
[0070] A test parameter sending module 320 is used to send the function test parameter to the target display screen control card under the condition that the target display screen control card meets the communication connection state, so that the target display screen control card performs a function test corresponding to the at least one target function test item based on the function test parameter;
[0071] The feedback information receiving module 330 is used to receive the test feedback information fed back by the target display screen control card, perform data analysis on the test feedback information, obtain a test analysis result, and determine a target test result corresponding to the target display screen control card based on the test analysis result.
[0072] Based on the above device, optionally, the target function test items include at least one of a program sending function, a firmware upgrade function, a scheduled task function, a device status query function and a button trigger function.
[0073] Based on the above device, optionally, the test parameter determination module 310 includes:
[0074] A target instruction determination unit, configured to determine target instruction information corresponding to at least one target function test item in response to a trigger operation for at least one test function item to be selected;
[0075] The test parameter determination unit is used to convert the target instruction information into target format data executable by the target display screen control card to obtain function test parameters corresponding to the target display screen control card.
[0076] Based on the above-mentioned device, optionally, a target instruction determination unit is specifically used to determine at least one target function test item in response to a trigger operation for at least one test function item to be selected; and determine the target instruction information corresponding to the at least one target function test item from a pre-set function test instruction set.
[0077] On the basis of the above-mentioned device, optionally, the target instruction determination unit also includes: a test instruction set determination subunit; the test instruction set determination subunit is specifically used to generate a test instruction subset corresponding to each model type of display screen control card for at least one model type of display screen control card based on the application layer protocol of the display screen control card; and a functional test instruction set is constructed based on the test instruction subsets of the various model types of display screen control cards.
[0078] On the basis of the above-mentioned device, optionally, a test parameter sending module 320 is specifically used to send the functional test parameters to the target display screen control card based on the basic communication information of the target display screen control card under the condition that the target display screen control card meets the communication connection state; wherein the basic communication information includes communication address information, port information and communication mode information.
[0079] Based on the above device, optionally, the test parameter sending module 320 includes:
[0080] A communication address acquisition unit, used to acquire the communication address information corresponding to the target display screen control card under the condition that the target display screen control card meets the communication connection state;
[0081] A communication mode determining unit, used to determine the port information and the communication mode information corresponding to the target display screen control card according to the model information of the target display screen control card;
[0082] A test parameter sending unit is used to send the function test parameter to the target display screen control card based on the communication address information, the port information and the communication mode information.
[0083] The technical solution of the embodiment of the present invention generates functional test parameters corresponding to the target display screen control card based on the target instruction information corresponding to at least one target functional test item of the target display screen control card; thus, under the condition that the target display screen control card satisfies the communication connection state, the functional test parameters are sent to the target display screen control card, so that the target display screen control card performs a functional test corresponding to at least one target functional test item based on the functional test parameters, and further, receives the test feedback information fed back by the target display screen control card, performs data parsing processing on the test feedback information, obtains the test parsing result, and determines the target test result corresponding to the target display screen control card based on the test parsing result. The technical solution provided by this embodiment can automatically generate functional test parameters executable by the display screen control card according to the target instruction information corresponding to various functional test items of the display screen control card, so that the display screen control card can be automatically tested for functions, avoiding a large number of manual operation processes, not only improving the test efficiency of the display screen control card, but also improving the accuracy and reliability of the functional test of the display screen control card.
[0084] The display screen control card testing device provided in the embodiment of the present invention can execute the display screen control card testing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0085] It is worth noting that the various units and modules included in the above system are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.
[0086] Embodiment 4
[0087] Figure 4 The present invention is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 4 A block diagram of an exemplary electronic device 40 suitable for implementing exemplary embodiments of the present invention is shown. Figure 4The electronic device 40 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0088] like Figure 4 As shown, the electronic device 40 is in the form of a general computing device. The components of the electronic device 40 may include but are not limited to: one or more processors or processing units 401, a system memory 402, and a bus 403 connecting different system components (including the system memory 402 and the processing unit 401).
[0089] Bus 403 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.
[0090] The electronic device 40 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 40, including volatile and non-volatile media, removable and non-removable media.
[0091] System memory 402 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 404 and / or cache memory 405. Electronic device 40 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 406 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4 not shown, usually called a "hard drive"). Although Figure 4 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 403 via one or more data medium interfaces. Memory 402 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of various embodiments of the present invention.
[0092] A program / utility 408 having a set (at least one) of program modules 407 may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 407 generally perform the functions and / or methods of the embodiments described herein.
[0093] The electronic device 40 may also communicate with one or more external devices 409 (e.g., keyboards, pointing devices, displays 810, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 40, and / or may communicate with any device that enables the electronic device 40 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 411. Furthermore, the electronic device 40 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 412. As shown, the network adapter 412 communicates with other modules of the electronic device 40 via the bus 403. It should be understood that although Figure 4 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 40, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0094] The processing unit 401 executes various functional applications and page processing by running the programs stored in the system memory 402, for example, implementing the display screen control card testing method provided in the embodiment of the present invention.
[0095] Embodiment 5
[0096] An embodiment of the present invention further provides a storage medium containing computer executable instructions, which are used to execute a display screen control card testing method when executed by a computer processor. The method includes:
[0097] Based on target instruction information corresponding to at least one target functional test item of the target display screen control card, generating a functional test parameter corresponding to the target display screen control card;
[0098] Under the condition that the target display screen control card meets the communication connection state, the function test parameter is sent to the target display screen control card, so that the target display screen control card performs a function test corresponding to the at least one target function test item based on the function test parameter;
[0099] The test feedback information fed back by the target display screen control card is received, and data parsing processing is performed on the test feedback information to obtain a test parsing result, so as to determine a target test result corresponding to the target display screen control card based on the test parsing result.
[0100] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0101] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0102] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0103] Computer program code for performing the operation of embodiments of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0104] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A display screen control card testing method, characterized in that: include: Based on target instruction information corresponding to at least one target functional test item of the target display screen control card, generating a functional test parameter corresponding to the target display screen control card; Under the condition that the target display screen control card meets the communication connection state, the function test parameter is sent to the target display screen control card, so that the target display screen control card performs a function test corresponding to the at least one target function test item based on the function test parameter; The test feedback information fed back by the target display screen control card is received, and data parsing processing is performed on the test feedback information to obtain a test parsing result, so as to determine a target test result corresponding to the target display screen control card based on the test parsing result.
2. The method according to claim 1, characterized in that The target function test items include at least one of a program sending function item, a firmware upgrade function item, a scheduled task function item, a device status query function item, and a button trigger function item.
3. The method according to claim 1, characterized in that The target instruction information corresponding to at least one target functional test item of the target display screen control card is used to generate a functional test parameter corresponding to the target display screen control card, including: In response to a trigger operation for at least one to-be-selected test function item, determining target instruction information corresponding to at least one target function test item; The target instruction information is converted into target format data executable by the target display screen control card to obtain function test parameters corresponding to the target display screen control card.
4. The method according to claim 3, characterized in that The step of determining target instruction information corresponding to at least one target function test item in response to a trigger operation on at least one to-be-selected test function item includes: In response to a triggering operation for at least one to-be-selected test function item, determining at least one target function test item; Target instruction information corresponding to the at least one target functional test item is determined from a preset functional test instruction set.
5. The method according to claim 1 or 4, characterized in that: The method further comprises: generating a functional test instruction set, comprising: For at least one type of display screen control card, based on the application layer protocol of the display screen control card, generate a test instruction subset corresponding to each type of display screen control card; The test instruction subsets based on the display screen control cards of various types constitute a functional test instruction set.
6. The method according to claim 1, characterized in that The step of sending the function test parameters to the target display screen control card under the condition that the target display screen control card meets the communication connection state comprises: Under the condition that the target display screen control card meets the communication connection state, the function test parameters are sent to the target display screen control card based on the basic communication information of the target display screen control card; wherein the basic communication information includes communication address information, port information and communication mode information.
7. The method according to claim 6, characterized in that The step of sending the functional test parameters to the target display screen control card based on the basic communication information of the target display screen control card comprises: Under the condition that the target display screen control card meets the communication connection state, obtaining the communication address information corresponding to the target display screen control card; Determine the port information and the communication mode information corresponding to the target display screen control card according to the model information of the target display screen control card; Based on the communication address information, the port information and the communication mode information, the function test parameters are sent to the target display screen control card.
8. A display screen control card testing device, characterized in that: The device includes: A test parameter determination module, configured to generate a functional test parameter corresponding to a target display screen control card based on target instruction information corresponding to at least one target functional test item of the target display screen control card; A test parameter sending module, used for sending the function test parameters to the target display screen control card under the condition that the target display screen control card meets the communication connection state, so that the target display screen control card performs a function test corresponding to the at least one target function test item based on the function test parameters; The feedback information receiving module is used to receive the test feedback information fed back by the target display screen control card, perform data analysis on the test feedback information, obtain a test analysis result, and determine a target test result corresponding to the target display screen control card based on the test analysis result.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and A memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the display screen control card testing method described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the display screen control card testing method according to any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
LED control card testing system and method
CN103995765A
Display panel testing system, control method and air conditioner
CN108711391A
Automated test method and device, test equipment and storage medium
CN109062178A
Test method, test device and test equipment for LED display screen control card, and storage medium
CN111767177A
Board card testing method and device, electronic equipment and storage medium
CN114385431A