CN114666392B - Terminal connection method, device, equipment and storage medium - Google Patents

Terminal connection method, device, equipment and storage medium Download PDF

Info

Publication number
CN114666392B
CN114666392B CN202210184511.8A CN202210184511A CN114666392B CN 114666392 B CN114666392 B CN 114666392B CN 202210184511 A CN202210184511 A CN 202210184511A CN 114666392 B CN114666392 B CN 114666392B
Authority
CN
China
Prior art keywords
machine
bid
information
knowledge
equipment
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
CN202210184511.8A
Other languages
Chinese (zh)
Other versions
CN114666392A (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.)
Wuhan Black Arc Culture Technology Co ltd
Original Assignee
Wuhan Black Arc Culture 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 Wuhan Black Arc Culture Technology Co ltd filed Critical Wuhan Black Arc Culture Technology Co ltd
Priority to CN202210184511.8A priority Critical patent/CN114666392B/en
Publication of CN114666392A publication Critical patent/CN114666392A/en
Application granted granted Critical
Publication of CN114666392B publication Critical patent/CN114666392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/194Transmission of image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/332Displays for viewing with the aid of special glasses or head-mounted displays [HMD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a terminal connection method, a device, equipment and a storage medium, wherein the method comprises the following steps: when receiving a connection request of each VR all-in-one machine, acquiring equipment information of each VR all-in-one machine; verifying each VR all-in-one machine according to the equipment information; when the verification is passed, address information is sent to the corresponding VR all-in-one machine; and receiving feedback information sent by the VR all-in-one machines according to the address information, and establishing long connection service between each VR all-in-one machine based on the feedback information. Through the equipment information of the VR all-in-one that sends the connection request verifies each VR all-in-one, sends address information to corresponding VR all-in-one when verifying and pass, establishes long connection service between the feedback information that based on the address information sent and each VR all-in-one based on the VR all-in-one, has solved the technical problem that the server can't obtain the feedback information that the VR all-in-one sent based on control instruction among the prior art, has realized the real-time information exchange of VR all-in-one and server.

Description

Terminal connection method, device, equipment and storage medium
Technical Field
The present invention relates to the field of virtual reality technologies, and in particular, to a terminal connection method, device, equipment, and storage medium.
Background
In the existing VR all-in-one machine connection method, after the server side sends instructions to all the VR all-in-one machines of the client side, feedback information of the VR all-in-one machines cannot be obtained, when the server side cannot obtain feedback of the VR all-in-one machines of the client side, what instruction should be sent next cannot be judged, network communication barriers are caused, and further information exchange between the VR all-in-one machines of the client side and the server side cannot be achieved.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a terminal connection method, device, equipment and storage medium, and aims to solve the technical problem that information exchange between a VR (virtual reality) integrated machine and a server cannot be realized in the prior art.
In order to achieve the above object, the present invention provides a terminal connection method, comprising the steps of:
when receiving a connection request of each VR all-in-one machine, acquiring equipment information of each VR all-in-one machine;
verifying each VR all-in-one machine according to the equipment information;
when the verification is passed, address information is sent to the corresponding VR all-in-one machine;
and receiving feedback information sent by the VR all-in-one machines according to the address information, and establishing long connection service between each VR all-in-one machine based on the feedback information.
Optionally, after the receiving VR integrated machine sends feedback information according to the address information and establishes long connection service with each VR integrated machine based on the feedback information, the method further includes:
when the establishment of the long connection service is completed, acquiring login information sent by each connected terminal device;
and determining the equipment type of each connected terminal equipment according to the login information, and performing knowledge competition service between corresponding users according to competition information fed back by each type of connected terminal equipment.
Optionally, the device type includes a management user device and a VR all-in-one;
the method for determining the equipment type of each connected terminal equipment according to the login information and carrying out knowledge competition service between corresponding users according to competition information fed back by each type of connected terminal equipment comprises the following steps:
acquiring the bid configuration information sent by the management user equipment, and distributing the bid questions to each VR all-in-one machine according to the bid configuration information;
and obtaining the guess answers fed back by the VR all-in-one machine based on the competing questions, and determining the competing scores of the corresponding users of each VR all-in-one machine according to the guess answers so as to perform knowledge competing service among the corresponding users.
Optionally, the obtaining the bid configuration information sent by the management user device and distributing the bid questions to each VR all-in-one machine according to the bid configuration information includes:
acquiring the bid configuration information sent by the management user equipment, and determining the machine code of the VR all-in-one machine corresponding to each knowledge bid group according to the bid configuration information;
performing bid grouping on each VR all-in-one machine according to the machine code to obtain a plurality of knowledge bid groups;
and distributing the bid questions to VR (virtual reality) all-in-one machines in each knowledge bid group according to the bid configuration information.
Optionally, the distributing the bid questions to VR integrated machines in each knowledge bid group according to the bid configuration information includes:
determining the bid master device of each knowledge bid group according to the bid configuration information;
and synchronously distributing the bidding questions to each VR (virtual reality) integrated machine in the corresponding knowledge bidding team according to the bidding master equipment.
Optionally, the method further includes, after the acquiring the guess answer fed back by the VR integrated machine based on the bidding questions, and determining the bidding score of the corresponding user of each VR integrated machine according to the guess answer, performing knowledge bidding service between the corresponding users:
acquiring the total bid score of the corresponding user of each VR all-in-one machine when the knowledge bid service is finished;
and determining the group scores of each knowledge competition group according to the competition total score, sequencing the group scores to obtain the competition group score ranking, and sending the competition group score ranking to each VR all-in-one machine for display.
Optionally, the method further includes, after determining the device type of each connected terminal device according to the login information and performing a knowledge bidding service between corresponding users according to the bidding information fed back by each type of connected terminal device:
acquiring position information sent by each connected terminal device, and rendering a competition user image at a corresponding position in a game space according to the position information;
and acquiring current position information sent by each connected terminal device at preset intervals, and updating coordinate information of the images of the competing users in the game space according to the current position information.
In addition, to achieve the above object, the present invention also proposes a terminal connection device, the device comprising:
the acquisition module is used for acquiring equipment information of each VR all-in-one machine when receiving a connection request of the VR all-in-one machine;
the verification module is used for verifying each VR all-in-one machine according to the equipment information;
the sending module is used for sending address information to the corresponding VR all-in-one machine when verification is passed;
the establishing module is used for receiving feedback information sent by the VR all-in-one machines according to the address information and establishing long connection service between each VR all-in-one machine based on the feedback information.
In addition, to achieve the above object, the present invention also proposes a terminal connection device, the device comprising: a memory, a processor and a terminal connection program stored on the memory and executable on the processor, the terminal connection program being configured to implement the steps of the terminal connection method as described above.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon a terminal connection program which, when executed by a processor, implements the steps of the terminal connection method as described above.
When receiving a connection request of the VR all-in-one machine, acquiring equipment information of each VR all-in-one machine; verifying each VR all-in-one machine according to the equipment information; when the verification is passed, address information is sent to the corresponding VR all-in-one machine; and receiving feedback information sent by the VR all-in-one machines according to the address information, and establishing long connection service between each VR all-in-one machine based on the feedback information. According to the invention, each VR all-in-one machine is verified through the equipment information of the VR all-in-one machine sending the connection request, the address information is sent to the corresponding VR all-in-one machine when the verification passes, and long connection service is established between the feedback information sent by the VR all-in-one machine based on the address information and each VR all-in-one machine, so that the technical problem that the server in the prior art cannot obtain the feedback information sent by the VR all-in-one machine based on the control instruction is solved, and real-time information exchange between the VR all-in-one machine and the server is realized.
Drawings
Fig. 1 is a schematic structural diagram of a terminal connection device of a hardware running environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of a terminal connection method according to the present invention;
FIG. 3 is a flowchart of a second embodiment of the terminal connection method of the present invention;
FIG. 4 is a flowchart of a third embodiment of a terminal connection method according to the present invention;
fig. 5 is a block diagram showing the structure of a first embodiment of the terminal connection device of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a terminal connection device of a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the terminal connection device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (WI-FI) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the terminal connection device, and may include more or less components than illustrated, or may combine certain components, or may be arranged in different components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a terminal connection program may be included in the memory 1005 as one type of storage medium.
In the terminal connection device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the terminal connection device of the present invention may be provided in the terminal connection device, and the terminal connection device calls the terminal connection program stored in the memory 1005 through the processor 1001 and executes the terminal connection method provided by the embodiment of the present invention.
An embodiment of the present invention provides a terminal connection method, referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the terminal connection method of the present invention.
In this embodiment, the terminal connection method includes the following steps:
step S1: and when receiving the connection request of the VR all-in-one machines, acquiring the equipment information of each VR all-in-one machine.
It should be noted that, the execution body of the embodiment may be a computing service device having functions of data processing, network communication and program running, such as a tablet computer, a personal computer, a mobile phone, or an electronic device, a server, or the like, which can implement the above functions. The present embodiment and the following embodiments will be described below with reference to a server as an example.
It can be understood that the server and the VR integrated machine implement two-way communication by using a socket, where the server includes a gateway server, a connection server and a back-end server, and in this embodiment, the server is generally referred to as a server; the connection request may be a request sent by the VR integrated machine to establish connection with the server; the equipment information comprises information such as equipment type, machine code, identity identification code and the like of the VR all-in-one machine; in this embodiment, the number of VR integrated machines that request to establish a connection with a server is not limited, that is, the number of VR integrated machines may be N, where N is an integer greater than or equal to 1.
Step S2: and verifying each VR all-in-one machine according to the equipment information.
It may be appreciated that the verification of each VR all-in-one machine according to the device information may be determining a machine code of each VR all-in-one machine according to the device information, and comparing the machine code of the VR all-in-one machine that requests connection with a pre-stored machine code in the server to verify each VR all-in-one machine.
Step S3: and when the verification is passed, sending address information to the corresponding VR all-in-one machine.
It is understood that the address information includes the IP address and port address of the server; when verification passes, sending address information to the corresponding VR all-in-one machine can be judging that the corresponding VR all-in-one machine passes verification when the machine code of the VR all-in-one machine requesting connection is consistent with the prestored machine code, and sending the IP address and the port address to the VR all-in-one machine passing verification by the server.
Step S4: and receiving feedback information sent by the VR all-in-one machines according to the address information, and establishing long connection service between each VR all-in-one machine based on the feedback information.
It can be understood that the feedback information may be information of the received IP address and port address fed back to the server after the VR integrated machine receives the IP address and port address sent by the server.
It should be understood that after the long connection service is established between the VR integrated machine and the server, the VR integrated machine can send information based on control instruction feedback to the server in real time, so that the server can monitor, modify and transmit data to all VR integrated machines for establishing the long connection service in real time, real-time communication between the VR integrated machine and the server is realized, and information exchange between the server and the VR integrated machine can be performed in real time.
In a specific implementation, when receiving a connection request of N VR all-in-one machines, a server acquires machine codes of the N VR all-in-one machines, compares the machine codes of the N VR all-in-one machines with a prestored machine code in the server to verify the VR all-in-one machines, determines that the corresponding VR all-in-one machines pass verification when the prestored machine codes are consistent with the machine code comparison, sends an IP address and a port address to the VR all-in-one machines passing verification, receives feedback information sent by the VR all-in-one machines passing verification based on the IP address and the port address, and establishes long connection service between the server and the VR all-in-one machines passing verification based on the feedback information.
For example, there are 4 VR all-in-one machines, the machine codes are A, B, C and D, the prestored machine codes are A, C and D, the 4 VR all-in-one machines send request connection to the server, the machine codes obtained by the server are A, B, C and D, the server performs comparison verification on the machine codes and the prestored machine codes, the VR all-in-one machines with the machine codes of A, C and D verify passing, the server sends the IP address and the port address to the VR all-in-one machine with the verification passing, the VR all-in-one machines a and D with the verification passing send feedback information of the received IP address and the port address to the server, and the server establishes long connection service between the VR all-in-one machines with the machine codes of a and D based on the received feedback information.
Further, in the prior art, the knowledge competition service with high interaction cannot be realized by multiple persons, so that the knowledge competition is low in interestingness and poor in user experience, and in order to improve the interestingness of the knowledge competition so as to improve the user experience, after the step S4, the method further comprises:
step S5: and when the establishment of the long connection service is completed, acquiring login information sent by each connected terminal device.
It may be appreciated that the connected terminal device may be a terminal device that establishes a connection with the server, where the connected terminal device includes a VR all-in-one machine and a management user device; the login information may be information reflecting the identity of the user logging in the connected terminal device; the login information includes an account number, a mobile phone number, a social account number or other information capable of reflecting the identity of the login user of the connected terminal device.
Step S6: and determining the equipment type of each connected terminal equipment according to the login information, and performing knowledge competition service between corresponding users according to competition information fed back by each type of connected terminal equipment.
It will be appreciated that the identity information of the corresponding logged-on user may be determined from the login information, and the device type of the corresponding connected terminal device may be determined from the identity information.
In a specific implementation, after a server completes establishment of a long connection service with a VR (virtual reality) all-in-one machine, the server acquires a login account of connected terminal equipment, determines identity information of a corresponding login user according to the login account, determines equipment types of the corresponding connected terminal equipment according to the identity information, and performs knowledge competition service between users corresponding to the VR all-in-one machine according to competition information fed back by connected terminal equipment of different equipment types.
Further, in order to perform a knowledge competition service on the VR integrated machine through a network so as to improve interest and user experience of the knowledge competition, the device types include management user equipment and the VR integrated machine; the step S6 includes:
step S61: and acquiring the bid configuration information sent by the management user equipment, and distributing the bid questions to each VR all-in-one machine according to the bid configuration information.
It may be appreciated that the administrative user device may be a device capable of sending bid configuration information of the knowledge bid service to the server, where the administrative user may log in through a bid-related application or web page; the bid configuration information includes bid room creation information, grouping information, test question information, and bid beating master device information.
Step S62: and obtaining the guess answers fed back by the VR all-in-one machine based on the competing questions, and determining the competing scores of the corresponding users of each VR all-in-one machine according to the guess answers so as to perform knowledge competing service among the corresponding users.
In a specific implementation, the device types include a VR integrated machine and a management user device, a competing user logs in on the VR integrated machine through an account, the management user logs in on the management user device through the account, the server determines the type of the connected device according to the account information of the logged-in VR integrated machine and the management user device, obtains the competing configuration information sent by the user management device, sends the competing questions to the corresponding VR integrated machine according to the competing configuration information, obtains the competing answers fed back by the corresponding user through the VR integrated machine based on the competing questions, compares the correct answers of the competing questions stored in the database with the competing answers, and determines the competing scores of the users corresponding to the VR integrated machines according to comparison results.
For example, if a certain school performs a knowledge competition through the technical solution of this embodiment, the device types connected to the server include a VR integrated machine used by students participating in the knowledge competition and a management user device used by a teacher as a management user, the teacher logs in an account on the management user device, the participating in the competition of the students logs in the account on the VR integrated machine, the server determines whether the device type is the VR integrated machine or the management user device according to the obtained account, the teacher creates 1 room through the management user device, the room has 1 competition group, the history topic is selected as a competition topic, the students join the competition group created by the teacher through the VR integrated machine, after all VR integrated machines join the group, the server distributes the history topic to each VR integrated machine one by one, and obtains a competition answer fed back by each VR integrated machine based on the received history topic, compares the competition answer with a correct answer, and determines the competition score of the student corresponding to the VR integrated machine according to the comparison result.
Further, to enhance the user experience, after the step S62, the method further includes: acquiring the total bid score of the corresponding user of each VR all-in-one machine when the knowledge bid service is finished; and determining the group scores of each knowledge competition group according to the competition total score, sequencing the group scores to obtain the competition group score ranking, and sending the competition group score ranking to each VR all-in-one machine for display.
It can be understood that after obtaining the score ranking of the bidding team, VR all-in-one machines corresponding to the last-scoring knowledge bidding team can also be obtained from the score ranking of the bidding team, and corresponding punishment measures are carried out on the users in the last-scoring knowledge bidding team based on the virtual environment constructed by the VR all-in-one machines, wherein the punishment measures can be measures such as water falling in the virtual environment.
When receiving a connection request of the VR all-in-one machine, the embodiment acquires equipment information of each VR all-in-one machine; verifying each VR all-in-one machine according to the equipment information; when the verification is passed, address information is sent to the corresponding VR all-in-one machine; and receiving feedback information sent by the VR all-in-one machines according to the address information, and establishing long connection service between each VR all-in-one machine based on the feedback information. Because this embodiment verifies each VR all-in-one through the equipment information of the VR all-in-one that sends the connection request, sends address information to corresponding VR all-in-one when verifying to pass, establishes long connection service between feedback information based on the address information transmission of VR all-in-one and each VR all-in-one, has solved the technical problem that the server can't obtain the feedback information based on control instruction transmission of VR all-in-one among the prior art, has realized the real-time information exchange of VR all-in-one and server.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of a terminal connection method according to the present invention.
Based on the first embodiment, in this embodiment, the step S61 includes:
step S611: and acquiring the bid configuration information sent by the management user equipment, and determining the machine code of the VR all-in-one machine corresponding to each knowledge bid group according to the bid configuration information.
It can be appreciated that the management user can input the machine code of the VR integrated machine into the database through the application program on the management user device, and can also add remark information for each VR integrated machine, wherein the remark information can be the real name of the user corresponding to the VR integrated machine.
In a specific implementation, a management user creates a competition room and a knowledge competition group through application program configuration on management user equipment, selects a competition list, adds machine codes of the VR all-in-one machine into the corresponding knowledge competition group, and determines the machine codes corresponding to the knowledge competition groups according to the acquired competition configuration information by a server.
Step S612: and performing bid grouping on each VR all-in-one machine according to the machine code to obtain a plurality of knowledge bid groups.
In the specific implementation, a server acquires a machine code of a connected VR all-in-one machine, and performs bidding grouping on the VR all-in-one machine according to the acquired machine code and the machine code in the knowledge bidding group in the configuration information to acquire a plurality of knowledge bidding groups.
Step S613: and distributing the bid questions to VR (virtual reality) all-in-one machines in each knowledge bid group according to the bid configuration information.
In a specific implementation, a server acquires and manages room information, grouping information and questions sent by user equipment, machine codes in each knowledge competition group are determined according to the information, the server acquires the machine codes of connected VR all-in-one machines, groups the VR all-in-one machines according to the machine codes in each competition group, a plurality of knowledge competition groups are obtained, and the corresponding questions are distributed to each VR all-in-one machine in the corresponding knowledge competition group.
Further, in order to perform high-interaction knowledge competition to enhance the user experience, the step S613 includes: determining the bid master device of each knowledge bid group according to the bid configuration information; and synchronously distributing the bidding questions to each VR (virtual reality) integrated machine in the corresponding knowledge bidding team according to the bidding master equipment.
In a specific implementation, the management user can also assign a master to each knowledge competition group through the management user equipment, namely, assign a VR all-in-one machine to be the master device of the competition in each knowledge competition group, and the balance is the competition device, and synchronously distribute the competition to each VR all-in-one machine according to the master device of the competition and the competition device assigned in each knowledge competition group.
The embodiment obtains the bid configuration information sent by the management user equipment, and determines the machine code of the VR all-in-one machine corresponding to each knowledge bid group according to the bid configuration information; performing bid grouping on each VR all-in-one machine according to the machine code to obtain a plurality of knowledge bid groups; and distributing the bid questions to VR (virtual reality) all-in-one machines in each knowledge bid group according to the bid configuration information. According to the method and the device, the machine codes of the VR all-in-one machines corresponding to the knowledge bidding subgroups are determined according to the bidding configuration information, the VR all-in-one machines are bid and grouped according to the machine codes, and the bidding questions are distributed to the VR all-in-one machines in the subgroups according to the configuration information, so that grouping and monitoring of the VR all-in-one machines are achieved, and the user experience of knowledge bidding is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a third embodiment of a terminal connection method according to the present invention.
Based on the above embodiments, in this embodiment, after step S62, the method further includes:
step S621: and acquiring the position information sent by each connected terminal device, and rendering the image of the competing user at the corresponding position in the game space according to the position information.
It may be appreciated that the location information may be coordinate information of a user corresponding to the connected device in real space; the game space can be a virtual space of knowledge contests rendered by the server; and the server renders the personnel participating in the knowledge contests in the virtual space according to the coordinate information.
In a specific implementation, each VR integrated machine only uploads one piece of position information, and a server acquires the position information uploaded by each VR integrated machine, converts the position information into three-dimensional coordinate information in a virtual space, and renders a user image according to the corresponding position of the three-dimensional coordinate information in the virtual space.
Step S622: and acquiring current position information sent by each connected terminal device at preset intervals, and updating coordinate information of the images of the competing users in the game space according to the current position information.
It can be understood that, when multiple persons conduct knowledge competition on the VR integrated machines through the network, the requirement on the on-site broadband is higher, so that the calculation amount of the server is overlarge.
In a specific implementation, a server acquires position information of each VR all-in-one machine, renders images of each bidding user in a virtual space according to the position information, acquires current position information of each VR all-in-one machine at intervals of preset time, and updates coordinate information of each bidding user in the virtual space according to the current position information.
For example, since knowledge competition is insensitive to real-time change of the user position, the synchronization frequency of the position information of 30 frames/second can be reduced to 15 frames/second so as to reduce the data volume of network synchronization, the movement between the two frames is smoothed by adopting supplementary animation, and the server updates the position of the user image corresponding to each user in the virtual space according to the acquired latest current position information.
The embodiment obtains the position information sent by each connected terminal device, and renders the image of the competing user at the corresponding position in the game space according to the position information; and acquiring current position information sent by each connected terminal device at preset intervals, and updating coordinate information of the images of the competing users in the game space according to the current position information. According to the embodiment, the images of the competing users are rendered in the game space according to the position line information sent by the connected terminal devices, the current position information is acquired at intervals of preset time, and the three-dimensional coordinates of the images of the competing users are updated in the game space according to the current position information, so that the data volume of network synchronization is reduced, the real-time concurrent data volume of the server is reduced, and the running efficiency of the server is improved.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium stores a terminal connection program, and the terminal connection program realizes the steps of the terminal connection method when being executed by a processor.
Referring to fig. 5, fig. 5 is a block diagram showing the structure of a first embodiment of the terminal connection device of the present invention.
As shown in fig. 5, a terminal connection device according to an embodiment of the present invention includes: the device comprises an acquisition module 10, a verification module 20, a transmission module 30 and a building module 40.
The obtaining module 10 is configured to obtain device information of each VR integrated machine when receiving a connection request of the VR integrated machine;
the verification module 20 is configured to verify each VR all-in-one machine according to the device information;
the sending module 30 is configured to send address information to a corresponding VR all-in-one machine when the verification is passed;
the establishing module 40 is configured to receive feedback information sent by the VR all-in-one machine according to the address information, and establish a long connection service with each VR all-in-one machine based on the feedback information.
When receiving a connection request of the VR all-in-one machine, the embodiment acquires equipment information of each VR all-in-one machine; verifying each VR all-in-one machine according to the equipment information; when the verification is passed, address information is sent to the corresponding VR all-in-one machine; and receiving feedback information sent by the VR all-in-one machines according to the address information, and establishing long connection service between each VR all-in-one machine based on the feedback information. Because this embodiment verifies each VR all-in-one through the equipment information of the VR all-in-one that sends the connection request, sends address information to corresponding VR all-in-one when verifying to pass, establishes long connection service between feedback information based on the address information transmission of VR all-in-one and each VR all-in-one, has solved the technical problem that the server can't obtain the feedback information based on control instruction transmission of VR all-in-one among the prior art, has realized the real-time information exchange of VR all-in-one and server.
Based on the above-described first embodiment of the terminal connection device of the present invention, a second embodiment of the terminal connection device of the present invention is proposed.
In this embodiment, the establishing module 40 is further configured to obtain login information sent by each connected terminal device when the long connection service is established; and determining the equipment type of each connected terminal equipment according to the login information, and performing knowledge competition service between corresponding users according to competition information fed back by each type of connected terminal equipment.
The building module 40 is further configured to obtain the bid configuration information sent by the management user equipment, and distribute a bid to each VR all-in-one machine according to the bid configuration information; and obtaining guess answers fed back by the VR all-in-one machines based on the competition questions, determining competition scores of users corresponding to the VR all-in-one machines according to the guess answers so as to perform knowledge competition service among the corresponding users, wherein the equipment type comprises management user equipment and the VR all-in-one machines.
The building module 40 is further configured to obtain the bid configuration information sent by the management user equipment, and determine a machine code of the VR all-in-one machine corresponding to each knowledge bid group according to the bid configuration information; performing bid grouping on each VR all-in-one machine according to the machine code to obtain a plurality of knowledge bid groups; and distributing the bid questions to VR (virtual reality) all-in-one machines in each knowledge bid group according to the bid configuration information.
The building module 40 is further configured to determine a bid master device of each knowledge bid group according to the bid configuration information; and synchronously distributing the bidding questions to each VR (virtual reality) integrated machine in the corresponding knowledge bidding team according to the bidding master equipment.
The establishing module 40 is further configured to obtain a total bid score of the users corresponding to each VR integrated machine when the knowledge bidding service is finished; and determining the group scores of each knowledge competition group according to the competition total score, sequencing the group scores to obtain the competition group score ranking, and sending the competition group score ranking to each VR all-in-one machine for display.
The building module 40 is further configured to obtain location information sent by each connected terminal device, and render an image of the competing user at a corresponding location in the game space according to the location information; and acquiring current position information sent by each connected terminal device at preset intervals, and updating coordinate information of the images of the competing users in the game space according to the current position information.
Other embodiments or specific implementation manners of the terminal connection device of the present invention may refer to the above method embodiments, and 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 one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. read-only memory/random-access memory, magnetic disk, optical disk), comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. A terminal connection method, the method comprising:
when receiving a connection request of each VR all-in-one machine, acquiring equipment information of each VR all-in-one machine;
verifying each VR all-in-one machine according to the equipment information;
when the verification is passed, address information is sent to the corresponding VR all-in-one machine;
receiving feedback information sent by the VR all-in-one machines according to the address information, and establishing long connection service between each VR all-in-one machine based on the feedback information;
after the receiving VR all-in-one machine establishes the long connection service with each VR all-in-one machine based on the feedback information sent by the address information, the method further includes:
when the establishment of the long connection service is completed, acquiring login information sent by each connected terminal device;
determining the equipment type of each connected terminal equipment according to the login information, wherein the equipment type comprises management user equipment and VR (virtual reality) all-in-one machine;
acquiring the bid configuration information sent by the management user equipment, and distributing the bid questions to each VR all-in-one machine according to the bid configuration information;
and obtaining the guess answers fed back by the VR all-in-one machine based on the competing questions, and determining the competing scores of the corresponding users of each VR all-in-one machine according to the guess answers so as to perform knowledge competing service among the corresponding users.
2. The method of claim 1, wherein the obtaining the bid configuration information sent by the management user device and distributing the bid questions to each VR all-in-one machine according to the bid configuration information comprises:
acquiring the bid configuration information sent by the management user equipment, and determining the machine code of the VR all-in-one machine corresponding to each knowledge bid group according to the bid configuration information;
performing bid grouping on each VR all-in-one machine according to the machine code to obtain a plurality of knowledge bid groups;
and distributing the bid questions to VR (virtual reality) all-in-one machines in each knowledge bid group according to the bid configuration information.
3. The method of claim 2, wherein the distributing the bid items to VR integrated machines within each knowledge bid group in accordance with the bid configuration information comprises:
determining the bid master device of each knowledge bid group according to the bid configuration information;
and synchronously distributing the bidding questions to each VR (virtual reality) integrated machine in the corresponding knowledge bidding team according to the bidding master equipment.
4. The method of any of claims 1-3, wherein the obtaining the bid answers fed back by the VR integrated machine based on the bid questions, and determining the bid scores of the corresponding users of each VR integrated machine based on the bid answers, after performing the knowledge bid service between the corresponding users, the method further comprises:
acquiring the total bid score of the corresponding user of each VR all-in-one machine when the knowledge bid service is finished;
and determining the group scores of each knowledge competition group according to the competition total score, sequencing the group scores to obtain the competition group score ranking, and sending the competition group score ranking to each VR all-in-one machine for display.
5. A method according to any one of claims 1-3, wherein said determining the device type of each connected terminal device based on said login information, and after performing a knowledge competition service between corresponding users based on competition information fed back by each type of connected terminal device, said method further comprises:
acquiring position information sent by each connected terminal device, and rendering a competition user image at a corresponding position in a game space according to the position information;
and acquiring current position information sent by each connected terminal device at preset intervals, and updating coordinate information of the images of the competing users in the game space according to the current position information.
6. A terminal connection device, the device comprising:
the acquisition module is used for acquiring equipment information of each VR all-in-one machine when receiving a connection request of the VR all-in-one machine;
the verification module is used for verifying each VR all-in-one machine according to the equipment information;
the sending module is used for sending address information to the corresponding VR all-in-one machine when verification is passed;
the establishing module is used for receiving feedback information sent by the VR all-in-one machines according to the address information and establishing long connection service between each VR all-in-one machine based on the feedback information;
the establishment module is further used for acquiring login information sent by each connected terminal device when the establishment of the long connection service is completed; determining the equipment type of each connected terminal equipment according to the login information, wherein the equipment type comprises management user equipment and VR (virtual reality) all-in-one machine; acquiring the bid configuration information sent by the management user equipment, and distributing the bid questions to each VR all-in-one machine according to the bid configuration information; and obtaining the guess answers fed back by the VR all-in-one machine based on the competing questions, and determining the competing scores of the corresponding users of each VR all-in-one machine according to the guess answers so as to perform knowledge competing service among the corresponding users.
7. A terminal connection device, the device comprising: a memory, a processor, and a terminal connection program stored on the memory and executable on the processor, the terminal connection program being configured to implement the steps of the terminal connection method according to any one of claims 1 to 5.
8. A storage medium having stored thereon a terminal connection program which, when executed by a processor, implements the steps of the terminal connection method according to any one of claims 1 to 5.
CN202210184511.8A 2022-02-25 2022-02-25 Terminal connection method, device, equipment and storage medium Active CN114666392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210184511.8A CN114666392B (en) 2022-02-25 2022-02-25 Terminal connection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210184511.8A CN114666392B (en) 2022-02-25 2022-02-25 Terminal connection method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114666392A CN114666392A (en) 2022-06-24
CN114666392B true CN114666392B (en) 2024-04-12

