Head-mounted device test method and device, medium and head-mounted device

Through automated connection testing and error code repair, the problem of artificially recording parameters in the connection test of head-mounted devices and smart terminals is solved, and the connection success rate and work rate are improved.

CN120029879APending Publication Date: 2025-05-23ZHUHAI MOJIE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311542378.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-17
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The connection test of existing head-mounted devices and smart terminals requires manual recording of connection parameters, resulting in a low connection working rate and low success rate.

Method used

By collecting test signals from smart terminals, triggering automated connection tests based on signals, recording connection parameters, obtaining error codes and repairing, calculating the connection success rate, and realizing automatic connection tests.

Benefits of technology

Improves the connection success and working rate between head-mounted devices and smart terminals, ensuring that the connection is in a good state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029879A_ABST
    Figure CN120029879A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a testing method and device of head-mounted equipment, a medium and the head-mounted equipment. The test method of the head-mounted device comprises the following steps: collecting a test signal transmitted by an intelligent terminal; triggering a connection test between the head-mounted device and the intelligent terminal based on the test signal; after the connection test between the head-mounted device and the intelligent terminal is finished, obtaining an error code, and repairing the error code; after the error code is successfully repaired, obtaining a connection success rate of the head-mounted device; if the connection success rate of the head-mounted device is greater than or equal to the preset connection success rate, the connection between the head-mounted device and the intelligent terminal is in a good state, and at the moment, the connection test between the head-mounted device and the intelligent terminal is triggered based on the test signal, so that the automatic connection test of the head-mounted device is realized; the connection work rate of the head-mounted device is improved, the error codes are repaired, and the connection success rate of the head-mounted device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a testing method, device, medium and head-mounted device for a head-mounted device. Background Art

[0002] With the development of science and technology, head-mounted devices are gradually applied to users' lives. Smart glasses are a type of head-mounted devices. Head-mounted devices need to be connected before leaving the factory. The connection can be a communication connection or a Bluetooth connection. In the prior art, the head-mounted device is paired with the smart terminal and a connection test is performed. In the connection test between the head-mounted device and the smart terminal, connection parameters such as the number of connections between the head-mounted device and the smart terminal need to be manually recorded, and the head-mounted device and the smart terminal need to be manually connected or disconnected, resulting in a low connection working rate of the head-mounted device. Summary of the invention

[0003] The embodiments of the present application provide a testing method, apparatus, medium and head-mounted device for a head-mounted device, thereby triggering a connection test between the head-mounted device and a smart terminal based on a test signal at least to a certain extent, so as to realize automatic connection testing of the head-mounted device, improve the connection working rate of the head-mounted device, and repair error codes, thereby improving the connection success rate of the head-mounted device.

[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0005] According to one aspect of an embodiment of the present application, a method for testing a head mounted device is provided, comprising:

[0006] Collect test signals transmitted by intelligent terminals;

[0007] Triggering a connection test between the head mounted device and the smart terminal based on the test signal;

[0008] After the connection test between the head mounted device and the smart terminal is completed, an error code is obtained and the error code is corrected;

[0009] After the error code is successfully fixed, obtain the connection success rate of the head mounted device;

[0010] If the connection success rate of the head mounted device is greater than or equal to the preset connection success rate, the connection between the head mounted device and the smart terminal is in good condition.

[0011] In some embodiments of the present application, the connection test between the head mounted device and the smart terminal is triggered based on the test signal, including:

[0012] Analyze test signals and determine test scripts;

[0013] Control the connection and disconnection of the head-mounted device based on the test script, so that the connection test between the head-mounted device and the smart terminal is performed;

[0014] In the connection test between the head mounted device and the smart terminal, at least one connection parameter of the head mounted device is recorded. In this case, the connection parameter includes the number of connections or the connection time.

[0015] In some embodiments of the present application, after the connection test between the head mounted device and the smart terminal is completed, obtaining an error code and repairing the error code include:

[0016] After the connection test between the head mounted device and the smart terminal is completed, a connection failure node of the head mounted device is obtained;

