CN117493092A - Method and device for testing head-mounted equipment, medium and head-mounted equipment - Google Patents

Method and device for testing head-mounted equipment, medium and head-mounted equipment Download PDF

Info

Publication number
CN117493092A
CN117493092A CN202311515963.0A CN202311515963A CN117493092A CN 117493092 A CN117493092 A CN 117493092A CN 202311515963 A CN202311515963 A CN 202311515963A CN 117493092 A CN117493092 A CN 117493092A
Authority
CN
China
Prior art keywords
head
mounted device
memory
test
script
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311515963.0A
Other languages
Chinese (zh)
Inventor
尚哲敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meta Bounds Inc
Original Assignee
Meta Bounds Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meta Bounds Inc filed Critical Meta Bounds Inc
Priority to CN202311515963.0A priority Critical patent/CN117493092A/en
Publication of CN117493092A publication Critical patent/CN117493092A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The embodiment of the application provides a method and device for testing head-mounted equipment, a medium and the head-mounted equipment. The testing method of the head-mounted device comprises the following steps: collecting a script transmitted by a test end; triggering memory filling of the head-mounted device based on the script; after the memory of the head-mounted device is filled, triggering the function test of the head-mounted device based on the test content set in the script, and recording the test data of the head-mounted device in the test content, at this time, triggering the memory filling of the head-mounted device according to the script so that the head-mounted device can automatically perform the memory filling after triggering, and triggering the function test of the head-mounted device based on the test content set in the script, thereby realizing the function test of the head-mounted device after the memory filling is completed, further realizing the continuous performance of the memory filling and the function test, avoiding the single performance of the memory filling and the function test, and improving the test efficiency of the head-mounted device.

Description

Method and device for testing head-mounted equipment, medium and head-mounted equipment
Technical Field
The application relates to the technical field of head-mounted equipment, in particular to a method and a device for testing head-mounted equipment, a medium and the head-mounted equipment.
Background
With development of science and technology, the head-mounted device is gradually applied to life of a user, intelligent glasses belong to the head-mounted device, the head-mounted device needs to be tested before leaving the factory, the head-mounted device is connected with a testing end in a communication mode, the testing end transmits signals under manual operation, the head-mounted device triggers filling of a memory based on the signals, then the testing end transmits memory data packets to the head-mounted device, after the head-mounted device completes memory filling, a tester performs corresponding function testing on the head-mounted device, at this time, the memory filling and the function testing are performed singly, and therefore testing efficiency of the existing head-mounted device is low.
Disclosure of Invention
The embodiment of the application provides a method, a device, a medium and a head-mounted device for testing the head-mounted device, and further triggers the functional test of the head-mounted device at least to a certain extent based on the test content set in the script, so that the head-mounted device automatically performs the functional test after the memory is filled, further the continuous performance of the memory filling and the functional test is realized, the single performance of the memory filling and the functional test is avoided, and the test efficiency of the head-mounted device is improved.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned in part by the practice of the application.
According to an aspect of an embodiment of the present application, there is provided a method for testing a head-mounted device, including:
collecting a script transmitted by a test end;
triggering memory filling of the head-mounted device based on the script;
after the memory of the head-mounted device is filled, triggering the function test of the head-mounted device based on the test content set in the script, and recording the test data of the head-mounted device in the test content.
In some embodiments of the present application, before the script-based triggering of the memory fill of the headset device, the method further comprises:
acquiring a memory instruction;
reading the data amount of the residual memory of the head-mounted device based on the memory instruction;
comparing the amount of data of the remaining memory of the head-mounted device with the amount of data of the memory stored within the script;
the memory fill of the head-mounted device is regulated based on a comparison between the amount of data of the remaining memory of the head-mounted device and the amount of data of the memory stored within the script.
In some embodiments of the present application, the triggering the memory fill of the headset based on the script includes:
analyzing the script to obtain a memory data packet stored in the script;
triggering active memory filling of the head-mounted device based on the memory data packet, wherein the memory data packet is actively filled into the head-mounted device.
In some embodiments of the present application, the triggering the memory fill of the headset based on the script further includes:
monitoring filling data of a memory data packet in a memory filling process of the head-mounted equipment;
if the filling data of the memory data packet has leakage condition, marking the leakage position of the filling data, and continuing filling the memory data packet;
and outputting the log to be repaired based on the leakage position of the filling data after the memory filling of the head-mounted device is finished.
In some embodiments of the present application, after the memory of the head-mounted device is filled, triggering a functional test of the head-mounted device based on the test content set in the script, and recording the test data of the head-mounted device in the test content, including:
after the memory filling of the head-mounted equipment is finished, further analyzing aiming at the script, and acquiring a test instruction;
traversing the test instruction to determine the test content set in the script;
and triggering the function test of the head-mounted device according to the test content.
In some embodiments of the present application, after the memory of the head-mounted device is filled, triggering a functional test of the head-mounted device based on the test content set in the script, and recording the test data of the head-mounted device in the test content, further including:
recording test data of the head-mounted device in the test content in the function test process of the head-mounted device;
sequentially sorting all the test data according to the sequence of all the functions in the test content;
acquiring response time in the test data;
if the response time is greater than the preset response time, locating the functional item of the head-mounted equipment, and defining the functional item as an abnormal item.
In some embodiments of the present application, the method further comprises:
acquiring a stop signal of the head-mounted device;
the function item of the head-mounted device is traced back based on the stop signal, and is defined as an abnormal item.
According to an aspect of the embodiments of the present application, there is provided a test apparatus for a head-mounted device, including:
the acquisition module is used for acquiring the script transmitted by the test end;
the filling module is used for triggering memory filling of the head-mounted device based on the script;
and the testing module is used for triggering the functional test of the head-mounted device based on the test content set in the script after the memory filling of the head-mounted device is finished, and recording the test data of the head-mounted device in the test content.
According to an aspect of the embodiments of the present application, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a method of testing a head mounted device as described in the above embodiments.
According to one aspect of embodiments of the present application, there is provided a head-mounted device comprising: one or more processors; and a storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of testing a head mounted device as described in the above embodiments.
According to an aspect of embodiments of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the testing method of the head-mounted device provided in the above-described embodiment.
In some embodiments of the present application, a script transmitted by a test end is collected; triggering memory filling of the head-mounted device based on the script; after the memory of the head-mounted device is filled, triggering the function test of the head-mounted device based on the test content set in the script, and recording the test data of the head-mounted device in the test content, at this time, triggering the memory filling of the head-mounted device according to the script so that the head-mounted device can automatically perform the memory filling after triggering, and triggering the function test of the head-mounted device based on the test content set in the script, thereby realizing the function test of the head-mounted device after the memory filling is completed, further realizing the continuous performance of the memory filling and the function test, avoiding the single performance of the memory filling and the function test, and improving the test efficiency of the head-mounted device.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art. In the drawings:
FIG. 1 illustrates a flow diagram of a method of testing a headset according to one embodiment of the present application;
FIG. 2 shows a schematic flow diagram of S12 in FIG. 1;
FIG. 3 shows a schematic flow chart of S13 in FIG. 1;
FIG. 4 illustrates a block diagram of a test apparatus of a headset according to one embodiment of the present application;
fig. 5 shows a schematic diagram of a computer system suitable for use in implementing embodiments of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present application. One skilled in the relevant art will recognize, however, that the aspects of the application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the application.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
The head-mounted device is gradually applied to life of a user, the intelligent glasses belong to one of the head-mounted devices, and fig. 1 shows a flow diagram of a testing method of the head-mounted device according to one embodiment of the application. The method can be applied to the head-mounted device. The head-mounted device is not limited herein, such as AR (Augmented Reality), VR (Virtual Reality), MR (Mixed Reality), and the like.
The method for testing the head-mounted device at least comprises the steps S110 to S130, and is described in detail as follows (the method is applied to the head-mounted device is described as an example):
in step S110, the script transmitted by the test terminal is collected.
In this embodiment, the headset device is in communication connection with the test end, and the headset device is in communication connection with the test end, so that the script is transmitted from the test end to the headset device, and optionally, the headset device is in communication connection with the test end through bluetooth.
And when the head-mounted equipment is in a connection state with the testing end, acquiring the script transmitted by the testing end so as to facilitate the script to be transmitted to the head-mounted equipment by the testing end, so that the head-mounted equipment further processes the script, and at the moment, the script contains a memory data packet and a testing instruction, and the memory of the head-mounted equipment is filled through the memory data packet so as to facilitate the functional test of the head-mounted equipment through the testing instruction.
Referring to fig. 2, in step S120, memory filling of the head mounted device is triggered based on the script.
In an embodiment of the present application, the script contains a memory data packet, and the memory of the head-mounted device is filled with the memory data packet, so that the memory filling of the head-mounted device is triggered based on the script.
The specific steps are as follows:
step S121, analyzing the script to obtain a memory data packet stored in the script;
in the embodiment of the application, the script is further parsed so as to obtain the memory data packet in the script, so that the memory data packet stored in the script is obtained, and the head-mounted device is subjected to memory filling based on the memory data packet, and at the moment, the memory filling of the head-mounted device is triggered by the script without manual operation, so that the head-mounted device is convenient to carry out automatic memory filling.
Step S122, triggering active memory filling of the head-mounted device based on the memory data packet, wherein the memory data packet is actively filled into the head-mounted device;
in the embodiment of the application, the active memory filling of the head-mounted device is triggered based on the memory data packet, meanwhile, the memory data packet is stored in the script, and the memory data packet is actively filled into the head-mounted device, so that the memory data packet fully utilizes the storage space of the script, meanwhile, the transmission of the script between the test end and the head-mounted device is utilized, the stability of the memory data packet is ensured, the memory filling efficiency of the head-mounted device is improved, and in addition, the memory moving amount can be greatly reduced by adopting a filling mode, so that the memory can be quickly restored to a stable state.
Step S123, monitoring filling data of a memory data packet in a memory filling process of the head-mounted equipment;
in the embodiment of the application, in the memory filling process of the head-mounted device, the filling data of the memory data packet is monitored so as to monitor the memory filling process of the head-mounted device, so that the filling data of the memory data packet is ensured to be matched with the head-mounted device, and meanwhile, under the monitoring of the head-mounted device, the filling state of the filling data of the head-mounted device is clarified so as to discover the leakage condition in time.
Step S124, if the filling data of the memory data packet has leakage condition, marking the leakage position of the filling data, and continuing filling the memory data packet;
in the embodiment of the application, if the filling data of the memory data packet has a leakage condition, the leakage of the filling data is processed in a targeted manner, at this time, the leakage of the filling data is marked so as to facilitate the subsequent repair processing on the leakage, and meanwhile, the filling of the memory data packet is continued, at this time, although the filling data has the leakage, the filling of the memory data packet is not affected, and the test efficiency of the head-mounted device is prevented from being affected.
Step S125, outputting a log to be repaired based on a leakage position of filling data after the memory of the head-mounted device is filled;
in the embodiment of the application, after the memory of the head-mounted device is filled, the leak of the filling data is preferentially processed, and the location is performed through the mark of the leak of the filling data, so that the log to be repaired is conveniently output based on the leak of the filling data, the subsequent place to be repaired is clearly determined based on the output of the log to be repaired, the subsequent leak of the filling data is conveniently repaired further, and the subsequent personnel learn.
In an embodiment of the present application, before the script-based triggering of the memory fill of the headset device, the method further includes: acquiring a memory instruction; reading the data amount of the residual memory of the head-mounted device based on the memory instruction; comparing the amount of data of the remaining memory of the head-mounted device with the amount of data of the memory stored within the script; the memory fill of the head-mounted device is regulated based on a comparison between the amount of data of the remaining memory of the head-mounted device and the amount of data of the memory stored within the script.
Referring to fig. 3, in step S130, after the memory of the head-mounted device is filled, a functional test of the head-mounted device is triggered based on the test content set in the script, and test data of the head-mounted device in the test content is recorded.
In this embodiment, the head-mounted device preferentially performs memory filling, and after the memory filling of the head-mounted device is finished, the function test of the head-mounted device is triggered again, so that the head-mounted device automatically performs the function test after the memory filling is finished, further, the continuous performance of the memory filling and the function test is realized, the single performance of the memory filling and the function test is avoided, and the test efficiency of the head-mounted device is improved.
The specific steps are as follows:
step S131, after the memory filling of the head-mounted equipment is finished, further analyzing aiming at the script, and acquiring a test instruction;
in the embodiment of the application, after the memory filling of the head-mounted device is finished, the script is further analyzed so as to obtain the test instruction in the analysis process of the script, so that the test instruction is further processed based on the test instruction, the test instruction contained in the script is fully utilized, and the continuous performance of the memory filling and the functional test is realized.
Step S132, traversing the test instruction to determine the test content set in the script;
and step S133, triggering the function test of the head-mounted device according to the test content.
In the embodiment of the application, the test instruction is traversed, the set test content in the script is determined based on the test instruction, so that the functional test of the head-mounted device is triggered according to the test content, the automatic test of the head-mounted device is further realized, the operation quantity of a tester is reduced, meanwhile, the script stores the memory data packet and the test instruction, so that the head-mounted device is triggered according to the same script to sequentially perform memory filling and functional test, the continuous performance of the memory filling and the functional test is further realized, the single performance of the memory filling and the functional test is avoided, and the test efficiency of the head-mounted device is improved.
Step S134, recording test data of the head-mounted device in the test content in the function test process of the head-mounted device.
And S135, sequentially sorting all the test data according to the sequence of all the functions in the test content.
In the embodiment of the application, in the functional test process of the head-mounted device, test data of the head-mounted device in test content is recorded so as to collect each test data, and at the moment, each test data is orderly sorted according to the ordering of each function in the test content and classified, so that the plurality of test data are orderly distributed, the sorting of the plurality of test data is further realized, and the sorting of the data is reduced.
Optionally, the functional test includes a maximum brightness test of the optical machine, a BT maximum power test, a switching test of the display interface, a maximum sampling rate of the sensor to collect data, a high load test, a music test, and the like, which are not limited herein.
Step S136, obtaining response time in the test data;
in step S137, if the response time is greater than the preset response time, the functional item of the head-mounted device is located, and the functional item is defined as an abnormal item.
In the embodiment of the application, a plurality of test data are acquired, response time in the test data is recorded so as to facilitate processing aiming at the response time of each function, at this time, if the response time is greater than the preset response time, the functional item of the head-mounted device is positioned, and the functional item is defined as an abnormal item, so that the abnormality of the functional item is defined according to the length of the response time, and further processing is carried out aiming at the abnormal item.
In an embodiment of the present application, the method further comprises: acquiring a stop signal of the head-mounted device; the function item of the head-mounted device is traced back based on the stop signal, and is defined as an abnormal item. At this time, the function item of the head-mounted device is positioned according to the stop signal and defined as an abnormal item so that the abnormality of the function item is defined by the stop signal, thereby facilitating further processing with respect to the abnormal item, and thus, the abnormal item can be further confirmed by the response or the stop signal based on the abnormal item, without limitation.
In some embodiments of the present application, a script transmitted by a test end is collected; triggering memory filling of the head-mounted device based on the script; after the memory of the head-mounted device is filled, triggering the function test of the head-mounted device based on the test content set in the script, and recording the test data of the head-mounted device in the test content, at this time, triggering the memory filling of the head-mounted device according to the script so as to facilitate the head-mounted device to automatically perform the memory filling after triggering, and triggering the function test of the head-mounted device based on the test content set in the script so as to automatically perform the function test of the head-mounted device after the memory filling is finished, thereby realizing continuous performance of the memory filling and the function test, avoiding single performance of the memory filling and the function test, and improving the test efficiency of the head-mounted device; therefore, through memory filling and system response time script running, the time for a tester to collect a large amount of data and fill the data is shortened, and the test efficiency of a test construction scene is improved.
The following describes an apparatus embodiment of the present application, which may be used to perform the method for testing a headset in the above-described embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method for testing a head-mounted device described in the present application.
Fig. 4 shows a block diagram of a testing apparatus of a head mounted device according to one embodiment of the present application.
Referring to fig. 4, a test apparatus for a head-mounted device according to an embodiment of the present application includes:
the acquisition module 210 is configured to acquire a script transmitted by the test end;
a filling module 220, configured to trigger memory filling of the headset device based on the script;
and the test module 230 is configured to trigger a functional test of the head-mounted device based on the test content set in the script after the memory of the head-mounted device is filled, and record the test data of the head-mounted device in the test content.
In one embodiment of the present application, the filling module 220 is further configured to: acquiring a memory instruction;
reading the data amount of the residual memory of the head-mounted device based on the memory instruction;
comparing the amount of data of the remaining memory of the head-mounted device with the amount of data of the memory stored within the script;
the memory fill of the head-mounted device is regulated based on a comparison between the amount of data of the remaining memory of the head-mounted device and the amount of data of the memory stored within the script.
In one embodiment of the present application, the filling module 220 is further configured to: analyzing the script to obtain a memory data packet stored in the script;
triggering active memory filling of the head-mounted device based on the memory data packet, wherein the memory data packet is actively filled into the head-mounted device.
In one embodiment of the present application, the filling module 220 is further configured to:
monitoring filling data of a memory data packet in a memory filling process of the head-mounted equipment;
if the filling data of the memory data packet has leakage condition, marking the leakage position of the filling data, and continuing filling the memory data packet;
and outputting the log to be repaired based on the leakage position of the filling data after the memory filling of the head-mounted device is finished.
In one embodiment of the present application, the test module 230 is further configured to:
after the memory filling of the head-mounted equipment is finished, further analyzing aiming at the script, and acquiring a test instruction;
traversing the test instruction to determine the test content set in the script;
and triggering the function test of the head-mounted device according to the test content.
In one embodiment of the present application, the test module 230 is further configured to:
recording test data of the head-mounted device in the test content in the function test process of the head-mounted device;
sequentially sorting all the test data according to the sequence of all the functions in the test content;
acquiring response time in the test data;
if the response time is greater than the preset response time, locating the functional item of the head-mounted equipment, and defining the functional item as an abnormal item.
In one embodiment of the present application, the test module 230 is further configured to:
acquiring a stop signal of the head-mounted device;
the function item of the head-mounted device is traced back based on the stop signal, and is defined as an abnormal item.
Fig. 5 shows a schematic diagram of a computer system suitable for use in implementing embodiments of the present application.
It should be noted that, the computer system of the head-mounted device shown in fig. 5 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
As shown in fig. 5, the computer system includes a central processing unit (Central Processing Unit, CPU) 301 that can perform various appropriate actions and processes, such as performing the methods described in the above embodiments, 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 (Random Access Memory, RAM) 303. In the RAM 303, various programs and data required for the system operation are also stored. The CPU 301, ROM 302, and RAM 303 are connected to each other through a bus 304. An Input/Output (I/O) interface 305 is also connected to bus 304.
The following components are connected to the I/O interface 305: an input section 306 including a keyboard, a mouse, and the like; an output portion 307 including a Cathode Ray Tube (CRT), a liquid crystal display (Liquid Crystal Display, LCD), and the like, a speaker, and the like; a storage section 308 including a hard disk or the like; and a communication section 309 including a network interface card such as a LAN (Local Area Network ) card, a modem, or the like. The communication section 309 performs communication processing via a network such as the internet. The 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, or the like is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 309, and/or installed from the removable medium 311. When executed by a Central Processing Unit (CPU) 301, performs the various functions defined in the system of the present application.
It should be noted that, the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash Memory, an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with a computer-readable computer program embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Where each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by means of software, or may be implemented by means of hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
As another aspect, the present application also provides a computer-readable medium that may be contained in the head-mounted device described in the above embodiment; or may be present alone without being fitted into the head-mounted device. The computer-readable medium carries one or more programs which, when executed by the head-mounted device, cause the head-mounted device to implement the methods described in the above embodiments.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a touch terminal, or a network device, etc.) to perform the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method of testing a head mounted device, comprising:
collecting a script transmitted by a test end;
triggering memory filling of the head-mounted device based on the script;
after the memory of the head-mounted device is filled, triggering the function test of the head-mounted device based on the test content set in the script, and recording the test data of the head-mounted device in the test content.
2. The method of claim 1, wherein prior to the script-based triggering of the memory fill of the headset, the method further comprises:
acquiring a memory instruction;
reading the data amount of the residual memory of the head-mounted device based on the memory instruction;
comparing the amount of data of the remaining memory of the head-mounted device with the amount of data of the memory stored within the script;
the memory fill of the head-mounted device is regulated based on a comparison between the amount of data of the remaining memory of the head-mounted device and the amount of data of the memory stored within the script.
3. The method of claim 1, wherein the script-based triggering the memory fill of the headset comprises:
analyzing the script to obtain a memory data packet stored in the script;
triggering active memory filling of the head-mounted device based on the memory data packet, wherein the memory data packet is actively filled into the head-mounted device.
4. The method of claim 3, wherein the script-based triggering the memory fill of the headset further comprises:
monitoring filling data of a memory data packet in a memory filling process of the head-mounted equipment;
if the filling data of the memory data packet has leakage condition, marking the leakage position of the filling data, and continuing filling the memory data packet;
and outputting the log to be repaired based on the leakage position of the filling data after the memory filling of the head-mounted device is finished.
5. The method according to claim 1, wherein after the memory of the head-mounted device is filled, triggering the functional test of the head-mounted device based on the test content set in the script, and recording the test data of the head-mounted device in the test content, includes:
after the memory filling of the head-mounted equipment is finished, further analyzing aiming at the script, and acquiring a test instruction;
traversing the test instruction to determine the test content set in the script;
and triggering the function test of the head-mounted device according to the test content.
6. The method according to claim 5, wherein after the memory of the head-mounted device is filled, triggering the functional test of the head-mounted device based on the test content set in the script, and recording the test data of the head-mounted device in the test content, further comprising:
recording test data of the head-mounted device in the test content in the function test process of the head-mounted device;
sequentially sorting all the test data according to the sequence of all the functions in the test content;
acquiring response time in the test data;
if the response time is greater than the preset response time, locating the functional item of the head-mounted equipment, and defining the functional item as an abnormal item.
7. The method according to claim 1, wherein the method further comprises:
acquiring a stop signal of the head-mounted device;
the function item of the head-mounted device is traced back based on the stop signal, and is defined as an abnormal item.
8. A test apparatus for a head-mounted device, comprising:
the acquisition module is used for acquiring the script transmitted by the test end;
the filling module is used for triggering memory filling of the head-mounted device based on the script;
and the testing module is used for triggering the functional test of the head-mounted device based on the test content set in the script after the memory filling of the head-mounted device is finished, and recording the test data of the head-mounted device in the test content.
9. A computer readable medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements a method of testing a head mounted device according to any of claims 1 to 7.
10. A head-mounted device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of testing a head mounted device as claimed in any one of claims 1 to 7.
CN202311515963.0A 2023-11-14 2023-11-14 Method and device for testing head-mounted equipment, medium and head-mounted equipment Pending CN117493092A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311515963.0A CN117493092A (en) 2023-11-14 2023-11-14 Method and device for testing head-mounted equipment, medium and head-mounted equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311515963.0A CN117493092A (en) 2023-11-14 2023-11-14 Method and device for testing head-mounted equipment, medium and head-mounted equipment

