[go: up one dir, main page]

CN111163174B - Network connection method, network connection device and readable storage medium - Google Patents

Network connection method, network connection device and readable storage medium Download PDF

Info

Publication number
CN111163174B
CN111163174B CN201911424452.1A CN201911424452A CN111163174B CN 111163174 B CN111163174 B CN 111163174B CN 201911424452 A CN201911424452 A CN 201911424452A CN 111163174 B CN111163174 B CN 111163174B
Authority
CN
China
Prior art keywords
network connection
target
mobile terminal
target terminal
head
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
Application number
CN201911424452.1A
Other languages
Chinese (zh)
Other versions
CN111163174A (en
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Optical Technology Co Ltd
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 Goertek Optical Technology Co Ltd filed Critical Goertek Optical Technology Co Ltd
Priority to CN201911424452.1A priority Critical patent/CN111163174B/en
Publication of CN111163174A publication Critical patent/CN111163174A/en
Application granted granted Critical
Publication of CN111163174B publication Critical patent/CN111163174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a network connection method, a network connection device and a readable storage medium, wherein the network connection method is used for head-mounted display equipment and comprises the following steps: receiving at least one network connection request sent by at least one mobile terminal in a preset range, wherein the network connection request comprises the position information of the corresponding mobile terminal; acquiring a target position of a target terminal; determining a mobile terminal of which the position information is matched with the target position as a target terminal; and establishing network connection with the target terminal. The technical scheme of the invention can ensure the accuracy of network connection and avoid potential safety hazards.

Description

网络连接方法、网络连接装置和可读存储介质Network connection method, network connection device and readable storage medium

技术领域technical field

本发明涉及耳机技术领域,尤其涉及一种网络连接方法、网络连接装置和可读存储介质。The present invention relates to the technical field of earphones, and in particular, to a network connection method, a network connection device and a readable storage medium.

背景技术Background technique

头戴显示设备,是一种可穿戴的虚拟显示产品。目前的头戴显示设备的技术原理大致分为虚拟现实(Virtual Reality)简称VR显示,增强现实(Augmented Reality)简称AR显示。A head-mounted display device is a wearable virtual display product. The technical principles of the current head-mounted display devices are roughly divided into virtual reality (Virtual Reality), referred to as VR display, and augmented reality (Augmented Reality), referred to as AR display.

随着头戴显示设备产品应用越来越广泛,应用场景也越来越多。头戴显示设备经常需要连接网络,而目前的网络连接方式中,用户难以确定连接的网络对象是否准确,而如果连接的网络对象出错,容易产生网络安全隐患。As head-mounted display device products become more and more widely used, there are more and more application scenarios. The head-mounted display device often needs to be connected to the network, and in the current network connection method, it is difficult for the user to determine whether the connected network object is accurate, and if the connected network object is wrong, it is easy to cause network security risks.

上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist the understanding of the technical solutions of the present application, and does not mean that the above content is the prior art.

发明内容SUMMARY OF THE INVENTION

基于此,针对难以确定连接的网络对象是否准确,易产生网络安全隐患的问题,有必要提供一种网络连接方法、网络连接装置和可读存储介质,能够保证网络连接的准确性,避免安全隐患。Based on this, in view of the problem that it is difficult to determine whether the connected network objects are accurate, and it is easy to cause network security risks, it is necessary to provide a network connection method, network connection device and readable storage medium, which can ensure the accuracy of network connection and avoid security risks. .

一种网络连接方法,所述网络连接方法用于头戴显示设备,所述网络连接方法包括:A network connection method, the network connection method being used for a head-mounted display device, the network connection method comprising:

接收预定范围内至少一个移动终端发送的至少一个网络连接请求,所述网络连接请求包含相应移动终端的位置信息;Receive at least one network connection request sent by at least one mobile terminal within a predetermined range, where the network connection request includes location information of the corresponding mobile terminal;

获取目标终端的目标位置;Get the target location of the target terminal;

确定其位置信息与所述目标位置匹配的移动终端为目标终端;Determine that the mobile terminal whose position information matches the target position is the target terminal;

与所述目标终端建立网络连接。Establish a network connection with the target terminal.

可选地,所述目标位置为虚拟场景位置,所述获取目标终端的目标位置,包括:Optionally, the target location is a virtual scene location, and the acquiring the target location of the target terminal includes:

采用景深摄像头获取所述目标终端所处真实场景的图像,其中所述图像包含若干特征点;Use a depth-of-field camera to acquire an image of the real scene where the target terminal is located, wherein the image includes several feature points;

根据所述若干特征点确定所述目标终端在真实场景的相对位置;Determine the relative position of the target terminal in the real scene according to the several feature points;

根据所述相对位置获取所述虚拟场景位置。The virtual scene position is acquired according to the relative position.

可选地,所述图像包含所述目标终端;所述根据所述相对位置获取所述虚拟场景位置前,所述方法还包括:Optionally, the image includes the target terminal; before acquiring the virtual scene position according to the relative position, the method further includes:

将所述图像渲染至所述头戴显示设备的虚拟场景中。The image is rendered into a virtual scene of the head mounted display device.

可选地,所述接收预定范围内至少一个移动终端发送的至少一个网络连接请求后,所述方法还包括:Optionally, after receiving at least one network connection request sent by at least one mobile terminal within a predetermined range, the method further includes:

生成网络连接请求列表;Generate a list of network connection requests;

将所述网络连接请求列表显示在所述头戴显示设备的虚拟场景中;displaying the network connection request list in the virtual scene of the head-mounted display device;

所述与所述目标终端建立网络连接前,所述方法还包括:Before establishing a network connection with the target terminal, the method further includes:

选定其位置信息与所述目标位置匹配的网络连接请求。Network connection requests whose location information matches the target location are selected.

可选地,所述接收预定范围内至少一个移动终端发送的至少一个网络连接请求,所述网络连接请求包含相应移动终端的位置信息,包括:Optionally, the receiving at least one network connection request sent by at least one mobile terminal within a predetermined range, where the network connection request includes location information of the corresponding mobile terminal, including:

接收预定范围内至少一个移动终端发送的至少一个网络连接请求;Receive at least one network connection request sent by at least one mobile terminal within a predetermined range;

对所述网络连接请求进行私钥解密,获取相应移动终端的位置信息。Decrypt the private key for the network connection request to obtain the location information of the corresponding mobile terminal.

可选地,所述确定其位置信息与所述目标位置匹配的移动终端为目标终端的步骤之后,包括:Optionally, after the step of determining that the mobile terminal whose location information matches the target location is the target terminal, the step includes:

移动所述目标终端在真实场景中的位置,使所述目标终端在虚拟场景中的位置产生变化。The position of the target terminal in the real scene is moved, so that the position of the target terminal in the virtual scene changes.

此外,为了实现上述目的,本发明还提供一种网络连接装置,所述网络连接装置用于头戴显示设备,所述网络连接装置包括:In addition, in order to achieve the above object, the present invention also provides a network connection device, the network connection device is used for a head-mounted display device, and the network connection device includes:

接收模块,用于接收预定范围内至少一个移动终端发送的至少一个网络连接请求,所述网络连接请求包含相应移动终端的位置信息;a receiving module, configured to receive at least one network connection request sent by at least one mobile terminal within a predetermined range, where the network connection request includes location information of the corresponding mobile terminal;

获取模块,用于获取目标终端的目标位置;an acquisition module for acquiring the target location of the target terminal;

确定模块,用于确定其位置信息与所述目标位置匹配的移动终端为目标终端;a determining module, for determining that the mobile terminal whose position information matches the target position is the target terminal;

连接模块,用于与所述目标终端建立网络连接。The connection module is used for establishing a network connection with the target terminal.

可选地,所述目标位置为虚拟场景位置,所述获取模块还用于采用景深摄像头获取所述目标终端所处真实场景的图像,其中所述图像包含若干特征点;根据所述若干特征点确定所述目标终端在真实场景的相对位置;根据所述相对位置获取所述虚拟场景位置。Optionally, the target position is a virtual scene position, and the acquisition module is further configured to use a depth-of-field camera to acquire an image of the real scene where the target terminal is located, wherein the image includes several feature points; according to the several feature points Determine the relative position of the target terminal in the real scene; obtain the virtual scene position according to the relative position.

可选地,所述图像包含所述目标终端,所述网络连接装置还包括:Optionally, the image includes the target terminal, and the network connection device further includes:

渲染模块,用于将所述图像渲染至所述头戴显示设备的虚拟场景中。A rendering module, configured to render the image into a virtual scene of the head-mounted display device.

此外,为实现上述目的,本发明还提出一种可读存储介质,所述可读存储介质上存储网络连接程序,所述网络连接程序被处理器执行时实现如上文所述的网络连接方法的步骤。In addition, in order to achieve the above object, the present invention also provides a readable storage medium, where a network connection program is stored on the readable storage medium, and when the network connection program is executed by the processor, the network connection method as described above is implemented. step.

本发明提出的技术方案中,在预定的范围内接收移动终端发送的网络连接请求,其中,网络连接请求中包括相应发送网络连接请求移动终端的位置信息。获取目标终端的目标位置,将移动终端的位置信息和目标终端的目标位置匹配,以此确定目标终端,头戴显示设备和目标终端建立网络连接,通过位置信息的匹配,能够确定头戴显示设备连接的移动终端就是目标终端,由此,保证网络连接的准确性,避免网络连接引起的安全隐患。In the technical solution proposed by the present invention, a network connection request sent by a mobile terminal is received within a predetermined range, wherein the network connection request includes location information of the mobile terminal corresponding to the network connection request. Obtain the target location of the target terminal, match the location information of the mobile terminal with the target location of the target terminal to determine the target terminal, and establish a network connection between the head-mounted display device and the target terminal. Through the matching of the location information, the head-mounted display device can be determined. The connected mobile terminal is the target terminal, thereby ensuring the accuracy of the network connection and avoiding potential security risks caused by the network connection.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图示出的结构获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained according to the structures shown in these drawings without creative efforts.

图1为本发明网络连接方法第一实施例的流程示意图;FIG. 1 is a schematic flowchart of a first embodiment of a network connection method according to the present invention;

图2为本发明网络连接方法第二实施例的流程示意图;2 is a schematic flowchart of a second embodiment of a network connection method according to the present invention;

图3为本发明网络连接方法第三实施例的流程示意图;3 is a schematic flowchart of a third embodiment of a network connection method according to the present invention;

图4为本发明网络连接方法第四实施例的流程示意图;4 is a schematic flowchart of a fourth embodiment of a network connection method according to the present invention;

图5为本发明网络连接方法第五实施例的流程示意图;5 is a schematic flowchart of a fifth embodiment of a network connection method according to the present invention;

图6为本发明网络连接方法第六实施例的流程示意图;6 is a schematic flowchart of a sixth embodiment of a network connection method according to the present invention;

图7为本发明网络连接装置的结构示意图。FIG. 7 is a schematic structural diagram of a network connection device of the present invention.

附图标号说明:Description of reference numbers:

标号label 名称name 标号label 名称name 1010 接收模块receiving module 5050 渲染模块rendering module 2020 获取模块get module 6060 生成模块build module 3030 确定模块Determine the module 7070 列表模块list module 4040 连接模块connection module 8080 选择模块select module

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

需要说明,本发明实施例中所有方向性指示(诸如上、下、左、右、前、后……)仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relationship between various components under a certain posture (as shown in the accompanying drawings). The relative positional relationship, the movement situation, etc., if the specific posture changes, the directional indication also changes accordingly.

另外,在本发明中如涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, descriptions such as "first", "second", etc. in the present invention are only for descriptive purposes, and should not be construed as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.

在本发明中,除非另有明确的规定和限定,术语“连接”、“固定”等应做广义理解,例如,“固定”可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise expressly specified and limited, the terms "connected", "fixed" and the like should be understood in a broad sense, for example, "fixed" may be a fixed connection, a detachable connection, or an integrated; It can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be an internal communication between two elements or an interaction relationship between the two elements, unless otherwise explicitly defined. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

另外,本发明各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but must be based on the realization by those of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be achieved, it should be considered that the combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention.

参阅图1所示,本发明提出的第一实施例,一种网络连接方法,网络连接方法用于头戴显示设备,头戴显示设备能够用来观看视频直播,或者,进行在线游戏等,这些均需要头戴显示设备连接网络才能够获取到相应的播放资源。相关技术中头戴显示设备难以直接连接网络,而目前的连接网络的方式是通过移动终端作为连接对象,再通过移动终端进行网络的连接的。所述移动终端包括智能手机和平板电脑。网络连接方法包括:Referring to FIG. 1, the first embodiment of the present invention provides a network connection method. The network connection method is used for a head-mounted display device, and the head-mounted display device can be used to watch live video, or play online games, etc. All need to connect the head-mounted display device to the network to obtain the corresponding playback resources. In the related art, it is difficult for the head-mounted display device to directly connect to the network, and the current way of connecting to the network is to use the mobile terminal as the connection object, and then connect the network through the mobile terminal. The mobile terminals include smart phones and tablet computers. Network connection methods include:

步骤S10,接收预定范围内至少一个移动终端发送的至少一个网络连接请求,网络连接请求包含相应移动终端的位置信息。Step S10: Receive at least one network connection request sent by at least one mobile terminal within a predetermined range, where the network connection request includes location information of the corresponding mobile terminal.

具体地,移动终端发送网络连接请求时通常距离头戴显示设备较近。比如,用户在佩戴头戴显示设备时,移动终端是随身携带的,通过设定预定范围,能够保证头戴显示设备选择的网络连接对象在一定的距离内,减少连接对象的选择,使移动终端和头戴显示设备快速连接。预定范围大小可以依据用户的需要而做出调整。Specifically, the mobile terminal is usually close to the head-mounted display device when sending the network connection request. For example, when the user wears the head-mounted display device, the mobile terminal is carried with him. By setting the predetermined range, the network connection object selected by the head-mounted display device can be guaranteed to be within a certain distance, and the selection of connection objects can be reduced. Quickly connect to your headset. The predetermined range size can be adjusted according to the user's needs.

另外,头戴显示设备接收的网络连接请求不限于一个,可以是同时接收两个移动终端的网络连接请求。其中,网络连接请求包含相应移动终端的位置信息,通过位置信息能够确定移动终端的位置,便于,以此确定移动终端的位置是否就是目标终端的位置。In addition, the network connection request received by the head-mounted display device is not limited to one, and may be simultaneously receiving network connection requests of two mobile terminals. The network connection request includes the location information of the corresponding mobile terminal, and the location of the mobile terminal can be determined through the location information, so that it is convenient to determine whether the location of the mobile terminal is the location of the target terminal.

步骤S20,获取目标终端的目标位置。Step S20, acquiring the target position of the target terminal.

通常来说,头戴显示设备在连接网络的过程中,是通过指定的移动终端完成的,也就是说,头戴显示设备连接的网络对象不是任意的。例如,在进行网络连接时,头戴显示设备连接的是用户自身携带的移动终端,避免与其它移动终端连接,造成连接安全隐患。一般不同的移动终端距离头戴显示设备的距离也不同,移动终端在发射信号的过程中,信号由于受到大气等环境的干扰,会产生衰减。因此获取目标终端的目标位置,可以通过接收信号的强度计算目标终端和头戴显示设备的距离来确定。Generally speaking, the process of connecting the head-mounted display device to the network is completed through a designated mobile terminal, that is to say, the network object to which the head-mounted display device is connected is not arbitrary. For example, when performing a network connection, the head-mounted display device is connected to a mobile terminal carried by the user, so as to avoid connection with other mobile terminals, resulting in potential connection security risks. Generally, different mobile terminals have different distances from the head-mounted display device. During the process of transmitting a signal by the mobile terminal, the signal will be attenuated due to the interference of the environment such as the atmosphere. Therefore, to obtain the target position of the target terminal, it can be determined by calculating the distance between the target terminal and the head-mounted display device through the strength of the received signal.

步骤S30,确定其位置信息与目标位置匹配的移动终端为目标终端。Step S30, determining that the mobile terminal whose location information matches the target location is the target terminal.

通过,将位置信息和目标位置进行匹配。例如,依据位置信息,计算头戴显示设备距离移动终端的距离。并依据目标位置,计算头戴显示设备和目标终端的距离,对比计算得到的两个距离值。如果距离值相同则移动终端是目标终端,如果距离值不同,则移动终端不是目标终端,控制头戴显示设备终端接收网络连接请求。Through, the location information and the target location are matched. For example, according to the location information, the distance between the head-mounted display device and the mobile terminal is calculated. And according to the target position, the distance between the head-mounted display device and the target terminal is calculated, and the two calculated distance values are compared. If the distance values are the same, the mobile terminal is the target terminal, and if the distance values are different, the mobile terminal is not the target terminal, and the head mounted display device terminal is controlled to receive the network connection request.

步骤S40,与目标终端建立网络连接。Step S40, establishing a network connection with the target terminal.

在确定移动终端就是目标终端后,头戴显示设备与目标终端建立网络连接。通过步骤S30的匹配对比验证,能够确定移动终端就目标终端,保证网络连接的对象是准确的,提高网络安全。After determining that the mobile terminal is the target terminal, the head-mounted display device establishes a network connection with the target terminal. Through the matching comparison and verification in step S30, it can be determined that the mobile terminal is the target terminal, ensuring that the object connected to the network is accurate, and improving network security.

本实施例提出的技术方案中,在预定的范围内接收移动终端发送的网络连接请求,其中,网络连接请求中包括相应发送网络连接请求移动终端的位置信息。获取目标终端的目标位置,将移动终端的位置信息和目标终端的目标位置匹配,以此确定目标终端,头戴显示设备和目标终端建立网络连接,通过位置信息的匹配,能够确定头戴显示设备连接的移动终端就是目标终端,由此,保证网络连接的准确性,避免网络连接引起的安全隐患。In the technical solution proposed in this embodiment, a network connection request sent by a mobile terminal is received within a predetermined range, wherein the network connection request includes location information of the mobile terminal corresponding to the network connection request sent. Obtain the target location of the target terminal, match the location information of the mobile terminal with the target location of the target terminal to determine the target terminal, and establish a network connection between the head-mounted display device and the target terminal. Through the matching of the location information, the head-mounted display device can be determined. The connected mobile terminal is the target terminal, thereby ensuring the accuracy of the network connection and avoiding potential security risks caused by the network connection.

参阅图2所示,在本发明提出的第一实施例的基础上,提出本发明的第二实施例,目标位置为虚拟场景位置,步骤S20包括:Referring to FIG. 2 , based on the first embodiment proposed by the present invention, a second embodiment of the present invention is proposed. The target position is a virtual scene position. Step S20 includes:

步骤S210,采用景深摄像头获取目标终端所处真实场景的图像,其中图像包含若干特征点。其中,景深摄像头可以设置在头戴显示设备中,也可以单独设置,景深摄像头能够获取到头戴显示设备的外部真实场景,并将外部真实场景渲染至头戴显示设备的虚拟场景中。目标终端是头戴显示设备的连接对象,且景深摄像头所拍摄真实场景的图像具有若干特征点,景深摄像头依据这些特征点能够获取到目标终端在真实场景中的相对位置。Step S210, using a depth-of-field camera to acquire an image of the real scene where the target terminal is located, wherein the image includes several feature points. The depth-of-field camera can be set in the head-mounted display device, or can be set separately. The depth-of-field camera can acquire the external real scene of the head-mounted display device, and render the external real scene into the virtual scene of the head-mounted display device. The target terminal is the connection object of the head-mounted display device, and the image of the real scene captured by the depth-of-field camera has several feature points, and the depth-of-field camera can obtain the relative position of the target terminal in the real scene according to these feature points.

步骤S220,根据若干特征点确定目标终端在真实场景的相对位置。通过景深摄像头能够准确的识别出目标终端所处真实场景中的若干特征点,并依据这些特征点目标终端在真实场景的相对位置。或者,构建三维坐标系,获取到目标终端的坐标点,由此确定得出目标终端在真实场景的相对头戴显示设备的位置。Step S220, determining the relative position of the target terminal in the real scene according to several feature points. Several feature points in the real scene where the target terminal is located can be accurately identified by the depth-of-field camera, and the relative position of the target terminal in the real scene based on these feature points. Alternatively, a three-dimensional coordinate system is constructed, and coordinate points of the target terminal are obtained, thereby determining the position of the target terminal relative to the head-mounted display device in the real scene.

步骤S230,根据相对位置获取虚拟场景位置。Step S230, obtaining the virtual scene position according to the relative position.

将目标终端所处的真实场景的图像渲染至头戴显示设备的虚拟场景中,同样,将移动终端的位置信息渲染至虚拟场景中。The image of the real scene where the target terminal is located is rendered into the virtual scene of the head-mounted display device, and similarly, the location information of the mobile terminal is rendered into the virtual scene.

目标终端在真实场景中的相对位置与其在虚拟场景中的相对位置是唯一对应的,根据相对位置可以唯一得到虚拟场景位置。The relative position of the target terminal in the real scene is uniquely corresponding to its relative position in the virtual scene, and the virtual scene position can be uniquely obtained according to the relative position.

通过判断虚拟场景中的目标终端位置和移动终端的位置是否匹配,如果匹配则移动终端就是目标终端;如果不匹配,则头戴显示设备重新获取网络连接请求。并且再次匹配对比移动终端和目标终端的位置是否相同。By judging whether the location of the target terminal in the virtual scene matches the location of the mobile terminal, if they match, the mobile terminal is the target terminal; if not, the head mounted display device re-acquires the network connection request. And it is matched again to compare whether the positions of the mobile terminal and the target terminal are the same.

一些实施例中,需要与头戴显示设备建立网络连接的是用户随身携带的一个用户已知的手机,而头戴显示设备进行网络连接请求扫描后获取到两个或者以上网络连接请求(一个网络连接请求对应一个移动终端、且具有唯一位置信息),头戴显示设备无法确定哪个网络连接请求对应于用户已知的手机。In some embodiments, what needs to establish a network connection with the head-mounted display device is a mobile phone known to the user carried by the user, and the head-mounted display device obtains two or more network connection requests (one network connection request) after scanning the network connection request. The connection request corresponds to a mobile terminal and has unique location information), and the head-mounted display device cannot determine which network connection request corresponds to a mobile phone known to the user.