[0017] According to the connection failure node of the head mounted device, the corresponding connection procedure is traced back;

[0018] Walk through the connection procedure and determine the error code.

[0019] In some embodiments of the present application, after the error code is successfully repaired, obtaining the connection success rate of the head mounted device includes:

[0020] Parse the error code to determine the abnormal field;

[0021] Matching a corresponding repair strategy based on the abnormal field, and repairing the abnormal field based on the repair strategy;

[0022] After the abnormal field is repaired successfully, the connection test between the head-mounted device and the smart terminal is triggered, and the connection success rate of the head-mounted device is calculated.

[0023] In some embodiments of the present application, if the connection success rate of the head mounted device is greater than or equal to a preset connection success rate, then the connection between the head mounted device and the smart terminal is in a good state, including:

[0024] Get the connection success rate and preset connection success rate of the head mounted device;

[0025] Compare the connection success rate of the head mounted device with the preset connection success rate;

[0026] If the connection success rate of the head-mounted device is greater than or equal to the preset connection success rate, the head-mounted device completes the connection test within the preset time, and at the same time, the connection between the head-mounted device and the smart terminal is in good condition.

[0027] In some embodiments of the present application, obtaining a preset connection success rate includes:

[0028] Obtain the signal environment around the head-mounted device;

[0029] Determine the interference coefficient of the head mounted device based on the signal environment;

[0030] Get the connection distance between the head mounted device and the smart terminal;

[0031] A preset connection success rate is determined based on the connection distance and the interference coefficient.

[0032] In some embodiments of the present application, the method further includes:

[0033] How long it takes to get multiple connections to the headset;

[0034] Forming a time consumption diagram of the head mounted device based on multiple connection time consumption marks;

[0035] Locate the nodes with abnormal time consumption according to the time consumption graph;

[0036] Determine the time-consuming factors based on the analysis of the abnormal time-consuming nodes.

[0037] According to one aspect of an embodiment of the present application, a testing device for a head mounted device is provided, comprising:

[0038] A collection module, used for collecting the test signal transmitted by the intelligent terminal;

[0039] A connection test module, used to trigger a connection test between the head mounted device and the smart terminal based on a test signal;

[0040] A first acquisition module is used to acquire an error code and repair the error code after the connection test between the head mounted device and the smart terminal is completed;

[0041] A second acquisition module is used to obtain a connection success rate of the head mounted device after the error code is successfully repaired;

[0042] The status module is used to determine that if the connection success rate of the head-mounted device is greater than or equal to a preset connection success rate, the connection between the head-mounted device and the smart terminal is in a good state.

[0043] According to one aspect of an embodiment of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for testing a head-mounted device as described in the above embodiment is implemented.

[0044] According to one aspect of an embodiment of the present application, a head-mounted device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the testing method for the head-mounted device as described in the above embodiments.

[0045] According to one aspect of an embodiment of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the testing method of the head mounted device provided in the above embodiment.

[0046] In the technical solutions provided in some embodiments of the present application, a test signal emitted by a smart terminal is collected; a connection test between a head-mounted device and a smart terminal is triggered based on the test signal; after the connection test between the head-mounted device and the smart terminal is completed, an error code is obtained and the error code is repaired; after the error code is successfully repaired, the connection success rate of the head-mounted device is obtained; if the connection success rate of the head-mounted device is greater than or equal to the preset connection success rate, the connection between the head-mounted device and the smart terminal is in a good state. At this time, a connection test between the head-mounted device and the smart terminal is triggered based on the test signal to facilitate automatic connection testing of the head-mounted device and improve the connection working rate of the head-mounted device. The error code is repaired to improve the connection success rate of the head-mounted device, so as to ensure that the connection between the head-mounted device and the smart terminal is in a good state.

[0047] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0049] Figure 1 A schematic diagram showing a flow chart of a method for testing a head mounted device according to an embodiment of the present application is shown;

