CN116709380A - Bluetooth testing method and device of intelligent glasses, medium and electronic equipment - Google Patents

Bluetooth testing method and device of intelligent glasses, medium and electronic equipment Download PDF

Info

Publication number
CN116709380A
CN116709380A CN202310677480.4A CN202310677480A CN116709380A CN 116709380 A CN116709380 A CN 116709380A CN 202310677480 A CN202310677480 A CN 202310677480A CN 116709380 A CN116709380 A CN 116709380A
Authority
CN
China
Prior art keywords
bluetooth
intelligent glasses
connection
test
disconnection
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
CN202310677480.4A
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 CN202310677480.4A priority Critical patent/CN116709380A/en
Publication of CN116709380A publication Critical patent/CN116709380A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • G02B2027/0178Eyeglass type
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application provides a Bluetooth testing method and device of intelligent glasses, a medium and electronic equipment. The Bluetooth testing method of the intelligent glasses comprises the following steps: the bluetooth test instruction triggers the disconnection and the reconnection of bluetooth connection in the intelligent glasses to bluetooth connection in the intelligent glasses carries out active disconnection, and carry out active reconnection after the disconnection, if the intelligent glasses reconnect after the disconnection, then the number of times of bluetooth connection in the intelligent glasses and corresponding connection consuming time are recorded, at this moment, the intelligent glasses reconnect after the disconnection based on bluetooth test instruction realization, and bluetooth connection carries out active disconnection in the intelligent glasses, and carry out active reconnection after the disconnection, however do not need the manual individual trigger disconnection or reconnection of tester, the long-time participation bluetooth test of tester has been avoided, and the number of times of bluetooth connection in the intelligent glasses and corresponding connection consuming time are recorded.

Description

Bluetooth testing method and device of intelligent glasses, medium and electronic equipment
Technical Field
The application relates to the technical field of computers, in particular to a Bluetooth testing method and device of intelligent glasses, a medium and electronic equipment.
Background
The intelligent glasses belong to one kind of head-mounted equipment to wear in user's head, intelligent glasses can carry out bluetooth with the terminal and be connected the signal that receives and dispatches the terminal output based on bluetooth, need carry out bluetooth connection test before intelligent glasses ex-factory, in intelligent glasses's bluetooth connection test process, the tester needs manual type to trigger alone and carries out artificial reconnection after the disconnection, leads to current intelligent glasses's bluetooth test efficiency lower.
Disclosure of Invention
The embodiment of the application provides a Bluetooth test method, a Bluetooth test device, a Bluetooth test medium and an electronic device of intelligent glasses, which are used for triggering Bluetooth connection in the intelligent glasses to perform active disconnection at least to a certain extent through Bluetooth test instructions and performing active reconnection after the disconnection, wherein the situation that a tester manually triggers the disconnection or reconnection independently is avoided, the situation that the tester participates in Bluetooth test for a long time is avoided, and the number of times of Bluetooth connection in the intelligent glasses and corresponding connection time consumption are actively recorded, so that the tester does not need to record test data one by one, and the Bluetooth test efficiency of the intelligent glasses is improved.
Other features and advantages of the application will be apparent from the following detailed description, or may be learned by the practice of the application.
According to an aspect of the embodiment of the present application, there is provided a bluetooth test method for smart glasses, including:
acquiring a Bluetooth test instruction;
triggering disconnection and reconnection of Bluetooth connection in the intelligent glasses according to the Bluetooth test instruction;
if the intelligent glasses are reconnected after disconnection, the number of times of Bluetooth connection and the corresponding connection time consumption in the intelligent glasses are recorded.
In some embodiments of the present application, the triggering the disconnection and reconnection of the bluetooth connection in the smart glasses according to the bluetooth test instruction includes:
acquiring a Bluetooth test instruction;
triggering disconnection and reconnection of Bluetooth connection in the intelligent glasses according to the Bluetooth test instruction;
if the intelligent glasses are reconnected after disconnection, the number of times of Bluetooth connection and the corresponding connection time consumption in the intelligent glasses are recorded.
In some embodiments of the present application, the triggering the disconnection and reconnection of the bluetooth connection in the smart glasses according to the bluetooth test instruction includes:
analyzing the Bluetooth test instruction and determining a Bluetooth test action;
adjusting the connection sequence of Bluetooth connection in the intelligent glasses according to the Bluetooth test action;
and determining that the Bluetooth connection in the intelligent glasses is reconnected after the Bluetooth connection is disconnected based on the connection sequence of the Bluetooth connection, wherein the disconnection and the reconnection are both active connections without artificial triggering.
In some embodiments of the present application, if the smart glasses are reconnected after being disconnected, recording the number of bluetooth connections in the smart glasses and the corresponding connection time consumption includes:
monitoring the connection state of the Bluetooth connection;
when the disconnection in the Bluetooth connection is in a successful state, the intelligent glasses actively reconnect;
when the reconnection is in a successful state in the bluetooth connection, the smart glasses complete a single bluetooth connection and take the time between disconnection and reconnection as a connection time.
In some embodiments of the application, the method further comprises:
acquiring testing time of the intelligent glasses;
determining a corresponding Bluetooth test event based on the test time of the intelligent glasses;
and determining the times of Bluetooth connection of the intelligent glasses in the test time and the corresponding connection time consumption according to the Bluetooth test event.
In some embodiments of the application, the method further comprises:
acquiring Bluetooth test events in each time stamp;
sequentially recording the times of Bluetooth connection and the corresponding connection time consumption according to the time sequence;
recording the number of Bluetooth connection times and corresponding connection time consumption to a chart, and forming a Bluetooth test schematic diagram of the intelligent glasses;
in some embodiments of the present application, the acquiring bluetooth test instruction includes, before:
acquiring a testing environment of the intelligent glasses;
when the intelligent glasses are in a test environment, receiving an associated signal of the terminal, wherein the distance between the intelligent glasses and the terminal is adjustable;
and entering a Bluetooth test mode of the intelligent glasses according to the association signal of the terminal.
In some embodiments of the present application, obtaining a test environment for smart glasses includes:
acquiring a test requirement;
and regulating and controlling the testing environment of the intelligent glasses according to the testing requirements, wherein the testing environment of the intelligent glasses is a conventional scene and an interference scene with different interference forces.
According to an aspect of an embodiment of the present application, there is provided a bluetooth test device for smart glasses, including:
the acquisition module is used for acquiring the Bluetooth test instruction;
the connection module is used for triggering disconnection and reconnection of Bluetooth connection in the intelligent glasses according to the Bluetooth test instruction;
and the recording module is used for recording the Bluetooth connection times and the corresponding connection time consumption in the intelligent glasses if the intelligent glasses are reconnected after being disconnected.
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 bluetooth test method for smart glasses as described in the above embodiments.
According to an aspect of an embodiment of the present application, there is provided an electronic apparatus including: one or more processors; and a storage device 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 for bluetooth testing of smart glasses 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 bluetooth test method for the smart glasses provided in the above embodiment.
In the technical scheme provided by some embodiments of the application, the disconnection and reconnection of the Bluetooth connection in the intelligent glasses are triggered by the Bluetooth test instruction, so that the Bluetooth connection in the intelligent glasses is actively disconnected, and is actively reconnected after the disconnection, if the intelligent glasses are reconnected after the disconnection, the times of the Bluetooth connection in the intelligent glasses and the corresponding connection time consumption are recorded, at the moment, the reconnection of the intelligent glasses after the disconnection is realized based on the Bluetooth test instruction, and the Bluetooth connection in the intelligent glasses is actively disconnected, and is actively reconnected after the disconnection, however, the disconnection or reconnection is not required to be manually triggered by a tester alone, the situation that the tester participates in the Bluetooth test for a long time is avoided, and the times of the Bluetooth connection in the intelligent glasses and the corresponding connection time consumption are actively recorded, so that the tester does not need to record test data one by one, and the Bluetooth test efficiency of the intelligent glasses is improved.
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 as claimed.
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 evident 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 shows a flow diagram of a bluetooth test method for smart glasses according to an embodiment of the present application;
fig. 2 shows a schematic flow chart of S120 in fig. 1;
fig. 3 shows a schematic flow chart of S130 in fig. 1;
FIG. 4 illustrates a block diagram of a Bluetooth testing device for smart glasses in accordance with one embodiment of the present application;
fig. 5 shows a schematic diagram of a computer system suitable for use in implementing an embodiment of the 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 application. One skilled in the relevant art will recognize, however, that the application may 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.
Fig. 1 shows a flow diagram of a bluetooth test method for smart glasses according to an embodiment of the present application. The method can be applied to intelligent glasses, such as AR (Augmented Reality), VR (Virtual Reality), MR (Mixed Reality) electronic equipment and the like.
It should be noted that the number of the smart glasses may be one or a plurality, for example, two or more, or any number, for example, the smart glasses may be a single smart glasses, or may be a smart glasses cluster formed by a plurality of smart glasses, etc., which is not particularly limited in the present application. Optionally, the smart glasses are AR (Augmented Reality ), VR (Virtual Reality), MR (Mixed Reality), and the like, which are not limited herein.
Referring to fig. 1 and fig. 4, the bluetooth testing method of the smart glasses at least includes steps S110 to S130, and the following details (the following description describes the method applied to the smart glasses as an example):
in step S110, a bluetooth test instruction is acquired.
In this embodiment, bluetooth test instruction is as the start-up instruction of bluetooth test to transmit to intelligent glasses by test terminal or server, intelligent glasses acquire bluetooth test instruction, and start bluetooth test based on bluetooth test instruction, avoid the tester to carry out artificial triggering to intelligent glasses, and bluetooth of intelligent glasses is in the start-up state, thereby the intelligent glasses of being convenient for carries out bluetooth connection with terminal or server. At this time, the bluetooth test of the intelligent glasses is triggered by the bluetooth test instruction so as to adjust the test state of the intelligent glasses.
In addition, before the bluetooth test instruction is acquired, the method comprises the following steps: acquiring a testing environment of the intelligent glasses; when the intelligent glasses are in a test environment, receiving an associated signal of the terminal, wherein the distance between the intelligent glasses and the terminal is adjustable; and entering a Bluetooth test mode of the intelligent glasses according to the association signal of the terminal.
The intelligent glasses acquire testing requirements aiming at testing environments of the intelligent glasses, and the indication containing the testing environments is determined based on the testing requirements so as to regulate and control the testing environments of the intelligent glasses according to the testing requirements, thereby being convenient for the intelligent glasses to conduct targeted tests in various testing environments and testing the adaptability of Bluetooth connection in various environments in the intelligent glasses. The test environment of the intelligent glasses is a conventional scene and an interference scene with different interference forces.
In the conventional scene, the conventional scene has no interference to the Bluetooth connection of the intelligent glasses, and the Bluetooth connection state of the intelligent glasses is good, but in the interference scene with different interference forces, the existence of interference signals affecting the Bluetooth connection in the interference scene has different interference forces to the Bluetooth connection, and the function and the stability of the Bluetooth connection of the intelligent glasses can be better authenticated based on the intelligent glasses tested in the interference scene with different interference forces. Alternatively, the interference level of the conventional scene is 0 level, and the interference level of the interference scene with different interference forces has multiple levels, such as a first level, a second level and a third level, which can be adjusted according to specific requirements.
Referring to fig. 2, in step S120, disconnection and reconnection of a bluetooth connection in the smart glasses are triggered according to a bluetooth test instruction.
In this embodiment, disconnection and reconnection of the bluetooth connection in the smart glasses perform one continuous action, and as a complete action of one bluetooth connection, the disconnection and reconnection of the bluetooth connection in the smart glasses are triggered based on the bluetooth test instruction, and the effect of the bluetooth test instruction is fully utilized so as to be processed in the bluetooth test instruction, thereby triggering the smart glasses to complete a plurality of bluetooth connections based on the bluetooth test instruction so as to test the bluetooth connection performance of the smart glasses.
Step S121: analyzing the Bluetooth test instruction and determining a Bluetooth test action;
in this embodiment, the bluetooth test instruction is parsed and bluetooth test actions are determined for the parsed information of the bluetooth test instruction in order to clarify the order of actions between disconnection and reconnection and the number of bluetooth connections.
Step S122: and adjusting the connection sequence of Bluetooth connection in the intelligent glasses according to the Bluetooth test action.
In this embodiment, the bluetooth test action is used as bluetooth test information, and the action sequence between disconnection and reconnection is defined, so that the connection sequence of bluetooth connections in the intelligent glasses can be adjusted according to the bluetooth test action, and thus the bluetooth connections of the intelligent glasses can be guided in action according to the bluetooth test action, thereby ensuring that the intelligent glasses can complete a series of bluetooth connections according to preset action requirements, and further realizing automatic bluetooth test of the intelligent glasses, without manually and independently triggering disconnection or reconnection by a tester, and avoiding long-time participation of the tester in bluetooth test.
Step S123: and determining that the Bluetooth connection in the intelligent glasses is reconnected after the Bluetooth connection is disconnected based on the connection sequence of the Bluetooth connection, wherein the disconnection and the reconnection are both active connection modes, and manual triggering is not needed.
In this embodiment, the connection order of disconnection and reconnection is determined based on the connection order of bluetooth connection, and the order of bluetooth connection test in the smart glasses is specified, at this time, the connection order of bluetooth connection in the smart glasses is determined based on the connection order of bluetooth connection, and then the reconnection is performed after the disconnection, wherein the disconnection and reconnection are both actively connected according to the connection order of bluetooth connection, so that control of a tester is avoided, and the disconnection and reconnection are both actively connected without artificial triggering.
Referring to fig. 3, in step S130, if the smart glasses are reconnected after being disconnected, the number of bluetooth connections and the corresponding connection time consumption in the smart glasses are recorded.
In this embodiment, if the smart glasses are reconnected after disconnection, then determine that the smart glasses are in a successful state in this bluetooth connection, and as a single bluetooth connection, perform data recording for the single bluetooth connection, record the number of times of bluetooth connection in the smart glasses and the connection time consumption that corresponds, so as to record the bluetooth test of the smart glasses based on the form of the log, avoid the human input of the tester to the data, and improve the accuracy of the bluetooth test of the smart glasses.
Step S131: the connection status of the bluetooth connection is monitored.
In this embodiment, the connection status of the bluetooth connection is monitored, and the basis for the success of the bluetooth connection is made according to the disconnection and reconnection status.
Step S132: when the disconnection in the Bluetooth connection is in a successful state, the intelligent glasses actively reconnect;
step S133: when the reconnection is in a successful state in the bluetooth connection, the smart glasses complete a single bluetooth connection and take the time between disconnection and reconnection as a connection time.
In this embodiment, during bluetooth testing of the smart glasses, the bluetooth connection of the smart glasses is disconnected preferentially, and reconnection is performed after the disconnection is successful, at this time, when the disconnection is in a successful state in the bluetooth connection, the smart glasses actively perform reconnection; when reconnection is in a successful state in the Bluetooth connection, the intelligent glasses complete single Bluetooth connection, and time between disconnection and reconnection is used as connection time consumption, so that Bluetooth tests of the intelligent glasses are recorded based on a log form, human input of testers to data is avoided, and accuracy of the Bluetooth tests of the intelligent glasses is improved.
In addition, the method further comprises: acquiring testing time of the intelligent glasses; determining a corresponding Bluetooth test event based on the test time of the intelligent glasses; the number of times of Bluetooth connection and the corresponding connection time consumption of the intelligent glasses in the test time are determined according to the Bluetooth test event, at this time, the Bluetooth test event of the intelligent glasses in the test time is conveniently screened through the test time of the intelligent glasses, the number of times of Bluetooth connection and the corresponding connection time consumption are recorded in the Bluetooth test event, and therefore automatic recording of the number of times of Bluetooth connection and the corresponding connection time consumption is achieved, and manual recording of testers is avoided.
Also, the method further comprises: acquiring Bluetooth test events in each time stamp; sequentially recording the times of Bluetooth connection and the corresponding connection time consumption according to the time sequence; and recording the number of Bluetooth connection times and corresponding connection time consumption to a chart, and forming a Bluetooth test schematic diagram of the intelligent glasses.
The times of Bluetooth connection and corresponding connection time consumption in the Bluetooth test event are ordered according to the time sequence, and based on the coordinate system that the abscissa is time and the ordinate is the times of Bluetooth connection or corresponding connection time consumption, a Bluetooth test schematic diagram of the intelligent glasses is formed, so that the situation of Bluetooth connection in the intelligent glasses is clearly reflected through the Bluetooth test schematic diagram of the intelligent glasses.
The testing steps are as follows:
placing the terminal and the intelligent glasses in a Bluetooth interference strong scene (such as office building office, laboratory) or a Bluetooth interference weak scene (such as outdoor open field, conference room) or other scenes; fixing the position of the terminal or the glasses so that the distance between the terminal and the glasses is 1m, 5m, 10m, 30m, 50m or more; so as to facilitate bluetooth testing based on different distances;
the terminal is connected with the intelligent glasses in a binding way; the terminal enters a cmd automatic connection mode;
the terminal clicks to start, and starts Bluetooth test on the intelligent glasses; the test interface of the terminal displays the time consumption of connection; the terminal clicks and ends, and Bluetooth test is finished on the intelligent glasses; displaying the connection times, the time consumption of each connection and the average time consumption by a test interface of the terminal, wherein the average time consumption is the average value of the time consumption of each connection in each time period; and automatically storing the Bluetooth test event, recording the connection times, the connection time consumption of each time and the average time consumption, and checking the Bluetooth test event based on the terminal.
The following describes an embodiment of the device of the present application, which may be used to perform the bluetooth test method of the smart glasses in the above embodiment of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the bluetooth testing method for smart glasses of the present application.
Fig. 4 shows a block diagram of a bluetooth test device of smart glasses according to an embodiment of the present application.
Referring to fig. 4, a bluetooth test apparatus for smart glasses according to an embodiment of the present application includes:
an acquiring module 210, configured to acquire a bluetooth test instruction;
the connection module 220 is configured to trigger disconnection and reconnection of a bluetooth connection in the smart glasses according to the bluetooth test instruction;
the recording module 230 is configured to record the number of bluetooth connections in the smart glasses and the corresponding connection time consumption if the smart glasses are reconnected after being disconnected.
Fig. 5 shows a schematic diagram of a computer system suitable for use in implementing an embodiment of the application.
It should be noted that, the computer system of the electronic 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 software, or may be implemented by 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 electronic device described in the above embodiment; or may exist alone without being incorporated into the electronic device. The computer-readable medium carries one or more programs which, when executed by the electronic device, cause the electronic 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 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 U-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 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 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. The Bluetooth testing method of the intelligent glasses is characterized by comprising the following steps of:
acquiring a Bluetooth test instruction;
triggering disconnection and reconnection of Bluetooth connection in the intelligent glasses according to the Bluetooth test instruction;
if the intelligent glasses are reconnected after disconnection, the number of times of Bluetooth connection and the corresponding connection time consumption in the intelligent glasses are recorded.
2. The method of claim 1, wherein triggering disconnection and reconnection of a bluetooth connection in the smart glasses according to bluetooth test instructions comprises:
analyzing the Bluetooth test instruction and determining a Bluetooth test action;
adjusting the connection sequence of Bluetooth connection in the intelligent glasses according to the Bluetooth test action;
and determining that the Bluetooth connection in the intelligent glasses is reconnected after the Bluetooth connection is disconnected based on the connection sequence of the Bluetooth connection, wherein the disconnection and the reconnection are both active connections without artificial triggering.
3. The method according to claim 2, wherein recording the number of bluetooth connections in the smart glasses and the corresponding connection time consumption if the smart glasses are reconnected after disconnection, comprises:
monitoring the connection state of the Bluetooth connection;
when the disconnection in the Bluetooth connection is in a successful state, the intelligent glasses actively reconnect;
when the reconnection is in a successful state in the bluetooth connection, the smart glasses complete a single bluetooth connection and take the time between disconnection and reconnection as a connection time.
4. A method according to claim 3, characterized in that the method further comprises:
acquiring testing time of the intelligent glasses;
determining a corresponding Bluetooth test event based on the test time of the intelligent glasses;
and determining the times of Bluetooth connection of the intelligent glasses in the test time and the corresponding connection time consumption according to the Bluetooth test event.
5. The method as recited in claim 4, wherein the method further comprises:
acquiring Bluetooth test events in each time stamp;
sequentially recording the times of Bluetooth connection and the corresponding connection time consumption according to the time sequence;
and recording the number of Bluetooth connection times and corresponding connection time consumption to a chart, and forming a Bluetooth test schematic diagram of the intelligent glasses.
6. The method according to any one of claims 1 to 5, wherein prior to the acquiring the bluetooth test instruction comprises:
acquiring a testing environment of the intelligent glasses;
when the intelligent glasses are in a test environment, receiving an associated signal of the terminal, wherein the distance between the intelligent glasses and the terminal is adjustable;
and entering a Bluetooth test mode of the intelligent glasses according to the association signal of the terminal.
7. The method of claim 6, wherein obtaining a test environment for the smart glasses comprises:
acquiring a test requirement;
and regulating and controlling the testing environment of the intelligent glasses according to the testing requirements, wherein the testing environment of the intelligent glasses is a conventional scene and an interference scene with different interference forces.
8. Bluetooth testing arrangement of intelligent glasses, its characterized in that includes:
the acquisition module is used for acquiring the Bluetooth test instruction;
the connection module is used for triggering disconnection and reconnection of Bluetooth connection in the intelligent glasses according to the Bluetooth test instruction;
and the recording module is used for recording the Bluetooth connection times and the corresponding connection time consumption in the intelligent glasses if the intelligent glasses are reconnected after being disconnected.
9. A computer readable medium on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements a bluetooth test method of a smart glasses according to any one of claims 1 to 7.
10. An electronic 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 bluetooth testing of smart glasses according to any one of claims 1 to 7.
CN202310677480.4A 2023-06-08 2023-06-08 Bluetooth testing method and device of intelligent glasses, medium and electronic equipment Pending CN116709380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310677480.4A CN116709380A (en) 2023-06-08 2023-06-08 Bluetooth testing method and device of intelligent glasses, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310677480.4A CN116709380A (en) 2023-06-08 2023-06-08 Bluetooth testing method and device of intelligent glasses, medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116709380A true CN116709380A (en) 2023-09-05

Family

ID=87833462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310677480.4A Pending CN116709380A (en) 2023-06-08 2023-06-08 Bluetooth testing method and device of intelligent glasses, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116709380A (en)

Similar Documents

Publication Publication Date Title
CN109684188B (en) Test method and device
CN113470618A (en) Wake-up test method and device, electronic equipment and readable storage medium
CN110518990A (en) Calibration method, system and the computer readable storage medium of multiple antennas WiFi product
CN113144620A (en) Detection method, device, platform, readable medium and equipment for frame synchronization game
CN112994980A (en) Time delay testing method and device, electronic equipment and storage medium
EP3240309A1 (en) Information processing device, information processing program, and information processing method
CN116709380A (en) Bluetooth testing method and device of intelligent glasses, medium and electronic equipment
CN114880182B (en) Monitoring platform testing method and device, electronic equipment and readable storage medium
CN114465919B (en) Network service testing method, system, electronic equipment and storage medium
CN111311393A (en) Credit risk assessment method, device, server and storage medium
CN115952098A (en) Performance test tuning scheme recommendation method and system
CN115576791A (en) Dynamic adjustment method and device for pressure measurement thread, electronic equipment and storage medium
CN115348656A (en) MiFi device, power adjusting method thereof, electronic device and system
CN110633182B (en) System, method and device for monitoring server stability
CN114048137A (en) Application testing method and device and electronic equipment
CN114938377A (en) Back-end server management method and device, readable medium and electronic equipment
CN113973060A (en) Internet of things simulation method, device and system and storage medium
CN111460270B (en) Information pushing method and device
CN109885501A (en) The method and apparatus of fluency for test application
CN106934655A (en) Advertisement sending method and device based on user feedback
CN106981034B (en) Method and device for generating housing use information
CN116980331A (en) Device testing method and apparatus, electronic device, and computer-readable storage medium
CN113961263B (en) Applet distribution method, device, apparatus and storage medium
CN117827557A (en) Endurance test method, electronic device and storage medium
CN115525517A (en) Mixed-insertion hard disk lamp signal control system, method and device and readable storage medium

Legal Events

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