此时,头戴显示设备可以采用景深摄像头拍摄真实场景的图像,该真实场景的图像中可以仅包含用户已知的手机、而不包含其他移动终端。具体在头戴显示设备中,多个网络连接请求呈现列表的形式显示在虚拟显示界面中,在列表中,可以观察到代表不同移动终端的终端名称,用户可以通过眼球注视或者虚拟手势的方式实现选择。进而,可以根据该图像中的手机的相对位置获得该手机在虚拟场景中的虚拟场景位置。将虚拟场景位置与网络连接请求的位置信息进行比对,即可得到位置信息与虚拟场景位置匹配的网络连接请求,该网络连接请求即为用户已知的手机发送的网络连接请求。At this time, the head-mounted display device may use a depth camera to capture an image of the real scene, and the image of the real scene may only include the mobile phone known to the user, but not other mobile terminals. Specifically in the head-mounted display device, multiple network connection requests are displayed in the form of a list on the virtual display interface. In the list, terminal names representing different mobile terminals can be observed, and the user can realize it by eye gaze or virtual gestures. choose. Furthermore, the virtual scene position of the mobile phone in the virtual scene can be obtained according to the relative position of the mobile phone in the image. By comparing the virtual scene location with the location information of the network connection request, a network connection request matching the location information and the virtual scene location can be obtained, and the network connection request is the network connection request sent by the mobile phone known to the user.

参阅图3所示,在本发明提出的第二实施例的基础上,提出本发明的第三实施例,图像包含目标终端;步骤S230之前还包括:Referring to FIG. 3 , on the basis of the second embodiment proposed by the present invention, a third embodiment of the present invention is proposed. The image includes the target terminal; before step S230, it further includes:

步骤S240,将图像渲染至头戴显示设备的虚拟场景中。Step S240, rendering the image into the virtual scene of the head-mounted display device.

通过景深摄像头,获取包括目标终端的图像,图像包括若干特征点,通过这些特征点,能够获取到目标终端的图像。头戴显示设备内设置有显示屏幕,在显示屏幕上显示虚拟场景。景深摄像头能够拍摄头戴显示设备外部的真实图像,头戴显示设备将真实图像渲染至虚拟场景中,如此,用户在虚拟场景中,能够直观的观察到目标终端,通过在虚拟场景中直接进行网络连接,不必摘下头戴显示设备,提高了网络连接的便利性。Through the depth-of-field camera, an image including the target terminal is acquired, and the image includes several feature points, through which the image of the target terminal can be acquired. A display screen is set in the head-mounted display device, and a virtual scene is displayed on the display screen. The depth-of-field camera can capture the real image outside the head-mounted display device, and the head-mounted display device renders the real image into the virtual scene. In this way, the user can intuitively observe the target terminal in the virtual scene. To connect, it is not necessary to take off the head-mounted display device, which improves the convenience of network connection.

参阅图4所示,在本发明提出的第一实施例的基础上,提出本发明的第四实施例,步骤S10之后还包括:Referring to FIG. 4 , on the basis of the first embodiment proposed by the present invention, a fourth embodiment of the present invention is proposed, and after step S10, it further includes:

步骤S50,生成网络连接请求列表;通常,需要打开头戴显示设备的热点,头戴显示设备获取到的网络连接请求可以包括多个,也就是说,头戴显示设备可以连接多个移动终端中的其中一个,将获取到网络连接请求按照顺序排列成表格。比如,可以按照接收请求的时间顺序排列,还可以按照距离远近顺序排列,通过这种排列成表格的形式提高选择的便利性。Step S50, generating a list of network connection requests; usually, the hotspot of the head-mounted display device needs to be opened, and the network connection requests obtained by the head-mounted display device may include multiple, that is, the head-mounted display device may be connected to multiple mobile terminals. One of the obtained network connection requests is arranged in a table in order. For example, the requests can be arranged in the chronological order of the received requests, and can also be arranged in the order of distance, and the convenience of selection can be improved by arranging in a table form.

步骤S60,将网络连接请求列表显示在头戴显示设备的虚拟场景中。Step S60, displaying the network connection request list in the virtual scene of the head-mounted display device.

用户在进行网络连接的时候,通常是佩戴着头戴显示设备的,通过将网络连接请求列表显示在头戴显示设备的虚拟场景中,用户不必摘下头戴显示设备就能进行网络连接的选择。且在虚拟场景中,将网络连接请求列表中每项选择设置为虚拟按键选择,用户在虚拟场景中,就能够完成对应网络的选择,进一步提高选择的便利性。When users connect to the network, they usually wear a head-mounted display device. By displaying the network connection request list in the virtual scene of the head-mounted display device, the user can choose a network connection without taking off the head-mounted display device. . Moreover, in the virtual scene, each selection in the network connection request list is set as a virtual button selection, and the user can complete the selection of the corresponding network in the virtual scene, which further improves the convenience of selection.

步骤S40之前还包括:Before step S40, it also includes:

步骤S70,选定其位置信息与目标位置匹配的网络连接请求。Step S70, selecting a network connection request whose location information matches the target location.

具体地,网络连接请求中包含位置信息,这些位置信息可以显示在虚拟场景中;Specifically, the network connection request includes location information, and the location information can be displayed in the virtual scene;

在网络连接请求列表中选定其位置信息与目标位置匹配的网络连接请求,具体地,在虚拟场景中直观的观察到目标终端的名称,选择相应名称,即在虚拟场景中选择与目标终端位置相同的移动终端发送的网络连接请求,确保网络连接选择的准确性。In the network connection request list, select a network connection request whose location information matches the target location. Specifically, visually observe the name of the target terminal in the virtual scene, and select the corresponding name, that is, select the location of the target terminal in the virtual scene. The network connection request sent by the same mobile terminal ensures the accuracy of network connection selection.

参阅图5所示,在本发明提出的第一实施例的基础上,提出本发明的第五实施例,步骤S10包括:Referring to FIG. 5 , on the basis of the first embodiment proposed by the present invention, a fifth embodiment of the present invention is proposed. Step S10 includes:

步骤S110,接收预定范围内至少一个移动终端发送的至少一个网络连接请求;头戴显示设备接收的网络连接请求不限于一个,可以是同时接收两个移动终端的网络连接请求。也可以接收一个移动终端的多个网络连接请求。Step S110: Receive at least one network connection request sent by at least one mobile terminal within a predetermined range; the network connection request received by the head-mounted display device is not limited to one, and may be simultaneously receiving network connection requests from two mobile terminals. It is also possible to receive multiple network connection requests from one mobile terminal.

步骤S120,对网络连接请求进行私钥解密,获取相应移动终端的位置信息。Step S120: Decrypt the private key for the network connection request to obtain the location information of the corresponding mobile terminal.

通常来说,为了提高安全性,移动终端发送的网络连接请求是经过加密处理的。具体地,对移动终端发送的网络连接请求进行私钥加密,对获取到的网络连接请求再进行私钥解密,也就是说,在移动终端和头戴显示设备中采用私钥密码是相同的,由此不是采用相同私钥密码加密或者解密的网络连接请求不能准确获取网络连接请求中的信息,进而提高网络连接的安全性。Generally speaking, in order to improve security, the network connection request sent by the mobile terminal is encrypted. Specifically, the private key encryption is performed on the network connection request sent by the mobile terminal, and the private key decryption is performed on the obtained network connection request, that is, the private key password is the same in the mobile terminal and the head-mounted display device, Therefore, the information in the network connection request cannot be accurately obtained by using the same private key password to encrypt or decrypt the network connection request, thereby improving the security of the network connection.

参阅图6所示,在本发明提出的第一实施例的基础上,提出本发明的第五实施例,步骤S30之后包括:Referring to FIG. 6 , on the basis of the first embodiment proposed by the present invention, a fifth embodiment of the present invention is proposed. After step S30, it includes:

步骤S80,移动目标终端在真实场景中的位置,使目标终端在虚拟场景中的位置产生变化。Step S80, moving the position of the target terminal in the real scene, so that the position of the target terminal in the virtual scene changes.

在选定目标终端连接网络后,还可以对目标终端进行进一步的检验。具体地,观察目标终端的图像在虚拟场景中是否移动,如果在虚拟场景中,目标终端的图像没有发生移动,可知,网络连接对象错误,如果,目标终端的图像在虚拟场景中移动,可以,网络连接对象准确,通过步骤S80能够进一步判断头戴显示设备连接的目标终端是否准确。After the selected target terminal is connected to the network, further inspection can be performed on the target terminal. Specifically, observe whether the image of the target terminal moves in the virtual scene. If the image of the target terminal does not move in the virtual scene, it can be seen that the network connection object is wrong. If the image of the target terminal moves in the virtual scene, yes, the network If the connection object is accurate, it can be further determined whether the target terminal connected to the head-mounted display device is accurate through step S80.

比如,一般情况下,在真实场景中,可能存在两位置相同的移动终端,或者是距离位置较近的移动终端,其中一个是目标终端,但是在虚拟场景中,由于显示精度的原因无法有效区分。通过移动真实场景中的目标终端,在虚拟场景中,目标终端也将出现位置移动的情况,由此,通过步骤S80判定,位置相同的移动终端,哪一个产生了位置的移动,由此移动终端中哪个是目标终端。For example, in general, in a real scene, there may be two mobile terminals with the same position, or a mobile terminal with a relatively close distance, one of which is the target terminal, but in a virtual scene, it cannot be effectively distinguished due to the display accuracy. . By moving the target terminal in the real scene, in the virtual scene, the position of the target terminal will also move. Therefore, through step S80, it is determined which mobile terminal with the same position has moved the position. which is the target terminal.

参阅图7所示,本发明还提供一种网络连接装置,网络连接装置用于头戴显示设备,头戴显示设备能够用来观看视频直播,或者,进行在线游戏等,这些均需要头戴显示设备连接网络才能够获取到相应的播放资源。而头戴显示设备连接网络的方式是通过先连接移动终端,再通过移动终端进行网络的连接的。所述移动终端包括智能手机和平板电脑。网络连接装置包括:接收模块10、获取模块20、确定模块30和连接模块40。Referring to FIG. 7 , the present invention also provides a network connection device. The network connection device is used for a head-mounted display device. The head-mounted display device can be used to watch live video, or play online games, etc., all of which require a head-mounted display. Only when the device is connected to the network can obtain the corresponding playback resources. The head-mounted display device is connected to the network by first connecting to the mobile terminal, and then connecting to the network through the mobile terminal. The mobile terminals include smart phones and tablet computers. The network connection device includes: a receiving module 10 , an acquiring module 20 , a determining module 30 and a connecting module 40 .

接收模块10,用于接收预定范围内至少一个移动终端发送的至少一个网络连接请求,网络连接请求包含相应移动终端的位置信息;具体地,移动终端发送网络连接请求时通常距离头戴显示设备较近。比如,用户在佩戴头戴显示设备时,移动终端是随身携带的,通过设定预定范围,能够保证头戴显示设备选择的网络连接对象在一定的距离内,减少连接对象的选择,使移动终端和头戴显示设备快速连接。预定范围大小可以依据用户的需要而做出调整。The receiving module 10 is configured to receive at least one network connection request sent by at least one mobile terminal within a predetermined range, where the network connection request includes the location information of the corresponding mobile terminal; specifically, when the mobile terminal sends the network connection request, it is usually a distance from the head-mounted display device. close. For example, when the user wears the head-mounted display device, the mobile terminal is carried with him. By setting the predetermined range, the network connection object selected by the head-mounted display device can be guaranteed to be within a certain distance, and the selection of connection objects can be reduced. Quickly connect to your headset. The predetermined range size can be adjusted according to the user's needs.

另外,头戴显示设备接收的网络连接请求不限于一个,可以是同时接收两个移动终端的网络连接请求。其中,网络连接请求包含相应移动终端的位置信息,通过位置信息能够确定移动终端的位置,便于,以此确定移动终端的位置是否就是目标终端的位置。In addition, the network connection request received by the head-mounted display device is not limited to one, and may be simultaneously receiving network connection requests of two mobile terminals. The network connection request includes the location information of the corresponding mobile terminal, and the location of the mobile terminal can be determined through the location information, so that it is convenient to determine whether the location of the mobile terminal is the location of the target terminal.

获取模块20,用于获取目标终端的目标位置;通常来说,头戴显示设备在连接网络的过程中,是通过指定的移动终端完成的,也就是说,头戴显示设备连接的网络对象不是任意的。例如,在进行网络连接时,头戴显示设备连接的是用户自身携带的移动终端,避免与其它移动终端连接,造成连接安全隐患。一般不同的移动终端距离头戴显示设备的距离也不同,移动终端在发射信号的过程中,信号由于受到大气等环境的干扰,会产生衰减。因此获取目标终端的目标位置,可以通过接收信号的强度计算目标终端和头戴显示设备的距离来确定。The obtaining module 20 is used to obtain the target location of the target terminal; generally speaking, the head-mounted display device is connected to the network through a designated mobile terminal, that is, the network object connected to the head-mounted display device is not Arbitrary. For example, when performing a network connection, the head-mounted display device is connected to a mobile terminal carried by the user, so as to avoid connection with other mobile terminals, resulting in potential connection security risks. Generally, different mobile terminals have different distances from the head-mounted display device. During the process of transmitting a signal by the mobile terminal, the signal will be attenuated due to the interference of the environment such as the atmosphere. Therefore, to obtain the target position of the target terminal, it can be determined by calculating the distance between the target terminal and the head-mounted display device through the strength of the received signal.

确定模块30,用于确定其位置信息与目标位置匹配的移动终端为目标终端;通过,将位置信息和目标位置进行匹配。例如,依据位置信息,计算头戴显示设备距离移动终端的距离。并依据目标位置,计算头戴显示设备和目标终端的距离,对比计算得到的两个距离值。如果距离值相同则移动终端是目标终端,如果距离值不同,则移动终端不是目标终端,控制头戴显示设备终端接收网络连接请求。The determining module 30 is configured to determine that the mobile terminal whose position information matches the target position is the target terminal; by matching the position information and the target position. For example, according to the location information, the distance between the head-mounted display device and the mobile terminal is calculated. And according to the target position, the distance between the head-mounted display device and the target terminal is calculated, and the two calculated distance values are compared. If the distance values are the same, the mobile terminal is the target terminal, and if the distance values are different, the mobile terminal is not the target terminal, and the head mounted display device terminal is controlled to receive the network connection request.

连接模块40,用于与目标终端建立网络连接。在确定移动终端就是目标终端后,头戴显示设备与目标终端建立网络连接。通过步骤S30的匹配对比验证,能够确定移动终端就目标终端,保证网络连接的对象是准确的,提高网络安全。The connection module 40 is used for establishing a network connection with the target terminal. After determining that the mobile terminal is the target terminal, the head-mounted display device establishes a network connection with the target terminal. Through the matching comparison and verification in step S30, it can be determined that the mobile terminal is the target terminal, ensuring that the object connected to the network is accurate, and improving network security.

本实施例提出的技术方案中,在预定的范围内接收移动终端发送的网络连接请求,其中,网络连接请求中包括相应发送网络连接请求移动终端的位置信息。获取目标终端的目标位置,将移动终端的位置信息和目标终端的目标位置匹配,以此确定目标终端,头戴显示设备和目标终端建立网络连接,通过位置信息的匹配,能够确定头戴显示设备连接的移动终端就是目标终端,由此,保证网络连接的准确性,避免网络连接引起的安全隐患。In the technical solution proposed in this embodiment, a network connection request sent by a mobile terminal is received within a predetermined range, wherein the network connection request includes location information of the mobile terminal corresponding to the network connection request sent. Obtain the target location of the target terminal, match the location information of the mobile terminal with the target location of the target terminal to determine the target terminal, and establish a network connection between the head-mounted display device and the target terminal. Through the matching of the location information, the head-mounted display device can be determined. The connected mobile terminal is the target terminal, thereby ensuring the accuracy of the network connection and avoiding potential security risks caused by the network connection.

进一步地,目标位置为虚拟场景位置,获取模块20还用于采用景深摄像头获取目标终端所处真实场景的图像,其中图像包含若干特征点;其中,景深摄像头可以设置在头戴显示设备中,也可以单独设置,景深摄像头能够获取到头戴显示设备的外部真实场景,并将外部真实场景渲染至头戴显示设备的虚拟场景中。目标终端是头戴显示设备的连接对象,且景深摄像头所拍摄真实场景的图像具有若干特征点,景深摄像头依据这些特征点能够获取到目标终端在真实场景中的相对位置。Further, the target position is a virtual scene position, and the acquisition module 20 is further configured to use a depth-of-field camera to acquire an image of the real scene where the target terminal is located, wherein the image includes several feature points; It can be set independently, and the depth camera can obtain the external real scene of the head-mounted display device, and render the external real scene to the virtual scene of the head-mounted display device. The target terminal is the connection object of the head-mounted display device, and the image of the real scene captured by the depth-of-field camera has several feature points, and the depth-of-field camera can obtain the relative position of the target terminal in the real scene according to these feature points.

获取模块20还用于根据若干特征点确定目标终端在真实场景的相对位置;通过景深摄像头能够准确的识别出目标终端所处真实场景中的若干特征点,并依据这些特征点确定得出目标终端与头戴显示设备的距离,由此确定目标终端在真实场景的相对位置。或者,构建三维坐标系,获取到目标终端的坐标点,由此确定得出目标终端在真实场景的相对头戴显示设备的位置。The acquisition module 20 is also used to determine the relative position of the target terminal in the real scene according to several feature points; the depth camera can accurately identify several feature points in the real scene where the target terminal is located, and determine the target terminal according to these feature points. The distance from the head-mounted display device, thereby determining the relative position of the target terminal in the real scene. Alternatively, a three-dimensional coordinate system is constructed, and coordinate points of the target terminal are obtained, thereby determining the position of the target terminal relative to the head-mounted display device in the real scene.

获取模块20还用于根据相对位置获取虚拟场景位置。将目标终端所处的真实场景的图像渲染至头戴显示设备构建的虚拟场景中。The obtaining module 20 is further configured to obtain the virtual scene position according to the relative position. The image of the real scene where the target terminal is located is rendered into the virtual scene constructed by the head-mounted display device.

目标终端在真实场景中的相对位置与其在虚拟场景中的相对位置是唯一对应的,根据相对位置可以唯一得到虚拟场景位置。The relative position of the target terminal in the real scene is uniquely corresponding to its relative position in the virtual scene, and the virtual scene position can be uniquely obtained according to the relative position.

通过判断虚拟场景中的目标终端位置和移动终端的位置是否匹配,如果匹配则移动终端就是目标终端,如果匹配,则头戴显示设备重新获取网络连接请求。并且再次匹配对比移动终端和目标终端的位置是否相同。By judging whether the location of the target terminal in the virtual scene matches the location of the mobile terminal, if they match, the mobile terminal is the target terminal, and if they match, the head-mounted display device obtains a network connection request again. And it is matched again to compare whether the positions of the mobile terminal and the target terminal are the same.

一些实施例中,需要与头戴显示设备建立网络连接的是用户随身携带的一个用户已知的手机,而头戴显示设备进行网络连接请求扫描后获取到两个或者以上网络连接请求(一个网络连接请求对应一个移动终端、且具有唯一位置信息),头戴显示设备无法确定哪个网络连接请求对应于用户已知的手机。In some embodiments, what needs to establish a network connection with the head-mounted display device is a mobile phone known to the user carried by the user, and the head-mounted display device obtains two or more network connection requests (one network connection request) after scanning the network connection request. The connection request corresponds to a mobile terminal and has unique location information), and the head-mounted display device cannot determine which network connection request corresponds to a mobile phone known to the user.

此时,头戴显示设备可以采用景深摄像头拍摄真实场景的图像,该真实场景的图像中可以仅包含用户已知的手机、而不包含其他移动终端。具体在头戴显示设备中,多个网络连接请求呈现列表的形式显示在虚拟显示界面中,在列表中,可以观察到代表不同移动终端的终端名称,用户可以通过眼球注视或者虚拟手势的方式实现选择。进而,可以根据该图像中的手机的相对位置获得该手机在虚拟场景中的虚拟场景位置。将虚拟场景位置与网络连接请求的位置信息进行比对,即可得到位置信息与虚拟场景位置匹配的网络连接请求,该网络连接请求即为用户已知的手机发送的网络连接请求。At this time, the head-mounted display device may use a depth camera to capture an image of the real scene, and the image of the real scene may only include the mobile phone known to the user, but not other mobile terminals. Specifically in the head-mounted display device, multiple network connection requests are presented in the form of a list and displayed on the virtual display interface. In the list, terminal names representing different mobile terminals can be observed, and the user can realize it by eye gaze or virtual gestures. choose. Furthermore, the virtual scene position of the mobile phone in the virtual scene can be obtained according to the relative position of the mobile phone in the image. By comparing the virtual scene location with the location information of the network connection request, a network connection request matching the location information with the virtual scene location can be obtained, and the network connection request is the network connection request sent by the mobile phone known to the user.

进一步地,图像包含目标终端,网络连接装置还包括:Further, the image includes the target terminal, and the network connection device further includes:

渲染模块50,用于将图像渲染至头戴显示设备的虚拟场景中。通过景深摄像头,获取包括目标终端的图像,图像包括若干特征点,通过这些特征点,能够准确的获取到目标终端的图像。头戴显示设备内设置有显示屏幕,在显示屏幕上显示虚拟场景。景深摄像头能够拍摄头戴显示设备外部的真实图像,头戴显示设备将真实图像渲染至虚拟场景中,如此,用户在虚拟场景中,能够直观的观察到目标终端,通过在虚拟场景中直接进行网络连接,不必摘下头戴显示设备,提高了网络连接的便利性。The rendering module 50 is used for rendering the image into the virtual scene of the head-mounted display device. Through the depth camera, an image including the target terminal is acquired, and the image includes several feature points, through which the image of the target terminal can be accurately acquired. A display screen is set in the head-mounted display device, and a virtual scene is displayed on the display screen. The depth-of-field camera can capture real images outside the head-mounted display device, and the head-mounted display device renders the real image into the virtual scene. In this way, the user can intuitively observe the target terminal in the virtual scene. To connect, it is not necessary to take off the head-mounted display device, which improves the convenience of network connection.