[0050] Figure 2 Shows Figure 1 Schematic diagram of the process of S12;

[0051] Figure 3 Shows Figure 1 Schematic diagram of the process of S13;

[0052] Figure 4 Shows Figure 1 Schematic diagram of the process of S14;

[0053] Figure 5 Shows Figure 1 Schematic diagram of the process of S15;

[0054] Figure 6 A block diagram of a testing device for a head mounted device according to an embodiment of the present application is shown;

[0055] Figure 7 A schematic diagram of the structure of a computer system suitable for implementing a head mounted device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0056] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0057] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0058] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0059] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0060] Head-mounted devices are gradually being used in users' lives, and smart glasses are a type of head-mounted device. Figure 1A flow chart of a method for testing a head-mounted device according to an embodiment of the present application is shown. The method can be applied to a head-mounted device. The head-mounted device may be, for example, AR (Augmented Reality), VR (Virtual Reality), MR (Mixed Reality), etc., which are not limited here.

[0061] The testing method of the head mounted device includes at least steps S110 to S150, which are described in detail as follows (the following description is made by taking the application of the method to the head mounted device as an example):

[0062] In step S110, a test signal transmitted by the smart terminal is collected.

[0063] In this embodiment, the smart terminal is an external component of the head-mounted device, and the head-mounted device and the smart terminal are connected by Bluetooth, so that communication information can be transmitted between the smart terminals, and the connection test between the head-mounted device and the smart terminal is further promoted. When the head-mounted device and the smart terminal are in a connected state, the test signal emitted by the smart terminal is collected, so that the connection test of the head-mounted device is triggered according to the test signal, so as to realize the passive triggering of the connection test of the head-mounted device. Optionally, the smart terminal can be a mobile phone, which is not limited here.

[0064] In the actual process, the smart terminal and the head-mounted device are in a specified scene, which can be a test scene or can be adjusted as needed; a specified distance is set between the smart terminal and the head-mounted device so that the smart terminal and the head-mounted device can be connected at the specified distance, and the head-mounted device is connected through the APP embedded in the smart terminal, and the connection test of the head-mounted device is triggered through the APP. Optionally, the APP enters the cmd automatic connection mode.

[0065] refer to Figure 2 In step S120, a connection test between the head mounted device and the smart terminal is triggered based on the test signal.

[0066] In an embodiment of the present application, a connection test of a head mounted device is triggered according to a test signal so as to realize passive triggering of the connection test of the head mounted device, thereby ensuring the start of the connection test between the head mounted device and the smart terminal.

[0067] The specific steps are as follows:

[0068] Step S121, analyzing the test signal and determining the test script;

[0069] In an embodiment of the present application, the test signal is parsed so as to determine the model of the test script from the test signal, thereby locating the test script by the model of the test script so as to determine the test script.

[0070] Step S122: Control the connection and disconnection of the head mounted device based on the test script, so that a connection test is performed between the head mounted device and the smart terminal;

[0071] In the embodiment of the present application, the test script is used as an automated test program, and defines the test content between the head-mounted device and the smart terminal. The test content specifies that the head-mounted device is connected and disconnected a preset number of times within a preset time, so as to record the time taken for the head-mounted device to connect or disconnect each time. Therefore, the connection and disconnection of the head-mounted device is controlled based on the test script, and the automated test of the head-mounted device is improved through the test script, reducing the amount of manual operation and realizing test monitoring.

[0072] Step S123: in the connection test between the head mounted device and the smart terminal, at least one connection parameter of the head mounted device is recorded. In this case, the connection parameter includes the number of connections or the connection time.

[0073] In an embodiment of the present application, in the connection test between the head-mounted device and the smart terminal, the connection parameters of the head-mounted device are recorded and stored, so that the corresponding connection parameters are stored each time the head-mounted device is connected or disconnected. At this time, the connection parameters include the number of connections or the connection duration. The number of connections is used to infer the connection success rate, and the connection duration is used to infer the average duration.

