Portable load management terminal field debugging method, device, equipment and medium
Through the on-site debugging device of the portable load management terminal, the use of touch screen, multiple protection power supply modules, microprocessors and other components, the problems of low debugging efficiency and high cost in the existing technology are solved, and efficient and low-cost debugging and testing are achieved.
Patent Information
- Application Number
- CN202411637501.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-06-03
AI Technical Summary
When debugging new load management terminals in the power industry, the existing electronic terminal detection devices occupy a lot of resources and are inefficient, resulting in high detection work costs.
It provides a portable load management terminal field debugging device, including a touch screen, a multi-protect power supply module, a microprocessor, an electrical protection module, a key remote acquisition module and a communication chip. Through the coordinated work of these components, efficient debugging of the new load management terminal is achieved.
By optimizing resource configuration and automated testing processes, the device significantly improves debugging efficiency, reduces detection costs, and can quickly conduct functional testing and verification of new load management terminals.
Smart Images

Figure CN120086116A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of terminal testing, and specifically relates to a method, device, equipment and medium for on-site debugging of a portable load management terminal. Background Art
[0002] In existing power industry electronic terminal detection devices, which are important tools for testing and evaluating the performance of electronic and communication equipment, they play a key role in ensuring equipment quality and communication stability. These devices usually have specific technical indicators and functions to meet different test requirements. They have characteristics such as multi-channel, high bandwidth, adjustable sampling rate, etc.
[0003] However, the debugging devices in the existing solutions have the problems of occupying a lot of resources: currently, debugging a new type of load management terminal will occupy a lot of power resources and human resources, and the efficiency is often limited, resulting in high costs for related detection work and low efficiency during detection. Summary of the Invention
[0004] Embodiments of the present application provide a method, device, equipment and medium for on-site debugging of a portable load management terminal to solve the above technical problems.
[0005] In a first aspect of embodiments of the present application, a device for on-site debugging of a portable load management terminal is provided. The device includes: a touch screen, a multi-protection power supply module, a microprocessor, an electrical protection module, a key remote acquisition module and a communication chip, where,
[0006] The microprocessor is communicatively connected to the touch screen, the multi-protection power supply module, the electrical protection module, the key remote acquisition module and the communication chip;
[0007] The multi-protection power supply module is connected to the touch screen and the communication chip, and the multi-protection power supply module is used to supply power to the touch screen, the communication chip and the microprocessor;
[0008] The communication chip is connected to the electrical protection module, and the communication chip is used to send a test command received from the microprocessor to the new type of load management terminal, and send a test result received from the new type of load management terminal to the microprocessor;
[0009] The microprocessor obtains a remote pair key from a server through the key remote acquisition module, and performs identity authentication on the new type of load management terminal according to the remote pair key; the microprocessor displays the test result through the touch screen.
[0010] In a possible implementation, before the key remote acquisition module acquires the remote pair key from the server, the communication chip is used to establish a secure communication channel with the server;
[0011] Specifically, the communication chip is used to establish a secure communication channel with the server through the handshake process of the Transport Layer Security (TLS) protocol.
[0012] The second aspect of the embodiments of the present application provides a method for on-site debugging of a portable load management terminal, which is applied to the on-site debugging device of the portable load management terminal as described in any one of the first aspects. The method includes:
[0013] Obtain the attribute information of the new load management terminal and the test environment information where the new load management terminal is located;
[0014] Determine an initial test case set according to the attribute information;
[0015] Determine a target test case set according to the test environment information and the initial test case set;
[0016] Perform a test process on the new load management terminal by using the target test case set to obtain a test result;
[0017] Display the test result.
[0018] In this example, by obtaining the attribute information of the new load management terminal and the test environment information where the new load management terminal is located; determining an initial test case set according to the attribute information; determining a target test case set according to the test environment information and the initial test case set; performing a test process on the new load management terminal by using the target test case set to obtain a test result; and displaying the test result, it is possible to perform a test process on the new load management terminal by using the automatically generated test case set, obtain a test result and display it, thereby improving the efficiency when testing the new load management terminal.
[0019] In a possible implementation, the determining the initial test case set according to the attribute information includes:
[0020] Determine the port information to be tested according to the attribute information;
[0021] Determine the test function information according to the port information to be tested;
[0022] Determine the initial test case set according to the test port information and the test function information.
[0023] In a possible implementation, determining the target test case set according to the test environment information and the initial test case set includes:
[0024] Determine the test type information according to the test environment information;
[0025] Determine a reference test case set from the initial test case set according to the test type information;
[0026] Obtain the target test fitness when the reference test case set tests the new type of load management terminal;
[0027] If the target test fitness is lower than the preset test fitness threshold, determine the attribute adjustment information and expected result adjustment information of the test cases according to the test environment information;
[0028] Adjust the reference test cases in the reference test case set by using the attribute adjustment information and expected result adjustment information to obtain the target test case set.
[0029] In a possible implementation, obtaining the test fitness when the reference test case set tests the new type of load management terminal includes:
[0030] Perform clustering processing on the test purposes of the reference test cases in the reference test case set to obtain the target test purpose;
[0031] Obtain the similarity between the target test purpose and the expected test purpose of the new type of load management terminal;
[0032] Determine the similarity as the test fitness.
[0033] In a possible implementation, presenting the test result includes:
[0034] Generate an automated test report according to the test result;
[0035] Present the automated test report.
[0036] In a possible implementation, the method further includes;
[0037] If there are abnormal test items in the test result, obtain the abnormal ports corresponding to the abnormal test items and the abnormal test information corresponding to the abnormal test items;
[0038] Determine the abnormal factor according to the abnormal test information and the port attribute information of the abnormal port;
[0039] Present the abnormal factor.
[0040] The second aspect of the embodiments of the present application provides a business product determination device, which includes:
[0041] A first acquisition unit, configured to acquire product requirement information of a user, where the product requirement information includes function information of a target business product;
[0042] A second acquisition unit, configured to obtain a preset product acquisition function module group, where the function module group includes at least one functionally independent function module;
[0043] A determination unit, configured to determine one or more function modules matching the product requirement information in the function module group according to the product requirement information, and generate the target business product based on the one or more function modules.
[0044] The third aspect of the embodiments of the present application provides an electronic device, including a processor, an input device, an output device, and a memory. The processor, the input device, the output device, and the memory are interconnected. Wherein, the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the step instructions as described in the second aspect of the embodiments of the present application.
[0045] The fourth aspect of the embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute some or all of the steps described in the second aspect of the embodiments of the present application.
[0046] The fifth aspect of the embodiments of the present application provides a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute some or all of the steps described in the second aspect of the embodiments of the present application. The computer program product can be a software installation package. Description of the Drawings
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0048] Figure 1 FIG. provides a structural schematic diagram of a field commissioning device for a portable load management terminal provided by the embodiments of the present application;
[0049] Figure 2This application provides a flow schematic diagram of a field commissioning method for a portable load management terminal;
[0050] Figure 3 This application provides a structural schematic diagram of another field commissioning device for a portable load management terminal. Detailed implementation manners
[0051] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0052] The terms "first", "second", etc. in the specification and claims of the present application and the above accompanying drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.
[0053] Referring to "embodiments" in the present application means that specific features, structures, or characteristics described in conjunction with the embodiments may be included in at least one embodiment of the present application. The phrase appears in various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described in the present application may be combined with other embodiments.
[0054] The field commissioning method for a portable load management terminal is applied to a field commissioning device for a portable load management terminal. Figure 1 A structural schematic diagram of a field commissioning device for a portable load management terminal is shown. As Figure 1 shown, the device includes: a touch screen 1, a multi-protection power supply module 2, a microprocessor 3, an electrical protection module 4, a key remote acquisition module 5, and a communication chip 6, where
[0055] The microprocessor 3 is communicatively connected to the touch screen, the multi-protection power supply module 2, the electrical protection module 4, the key remote acquisition module 5, and the communication chip 6;
[0056] The multiple protection power supply module 2 is connected to the touch screen 1 and the communication chip 6, and the multiple protection power supply module 2 is used to supply power to the touch screen 1, the communication chip 6 and the microprocessor 3;
[0057] The communication chip 6 is connected to the electrical protection module 4, and the communication chip 6 is used to send a test command received from the microprocessor 3 to the new load management terminal, and send a test result received from the new load management terminal to the microprocessor 3;
[0058] The microprocessor 3 remotely obtains a remote pair key from the server through the key remote acquisition module 5, and authenticates the identity of the new load management terminal according to the remote pair key; the microprocessor 3 displays the test result through the touch screen.
[0059] Wherein, before the key remote acquisition module 5 obtains the remote pair key from the server, the communication chip 6 is used to build a secure communication channel with the server; specifically, the communication chip 6 is used to build a secure communication channel with the server through the Transport Layer Security (TLS) handshake process.
[0060] After determining the target test case set, the microprocessor 3 can generate a test command.
[0061] This on-site debugging device for portable load management terminals has functions such as on-site testing and verifying the remote control, remote signaling, remote measurement and communication of new load management terminals, enabling on-site staff to quickly carry out function testing and verification of new load management terminals under the condition of reliable test methods and results.
[0062] The core of the on-site debugging device for portable load management terminals is a high-performance microprocessor 3 (MCU) as the main control part, which is responsible for controlling each electronic component, calculating, editing, sending and analyzing received data. The on-site debugging device for portable load management terminals communicates with the new load management terminal through the RS485 communication method, and uses a dedicated RS485 communication chip as the communication chip inside. Through special circuit design, the accuracy and stability of communication are guaranteed, and the anti-interference ability is strong. A capacitive touch screen 1 is selected and equipped to provide the operator with function selection and information display. The screen has good hardware design and is manufactured using high-end materials and special processes to ensure sufficient brightness, clear display content, and not easy to damage, fully considering the outdoor use requirements.
[0063] After connecting the on-site debugging device of the portable load management terminal and the new load management terminal with a 485 wire, the operator selects various functions by clicking on the touch screen 1. The on-site debugging device of the portable load management terminal sends corresponding data command lines to the terminal and reads, identifies, and analyzes the information returned from the terminal, and displays the analysis results on the screen according to the returned data. To meet the portable outdoor use requirements of the on-site debugging device of the portable load management terminal, during the PCB design of the internal circuit board of the device, efforts are made to ensure electrical stability. Electrical protection measures are designed for the power supply, signal, etc. to ensure normal operation in different outdoor use environments. At the same time, the size is compressed through the special multi-layer PCB circuit design to ensure that the size of the device is controlled within a reasonable range to meet the portable requirements. The integrated software code in the on-site debugging device of the portable load management terminal, while meeting the basic functions such as MCU and RS485 communication, uses a real-time operating system design to ensure high operating efficiency of the application layer software and enables efficient and smooth RS485 communication with the new load management terminal.
[0064] To ensure security, the on-site debugging device of the portable load management terminal can adapt to the South China Power Grid protocol to decrypt the terminal, and can remotely obtain and control the key through connection to the server to implement encryption and decryption operations, which involves multiple steps such as identity authentication, establishment of a secure channel, key distribution, decryption, and storage. The device will cooperate with identity verification to ensure that all parties in the key distribution process are trustworthy. The device and the server usually use a key infrastructure for identity verification. Each terminal corresponds to a pair of keys, which are signed by the CA (Certificate Authority) to generate a digital certificate. The digital certificate contains the public key of the device, and the signature by the certificate authority can guarantee the authenticity of the public key. The on-site debugging device of the portable load management terminal and the server establish a secure communication channel through the handshake process of the Transport Layer Security protocol. During the handshake process, both parties encrypt the key material through a dedicated protocol and securely negotiate a shared session key for subsequent communication encryption. After the secure channel is established, the server generates a new symmetric key for the device to use in subsequent decryption and encryption operations (such as the AES key). After receiving the encrypted key, the on-site debugging device of the portable load management terminal decrypts and stores it, and the on-site debugging device of the portable load management terminal stores the decrypted key in the secure storage chip (not shown) of the hardware security module (HSM) to prevent the key from being illegally obtained.
[0065] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of a method for on-site debugging of a portable load management terminal provided by an embodiment of this application. As Figure 2 shown, this method is applied to the on-site debugging device of the portable load management terminal, and this method includes:
[0066] 201. Obtain the attribute information of the new load management terminal and the test environment information where the new load management terminal is located.
[0067] Among them, the attribute information includes remote control attribute information, telemetry signal attribute information, telemetry attribute information, communication attribute information, etc. The test environment information can be understood as the current operating environment of the new load management terminal, etc. Due to the differences in the operating environment, there may be different requirements for the new load management terminal. Therefore, during testing, targeted testing can be carried out according to the specific application environment.
[0068] 202. Determine the initial test case set according to the attribute information.
[0069] Corresponding sub-test case sets can be extracted from the database according to the remote control attribute information, telemetry signal attribute information, telemetry attribute information, communication attribute information, etc. Finally, the union of the sub-test case sets is determined as the initial test case set. Different attribute information can correspond to multiple test cases, and the test cases corresponding to each attribute information are stored in the database. Therefore, the sub-test case sets corresponding to the attribute information can be extracted from the database.
[0070] Specifically, it can be to determine the corresponding port information to be tested according to the attribute information, and determine the initial test case set according to the test function information and the port information to be tested determined by the port information to be tested. For example, the remote control attribute information has its corresponding test port, and the telemetry signal attribute information has its corresponding port, etc.
[0071] 203. Determine the target test case set according to the test environment information and the initial test case set.
[0072] Among them, the test type information can be determined according to the test environment information, and then the reference test case set can be determined from the initial test case set according to the test type information. Then, the target test fitness between the reference test case set and the new load management terminal is extracted. When the target test fitness is lower than the preset fitness threshold, the reference test cases in the reference test case set are adjusted to obtain the target test case set. When the target test fitness is greater than the preset fitness threshold, the reference test case set is determined as the target test case set.
[0073] 204. Use the target test case set to perform test processing on the new load management terminal to obtain a test result.
[0074] The target test case set can be used to test the new load management terminal in a sequential test manner to obtain a test result. Specifically, for example, the test cases for the same test port in the target test case set can be sorted to obtain a sorting sequence, and then the test ports can be tested according to the order of the sequence, and finally the test result can be obtained.
[0075] 205. Display the test result.
[0076] An automated test report can be generated according to the test result, and finally the automated test report can be displayed.
[0077] In this example, by obtaining the attribute information of the new load management terminal and the test environment information where the new load management terminal is located; determining an initial test case set according to the attribute information; determining a target test case set according to the test environment information and the initial test case set; using the target test case set to test the new load management terminal to obtain a test result; and displaying the test result, it is possible to use the automatically generated test case set to test the new load management terminal to obtain and display the test result, thereby improving the efficiency of testing the new load management terminal.
[0078] In a possible implementation manner, a method for determining an initial test case set according to the attribute information includes:
[0079] A1. Determine the port information to be tested according to the attribute information;
[0080] A2. Determine the test function information according to the port information to be tested;
[0081] A3. Determine the initial test case set according to the test port information and the test function information.
[0082] Among them, the attribute information includes remote control attribute information, telemetry signal attribute information, telemetry attribute information, communication attribute information, etc. Then, the corresponding port information to be tested can be determined respectively according to the category of the attribute information. Specifically, for example, if the remote control attribute information has its corresponding port, the attribute information of the port corresponding to the remote control attribute information can be determined as the port information to be tested.
[0083] Since different ports have their corresponding test function information, the test function information corresponding to the port information to be tested can be extracted. The test function information can be understood as the function that the port to be tested needs to implement when testing the port. Specifically, for example, if the port information to be tested is the test port information corresponding to the communication attribute information, the test function information at this time can be whether the port to be tested can communicate, and the specific communication rate and communication stability during communication, etc.
[0084] A set of test cases can be extracted from the database according to the test port information, and then the initial test cases can be extracted from this set of test cases according to the test function information to obtain the initial set of test cases. The initial test cases are test cases that match the test function information. For example, if the test function information is the rate during communication of the port to be tested, then the initial test cases can be test cases for performing communication rate tests, etc.
[0085] In this example, the information of the port to be tested is determined through the attribute information, and then the initial set of test cases is determined by combining the test function information determined by the information of the port to be tested, improving the accuracy when determining the initial set of test cases.
[0086] In a possible implementation manner, a method for determining a target set of test cases according to the test environment information and the initial set of test cases includes:
[0087] B1. Determine the test type information according to the test environment information;
[0088] B2. Determine a set of reference test cases from the initial set of test cases according to the test type information;
[0089] B3. Obtain the target test fit degree when the set of reference test cases tests the new type of load management terminal;
[0090] B4. If the target test fit degree is lower than the preset test fit degree threshold, then determine the attribute adjustment information and expected result adjustment information of the test cases according to the test environment information;
[0091] B5. Adjust the reference test cases in the set of reference test cases by using the attribute adjustment information and expected result adjustment information to obtain the target set of test cases.
[0092] Among them, different test environment information corresponds to different test type information. Specifically, it can be understood that due to different test environments, the test focuses of the test environments are also different, so the type information of the test environment can be judged according to the test focus information of the test environment. The test focus information can be understood as that for the same new type of load management terminal, there is a core function corresponding to the test environment, and then the test content corresponding to this core function can be understood as the test focus information.
[0093] For the test focus information, test cases with a relatively high matching degree can be determined from the initial set of test cases to obtain the reference test cases. A relatively high matching degree can be understood as a matching degree higher than the preset matching degree threshold, and the preset matching degree threshold is set through empirical values or historical data.
[0094] The test purposes in the reference test case set can be clustered to obtain the target test purpose, and the similarity between the target test purpose and the expected test purpose of the new load management terminal is determined as the test fit degree.
[0095] The preset test fit degree threshold is set through empirical values or historical data. The method for determining the attribute adjustment information and the expected result adjustment information of the test case according to the test environment information can be:
[0096] The corresponding test request text and test expected result can be determined according to the test environment information; the attribute adjustment information and the expected result adjustment information of the test case are determined according to the test request text and the test expected result. Specifically, the difference information is extracted from the test request text and the test expected result and the corresponding test request text and test expected result of the reference test case to obtain the difference information, and the attribute adjustment information and the expected result adjustment information are determined according to the difference information. Specifically, the difference information can be determined as the attribute adjustment information and the expected result adjustment information.
[0097] The attribute adjustment information and the expected result adjustment information corresponding to the reference test case are fused to obtain the target test case, and finally the test request text and the test expected result of the target test case are consistent with the test request text and the test expected result corresponding to the test environment.
[0098] In this example, after the reference test case set is determined, the target test fit degree corresponding to the reference test case set is extracted. After the target test fit degree is lower than the preset test fit degree threshold, the attribute adjustment information and the expected result adjustment information of the test case are determined according to the test environment information, and the reference test cases in the reference test case set are adjusted by using the attribute adjustment information and the expected result adjustment information to obtain the target test case set, so that there is no need to reconstruct new test cases, and only the original test cases need to be adjusted to obtain the actually available target test cases, which improves the efficiency when obtaining the target test cases.
[0099] In a possible implementation manner, a method for obtaining the test fit degree when using the reference test case set to test the new load management terminal includes:
[0100] C1. Clustering the test purposes of the reference test cases in the reference test case set to obtain the target test purpose;
[0101] C2. Obtaining the similarity between the target test purpose and the expected test purpose of the new load management terminal;
[0102] C3. Determining the similarity as the test fit degree.
[0103] Among them, a general clustering processing method can be used to cluster the test purposes of the reference test cases to obtain the target test purposes. Thus, the similarity can be obtained. Specifically, the semantic information corresponding to the target test purpose can be extracted, and the similarity can be extracted between the semantic information corresponding to the target test purpose and the semantic information corresponding to the expected test purpose to obtain the corresponding similarity, and this similarity is determined as the test fit.
[0104] In a possible implementation manner, a method for displaying the test results includes: generating an automated test report according to the test results; and displaying the automated test report.
[0105] Among them, an automated test report generation template can be used to generate an automated test report according to the test results. The automated test report can be displayed on the touch screen 1.
[0106] In a possible implementation manner, anomaly detection can also be performed, specifically as follows:
[0107] E1 If there are abnormal test items in the test results, obtain the abnormal ports corresponding to the abnormal test items and the abnormal test information corresponding to the abnormal test items;
[0108] E2 Determine the anomaly factor according to the abnormal test information and the port attribute information of the abnormal port;
[0109] E3 Display the anomaly factor.
[0110] Among them, the test results record the abnormal test items, as well as their corresponding abnormal ports and abnormal test information. Thus, the abnormal ports and abnormal test information can be directly extracted from the test results.
[0111] The anomaly factor can be determined through a preset anomaly factor determination model. Specifically, the abnormal test information and the port attribute information of the abnormal port can be input into the preset anomaly factor determination model for arithmetic processing to obtain the anomaly factor. The preset anomaly factor determination model is a model that has been pre-trained for anomaly factor determination.
[0112] In a specific implementation manner, the embodiment of the present application also provides another on-site debugging device for a portable load management terminal. As Figure 3 shown, the on-site debugging device for a portable load management terminal includes a housing 10, a 458 communication interface 11, a power button 12, a DC power port 13, and a touch screen 14. The 458 communication interface 11, the power button 12, the DC power port 13, and the touch screen 14 are arranged on the outer side of the housing 10.
[0113] Consistent with the above embodiments, an electronic device provided in an embodiment of the present application includes a processor, an input device, an output device, and a memory. The processor, the input device, the output device, and the memory are interconnected. Among them, the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions. The above program includes instructions for performing the following steps;
[0114] Obtain the attribute information of the new load management terminal and the test environment information where the new load management terminal is located;
[0115] Determine an initial test case set according to the attribute information;
[0116] Determine a target test case set according to the test environment information and the initial test case set;
[0117] Use the target test case set to perform a test process on the new load management terminal to obtain a test result;
[0118] Display the test result.
[0119] The above mainly introduces the solution of the embodiment of the present application from the perspective of the execution process on the method side. It can be understood that in order for the terminal to implement the above functions, it includes the corresponding hardware structure and / or software module for executing each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments provided in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0120] An embodiment of the present application also provides a computer storage medium. Among them, the computer storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to execute some or all of the steps of any one of the on-site debugging methods of the portable load management terminal described in the above method embodiments.
[0121] An embodiment of the present application also provides a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program enables the computer to execute some or all of the steps of any one of the on-site debugging methods of the portable load management terminal described in the above method embodiments.
[0122] It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that this application is not limited by the described action sequence, because according to this application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0123] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0124] In several embodiments provided by this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical or other forms.
[0125] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0126] In addition, the functional units in the respective embodiments of the application can be integrated in one processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software program modules.
[0127] When the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, read-only memories (ROM), random access memories (RAM), mobile hard disks, magnetic disks, or optical discs.
[0128] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program. This program can be stored in a computer-readable memory, and the memory can include: flash drives, read-only memories, random access memories, magnetic disks, or optical discs, etc.
[0129] The above has introduced the embodiments of this application in detail. Specific examples are used in this article to elaborate on the principle and implementation manner of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to this application.
Claims
1. A portable load management terminal on-site debugging device, characterized in that: The device includes: a touch screen, a multi-protection power supply module, a microprocessor, an electrical protection module, a key remote acquisition module and a communication chip, wherein: The microprocessor is in communication connection with the touch screen, the multi-protection power supply module, the electrical protection module, the key remote acquisition module and the communication chip; The multi-protection power supply module is connected to the touch screen and the communication chip, and the multi-protection power supply module is used to supply power to the touch screen, the communication chip and the microprocessor; The communication chip is connected to the electrical protection module, and the communication chip is used to send the test command received from the microprocessor to the new load management terminal, and send the test result received from the new load management terminal to the microprocessor; The microprocessor obtains a remote key pair from a server through the key remote acquisition module, and performs identity authentication on the new load management terminal according to the remote key pair; the microprocessor displays the test result through the touch screen.
2. The portable load management terminal on-site debugging device according to claim 1 is characterized in that: Before the key remote acquisition module acquires the remote key from the server, the communication chip is used to establish a secure communication channel with the server; The communication chip is specifically used to establish a secure communication channel with the server through a transport layer security protocol handshake process.
3. A portable load management terminal on-site debugging method, characterized in that: Applied to the portable load management terminal on-site debugging device according to claim 1 or 2, the method comprises: Acquire attribute information of the new load management terminal and test environment information of the new load management terminal; Determine an initial test case set according to the attribute information; Determining a target test case set according to the test environment information and the initial test case set; Using the target test case set to test the new load management terminal, and obtain test results; The test results are presented.
4. The on-site debugging method of the portable load management terminal according to claim 3 is characterized in that: The determining of an initial test case set according to the attribute information comprises: Determine the port information to be tested according to the attribute information; Determine test function information according to the port information to be tested; An initial test case set is determined according to the test port information and the test function information.
5. The on-site debugging method of the portable load management terminal according to claim 4, characterized in that: The step of determining a target test case set according to the test environment information and the initial test case set includes: Determine test type information according to the test environment information; Determining a reference test case set from the initial test case set according to the test type information; Obtaining target test compliance when the reference test case set is used to test the new load management terminal; If the target test compatibility is lower than a preset test compatibility threshold, determining the property adjustment information and the expected result adjustment information of the test case according to the test environment information; The attribute adjustment information and the expected result adjustment information are used to adjust the reference test cases in the reference test case set to obtain the target test case set.
6. The on-site debugging method of the portable load management terminal according to claim 5, characterized in that: The obtaining of the test compliance of the reference test case set when testing the new load management terminal includes: Clustering the test objectives of the reference test cases in the reference test case set to obtain a target test objective; Obtaining a similarity between the target test purpose and an expected test purpose of the new load management terminal; The similarity is determined as the test fit.
7. The on-site debugging method of a portable load management terminal according to any one of claims 3 to 6, characterized in that: The display of the test results includes: Generate an automated test report based on the test results; The automated test report is displayed.
8. The on-site debugging method of the portable load management terminal according to claim 7, characterized in that: The method further comprises: If there is an abnormal test item in the test result, obtaining an abnormal port corresponding to the abnormal test item and abnormal test information corresponding to the abnormal test item; Determine an abnormal factor according to the abnormal test information and the port attribute information of the abnormal port; The abnormal factor is displayed.
9. An electronic device, characterized in that: It includes a processor, an input device, an output device and a memory, which are interconnected, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the on-site debugging method of the portable load management terminal as described in any one of claims 3-8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the on-site debugging method for a portable load management terminal according to any one of claims 3 to 8.