CN109684525B - Document display method and device, storage medium and test equipment - Google Patents
Document display method and device, storage medium and test equipment Download PDFInfo
- Publication number
- CN109684525B CN109684525B CN201811565676.XA CN201811565676A CN109684525B CN 109684525 B CN109684525 B CN 109684525B CN 201811565676 A CN201811565676 A CN 201811565676A CN 109684525 B CN109684525 B CN 109684525B
- Authority
- CN
- China
- Prior art keywords
- error information
- document
- preset database
- error
- test equipment
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a document display method, a document display device, a storage medium and test equipment. The method comprises the following steps: receiving first error information; detecting whether second error information matched with the first error information exists in a preset database; if second error information matched with the first error information exists in the preset database, acquiring a target help document corresponding to the second error information from the preset database, wherein different error information and corresponding help documents are stored in the preset database; displaying the content of the target help document. The method and the device can improve the efficiency of solving the problem pointed out by the error information.
Description
Technical Field
The application belongs to the technical field of test equipment, and particularly relates to a document display method and device, a storage medium and test equipment.
Background
Before the electronic device leaves a factory or during maintenance, the electronic device is usually required to be tested by using a testing device so as to test whether each component of the electronic device, such as a microphone, a speaker, etc., can work normally. In the process of testing the electronic device, if the test device receives the error information, a tester is generally required to open a help document to view related contents to solve the problem indicated by the error information. If the content in the help document is more, the tester cannot necessarily check the related content in time, so that the efficiency of solving the problem pointed out by the error information is low.
Disclosure of Invention
The embodiment of the application provides a document display method, a document display device, a storage medium and a test device, which can improve the efficiency of solving the problem pointed out by error information.
The embodiment of the application provides a document display method, which comprises the following steps:
receiving first error information;
detecting whether second error information matched with the first error information exists in a preset database;
if second error information matched with the first error information exists in the preset database, acquiring a target help document corresponding to the second error information from the preset database, wherein different error information and corresponding help documents are stored in the preset database;
displaying the content of the target help document.
An embodiment of the present application provides a document display apparatus, including:
the receiving module is used for receiving first error reporting information;
the detection module is used for detecting whether second error information matched with the first error information exists in a preset database or not;
an obtaining module, configured to obtain, if second error information that matches the first error information exists in the preset database, a target help document corresponding to the second error information from the preset database, where different error information and help documents corresponding to the error information are stored in the preset database;
and the display module is used for displaying the content of the target help document.
An embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is caused to execute a flow in a document display method provided by an embodiment of the present application.
The embodiment of the present application further provides a testing device, which includes a memory and a processor, where the processor is used to execute the flow in the document display method provided by the embodiment of the present application by calling the computer program stored in the memory.
In the embodiment of the application, when the error information is received, the test equipment acquires the help document corresponding to the error information and displays the content of the help document. The help document records the solution of the problem indicated by the error information, so that a tester can quickly check the solution of the problem indicated by the error information, and the efficiency of solving the problem indicated by the error information can be improved.
Drawings
The technical solutions and advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.
FIG. 1 is a flowchart illustrating a document display method according to an embodiment of the present disclosure.
FIG. 2 is another schematic flow chart diagram of a document display method according to an embodiment of the present application.
Fig. 3 to 9 are scene diagrams of a document display method according to an embodiment of the present application.
FIG. 10 is a schematic structural diagram of a document display device according to an embodiment of the present application.
Fig. 11 is a schematic structural diagram of a test apparatus provided in an embodiment of the present application.
Fig. 12 is another schematic structural diagram of a test apparatus provided in an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the prior art, before electronic equipment leaves a factory or during maintenance, a tester often needs to test each part of the electronic equipment by using test equipment to test whether each function of the electronic equipment is normal. In the process of testing the electronic equipment, if a problem of a certain function of the electronic equipment is detected, the test equipment generates error report information. Wherein, the error information is used for indicating the problem of the function of the electronic equipment. When the test equipment receives the error information, the error information can be displayed so as to inform the tester of the problem of the function of the electronic equipment. When the tester sees the problem, it needs to help find the corresponding solution in the document. The help document records solutions corresponding to all possible problems of all parts of the electronic equipment. It will be appreciated that there are many components of an electronic device and many problems that may exist with each component, and therefore, many solutions must be documented in help documentation. The tester inevitably needs to spend some time to find a corresponding solution in the help document to solve the problem, so that the tester cannot timely solve the problem pointed out by the error information, and the efficiency of solving the problem pointed out by the error information is low.
Referring to fig. 1, fig. 1 is a schematic flow chart of a document display method according to an embodiment of the present application, where the flow chart may include:
in 101, a first error message is received.
For example, suppose a tester needs to detect whether a microphone of an electronic device is functioning properly. The tester can use the testing device to detect the function of the microphone of the electronic device. Assuming that the testing device detects that the microphone of the electronic device does not receive sound, first error information is generated. Wherein the first error information is used for indicating the problem of the microphone of the electronic device detected by the testing device. The test equipment may receive the first error message. When the testing device receives the first error information, the testing device can display the first error information to inform a testing person what problem exists in the microphone of the electronic device. For example, if the testing device detects that the microphone of the electronic device cannot receive sound, the first error information may be: "no sound is received by the microphone".
At 102, whether second error information matched with the first error information exists in the preset database is detected.
For example, the testing device may preset a preset database, and the tester stores a large amount of error information and help documents corresponding to the error information in the preset database according to experience. The error reporting information is used for indicating the problem detected by the tested part and tested by the testing equipment. So that the tester knows which problems exist with the tested component. The tested part refers to a part detected by the tested equipment in the electronic equipment. Help documentation is used to document solutions to the problems indicated in the error information.
In the present embodiment, it is assumed that the first error information is "no sound is received by the microphone". When the test equipment receives the first error information, whether second error information matched with the first error information exists in a preset database or not is detected. That is, the testing device detects whether the preset database has the error message of 'no sound received by the microphone'.
In 103, if there is second error information matching the first error information in the preset database, a target help document corresponding to the second error information is obtained from the preset database.
Different error reporting information and corresponding help documents are stored in the preset database.
For example, if the preset database stores the error information of "no sound received by the microphone", the testing device may obtain the target help document corresponding to the error information of "no sound received by the microphone" from the preset database. The target help document describes a solution to the problem of "no sound received by the microphone". In other words, the test device may obtain a solution to the problem of "no sound received by the microphone" from the preset database.
At 104, the contents of the target help document are displayed.
For example, when the test device acquires the target help document corresponding to the error message of "no sound received by the microphone" from the preset database, the content of the target help document may be displayed. For example, the electronic device may display a solution to the problem of "no sound is received by the microphone" on the screen.
It is understood that, in this embodiment, when the error information is received, the test device acquires the help document corresponding to the error information and displays the content of the help document. This help document is recorded with the solution of the problem that error information points out for the tester can look over the solution of solving the problem that this error information points out fast, thereby makes the tester can in time solve the problem that error information points out according to the suggestion of solution, and then can improve the efficiency of solving the problem that points out in the error information.
Referring to fig. 2, fig. 2 is another schematic flow chart of a document display method according to an embodiment of the present application, where the flow chart may include:
in 201, a test device receives a preset database generation instruction.
For example, a preset database generation button may be preset in the test device, and when the user clicks the preset database generation button, the test device receives a preset database generation instruction.
At 202, the test equipment receives a plurality of error messages input by a user according to a preset database generation instruction.
For example, after the test device receives a preset database generation instruction, it may receive a plurality of error messages input by the user. The error reporting information is used for indicating the problem detected by the tested part and tested by the testing equipment. So that the tester knows which problems exist with the tested component.
In this embodiment, after the test device receives the preset database generation instruction, an error information input interface may be provided, so that the user may input error information. The user can input error information encountered during testing according to experience, and can also search data, collect various error information and input the error information into the testing equipment. The electronic equipment receives a plurality of pieces of error information input by a user.
For example, the error information may be: the "sound cannot be received by the microphone", and the error information may be: "the camera can't focus", report wrong information and can also be: "the speaker cannot play sound", etc.
At 203, the test equipment receives help documents corresponding to each error message.
For example, assume that the test equipment receives 3 pieces of error information input by the user, which are error information a, error information b, and error information c, respectively. When the test equipment receives the error information a, the error information b and the error information c input by the user, a help document corresponding to the error information a, a help document corresponding to the error information b and a help document corresponding to the error information c can be received.
Wherein, the help document is used for recording the solution of the problem indicated by the corresponding error information. For example, if the error information is: if the camera cannot focus, the help document corresponding to the error information records a solution to the problem that the camera cannot focus.
At 204, the test equipment generates a preset database according to each error message and the corresponding help document.
For example, after the test device receives each error message and the corresponding help document, a preset database may be generated according to each error message and the corresponding help document.
In some embodiments, the test device may generate a predetermined database in advance, and when the test device receives each error message and the corresponding help document, the test device may store each error message and the corresponding help document in the predetermined database. The preset database can also store the corresponding relation between each error report information and the corresponding document.
In some embodiments, after the test equipment receives the error information pieces, the error information pieces can be used as file names to generate a plurality of empty help documents. The user can open a help document named with each error information for editing. The content edited by the user in the empty help document is a solution corresponding to the problem indicated by each error report message. After the user finishes editing the contents of the plurality of empty help documents, the testing device can generate a preset database according to the help documents named by the error information.
In other embodiments, the testing device may generate a predetermined database in advance, and when the user device detects that the help documents named by the error information are edited, the user device may store the help documents named by the error information into the predetermined database. The test device may also store a help document in a predetermined database after the user edits the contents of the help document, and so on.
In 205, the test equipment uploads a preset database to the server.
It can be understood that, since a great amount of error information and corresponding help documents may be stored in the preset database, the storage space of the testing device may be excessively occupied if the preset database is stored in the testing device. Therefore, after the test equipment generates the preset database according to each error report message and the corresponding help document, the test equipment can upload the preset database to the server.
It can be understood that after the testing device a uploads the corresponding preset database Aa to the server, the testing device B can download the preset database Aa from the server for use, so that the testing device B does not need to spend time to generate the preset database for use. In addition, assuming that the preset database Bb is also stored in the test device B, the test device B can still download the preset database Aa corresponding to the test device a to update the preset database Bb stored in the test device B, that is, the error reporting information and the help document corresponding to the error reporting information existing in the preset database Aa corresponding to the test device a are stored in the preset database Bb corresponding to the test device B, and the error reporting information and the help document corresponding to the error reporting information that do not exist in the preset database Bb corresponding to the test device Bb are stored in the preset database Bb corresponding to the test device B. That is to say, after each testing device stores the corresponding preset database into the server, the storage space of each testing device can be saved, and preset database resources can be shared with other testing devices.
In 206, the test device detects whether a trigger operation for a preset application is received.
It will be appreciated that the predetermined application may be an application in the test device that detects the function of components of the electronic device. In this embodiment, the test device may detect whether a trigger operation for a preset application is received.
In 207, if the trigger operation for the preset application is received, the test device obtains the preset database from the server.
Assuming that a tester clicks a preset application to prepare for detecting a function of a certain component of the electronic device, the electronic device detects a trigger operation on the preset application, the electronic device can open the preset application and enter a main interface of the preset application, and meanwhile, the test device can acquire a preset database from a server.
At 208, the test equipment receives a first error message.
For example, suppose a tester needs to detect whether a microphone of an electronic device is functioning properly. The tester can use the testing device to detect the function of the microphone of the electronic device. Assuming that the testing device detects that the microphone of the electronic device does not receive sound, first error information is generated. Wherein the first error information is used for indicating the problem of the microphone of the electronic device detected by the testing device. The test equipment may receive the first error message. When the testing device receives the first error information, the testing device can display the first error information to inform a testing person what problem exists in the microphone of the electronic device. For example, if the testing device detects that the microphone of the electronic device cannot receive sound, the first error information may be: "no sound is received by the microphone".
In 209, the testing device detects whether there is second error information matching the first error information in the preset database, and enters a process 210 if there is second error information matching the first error information in the preset database, and enters a process 212 if there is no second error information matching the first error information in the preset database.
Wherein, different error information and corresponding help documents are stored in the preset database.
In 210, the test equipment acquires a target help document corresponding to the second error information from a preset database.
For example, if the preset database stores the error information of "no sound received by the microphone", the testing device may obtain the target help document corresponding to the error information of "no sound received by the microphone" from the preset database. The target help document describes a solution to the problem of "no sound received by the microphone". In other words, the test device may obtain a solution to the problem of "no sound received by the microphone" from the preset database.
In 211, the test device displays the contents of the target help document.
For example, when the test device acquires the target help document corresponding to the error message of "no sound received by the microphone" from the preset database, the content of the target help document may be displayed. For example, the electronic device may display a solution to the problem of "no sound is received by the microphone" on the screen.
At 212, the test equipment stores the first error information in a predetermined database.
It can be understood that, if the second error information matching the first error information does not exist in the preset database, it indicates that the first error information is not stored in the preset database, so the test equipment can store the first error information in the preset database.
In 213, the test device receives a help document corresponding to the first error information.
After the testing device stores the first error information into the preset database, a help document corresponding to the first error information can be received. The help document corresponding to the first error information records a solution of the problem indicated by the first error information.
In 214, the test equipment stores the help document corresponding to the first error information in a preset database.
For example, the test device may store the help document corresponding to the first error information in a preset database to update the preset database. Meanwhile, the test equipment can upload the updated preset database to the server, so that other test equipment can update the preset database of the test equipment.
In some embodiments, the flow 203 may include:
providing and displaying a document editing interface;
and receiving help documents edited by a user and corresponding to the error information through the document editing interface.
The document editing interface is used for receiving help documents edited by a user and corresponding to the error information.
For example, the test equipment may provide a document editing interface and display. The user may click on the editing interface to edit the help document corresponding to each error message. For example, the user may click the document editing interface, select a certain error information, edit the help document corresponding to the error information, and click the save button to save the edited help document after the user edits the help document corresponding to the error information. At this time, the test equipment receives the help document corresponding to the error information. Similarly, the user may edit the help document corresponding to the other error information and save the help document after editing. Therefore, the test equipment can receive the help documents corresponding to the error information.
In some embodiments, the test device may display a document editing interface each time the user enters an error message. The user may click on the document editing interface to edit the help document corresponding to the error information. The help document records a solution to the problem indicated by the error information. Wherein the help document may be named with the error information. For example, assume that the error information is: the "no sound received by the microphone" help document corresponding to the error message may be named "no sound received by the microphone".
In some embodiments, the flow 213 may include:
providing and displaying a document editing interface;
and receiving the help document edited by the user and corresponding to the first error information through the document editing interface.
The document editing interface is used for receiving a help document edited by a user and corresponding to the first error information.
For example, after the test device displays the document editing interface, the user may click the editing interface to edit the help document corresponding to the first error information. For example, the user may click the document editing interface to edit the help document corresponding to the first error information, and after the user edits the help document corresponding to the first error information, the user may click the save button to save the edited help document. At this time, the test equipment receives the help document corresponding to the first error information.
Referring to fig. 3 to 9 together, fig. 3 to 9 are schematic views of a scene of a document display method according to an embodiment of the present application.
The user can click a certain application of the test equipment for testing whether the functions of all parts of the electronic equipment are normal or not, namely, the application enters a main interface of the application. As shown in fig. 3, the user may click on a generate preset database interface into the application and click on a generate preset database button. The test equipment can generate and display a prompt message. The prompt information is used for prompting the user whether to select to generate a preset database. If the user selects yes, the testing device may generate a predetermined database and enter the interface shown in fig. 4.
In some embodiments, when the user clicks the generate default database button, the test device may generate a default database and directly enter the interface as shown in fig. 4.
When the test equipment enters the interface shown in fig. 4, the user can click an input box in the interface to input error information. As shown in fig. 5, the user may click on an input box in the interface to input an error message "no sound received by the microphone" and then click on a confirm input button. When the test equipment receives the error message of 'microphone cannot receive sound' input by the user, the test equipment enters the interface shown in fig. 6.
As shown in fig. 6, the test apparatus provides a document editing interface and displays, and prompts the user to input a "no sound received by microphone" solution in the document editing interface. As shown in fig. 7, the user may click on the text editing interface to edit the "no sound received by microphone" solution. After the user finishes editing the "microphone does not receive sound" solution, the save button may be clicked. When the test device receives the trigger operation of the save button, the test device may name a help document describing the "microphone does not receive sound" solution with error information of "microphone does not receive sound" and store the file in the preset database.
Similarly, after the test device names the help document describing the solution that the microphone cannot receive the sound with the error information that the microphone cannot receive the sound and stores the name in the preset database, the test device may continue to enter the interface shown in fig. 3, so that the user may continue to input the second error information, and finally the test device may name the help document describing the solution to the problem indicated by the second error information with the second error information and store the name in the preset database.
By analogy, the test equipment can name the help document recording the solution of the problem indicated by the third error information and store the help document in the preset database.
The test equipment can name the help document recording the solution of the problem indicated by the N-th error information and store the N-th error information in the preset database. Wherein N is more than or equal to 4.
When the test equipment no longer receives the error information input by the user within the preset time, the test equipment can upload the preset database to the server.
When a user wants to test whether the functions of all parts of certain electronic equipment are normal or not, the user can click the preset application of the test equipment, and the test equipment detects that the trigger operation of the preset application is received. The preset application may be an application for testing functions of each component of the electronic device. When the test device detects that the trigger operation for the preset application is received, the test device may obtain the preset database from the server. The preset database may be a preset database previously uploaded to a server by the testing device. The test equipment can also acquire the preset database uploaded to the server by other test equipment from the server so as to update the preset database of the test equipment, namely error reporting information existing in the preset database of other test equipment and a help document corresponding to the error reporting information are stored in the preset database of the test equipment, and error reporting information not existing in the preset database of the test equipment and a document corresponding to the error reporting information are stored in the preset database of the test equipment.
Assume that a user uses a test device to test the function of a microphone in an electronic device. Assuming that the testing device detects that the microphone of the electronic device does not receive sound, the testing device may generate an error message. The error reporting information is as follows: "no sound is received by the microphone". As shown in fig. 8, when the test device receives the error message, the test device may display the error message to inform the user what problem exists with the microphone. Meanwhile, the test equipment can detect whether the preset database has error reporting information matched with the error reporting information, and if the preset database has error reporting information matched with the error reporting information, the test equipment can acquire the help document corresponding to the error reporting information from the preset database. It can be understood that, since the test device has stored the help document corresponding to the error message of "no sound received by microphone" in the preset database before, the test device may retrieve the help document corresponding to the error message of "no sound received by microphone" in the preset database.
As shown in fig. 9, when the test device acquires a help document corresponding to error information of "no sound is received by the microphone", the test device may display the content of the help document. The content of the help document is a "no sound received by the microphone" solution. When the user sees the solution, the problem of "no sound is received by the microphone" can be solved according to the solution.
It can be understood that, since the test device may obtain the help document corresponding to the error information directly from the preset database after receiving the error information. Wherein, the help document corresponding to the error information is recorded with a solution for solving the error information. The user can find the solution of the error information in the help document without spending time to record more contents, so that the efficiency of solving the problem indicated in the error information is improved.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a document display device according to an embodiment of the present application. The document display apparatus includes: the device comprises a receiving module 301, a detecting module 302, an obtaining module 303 and a displaying module 303.
The receiving module 301 is configured to receive first error information.
The detecting module 302 is configured to detect whether there is second error information matching the first error information in a preset database.
An obtaining module 303, configured to obtain a target help document corresponding to second error information from the preset database if the second error information matching the first error information exists in the preset database, where different error information and corresponding help documents are stored in the preset database.
A display module 304 for displaying the content of the target help document.
In some embodiments, the detection module 302 may be configured to: if second error information matched with the first error information does not exist in the preset database, storing the first error information into the preset database; receiving a help document corresponding to the first error information; and storing the help document corresponding to the first error reporting information into a preset database.
In some embodiments, the detection module 302 may be configured to: providing and displaying a document editing interface, wherein the document editing interface is used for receiving a help document edited by a user and corresponding to the first error information; and receiving a help document edited by a user and corresponding to the first error information through the document editing interface.
In some embodiments, the receiving module 301 may be configured to: receiving a preset database generation instruction; receiving a plurality of pieces of error information input by a user according to the preset database generation instruction; receiving help documents corresponding to each error report message; and generating a preset database according to the error information and the corresponding help document.
In some embodiments, the receiving module 301 may be configured to: providing and displaying a document editing interface, wherein the document editing interface is used for receiving help documents edited by a user and corresponding to each error report message; and receiving help documents edited by a user and corresponding to the error information through the document editing interface.
In some embodiments, the receiving module 301 may be configured to: and uploading the preset database to a server.
In some embodiments, the receiving module 301 may be configured to: detecting whether a trigger operation on a preset application is received; and if the trigger operation of the preset application is received, acquiring a preset database from the server.
An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is caused to execute the flow in the document display method provided in this embodiment.
The embodiment of the present application further provides a testing device, which includes a memory and a processor, where the processor is used to execute the flow in the document display method provided in this embodiment by calling the computer program stored in the memory.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a testing apparatus according to an embodiment of the present disclosure.
The test device 400 may comprise an output unit 401, a memory 402, a processor 403, etc. Those skilled in the art will appreciate that the test device configuration shown in FIG. 11 does not constitute a limitation of the test device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The output unit 401 may be used to display information input by or provided to the user and various graphical user interfaces of the test equipment, which may be made up of graphics, text, icons, video, and any combination thereof. The output unit may include a display panel.
The memory 402 may be used to store applications and data. The memory 402 stores applications containing executable code. The application programs may constitute various functional modules. The processor 403 executes various functional applications and data processing by running an application program stored in the memory 402.
The processor 403 is a control center of the test equipment, connects various parts of the entire test equipment using various interfaces and lines, and performs various functions of the test equipment and processes data by running or executing an application program stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the test equipment.
In this embodiment, the processor 403 in the test equipment loads the executable code corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 403 runs the application programs stored in the memory 402, thereby implementing the following processes:
receiving first error information;
detecting whether second error information matched with the first error information exists in a preset database;
if second error information matched with the first error information exists in the preset database, acquiring a target help document corresponding to the second error information from the preset database, wherein different error information and corresponding help documents are stored in the preset database;
displaying the content of the target help document.
Referring to fig. 12, the test equipment 500 may include an output unit 501, a memory 502, a processor 503, an input unit 504, a speaker 505, a microphone 506, and the like.
The output unit 501 may be used to display information input by or provided to a user and various graphical user interfaces of the test equipment, which may be made up of graphics, text, icons, video, and any combination thereof. The output unit may include a display panel.
The memory 502 may be used to store applications and data. Memory 502 stores applications containing executable code. The application programs may constitute various functional modules. The processor 503 executes various functional applications and data processing by running an application program stored in the memory 502.
The processor 503 is a control center of the test equipment, connects various parts of the whole test equipment by using various interfaces and lines, and performs various functions of the test equipment and processes data by running or executing an application program stored in the memory 502 and calling the data stored in the memory 502, thereby performing overall monitoring of the test equipment.
The input unit 504 may be used to receive input numbers, character information, or user characteristic information (such as a fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
In this embodiment, the processor 503 in the mobile terminal loads the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 503 runs the application programs stored in the memory 502, thereby implementing the flow:
receiving first error information;
detecting whether second error information matched with the first error information exists in a preset database;
if second error information matched with the first error information exists in the preset database, acquiring a target help document corresponding to the second error information from the preset database, wherein different error information and corresponding help documents are stored in the preset database;
displaying the content of the target help document.
In some embodiments, after the processor 503 performs the process of detecting whether there is second error information matching the first error information in the preset database, it may further perform: if second error information matched with the first error information does not exist in the preset database, storing the first error information into the preset database; receiving a help document corresponding to the first error information; and storing the help document corresponding to the first error reporting information into a preset database.
In some embodiments, when the processor 503 performs the process of receiving the help document corresponding to the first error information, it may perform: providing and displaying a document editing interface, wherein the document editing interface is used for receiving a help document edited by a user and corresponding to the first error information; and receiving a help document edited by a user and corresponding to the first error information through the document editing interface.
In some embodiments, the processor 503 may further perform: receiving a preset database generation instruction; receiving a plurality of pieces of error information input by a user according to the preset database generation instruction; receiving help documents corresponding to each error report message; and generating a preset database according to the error information and the corresponding help document.
In some embodiments, when the processor 503 executes the process of receiving the help document corresponding to each error report, it may execute: providing and displaying a document editing interface, wherein the document editing interface is used for receiving help documents edited by a user and corresponding to each error report message; and receiving help documents edited by a user and corresponding to the error information through the document editing interface.
In some embodiments, after the processor 503 executes the process of generating the preset database according to the error information and the help document corresponding to the error information, the process may further execute: and uploading the preset database to a server.
In some embodiments, before the process of receiving the first error information is executed by the processor 503, the process may further include: detecting whether a trigger operation on a preset application is received; and if the trigger operation of the preset application is received, acquiring a preset database from the server.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the document display method, and are not described herein again.
The document display apparatus provided in the embodiment of the present application and the document display method in the above embodiment belong to the same concept, and any method provided in the embodiment of the document display method may be run on the document display apparatus, and a specific implementation process thereof is described in the embodiment of the document display method in detail, and is not described herein again.
It should be noted that, for the document display method described in the embodiment of the present application, it can be understood by those skilled in the art that all or part of the process of implementing the document display method described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and during the execution, the process of the embodiment of the document display method can be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the document display device according to the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The document display method, the document display apparatus, the document storage medium, and the electronic device provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (7)
1. A document display method is applied to a test device, and comprises the following steps:
detecting whether a trigger operation on a preset application is received;
if the trigger operation of the preset application is received, starting the preset application, entering a main interface of the preset application, and simultaneously acquiring a preset database uploaded to a server by the test equipment from the server, wherein different error reporting information and corresponding help documents are stored in the preset database of the test equipment;
acquiring a preset database uploaded to the server by other test equipment from the server;
the method comprises the steps that error reporting information and help documents corresponding to the error reporting information exist in preset databases of other test equipment, and the error reporting information and the help documents corresponding to the error reporting information do not exist in the preset databases of the test equipment are stored in the preset databases of the test equipment, so that the preset databases of the test equipment are updated;
when detecting that a component of an electronic device has a problem, generating first error information, wherein the first error information is used for indicating the problem of the component of the electronic device;
receiving the first error information;
displaying the first error information to inform a tester of problems of the components of the electronic equipment, and detecting whether second error information matched with the first error information exists in a preset database of the testing equipment;
if second error information matched with the first error information exists in a preset database of the test equipment, acquiring a target help document corresponding to the second error information from the preset database of the test equipment;
displaying the content of the target help document;
if second error information matched with the first error information does not exist in a preset database of the test equipment, storing the first error information into the preset database of the test equipment;
providing and displaying a document editing interface, wherein the document editing interface is used for receiving a help document edited by a user and corresponding to the first error information;
receiving a help document edited by a user and corresponding to the first error information through the document editing interface;
and storing the help document corresponding to the first error reporting information into a preset database of the test equipment.
2. The document display method according to claim 1, further comprising:
receiving a preset database generation instruction;
receiving a plurality of pieces of error information input by a user according to the preset database generation instruction;
receiving help documents corresponding to each error report message;
and generating a preset database according to the error information and the corresponding help document.
3. The document display method according to claim 2, wherein the receiving of the help document corresponding to each error information includes:
providing and displaying a document editing interface, wherein the document editing interface is used for receiving help documents edited by a user and corresponding to each error report message;
and receiving help documents edited by a user and corresponding to the error information through the document editing interface.
4. The method of claim 2, wherein after generating a predetermined database according to the error information and the help document corresponding thereto, the method further comprises:
and uploading the preset database to a server.
5. A document display device, applied to a test apparatus, comprising:
the updating module is used for detecting whether a triggering operation for the preset application is received; if the trigger operation of the preset application is received, starting the preset application, entering a main interface of the preset application, and simultaneously acquiring a preset database uploaded to a server by the test equipment from the server, wherein different error reporting information and corresponding help documents are stored in the preset database of the test equipment; acquiring a preset database uploaded to the server by other test equipment from the server; the method comprises the steps that error reporting information and help documents corresponding to the error reporting information exist in preset databases of other test equipment, and the error reporting information and the help documents corresponding to the error reporting information do not exist in the preset databases of the test equipment are stored in the preset databases of the test equipment, so that the preset databases of the test equipment are updated;
the electronic equipment comprises a generating module, a judging module and a judging module, wherein the generating module is used for generating first error information when detecting that a component of the electronic equipment has a problem, and the first error information is used for indicating the problem of the component of the electronic equipment;
a receiving module, configured to receive the first error information;
the detection module is used for displaying the first error information to inform a tester of problems of components of the electronic equipment, and detecting whether second error information matched with the first error information exists in a preset database of the test equipment;
the acquisition module is used for acquiring a target help document corresponding to second error information from a preset database of the test equipment if the second error information matched with the first error information exists in the preset database of the test equipment;
a display module for displaying the content of the target help document;
the detection module is further configured to store the first error information into a preset database of the test device if second error information matching the first error information does not exist in the preset database of the test device; providing and displaying a document editing interface, wherein the document editing interface is used for receiving a help document edited by a user and corresponding to the first error information; receiving a help document edited by a user and corresponding to the first error information through the document editing interface; and storing the help document corresponding to the first error reporting information into a preset database of the test equipment.
6. A storage medium in which a computer program is stored, which, when run on a computer, causes the computer to execute the document display method according to any one of claims 1 to 4.
7. A test device comprising a processor and a memory, the memory having stored therein a computer program, the processor being configured to execute the document display method of any one of claims 1 to 4 by calling the computer program stored in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811565676.XA CN109684525B (en) | 2018-12-20 | 2018-12-20 | Document display method and device, storage medium and test equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811565676.XA CN109684525B (en) | 2018-12-20 | 2018-12-20 | Document display method and device, storage medium and test equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109684525A CN109684525A (en) | 2019-04-26 |
CN109684525B true CN109684525B (en) | 2021-03-02 |
Family
ID=66188215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811565676.XA Active CN109684525B (en) | 2018-12-20 | 2018-12-20 | Document display method and device, storage medium and test equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109684525B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112491649A (en) * | 2020-11-17 | 2021-03-12 | 中国平安财产保险股份有限公司 | Interface joint debugging test method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101135992A (en) * | 2007-09-29 | 2008-03-05 | 中兴通讯股份有限公司 | Resource file testing system and testing method |
CN106126414A (en) * | 2016-06-14 | 2016-11-16 | 珠海格力电器股份有限公司 | Application software testing method and system |
CN106294172A (en) * | 2016-08-17 | 2017-01-04 | 刘华英 | App self-testing method based on terminal unit and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100557575C (en) * | 2007-01-29 | 2009-11-04 | 中南大学 | Mobile robot's software fault diagnosis system based on artificial immune system |
CN102045181B (en) * | 2009-10-10 | 2013-08-07 | 中国移动通信集团公司 | Method and device for handling terminal offline fault |
CN103530199B (en) * | 2012-07-02 | 2015-12-02 | 腾讯科技(深圳)有限公司 | A kind of method, Apparatus and system repairing running software mistake |
CN103220196A (en) * | 2013-04-22 | 2013-07-24 | 无锡乾煜信息技术有限公司 | System and method for facilitating intelligent updating of document in digital family |
US10152400B2 (en) * | 2015-10-09 | 2018-12-11 | Intuit Inc. | Method and system for dynamically unblocking customers in critical workflows by pushing community contributed solutions just-in-time when an error is encountered |
CN107918573A (en) * | 2017-11-10 | 2018-04-17 | 郑州云海信息技术有限公司 | The automatic analysis system of SAS card failure information in a kind of Linux kernel daily records |
-
2018
- 2018-12-20 CN CN201811565676.XA patent/CN109684525B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101135992A (en) * | 2007-09-29 | 2008-03-05 | 中兴通讯股份有限公司 | Resource file testing system and testing method |
CN106126414A (en) * | 2016-06-14 | 2016-11-16 | 珠海格力电器股份有限公司 | Application software testing method and system |
CN106294172A (en) * | 2016-08-17 | 2017-01-04 | 刘华英 | App self-testing method based on terminal unit and device |
Also Published As
Publication number | Publication date |
---|---|
CN109684525A (en) | 2019-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111026645B (en) | User interface automatic test method and device, storage medium and electronic equipment | |
US9037913B2 (en) | Dynamic event generation for user interface control | |
CN109633351B (en) | Intelligent IT operation and maintenance fault positioning method, device, equipment and readable storage medium | |
US10175954B2 (en) | Method of processing big data, including arranging icons in a workflow GUI by a user, checking process availability and syntax, converting the workflow into execution code, monitoring the workflow, and displaying associated information | |
CN105630686A (en) | Traversal testing method and device for applications and mobile terminal | |
CN111190825A (en) | Automatic test method, system and robot | |
CN112115038A (en) | Application testing method and device and storage medium | |
CN111414309A (en) | Automatic test method of application program, computer equipment and storage medium | |
CN104156305A (en) | Application program testing method and device | |
CN114168231A (en) | Application display method and device | |
CN109684525B (en) | Document display method and device, storage medium and test equipment | |
CN115481030A (en) | Automatic testing method, device, terminal and storage medium | |
US10042638B2 (en) | Evaluating documentation coverage | |
US20130326466A1 (en) | Human Readable Software Program Test Step | |
US9104573B1 (en) | Providing relevant diagnostic information using ontology rules | |
CN112182581B (en) | Application testing method, device, application testing equipment and storage medium | |
US11106571B2 (en) | Identification of input object in a graphical user interface | |
CN106708705B (en) | Terminal background process monitoring method and system | |
CN109376085B (en) | Test case generation method and device and computer readable storage medium | |
CN113779117A (en) | Data monitoring method and device, storage medium and electronic equipment | |
CN112416735A (en) | Application program detection method and device, terminal equipment and storage medium | |
CN115543831A (en) | Test script generation method, device, equipment and storage medium | |
US20160132424A1 (en) | Simulating sensors | |
CN115994709A (en) | Data index calculation method, device, computer equipment and storage medium | |
CN115481025A (en) | Script recording method and device for automatic test, computer equipment and medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |