Method for integrating VR player in VR all-in-one machine and storage medium

文档序号:1429890 发布日期:2020-03-17 浏览:9次 中文

阅读说明:本技术 Vr一体机中整合vr播放器的方法、存储介质 (Method for integrating VR player in VR all-in-one machine and storage medium ) 是由 刘德建 黄晨帆 吴凤辉 刘俊 杨阳明 郭玉湖 于 2018-09-11 设计创作,主要内容包括:本发明提供VR一体机中整合VR播放器的方法、存储介质,方法包括:在服务端,依据对应的VR设备标识对VR资源进行分类存储;依据VR一体机的VR设备的唯一标识符在服务端配置对应的VR设备标识;运行VR一体机,发送其VR设备的唯一标识符至服务端;服务端依据接收到的唯一标识符返回对应的VR设备标识,以及所述VR设备标识对应的VR资源。不仅方便开发人员分发软件;而且还能大大减少需要针对不同VR设备制作不同软件安装包而带来的工作量,进而能够实现依据VR设备标识快速准确调用对应的播放器播放相应的资源。(The invention provides a method for integrating a VR player in a VR all-in-one machine and a storage medium, wherein the method comprises the following steps: at the server, classifying and storing the VR resources according to the corresponding VR equipment identification; configuring a corresponding VR equipment identifier at a server according to the unique identifier of the VR equipment of the VR all-in-one machine; operating the VR all-in-one machine, and sending the unique identifier of the VR equipment to a server; and the server returns the corresponding VR equipment identification and the VR resource corresponding to the VR equipment identification according to the received unique identifier. Not only is the software convenient for developers to distribute; and the workload caused by the need of manufacturing different software installation packages for different VR devices can be greatly reduced, and then the corresponding player can be quickly and accurately called to play corresponding resources according to the VR device identification.)

A method of integrating a VR player in a VR all in one machine, comprising:

at the server, classifying and storing the VR resources according to the corresponding VR equipment identification;

configuring a corresponding VR equipment identifier at a server according to the unique identifier of the VR equipment of the VR all-in-one machine;

operating the VR all-in-one machine, and sending the unique identifier of the VR equipment to a server;

and the server returns the corresponding VR equipment identification and the VR resource corresponding to the VR equipment identification according to the received unique identifier.

2. The method of integrating a VR player in a VR all-in-one of claim 1, further comprising: corresponding VR players are stored in the server corresponding to different VR equipment identifications;

and when the VR all-in-one machine operates for the first time, the server returns the corresponding VR player according to the unique identifier sent by the VR all-in-one machine.

3. The method of claim 1, wherein the server returns a corresponding VR device identifier and a VR resource corresponding to the VR device identifier based on the received unique identifier, and specifically:

the server side obtains a VR equipment identifier corresponding to the unique identifier according to the received unique identifier;

acquiring a corresponding VR resource according to the acquired VR equipment identifier;

and returning the obtained VR equipment identifier and the VR resources to the VR all-in-one machine.

4. The method of integrating a VR player in a VR all-in-one of claim 1, further comprising:

in the local of the VR all-in-one machine, different files are configured corresponding to different VR equipment identifications for storing corresponding VR players and VR resources;

the VR all-in-one machine stores the received VR equipment identification;

and the VR all-in-one machine stores the received VR resources to a file corresponding to the VR equipment identifier.

5. The method of integrating a VR player in a VR all-in-one of claim 4, further comprising:

when the VR all-in-one machine receives an instruction of playing VR resources, the VR equipment identification is read locally;

and acquiring a VR player and VR resources from a locally corresponding file according to the VR equipment identifier for playing.

6. The method of integrating a VR player in a VR all-in-one of claim 4, wherein the unique identifier is a MAC address or a motherboard ID of the VR device; the VR device identification is 3Glasses, Pico or HTC; different files are configured corresponding to different VR equipment information, and the method specifically comprises the following steps:

the file with 3GlassesPlayer configuration name corresponds to the file with Pico or HTC configuration name VRPlayer.

7. The method of claim 1, wherein the server returns a corresponding VR device identifier and a VR resource corresponding to the VR device identifier based on the received unique identifier, and thereafter further comprising:

reading the VR equipment identification after the VR all-in-one machine receives an instruction of playing VR resources;

and calling a corresponding VR player to play the VR resource according to the VR equipment identifier.

8. A computer readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, is capable of carrying out the steps included in the method of integrating a VR player in a VR all-in-one of the claims 1-7.

Technical Field

The invention relates to the field of VR equipment, in particular to a method for integrating a VR player in a VR all-in-one machine and a storage medium.

Background

Dedicated VR glasses need be connected to current VR all-in-one broadcast VR resource. The existing VR Glasses in the market have three types (3Glasses, Pico, and HTC) respectively, and use a dedicated player to play the corresponding VR resources.

The existing solution is to make software installation packages containing corresponding VR players separately for different VR glasses. This kind of method is troublesome, and the installation package must be made according to different VR glasses to the developer, and the work load is great.

Disclosure of Invention

The technical problem to be solved by the invention is as follows: the method and the storage medium for integrating the VR player in the VR all-in-one machine are provided, the workload of developers is reduced, and management is facilitated.

In order to solve the technical problems, the invention adopts the technical scheme that:

a method for integrating a VR player in a VR machine comprises the following steps:

at the server, classifying and storing the VR resources according to the corresponding VR equipment identification;

configuring a corresponding VR equipment identifier at a server according to the unique identifier of the VR equipment of the VR all-in-one machine;

operating the VR all-in-one machine, and sending the unique identifier of the VR equipment to a server;

and the server returns the corresponding VR equipment identification and the VR resource corresponding to the VR equipment identification according to the received unique identifier.

The invention provides another technical scheme as follows:

a computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the steps of the method of integrating a VR player in a VR all-in-one machine as described above.

The invention has the beneficial effects that: at a server, storing multiple types of VR resources in an associated manner according to VR equipment identifiers (namely VR glasses equipment information), and meanwhile, configuring the VR equipment identifiers at the server in advance according to unique identifiers of the VR equipment; alright through the interaction of VR all-in-one and server to the unique identifier of VR equipment obtains VR equipment identification as the basis, current configuration promptly, and then according to the current configuration of VR equipment, calls the corresponding VR resource of VR player broadcast of matching. The invention is convenient for developers to distribute software; but also can greatly reduce the workload brought by manufacturing different software installation packages aiming at different VR equipment.

Drawings

FIG. 1 is a schematic flow chart of a method for integrating a VR player in a VR machine according to the invention;

FIG. 2 is a schematic flow chart according to a first embodiment of the present invention;

fig. 3 is a schematic flow chart illustrating that a client of a VR all-in-one machine acquires VR glasses device information in a second embodiment of the present invention;

fig. 4 is a schematic flowchart illustrating a process of calling a VR player to play a VR resource according to a second embodiment of the present invention.

Detailed Description

In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.

The most key concept of the invention is as follows: and integrating multiple types of VR resources corresponding to the VR equipment identifier, reading corresponding configuration according to the unique identifier of the VR equipment through interaction of the VR all-in-one machine and the server, and playing corresponding resources.

The technical terms related to the invention are explained as follows:

Figure BDA0001795259630000021

Figure BDA0001795259630000031

referring to fig. 1, the present invention provides a method for integrating a VR player in a VR all-in-one machine, including:

at the server, classifying and storing the VR resources according to the corresponding VR equipment identification;

configuring a corresponding VR equipment identifier at a server according to the unique identifier of the VR equipment of the VR all-in-one machine;

operating the VR all-in-one machine, and sending the unique identifier of the VR equipment to a server;

and the server returns the corresponding VR equipment identification and the VR resource corresponding to the VR equipment identification according to the received unique identifier.

From the above description, the beneficial effects of the present invention are: integrating multiple dedicated VR playing resources according to corresponding VR equipment identifications; in the production process of the VR all-in-one machine, the VR equipment identifier, namely the type of the used VR glasses, is configured at the service end according to the unique identifier of the VR equipment, so that the association between the VR player matched with the VR equipment and the VR resource at the service end is realized; then alright through VR all-in-one and server interaction, read the corresponding configuration of VR equipment for the user can be according to the VR equipment identification that uses, VR glasses kind promptly, selects corresponding VR player and plays corresponding VR resource. The invention can integrate a plurality of VR player software and playing resources, and facilitates software distribution of developers, so as to reduce workload caused by manufacturing different installation packages aiming at different VR glasses.

Further, the method also comprises the following steps: corresponding VR players are stored in the server corresponding to different VR equipment identifications;

and when the VR all-in-one machine operates for the first time, the server returns the corresponding VR player according to the unique identifier sent by the VR all-in-one machine.

According to the description, various types of VR players can be stored in the server, and the VR integrated machine can be locally stored after being acquired according to the VR identification when the VR integrated machine is operated for the first time, so that the VR integrated machine can be directly called in the follow-up process without frequent remote acquisition, and multiplexing and quick calling are realized.

Further, the server returns a corresponding VR device identifier and a VR resource corresponding to the VR device identifier according to the received unique identifier, which specifically includes:

the server side obtains a VR equipment identifier corresponding to the unique identifier according to the received unique identifier;

acquiring a corresponding VR resource according to the acquired VR equipment identifier;

and returning the obtained VR equipment identifier and the VR resources to the VR all-in-one machine.

As can be seen from the above description, in one embodiment, the VR device identification and VR resource are obtained step by step and returned according to the unique identifier.

Further, the method also comprises the following steps:

in the local of the VR all-in-one machine, different files are configured corresponding to different VR equipment identifications for storing corresponding VR players and VR resources;

the VR all-in-one machine stores the received VR equipment identification;

and the VR all-in-one machine stores the received VR resources to a file corresponding to the VR equipment identifier.

As can be appreciated from the above description,

according to the description, the VR resources of various types uploaded by managers or developers are classified and stored, and the required resources can be accurately obtained in a positioning mode.

Further, the method also comprises the following steps:

in the local of the VR integrated machine, different files are configured corresponding to VR equipment information and used for storing corresponding VR players and VR resources;

and the VR all-in-one machine stores the acquired VR resources to a corresponding file.

According to the description, the VR integrated machine is locally stored in a classifying mode corresponding to different VR player and VR resource types, and unified resource management and accurate and rapid calling are facilitated.

Further, the method also comprises the following steps:

when the VR all-in-one machine receives an instruction of playing VR resources, the VR equipment identification is read locally;

and acquiring a VR player and VR resources from a locally corresponding file according to the VR equipment identifier for playing.

According to the description, when the playing requirement exists, the matched player and resource can be quickly called for playing according to the VR equipment identifier.

Further, the unique identifier is a MAC address or a motherboard ID of the VR device; the VR device identification is 3Glasses, Pico or HTC; different files are configured corresponding to different VR equipment information, and the method specifically comprises the following steps:

the file with 3GlassesPlayer configuration name corresponds to the file with Pico or HTC configuration name VRPlayer.

As is clear from the above description, the uniqueness of the unique identifier can be ensured; the method can be used for integrating similar players and playing resources, and can provide more matched resources for the VR all-in-one machine as far as possible.

Further, the server returns a corresponding VR device identifier and a VR resource corresponding to the VR device identifier according to the received unique identifier, and then, the method further includes:

reading the VR equipment identification after the VR all-in-one machine receives an instruction of playing VR resources;

and calling a corresponding VR player to play the VR resource according to the VR equipment identifier.

According to the description, under the condition that the corresponding VR player is locally stored in the VR all-in-one machine, the playing can be directly and quickly called according to the VR equipment identifier.

The invention provides another technical scheme as follows:

a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps included in any of the above described methods of integrating a VR player in a VR all-in-one machine.

As can be understood from the above description, those skilled in the art can understand that all or part of the processes in the above technical solutions can be implemented by instructing related hardware through a computer program, where the program can be stored in a computer-readable storage medium, and when executed, the program can include the processes of the above methods.

The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:盘装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!