Family

ID=82027500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210184511.8A Active CN114666392B (en) 2022-02-25 2022-02-25 Terminal connection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114666392B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060057435A (en) * 2004-11-23 2006-05-26 삼성전자주식회사 System and method for authentication in network
WO2008110121A1 (en) * 2007-03-13 2008-09-18 Huawei Technologies Co., Ltd. Adaptation method and system of data service contents, and portal system
WO2012046893A1 (en) * 2010-10-07 2012-04-12 프리즈 네트워크 인코포레이션 Location-based social networking system
CN106878483A (en) * 2017-01-24 2017-06-20 新华三技术有限公司 A kind of IP address distribution method and device
CN108183950A (en) * 2017-12-28 2018-06-19 新华三技术有限公司 A kind of network equipment establishes the method and device of connection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060057435A (en) * 2004-11-23 2006-05-26 삼성전자주식회사 System and method for authentication in network
WO2008110121A1 (en) * 2007-03-13 2008-09-18 Huawei Technologies Co., Ltd. Adaptation method and system of data service contents, and portal system
WO2012046893A1 (en) * 2010-10-07 2012-04-12 프리즈 네트워크 인코포레이션 Location-based social networking system
CN106878483A (en) * 2017-01-24 2017-06-20 新华三技术有限公司 A kind of IP address distribution method and device
CN108183950A (en) * 2017-12-28 2018-06-19 新华三技术有限公司 A kind of network equipment establishes the method and device of connection

