CN111915601A - Intelligent terminal abnormity testing method, device and system - Google Patents

Intelligent terminal abnormity testing method, device and system Download PDF

Info

Publication number
CN111915601A
CN111915601A CN202010809649.3A CN202010809649A CN111915601A CN 111915601 A CN111915601 A CN 111915601A CN 202010809649 A CN202010809649 A CN 202010809649A CN 111915601 A CN111915601 A CN 111915601A
Authority
CN
China
Prior art keywords
terminal
tested
similarity
screenshot
comparison
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010809649.3A
Other languages
Chinese (zh)
Inventor
徐林
张涛
谷丽雅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010809649.3A priority Critical patent/CN111915601A/en
Publication of CN111915601A publication Critical patent/CN111915601A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/20Controlling the colour of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/32Pulse-control circuits
    • H05B45/325Pulse-width modulation [PWM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Hardware Design (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

An intelligent terminal abnormity testing method, an intelligent terminal abnormity testing device and an intelligent terminal abnormity testing system are applied to finance or other fields, and the method comprises the following steps: acquiring a comparison terminal screenshot of a comparison terminal, and acquiring a to-be-tested screenshot of each to-be-tested terminal in at least one to-be-tested terminal, which corresponds to the comparison terminal screenshot; comparing the similarity between the screenshot of the comparison terminal and each screenshot to be tested; and outputting corresponding abnormal condition information of the terminal to be tested according to the similarity. According to the abnormity testing method of the intelligent terminal, the abnormity testing device of the intelligent terminal and the abnormity testing system of the intelligent terminal, whether the intelligent terminal is abnormal or not can be effectively tested through the similarity obtained by comparison, the testing efficiency of the intelligent terminal is high, the corresponding abnormal condition information of the terminal to be tested is output, the problem can be conveniently found visually by testing personnel, and the labor cost is reduced.

Description

Intelligent terminal abnormity testing method, device and system
Technical Field
The invention relates to the technical field of finance and testing, in particular to an abnormity testing method, device and system of an intelligent terminal.
Background
Along with the popularization of the intelligent terminal, various problems may occur to the intelligent terminal, especially, the current application software is more and more, and before or after the application software is popularized to the market, the intelligent terminal is more prone to various problems, so that the intelligent terminal needs to be tested. However, the prior art cannot effectively test whether the intelligent terminal has an abnormality, the testing efficiency of the intelligent terminal is not high, and the labor cost is too high.
Disclosure of Invention
In view of the above problems, the present invention has been made to provide an abnormality testing method, apparatus, and system for an intelligent terminal that overcome the above problems or at least partially solve the above problems.
According to a first aspect of the present invention, there is provided an abnormality testing method for an intelligent terminal, including: acquiring a comparison terminal screenshot of a comparison terminal, and acquiring a to-be-tested screenshot of each to-be-tested terminal in at least one to-be-tested terminal, which corresponds to the comparison terminal screenshot; comparing the similarity between the screenshot of the comparison terminal and each screenshot to be tested; and outputting corresponding abnormal condition information of the terminal to be tested according to the similarity.
Optionally, when the similarity is within a first similarity range, the output abnormal condition information includes a problem that a screen of the corresponding terminal to be tested has a white screen or a black screen.
Optionally, when the similarity is within a second similarity range, the output abnormal condition information includes a problem that a screen of the corresponding terminal to be tested has data missing; and the maximum value of the first similarity range is smaller than the minimum value of the second similarity.
Optionally, when the similarity is within a third similarity range, the output abnormal condition information includes a problem that a screen of the corresponding terminal to be tested has resolution; and the maximum value of the second similarity is smaller than the minimum value of the third similarity.
Optionally, the comparing the similarity between the comparison terminal screenshot and each screenshot to be tested includes: comparing each pixel point of the comparison terminal screenshot with each pixel point of the screenshot to be tested; and dividing the number of the pixel points of the to-be-tested screenshot, the comparison result of which is equal, by all the pixel points of the to-be-tested screenshot to obtain the similarity.
Optionally, before obtaining the comparison terminal screen shot of the comparison terminal, the method further includes: judging whether the abnormal condition information can be output; and obtaining a comparison terminal screenshot of the comparison terminal only when the abnormal condition information can be output.
Optionally, before outputting the corresponding abnormal condition information of the terminal to be tested according to the similarity, the method further includes: constructing corresponding relations between the lamplight with different colors and the abnormal condition information; and the outputting of the corresponding abnormal condition information of the terminal to be tested according to the similarity comprises: and outputting the abnormal condition information by turning off a lamp which emits a color corresponding to the abnormal condition information in the corresponding relation.
Optionally, the at least one terminal to be tested is a plurality of terminals to be tested of different models.
According to a second aspect of the present invention, there is also provided an abnormality testing apparatus for an intelligent terminal, including: the acquisition module is used for acquiring a comparison terminal screenshot of a comparison terminal and acquiring a to-be-tested screenshot, corresponding to the comparison terminal screenshot, of each to-be-tested terminal in at least one to-be-tested terminal; the comparison module is used for comparing the similarity between the screenshot of the comparison terminal and each screenshot to be tested; and the output module is used for outputting the corresponding abnormal condition information of the terminal to be tested according to the similarity.
According to a third aspect of the present invention, there is also provided an abnormality testing system for an intelligent terminal, including: a computer-readable storage medium having a program stored therein, and a processor, wherein the program, when executed by the processor, is configured to implement any one of the above-described anomaly testing methods.
According to the abnormity testing method of the intelligent terminal, the abnormity testing device of the intelligent terminal and the abnormity testing system of the intelligent terminal, provided by the invention, whether the intelligent terminal is abnormal or not can be effectively tested through the similarity obtained by comparison, the testing efficiency of the intelligent terminal is higher, the corresponding abnormal condition information of the terminal to be tested is output, the problem can be conveniently found visually by testing personnel, and the labor cost is reduced.
The abnormity testing method of the intelligent terminal, the abnormity testing device of the intelligent terminal and the abnormity testing system of the intelligent terminal provided by the invention aim at solving the abnormal situation generated in the testing process, guide the tester to make reasonable operation, help the tester to visually find and timely position the abnormal equipment state, reduce the subsequent repeated testing work and improve the testing quality and efficiency. The abnormity testing method of the intelligent terminal, the abnormity testing device of the intelligent terminal and the abnormity testing system of the intelligent terminal realize automatic judgment of abnormal equipment. Compare artifical naked eye and go discernment cell-phone screen, system identification error is littleer, and is fast, has further reduced the input of artifical resource, has promoted work quality and efficiency.
The intelligent terminal anomaly testing method, the intelligent terminal anomaly testing device and the intelligent terminal anomaly testing system realize automatic classification of the anomaly scenes, help testers classify and process the anomalies in a mode of combining a picture comparison algorithm and fault processing experience, and output corresponding anomaly condition information of the terminal to be tested, so that the time efficiency of the testers for processing the anomaly scenes is greatly improved.
According to the abnormity testing method of the intelligent terminal, the abnormity testing device of the intelligent terminal and the abnormity testing system of the intelligent terminal, corresponding abnormal condition information of the terminal to be tested is output through lamplight, a tester can know the fault type only by seeing the color of the lamplight, the time for manual judgment and processing is greatly shortened, the testing efficiency is further improved, and powerful guarantee is provided for subsequent testing quality.
Drawings
Other objects and advantages of the present invention will become apparent from the following description of the invention which refers to the accompanying drawings, and may assist in a comprehensive understanding of the invention.
Fig. 1 is a schematic diagram of an anomaly testing method of an intelligent terminal according to one embodiment of the present invention;
fig. 2 is an application scenario diagram of an anomaly testing method of an intelligent terminal according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an execution of an anomaly testing method of the smart terminal according to an embodiment of the present invention;
fig. 4 is a block diagram of an abnormality testing apparatus of an intelligent terminal according to an embodiment of the present invention;
fig. 5 is a block diagram of an anomaly testing system of an intelligent terminal according to an embodiment of the present invention.
It should be noted that the figures are not drawn to scale and that elements of similar structure or function are generally represented by like reference numerals throughout the figures for illustrative purposes. It should also be noted that the drawings are only for the purpose of illustrating preferred embodiments and are not intended to limit the invention itself. The drawings do not show every aspect of the described embodiments and do not limit the scope of the invention.
In the figure, 10 is an abnormality testing apparatus of an intelligent terminal, 100 is an acquisition module, 200 is a comparison module, 300 is an output module, 20 is an abnormality testing system of an intelligent terminal, 400 is a computer-readable storage medium, 410 is a program, and 500 is a processor.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings of the embodiments of the present invention. It is clear that the described embodiment is one embodiment of the invention, not all embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention without any inventive step, are within the scope of protection of the invention.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs.
The embodiment of the invention firstly provides an abnormal testing method of an intelligent terminal, and fig. 1 is a schematic diagram of the abnormal testing method of the intelligent terminal according to one embodiment of the invention; fig. 2 is an application scenario diagram of an anomaly testing method for an intelligent terminal according to an embodiment of the present invention.
As shown in fig. 1, the method for testing an abnormality of an intelligent terminal according to an embodiment of the present invention includes:
s102, acquiring a comparison terminal screenshot of a comparison terminal, and acquiring a to-be-tested screenshot of each to-be-tested terminal in at least one to-be-tested terminal, wherein the to-be-tested screenshot corresponds to the comparison terminal screenshot.
And S104, comparing the similarity between the screenshot of the comparison terminal and each screenshot to be tested.
And S106, outputting corresponding abnormal condition information of the terminal to be tested according to the similarity.
As shown in fig. 2, as will be understood by those skilled in the art, the smart terminal may include, but is not limited to, a mobile phone, a tablet, etc. The at least one terminal to be tested can be a plurality of terminals to be tested with different models. The abnormal testing method can improve the testing efficiency when the abnormal conditions of the plurality of terminals to be tested in different types can occur, and is convenient for testers to quickly find the abnormal terminals to be tested.
As will be understood by those skilled in the art, in some embodiments, the comparison terminal may have completed a screen test, and the screen test result indicates that the screen of the comparison terminal can be displayed normally, for example, the screen of the comparison terminal does not have a black screen or white screen problem, the resolution of the screen of the comparison terminal meets a set condition, the screen of the comparison terminal does not have a data error problem, and the comparison terminal may be selected manually. And the comparison terminal screenshot and the to-be-tested screenshot correspond to a diagram representing that the comparison terminal screenshot and the to-be-tested screenshot are the same interface of the same application software.
Specifically, when the similarity is within a first similarity range, the output abnormal condition information includes a problem that a screen of the corresponding terminal to be tested has a white screen or a black screen. And when the similarity is within a second similarity range, the output abnormal condition information comprises the problem that the screen of the corresponding terminal to be tested has data wrong rows, and the maximum value of the first similarity range is smaller than the minimum value of the second similarity. And when the similarity is within a third similarity range, the output abnormal condition information comprises the problem that the screen of the corresponding terminal to be tested has resolution, and the maximum value of the second similarity is smaller than the minimum value of the third similarity.
The abnormal testing method of the intelligent terminal may further include outputting the abnormal condition information when the similarity is within a fourth similarity range, where the output abnormal condition information includes a problem that a screen of the corresponding terminal to be tested has a wrong screen, where the problem of the wrong screen includes, for example, a problem that the slave terminal does not jump along with the master terminal when the master terminal jumps, that is, the slave terminal cannot jump, and a minimum value of the fourth similarity range is greater than a maximum value of the third similarity range. According to the embodiment of the disclosure, if the screen error of the terminal to be tested is generally serious, the minimum value of the fourth similarity range may be larger than the maximum value of the second similarity range, and the maximum value of the fourth similarity range may be smaller than the minimum value of the third similarity range.
The abnormal testing method of the intelligent terminal may further include not outputting the abnormal condition information when the similarity is within a fifth similarity range, and a minimum value of the fifth similarity range is greater than a maximum value of a fourth similarity range.
Specifically, for example, in some embodiments, the first similarity range may be 0 to 10; the second similarity range may be greater than 10 and less than or equal to 60; the third similarity range may be greater than 60 and less than or equal to 80; the fourth similarity degree range may be a range greater than 80 and less than or equal to 95, and the fifth similarity degree range may be greater than 95 and less than or equal to 100. According to an embodiment of the present disclosure, the first similarity range, the second similarity range, the third similarity range, the fourth similarity range, and the fifth similarity range are numerically consecutive. Those skilled in the art will appreciate that the specific values for these ranges can be determined and selected based on the circumstances. For example, the first similarity range may be set to 0 to 20, and the second similarity range may be greater than 20, less than 40, or the like.
Specifically, the comparing the similarity between the comparison terminal screenshot and each screenshot to be tested may include: and comparing each pixel point of the comparison terminal screenshot with each pixel point of the screenshot to be tested, and dividing the number of the pixel points of the screenshot to be tested, which are equal in comparison result, by all the pixel points of the screenshot to be tested to obtain the similarity.
The comparing the similarity between the comparison terminal screen capture and each screen capture to be tested may further include processing the related screen capture through OCR (Optical Character Recognition) Character Recognition to obtain information of characters and a layout.
In some embodiments of the present invention, before outputting the corresponding abnormal situation information of the terminal to be tested according to the similarity, the method further includes: and constructing corresponding relations between the lamplight with different colors and the abnormal condition information. And the outputting of the corresponding abnormal condition information of the terminal to be tested according to the similarity comprises: and outputting the abnormal condition information by turning off a lamp which emits a color corresponding to the abnormal condition information in the corresponding relation.
For example, the problem that the screen of the terminal to be tested has a white screen or a black screen corresponds to a first color, the problem that the screen of the terminal to be tested has a wrong row of data corresponds to a second color, and the problem that the screen of the terminal to be tested has a resolution corresponds to a third color. The first color, the second color and the third color can be selected according to actual situations, for example, the first color is set to be white, and the second color is set to be red. The third color is set to green, etc.
In some embodiments, before obtaining the comparison terminal screenshot of the comparison terminal, the method may further include: judging whether the abnormal condition information can be output; and obtaining a comparison terminal screenshot of the comparison terminal only when the abnormal condition information can be output. For example, when the output mode of the abnormal condition information is the lighting mode, it is determined whether the device for emitting light can emit light normally.
Fig. 3 is an execution flowchart of an abnormality testing method for an intelligent terminal according to an embodiment of the present invention, and as shown in fig. 3, the abnormality testing method for an intelligent terminal according to the embodiment of the present invention includes:
s302, judging whether the abnormal condition information can be output. If the abnormal condition can be output, step S304 is executed, and if the abnormal condition cannot be output, a warning signal may be sent to remind the testing personnel to modify or replace the relevant equipment, so as to ensure that the abnormal condition information can be output.
S304, acquiring a comparison terminal screenshot of a comparison terminal, and acquiring a to-be-tested screenshot of each to-be-tested terminal in at least one to-be-tested terminal, wherein the to-be-tested screenshot corresponds to the comparison terminal screenshot.
S306, comparing each pixel point of the comparison terminal screenshot with each pixel point of the to-be-tested screenshot.
And S308, dividing the number of the pixel points of the to-be-tested screenshot with the same comparison result by all the pixel points of the to-be-tested screenshot to obtain the similarity.
And S310, constructing corresponding relations between the lamplight with different colors and the abnormal condition information.
S312, outputting corresponding abnormal condition information of the terminal to be tested according to the similarity, and outputting the abnormal condition information by sending out a lamp switch of a color corresponding to the abnormal condition information in the corresponding relation.
An embodiment of the present invention further provides an abnormality testing apparatus 10 for an intelligent terminal, and fig. 4 is a block diagram of the structure of the abnormality testing apparatus 10 for an intelligent terminal according to an embodiment of the present invention. The abnormality testing device 10 of the intelligent terminal comprises an acquisition module 100, a comparison module 200 and an output module 300.
The obtaining module 100 is configured to obtain a comparison terminal screenshot of a comparison terminal, and obtain a to-be-tested screenshot, corresponding to the comparison terminal screenshot, of each to-be-tested terminal in at least one to-be-tested terminal. The comparison module 200 is configured to compare similarity between the comparison terminal screenshot and each of the screenshots to be tested. The output module 300 is configured to output the corresponding abnormal situation information of the terminal to be tested according to the similarity.
The output module 300 may be further configured to output the abnormal situation information including a problem that a screen of the terminal to be tested has a white screen or a black screen when the similarity is within the first similarity range.
The output module 300 may be further configured to output the abnormal situation information including a problem that a screen of the corresponding terminal to be tested has a resolution when the similarity is within a second similarity range, and a maximum value of the first similarity range is smaller than a minimum value of the second similarity.
The output module 300 may be further configured to output the abnormal situation information including a problem that the screen of the corresponding terminal to be tested has a wrong row of data when the similarity is within a third similarity range, and a maximum value of the second similarity is smaller than a minimum value of the third similarity.
The comparison module 200 may further be configured to compare each pixel point of the comparison terminal screenshot with each pixel point of the to-be-tested screenshot, and divide the number of the pixel points of the to-be-tested screenshot, which are equal to each other as the comparison result, by all the pixel points of the to-be-tested screenshot, to obtain the similarity.
The anomaly testing apparatus 10 of the intelligent terminal may further include a determining module, where the determining module is configured to determine whether the abnormal condition information can be output, and the obtaining module 100 obtains the comparison terminal screenshot of the comparison terminal only when the abnormal condition information can be output.
The anomaly testing device 10 of the intelligent terminal may further include a building module, where the building module is configured to build a corresponding relationship between the lights with different colors and the different abnormal condition information. And the output module 300 may be configured to output the abnormal situation information by turning off a lamp emitting a color corresponding to the abnormal situation information in the correspondence.
An embodiment of the present invention further provides an anomaly testing system 20 for an intelligent terminal, and fig. 5 is a block diagram of a structure of an anomaly testing system for an intelligent terminal according to an embodiment of the present invention. The anomaly testing system 20 of the intelligent terminal comprises a computer-readable storage medium 400 and a processor 500, wherein a program 410 is stored in the computer-readable storage medium 400, and when the program 410 is executed by the processor 500, the anomaly testing system is used for implementing any one of the anomaly testing methods.
Specifically, this intelligent terminal's unusual test system 20 can be through external HUB concentrator of USB interface and singlechip, the concentrator provides a plurality of USB PORTS and connects contrast terminal and the at least one terminal that awaits measuring, the singlechip through the single bus connection with at least one positioner of the at least one terminal one-to-one that awaits measuring, wherein, positioner can be the LED color lamp. The at least one terminal to be tested and the at least one positioning device can be respectively placed on the mobile phone support in a one-to-one correspondence manner, namely, the information matching relationship between the at least one terminal to be tested and the at least one positioning device is completed, and meanwhile, the connection communication between the abnormal testing system 20 of the intelligent terminal and the at least one terminal to be tested, the comparison terminal and the at least one positioning device is realized.
The anomaly testing system 20 of the intelligent terminal can also obtain the connection state, the serial number and the model of each terminal to be tested, compare the serial number and the model of the terminal, and also obtain the number of each positioning device, and the like, and simultaneously perform relationship matching on the at least one terminal to be tested and the at least one positioning device according to the position of the mobile phone rack, for example, the positioning device with the number 1 corresponds to the terminal to be tested with the serial number 1 and the model XXX, and the like.
After the similarity is calculated by the anomaly testing system 20 of the intelligent terminal, an instruction can be sent according to the corresponding relation between the constructed lamplight with different colors and the different abnormal condition information, when the positioning device is an LED colored lamp, the instruction can comprise the number and the light-emitting color of the colored lamp, the anomaly testing system 20 of the intelligent terminal can send the instruction to the single chip microcomputer through a serial port program, and the single chip microcomputer controls the colored lamp to output corresponding lamplight according to a data format set in the program. The realization of different light colors depends on PWM control, and the PWM controls the color change of the colored lamps by controlling the proportion of the components of each color. For example, a data format is defined, which contains 5 bytes: frame head, color lamp number, red (R) brightness value, green (G) brightness value and blue (B) brightness value, and it is necessary to output the second lamp as white, and send FFH 02H FFH FFH FFH.
Before obtaining the comparison terminal screenshot of the comparison terminal, the anomaly testing system 20 of the intelligent terminal of this embodiment may obtain the related information of the at least one terminal to be tested, the status of the LED color lamp, and the like, detect whether the at least one terminal to be tested is successfully connected, and whether the terminal to be tested is placed at the corresponding position, and may output the related result. When the at least one terminal to be tested is successfully connected and placed at the corresponding position, and the LED colored lamp can normally emit light, a comparison terminal screen capture of the comparison terminal can be obtained.
After the LED colored lamps are lighted, testers can debug corresponding terminals to be tested according to the colored lamps, the abnormity testing system 20 of the intelligent terminal can judge whether the debugging can be completed within a preset time range, if the debugging can not be completed, other terminals to be tested can be tested continuously, and if the debugging can be completed, the relevant LED colored lamps can be closed under the manual operation of the testers after the debugging.
Where the computer-readable storage medium 400 may also be referred to as a memory. The processor 500 may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) or the program 410 loaded into a Random Access Memory (RAM). Processor 500 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 500 may also include on-board memory for caching purposes. Processor 500 may include a single processing unit or multiple processing units for performing different actions of a method flow according to embodiments of the disclosure.
In the RAM, various programs 410 and data necessary for the operation of the abnormality test system 20 of the intelligent terminal are stored. The processor 500, the ROM, and the RAM are connected to each other through a bus. The processor 500 performs various operations of the method flows according to embodiments of the present disclosure by executing the programs 410 in ROM and/or RAM. It is noted that the program 410 may also be stored in one or more memories other than ROM and RAM. The processor 500 may also perform various operations of method flows according to embodiments of the present disclosure by executing the programs 410 stored in the one or more memories.
According to an embodiment of the present disclosure, the anomaly testing system 20 of the intelligent terminal may further include an input/output (I/O) interface, which is also connected to the bus. The anomaly testing system 20 of the intelligent terminal may also comprise one or more of the following components connected to the I/O interface: an input section including a keyboard, a mouse, and the like; an output section including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section including a hard disk and the like; and a communication section including a network interface card such as a LAN card, a modem, or the like. The communication section performs communication processing via a network such as the internet. The drive is also connected to the I/O interface as needed. A removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive as necessary, so that a computer program read out therefrom is mounted into the storage section as necessary.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program, when executed by the processor 500, performs the above-described functions defined in the system of the embodiments of the present disclosure.
Those skilled in the art will appreciate that the computer-readable storage medium 400 may include, but is not limited to, non-volatile or volatile storage media such as Random Access Memory (RAM), static RAM, dynamic RAM, Read Only Memory (ROM), programmable ROM, erasable programmable ROM, electrically erasable programmable ROM, flash memory, Secure Digital (SD) cards, and the like.
The intelligent terminal anomaly testing method, the intelligent terminal anomaly testing device 10 and the intelligent terminal anomaly testing system 20 provided by the embodiment of the invention can effectively test whether the intelligent terminal is anomalous or not through the similarity obtained by comparison, have higher intelligent terminal testing efficiency, output the corresponding abnormal condition information of the terminal to be tested, facilitate the testers to visually find problems, and reduce the labor cost.
The abnormity testing method of the intelligent terminal, the abnormity testing device 10 of the intelligent terminal and the abnormity testing system 20 of the intelligent terminal provided by the invention aim at solving the abnormal situation generated in the testing process, guiding the tester to make reasonable operation, helping the tester to visually find and timely position the abnormal equipment state, reducing the subsequent repeated testing work and improving the testing quality and efficiency. The intelligent terminal abnormality testing method, the intelligent terminal abnormality testing device 10 and the intelligent terminal abnormality testing system 20 realize automatic judgment of abnormal equipment. Compare artifical naked eye and go discernment cell-phone screen, system identification error is littleer, and is fast, has further reduced the input of artifical resource, has promoted work quality and efficiency.
The intelligent terminal anomaly testing method, the intelligent terminal anomaly testing device 10 and the intelligent terminal anomaly testing system 20 realize automatic classification of the anomaly scenes, help testers classify and process anomalies in a mode of combining a picture comparison algorithm and fault processing experience, and output corresponding anomaly condition information of the terminal to be tested, so that the time for the testers to process the anomaly scenes is greatly improved.
According to the abnormal testing method of the intelligent terminal, the abnormal testing device 10 of the intelligent terminal and the abnormal testing system 20 of the intelligent terminal, corresponding abnormal condition information of the terminal to be tested is output through lamplight, a tester can know the fault type only by seeing the color of the lamplight, the time of manual judgment processing is greatly shortened, the testing efficiency is further improved, and powerful guarantee is provided for subsequent testing quality.
It should also be noted that, in the case of the embodiments of the present invention, features of the embodiments and examples may be combined with each other to obtain a new embodiment without conflict.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and the scope of the present invention is subject to the scope of the claims.

Claims (10)

1. An abnormality testing method of an intelligent terminal comprises the following steps:
acquiring a comparison terminal screenshot of a comparison terminal, and acquiring a to-be-tested screenshot of each to-be-tested terminal in at least one to-be-tested terminal, which corresponds to the comparison terminal screenshot;
comparing the similarity between the screenshot of the comparison terminal and each screenshot to be tested;
and outputting corresponding abnormal condition information of the terminal to be tested according to the similarity.
2. The anomaly testing method according to claim 1,
and when the similarity is within a first similarity range, the output abnormal condition information comprises the problem that the screen of the corresponding terminal to be tested has a white screen or a black screen.
3. The anomaly testing method according to claim 2,
when the similarity is within a second similarity range, the output abnormal condition information comprises the problem that the screen of the corresponding terminal to be tested has data wrong rows; and is
The maximum value of the first similarity range is smaller than the minimum value of the second similarity range.
4. The anomaly testing method according to claim 3,
when the similarity is within a third similarity range, the output abnormal condition information comprises the problem that the screen of the corresponding terminal to be tested has resolution; and is
The maximum value of the second similarity is smaller than the minimum value of the third similarity.
5. The anomaly testing method according to claim 1, wherein said comparing the similarity of said comparison terminal screen shot to each of said screenshots to be tested comprises:
comparing each pixel point of the comparison terminal screenshot with each pixel point of the screenshot to be tested;
and dividing the number of the pixel points of the to-be-tested screenshot, the comparison result of which is equal, by all the pixel points of the to-be-tested screenshot to obtain the similarity.
6. The anomaly testing method according to claim 1, wherein before obtaining a comparison terminal screenshot of a comparison terminal, further comprising:
judging whether the abnormal condition information can be output; and is
And acquiring a comparison terminal screenshot of the comparison terminal only when the abnormal condition information can be output.
7. The anomaly testing method according to claim 1, wherein before outputting the corresponding abnormal condition information of the terminal to be tested according to the similarity, the method further comprises:
constructing corresponding relations between the lamplight with different colors and the abnormal condition information; and the outputting of the corresponding abnormal condition information of the terminal to be tested according to the similarity comprises:
and outputting the abnormal condition information by turning off a lamp which emits a color corresponding to the abnormal condition information in the corresponding relation.
8. The anomaly testing method according to claim 1,
the at least one terminal to be tested is a plurality of terminals to be tested with different models.
9. An abnormality testing device of an intelligent terminal, comprising:
the acquisition module is used for acquiring a comparison terminal screenshot of a comparison terminal and acquiring a to-be-tested screenshot, corresponding to the comparison terminal screenshot, of each to-be-tested terminal in at least one to-be-tested terminal;
the comparison module is used for comparing the similarity between the screenshot of the comparison terminal and each screenshot to be tested;
and the output module is used for outputting the corresponding abnormal condition information of the terminal to be tested according to the similarity.
10. An anomaly testing system of an intelligent terminal comprises:
a computer-readable storage medium having stored therein a program for implementing the anomaly testing method according to any one of claims 1-8 when executed by the processor, and a processor.
CN202010809649.3A 2020-08-12 2020-08-12 Intelligent terminal abnormity testing method, device and system Pending CN111915601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010809649.3A CN111915601A (en) 2020-08-12 2020-08-12 Intelligent terminal abnormity testing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010809649.3A CN111915601A (en) 2020-08-12 2020-08-12 Intelligent terminal abnormity testing method, device and system

Publications (1)

Publication Number Publication Date
CN111915601A true CN111915601A (en) 2020-11-10

Family

ID=73283970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010809649.3A Pending CN111915601A (en) 2020-08-12 2020-08-12 Intelligent terminal abnormity testing method, device and system

Country Status (1)

Country Link
CN (1) CN111915601A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581444A (en) * 2020-12-15 2021-03-30 中国建设银行股份有限公司 Anomaly detection method, device and equipment
CN112991321A (en) * 2021-04-08 2021-06-18 读书郎教育科技有限公司 Detection method and system for flat screen-patterned test

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229560A (en) * 2016-03-23 2017-10-03 阿里巴巴集团控股有限公司 A kind of interface display effect testing method, image specimen page acquisition methods and device
CN107885635A (en) * 2017-10-31 2018-04-06 努比亚技术有限公司 Blank screen detection method, mobile terminal and computer-readable recording medium
CN110334729A (en) * 2019-05-09 2019-10-15 四川大学华西医院 Testing instruments automatic alarm notifies system
CN111143188A (en) * 2018-11-02 2020-05-12 中移(杭州)信息技术有限公司 Method and equipment for automatically testing application
CN111198815A (en) * 2019-12-24 2020-05-26 中移(杭州)信息技术有限公司 User interface compatibility testing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229560A (en) * 2016-03-23 2017-10-03 阿里巴巴集团控股有限公司 A kind of interface display effect testing method, image specimen page acquisition methods and device
CN107885635A (en) * 2017-10-31 2018-04-06 努比亚技术有限公司 Blank screen detection method, mobile terminal and computer-readable recording medium
CN111143188A (en) * 2018-11-02 2020-05-12 中移(杭州)信息技术有限公司 Method and equipment for automatically testing application
CN110334729A (en) * 2019-05-09 2019-10-15 四川大学华西医院 Testing instruments automatic alarm notifies system
CN111198815A (en) * 2019-12-24 2020-05-26 中移(杭州)信息技术有限公司 User interface compatibility testing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581444A (en) * 2020-12-15 2021-03-30 中国建设银行股份有限公司 Anomaly detection method, device and equipment
CN112991321A (en) * 2021-04-08 2021-06-18 读书郎教育科技有限公司 Detection method and system for flat screen-patterned test

Similar Documents

Publication Publication Date Title
US9983061B2 (en) Method, apparatus and system for testing optical characteristics of display module
US9098986B2 (en) Indicator light interpretation device and method for indicator lights of an electronic device
CN107103330A (en) A kind of LED status recognition methods and device
CN103024434A (en) Automatic test system based on image matching
CN111915601A (en) Intelligent terminal abnormity testing method, device and system
CN111145138B (en) Detection method, device and equipment for LED lamp panel and storage medium
CN111045924A (en) Processing method, device and equipment for user interface visual acceptance
CN113096060B (en) Positioning method and device for abnormal color lamp beads and storage medium
CN116007750A (en) LED detection method, device, equipment, storage medium and system
CN112730406A (en) Product testing method, system and readable storage medium
CN115330789A (en) Screen defect detection method, device, equipment and readable storage medium
CN115861327A (en) PCB color change defect detection method, device, equipment and medium
CN102981956A (en) Method, and device for establishing overlay symbol table, method and device and program modulation system for establishing and searching overlay symbol table, and program modulation system
CN113554965A (en) Bad point processing method and device of display screen and control equipment of display screen
CN110719382B (en) Color replacement method and device
CN109596317B (en) Detection method and device for panel lamp
WO2020135097A1 (en) Method and apparatus for channel switch detection of display terminal
CN108802512B (en) Power distribution system test method and device
CN115188322A (en) Display unit configuration method and device
CN115564726A (en) Detection method and device for LED light-emitting device, electronic equipment and storage medium
CN113709065A (en) Automatic detection method, system, equipment and storage medium for panel light of switch
CN115100625A (en) Method and system for identifying state of signal lamp
CN111598832A (en) Slot defect marking method and device and storage medium
CN105049836A (en) LED TV backlight partitioning rapid inspection method
CN113012607A (en) Display module detection method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination