[go: up one dir, main page]

CN111163174A - 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
CN111163174A
CN111163174A CN201911424452.1A CN201911424452A CN111163174A CN 111163174 A CN111163174 A CN 111163174A CN 201911424452 A CN201911424452 A CN 201911424452A CN 111163174 A CN111163174 A CN 111163174A
Authority
CN
China
Prior art keywords
network connection
target
target terminal
mobile 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.)
Granted
Application number
CN201911424452.1A
Other languages
Chinese (zh)
Other versions
CN111163174B (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 Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Inc filed Critical Goertek Inc
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

本发明公开了一种网络连接方法、网络连接装置和可读存储介质,所述网络连接方法用于头戴显示设备,所述网络连接方法包括:接收预定范围内至少一个移动终端发送的至少一个网络连接请求,所述网络连接请求包含相应移动终端的位置信息;获取目标终端的目标位置;确定其位置信息与所述目标位置匹配的移动终端为目标终端;与所述目标终端建立网络连接。本发明技术方案能够保证网络连接的准确性,避免安全隐患。

Figure 201911424452

The invention discloses a network connection method, a network connection device and a readable storage medium. The network connection method is used for a head-mounted display device, and the network connection method includes: receiving at least one data sent by at least one mobile terminal within a predetermined range. A network connection request, the network connection request includes the location information of the corresponding mobile terminal; obtains the target location of the target terminal; determines the mobile terminal whose location information matches the target location as the target terminal; establishes a network connection with the target terminal. The technical scheme of the present invention can ensure the accuracy of network connection and avoid potential safety hazards.

Figure 201911424452

Description

Network connection method, network connection device and readable storage medium
Technical Field
The present invention relates to the field of earphone technologies, and in particular, to a network connection method, a network connection device, and a readable storage medium.
Background
The head-mounted display device is a wearable virtual display product. The current technical principles of head-mounted display devices are roughly divided into Virtual Reality (VR) display and Augmented Reality (AR) display.
As the application of the head-mounted display device product is more and more extensive, the application scenes are more and more. The head-mounted display device often needs to be connected with a network, and in the current network connection mode, a user is difficult to determine whether a connected network object is accurate, and if the connected network object makes mistakes, network safety hazards are easily generated.
The above is only for the purpose of assisting understanding of the technical solutions of the present application, and does not represent an admission that the above is prior art.
Disclosure of Invention
Therefore, in order to solve the problems that it is difficult to determine whether a connected network object is accurate and potential network safety hazards are easily generated, it is necessary to provide a network connection method, a network connection device and a readable storage medium, which can ensure the accuracy of network connection and avoid potential safety hazards.
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 position information of the corresponding mobile terminal;
acquiring a target position of a target terminal;
determining a mobile terminal with position information matched with the target position as a target terminal;
and establishing network connection with the target terminal.
Optionally, the acquiring the target position of the target terminal, where the target position is a virtual scene position, includes:
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.
Optionally, the image contains the target terminal; before the obtaining the position of the virtual scene according to the relative position, the method further includes:
rendering the image 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:
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.
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, includes:
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.
Optionally, after the step of determining that the mobile terminal whose location information matches the target location is the target terminal, the method includes:
and moving the position of the target terminal in the real scene to change the position of the target terminal in the virtual scene.
Further, in order to achieve the above object, the present invention also provides a network connection apparatus 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 position information of the corresponding mobile terminal;
the acquisition module is used for acquiring the target position of the target terminal;
the determining module is used for determining that the mobile terminal with the position information matched with the target position is the target terminal;
and the connection module is used for establishing network connection with the target terminal.
Optionally, the target position is a virtual scene position, and the obtaining module is further configured to obtain an image of a real scene where the target terminal is located by using a depth-of-field camera, where the image includes 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.
Optionally, the image includes the target terminal, and the network connection device further includes:
a rendering module to render the image into a virtual scene of the head-mounted display device.
Furthermore, to achieve the above object, the present invention also proposes 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 as described above.
In the technical scheme provided by the invention, a network connection request sent by a mobile terminal is received in a preset range, wherein the network connection request comprises the position information of the mobile terminal which correspondingly sends the network connection request. The method comprises the steps of obtaining a target position of a target terminal, matching position information of the mobile terminal with the target position of the target terminal to determine the target terminal, establishing network connection between the head-mounted display device and the target terminal, and determining that the mobile terminal connected with the head-mounted display device is the target terminal through matching of the position information, so that accuracy of network connection is guaranteed, and potential safety hazards caused by network connection are avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a first embodiment of a network connection method according to the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a network connection method according to the present invention;
FIG. 3 is a flowchart illustrating a network connection method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a fourth embodiment of a network connection method according to the present invention;
FIG. 5 is a flowchart illustrating a fifth embodiment of a network connection method according to the present invention;
FIG. 6 is a flowchart illustrating a sixth embodiment of a network connection method according to the present invention;
fig. 7 is a schematic structural diagram of a network connection device according to the present invention.
The reference numbers illustrate:
reference numerals Name (R) Reference numerals Name (R)
10 Receiving module 50 Rendering module
20 Acquisition module 60 Generation module
30 Determining module 70 List module
40 Connection module 80 Selection module
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In addition, the technical solutions in the embodiments of the present invention may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should not be considered to exist, and is not within the protection scope of the present invention.
Referring to fig. 1, a first embodiment of the present invention provides a network connection method, where 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 an online game, and the live video and the online game all need to be connected to a network by the head-mounted display device to be able to acquire corresponding play resources. In the related art, it is difficult for the head-mounted display device to directly connect to a network, and the current network connection method is to use a mobile terminal as a connection object and then connect to the network through the mobile terminal. The mobile terminal comprises a smart phone and a tablet computer. The network connection method comprises the following steps:
step S10, 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.
In particular, the mobile terminal is typically closer to the head mounted display device when sending the network connection request. For example, when a user wears the head-mounted display device, the mobile terminal is carried about, and by setting a predetermined range, a network connection object selected by the head-mounted display device can be ensured to be within a certain distance, so that the selection of the connection object is reduced, and the mobile terminal and the head-mounted display device are quickly connected. The size of the predetermined range may be adjusted according to the needs of the user.
In addition, the network connection request received by the head mounted display device is not limited to one, and may be a network connection request that simultaneously receives two mobile terminals. The network connection request comprises position information of a corresponding mobile terminal, and the position of the mobile terminal can be determined through the position information, so that whether the position of the mobile terminal is the position of the target terminal or not can be determined.
Step S20, a target position of the target terminal is acquired.
Generally speaking, the process of connecting the head-mounted display device to the network is completed by a designated mobile terminal, that is, the network object to which the head-mounted display device is connected is not arbitrary. For example, when network connection is performed, the head-mounted display device is connected with a mobile terminal carried by a user, so that connection with other mobile terminals is avoided, and potential connection safety hazards are caused. Generally, the distances from different mobile terminals to the head-mounted display device are different, and in the process of transmitting signals by the mobile terminals, the signals are attenuated due to interference of environments such as the atmosphere. Therefore, the target position of the target terminal is obtained, and the distance between the target terminal and the head-mounted display device can be calculated through the strength of the received signal to determine the target position.
And step S30, determining the mobile terminal with the position information matched with the target position as the target terminal.
By matching the position information with the target position. For example, the distance of the head-mounted display device from the mobile terminal is calculated according to the position information. And according to the target position, calculating the distance between the head-mounted display device and the target terminal, and comparing the two distance values obtained by calculation. If the distance values are the same, the mobile terminal is a target terminal, and if the distance values are different, the mobile terminal is not the target terminal, and the head-mounted display equipment terminal is controlled to receive the network connection request.
Step S40, establishing a network connection with the target terminal.
After the mobile terminal is determined to be the target terminal, the head-mounted display device establishes network connection with the target terminal. Through the matching comparison and verification in the step S30, the mobile terminal can be determined to be the target terminal, the network connection object is ensured to be accurate, and the network safety is improved.
In the technical solution provided in this embodiment, a network connection request sent by a mobile terminal is received within a predetermined range, where the network connection request includes location information of the mobile terminal that correspondingly sends the network connection request. The method comprises the steps of obtaining a target position of a target terminal, matching position information of the mobile terminal with the target position of the target terminal to determine the target terminal, establishing network connection between the head-mounted display device and the target terminal, and determining that the mobile terminal connected with the head-mounted display device is the target terminal through matching of the position information, so that accuracy of network connection is guaranteed, and potential safety hazards caused by network connection are avoided.
Referring to fig. 2, based on the first embodiment of the present invention, a second embodiment of the present invention is proposed, where the target position is a virtual scene position, and step S20 includes:
step S210, a depth of field camera is adopted to obtain an image of a real scene where the target terminal is located, wherein the image comprises a plurality of feature points. The depth-of-field camera can be arranged in the head-mounted display device or independently, and can acquire an external real scene of the head-mounted display device and render the external real scene into a virtual scene of the head-mounted display device. The target terminal is a connection object of the head-mounted display device, an image of a real scene shot by the depth-of-field camera has a plurality of characteristic points, and the depth-of-field camera can acquire the relative position of the target terminal in the real scene according to the characteristic points.
And step S220, determining the relative position of the target terminal in the real scene according to the plurality of feature points. The depth of field camera can accurately identify a plurality of characteristic points in a real scene where the target terminal is located, and the target terminal is located at the relative position of the real scene according to the characteristic points. Or a three-dimensional coordinate system is constructed, and the coordinate point of the target terminal is obtained, so that the position of the target terminal in the real scene relative to the head-mounted display device is determined and obtained.
And step S230, acquiring the position of the virtual scene according to the relative position.
Rendering the image of the real scene where the target terminal is located into a virtual scene of the head-mounted display device, and rendering the position information of the mobile terminal into the virtual scene.
The relative position of the target terminal in the real scene and the relative position of the target terminal in the virtual scene are uniquely corresponding, and the virtual scene position can be uniquely obtained according to the relative position.
Judging whether the position of a target terminal in the virtual scene is matched with the position of the mobile terminal, wherein if the position of the target terminal in the virtual scene is matched with the position of the mobile terminal, the mobile terminal is the target terminal; if not, the head mounted display device retrieves the network connection request. And matching again compares 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, the user carries with him, and the head-mounted display device scans the network connection request and obtains two or more network connection requests (one network connection request corresponds to one mobile terminal and has unique location information), and the head-mounted display device cannot determine which network connection request corresponds to the mobile phone known to the user.
At this time, the head-mounted display device may capture an image of a real scene with the depth-of-field camera, where the image of the real scene may only include a mobile phone known by the user and not include other mobile terminals. Specifically, in the head-mounted display device, a plurality of network connection requests are displayed in a virtual display interface in a form of a list, in the list, terminal names representing different mobile terminals can be observed, and a user can select the terminal names in a mode of eyeball watching or virtual gestures. 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. And comparing the virtual scene position with the position information of the network connection request to obtain a network connection request with the position information matched with the virtual scene position, wherein the network connection request is a network connection request sent by a mobile phone known by a user.
Referring to fig. 3, based on the second embodiment of the present invention, a third embodiment of the present invention is proposed, in which an image includes a target terminal; step S230 is preceded by:
step S240, rendering the image into a virtual scene of the head-mounted display device.
The method comprises the steps of obtaining an image comprising a target terminal through a depth-of-field camera, wherein the image comprises a plurality of characteristic points, and obtaining the image of the target terminal through the characteristic points. A display screen is arranged in the head-mounted display device, and a virtual scene is displayed on the display screen. The depth of field camera can shoot the external real image of the head-mounted display device, and the head-mounted display device renders the real image to the virtual scene, so that a user can visually observe a target terminal in the virtual scene, network connection is directly performed in the virtual scene, the head-mounted display device does not need to be taken off, and convenience of network connection is improved.
Referring to fig. 4, based on the first embodiment of the present invention, a fourth embodiment of the present invention is proposed, and after step S10, the method further includes:
step S50, generating a network connection request list; generally, a hotspot of the head-mounted display device needs to be opened, and the network connection request acquired by the head-mounted display device may include a plurality of network connection requests, that is, the head-mounted display device may be connected to one of a plurality of mobile terminals, and the acquired network connection requests are arranged in a table in sequence. For example, the requests may be arranged in chronological order or in distance order, and the convenience of selection may be improved by the arrangement in a table form.
Step S60, the network connection request list is displayed in the virtual scene of the head mounted display device.
When a user connects to a network, the user usually wears a head-mounted display device, and the network connection request list is displayed in a virtual scene of the head-mounted display device, so that the user can select the network connection without taking off the head-mounted display device. In the virtual scene, each item in the network connection request list is set as a virtual key selection, so that a user can complete the selection of a corresponding network in the virtual scene, and the convenience of selection is further improved.
Step S40 is preceded by:
in step S70, a network connection request whose location information matches the target location is selected.
Specifically, the network connection request includes location information, and the location information can be displayed in a virtual scene;
the network connection request with the position information matched with the target position is selected in the network connection request list, specifically, the name of the target terminal is visually observed in the virtual scene, and the corresponding name is selected, namely, the network connection request sent by the mobile terminal with the same position as the target terminal is selected in the virtual scene, so that the accuracy of network connection selection is ensured.
Referring to fig. 5, a fifth embodiment of the present invention is proposed on the basis of the first embodiment proposed by the present invention, and step S10 includes:
step S110, receiving at least one network connection request sent by at least one mobile terminal in a predetermined range; the network connection request received by the head mounted display device is not limited to one, and may be a network connection request that receives two mobile terminals at the same time. Multiple network connection requests for a mobile terminal may also be received.
And step S120, carrying out private key decryption on the network connection request to acquire the position information of the corresponding mobile terminal.
Generally, in order to improve security, a network connection request transmitted by a mobile terminal is encrypted. Specifically, the private key encryption is performed on the network connection request sent by the mobile terminal, and then the private key decryption is performed on the obtained network connection request, that is, the private key passwords used in the mobile terminal and the head-mounted display device are the same, so that the network connection request which is not encrypted or decrypted by the same private key password cannot accurately obtain the information in the network connection request, and further, the security of network connection is improved.
Referring to fig. 6, a fifth embodiment of the present invention is proposed on the basis of the first embodiment of the present invention, and step S30 is followed by:
and step S80, moving the position of the target terminal in the real scene to change the position of the target terminal in the virtual scene.
After the selected target terminal is connected with the network, the target terminal can be further checked. Specifically, it is observed whether the image of the target terminal moves in the virtual scene, and if the image of the target terminal does not move in the virtual scene, it is known that the network connection object is wrong, and if the image of the target terminal moves in the virtual scene, it may be that the network connection object is accurate, and it can be further determined whether the target terminal connected to the head-mounted display device is accurate through step S80.
For example, in a real scene, there may be two mobile terminals with the same position, or a mobile terminal with a short distance, one of which is a target terminal, but in a virtual scene, it cannot be distinguished effectively due to the display accuracy. By moving the target terminal in the real scene, the target terminal will also have a position movement in the virtual scene, and thus it is determined in step S80 which of the mobile terminals having the same position has caused the position movement, and which of the mobile terminals is the target terminal.
Referring to fig. 7, the present invention further provides a network connection device, where the network connection device 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, which all need the head-mounted display device to connect to a network to obtain corresponding playing resources. The head-mounted display device is connected with the network by first connecting the mobile terminal and then connecting the network through the mobile terminal. The mobile terminal comprises a smart phone and a tablet computer. The network connection device includes: the device comprises a receiving module 10, an obtaining module 20, a determining module 30 and a connecting module 40.
A receiving module 10, 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; in particular, the mobile terminal is typically closer to the head mounted display device when sending the network connection request. For example, when a user wears the head-mounted display device, the mobile terminal is carried about, and by setting a predetermined range, a network connection object selected by the head-mounted display device can be ensured to be within a certain distance, so that the selection of the connection object is reduced, and the mobile terminal and the head-mounted display device are quickly connected. The size of the predetermined range may be adjusted according to the needs of the user.
In addition, the network connection request received by the head mounted display device is not limited to one, and may be a network connection request that simultaneously receives two mobile terminals. The network connection request comprises position information of a corresponding mobile terminal, and the position of the mobile terminal can be determined through the position information, so that whether the position of the mobile terminal is the position of the target terminal or not can be determined.
An obtaining module 20, configured to obtain a target position of a target terminal; generally speaking, the process of connecting the head-mounted display device to the network is completed by a designated mobile terminal, that is, the network object to which the head-mounted display device is connected is not arbitrary. For example, when network connection is performed, the head-mounted display device is connected with a mobile terminal carried by a user, so that connection with other mobile terminals is avoided, and potential connection safety hazards are caused. Generally, the distances from different mobile terminals to the head-mounted display device are different, and in the process of transmitting signals by the mobile terminals, the signals are attenuated due to interference of environments such as the atmosphere. Therefore, the target position of the target terminal is obtained, and the distance between the target terminal and the head-mounted display device can be calculated through the strength of the received signal to determine the target position.
A determining module 30, configured to determine that a mobile terminal whose location information matches a target location is a target terminal; by matching the position information with the target position. For example, the distance of the head-mounted display device from the mobile terminal is calculated according to the position information. And according to the target position, calculating the distance between the head-mounted display device and the target terminal, and comparing the two distance values obtained by calculation. If the distance values are the same, the mobile terminal is a target terminal, and if the distance values are different, the mobile terminal is not the target terminal, and the head-mounted display equipment terminal is controlled to receive the network connection request.
And the connection module 40 is used for establishing network connection with the target terminal. After the mobile terminal is determined to be the target terminal, the head-mounted display device establishes network connection with the target terminal. Through the matching comparison and verification in the step S30, the mobile terminal can be determined to be the target terminal, the network connection object is ensured to be accurate, and the network safety is improved.
In the technical solution provided in this embodiment, a network connection request sent by a mobile terminal is received within a predetermined range, where the network connection request includes location information of the mobile terminal that correspondingly sends the network connection request. The method comprises the steps of obtaining a target position of a target terminal, matching position information of the mobile terminal with the target position of the target terminal to determine the target terminal, establishing network connection between the head-mounted display device and the target terminal, and determining that the mobile terminal connected with the head-mounted display device is the target terminal through matching of the position information, so that accuracy of network connection is guaranteed, and potential safety hazards caused by network connection are avoided.
Further, the target position is a virtual scene position, and the obtaining module 20 is further configured to obtain an image of a real scene where the target terminal is located by using a depth-of-field camera, where the image includes a plurality of feature points; the depth-of-field camera can be arranged in the head-mounted display device or independently, and can acquire an external real scene of the head-mounted display device and render the external real scene into a virtual scene of the head-mounted display device. The target terminal is a connection object of the head-mounted display device, an image of a real scene shot by the depth-of-field camera has a plurality of characteristic points, and the depth-of-field camera can acquire the relative position of the target terminal in the real scene according to the characteristic points.
The obtaining module 20 is further configured to determine a relative position of the target terminal in the real scene according to the plurality of feature points; the depth-of-field camera can accurately identify a plurality of characteristic points in a real scene where the target terminal is located, and the distance between the target terminal and the head-mounted display device is determined according to the characteristic points, so that the relative position of the target terminal in the real scene is determined. Or a three-dimensional coordinate system is constructed, and the coordinate point of the target terminal is obtained, so that the position of the target terminal in the real scene relative to the head-mounted display device is determined and obtained.
The obtaining module 20 is further configured to obtain a virtual scene position according to the relative position. And rendering an image of a real scene where the target terminal is located into a virtual scene constructed by the head-mounted display device.
The relative position of the target terminal in the real scene and the relative position of the target terminal in the virtual scene are uniquely corresponding, and the virtual scene position can be uniquely obtained according to the relative position.
By judging whether the position of the target terminal in the virtual scene is matched with the position of the mobile terminal, if so, the mobile terminal is the target terminal, and if so, the head-mounted display equipment acquires the network connection request again. And matching again compares 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, the user carries with him, and the head-mounted display device scans the network connection request and obtains two or more network connection requests (one network connection request corresponds to one mobile terminal and has unique location information), and the head-mounted display device cannot determine which network connection request corresponds to the mobile phone known to the user.
At this time, the head-mounted display device may capture an image of a real scene with the depth-of-field camera, where the image of the real scene may only include a mobile phone known by the user and not include other mobile terminals. Specifically, in the head-mounted display device, a plurality of network connection requests are displayed in a virtual display interface in a form of a list, in the list, terminal names representing different mobile terminals can be observed, and a user can select the terminal names in a mode of eyeball watching or virtual gestures. 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. And comparing the virtual scene position with the position information of the network connection request to obtain a network connection request with the position information matched with the virtual scene position, wherein the network connection request is a network connection request sent by a mobile phone known by a user.
Further, the image includes a target terminal, and the network connection device further includes:
and a rendering module 50, configured to render the image into a virtual scene of the head-mounted display device. The method comprises the steps of obtaining an image comprising a target terminal through a depth-of-field camera, wherein the image comprises a plurality of characteristic points, and obtaining the image of the target terminal accurately through the characteristic points. A display screen is arranged in the head-mounted display device, and a virtual scene is displayed on the display screen. The depth of field camera can shoot the external real image of the head-mounted display device, and the head-mounted display device renders the real image to the virtual scene, so that a user can visually observe a target terminal in the virtual scene, network connection is directly performed in the virtual scene, the head-mounted display device does not need to be taken off, and convenience of network connection is improved.
Further, the network connection device further includes:
a generating module 60, configured to generate a network connection request list; generally, a hotspot of the head-mounted display device needs to be opened, and the network connection request acquired by the head-mounted display device may include a plurality of network connection requests, that is, the head-mounted display device may be connected to one of a plurality of mobile terminals, and the acquired network connection requests are arranged in a table in sequence. For example, the requests may be arranged in chronological order or in distance order, and the convenience of selection may be improved by the arrangement in a table form.
A list module 70, configured to display the network connection request list in a virtual scene of the head-mounted display device.
When a user connects to a network, the user usually wears a head-mounted display device, and the network connection request list is displayed in a virtual scene of the head-mounted display device, so that the user can select the network connection without taking off the head-mounted display device. In the virtual scene, each item in the network connection request list is set as a virtual key selection, so that a user can complete the selection of a corresponding network in the virtual scene, and the convenience of selection is further improved.
A selecting module 80 for selecting a network connection request whose location information matches the target location.
Specifically, the network connection request includes position information, and the position information can be displayed in a virtual scene
The network connection request with the position information matched with the target position is selected in the network connection request list, specifically, the name of the target terminal is visually observed in the virtual scene, and the corresponding name is selected, namely, the network connection request sent by the mobile terminal with the same position as the target terminal is selected in the virtual scene, so that the accuracy of network connection selection is ensured.
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 a network connection request that receives two mobile terminals at the same time. Multiple network connection requests for a mobile terminal may also be received.
The receiving module 10 is further configured to perform private key decryption on the network connection request, and obtain location information of the corresponding mobile terminal. Generally, in order to improve security, a network connection request transmitted by a mobile terminal is encrypted. Specifically, the private key encryption is performed on the network connection request sent by the mobile terminal, and then the private key decryption is performed on the obtained network connection request, that is, the private key passwords used in the mobile terminal and the head-mounted display device are the same, so that the network connection request which is not encrypted or decrypted by the same private key password cannot accurately obtain the information in the network connection request, and further, the security of network connection is improved.
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.
After the selected target terminal is connected with the network, the target terminal can be further checked. Specifically, whether the image of the target terminal moves in the virtual scene is observed, if the image of the target terminal does not move in the virtual scene, it is known that the network connection object is wrong, and if the image of the target terminal moves in the virtual scene, the network connection object may be accurate, and it can be further determined whether the target terminal connected to the head-mounted display device is accurate through the determining module 30.
For example, in a real scene, there may be two mobile terminals with the same position, or a mobile terminal with a short distance, one of which is a target terminal, but in a virtual scene, it cannot be distinguished effectively due to the display accuracy. By moving the target terminal in the real scene, the target terminal will also have a situation of position movement in the virtual scene, whereby it is determined by the determination module 30 which of the mobile terminals having the same position has caused the movement of the position, and thus which of the mobile terminals is the target terminal.
The invention also proposes 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 as described above.
The detailed implementation of the readable storage medium of the present invention may refer to the embodiments of the network connection method, which are not described herein again.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1.一种网络连接方法,其特征在于,所述网络连接方法用于头戴显示设备,所述网络连接方法包括:1. A network connection method, wherein the network connection method is used for a head-mounted display device, and the network connection method comprises: 接收预定范围内至少一个移动终端发送的至少一个网络连接请求,所述网络连接请求包含相应移动终端的位置信息;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. 2.根据权利要求1所述的方法,其特征在于,所述目标位置为虚拟场景位置,所述获取目标终端的目标位置,包括:2. The method according to claim 1, wherein the target position is a virtual scene position, and the acquiring the target position of the target terminal comprises: 采用景深摄像头获取所述目标终端所处真实场景的图像,其中所述图像包含若干特征点;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. 3.根据权利要求2所述的方法,其特征在于,所述图像包含所述目标终端;所述根据所述相对位置获取所述虚拟场景位置前,所述方法还包括:3 . The method according to claim 2 , wherein the image includes the target terminal; before acquiring the virtual scene position according to the relative position, the method further comprises: 3 . 将所述图像渲染至所述头戴显示设备的虚拟场景中。The image is rendered into a virtual scene of the head mounted display device. 4.根据权利要求1所述的方法,其特征在于,4. The method of claim 1, wherein 所述接收预定范围内至少一个移动终端发送的至少一个网络连接请求后,所述方法还包括: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. 5.根据权利要求1所述的方法,其特征在于,所述接收预定范围内至少一个移动终端发送的至少一个网络连接请求,所述网络连接请求包含相应移动终端的位置信息,包括: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, wherein the network connection request includes location information of the corresponding mobile terminal, comprising: 接收预定范围内至少一个移动终端发送的至少一个网络连接请求;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. 6.根据权利要求1所述的方法,其特征在于,所述确定其位置信息与所述目标位置匹配的移动终端为目标终端的步骤之后,包括:6. The method according to claim 1, wherein after the step of determining that the mobile terminal whose position information matches the target position is the target terminal, the step comprises: 移动所述目标终端在真实场景中的位置,使所述目标终端在虚拟场景中的位置产生变化。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. 7.一种网络连接装置,其特征在于,所述网络连接装置用于头戴显示设备,所述网络连接装置包括:7. A network connection device, wherein the network connection device is used for a head-mounted display device, and the network connection device comprises: 接收模块,用于接收预定范围内至少一个移动终端发送的至少一个网络连接请求,所述网络连接请求包含相应移动终端的位置信息;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. 8.如权利要求7所述的网络连接装置,其特征在于,所述目标位置为虚拟场景位置,所述获取模块还用于,8. The network connection device according to claim 7, wherein 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; 根据所述若干特征点确定所述目标终端在真实场景的相对位置;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. 9.如权利要求8所述的网络连接装置,其特征在于,所述图像包含所述目标终端,所述网络连接装置还包括:9. The network connection device of claim 8, wherein the image includes the target terminal, the network connection device further comprising: 渲染模块,用于将所述图像渲染至所述头戴显示设备的虚拟场景中。A rendering module, configured to render the image into a virtual scene of the head-mounted display device. 10.一种可读存储介质,其特征在于,所述可读存储介质上存储网络连接程序,所述网络连接程序被处理器执行时实现如权利要求1至6中任一项所述的网络连接方法的步骤。10. A readable storage medium, wherein a network connection program is stored on the readable storage medium, and when the network connection program is executed by a processor, the network according to any one of claims 1 to 6 is implemented The steps of the connection method.
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 true CN111163174A (en) 2020-05-15
CN111163174B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114491337A (en) * 2021-12-30 2022-05-13 东软集团股份有限公司 Method, device, medium and device for processing cached data
CN115379588A (en) * 2022-08-24 2022-11-22 歌尔科技有限公司 Interactive method, device and medium for simultaneous interpretation

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090254843A1 (en) * 2008-04-05 2009-10-08 Social Communications Company Shared virtual area communication environment based apparatus and methods
CN105652442A (en) * 2015-12-31 2016-06-08 北京小鸟看看科技有限公司 Head-mounted display equipment and interaction method for head-mounted display equipment and intelligent terminal
US20160300387A1 (en) * 2015-04-09 2016-10-13 Cinemoi North America, LLC Systems and methods to provide interactive virtual environments
US20170206708A1 (en) * 2016-01-19 2017-07-20 Immersv, Inc. Generating a virtual reality environment for displaying content
US20180198783A1 (en) * 2017-01-10 2018-07-12 International Business Machines Corporation Method of instant sharing invoked from wearable devices
CN110337098A (en) * 2019-07-05 2019-10-15 视联动力信息技术股份有限公司 A kind of method for building up and device of communication connection
KR20190133909A (en) * 2018-05-24 2019-12-04 시크릿타운 주식회사 Method for providing augmented reality contents based on location
CN110569006A (en) * 2018-06-05 2019-12-13 广东虚拟现实科技有限公司 Display method, device, terminal device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090254843A1 (en) * 2008-04-05 2009-10-08 Social Communications Company Shared virtual area communication environment based apparatus and methods
US20160300387A1 (en) * 2015-04-09 2016-10-13 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
US20180198783A1 (en) * 2017-01-10 2018-07-12 International Business Machines Corporation Method of instant sharing invoked from wearable devices
KR20190133909A (en) * 2018-05-24 2019-12-04 시크릿타운 주식회사 Method for providing augmented reality contents based on location
CN110569006A (en) * 2018-06-05 2019-12-13 广东虚拟现实科技有限公司 Display method, device, terminal device and storage medium
CN110337098A (en) * 2019-07-05 2019-10-15 视联动力信息技术股份有限公司 A kind of method for building up and device of communication connection

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHANGJIAN CHI等: "Image Based Experiment Scene Builder for Virtual Educational Experiments", 《2011 INTERNATIONAL CONFERENCE ON VIRTUAL REALITY AND VISUALIZATION》 *
张凤军等: "虚拟现实的人机交互综述", 《中国科学:信息科学》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114491337A (en) * 2021-12-30 2022-05-13 东软集团股份有限公司 Method, device, medium and device for processing cached data
CN115379588A (en) * 2022-08-24 2022-11-22 歌尔科技有限公司 Interactive method, device and medium for simultaneous interpretation

Also Published As

Publication number Publication date
CN111163174B (en) 2022-07-22

Similar Documents

Publication Publication Date Title
US10003769B2 (en) Video telephony system, image display apparatus, driving method of image display apparatus, method for generating realistic image, and non-transitory computer readable recording medium
KR101292463B1 (en) Augmented reality system and method that share augmented reality service to remote
JP2020507136A (en) VR object synthesizing method, apparatus, program, and recording medium
KR101773885B1 (en) A method and server for providing augmented reality objects using image authentication
JP5067476B2 (en) 3D model creation system
CN102547121B (en) Imaging parameter acquisition apparatus and imaging parameter acquisition method
JP5377537B2 (en) Object display device, object display method, and object display program
JP2018536300A (en) Method, apparatus, program, and recording medium for testing virtual reality head mounted display device software
CN110800314B (en) Computer system, remote operation notification method, and recording medium
CN110569006B (en) Display method, display device, terminal equipment and storage medium
JP2016071900A (en) Information processing system and control method of the same, and program
JP2017033299A (en) Information processing apparatus, information processing system, control method thereof, and program
CN112039937A (en) A display method, position determination method and device
US20180144546A1 (en) Method, device and terminal for processing live shows
JP2016162079A (en) Display control method, display control program, and information processing apparatus
US20260003452A1 (en) Virtual camera calibration
US10147240B2 (en) Product image processing method, and apparatus and system thereof
US8949934B2 (en) Communication device, communication method, and program
CN111163174B (en) Network connection method, network connection device and readable storage medium
CN109934168B (en) Face image mapping method and device
US11128623B2 (en) Service providing system, service delivery system, service providing method, and non-transitory recording medium
US9578286B2 (en) Communication management system, communication terminal, communication system, communication control method, and recording medium
CN106249858B (en) A kind of display converting method, device and terminal device
JP7225016B2 (en) AR Spatial Image Projection System, AR Spatial Image Projection Method, and User Terminal
US20160380991A1 (en) Server capable of performing authentication with simplified and secure scheme that users who operate terminals communicating data with each other satisfy prescribed relation, method of controlling server, non-transitory storage medium encoded with computer readable control program, and information processing system

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: 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.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
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.

TR01 Transfer of patent right