Also Published As

Publication number Publication date
CN114666392A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
US7975026B2 (en) Method and system for providing game service by using the internet
JP3443404B2 (en) NET GAME SERVER DEVICE, NET GAME PROGRESSION CONTROL METHOD, AND PROGRAM FOR RUNNING NET GAME
KR20070082395A (en) Flash game invitation system and method using url
JP3973399B2 (en) Server, information processing method, program, and storage medium
CN107111828A (en) The priority ranking of message
JP2012519908A5 (en)
KR102200646B1 (en) Usability testing method and system for online services
WO2014081224A1 (en) Online response quiz gaming system and method thereof
CN105939245A (en) Method, system and apparatus for inviting users to participate in an interactive session
CN106023328B (en) Method, device and system for realizing online activity sign-in
US10807006B1 (en) Behavior-aware player selection for multiplayer electronic games
CN114666392B (en) Terminal connection method, device, equipment and storage medium
CN112887299A (en) Online interaction method and device, electronic equipment and storage medium
JP2004242816A (en) Quiz provision system
KR101509388B1 (en) Online Reactive Quiz game system and method thereof
KR20020009785A (en) System and method for on-line game using a client computer as a local server
KR100777178B1 (en) Method for internet multiuser game using personal computer and wireless terminals simultaneously
CN110809176A (en) Voting interaction method, device, server and storage medium
US20140075305A1 (en) Method and apparatus for defining and responding to help request in virtual environment service
CN110585714B (en) UGC element setting method, device and equipment based on block chain
JP7168238B2 (en) meeting support system
KR20210139012A (en) Multi-user link system in order to connect multiple participants for exercise
KR102606834B1 (en) System and method for providing game service
KR20020078207A (en) The game system and its method for performing mission on network
CN115730292A (en) Offline competition method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant