CN111918257B - Head-mounted display device, data transmission method thereof and readable storage medium - Google Patents
Head-mounted display device, data transmission method thereof and readable storage medium Download PDFInfo
- Publication number
- CN111918257B CN111918257B CN202010737471.6A CN202010737471A CN111918257B CN 111918257 B CN111918257 B CN 111918257B CN 202010737471 A CN202010737471 A CN 202010737471A CN 111918257 B CN111918257 B CN 111918257B
- Authority
- CN
- China
- Prior art keywords
- data
- mounted display
- display device
- head
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000005540 biological transmission Effects 0.000 title claims abstract description 50
- 238000004891 communication Methods 0.000 claims abstract description 99
- 230000004044 response Effects 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/131—Protocols for games, networked simulations or virtual reality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a data transmission method, which comprises the following steps: transmitting data request information to a first external head-mounted display device through near field communication; receiving target data sent by the first external head-mounted display device through the near field communication; the target data is generated by the first external head-mounted display device according to the multimedia data currently played by the first external head-mounted display device; and acquiring and playing the multimedia data corresponding to the target data. The invention also discloses a head-mounted display device and a readable storage medium. The invention aims to improve the convenience of a user of a head-mounted display device for acquiring multimedia resources in other head-mounted display devices.
Description
Technical Field
The present invention relates to the technical field of intelligent devices, and in particular, to a data transmission method, a head-mounted display device, and a readable storage medium.
Background
As the content of virtual reality is becoming rich, the application of virtual reality technology in daily life is becoming wider and wider. Among them, the most developed in the virtual reality technology is the head-mounted display device.
At present, if a user of the head-mounted display device wants to acquire multimedia data in other devices for playing, the user can only know the information of the multimedia data and then find corresponding multimedia resources and download the multimedia resources by himself, so that the operation is complex and inconvenient.
Disclosure of Invention
The invention mainly aims to provide a data transmission method which aims to improve the convenience of a user of a head-mounted display device for acquiring multimedia resources in other head-mounted display devices.
In order to achieve the above object, the present invention provides a data transmission method applied to a head-mounted display device, the data transmission method comprising the steps of:
transmitting data request information to a first external head-mounted display device through near field communication;
Receiving target data sent by the first external head-mounted display device through the near field communication; the target data is generated by the first external head-mounted display device according to the multimedia data currently played by the first external head-mounted display device;
And determining and playing the multimedia data corresponding to the target data.
Optionally, before the step of receiving, by the near field communication, the target data sent by the first external head mounted display device, the method further includes:
acquiring the signal intensity of the near field communication;
and when the signal intensity is greater than or equal to a set intensity threshold, executing the step of receiving target data sent by the first external head-mounted display device through near field communication.
Optionally, after the step of acquiring the signal strength of the near field communication, the method further includes:
When the signal intensity is smaller than the set intensity threshold, a first Bluetooth address is sent to the first external head mounted display device through the near field communication, and a second Bluetooth address sent by the first external head mounted display device is received through the near field communication; the first Bluetooth address is the Bluetooth address of a first terminal connected with the head-mounted display device, and the second Bluetooth address is the Bluetooth address of a second terminal connected with the first external head-mounted display device;
The second Bluetooth address is sent to the first terminal, so that the first terminal is connected with the second terminal according to the first Bluetooth address and the second Bluetooth address in a Bluetooth communication mode, and target data sent by the second terminal are obtained through the Bluetooth communication connection; the first terminal is used for sending the multimedia data corresponding to the target data to target equipment when receiving the target data, wherein the target equipment is a sender of the second Bluetooth address;
And receiving and playing the returned multimedia data.
Optionally, the determining and playing the multimedia data corresponding to the target data includes:
When the target data are multimedia data, playing the target data;
When the target data is the identification information of the multimedia data, the identification information is sent to a connected third terminal; the third terminal is used for searching corresponding multimedia data according to the received identification information and sending the searched multimedia data to a sender of the identification information;
and receiving and playing the multimedia data returned based on the identification information.
In addition, in order to achieve the above object, the present application also proposes a data transmission method applied to a head-mounted display device, the data transmission method comprising the steps of:
Reading currently played multimedia data when data request information of the second external head mounted display device is received based on near field communication;
generating target data to be transmitted according to the multimedia data;
the target data is sent to the second external head mounted display device by the near field communication.
Optionally, before the step of transmitting the target data to the second external head mounted display device by the near field communication, the method further comprises:
acquiring the signal intensity of the near field communication;
and when the signal strength is greater than or equal to a set strength threshold, performing the step of transmitting the target data to the second external head mounted display device through the near field communication.
Optionally, after the step of acquiring the signal strength of the near field communication, the method further includes:
When the signal strength is smaller than the set strength threshold, transmitting a third Bluetooth address to the second external head mounted display device through the near field communication, and receiving a fourth Bluetooth address transmitted by the second external head mounted display device through the near field communication; the third Bluetooth address is a Bluetooth address of a fourth terminal connected with the head-mounted display device, and the fourth Bluetooth address is a Bluetooth address of a fifth terminal connected with the second external head-mounted display device;
Transmitting the fourth Bluetooth address to the fourth terminal so that the fourth terminal is in Bluetooth communication connection with the fourth terminal according to the third Bluetooth address and the fourth Bluetooth address and transmits the target data to the fifth terminal through the Bluetooth communication connection,
The fifth terminal is configured to send, when receiving the target data, multimedia data corresponding to the target data to the second external head-mounted display device.
Optionally, before the step of reading the currently played multimedia data, the method further includes:
judging whether the data request information is matched with a set protocol or not;
if so, executing the step of reading the currently played multimedia data;
and if the data request information does not match, ending the response operation to the data request information.
Optionally, the step of generating target data to be transmitted according to the multimedia data includes:
acquiring the data type or the data size of the multimedia data;
when the data type is a set type or the data size is larger than or equal to a set threshold value, acquiring identification information corresponding to the multimedia data, and taking the identification information as the target data;
and when the data type is not the set type or the data size is smaller than the set threshold, taking the multimedia data as the target data.
In addition, in order to achieve the above object, the present application also proposes a head-mounted display device including: a memory, a processor and a data transfer program stored on the memory and executable on the processor, which when executed by the processor performs the steps of the data transfer method as claimed in any one of the preceding claims.
In addition, in order to achieve the above object, the present application also proposes a readable storage medium having stored thereon a data transmission program which, when executed by a processor, implements the steps of the data transmission method according to any one of the above.
According to the data transmission method, data request information is sent to external head-mounted display equipment through near field communication, target data returned by the external head-mounted display equipment is received through near field communication, and multimedia data corresponding to the target data are obtained and played. According to the scheme, the target data are generated according to the multimedia data currently played by the external head-mounted display device, a user does not need to search for the multimedia resources played in other head-mounted display devices by himself or herself, and can acquire the multimedia resources currently played by other head-mounted display devices only by approaching the head-mounted display device where the required resources are located, so that the user operation is greatly simplified in the resource acquisition process, and the convenience of the user of the head-mounted display device for acquiring the multimedia resources in other head-mounted display devices is improved.
Drawings
FIG. 1 is a schematic diagram of a hardware architecture involved in the operation of an embodiment of a head mounted display device of the present invention;
FIG. 2 is a flow chart of an embodiment of a data transmission method according to the present invention;
FIG. 3 is a flow chart of another embodiment of the data transmission method of the present invention;
FIG. 4 is a flowchart of a data transmission method according to another embodiment of the present invention;
Fig. 5 is a flowchart of a data transmission method according to another embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The main solutions of the embodiments of the present invention are: transmitting data request information to a first external head-mounted display device through near field communication; receiving target data sent by the first external head-mounted display device through the near field communication; the target data is generated by the first external head-mounted display device according to the multimedia data currently played by the first external head-mounted display device; and determining and playing the multimedia data corresponding to the target data.
In the prior art, if a user wearing the display device wants to acquire multimedia data in other devices for playing, the user can only know related information of the multimedia data and then search for corresponding multimedia resources and download the multimedia resources by himself, so that the user has complicated operation and is very inconvenient.
The present invention provides the above-described solution, aiming at improving the convenience of the user of the head-mounted display device to acquire multimedia resources in other head-mounted display devices.
The embodiment of the invention provides a head-mounted display device,
In an embodiment of the present invention, referring to fig. 1, a head-mounted display device includes: a processor 1001 (e.g., CPU), a memory 1002, a near field communication module 1003, and the like. The memory 1002 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1002 may alternatively be a storage device separate from the processor 1001 described above.
The memory 1002 and the near field communication module 1003 are each connected to the processor 1001. Wherein the near field communication module 1003 is used for near field communication connection between the head mounted display device and other devices.
It will be appreciated by those skilled in the art that the device structure shown in fig. 1is not limiting of the device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components.
As shown in fig. 1, a data transmission program may be included in a memory 1002 as a readable storage medium. In the apparatus shown in fig. 1, a processor 1001 may be used to invoke a data transmission program stored in a memory 1002 and perform the relevant step operations of the data transmission method in any of the following embodiments.
The embodiment of the invention also provides a data transmission method which is applied to the head-mounted display device.
Referring to fig. 2, an embodiment of a data transmission method of the present application is presented. In this embodiment, the data transmission method includes:
Step S10, data request information is sent to a first external head-mounted display device through near field communication;
Specifically, when the user needs to acquire the multimedia data of the first external head-mounted display device, the head-mounted display device used by the user can be controlled to pause playing, and when the head-mounted display device is in a state of pausing the playing of the multimedia data, the near field communication module in the head-mounted display device is controlled to be started so as to form a near field network.
When it is detected that there is an external head-mounted display device entering the near-field network, the external head-mounted display device is taken as a first external head-mounted display device here, and data request information is sent to the external head-mounted display device.
Step S20, receiving target data sent by the first external head-mounted display device through the near field communication; the target data is generated by the first external head-mounted display device according to the multimedia data currently played by the first external head-mounted display device;
When the first external head-mounted display device receives the data request information based on near field communication, the first external head-mounted display device can acquire the multimedia data which is currently played by the first external head-mounted display device, generate target data according to the multimedia data, and return the target data to the head-mounted display device which sends the data request information through near field communication.
The head-mounted display device which sends the data request information receives target data returned by the first external head-mounted display device based on the data request information based on near field communication.
Step S30, determining and playing the multimedia data corresponding to the target data.
And analyzing the data type of the received target data, judging whether the target data is multimedia data, and directly playing the target data when the target data is multimedia data. When the target data is the identification information of the multimedia data, the identification information is sent to a connected third terminal; the third terminal is used for searching corresponding multimedia data according to the received identification information and sending the searched multimedia data to a sender of the identification information. The identification information may be specifically a name, a number, etc. of the multimedia data. And sending the identification information to a third terminal (such as a mobile phone, a computer and the like matched with the head-mounted display equipment) connected with the head-mounted display equipment for requesting the data, searching the multimedia data through the identification information after the third terminal receives the identification information, returning the search result to the head-mounted display equipment connected with the third terminal, and playing the multimedia data when the head-mounted display equipment for requesting the data receives the multimedia data returned by the third terminal based on the identification information.
According to the data transmission method provided by the embodiment of the invention, data request information is sent to the external head-mounted display device through near field communication, target data returned by the external head-mounted display device is received through near field communication, and multimedia data corresponding to the target data is acquired and played. According to the scheme, the target data are generated according to the multimedia data currently played by the external head-mounted display equipment, a user does not need to search for the multimedia resources played in other head-mounted display equipment by himself or herself, and can acquire the multimedia resources currently played by other head-mounted display equipment only by approaching the head-mounted display equipment where the required resources are located, so that the user operation is greatly simplified in the resource acquisition process, and the convenience of the user of the head-mounted display equipment for acquiring the multimedia resources in other head-mounted display equipment is improved.
Further, based on the above embodiment, another embodiment of the data transmission method of the present application is provided. In this embodiment, referring to fig. 3, before the step S20, the method further includes:
Step S01, acquiring the signal intensity of the near field communication;
when the signal intensity is greater than or equal to a set intensity threshold, executing step S20; when the signal strength is smaller than the set strength threshold, step S40 is performed.
The specific value of the set intensity threshold may be determined according to the actual situation.
Step S40, transmitting a first bluetooth address to the first external head mounted display device through the near field communication, and receiving a second bluetooth address transmitted by the first external head mounted display device through the near field communication; the first Bluetooth address is the Bluetooth address of a first terminal connected with the head-mounted display device, and the second Bluetooth address is the Bluetooth address of a second terminal connected with the first external head-mounted display device;
The first terminal is specifically a terminal to which the head mounted display device requesting data is currently connected, and the second terminal is specifically a terminal to which the first external head mounted display device is currently connected. The first terminal and the second terminal may be specifically headphones, tablet computers, or the like. Specifically, the head-mounted display device requesting data is in bluetooth communication connection with the first terminal, and the first external head-mounted display device is in bluetooth communication connection with the second terminal.
When the signal strength of the near field communication is weak, the head mounted display device requesting the data transmits the first Bluetooth address of the first terminal to which the head mounted display device is connected to the first external head mounted display device through the near field communication. After the first external head-mounted display device receives the first Bluetooth address or when the signal intensity of near field communication is strong, the first external head-mounted display device sends the second Bluetooth address of the second terminal connected with the first external head-mounted display device to the head-mounted display device requesting data through near field communication.
Step S50, the second Bluetooth address is sent to the first terminal, so that the first terminal is connected with the second terminal in Bluetooth communication according to the first Bluetooth address and the second Bluetooth address, and target data sent by the second terminal are obtained through the Bluetooth communication connection; the first terminal is used for sending the multimedia data corresponding to the target data to target equipment when receiving the target data, wherein the target equipment is a sender of the second Bluetooth address;
And after receiving the second Bluetooth address, the head-mounted display device requesting the data sends the received second Bluetooth address to the first terminal. And after the first external head-mounted display device receives the first Bluetooth address, the first external head-mounted display device sends the received first Bluetooth address to the second terminal. When the head-mounted display device requesting data and the first external head-mounted display device both store the first Bluetooth address and the second Bluetooth address, the two head-mounted display devices can realize Bluetooth communication connection based on the first Bluetooth address and the second Bluetooth address.
After the Bluetooth communication connection between the two head-mounted display devices is established, the first external head-mounted display device sends the generated target data to the second terminal, the second terminal receives the target data and then sends the target data to the first terminal through the Bluetooth communication connection, the first terminal can analyze the target data, if the target data is multimedia data, the target data is directly sent to the head-mounted display device connected with the first terminal, and if the target data is identification information of the multimedia data, the corresponding multimedia data is searched based on the identification information and then sent to the head-mounted display device connected with the second terminal.
Step S60, receiving and playing the returned multimedia data.
In this embodiment, through the above manner, when the near field communication signal strength is strong, data transmission between the two head-mounted display devices is realized by adopting near field communication; when the near field communication signal strength is weaker, the two head-mounted display devices do not adopt near field communication to transmit data, but transmit based on Bluetooth communication between the terminals connected respectively, so that the head-mounted display devices requesting data can receive complete multimedia data played by the external head-mounted display devices, and the effectiveness of data transmission between the two head-mounted display devices is guaranteed.
Further, based on any one of the above embodiments, a further embodiment of the data transmission method of the present application is provided. In this embodiment, referring to fig. 4, the data transmission method further includes the following steps:
step S100, when receiving data request information of the second external head-mounted display device based on near field communication, reading currently played multimedia data;
when the head-mounted display device receiving the data request is in a multimedia playing state, if the head-mounted display device is close to a second external head-mounted display device transmitting the near-field network, a near-field communication connection is established with the second external head-mounted display device. When the data request information transmitted by the second external head mounted display device is received based on near field communication, multimedia data currently played by the device itself can be read. The multimedia data may include audio data, video data, game data, and the like in particular.
In order to ensure the effectiveness and safety of data transmission between different head-mounted display devices, avoid that other devices unnecessarily acquire data of the head-mounted display devices to cause data leakage of users, facilitate rapid development of codes related to interaction between the later-stage and the head-mounted display devices, and perform data transmission between the head-mounted display devices based on a fixed protocol, the specific protocol structure can refer to fig. 5, and the protocol is mainly divided into five parts: protocol header (Requst ID) respectively; type (SERICE TYPE); transmission or reception (Get); BLE bluetooth Address (BLE Address); data type (Date type).
Because the protocol is fixed, when data request information of the second external head-mounted display device is received based on near field communication before the data required by the request is returned in the subsequent step is executed, the protocol analysis can be performed on the data request information, and whether the data request information is matched with a set protocol or not is judged; if so, executing the step of reading the currently played multimedia data; and if the data request information does not match, ending the response operation to the data request information. When the data request information is matched with the set protocol, the equipment for sending the data request information can be determined to be the head-mounted display equipment, the multimedia data is further read and corresponding target data is returned, if the data request information is not matched with the set protocol, the equipment for sending the data request information can be determined not to be the head-mounted display equipment, the data request information is not responded, and the data is not sent to the equipment.
Step S200, generating target data to be transmitted according to the multimedia data;
Different multimedia data may correspond to different forms of target data. Specifically, the multimedia data may be directly used as the target data, or the identification information of the multimedia data may be obtained, and the identification information may be used as the target data.
Specifically, in this embodiment, step S200 includes: acquiring the data type and/or the data size of the multimedia data; when the data type is a set type or the data size is larger than or equal to a set threshold value, acquiring identification information corresponding to the multimedia data, and taking the identification information as the target data; and when the data type is not the set type and the data size is smaller than the set threshold, taking the multimedia data as the target data. The data type may be divided in this embodiment based on whether the current multimedia data is a network resource. The setting type specifically refers to network resources. If the multimedia data is a network resource, the identification information can be used as target data; if the multimedia data is not a network resource, the multimedia data can be used as target data; if the data of the multimedia data is larger, the identification information can be used as target data; if the data of the multimedia data is small, the multimedia data can be used as target data.
Step S300, transmitting the target data to the second external head mounted display device through the near field communication.
In this embodiment, by the above manner, the head-mounted display device can share data for the external head-mounted display device based on near field communication, so that a user of the external head-mounted display device can conveniently provide multimedia data played by the user.
Further, based on the above embodiment, a further embodiment of the data transmission method of the present application is provided. In this embodiment, referring to fig. 5, before step S300, the method further includes:
Step S001, obtaining the signal intensity of the near field communication;
when the signal intensity is greater than or equal to a set intensity threshold, the step S300; when the signal strength is smaller than the set strength threshold, step S400 is performed.
The specific value of the set intensity threshold may be determined according to the actual situation.
Step S400, transmitting a third bluetooth address to the second external head mounted display device through the near field communication, and receiving a fourth bluetooth address transmitted by the second external head mounted display device through the near field communication; the third Bluetooth address is a Bluetooth address of a fourth terminal connected with the head-mounted display device, and the fourth Bluetooth address is a Bluetooth address of a fifth terminal connected with the second external head-mounted display device;
The fourth terminal is specifically a terminal currently connected to the head mounted display device that receives the data request, and the fifth terminal is specifically a terminal currently connected to the first external head mounted display device. The fourth terminal and the fifth terminal may be specifically headphones, a tablet computer, or the like. Specifically, the head-mounted display device receiving the data request is in communication connection with the fourth terminal Bluetooth, and the second external head-mounted display device is in communication connection with the fifth terminal Bluetooth.
When the signal strength of the near field communication is weak, the head-mounted display device which receives the data request transmits the third Bluetooth address of the fourth terminal connected to the head-mounted display device to the second external head-mounted display device through the near field communication. After the second external head-mounted display device receives the third Bluetooth address or when the signal intensity of near field communication is strong, the second external head-mounted display device sends the fourth Bluetooth address of the fifth terminal connected with the second external head-mounted display device to the head-mounted display device receiving the data request through near field communication.
Step S500, the fourth Bluetooth address is sent to the fourth terminal, so that the fourth terminal is connected with the fourth terminal in a Bluetooth communication mode according to the third Bluetooth address and the fourth Bluetooth address, and the target data is sent to the fifth terminal through the Bluetooth communication connection; the fifth terminal is configured to send, when receiving the target data, multimedia data corresponding to the target data to the second external head-mounted display device.
And the head-mounted display equipment receiving the data request receives the fourth Bluetooth address and then sends the received fourth Bluetooth address to the fifth terminal. And the second external head-mounted display device receives the third Bluetooth address and then sends the received third Bluetooth address to the fifth terminal. When the head-mounted display device receiving the data request and the second external head-mounted display device needing to acquire the data are both stored with the third Bluetooth address and the fourth Bluetooth address, the two head-mounted display devices can realize Bluetooth communication connection based on the third Bluetooth address and the fourth Bluetooth address.
After the Bluetooth communication connection between the two head-mounted display devices is established, the head-mounted display device which receives the data request sends the generated target data to the fourth terminal, the fourth terminal receives the target data and then sends the target data to the fifth terminal through the Bluetooth communication connection, the fifth terminal can analyze the target data, if the target data are multimedia data, the target data are directly sent to the second external head-mounted display device connected with the fifth terminal, if the target data are identification information of the multimedia data, the corresponding multimedia data are searched based on the identification information, and then the corresponding multimedia data are sent to the second external head-mounted display device connected with the fifth terminal.
In this embodiment, through the above manner, when the near field communication signal strength is strong, data transmission between the two head-mounted display devices is realized by adopting near field communication; when the near field communication signal strength is weaker, the two head-mounted display devices do not adopt near field communication to transmit data, but transmit based on Bluetooth communication between the terminals connected respectively, so that the second external head-mounted display device requesting the data can receive complete multimedia data played by the head-mounted display devices, and the effectiveness of data transmission between the two head-mounted display devices is guaranteed.
In addition, the embodiment of the invention also provides a readable storage medium, wherein the readable storage medium stores a data transmission program, and the data transmission program realizes the relevant steps of any embodiment of the data transmission method when being executed by a processor.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (9)
1. A data transmission method applied to a head-mounted display device, the data transmission method comprising the steps of:
When the head-mounted display equipment is in a state of suspending multimedia data playing, controlling a near field communication module in the head-mounted display equipment to start, and sending data request information to a first external head-mounted display equipment through near field communication;
acquiring the signal intensity of the near field communication;
when the signal intensity is greater than or equal to a set intensity threshold, receiving target data sent by the first external head-mounted display device through the near field communication; the target data is generated by the first external head-mounted display device according to the multimedia data currently played by the first external head-mounted display device;
And determining and playing the multimedia data corresponding to the target data.
2. The data transmission method of claim 1, wherein after the step of acquiring the signal strength of the near field communication, further comprising:
When the signal intensity is smaller than the set intensity threshold, a first Bluetooth address is sent to the first external head mounted display device through the near field communication, and a second Bluetooth address sent by the first external head mounted display device is received through the near field communication; the first Bluetooth address is the Bluetooth address of a first terminal connected with the head-mounted display device, and the second Bluetooth address is the Bluetooth address of a second terminal connected with the first external head-mounted display device;
The second Bluetooth address is sent to the first terminal, so that the first terminal is connected with the second terminal according to the first Bluetooth address and the second Bluetooth address in a Bluetooth communication mode, and target data sent by the second terminal are obtained through the Bluetooth communication connection; the first terminal is used for sending the multimedia data corresponding to the target data to target equipment when receiving the target data, wherein the target equipment is a sender of the second Bluetooth address;
And receiving and playing the returned multimedia data.
3. The data transmission method according to any one of claims 1 to 2, wherein the determining and playing the multimedia data corresponding to the target data includes:
When the target data are multimedia data, playing the target data;
When the target data is the identification information of the multimedia data, the identification information is sent to a connected third terminal; the third terminal is used for searching corresponding multimedia data according to the received identification information and sending the searched multimedia data to a sender of the identification information;
and receiving and playing the multimedia data returned based on the identification information.
4. A data transmission method applied to a head-mounted display device, the data transmission method comprising the steps of:
Reading currently played multimedia data when data request information of the second external head mounted display device is received based on near field communication;
generating target data to be transmitted according to the multimedia data;
acquiring the signal intensity of the near field communication;
And when the signal strength is greater than or equal to a set strength threshold, transmitting the target data to the second external head mounted display device through the near field communication.
5. The data transmission method of claim 4, wherein after the step of acquiring the signal strength of the near field communication, further comprising:
When the signal strength is smaller than the set strength threshold, transmitting a third Bluetooth address to the second external head mounted display device through the near field communication, and receiving a fourth Bluetooth address transmitted by the second external head mounted display device through the near field communication; the third Bluetooth address is a Bluetooth address of a fourth terminal connected with the head-mounted display device, and the fourth Bluetooth address is a Bluetooth address of a fifth terminal connected with the second external head-mounted display device;
transmitting the fourth Bluetooth address to the fourth terminal so that the fourth terminal is in Bluetooth communication connection with the fourth terminal according to the third Bluetooth address and the fourth Bluetooth address, and transmitting the target data to the fifth terminal through the Bluetooth communication connection;
The fifth terminal is configured to send, when receiving the target data, multimedia data corresponding to the target data to the second external head-mounted display device.
6. The data transmission method of claim 4, wherein before the step of reading the currently played multimedia data, further comprising:
judging whether the data request information is matched with a set protocol or not;
if so, executing the step of reading the currently played multimedia data;
and if the data request information does not match, ending the response operation to the data request information.
7. The data transmission method according to any one of claims 4 to 6, wherein the step of generating target data to be transmitted from the multimedia data includes:
acquiring the data type or the data size of the multimedia data;
when the data type is a set type or the data size is larger than or equal to a set threshold value, acquiring identification information corresponding to the multimedia data, and taking the identification information as the target data;
and when the data type is not the set type or the data size is smaller than the set threshold, taking the multimedia data as the target data.
8. A head-mounted display device, the head-mounted display device comprising: memory, a processor and a data transmission program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the data transmission method according to any one of claims 1 to 7.
9. A readable storage medium, characterized in that the readable storage medium has stored thereon a data transmission program, which when executed by a processor, implements the steps of the data transmission method according to any one of claims 1 to 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010737471.6A CN111918257B (en) | 2020-07-28 | 2020-07-28 | Head-mounted display device, data transmission method thereof and readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010737471.6A CN111918257B (en) | 2020-07-28 | 2020-07-28 | Head-mounted display device, data transmission method thereof and readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111918257A CN111918257A (en) | 2020-11-10 |
| CN111918257B true CN111918257B (en) | 2024-06-07 |
Family
ID=73280854
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010737471.6A Active CN111918257B (en) | 2020-07-28 | 2020-07-28 | Head-mounted display device, data transmission method thereof and readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111918257B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118450361A (en) * | 2021-07-13 | 2024-08-06 | Oppo广东移动通信有限公司 | Image content sharing method, device and head mounted display device |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103905879A (en) * | 2014-03-13 | 2014-07-02 | 北京奇艺世纪科技有限公司 | Video data and audio data synchronized playing method and device and equipment |
| CN104980883A (en) * | 2015-05-29 | 2015-10-14 | 努比亚技术有限公司 | Near field information transmitting method and system |
| WO2015165415A1 (en) * | 2014-04-30 | 2015-11-05 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for playing audio data |
| CN106851360A (en) * | 2016-10-12 | 2017-06-13 | 珠海艾派克科技股份有限公司 | NFC multimedia playing device and multimedia data processing method |
| WO2020027473A1 (en) * | 2018-08-03 | 2020-02-06 | 엘지전자 주식회사 | Methods for transmitting and receiving downlink data channels in wireless communication system, and apparatuses for same |
| CN111260795A (en) * | 2020-01-14 | 2020-06-09 | 深圳市酷开网络科技有限公司 | Exhibition method, system and storage medium based on VR equipment |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015023450A (en) * | 2013-07-19 | 2015-02-02 | レノボ・シンガポール・プライベート・リミテッド | Method and electronic apparatus for short distance radio communication |
-
2020
- 2020-07-28 CN CN202010737471.6A patent/CN111918257B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103905879A (en) * | 2014-03-13 | 2014-07-02 | 北京奇艺世纪科技有限公司 | Video data and audio data synchronized playing method and device and equipment |
| WO2015165415A1 (en) * | 2014-04-30 | 2015-11-05 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for playing audio data |
| CN104980883A (en) * | 2015-05-29 | 2015-10-14 | 努比亚技术有限公司 | Near field information transmitting method and system |
| CN106851360A (en) * | 2016-10-12 | 2017-06-13 | 珠海艾派克科技股份有限公司 | NFC multimedia playing device and multimedia data processing method |
| CN207200698U (en) * | 2016-10-12 | 2018-04-06 | 纳思达股份有限公司 | Exhibit, exhibition stand and NFC chip thereof |
| WO2020027473A1 (en) * | 2018-08-03 | 2020-02-06 | 엘지전자 주식회사 | Methods for transmitting and receiving downlink data channels in wireless communication system, and apparatuses for same |
| CN111260795A (en) * | 2020-01-14 | 2020-06-09 | 深圳市酷开网络科技有限公司 | Exhibition method, system and storage medium based on VR equipment |
Non-Patent Citations (1)
| Title |
|---|
| 多媒体综合展示平台的发展和应用;苟亮;薛高倩;张勇;曹澍;郭新营;迪力尼亚・迪力夏提;;中国新通信(18);全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111918257A (en) | 2020-11-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20190255433A1 (en) | Mobile phone game interface | |
| JP6968261B2 (en) | Computer-implemented methods, information transmission methods, data transmission computing devices, information transmission servers, non-transient, computer-readable media and computer-implemented systems. | |
| US7840182B2 (en) | Information processing apparatus and information processing method | |
| US20160337290A1 (en) | Message Push Method and Apparatus | |
| CN106936699A (en) | A kind of information sharing method, device and system | |
| WO2018107719A1 (en) | Data sharing method, apparatus, terminal device and server | |
| RU2526288C2 (en) | Use of text message by first mobile telephone user to activate process providing information to second mobile telephone user | |
| WO2024037032A1 (en) | Account login method and electronic device | |
| CN104280042A (en) | Method and device for acquiring navigation information | |
| CN111479250A (en) | File sharing method, device and system and terminal equipment | |
| CN111131358B (en) | Information acquisition method, apparatus, system, readable storage medium and electronic device | |
| CN111918257B (en) | Head-mounted display device, data transmission method thereof and readable storage medium | |
| WO2022206704A1 (en) | Voice interaction method and electronic device | |
| CN113206871A (en) | File transmission method, terminal and computer readable storage medium | |
| CN110618768A (en) | Information presentation method and device | |
| CN110418181B (en) | Service processing method and device for smart television, smart device and storage medium | |
| CN106302093B (en) | Communication method, system and server | |
| CN113824625B (en) | Information interaction method and device | |
| CN114745412A (en) | Bidirectional remote procedure calling method, device, equipment and storage medium | |
| CN113645599A (en) | Information processing method based on electronic equipment interaction and first electronic equipment | |
| US20120184333A1 (en) | Apparatus and method for providing and executing content | |
| CN113055348A (en) | Cross-platform data request method and device and electronic equipment | |
| CN107370731B (en) | Method and device for realizing communication between different applications based on natural language | |
| WO2008141588A1 (en) | Method and device for updating network contents | |
| CN116909769A (en) | Control method and device of baseboard management controller |
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 | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20221118 Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong Applicant after: GOERTEK TECHNOLOGY Co.,Ltd. Address before: 261031 east of Dongming Road, north of Yuqing East Street, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronics office building) Applicant before: GoerTek Optical Technology Co.,Ltd. |
|
| TA01 | Transfer of patent application right | ||
| GR01 | Patent grant |