[0074] Please refer to Figure 3 In step S130, after the connection test between the head mounted device and the smart terminal is completed, an error code is obtained and the error code is repaired.

[0075] In this embodiment, the connection test of the head-mounted device is monitored, and after each connection test of the head-mounted device, the connection failure node of the head-mounted device in that connection test is obtained, so as to facilitate tracing based on the connection failure node, thereby obtaining the error code, and further facilitating subsequent repair of the error code, so as to achieve self-improvement of the head-mounted device.

[0076] The specific steps are as follows:

[0077] Step S131: after the connection test between the head mounted device and the smart terminal is completed, obtaining a connection failure node of the head mounted device;

[0078] In an embodiment of the present application, the connection test between the head-mounted device and the smart terminal is monitored in real time to facilitate real-time recording of the connection parameters of the head-mounted device. Secondly, after the connection test between the head-mounted device and the smart terminal is completed, the connection failure nodes in the connection test are traversed. The connection failure node can be defined as a node where the head-mounted device and the smart terminal are in a connection failure.

[0079] Step S132, tracing back the corresponding connection program according to the connection failure node of the head mounted device;

[0080] Step S133, traverse the connection program and determine the error code.

[0081] In an embodiment of the present application, a connection failure node of a head mounted device is obtained so as to facilitate tracing based on the connection failure node of the head mounted device, thereby tracing the corresponding connection program according to the connection failure node of the head mounted device, so as to facilitate troubleshooting of error codes from the connection program, thereby repairing the problem from the source. Optionally, the error code can be defined as an error field in the connection program.

[0082] Please refer to Figure 4 , in step S140, after the error code is repaired successfully, the connection success rate of the head mounted device is obtained.

[0083] In this embodiment, repair is performed based on the error code so as to control the error code from the source, thereby ensuring accurate repair of the error code. After the error code is successfully repaired, the head-mounted device performs a connection test again, and the connection success rate of the head-mounted device is obtained to verify the connection test after the repair.

[0084] The specific steps are as follows:

[0085] Step S141, parsing the error code to determine the abnormal field;

[0086] Step S142: matching a corresponding repair strategy based on the abnormal field, and repairing the abnormal field based on the repair strategy;

[0087] In an embodiment of the present application, the error code is parsed to traverse the various fields in the error code, thereby determining the abnormal field in the error code, so as to match the corresponding repair strategy based on the abnormal field. Optionally, if the abnormal field is a character, a preset character is compared and the preset character is replaced with the abnormal field, thereby repairing the abnormal field.

[0088] Step S143: After the abnormal field is repaired successfully, trigger a connection test between the head mounted device and the smart terminal, and calculate the connection success rate of the head mounted device.

[0089] In an embodiment of the present application, after the abnormal field is successfully repaired, it is necessary to verify the connection test between the head-mounted device and the smart terminal again. At this time, the connection test between the head-mounted device and the smart terminal is triggered, and the number of successful connections and failed connections of the head-mounted device within a preset time is recorded. The connection success rate of the head-mounted device is calculated based on the ratio of the number of successful connections to the number of failed connections, so as to verify the connection test after the repair.

[0090] Please refer to Figure 5 In step S150, if the connection success rate of the head mounted device is greater than or equal to the preset connection success rate, the connection between the head mounted device and the smart terminal is in a good state.

[0091] In this embodiment, the connection success rate of the head-mounted device is compared with the preset connection success rate, so as to estimate the connection status between the head-mounted device and the smart terminal based on the comparison between the connection success rate of the head-mounted device and the preset connection success rate, thereby ensuring the connection test between the head-mounted device and the smart terminal.

[0092] The specific steps are as follows:

[0093] Step S151, obtaining a connection success rate of the head mounted device and a preset connection success rate;

[0094] Step S152: comparing the connection success rate of the head mounted device with a preset connection success rate;

[0095] In an embodiment of the present application, the connection success rate and the preset connection success rate of the head-mounted device are obtained. At this time, the connection success rate of the head-mounted device is the connection success rate in the current connection test, and the preset connection success rate is the connection success rate pre-examined by humans or experience.

