Multi-point test tool, multi-point test method, multi-point test device, multi-point test equipment and storage medium
By providing a scalable multi-point testing tool, the existing multi-point testing equipment is solved with high cost and complex operation problems, and flexible multi-point testing and a more efficient testing process are achieved.
Patent Information
- Application Number
- CN202310949554.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-28
- Publication Date
- 2025-02-14
AI Technical Summary
The existing multi-point testing equipment has high production and management costs, complex testing operations, and cannot flexibly respond to new testing needs.
A multi-point testing tool is provided, the tool includes a mounting rod and a plurality of pen tips, each pen tip is installed on the mounting rod by a telescopic device, and the touch end of the pen tip can be in the same plane or in different plane position states under the adjustment of the telescopic device. By controlling the expansion and contraction change of the expansion and contraction device, multiple expansion and contraction states are entered in sequence, writing operations are performed in each state and screenshots are taken, and the upper limit of the number of writing points of the interactive device to be tested is confirmed based on the similarity of the screenshots.
Multi-point testing is implemented to prepare and use a multi-point testing tool, which reduces the cost of testing equipment production and management, simplifies testing operations, and improves testing flexibility and efficiency.
Smart Images

Figure CN119438736A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of equipment testing technology, and in particular, to a multi-point testing tool, a multi-point testing method, an apparatus, a device, and a storage medium. Background Art
[0002] To ensure the stability of interaction, interactive devices based on touch screens usually require various tests on the touch performance of the touch screens, such as offset tests and multi-point tests.
[0003] The purpose of multi-point testing is to confirm the limit of touch points on the touch display screen to which the interactive device can respond normally. It is usually completed manually. The testing tool is a multi-point pen. Each multi-point pen is provided with multiple pen heads arranged in a single row. By setting different numbers of pen heads for multiple multi-point pens, different multi-point pens can be used to perform writing operations in turn, observe the writing results, and confirm the limit of touch points.
[0004] When the inventor used the existing multi-point pens to perform multi-point testing, he found that the existing multi-point testing can only be performed under multiple fixed numbers. When there are new testing requirements, new multi-point pens can only be customized and multiple multi-point pens can be used to perform multi-point testing. The production and management costs of the test equipment for multi-point testing are high, and the test operation is complicated. Summary of the invention
[0005] The present invention provides a multi-point test tool, a multi-point test method, a device, equipment and a storage medium to solve the technical problems of high production and management costs of test equipment for multi-point testing and complex test operations in the prior art.
[0006] In a first aspect, an embodiment of the present application provides a multi-point testing tool, which includes a mounting rod and a plurality of pen tips, each pen tip is mounted on the mounting rod through a telescopic device, and the touch end of the pen tip has a position state of being in the same plane or in different planes under the telescopic adjustment of the telescopic device;
[0007] When using a multi-point testing tool to perform a multi-point test, the telescopic device is controlled to telescope and change into multiple telescopic states in sequence. In each telescopic state, the multi-point testing tool is used to complete the same writing operation on the interactive device to be tested along the same moving path and take a screenshot, so as to confirm the upper limit of the number of writing points of the interactive device to be tested based on the similarity of two adjacent screenshots. Each subsequent telescopic state adds a pen tip to the writing length compared to the previous adjacent telescopic state.
[0008] In a second aspect, an embodiment of the present application provides a multi-point testing method, which is used to perform a multi-point test using a multi-point testing tool. The multi-point testing method includes:
[0009] When receiving a multi-point test instruction in a state where a data connection is established with the interactive device to be tested, sending a writing software wake-up instruction to the interactive device to be tested, so that the interactive device to be tested starts the writing software to display the writing handwriting according to the writing operation;
[0010] Sending a first screen capture instruction to the interactive device to be tested to capture a screen image of the interactive device to be tested;
[0011] Control the telescopic device to perform telescopic changes and enter multiple telescopic states in sequence, control the mobile device to follow the same preset moving path in each telescopic state, complete a writing operation on the interactive device to be tested, send a second screenshot instruction to the interactive device to be tested after each writing operation is completed, so as to capture the screen image of the interactive device to be tested, in which the touch end of a pen tip is extended to the writing length in the first telescopic state, and each subsequent telescopic state adds a pen tip at the writing length compared to the adjacent previous telescopic state;
[0012] Confirm the similarity between two adjacent captured screen images;
[0013] The upper limit of the writing points of the interactive device to be tested is determined based on the similarity, and the multi-point test is ended.
[0014] In a third aspect, an embodiment of the present application provides a multi-point testing device, which is used to perform a multi-point test through a multi-point testing tool, and the multi-point testing device includes:
[0015] The software startup unit is used to send a writing software wake-up instruction to the interactive device under test when receiving a multi-point test instruction in a state where a data connection is established with the interactive device under test, so that the interactive device under test starts the writing software to display the writing handwriting according to the writing operation;
[0016] A first screen capture unit, used to send a first screen capture instruction to the interactive device to be tested, so as to capture a screen image of the interactive device to be tested;
[0017] A test control unit is used to control the telescopic device to perform telescopic changes and enter multiple telescopic states in sequence, control the mobile device to follow the same preset moving path in each telescopic state, complete a writing operation on the interactive device to be tested, and send a second screenshot instruction to the interactive device to be tested after each writing operation is completed to capture the screen image of the interactive device to be tested, in which a touch end of a pen tip is extended to a writing length in the first telescopic state, and each subsequent telescopic state adds a pen tip to the writing length compared to the adjacent previous telescopic state;
[0018] A similarity confirmation unit, used to confirm the similarity of two adjacent captured screen images;
[0019] The upper limit confirmation unit is used to confirm the upper limit of the writing points of the interactive device to be tested according to the similarity and end the multi-point test.
[0020] In a fourth aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:
[0021] one or more processors;
[0022] a memory for storing one or more computer programs;
[0023] When one or more computer programs are executed by one or more processors, the electronic device implements the multi-point testing method of the second aspect.
[0024] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the multi-point testing method of the second aspect.
[0025] In the above-mentioned multi-point test tool, multi-point test method, device, equipment and storage medium, the multi-point test tool includes a mounting rod and a plurality of pen tips, each pen tip is mounted on the mounting rod by a telescopic device, and the touch end of the pen tip has a position state in the same plane or a different plane under the telescopic adjustment of the telescopic device. When using the multi-point test tool in this scheme to perform multi-point testing, the telescopic state of the pen tip is adjusted sequentially on a multi-point test tool according to the test process, and a writing operation is performed on the interactive device to be tested each time the adjustment is made. To implement multi-point testing, only one multi-point test tool needs to be prepared and used, which reduces the production cost and management cost of the test equipment for implementing multi-point testing, and also reduces the complexity of the test operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A schematic diagram of the structure of a multi-point testing tool provided in an embodiment of the present application.
[0027] Figure 2 A schematic diagram of the state of the multi-point testing tool provided in an embodiment of the present application during testing.
[0028] Figure 3 A schematic diagram of a first hardware architecture for testing the multi-point testing tool provided in an embodiment of the present application.
[0029] Figure 4 A schematic diagram of a second hardware architecture for testing the multi-point testing tool provided in an embodiment of the present application.
[0030] Figure 5 A schematic diagram of a third hardware architecture when the multi-point testing tool provided in an embodiment of the present application is tested.
[0031] Figure 6 A schematic diagram of a fourth hardware architecture for testing the multi-point testing tool provided in an embodiment of the present application.
[0032] Figure 7 A method flow chart of the multi-point testing method provided in an embodiment of the present application.
[0033] Figure 8 A schematic diagram of the structure of a multi-point testing device provided in an embodiment of the present application.
[0034] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only the parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0036] It should be noted that the present application specification does not enumerate all optional implementation modes. After reading the present application specification, those skilled in the art should be able to understand that as long as the technical features do not contradict each other, any combination of the technical features can constitute an optional implementation mode.
[0037] In an interactive device based on a touch screen, interaction can be performed directly based on the display screen, and an interactive effect of synchronized display and operation can be presented. From the perspective of user interaction experience, a device completes the detection of touch operations and the display of corresponding screens; from the perspective of subdivided functional hardware, the detection of touch operations and the display of corresponding screens are implemented through different hardware modules. In an interactive device, a touch screen is assembled by a touch module and a display screen in a similar layered overlapping manner, wherein the touch module detects touch operations and the display screen displays corresponding screens. The touch detection range of the touch module overlaps or nearly overlaps with the display range of the display screen. In this setting state, the touch operation of the touch module will generally have a corresponding screen presentation on the display screen, such as the presentation of the writing handwriting corresponding to each touch point in the writing operation.
[0038] In order to avoid the defect that the defined touch operation cannot be displayed accordingly when developing software for interactive devices, multi-point testing is usually performed on the interactive device to confirm the limit of the number of simultaneous multi-point touch points that the interactive device can support. The existing testing method is to set a multi-point row pen for each point, and use a different multi-point row pen each time, which is equivalent to constantly changing the number of pen tips used for writing with the multi-point row pen, and finally confirming the limit of touch points. This testing method requires the preparation of multiple multi-point row pens. When there are new testing requirements, such as interactive devices of new size or response accuracy, and new multi-point touch function designs, the multi-point row pen needs to be remade. The production cost and management cost of the test equipment for multi-point testing are high, and the test operation is complicated.
[0039] In response to the above technical problems, an embodiment of the present application proposes a multi-point testing tool. When the multi-point testing tool is used to perform multi-point testing on an interactive device to be tested, the retractable state of the pen tip is adjusted sequentially on a multi-point testing tool according to the testing process. Each time the adjustment is made, a writing operation is performed on the interactive device to be tested. To implement multi-point testing, only one multi-point testing tool needs to be prepared and used, which reduces the production and management costs of the test equipment for implementing multi-point testing, and also reduces the complexity of the test operation.
[0040] The multi-point test tool in the embodiment of the present application can be applied to interactive devices generated by touch screens based on various types of touch modules and display screens, and the specific detection target is not limited by the type of touch module and / or display screen and the installation method of the two. For example, a conference tablet with a large touch screen that can be used by multiple people at the same time.
[0041] The following is a detailed description of the various embodiments of the present invention.
[0042] Figure 1A multi-point testing tool 10 is provided in an embodiment of the present application. The multi-point testing tool 10 includes a mounting rod 101 and a plurality of pen tips 102. Each pen tip 102 is mounted on the mounting rod 101 through a telescopic device. The touch ends of the pen tips 102 can be located in the same plane or in different planes under the telescopic adjustment of the telescopic device. When the multi-point testing tool 10 is used to perform a multi-point test, the telescopic device is controlled to perform telescopic changes and enter a plurality of telescopic states in sequence. In each telescopic state, the multi-point testing tool 10 is used to complete the same writing operation on the interactive device to be tested along the same moving path and take a screenshot, so as to confirm the upper limit of the number of writing points of the interactive device to be tested according to the similarity of two adjacent screenshots. Each subsequent telescopic state adds a pen tip 102 at the writing length compared to the adjacent previous telescopic state. The mounting rod 101 may be a structure that is the same as a column in the geometric sense (e.g., a cylinder or a prism), or may be a column-like body with some deviations in details (e.g., chamfers). The pen tip 102 may be regarded as having a connection end and a touch end, wherein the connection end is used to be mounted to the mounting rod 101 through a telescopic device, and the touch end is used to generate a touch point when performing a multi-point test. The telescopic device may be an elastic telescopic device with multiple levels of positioning, and each level of positioning makes the touch end at a different extension length; or it may be a sliding telescopic device based on a slide rail, and the touch end is temporarily fixed by a positioning bolt or the like after sliding to a predetermined position. It should be understood that each telescopic device is connected to only one pen tip 102. Because the telescopic device is extended and retracted in conjunction with the corresponding pen tip 102 to move, the distance between the touch end and the mounting rod 101 can be adjusted. When the multi-point test tool 10 in the embodiment of the present application is used for writing, the touch end farthest from the mounting rod 101 generates a touch point on the interactive device. There may be multiple such touch ends, and these touch ends are in the same plane, and the other touch ends are in other planes. In the embodiment of the present application, the same plane is a spatial concept used to constrain the positional relationship of the touch end of the pen tip 101, that is, when the touch end is located in the same plane farthest from the mounting rod 101, the touch end of the plane can contact with a plane at the same time, thereby ensuring that touch position parameters corresponding to multiple touch points can be generated when performing a multi-point test on the interactive device. By adjusting the number of touch ends of the plane, the number of touch points during the multi-point test can be adjusted. Figure 2 As shown, the touch ends of all the pen tips 102 of the multi-point test tool 10 are in contact with the surface of the touch display screen of the interactive device 30 to be tested. The pen tip 102 refers to a touch object that can be detected by the interactive device 30 to be tested. Specifically, the type of touch object can be selected according to the type of the touch display screen of the interactive device 30 to be tested. For example, a touch display screen based on a capacitive touch module or an inductive touch module requires a capacitive pen tip or an inductive pen tip accordingly.
[0043] A gripping hole may be provided on the mounting rod 101, or Figure 1The grip 103 is mounted on the mounting rod 101. When the test is performed manually, the mounting rod 101 or the grip 103 can be gripped through the grip hole to complete the writing operation during the test.
[0044] In order to improve the test effect, the parts of the multi-point test tool 10 that need to move can be designed as electronic control parts, for example, the telescopic device is set as a motor, specifically a motor-driven translation device; the multi-point test tool 10 also includes a fixed bracket and a moving device; the mounting rod 101 is fixedly mounted on the moving device, and the moving device is used to move in the moving plane confirmed by the fixed bracket, and the moving plane is parallel to the plane where the touch terminal is located. When performing a multi-point test, the fixed bracket and the interactive device to be tested remain relatively still, and the moving plane confirmed by the fixed device is parallel to the surface of the touch display screen of the interactive device to be tested. The distance between the moving plane and the surface of the touch display screen is adjusted to enable the touch terminal at the front end (compared to the mounting rod 101 located at the rear end) to contact the surface of the touch display screen to complete the writing operation, and then control the movement of the moving device to drive the pen head 102 to complete the writing operation required for the multi-point test. Generally speaking, multiple pen heads 102 are installed in a row on the mounting rod 101, and the moving direction during the writing operation is perpendicular to the arrangement direction, and is at an angle close to 90° or not 0°, to ensure that the moving trajectories corresponding to different pen heads 102 do not overlap during the multi-point test.
[0045] In an optional implementation, the mounting rod 101 or the mobile device is provided with a distance sensor, the detection direction of the distance sensor points to the plane where the touch end is located, and the distance sensor is used to detect the distance to the nearest signal reflection surface in front of the touch end. When the distance matches the preset touch distance, it can be confirmed that the touch end has contacted the interactive device to be tested, and the mobile device can be controlled to move and start the writing operation, thereby avoiding invalid movement or excessive contact pressure that may cause damage to the multi-point test tool or the interactive device to be tested.
[0046] Based on the above multi-point testing tool implemented based on electronic control components, the embodiment of the present application further provides a multi-point testing method to achieve automatic control of the multi-point testing tool and automatic judgment of the test results during the multi-point testing process.
[0047] Please take the exam Figure 7 , which is a method flow chart of a multi-point testing method provided in an embodiment of the present application, and the multi-point testing method is implemented by an electronic device. Please refer to Figure 7 The multi-point testing method includes steps S110 to S150:
[0048] Step S110: when a multi-point test instruction is received while a data connection is established with the interactive device to be tested, a writing software wake-up instruction is sent to the interactive device to be tested, so that the interactive device to be tested starts the writing software to display the writing handwriting according to the writing operation.
[0049] The electronic device for implementing the multi-point testing method in the embodiment of the present application may be as follows: Figure 3 and Figure 4 The multi-point test tool 10 and the test computer 20 shown in the figure can be implemented by combining Figure 5 The multi-point test tool 10 shown is implemented independently, or as Figure 6 The test computer 20 shown is implemented separately, wherein the interactive device 30 to be tested is configured with a touch screen 31, which is also a direct test object in the embodiment of the present application. Regardless of the electronic device implemented in which way, it is necessary to establish a data connection with the interactive device 30 to be tested, and the data connection is a wireless data connection or a USB data connection.
[0050] exist Figure 3 The multi-point test tool 10 shown includes the various components for realizing electric control as described above, and also includes a built-in control chip. The control chip serves as the control core of the multi-point test tool 10. When the multi-point test tool 10 establishes a data connection with the test computer 20, the control chip can perform data transmission and reception processing with the test computer 20. The objects of the data transmission and reception processing specifically include the indication of the telescopic state, the result of the distance detection, etc. The test computer 20 also establishes a data connection with the interactive device 30 to be tested for sending instructions and receiving data. Figure 3 Any data connection in can be a wireless data connection or a USB data connection. Figure 3 Each hardware body in the system is powered independently.
[0051] Figure 4 The multi-point test tool 10 shown can be regarded as the core of the multi-point test, that is, the test computer 20 and the interactive device 30 to be tested need to establish a data connection with the multi-point test tool 10 in advance, and it is a wired USB data connection. The data connection between the test computer 20 and the interactive device 30 to be tested is realized through the USB HUB 105 inside the multi-point test tool 10. In this state, the power cord 106 of the multi-point test tool 10 can be set as a plug connected to the mains for power supply, or it can be set as a USB connector connected to the test computer 20 or the interactive device 30 to be tested for power supply.
[0052] Figure 6 The multi-point test tool 10 shown can be regarded as Figure 1On the basis of the multi-point test tool 10 shown, a control chip 104 with data processing capability and a display module (not shown in the figure) for realizing the display of test results are further provided, which is equivalent to that the control of the electric control components and the control of the multi-point test process can be completed in a centralized manner in the multi-point test tool 10. The power cord 106 of the multi-point test tool 10 can be set to be connected to the mains power supply by a plug, or it can be set to be connected to the interactive device 30 to be tested by a USB connector for power supply. If a USB connector is used, data connection can be completed synchronously through the USB connector, and data transmission and power supply can be completed through one connection.
[0053] Figure 7 The electronic device shown can be considered as Figure 1 The multi-point test tool 10 shown is completely controlled by the test computer 20, which of course also establishes a data connection with the interactive device to be tested 30. The specific data connection method is generally the same as described above and will not be described separately here.
[0054] It should be noted that the test computer 20 mentioned above is not a completely redesigned computer, but a computer that is designed based on the existing technology and the test scheme in the embodiment of the present application. During the test, it has the ability to control the multi-point test tool 10 and to provide corresponding operation instructions and data acquisition for the interactive device 30 to be tested.
[0055] Based on the established data connection, the electronic device (such as the multi-point test tool 10 and the test computer 20 mentioned above) can send a writing software wake-up instruction to the interactive device to be tested, so that the interactive device to be tested starts the writing software to display the writing handwriting according to the subsequent writing operation. The writing software can be a specially developed software or an existing software that can realize handwriting handwriting input. When the writing software is just started, only the default interface content of the writing software is displayed in the corresponding window, and other writing handwriting is not displayed.
[0056] Step S120: sending a first screen capture instruction to the interactive device to be tested, so as to capture a screen image of the interactive device to be tested.
[0057] After starting the writing software, the electronic device sends a first screen capture instruction to the interactive device to be tested, so that the interactive device to be tested captures a screen image containing a blank window of the writing software as a reference for subsequent judgment.
[0058] Step S130: Control the telescopic device to perform telescopic changes and enter multiple telescopic states in sequence. In each telescopic state, control the mobile device to follow the same preset moving path to complete a writing operation on the interactive device to be tested. After each writing operation is completed, send a second screenshot instruction to the interactive device to be tested to capture the screen image of the interactive device to be tested. In the first telescopic state, the touch end of a pen tip extends to the writing length, and each subsequent telescopic state adds a pen tip at the writing length compared to the adjacent previous telescopic state.
[0059] In the specific test process, the same as the manual test process, the embodiment of the present application starts with a pen tip, and the pen tips that can be used for writing operations are added one by one to obtain a retracted state. The specific newly added pen tips that may be used for writing operations are quickly and accurately realized by sending an extension command to the motor. Each newly added pen tip completes a writing operation according to the same preset moving path. If the writing operation is completed smoothly, the latter writing operation will add a new writing handwriting compared to the adjacent previous writing operation, while other writing notes will completely overlap or highly overlap (because of slight deviations caused by errors in mechanical movement). The writing handwriting corresponding to each writing operation is correspondingly captured by the second screenshot command and exists in the screen image.
[0060] In order to avoid interference between the front and back contents in the screen image, each time a writing operation is completed, a handwriting clearing instruction is sent to the interactive device under test to clear the handwriting displayed in the window of the writing software, ensuring that the handwriting captured each time is the handwriting generated by the current writing operation, thereby ensuring the accuracy of the test results by ensuring the accuracy of the benchmark test data.
[0061] The various instruction methods in the embodiments of the present application are determined according to the data connection method. For example, based on USB, the adb start command can be used to call up the writing software, and the specific sending of instructions and data can also use other existing sending and receiving methods. The specific captured screen images can be sent by the interactive device to be tested as soon as they are captured, or the screen images captured by the two most recent times can be sent each time.
[0062] Step S140: confirming the similarity between two adjacent captured screen images.
[0063] In terms of the response to each writing operation, if the response is normal, the handwriting will be different from the previous one, that is, the writing operation that can respond normally will be displayed differently because the number of pen tips involved in each writing operation is different. The similarity can be used to determine whether the current writing operation can respond normally. The specific similarity can be determined by first extracting the feature points of the two screen images through a SIFT (Scale-invariant feature transform) feature detector, and then establishing a FLANN (Fast Library for Approximate Nearest Neighbors) matcher to align the extracted feature points, and confirm the similarity based on the aligned feature distance.
[0064] Step S150: confirming the upper limit of the writing points of the interactive device to be tested according to the similarity, and ending the multi-point test.
[0065] When the similarity reaches the preset upper limit of similarity, it is confirmed that the number of pen tips in the previous retractable state of the corresponding two retractable states is the upper limit of the number of writing points of the interactive device to be tested, and the multi-point test is ended. For example, when the number of pen tips of the writing length is 19 and 20, the preset upper limit of similarity is reached 99%, and it can be confirmed that the interactive device to be tested cannot process more touch points, and the upper limit of the number of writing points is 19. At this time, the multi-point test can be ended. The specific test process can be to perform a similarity judgment once each writing operation is completed, including a judgment with the upper limit of the number of writing points. This method can complete the detection with the minimum number of writing operations; it can also be that after performing a preset number of multiple writing operations, multiple similarity judgments are concentrated. This method can balance the comparison speed and the number of writing operations; it can also be that after performing the number of writing operations corresponding to the number of pen tips of the multi-point test tool, multiple similarity judgments are finally performed. This method can basically confirm that the final test result is directly obtained.
[0066] Figure 8 This is a schematic diagram of the structure of a multi-point test device provided in an embodiment of the present application, and the multi-point test device is used to perform a multi-point test using the multi-point test tool described above. Figure 8 The multi-point testing device includes a software starting unit 310, a first screen capture unit 320, a test control unit 330, a similarity confirmation unit 340 and an upper limit confirmation unit 350.
[0067] The software startup unit 310 is used to send a writing software wake-up instruction to the interactive device under test when receiving a multi-point test instruction in a state where a data connection is established with the interactive device under test, so that the interactive device under test starts the writing software to display the writing handwriting according to the writing operation; the first screen capture unit 320 is used to send a first screen capture instruction to the interactive device under test to capture the screen image of the interactive device under test; the test control unit 330 is used to control the telescopic device to perform telescopic changes and enter multiple telescopic states in sequence, and control the mobile device to complete a writing operation on the interactive device under test according to the same preset moving path in each telescopic state, and send a second screen capture instruction to the interactive device under test after each writing operation is completed, so as to capture the screen image of the interactive device under test, in which the touch end of a pen tip is extended to the writing length in the first telescopic state, and each subsequent telescopic state adds a pen tip at the writing length compared to the adjacent previous telescopic state; the similarity confirmation unit 340 is used to confirm the similarity of two adjacent screen images captured; the upper limit confirmation unit 350 is used to confirm the upper limit of the number of writing points of the interactive device under test according to the similarity, and end the multi-point test.
[0068] Based on the above embodiment, the multi-point testing device further includes:
[0069] The note clearing unit is used to send a handwriting clearing instruction to the interactive device to be tested every time a writing operation is completed, so as to clear the handwriting displayed by the writing software.
[0070] Based on the above embodiment, the upper limit confirmation unit 350 includes:
[0071] The pen tip quantity confirmation module is used to confirm that the number of pen tips in the writing length in the previous telescopic state of the corresponding two telescopic states is the upper limit of the number of writing points of the interactive device to be tested when the similarity reaches a preset similarity upper limit value, and end the multi-point test.
[0072] Based on the above embodiment, the data connection is a wireless data connection or a USB data connection.
[0073] The multi-point testing device provided in the embodiment of the present application is included in an electronic device and can be used to execute any multi-point testing method provided in the above embodiments, and has corresponding functions and beneficial effects.
[0074] It is worth noting that in the embodiment of the above-mentioned multi-point testing device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0075] Fig. 9This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig. 9 As shown, the electronic device includes a processor 410 and a memory 420, and may also include an input device 430, an output device 440, and a communication device 450; the number of processors 410 in the electronic device may be one or more, Fig. 9 A processor 410 is taken as an example; the processor 410, the memory 420, the input device 430, the output device 440 and the communication device 450 in the electronic device can be connected via a bus or other means. Fig. 9 The example of connecting through bus is taken in the following.
[0076] The memory 420 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the multi-point testing method in the embodiment of the present application. The processor 410 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 420, that is, implements the above-mentioned multi-point testing method.
[0077] The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0078] The input device 430 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 440 may include a display device such as a display screen.
[0079] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it is used to perform relevant operations in the multi-point testing method provided in any embodiment of the present application, and has corresponding functions and beneficial effects.
[0080] Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products.
[0081] Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0082] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0083] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0084] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0085] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. Multi-point testing tool, characterized in that, It comprises a mounting rod and a plurality of pen tips, each of the pen tips is mounted on the mounting rod through a telescopic device, and the touch ends of the pen tips can be in the same plane or in different planes under the telescopic adjustment of the telescopic device; When using the multi-point testing tool to perform a multi-point test, the telescopic device is controlled to perform telescopic changes and enter multiple telescopic states in sequence. In each telescopic state, the multi-point testing tool is used to complete the same writing operation on the interactive device to be tested along the same moving path and take a screenshot, so as to confirm the upper limit of the number of writing points of the interactive device to be tested based on the similarity of the two adjacent screenshots. Each subsequent telescopic state adds a pen tip to the writing length compared to the previous adjacent telescopic state.
2. The multi-point testing tool according to claim 1, characterized in that: The telescopic device is a motor; the multi-point testing tool also includes a fixed bracket and a moving device; The mounting rod is fixedly mounted on the moving device, and the moving device is used to move within a moving plane confirmed by the fixing bracket, and the moving plane is parallel to the plane where the touch terminal is located.
3. The multi-point testing tool according to claim 2, characterized in that: The installation rod or the moving device is provided with a distance sensor, and the detection direction of the distance sensor points to the plane where the touch end is located.
4. A multi-point testing method, characterized in that: The multi-point testing method is used to perform a multi-point test using the multi-point testing tool according to claim 2 or 3, and the multi-point testing method comprises: When receiving a multi-point test instruction in a state where a data connection is established with the interactive device to be tested, sending a writing software wake-up instruction to the interactive device to be tested, so that the interactive device to be tested starts the writing software to display the writing handwriting according to the writing operation; Sending a first screen capture instruction to the interactive device to be tested to capture a screen image of the interactive device to be tested; Control the telescopic device to perform telescopic changes and enter multiple telescopic states in sequence, control the mobile device to follow the same preset moving path in each telescopic state, complete a writing operation on the interactive device to be tested, send a second screenshot instruction to the interactive device to be tested after each writing operation is completed, so as to capture a screen image of the interactive device to be tested, in which a touch end of a pen tip is extended to a writing length in a first telescopic state, and each subsequent telescopic state adds a pen tip at a writing length compared to the adjacent previous telescopic state; Confirm the similarity between two adjacent captured screen images; The upper limit of the writing points of the interactive device to be tested is determined according to the similarity, and the multi-point test is ended.
5. The multi-point testing method according to claim 4, characterized in that: Also includes: Each time a writing operation is completed, a handwriting clearing instruction is sent to the interactive device to be tested to clear the handwriting displayed by the writing software.
6. The multi-point testing method according to claim 4, characterized in that: The step of determining the upper limit of the writing points of the interactive device to be tested according to the similarity and ending the multi-point test includes: When the similarity reaches a preset similarity upper limit value, it is confirmed that the number of pen tips in the writing length in the previous telescopic state of the corresponding two telescopic states is the upper limit of the writing points of the interactive device to be tested, and the multi-point test is ended.
7. The multi-point testing method according to any one of claims 4 to 6, characterized in that: The data connection is a wireless data connection or a USB data connection.
8. A multi-point testing device, characterized in that: The multi-point testing device is used to perform a multi-point test using the multi-point testing tool according to claim 2 or 3, and the multi-point testing device comprises: When receiving a multi-point test instruction in a state where a data connection is established with the interactive device to be tested, sending a writing software wake-up instruction to the interactive device to be tested, so that the interactive device to be tested starts the writing software to display the writing handwriting according to the writing operation; Sending a first screen capture instruction to the interactive device to be tested to capture a screen image of the interactive device to be tested; Control the telescopic device to perform telescopic changes and enter multiple telescopic states in sequence, control the mobile device to follow the same preset moving path in each telescopic state to complete a writing operation on the interactive device to be tested, send a second screenshot instruction to the interactive device to be tested after each writing operation is completed to capture a screen image of the interactive device to be tested, in which a touch end of a pen tip is extended to a writing length in a first telescopic state, and each subsequent telescopic state adds a pen tip at a writing length compared to the adjacent previous telescopic state; Confirm the similarity between two adjacent captured screen images; The upper limit of the writing points of the interactive device to be tested is determined according to the similarity, and the multi-point test is ended.
9. An electronic device, characterized in that include: one or more processors; a memory for storing one or more computer programs; When the one or more computer programs are executed by the one or more processors, the electronic device implements the multi-point testing method as described in any one of claims 4 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the multi-point testing method as described in any one of claims 4 to 7 is implemented.