Publications (1)

Publication Number Publication Date
CN117493092A true CN117493092A (en) 2024-02-02

Family

ID=89684609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311515963.0A Pending CN117493092A (en) 2023-11-14 2023-11-14 Method and device for testing head-mounted equipment, medium and head-mounted equipment

Country Status (1)

Country Link
CN (1) CN117493092A (en)

Similar Documents

Publication Publication Date Title
CN107341098B (en) Software performance testing method, platform, equipment and storage medium
CN106294120B (en) Method, apparatus and computer program product for testing code
CN108959059B (en) Test method and test platform
CN110245073A (en) Client code coverage rate monitoring method, system, medium and electronic equipment
CN107038120B (en) Software testing method and device
CN108664372A (en) Monitoring device, method and the computer readable storage medium of test process
CN110674047A (en) Software testing method and device and electronic equipment
CN111221727B (en) Test method, test device, electronic equipment and computer readable medium
CN115203004A (en) Code coverage rate testing method and device, storage medium and electronic equipment
CN110597704A (en) Application program pressure testing method, device, server and medium
CN116795727B (en) Reproduction method and device of test process, electronic equipment and storage medium
CN108153655B (en) Method for detecting drawing call quantity of virtual reality software and storage medium
CN107342917B (en) Method and apparatus for detecting network device performance
CN116450511A (en) Information updating method, device, electronic equipment and computer readable medium
CN117493092A (en) Method and device for testing head-mounted equipment, medium and head-mounted equipment
CN115952098A (en) Performance test tuning scheme recommendation method and system
CN114416441A (en) Real-time database automatic testing method and system, electronic equipment and storage medium
CN105095093A (en) Intelligent terminal performance test method and system
CN115454856A (en) Multi-application security detection method, device, medium and electronic equipment
CN112346994B (en) Test information association method, device, computer equipment and storage medium
CN114416597A (en) Test case record generation method and device
CN114116480A (en) Method, device, medium and equipment for determining application program test coverage rate
CN115062571A (en) Dynamic selection method, system, equipment and computer readable storage medium for data area of integrated circuit device
CN113806231A (en) Code coverage rate analysis method, device, equipment and medium
CN116257422A (en) Self-test case generation method and device and electronic equipment

Legal Events

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