[0096] In another embodiment of the present application, the signal environment around the head-mounted device is obtained; the interference coefficient of the head-mounted device is determined based on the signal environment; the connection distance of the head-mounted device relative to the smart terminal is obtained; and the preset connection success rate is determined based on the connection distance and the interference coefficient, so that the signal environment and connection distance are added to the determination of the preset connection success rate, thereby matching the corresponding preset connection success rate based on the actual environment, so that the testing method of the head-mounted device is compatible with various environments.

[0097] Step S152: comparing the connection success rate of the head mounted device with a preset connection success rate;

[0098] At this time, the connection success rate of the head-mounted device is compared with the preset connection success rate, so as to trigger the status evaluation of the head-mounted device based on the comparison between the connection success rate of the head-mounted device and the preset connection success rate, thereby realizing the evaluation of the connection status of the head-mounted device.

[0099] Step S153: If the connection success rate of the head mounted device is greater than or equal to the preset connection success rate, the head mounted device completes the connection test within the preset time, and at the same time, the connection between the head mounted device and the smart terminal is in a good state.

[0100] In some embodiments of the present application, if the connection success rate of the head-mounted device is greater than or equal to a preset connection success rate, the connection test of the head-mounted device meets the requirements, and the head-mounted device completes the connection test within a preset time. At the same time, the connection between the head-mounted device and the smart terminal is in a good state.

[0101] If the connection success rate of the head-mounted device is less than or equal to the preset connection success rate, the repair of the head-mounted device is triggered and repaired according to the error code, so as to control the error code from the source, thereby ensuring the accurate repair of the error code.

[0102] In another embodiment of the present application, multiple connection times of the head-mounted device are obtained; a time consumption graph of the head-mounted device is formed based on the marks of the multiple connection time consumptions; the abnormal time consumption nodes are located according to the time consumption graph; the time consumption factors are determined according to the analysis of the abnormal time consumption nodes, so as to monitor the connection time consumption, and at the same time, the time consumption factors are determined according to the analysis of the abnormal time consumption nodes, so as to further modify the time consumption factors.

[0103] In the technical solutions provided in some embodiments of the present application, a test signal emitted by a smart terminal is collected; a connection test between a head-mounted device and a smart terminal is triggered based on the test signal; after the connection test between the head-mounted device and the smart terminal is completed, an error code is obtained and the error code is repaired; after the error code is successfully repaired, the connection success rate of the head-mounted device is obtained; if the connection success rate of the head-mounted device is greater than or equal to the preset connection success rate, the connection between the head-mounted device and the smart terminal is in a good state. At this time, a connection test between the head-mounted device and the smart terminal is triggered based on the test signal to facilitate automatic connection testing of the head-mounted device and improve the connection working rate of the head-mounted device. The error code is repaired to improve the connection success rate of the head-mounted device, so as to ensure that the connection between the head-mounted device and the smart terminal is in a good state.

[0104] The following describes an apparatus embodiment of the present application, which can be used to execute the head-mounted device testing method in the above-mentioned embodiment of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the embodiment of the head-mounted device testing method in the above-mentioned embodiment of the present application.

[0105] Figure 6 A block diagram of a testing device for a head mounted device according to an embodiment of the present application is shown.

[0106] Reference Figure 6 As shown, a testing device for a head mounted device according to an embodiment of the present application includes:

[0107] The acquisition module 210 is used to acquire the test signal transmitted by the intelligent terminal;

[0108] A connection test module 220, configured to trigger a connection test between the head mounted device and the smart terminal based on a test signal;

[0109] A first acquisition module 230 is used to acquire an error code and repair the error code after the connection test between the head mounted device and the smart terminal is completed;

[0110] The second acquisition module 240 is used to obtain the connection success rate of the head mounted device after the error code is successfully repaired;

[0111] The status module 250 is used to determine that the connection between the head mounted device and the smart terminal is in a good state if the connection success rate of the head mounted device is greater than or equal to a preset connection success rate.