进一步地,网络连接装置还包括:Further, the network connection device also includes:

生成模块60,用于生成网络连接请求列表;通常,需要打开头戴显示设备的热点,头戴显示设备获取到的网络连接请求可以包括多个,也就是说,头戴显示设备可以连接多个移动终端中的其中一个,将获取到网络连接请求按照顺序排列成表格。比如,可以按照接收请求的时间顺序排列,还可以按照距离远近顺序排列,通过这种排列成表格的形式提高选择的便利性。The generating module 60 is used to generate a list of network connection requests; usually, the hotspot of the head-mounted display device needs to be turned on, and the network connection requests obtained by the head-mounted display device may include multiple, that is, the head-mounted display device may be connected to multiple One of the mobile terminals arranges the acquired network connection requests into a table in order. For example, the requests can be arranged in the chronological order of the received requests, and can also be arranged in the order of distance, and the convenience of selection can be improved by arranging in a table form.

列表模块70,用于将网络连接请求列表显示在头戴显示设备的虚拟场景中。The list module 70 is configured to display the network connection request list in the virtual scene of the head-mounted display device.

用户在进行网络连接的时候,通常是佩戴着头戴显示设备的,通过将网络连接请求列表显示在头戴显示设备的虚拟场景中,用户不必摘下头戴显示设备就能进行网络连接的选择。且在虚拟场景中,将网络连接请求列表中每项选择设置为虚拟按键选择,用户在虚拟场景中,就能够完成对应网络的选择,进一步提高选择的便利性。When users connect to the network, they usually wear a head-mounted display device. By displaying the network connection request list in the virtual scene of the head-mounted display device, the user can choose a network connection without taking off the head-mounted display device. . Moreover, in the virtual scene, each selection in the network connection request list is set as a virtual button selection, and the user can complete the selection of the corresponding network in the virtual scene, which further improves the convenience of selection.

选择模块80,用于选定其位置信息与目标位置匹配的网络连接请求。The selection module 80 is used for selecting a network connection request whose location information matches the target location.

具体地,网络连接请求中包含位置信息,这些位置信息可以显示在虚拟场景中Specifically, the network connection request contains location information, which can be displayed in the virtual scene

在网络连接请求列表中选定其位置信息与目标位置匹配的网络连接请求,具体地,在虚拟场景中直观的观察到目标终端的名称,选择相应名称,即在虚拟场景中选择与目标终端位置相同的移动终端发送的网络连接请求,确保网络连接选择的准确性。In the network connection request list, select a network connection request whose location information matches the target location. Specifically, visually observe the name of the target terminal in the virtual scene, and select the corresponding name, that is, select the location of the target terminal in the virtual scene. The network connection request sent by the same mobile terminal ensures the accuracy of network connection selection.

进一步地,接收模块10还用于接收预定范围内至少一个移动终端发送的至少一个网络连接请求;头戴显示设备接收的网络连接请求不限于一个,可以是同时接收两个移动终端的网络连接请求。也可以接收一个移动终端的多个网络连接请求。Further, the receiving module 10 is further configured to receive at least one network connection request sent by at least one mobile terminal within a predetermined range; the network connection request received by the head-mounted display device is not limited to one, and may be simultaneously receiving network connection requests from two mobile terminals. . It is also possible to receive multiple network connection requests from one mobile terminal.

接收模块10还用于对网络连接请求进行私钥解密,获取相应移动终端的位置信息。通常来说,为了提高安全性,移动终端发送的网络连接请求是经过加密处理的。具体地,对移动终端发送的网络连接请求进行私钥加密,对获取到的网络连接请求再进行私钥解密,也就是说,在移动终端和头戴显示设备中采用私钥密码是相同的,由此不是采用相同私钥密码加密或者解密的网络连接请求不能准确获取网络连接请求中的信息,进而提高网络连接的安全性。The receiving module 10 is further configured to decrypt the private key of the network connection request to obtain the location information of the corresponding mobile terminal. Generally speaking, in order to improve security, the network connection request sent by the mobile terminal is encrypted. Specifically, the private key encryption is performed on the network connection request sent by the mobile terminal, and the private key decryption is performed on the obtained network connection request, that is, the private key password is the same in the mobile terminal and the head-mounted display device, Therefore, the information in the network connection request cannot be accurately obtained by using the same private key password to encrypt or decrypt the network connection request, thereby improving the security of the network connection.

进一步地,确定模块30还用于移动所述目标终端在真实场景中的位置,使所述目标终端在虚拟场景中的位置产生变化。Further, the determining module 30 is further configured to move the position of the target terminal in the real scene, so that the position of the target terminal in the virtual scene changes.

在选定目标终端连接网络后,还可以对目标终端进行进一步的检验。具体地,观察目标终端的图像在虚拟场景中是否移动,如果在虚拟场景中,目标终端的图像没有发生移动,可知,网络连接对象错误,如果,目标终端的图像在虚拟场景中移动,可以,网络连接对象准确,通过确定模块30能够进一步判断头戴显示设备连接的目标终端是否准确。After the selected target terminal is connected to the network, further inspection can be performed on the target terminal. Specifically, observe whether the image of the target terminal moves in the virtual scene. If the image of the target terminal does not move in the virtual scene, it can be seen that the network connection object is wrong. If the image of the target terminal moves in the virtual scene, yes, the network If the connection object is accurate, the determination module 30 can further determine whether the target terminal connected to the head-mounted display device is accurate.

比如,一般情况下,在真实场景中,可能存在两位置相同的移动终端,或者是距离位置较近的移动终端,其中一个是目标终端,但是在虚拟场景中,由于显示精度的原因无法有效区分。通过移动真实场景中的目标终端,在虚拟场景中,目标终端也将出现位置移动的情况,由此,通过确定模块30判定,位置相同的移动终端,哪一个产生了位置的移动,由此移动终端中哪个是目标终端。For example, in general, in a real scene, there may be two mobile terminals with the same position, or a mobile terminal with a relatively close distance, one of which is the target terminal, but in a virtual scene, it cannot be effectively distinguished due to the display accuracy. . By moving the target terminal in the real scene, in the virtual scene, the position of the target terminal will also move. Therefore, the determination module 30 determines which mobile terminal with the same position has moved the position, thereby moving Which of the terminals is the target terminal.

本发明还提出一种可读存储介质,所述可读存储介质上存储网络连接程序,所述网络连接程序被处理器执行时实现如上文所述的网络连接方法的步骤。The present invention also provides a readable storage medium, where a network connection program is stored on the readable storage medium, and when the network connection program is executed by a processor, the steps of the network connection method described above are implemented.

本发明可读存储介质具体实施方式可以参照上述网络连接方法各实施例,在此不再赘述。For the specific implementation manner of the readable storage medium of the present invention, reference may be made to the foregoing embodiments of the network connection method, and details are not described herein again.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or system comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or system. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system that includes the element.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on such understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disc), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是在本发明的发明构思下,利用本发明说明书及附图内容所作的等效结构变换,或直接/间接运用在其他相关的技术领域均包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Under the inventive concept of the present invention, the equivalent structure transformation made by the contents of the description and drawings of the present invention, or directly/indirectly applied to other All relevant technical fields are included in the scope of patent protection of the present invention.

Claims (10)

1. A network connection method for a head-mounted display device, the network connection method comprising:
receiving at least one network connection request sent by at least one mobile terminal in a preset range, wherein the network connection request comprises the position information of the corresponding mobile terminal;
acquiring a target position of a target terminal through the head-mounted display equipment, wherein the target position is a virtual scene position;
determining a mobile terminal with position information matched with the target position as a target terminal;
and establishing network connection with the target terminal.
2. The method according to claim 1, wherein the obtaining, by the head-mounted display device, a target position of a target terminal, the target position being a virtual scene position, comprises:
acquiring an image of a real scene where the target terminal is located by adopting a depth-of-field camera, wherein the image comprises a plurality of feature points;
determining the relative position of the target terminal in a real scene according to the plurality of feature points;
and acquiring the position of the virtual scene according to the relative position.
3. The method of claim 2, wherein the image contains the target terminal; before the obtaining the virtual scene position according to the relative position, the method further includes:
rendering the image into a virtual scene of the head-mounted display device.
4. The method of claim 1,
after receiving at least one network connection request sent by at least one mobile terminal within a predetermined range, the method further includes:
generating a network connection request list;
displaying the network connection request list in a virtual scene of the head-mounted display device;
before establishing network connection with the target terminal, the method further comprises:
and selecting the network connection request with the position information matched with the target position.
5. The method according to claim 1, wherein the receiving at least one network connection request sent by at least one mobile terminal within a predetermined range, the network connection request including location information of the corresponding mobile terminal comprises:
receiving at least one network connection request sent by at least one mobile terminal in a preset range;
and carrying out private key decryption on the network connection request to acquire the position information of the corresponding mobile terminal.
6. The method according to claim 1, wherein the step of determining that the mobile terminal whose location information matches the target location is followed by the step of determining that the mobile terminal is a target terminal comprises:
and moving the position of the target terminal in the real scene to change the position of the target terminal in the virtual scene.
7. A network connection apparatus, wherein the network connection apparatus is used for a head-mounted display device, the network connection apparatus comprising:
the mobile terminal comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving at least one network connection request sent by at least one mobile terminal in a preset range, and the network connection request comprises the position information of the corresponding mobile terminal;
the acquisition module is used for acquiring a target position of a target terminal through the head-mounted display equipment, wherein the target position is a virtual scene position;
the determining module is used for determining that the mobile terminal of which the position information is matched with the target position is a target terminal;
and the connection module is used for establishing network connection with the target terminal.
8. The network connection apparatus of claim 7, wherein the obtaining module is further configured to,
acquiring an image of a real scene where the target terminal is located by adopting a depth-of-field camera, wherein the image comprises a plurality of characteristic points;
determining the relative position of the target terminal in a real scene according to the plurality of feature points;
and acquiring the position of the virtual scene according to the relative position.
9. The network connection device of claim 8, wherein the image contains the target terminal, the network connection device further comprising:
a rendering module to render the image into a virtual scene of the head-mounted display device.
10. A readable storage medium, on which a network connection program is stored, which when executed by a processor implements the steps of the network connection method according to any one of claims 1 to 6.
CN201911424452.1A 2019-12-31 2019-12-31 Network connection method, network connection device and readable storage medium Active CN111163174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911424452.1A CN111163174B (en) 2019-12-31 2019-12-31 Network connection method, network connection device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911424452.1A CN111163174B (en) 2019-12-31 2019-12-31 Network connection method, network connection device and readable storage medium

Publications (2)

Publication Number Publication Date
CN111163174A CN111163174A (en) 2020-05-15
CN111163174B true CN111163174B (en) 2022-07-22

Family

ID=70560772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911424452.1A Active CN111163174B (en) 2019-12-31 2019-12-31 Network connection method, network connection device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111163174B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569006A (en) * 2018-06-05 2019-12-13 广东虚拟现实科技有限公司 Display method, device, terminal device and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101527993B1 (en) * 2008-04-05 2015-06-10 소우셜 커뮤니케이션즈 컴퍼니 Shared virtual area communication environment based apparatus and methods
US10062208B2 (en) * 2015-04-09 2018-08-28 Cinemoi North America, LLC Systems and methods to provide interactive virtual environments
CN105652442A (en) * 2015-12-31 2016-06-08 北京小鸟看看科技有限公司 Head-mounted display equipment and interaction method for head-mounted display equipment and intelligent terminal
US20170206708A1 (en) * 2016-01-19 2017-07-20 Immersv, Inc. Generating a virtual reality environment for displaying content
US10348725B2 (en) * 2017-01-10 2019-07-09 International Business Machines Corporatino Method of instant sharing invoked from wearable devices
KR102079395B1 (en) * 2018-05-24 2020-02-19 시크릿타운 주식회사 Method for providing augmented reality contents based on location
CN110337098B (en) * 2019-07-05 2023-04-07 视联动力信息技术股份有限公司 Method and device for establishing communication connection

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569006A (en) * 2018-06-05 2019-12-13 广东虚拟现实科技有限公司 Display method, device, terminal device and storage medium

Also Published As

Publication number Publication date
CN111163174A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN111179435B (en) Augmented reality processing method, device, system, storage medium and electronic equipment
EP3237991B1 (en) Communication system comprising head wearable devices
US9195302B2 (en) Image processing system, image processing apparatus, image processing method, and program
JP6200483B2 (en) Image processing system, image processing method, and image processing program
JP2020507136A (en) VR object synthesizing method, apparatus, program, and recording medium
CN110573225A (en) Intuitive augmented reality collaboration on visual data
JP6560740B2 (en) Method, apparatus, program, and recording medium for testing virtual reality head mounted display device software
KR20150043373A (en) Sharing content with nearby devices
US20160379591A1 (en) Information processing apparatus, control method, and storage medium
WO2015058623A1 (en) Multimedia data sharing method and system, and electronic device
CN105681542A (en) Information processing method and system and terminal
US20180144546A1 (en) Method, device and terminal for processing live shows
WO2022021631A1 (en) Interaction control method, terminal device, and storage medium
JP2017120650A (en) Information processing system, control method thereof, program, information processor, control method thereof, and program
US10147240B2 (en) Product image processing method, and apparatus and system thereof
JP6524706B2 (en) Display control method, display control program, and information processing apparatus
WO2025050809A1 (en) Calibration method for virtual camera, related apparatus, device, and storage medium
CN105898432A (en) Video playing method, apparatus and system
US8949934B2 (en) Communication device, communication method, and program
CN110070617B (en) Data synchronization method, device and hardware device
CN111163174B (en) Network connection method, network connection device and readable storage medium
JP6498823B1 (en) Information processing method, information processing apparatus, and program
US11128623B2 (en) Service providing system, service delivery system, service providing method, and non-transitory recording medium
US11076010B2 (en) Service providing system, service delivery system, service providing method, and non-transitory recording medium
JP7225016B2 (en) AR Spatial Image Projection System, AR Spatial Image Projection Method, and User Terminal

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
TA01 Transfer of patent application right

Effective date of registration: 20201012

Address after: 261031, north of Jade East Street, Dongming Road, Weifang hi tech Zone, Shandong province (GoerTek electronic office building, Room 502)

Applicant after: GoerTek Optical Technology Co.,Ltd.

Address before: 261031 Dongfang Road, Weifang high tech Industrial Development Zone, Shandong, China, No. 268

Applicant before: GOERTEK Inc.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221221

Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong

Patentee 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)

Patentee before: GoerTek Optical Technology Co.,Ltd.