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 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.
With the increasingly wide application of head-mounted display equipment products, more and more application scenes are provided. 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 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.
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 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.
Optionally, the image includes 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.
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.
In addition, 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 including:
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 the target position of the target terminal;
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.
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, the network connection program implementing the steps of the network connection method as described above when executed by a processor.
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 or technical solutions of the present invention, the drawings used in the embodiments or technical solutions of 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 network connection method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a network connection method according to a second embodiment of 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 network connection method according to a fifth embodiment of the present invention;
fig. 6 is a flowchart illustrating a network connection method according to a sixth embodiment of the invention;
fig. 7 is a schematic structural diagram of a network connection device according to the present invention.
The reference numbers indicate:
reference numerals Name (R) Reference numerals Name(s)
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 present invention will be further described with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely 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, descriptions such as "first", "second", etc. in the present invention are used for descriptive purposes only 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 explicitly specified 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 interconnected within two elements or in a relationship where two elements interact with each other unless otherwise specifically limited. The specific meanings of the above terms in the present invention can be understood according to specific situations by those of ordinary skill in the art.
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 around, 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 the 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.
And step S40, 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.
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, the image of the 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 a virtual scene is matched with the position of a 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, wherein the 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 real image of the outside 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 carried out 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, a fourth embodiment of the present invention is proposed on the basis of the first embodiment of the present invention, 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 requests acquired by the head-mounted display device may include multiple network connection requests, that is, the head-mounted display device may be connected to one of multiple 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 may be displayed in a virtual scene;
and selecting a network connection request of which the position information is matched with the target position in the network connection request list, specifically, visually observing the name of the target terminal in the virtual scene, and selecting a corresponding name, namely selecting the network connection request sent by the mobile terminal with the same position as the target terminal in the virtual scene, so as to ensure the accuracy of network connection selection.
Referring to fig. 5, a fifth embodiment of the present invention is proposed on the basis of the first embodiment of 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 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 information in the network connection request cannot be accurately obtained by the network connection request which is not encrypted or decrypted by the same private key password, and the security of network connection is further 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, 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 step S80.
For example, in a real scene, there may be two mobile terminals with the same position, or a mobile terminal with a closer position, one of which is a 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, 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 the 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 the potential connection safety hazard caused by connection with other mobile terminals is avoided. 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 is uniquely corresponding to the relative position of the target terminal in the virtual scene, and the position of the virtual scene can be uniquely obtained according to the relative position.
And judging whether the position of the target terminal in the virtual scene is matched with the position of the mobile terminal, if so, determining that the mobile terminal is the target terminal, and if so, re-acquiring the network connection request by the head-mounted display equipment. And matching 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, 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 including a target terminal through a depth-of-field camera, wherein the image includes a plurality of feature points, and the image of the target terminal can be accurately obtained through the feature 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 real image of the outside 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 carried out 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 convenience of selection may be improved by arranging the requests in a table.
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 to 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 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 information in the network connection request cannot be accurately obtained by the network connection request which is not encrypted or decrypted by the same private key password, and the security of network connection is further 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.
For the specific implementation of the readable storage medium of the present invention, reference may be made to the foregoing 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 identical elements in the process, method, article, or system in which the element is included.
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. 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, display device, terminal equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5368547B2 (en) * 2008-04-05 2013-12-18 ソーシャル・コミュニケーションズ・カンパニー Shared virtual area communication environment based apparatus and method
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, display device, terminal equipment 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
CN104571532B (en) A kind of method and device for realizing augmented reality or virtual reality
US20170085834A1 (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
JP2020507136A (en) VR object synthesizing method, apparatus, program, and recording medium
US10133534B2 (en) Image processing method and apparatus for interactive augmented reality
US20090241039A1 (en) System and method for avatar viewing
CN106095075B (en) information processing method and augmented reality equipment
CN110536075B (en) Video generation method and device
US20130278636A1 (en) Object display device, object display method, and object display program
JP2017120650A (en) Information processing system, control method thereof, program, information processor, control method thereof, and program
CN111290580B (en) Calibration method based on sight tracking and related device
US20210065421A1 (en) Moving image distribution system, moving image distribution method, and moving image distribution program
JP6524706B2 (en) Display control method, display control program, and information processing apparatus
US10147240B2 (en) Product image processing method, and apparatus and system thereof
CN112107857A (en) Control method and device of virtual prop, storage medium and electronic equipment
CN108765581A (en) A kind of method and device showing label in virtual three-dimensional space
US8949934B2 (en) Communication device, communication method, and program
CN108061879B (en) Space positioning method and device, electronic equipment and system
CN111163174B (en) Network connection method, network connection device and readable storage medium
CN114501051B (en) Method and device for displaying marks of live objects, storage medium and electronic equipment
US9578286B2 (en) Communication management system, communication terminal, communication system, communication control method, and recording medium
US10382891B2 (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
CN110832839A (en) Manual focusing control method, device, equipment, system and storage medium
JP7225016B2 (en) AR Spatial Image Projection System, AR Spatial Image Projection Method, and User Terminal
US20180191998A1 (en) Video communication method and 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