[0112] In one embodiment of the present application, the connection test module 220 is further used to: parse the test signal and determine the test script;

[0113] Control the connection and disconnection of the head-mounted device based on the test script, so that the connection test between the head-mounted device and the smart terminal is performed;

[0114] In the connection test between the head mounted device and the smart terminal, at least one connection parameter of the head mounted device is recorded. In this case, the connection parameter includes the number of connections or the connection time.

[0115] In one embodiment of the present application, the first acquisition module 230 is further used to: after the connection test between the head mounted device and the smart terminal is completed, obtain the connection failure node of the head mounted device;

[0116] According to the connection failure node of the head mounted device, the corresponding connection procedure is traced back;

[0117] Walk through the connection procedure and determine the error code.

[0118] In one embodiment of the present application, the second acquisition module 240 is further configured to:

[0119] Parse the error code to determine the abnormal field;

[0120] Matching a corresponding repair strategy based on the abnormal field, and repairing the abnormal field based on the repair strategy;

[0121] After the abnormal field is repaired successfully, the connection test between the head-mounted device and the smart terminal is triggered, and the connection success rate of the head-mounted device is calculated.

[0122] In one embodiment of the present application, the state module 250 is further configured to:

[0123] Get the connection success rate and preset connection success rate of the head mounted device;

[0124] Compare the connection success rate of the head mounted device with the preset connection success rate;

[0125] If the connection success rate of the head-mounted device is greater than or equal to the preset connection success rate, the head-mounted device completes the connection test within the preset time, and at the same time, the connection between the head-mounted device and the smart terminal is in good condition.

[0126] In one embodiment of the present application, the state module 250 is further configured to:

[0127] Obtain the signal environment around the head-mounted device;

[0128] Determine the interference coefficient of the head mounted device based on the signal environment;

[0129] Get the connection distance between the head mounted device and the smart terminal;

[0130] A preset connection success rate is determined based on the connection distance and the interference coefficient.

[0131] In one embodiment of the present application, the state module 250 is further configured to:

[0132] How long it takes to get multiple connections to the headset;

[0133] Forming a time consumption diagram of the head mounted device based on multiple connection time consumption marks;

[0134] Locate the nodes with abnormal time consumption according to the time consumption graph;

[0135] Determine the time-consuming factors based on the analysis of the abnormal time-consuming nodes.

[0136] Figure 7 A schematic diagram of the structure of a computer system suitable for implementing a head mounted device according to an embodiment of the present application is shown.

[0137] It should be noted that Figure 7 The computer system of the head mounted device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0138] like Figure 7As shown, the computer system includes a Central Processing Unit (CPU) 301, which can perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 302 or a program loaded from a storage section 308 into a Random Access Memory (RAM) 303, such as executing the method described in the above embodiments. In the RAM 303, various programs and data required for system operations are also stored. The CPU 301, ROM 302, and RAM 303 are connected to each other via a bus 304. An Input / Output (I / O) interface 305 is also connected to the bus 304.

[0139] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including, for example, a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), etc. and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read from it can be installed into the storage section 308 as needed.

[0140] Specifically, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication section 309, and / or installed from the removable medium 311. When the computer program is executed by a Central Processing Unit (CPU) 301, various functions defined in the system of the present application are executed.

[0141] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0142] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0143] The units involved in the embodiments described in this application can be implemented in software or in hardware, and the described units can also be provided in a processor. Among them, the names of these units do not, in some cases, constitute a limitation on the unit itself.

[0144] As another aspect, the present application also provides a computer-readable medium, which may be included in the head-mounted device described in the above embodiments; or may exist alone without being assembled into the head-mounted device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a head-mounted device, the head-mounted device implements the methods described in the above embodiments.

[0145] It should be noted that although several modules or units of a device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of the two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0146] From the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software or by software in combination with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (such as a personal computer, a server, a touch terminal, or a network device, etc.) to execute the methods according to the embodiments of the present application.

[0147] After considering the specification and practicing the disclosed embodiments herein, those skilled in the art will readily conceive of other embodiments of the present application. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include well-known knowledge or conventional technical means in the technical field not disclosed in the present application.

[0148] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.

Claims

1. A testing method for a head mounted device, It is characterized in that include: Collect test signals transmitted by intelligent terminals; Triggering a connection test between the head mounted device and the smart terminal based on the test signal; After the connection test between the head mounted device and the smart terminal is completed, an error code is obtained and the error code is corrected; After the error code is successfully fixed, obtain the connection success rate of the head mounted device; If the connection success rate of the head mounted device is greater than or equal to the preset connection success rate, the connection between the head mounted device and the smart terminal is in good condition.

2. The method according to claim 1, It is characterized in that The triggering of the connection test between the head mounted device and the smart terminal based on the test signal includes: Analyze test signals and determine test scripts; Control the connection and disconnection of the head-mounted device based on the test script, so that the connection test between the head-mounted device and the smart terminal is performed; In the connection test between the head mounted device and the smart terminal, at least one connection parameter of the head mounted device is recorded. In this case, the connection parameter includes the number of connections or the connection time.

3. The method according to claim 1, It is characterized in that After the connection test between the head mounted device and the smart terminal is completed, an error code is obtained and the error code is corrected, including: After the connection test between the head mounted device and the smart terminal is completed, a connection failure node of the head mounted device is obtained; According to the connection failure node of the head mounted device, the corresponding connection procedure is traced back; Walk through the connection procedure and determine the error code.

4. The method according to claim 1, It is characterized in that After the error code is successfully repaired, obtaining the connection success rate of the head mounted device includes: Parse the error code to determine the abnormal field; Matching a corresponding repair strategy based on the abnormal field, and repairing the abnormal field based on the repair strategy; After the abnormal field is repaired successfully, the connection test between the head-mounted device and the smart terminal is triggered, and the connection success rate of the head-mounted device is calculated.

5. The method according to claim 1, It is characterized in that If the connection success rate of the head mounted device is greater than or equal to a preset connection success rate, then the connection between the head mounted device and the smart terminal is in a good state, including: Get the connection success rate and preset connection success rate of the head mounted device; Compare the connection success rate of the head mounted device with the preset connection success rate; If the connection success rate of the head-mounted device is greater than or equal to the preset connection success rate, the head-mounted device completes the connection test within the preset time, and at the same time, the connection between the head-mounted device and the smart terminal is in good condition.

6. The method according to claim 5, It is characterized in that The obtaining of a preset connection success rate includes: Obtain the signal environment around the head-mounted device; Determine the interference coefficient of the head mounted device based on the signal environment; Get the connection distance between the head mounted device and the smart terminal; A preset connection success rate is determined based on the connection distance and the interference coefficient.

7. The method according to claim 1, It is characterized in that The method further comprises: How long it takes to get multiple connections to the headset; Forming a time consumption diagram of the head mounted device based on multiple connection time consumption marks; Locate the nodes with abnormal time consumption according to the time consumption graph; Determine the time-consuming factors based on the analysis of the abnormal time-consuming nodes.

8. A testing device for a head mounted device, It is characterized in that include: A collection module, used for collecting the test signal transmitted by the intelligent terminal; A connection test module, used to trigger a connection test between the head mounted device and the smart terminal based on a test signal; A first acquisition module is used to acquire an error code and repair the error code after the connection test between the head mounted device and the smart terminal is completed; A second acquisition module is used to obtain a connection success rate of the head mounted device after the error code is successfully repaired; The status module is used to determine that if the connection success rate of the head-mounted device is greater than or equal to a preset connection success rate, the connection between the head-mounted device and the smart terminal is in a good state.

9. A computer readable medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method for testing a head mounted device according to any one of claims 1 to 7 is implemented.

10. A head mounted device, It is characterized in that include: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the one or more processors to implement the testing method of the head mounted device as described in any one of claims 1 to 7.