Intelligent terminal aging test method, device, equipment and medium
The optical character recognition method is used to automatically identify and analyze the current and voltage detection data of smart terminals, which solves the problems of high manual counting costs and low data reliability in smart terminal aging tests, and achieves efficient and reliable acquisition of aging test results.
Patent Information
- Application Number
- CN202410998154.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In existing smart terminal aging tests, manual counting and data recording are costly, making it difficult to ensure test continuity and data reliability, especially during multi-day tests.
The optical character recognition method is used to automatically identify the current and voltage detection data of smart terminals, and through preset standard interval comparison, automatic acquisition and analysis of aging test results are achieved, reducing labor costs and improving detection efficiency.
It achieves systematic automation of smart terminal aging testing, reduces labor costs, improves detection efficiency, ensures the continuity and credibility of test results, and avoids the influence of human factors.
Smart Images

Figure CN118777746A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent terminal testing, and in particular to an intelligent terminal aging test method, device, equipment and medium. Background Art
[0002] At present, smart terminals usually need to undergo various tests before leaving the factory, among which aging test is a test that smart terminals need to undergo.
[0003] In the prior art, when smart terminals are performing electrical performance aging tests and power-on and power-off aging tests, they rely more on test users to count or record test data, which results in high labor costs during the testing process. If aging tests are required for multiple consecutive days, it is difficult to ensure test continuity and data credibility through manual testing during the testing process implementation stage. Summary of the invention
[0004] Based on this, it is necessary to provide a smart terminal aging test method, device, equipment and medium to address the above technical problems.
[0005] This manual adopts the following technical solutions:
[0006] This specification provides a smart terminal aging test method, including:
[0007] According to the preset test current and test voltage, the smart terminal is powered on, and an interface including current detection data and voltage detection data of the smart terminal is displayed;
[0008] The intelligent terminal is powered on and off multiple times according to a preset total number of power-on and power-off times, and an interface image frame including current detection data and voltage detection data is obtained for each power-on process;
[0009] Using an optical character recognition method, the current detection data and the voltage detection data in the interface image frame are recognized;
[0010] The current detection data is compared with the preset standard current range, and the voltage detection data is compared with the preset standard voltage range to obtain the smart terminal aging test result.
[0011] Optionally, the step of powering on the smart terminal according to a preset test current and a preset test voltage specifically includes:
[0012] The smart terminal is powered on according to a preset test voltage, so that the smart terminal performs an aging test when the current detection data is less than or equal to the preset test current.
[0013] Optionally, the algorithm program of the optical character recognition method carries regional marking frame information corresponding to the current detection data display area and the voltage detection data display area, and the regional marking frame information includes position information and data category information of the regional marking frame;
[0014] The optical character recognition method is used to recognize the current detection data and the voltage detection data in the interface image frame, specifically including:
[0015] Using an optical character recognition method, according to the position information of the area marking box corresponding to the current detection data, the current detection data display area in the interface image frame is identified to obtain the current detection data, and the current detection data category information and the current detection data are recorded correspondingly;
[0016] An optical character recognition method is used to identify the voltage detection data display area in the interface image frame according to the position information of the area marking box corresponding to the voltage detection data, obtain the voltage detection data, and record the voltage detection data category information and the voltage detection data accordingly.
[0017] Optionally, comparing the current detection data with a preset standard current interval, and comparing the voltage detection data with a preset standard voltage interval, to obtain the smart terminal aging test result, specifically includes:
[0018] Comparing the current detection data with a preset standard current interval to obtain a first comparison result, and comparing the voltage detection data with a preset standard voltage interval to obtain a second comparison result;
[0019] According to the first comparison result and the second comparison result, determining whether the first comparison result and the second comparison result are both compared and passed;
[0020] If yes, the first comparison result and the second comparison result are recorded, and the aging test is continued;
[0021] If not, the current interface image frame is marked as failing the test, and the judgment is continued based on the next interface image frame until multiple consecutive interface image frames greater than the preset number of frames fail the test. The aging test is then paused and a test alert is sent to the test user.
[0022] Optionally, comparing the current detection data with a preset standard current interval, and comparing the voltage detection data with a preset standard voltage interval, to obtain the smart terminal aging test result, specifically includes:
[0023] Comparing the current detection data with a preset standard current interval, and comparing the voltage detection data with a preset standard voltage interval, to obtain a test comparison result of the interface image frame;
[0024] The serial number of the smart terminal is obtained, and the serial number of the smart terminal and the test comparison result of each frame interface image frame are recorded correspondingly to obtain the aging test result of the smart terminal.
[0025] Optionally, recording the serial number of the smart terminal and the test comparison result of each frame interface image frame correspondingly to obtain the aging test result of the smart terminal specifically includes:
[0026] Extract aging test data features from the current detection data and voltage detection data corresponding to each frame of the interface image frame, and perform data analysis based on the extracted aging test data features to obtain an aging analysis result of the smart terminal;
[0027] The serial number of the smart terminal, the test comparison results of each frame interface image frame, and the aging analysis result of the smart terminal are recorded correspondingly to obtain the aging test result of the smart terminal.
[0028] Optionally, the aging test includes an electrical performance aging test and / or a power on / off aging test.
[0029] This specification provides a smart terminal aging test device, including:
[0030] The start module is used to respond to the user's operation, start the aging test based on the smart terminal, power on the smart terminal according to the preset test current and test voltage, and display an interface containing the current detection data and voltage detection data of the smart terminal;
[0031] An acquisition module, used to power on and off the smart terminal multiple times according to a preset total number of power-on and power-off operations, and to acquire an interface image frame containing current detection data and voltage detection data for each power-on process;
[0032] A recognition module, used to recognize the current detection data and the voltage detection data in the interface image frame by using an optical character recognition method;
[0033] The comparison module is used to compare the current detection data with the preset standard current interval, and to compare the voltage detection data with the preset standard voltage interval to obtain the aging test result of the smart terminal.
[0034] This specification provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned smart terminal aging test method is implemented.
[0035] This specification provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned smart terminal aging test method when executing the program.
[0036] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:
[0037] The smart terminal is powered on according to the preset test current and test voltage, and an interface containing the current detection data and voltage detection data of the smart terminal is displayed. The smart terminal is turned on and off multiple times based on the total number of power ons and offs, and an interface image frame containing the two types of detection data is obtained each time. The two types of detection data are then identified using an optical character recognition method. Finally, they are compared with the preset standard intervals to obtain the aging test results.
[0038] The present invention performs multiple power-on and power-off aging tests on the smart terminal in an automated manner according to preset test current, test voltage and total number of power ons and offs. In each test, the detection data is identified by optical character recognition, so that the detection data is automatically acquired and analyzed, thereby realizing the systematic and automatic aging test, reducing labor costs, improving detection efficiency, avoiding the influence of human factors on the test results, and ensuring the continuity and credibility of the test results. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0040] Figure 1 A flowchart of a smart terminal aging test method provided in this manual;
[0041] Figure 2 A schematic diagram of an intelligent terminal aging test system provided in this manual;
[0042] Figure 3 A test flow diagram corresponding to a test system provided in this specification;
[0043] Figure 4 A schematic diagram of a smart terminal aging test device provided in this manual;
[0044] Figure 5 A schematic diagram of a computer device for implementing an intelligent terminal aging test method provided in this specification. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this application will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in the specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0046] At present, when smart terminals are doing electrical performance aging tests and power-on and power-off aging tests, they rely more on test users to count or need supporting equipment to do aging tests, which results in high labor costs during the testing process. If aging tests are required for multiple consecutive days, it is difficult to ensure the continuity of the test and the credibility of the data through manual testing during the implementation of the test process. At the same time, when the aging test fails, intermediate process data is required for test analysis, but manual testing usually only has test results, and it is difficult to have reliable intermediate data to support test analysis.
[0047] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0048] Figure 1 This is a flow chart of a smart terminal aging test method in this specification, which specifically includes the following steps:
[0049] S101: In response to a user operation, an aging test is started based on the smart terminal, the smart terminal is powered on according to a preset test current and test voltage, and an interface including current detection data and voltage detection data of the smart terminal is displayed.
[0050] Generally, when performing aging tests on smart terminals, different smart terminals usually require corresponding aging test environments. For example, different smart terminals need to perform aging tests under different test currents and test voltages, or different smart terminals need to perform aging evaluations based on different data features in the test data obtained through the test process. Therefore, for different smart terminals, the corresponding test requirement data can be stored in the smart terminal.
[0051] Therefore, in one or more embodiments of the present specification, when performing an aging test on a smart terminal, the test user may first electrically connect the test device to the smart terminal, and then the processor of the test device may respond to the user's operation and start the aging test based on the smart terminal. Of course, in one or more embodiments of the present specification, the test device may also be electrically connected to the server of the business platform, so as to control and start the aging test process of the smart device through the server of the business platform.
[0052] The aging test here may include an electrical performance aging test and a power on / off aging test. Electrical performance may refer to performance parameters such as voltage, current, power, resistance, capacitance, inductance, conductance, etc. during a long period of standby time of the smart terminal. The specific electrical performance aging test may determine what kind of performance parameters to test, and this specification does not limit this. The power on / off aging test may refer to the voltage, current, power, time, etc. performance parameters of the smart terminal during multiple consecutive power on / off switching. The specific power on / off aging test may determine what kind of performance parameters to test, and this specification does not limit this. When performing an aging test on a smart terminal, only one type of aging test may be performed, or both an electrical performance aging test and a power on / off aging test may be performed, which may be determined according to needs.
[0053] When the test user sends an aging test start instruction through the server of the business terminal, the server can power on the smart terminal according to the preset test current and test voltage, and display an interface containing the current detection data and voltage detection data of the smart terminal.
[0054] When the smart terminal is powered on, in one or more embodiments of this specification, the server may power on the smart terminal according to a preset test voltage, and detect whether the current detection data of the smart terminal after power-on is greater than the preset test current. If so, the test voltage is adjusted so that the smart terminal performs an aging test when the current detection data is less than or equal to the preset test current, thereby avoiding damage to the smart terminal. Of course, in one or more embodiments of this specification, the server may also power on the smart terminal according to a preset test current, and detect whether the voltage detection data of the smart terminal after power-on is greater than the preset test voltage. If so, the test current is adjusted so that the smart terminal performs an aging test when the voltage detection data is less than or equal to the preset test voltage. The specific method for powering on the smart terminal can be determined as needed, and this specification does not limit this.
[0055] When displaying current detection data and voltage detection data of a smart terminal, an interface containing voltage detection data can be displayed through a voltage detection device electrically connected to the smart terminal, and an interface containing current detection data can be displayed through a current detection device electrically connected to the smart terminal.
[0056] The server mentioned in this specification can be a server set up in the business platform, or a device such as a desktop computer, a laptop computer, etc. that can execute the solution of this specification, and the processor mentioned can be a processor set up in the test equipment. For the convenience of explanation, the following description is only based on the server as the execution subject.
[0057] S102: Powering on and off the smart terminal multiple times according to a preset total number of power-on and power-off times, and acquiring an interface image frame including current detection data and voltage detection data for each power-on process.
[0058] S103: using an optical character recognition method to recognize the current detection data and the voltage detection data in the interface image frame.
[0059] When performing an aging test on a smart terminal, the total number of times the smart terminal is turned on and off during the test can be pre-set, so that the smart terminal can be turned on and off multiple times according to the total number of times. For each power-on process, the server can collect an interface containing current detection data and voltage detection data of the smart terminal through a pre-set collection device.
[0060] For example, the interface video can be collected by pre-setting the camera. Of course, when setting the camera, the interface corresponding to the current detection data and voltage detection data of the smart terminal should be placed within the camera's collection range, so that the camera can clearly collect the interface corresponding to the current detection data and voltage detection data.
[0061] The server can then receive the interface video uploaded by the camera in real time, and obtain the interface image frame containing current detection data and voltage detection data at a preset time interval, and obtain test data based on the interface image frame.
[0062] Specifically, the server may use an optical character recognition (OCR) method to recognize the current detection data and the voltage detection data in the interface image frame. There are relatively mature technologies for character recognition in images using OCR technology, which will not be described here.
[0063] Since the devices involved in the aging test of the smart terminal usually do not move after the aging test is turned on, that is, the positions of the current detection data and the voltage detection data in the interface image frame are fixed, therefore, in one or more embodiments of the present specification, the server may preset the area marking frame corresponding to the current detection data and the voltage detection data in the interface image frame in the optical character recognition algorithm, that is, the optical character recognition method may carry the area marking frame information corresponding to the current detection data display area and the voltage detection data display area. The area marking frame information may include the area marking frame position information and the data category information.
[0064] For example, the server can store the region marking box information in the data type of key-value pairs. Taking the current detection data as an example, the server can store the region marking box information of "<key = \"current detection data\", value = \"(a1, b1)(a2, b2)\" >" in the optical character recognition algorithm program in the data type of key-value pairs. Here, the key represents the data category information, and the value represents the position information of the region marking box. In this example, the region marking box is represented by a rectangular box, and (a1, b1) and (a2, b2) are the diagonal points of the rectangular box respectively. The voltage detection data is the same in principle and will not be elaborated here.
[0065] Based on this, in one or more embodiments of this specification, the server can adopt the optical character recognition method to identify the current detection data display area in the interface image frame according to the position information of the region marking box corresponding to the current detection data, obtain the current detection data, and record the correspondence between the current detection data category information and the current detection data. And adopt the optical character recognition method to identify the voltage detection data display area in the interface image frame according to the position information of the region marking box corresponding to the voltage detection data, obtain the voltage detection data, and record the correspondence between the voltage detection data category information and the voltage detection data.
[0066] The current detection data and voltage detection data recorded here can not only be used as reliable intermediate process data to support the subsequent analysis of the aging test results, but also be used as archived data to achieve the traceability of the intelligent terminal aging test.
[0067] S104: Compare the current detection data with a preset standard current range, and compare the voltage detection data with a preset standard voltage range to obtain the intelligent terminal aging test results.
[0068] Usually, when conducting an aging test on an intelligent terminal, different intelligent terminals need to be tested in different test environments. Correspondingly, the operating data of different intelligent terminals under normal conditions may also be different. That is, the standard voltage and standard current of different intelligent terminals under normal operation will also be different. Therefore, before starting the aging test, on the one hand, the server can set its corresponding test current and test voltage, and on the other hand, it can also set the standard current range and standard voltage range corresponding to its normal operation.
[0069] Thus, after identifying the current detection data and voltage detection data in the interface image frame, the server can obtain the preset standard current range and standard voltage range, compare the current detection data with the preset standard current range, and compare the voltage detection data with the preset standard voltage range, so as to obtain the intelligent terminal aging test results according to the comparison results.
[0070] In one or more embodiments of the present specification, the server may compare the current detection data with a preset standard current interval for each interface image frame to determine whether the current detection data is within the standard current interval, thereby obtaining a first comparison result of whether the current detection passes or fails, and compare the voltage detection data with a preset standard voltage interval to determine whether the voltage detection data is within the standard voltage-current interval, thereby obtaining a second comparison result of whether the voltage detection passes or fails.
[0071] Finally, according to the first comparison result and the second comparison result, it is determined whether the first comparison result and the second comparison result corresponding to the interface image frame are both comparison passing results. If so, it is determined that the aging test result of the smart terminal at the time node corresponding to the interface image frame is passed. If not, it is determined that the aging test result of the smart terminal at the time node corresponding to the interface image frame is failed. The results corresponding to each interface image frame are recorded to obtain the aging test result of the smart terminal.
[0072] Furthermore, in one or more embodiments of the present specification, the server may also record the first comparison result and the second comparison result and continue the aging test when the aging test result of the smart terminal is determined to be passed at the time node corresponding to the current interface image frame. When the aging test result of the smart terminal is determined to be failed at the time node corresponding to the frame of the interface image frame, the current interface image frame is marked as failed, and the judgment is continued based on the next frame of the interface image frame until multiple consecutive frames of the interface image frame greater than the preset number of frames fail the test, the aging test is suspended, and a test alarm is sent to the test user.
[0073] For example, the preset number of frames here may be 5 frames, and multiple judgments are made on multiple consecutive frames, thereby avoiding the situation where a single-frame interface image frame causes errors in current detection data or voltage detection data due to accidents.
[0074] When a test error is detected, it may be due to the aging problem of the smart terminal that the actual current during the power-on process is greater than the standard current, or the actual voltage is greater than the standard voltage, which may cause damage to related equipment. Therefore, the aging test can be suspended in time and the test user can be notified to avoid test accidents during the test.
[0075] Furthermore, in order to meet the traceability after the test, in one or more embodiments of the present specification, after comparing the current detection data with the preset standard current interval, and comparing the voltage detection data with the preset standard voltage interval, and obtaining the test comparison result of the interface image frame, the server can further obtain the serial number of the smart terminal, and record the serial number of the smart terminal and the test comparison result of each frame of the interface image frame accordingly, so as to obtain the aging test result of the smart terminal. The test comparison result mentioned here can be the aging test result of the smart terminal at the time node corresponding to the frame of the interface image frame mentioned above, which is a passing or different result. For specific instructions, please refer to the corresponding description above, which will not be repeated here.
[0076] Of course, after identifying each frame of the interface image frame to obtain the current detection data and voltage detection data at each moment, the server can also perform a comprehensive analysis based on the current detection data and voltage detection data obtained at each moment during the test process. Specifically, in one or more embodiments of the present specification, the server can extract aging test data features from the current detection data and voltage detection data corresponding to each frame of the interface image frame, and perform data analysis based on the extracted aging test data features to obtain the aging analysis results of the smart terminal. Taking the current detection data as an example, the aging test data features mentioned here can be the peak and valley data, average value, median, moving average line, etc. in the line graph of the current detection data changing over time, which can be used as data features in the data analysis of the aging test. The specific data features used as the aging test data features can be determined as needed, and this specification does not limit this. The same is true for the voltage detection data and the current detection data, which will not be repeated here.
[0077] Finally, the server may record the serial number of the smart terminal, the test comparison results of each interface image frame, and the aging analysis result of the smart terminal accordingly to obtain the aging test result of the smart terminal.
[0078] based on Figure 1 The smart terminal aging test method shown in the figure powers on the smart terminal according to the preset test current and test voltage and displays an interface containing the current detection data and voltage detection data of the smart terminal. The smart terminal is turned on and off multiple times based on the total number of power ons and offs, and an interface image frame containing the two types of detection data is obtained each time. The two types of detection data are then identified using an optical character recognition method, and finally compared with the preset standard intervals to obtain the aging test results.
[0079] The present invention performs multiple power-on and power-off aging tests on the smart terminal in an automated manner according to preset test current, test voltage and total number of power ons and offs. In each test, the detection data is identified by optical character recognition, so that the detection data is automatically acquired and analyzed, thereby realizing the systematic and automatic aging test, reducing labor costs, improving detection efficiency, avoiding the influence of human factors on the test results, and ensuring the continuity and credibility of the test results.
[0080] In addition, in one or more embodiments of the present specification, the server may perform an aging test on the entire smart terminal, or may perform a modular test on the smart terminal, that is, using multiple modules of the smart terminal as test objects. The specific test can be determined according to needs, and the present specification does not impose any restrictions on this.
[0081] When applying the intelligent terminal aging test method provided in this manual, it is not necessary to Figure 1 The steps are executed in the order shown. The specific execution order of the steps can be determined according to needs, and this manual does not limit this.
[0082] The above is a smart terminal aging test method provided by this specification based on one or more embodiments of the method test. Based on the same idea, on the system side, this specification also provides a corresponding smart terminal aging test system, such as Figure 2 shown.
[0083] Figure 2 This is a schematic diagram of an intelligent terminal aging test system in this specification, which mainly uses machine vision to automatically identify test data and perform calculations on the test data. Figure 2 It can be seen that the intelligent terminal aging test system includes:
[0084] The current setting unit and the voltage setting unit are used to power the smart terminal for multiple on-off points according to the preset test current, test voltage and total number of on-off times.
[0085] The current display unit is used to display the current detection data in the aging test of the intelligent terminal, such as an ammeter.
[0086] The voltage display unit is used to display the voltage detection data in the aging test of the intelligent terminal, such as a voltmeter.
[0087] The image acquisition and calculation unit is used to acquire an interface image frame containing current detection data and voltage detection data for each power-on process, and use an optical character recognition method to identify the current detection data and voltage detection data in the interface image frame.
[0088] The human-computer interaction unit is used to start the aging test of the smart terminal or pause the aging test of the smart terminal in response to the operation of the test user.
[0089] The network transmission unit is used to upload the serial number of the smart terminal, the current detection data and the voltage detection data during the aging test, and the aging test result of the smart terminal to the production database of the smart terminal.
[0090] The number of times the smart terminal is powered on and off can also be counted by a counter, and the data during the aging test can be stored in a memory, etc.
[0091] The present invention realizes miniaturization, integration and standardization of the aging test of the power on / off and electrical performance of the intelligent terminal to be tested. The text output of the ammeter, voltmeter, counter and screen result is obtained by the acquisition camera, and the required text information and data are extracted by OCR recognition technology, and the operation unit is compared with the set standard interval range. If the test result of each time is the same as the expected result, the next test task is carried out. If the data is abnormal, it will be fed back to the image acquisition and operation unit to mark the image frame of the period. It is convenient to quickly locate discrete failure test data points at the end of the aging test. If an abnormality occurs for 5 consecutive times (or other set times), the aging test of the intelligent terminal is stopped, and an alarm reminder is issued to the test user. Then the test task is continued in response to the operation of the test user. After each test is completed, the comparison result and the aging test result and the process recording video will be stored in the specified folder and the serial number of the intelligent terminal of the device to avoid data confusion caused by artificial data processing.
[0092] This solution can realize the automation of the aging test of smart terminals. It improves the standardization and accuracy of the test results. The test data is recorded and automatically archived through the automatic calculation of the visual machine, which solves the problems of test users being unable to test across days, high labor costs, easy misoperation and omissions. The present invention ensures the continuity, credibility and traceability of the test results. At the same time, the consistency of the aging test standards of smart terminals is guaranteed through the automatic collection and judgment of the image acquisition and calculation unit.
[0093] Based on the above-mentioned intelligent terminal aging test system, this specification also provides a test process corresponding to the test system, such as Figure 3 shown.
[0094] Figure 3 This is a test flow diagram corresponding to the test system in this specification. The contents of each step in the figure have been described above and will not be repeated here.
[0095] The above is a smart terminal aging test method provided by one or more embodiments of this specification. Based on the same idea, this specification also provides a corresponding smart terminal aging test device, such as Figure 4 shown.
[0096] Figure 4 A schematic diagram of a smart terminal aging test device provided in this specification includes:
[0097] The start module 201 is used to start the aging test based on the smart terminal in response to the user's operation, power on the smart terminal according to the preset test current and test voltage, and display an interface containing the current detection data and the voltage detection data of the smart terminal;
[0098] The acquisition module 201 is used to power on and off the smart terminal multiple times according to a preset total number of power-on and power-off operations, and acquire an interface image frame including current detection data and voltage detection data for each power-on process;
[0099] The recognition module 203 is used to recognize the current detection data and the voltage detection data in the interface image frame by using an optical character recognition method;
[0100] The comparison module 204 is used to compare the current detection data with a preset standard current interval, and to compare the voltage detection data with a preset standard voltage interval, to obtain the smart terminal aging test result.
[0101] Optionally, the start-up module 201 powers on the smart terminal according to a preset test voltage, so that the smart terminal performs an aging test when the current detection data is less than or equal to a preset test current.
[0102] Optionally, the algorithm program of the optical character recognition method carries area marking frame information corresponding to the current detection data display area and the voltage detection data display area, and the area marking frame information includes location information and data category information of the area marking frame.
[0103] The identification module 203 uses an optical character recognition method to identify the current detection data display area in the interface image frame according to the position information of the area marking box corresponding to the current detection data, obtain the current detection data, and record the current detection data category information and the current detection data accordingly; uses an optical character recognition method to identify the voltage detection data display area in the interface image frame according to the position information of the area marking box corresponding to the voltage detection data, obtain the voltage detection data, and record the voltage detection data category information and the voltage detection data accordingly.
[0104] Optionally, the comparison module 204 compares the current detection data with a preset standard current interval to obtain a first comparison result, and compares the voltage detection data with a preset standard voltage interval to obtain a second comparison result, and determines whether the first comparison result and the second comparison result are both compared and passed based on the first comparison result and the second comparison result. If so, the first comparison result and the second comparison result are recorded, and the aging test is continued; if not, the current interface image frame is marked as a test failure, and the judgment is continued based on the next interface image frame until a plurality of consecutive interface image frames greater than a preset number of frames fail the test, then the aging test is paused, and a test alert is sent to the test user.
[0105] Optionally, the comparison module 204 compares the current detection data with a preset standard current interval, and compares the voltage detection data with a preset standard voltage interval, to obtain a test comparison result of the interface image frame, obtain the serial number of the smart terminal, and record the serial number of the smart terminal and the test comparison result of each interface image frame in correspondence to obtain an aging test result of the smart terminal.
[0106] Optionally, the comparison module 204 extracts aging test data features of the current detection data and the voltage detection data corresponding to each frame interface image frame, and performs data analysis based on the extracted aging test data features to obtain an aging analysis result of the smart terminal, and records the serial number of the smart terminal, the test comparison results of each frame interface image frame, and the aging analysis result of the smart terminal to obtain the aging test result of the smart terminal.
[0107] Optionally, the aging test includes an electrical performance aging test and / or a power on / off aging test.
[0108] For the specific definition of the intelligent terminal aging test device, please refer to the definition of the intelligent terminal aging test method above, which will not be repeated here. Each module in the above-mentioned intelligent terminal aging test device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0109] This specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 1 Provided is an intelligent terminal aging test method.
[0110] This manual also provides Figure 5 The structural diagram of the computer device shown in FIG. Figure 5As mentioned above, at the hardware level, the computer device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 Provided is an intelligent terminal aging test method.
[0111] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0112] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A smart terminal aging test method, characterized in that: include: According to the preset test current and test voltage, the smart terminal is powered on, and an interface including current detection data and voltage detection data of the smart terminal is displayed; The intelligent terminal is powered on and off multiple times according to a preset total number of power-on and power-off times, and an interface image frame including current detection data and voltage detection data is obtained for each power-on process; Using an optical character recognition method, the current detection data and the voltage detection data in the interface image frame are recognized; The current detection data is compared with the preset standard current range, and the voltage detection data is compared with the preset standard voltage range to obtain the smart terminal aging test result.
2. The intelligent terminal aging test method according to claim 1, characterized in that: The step of powering on the smart terminal according to the preset test current and test voltage specifically includes: The smart terminal is powered on according to a preset test voltage, so that the smart terminal performs an aging test when the current detection data is less than or equal to the preset test current.
3. The intelligent terminal aging test method according to claim 1, characterized in that: The algorithm program of the optical character recognition method carries the regional marking frame information corresponding to the current detection data display area and the voltage detection data display area, and the regional marking frame information includes the position information and data category information of the regional marking frame; The optical character recognition method is used to recognize the current detection data and the voltage detection data in the interface image frame, specifically including: Using an optical character recognition method, according to the position information of the area marking box corresponding to the current detection data, the current detection data display area in the interface image frame is identified to obtain the current detection data, and the current detection data category information and the current detection data are recorded correspondingly; An optical character recognition method is used to identify the voltage detection data display area in the interface image frame according to the position information of the area marking box corresponding to the voltage detection data, obtain the voltage detection data, and record the voltage detection data category information and the voltage detection data accordingly.
4. The intelligent terminal aging test method according to claim 1, characterized in that: The current detection data is compared with the preset standard current interval, and the voltage detection data is compared with the preset standard voltage interval to obtain the smart terminal aging test result, which specifically includes: Comparing the current detection data with a preset standard current interval to obtain a first comparison result, and comparing the voltage detection data with a preset standard voltage interval to obtain a second comparison result; According to the first comparison result and the second comparison result, determining whether the first comparison result and the second comparison result are both compared and passed; If yes, the first comparison result and the second comparison result are recorded, and the aging test is continued; If not, the current interface image frame is marked as failing the test, and the judgment is continued based on the next interface image frame until multiple consecutive interface image frames greater than the preset number of frames fail the test. The aging test is then paused and a test alert is sent to the test user.
5. The intelligent terminal aging test method according to claim 3, characterized in that: The current detection data is compared with the preset standard current interval, and the voltage detection data is compared with the preset standard voltage interval to obtain the smart terminal aging test result, which specifically includes: Comparing the current detection data with a preset standard current interval, and comparing the voltage detection data with a preset standard voltage interval, to obtain a test comparison result of the interface image frame; The serial number of the smart terminal is obtained, and the serial number of the smart terminal and the test comparison result of each frame interface image frame are recorded correspondingly to obtain the aging test result of the smart terminal.
6. The intelligent terminal aging test method according to claim 5, characterized in that: The serial number of the smart terminal and the test comparison result of each frame interface image frame are recorded correspondingly to obtain the aging test result of the smart terminal, which specifically includes: Extract aging test data features from the current detection data and voltage detection data corresponding to each frame of the interface image frame, and perform data analysis based on the extracted aging test data features to obtain an aging analysis result of the smart terminal; The serial number of the smart terminal, the test comparison results of each frame interface image frame, and the aging analysis result of the smart terminal are recorded correspondingly to obtain the aging test result of the smart terminal.
7. The intelligent terminal aging test method according to claim 1, characterized in that: The aging test includes an electrical performance aging test and / or a power on / off aging test.
8. An intelligent terminal aging test device, characterized in that: include: The start module is used to respond to the user's operation, start the aging test based on the smart terminal, power on the smart terminal according to the preset test current and test voltage, and display an interface containing the current detection data and voltage detection data of the smart terminal; An acquisition module, used to power on and off the smart terminal multiple times according to a preset total number of power-on and power-off operations, and to acquire an interface image frame containing current detection data and voltage detection data for each power-on process; A recognition module, used to recognize the current detection data and the voltage detection data in the interface image frame by using an optical character recognition method; The comparison module is used to compare the current detection data with the preset standard current interval, and to compare the voltage detection data with the preset standard voltage interval to obtain the aging test result of the smart terminal.
9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
10. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Automatic test system and method for startup and shutdown
CN121090944A
