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

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

Info

Publication number
CN114666392A
CN114666392A CN202210184511.8A CN202210184511A CN114666392A CN 114666392 A CN114666392 A CN 114666392A CN 202210184511 A CN202210184511 A CN 202210184511A CN 114666392 A CN114666392 A CN 114666392A
Authority
CN
China
Prior art keywords
machine
information
response
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.)
Granted
Application number
CN202210184511.8A
Other languages
Chinese (zh)
Other versions
CN114666392B (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

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
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a terminal connection method, a device, equipment and a storage medium, wherein the method comprises the following steps: when a connection request of the VR integrated machines is received, acquiring equipment information of each VR integrated machine; verifying each VR all-in-one machine according to the equipment information; when the verification is passed, sending the address information to the corresponding VR integrated machine; and receiving feedback information sent by the VR all-in-one machines according to the address information, and establishing long connection service with each VR all-in-one machine based on the feedback information. The method and the system have the advantages that the equipment information of the VR integrated machines which send the connection requests is used for verifying each VR integrated machine, the address information is sent to the corresponding VR integrated machine when the verification is passed, long connection service is established between feedback information sent by the VR integrated machines based on the address information and each VR integrated machine, the technical problem that a server cannot obtain the feedback information sent by the VR integrated machines based on control instructions in the prior art is solved, and real-time information exchange between the VR integrated machines and the server is achieved.

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, apparatus, device, and storage medium.
Background
In the existing VR all-in-one machine connection method, feedback information of a VR all-in-one machine cannot be obtained after a server side sends instructions to the VR all-in-one machines of all clients, and when the server side cannot obtain feedback of the VR all-in-one machine of the client, what instruction should be sent next cannot be judged, so that network communication obstacle is caused, and information exchange between the VR all-in-one machine of the client and the server side cannot be realized.
The above is only for the purpose of assisting understanding of the technical solution of the present invention, and does not represent an admission that the above is the prior art.
Disclosure of Invention
The invention mainly aims to provide a terminal connection method, a terminal connection device, terminal connection equipment and a storage medium, and aims to solve the technical problem that information exchange between a VR all-in-one 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, including the steps of:
when a connection request of the VR integrated machines is received, acquiring equipment information of each VR integrated machine;
verifying each VR all-in-one machine according to the equipment information;
when the verification is passed, sending the address information to the corresponding VR integrated machine;
and receiving feedback information sent by the VR all-in-one machines according to the address information, and establishing long connection service with each VR all-in-one machine based on the feedback information.
Optionally, after receiving feedback information sent by the VR all-in-one machines according to the address information and establishing a long connection service with each VR all-in-one machine based on the feedback information, the method further includes:
when the long connection service is established, 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 bidding and answering service between corresponding users according to bidding and answering 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 machine;
the determining the device type of each connected terminal device according to the login information, and performing knowledge bidding and answering service between corresponding users according to the bidding and answering information fed back by each type of connected terminal device includes:
obtaining the response configuration information sent by the management user equipment, and distributing response questions to each VR all-in-one machine according to the response configuration information;
and obtaining guess answers fed back by the VR integrated machines based on the guess questions, and determining the guess scores of the users corresponding to the VR integrated machines according to the guess answers so as to perform knowledge contest answering service among the corresponding users.
Optionally, the obtaining of the response configuration information sent by the management user equipment and distributing response topics to each VR all-in-one machine according to the response configuration information includes:
obtaining the response configuration information sent by the management user equipment, and determining the machine code of each knowledge response group corresponding to the VR all-in-one machine according to the response configuration information;
performing auction grouping on each VR all-in-one machine according to the machine codes to obtain a plurality of knowledge auction groups;
and distributing the response questions to VR integrated machines in all knowledge response groups according to the response configuration information.
Optionally, the distributing the response questions to VR all-in-one machines in each knowledge response group according to the response configuration information includes:
determining the contest answering main equipment of each knowledge contest answering group according to the contest answering configuration information;
and synchronously distributing the bidding questions to each VR all-in-one machine in the corresponding knowledge bidding group according to the bidding master device.
Optionally, the obtaining of the guessing answers fed back by the VR all-in-one machines based on the answer questions and determining the answer scores of the users corresponding to each VR all-in-one machine according to the guessing answers, so that after the knowledge answer service is performed between the corresponding users, the method further includes:
when the knowledge bidding service is finished, obtaining the bidding total score of the user corresponding to each VR all-in-one machine;
and determining the scores of the knowledge response groups according to the total response scores, sequencing the scores of the groups to obtain the scores of the response groups, and sending the scores of the response groups to each VR all-in-one machine for display.
Optionally, 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, the method further includes:
acquiring position information sent by each connected terminal device, and rendering a contest answering 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 time intervals, and updating the coordinate information of the image of the user competing for answers in the game space according to the current position information.
In addition, to achieve the above object, the present invention also provides a terminal connection apparatus, including:
the acquisition module is used for acquiring the 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 the address information to the corresponding VR all-in-one machine when the verification is passed;
and 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 with each VR all-in-one machine based on the feedback information.
In addition, to achieve the above object, the present invention further provides a terminal connection device, including: 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.
Furthermore, to achieve the above object, the present invention also provides a storage medium having a terminal connection program stored thereon, which when executed by a processor, implements the steps of the terminal connection method as described above.
The method comprises the steps of acquiring equipment information of each VR all-in-one machine when a connection request of the VR all-in-one machine is received; verifying each VR all-in-one machine according to the equipment information; when the verification is passed, sending the address information to the corresponding VR integrated machine; and receiving feedback information sent by the VR all-in-one machines according to the address information, and establishing long connection service with each VR all-in-one machine based on the feedback information. According to the invention, each VR integrated machine is verified through the equipment information of the VR integrated machine which sends the connection request, the address information is sent to the corresponding VR integrated machine when the verification is passed, and long connection service is established between the feedback information sent by the VR integrated machine based on the address information and each VR integrated machine, so that the technical problem that a server cannot obtain the feedback information sent by the VR integrated machine based on the control instruction in the prior art is solved, and the real-time information exchange between the VR integrated machine and the server is realized.
Drawings
Fig. 1 is a schematic structural diagram of a terminal connection device in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a first embodiment of a terminal connection method according to the present invention;
fig. 3 is a flowchart illustrating a second embodiment of a terminal connection method according to the present invention;
fig. 4 is a flowchart illustrating a terminal connection method according to a third embodiment of the present invention;
fig. 5 is a block diagram of a first embodiment of the terminal connecting device according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal connection device in a hardware operating 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 (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also 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 (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the configuration shown in fig. 1 is not intended to be limiting of the terminal connection device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a terminal connection program.
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, and referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of the terminal connection method according to the present invention.
In this embodiment, the terminal connection method includes the following steps:
step S1: and when a connection request of the VR all-in-one machine is received, acquiring equipment information of each VR all-in-one machine.
It should be noted that the execution subject of the embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device, a server, etc. capable of implementing the above functions. The present embodiment and each of the following embodiments will be described below by taking a server as an example.
It can be understood that a socket is used between the server and the VR all-in-one machine to realize bidirectional communication, and the server includes a gateway server, a connection server and a back-end server, which are collectively called as a server in this embodiment; the connection request can be a request sent by the VR all-in-one machine for establishing connection with the server; the equipment information comprises information such as equipment type, machine code and identification code of the VR all-in-one machine; in this embodiment, the number of VR all-in-one machines requesting to establish connection with the server is not limited, that is, the number of VR all-in-one 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 can be understood that verifying 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 requested to be connected with a machine code prestored in the server to verify each VR all-in-one machine.
Step S3: and when the verification is passed, sending the address information to the corresponding VR all-in-one machine.
It is understood that the address information includes an IP address and a port address of the server; when the verification is passed, the address information is sent to the corresponding VR all-in-one machine, that is, when the machine code of the VR all-in-one machine which is requested to be connected is consistent with the pre-stored machine code, the corresponding VR all-in-one machine is judged to be passed, and the server sends the IP address and the port address to the VR all-in-one machine which is passed through the verification.
Step S4: and receiving feedback information sent by the VR all-in-one machines according to the address information, and establishing long connection service with 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 the port address, which is fed back to the server by the VR all-in-one machine after receiving the IP address and the port address sent by the server.
It should be understood that after the long connection service is established between the VR all-in-one machine and the server, the VR all-in-one machine can send information based on control instruction feedback to the server in real time, and then the server can monitor, modify and transmit data to all VR all-in-one machines establishing the long connection service in real time, so that real-time communication between the VR all-in-one machine and the server is realized, and the server can exchange information with the VR all-in-one machine in real time.
In the specific implementation, when a server receives connection requests of N VR integrated machines, machine codes of the N VR integrated machines are obtained, the machine codes of the N VR integrated machines are compared with prestored machine codes in the server to verify the VR integrated machines, when the prestored machine codes are consistent with the machine codes in comparison, the corresponding VR integrated machines are judged to pass verification, the server sends an IP address and a port address to the verified VR integrated machines, receives feedback information sent by the verified VR integrated machines based on the IP address and the port address, and the server establishes long connection service between the server and the verified VR integrated machines based on the feedback information.
For example, there are 4 VR all-in-one machines, the machine codes are A, B, C and D respectively, the pre-stored machine codes are A, C and D, the 4 VR all-in-one machines send a request to a server for connection, the machine codes obtained by the server are A, B, C and D, the server compares and verifies the machine codes with the pre-stored machine codes, the VR all-in-one machines with the machine codes of A, C and D pass verification, the server sends the IP address and the port address to the VR all-in-one machines passing verification, the VR all-in-one machines a and D passing verification send feedback information of the received IP address and the port address to the server, and the server establishes a 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, a plurality of people cannot realize a highly interactive knowledge response service, so that the interestingness of the knowledge response is low, the user experience is poor, and in order to improve the interestingness of the knowledge response and improve the user experience, after the step S4, the method further includes:
step S5: and when the long connection service is established, acquiring login information sent by each connected terminal device.
It can be understood that the connected terminal device may be a terminal device that establishes a connection with the server, and the connected terminal device includes the VR all-in-one machine and the management user device; the login information may be information that can reflect the identity of a user who logs in the connected terminal device; the login information comprises an account number, a mobile phone number, a social account number or other information capable of reflecting the identity of a login user for logging in the connected terminal equipment.
Step S6: and determining the equipment type of each connected terminal equipment according to the login information, and performing knowledge bidding and answering service between corresponding users according to bidding and answering information fed back by each type of connected terminal equipment.
It can be understood that the identity information of the corresponding logged-in user can be determined according to the login information, and the device type of the corresponding connected terminal device can be determined according to the identity information.
In the specific implementation, after the server completes the establishment of the long connection service with the VR all-in-one machine, the server acquires a login account of the connected terminal device, determines the identity information of the corresponding login user according to the login account, determines the device type of the corresponding connected terminal device according to the identity information, and performs the knowledge auction service between the users corresponding to the VR all-in-one machine according to the auction information fed back by the connected terminal devices of different device types.
Further, in order to perform knowledge competition and answer service on the VR all-in-one machine through a network so as to improve interestingness and user experience of knowledge competition and answer, the equipment type comprises management user equipment and the VR all-in-one machine; the step S6 includes:
step S61: and acquiring the response configuration information sent by the management user equipment, and distributing response questions to each VR all-in-one machine according to the response configuration information.
It is understood that the administrative user device may be a device capable of sending the auction configuration information of the knowledge auction service to the server, and the administrative user may log in on the administrative user device through an application or a web page related to the auction; the contest configuration information includes contest room creation information, grouping information, question information and contest owner device information.
Step S62: and obtaining guess answers fed back by the VR integrated machines based on the guess questions, and determining the guess scores of the users corresponding to the VR integrated machines according to the guess answers so as to perform knowledge contest-answer service among the corresponding users.
In the specific implementation, the equipment types comprise a VR all-in-one machine and management user equipment, a contest user logs in through an account on the VR all-in-one machine, the management user logs in through an account on the management user equipment, a server determines the type of connected equipment according to account information of logging in the VR all-in-one machine and the management user equipment, contest configuration information sent by the user management equipment is obtained, contest questions are sent to the corresponding VR all-in-one machine according to the contest configuration information, contest answers fed back by the corresponding user through the VR all-in-one machine based on the contest questions are obtained, correct answers of the contest questions stored in a database are compared with the contest answers, and contest scores of the users corresponding to the VR all-in-one machine are determined according to comparison results.
For example, when a school performs knowledge quiz through the technical solution of this embodiment, the device types connected to the server include a VR all-in-one machine used by students participating in the knowledge quiz 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 students participating in the quiz log in an account on the VR all-in-one machine, the server determines whether the device type is the VR all-in-one 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 quiz group, selects a historical topic as a quiz topic, the students join the quiz group created by the teacher through the VR all-in-one machine, after all VR all the VR all-in-one machines join the group, the server distributes the historical topics to each VR all-in-one machine one by one, and obtains guess answers fed back by each VR all-in-one machine based on the received historical topics, and comparing the guess answers with the correct answers, and determining the answer score of the VR all-in-one machine corresponding to the students according to the comparison result.
Further, after the step S62, in order to enhance the user experience, the method further includes: when the knowledge bidding service is finished, obtaining the bidding total score of the user corresponding to each VR all-in-one machine; and determining the scores of the knowledge response groups according to the total response scores, sequencing the scores of the groups to obtain the scores of the response groups, and sending the scores of the response groups to each VR all-in-one machine for display.
It can be understood that after obtaining the race response group score ranking, the VR all-in-one machine corresponding to the last few scored knowledge race response groups can be obtained from the race response group score ranking, and the virtual environment constructed based on the VR all-in-one machine performs corresponding punishment measures on the users in the last few scored knowledge race response groups, wherein the punishment measures can be measures such as falling into water in the virtual environment.
In the embodiment, when a connection request of a VR all-in-one machine is received, equipment information of each VR all-in-one machine is acquired; verifying each VR all-in-one machine according to the equipment information; when the verification is passed, sending the address information 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 with each VR all-in-one machine based on the feedback information. In the embodiment, each VR all-in-one machine is verified through the equipment information of the VR all-in-one machine which sends the connection request, the address information is sent to the corresponding VR all-in-one machine when the verification is passed, 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 a server cannot obtain the feedback information sent by the VR all-in-one machine based on the control instruction in the prior art is solved, and the real-time information exchange between the VR all-in-one machine and the server is realized.
Referring to fig. 3, fig. 3 is a flowchart illustrating a terminal connection method according to a second embodiment of the present invention.
Based on the first embodiment described above, in the present embodiment, the step S61 includes:
step S611: and acquiring the response configuration information sent by the management user equipment, and determining the machine code of each knowledge response group corresponding to the VR all-in-one machine according to the response configuration information.
It can be understood that the management user can record the machine code of the VR all-in-one machine into the database through the application program on the management user equipment, and can also add remark information to each VR all-in-one machine, where the remark information can be the real name of the user corresponding to the VR all-in-one machine.
In the specific implementation, a management user establishes a response room and knowledge response groups through application program configuration on management user equipment, selects response questions, adds machine codes of a VR all-in-one machine to the corresponding knowledge response groups, and a server determines the machine codes corresponding to the knowledge response groups according to the acquired response configuration information.
Step S612: and carrying out auction grouping on each VR all-in-one machine according to the machine codes to obtain a plurality of knowledge auction groups.
In the specific implementation, the server obtains machine codes connected with the VR all-in-one machines, and the VR all-in-one machines are subjected to answer grouping according to the obtained machine codes and the machine codes in the knowledge answer groups in the configuration information, so that a plurality of knowledge answer groups are obtained.
Step S613: and distributing the response questions to VR integrated machines in all knowledge response groups according to the response configuration information.
In the specific implementation, a server acquires room information, grouping information and answering questions sent by management user equipment, machine codes in all knowledge answering groups are determined according to the room information, the server acquires machine codes of connected VR all-in-one machines, the VR all-in-one machines are grouped according to the machine codes in all the answering groups to obtain a plurality of knowledge answering groups, and corresponding answering questions are distributed to all the VR all-in-one machines in the corresponding knowledge answering groups.
Further, in order to conduct a high-interaction knowledge contest to improve the user experience, the step S613 includes: determining the contest answering main equipment of each knowledge contest answering group according to the contest answering configuration information; and synchronously distributing the bidding questions to each VR all-in-one machine in the corresponding knowledge bidding group according to the bidding master device.
In specific implementation, a management user can also designate a contest owner for each knowledge contest group through the management user equipment, namely, a VR all-in-one machine is designated as a contest answering owner device in each knowledge contest group, and the rest are contest answering devices, and contest answering questions are synchronously distributed to each VR all-in-one machine according to the contest answering owner device and the contest answering device designated in each knowledge contest answering group.
In this embodiment, the response configuration information sent by the management user equipment is obtained, and the machine code of each knowledge response group corresponding to the VR all-in-one machine is determined according to the response configuration information; performing auction grouping on each VR all-in-one machine according to the machine codes to obtain a plurality of knowledge auction groups; and distributing the response questions to VR integrated machines in all knowledge response groups according to the response configuration information. In the embodiment, the machine codes of the VR all-in-one machines corresponding to the knowledge answering groups are determined according to the answering configuration information, the VR all-in-one machines are subjected to answering grouping according to the machine codes, and answering questions are distributed to the VR all-in-one machines in all the groups according to the configuration information, so that the VR all-in-one machines are grouped and monitored, and the user experience of knowledge answering is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a terminal connection method according to a third embodiment of the present invention.
Based on the foregoing embodiments, in this embodiment, after the step S62, the method further includes:
step S621: and acquiring the position information sent by each connected terminal device, and rendering a contest answering user image at a corresponding position in a game space according to the position information.
It is understood that the position information may be coordinate information of a user corresponding to the connected device in a real space; the game space may be a virtual space of a knowledge race rendered by a server; and rendering the personnel participating in the knowledge competition in the virtual space by the server according to the coordinate information.
In specific implementation, each VR all-in-one machine only uploads one position information, the server obtains the position information uploaded by each VR all-in-one machine, the position information is converted into three-dimensional coordinate information in a virtual space, and a user image is rendered 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 time intervals, and updating the coordinate information of the image of the user competing for answers in the game space according to the current position information.
It can be understood that, when a plurality of people compete for knowledge on the VR all-in-one machine through the network, the requirement for the field broadband is high, which results in an excessive calculation amount of the server, in this embodiment, the current location information of each VR all-in-one machine is acquired at preset time intervals, and the coordinates of the competing users in the game space are updated according to the acquired latest current location information.
In the specific implementation, the server obtains the position information of each VR all-in-one machine, renders images of each answering user in a virtual space according to the position information, obtains the current position information of each VR all-in-one machine at intervals of preset time, and updates the coordinate information of the answering users in the virtual space according to the current position information.
For example, since the knowledge response is not sensitive to the 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 to reduce the data amount of network synchronization, an interpolation animation is adopted between two frames to smooth the movement, and the server updates the position of the user image corresponding to each user in the virtual space according to the obtained latest current position information.
The embodiment acquires the position information sent by each connected terminal device, and renders a contest answering 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 time intervals, and updating the coordinate information of the image of the user competing for answers in the game space according to the current position information. Because the embodiment renders the image of the answering user in the game space according to the position line information sent by each connected terminal device, obtains the current position information at intervals of preset time, and updates the three-dimensional coordinates of the image of the answering user in the game space according to the current position information, the data volume of network synchronization is reduced, the real-time concurrent data volume of the server is reduced, and the operation efficiency of the server is improved.
Furthermore, an embodiment of the present invention further provides a storage medium, where a terminal connection program is stored on the storage medium, and the terminal connection program, when executed by a processor, implements the steps of the terminal connection method as described above.
Referring to fig. 5, fig. 5 is a block diagram illustrating a first embodiment of a terminal connecting device according to the present invention.
As shown in fig. 5, a terminal connection device according to an embodiment of the present invention includes: an acquisition module 10, a verification module 20, a sending module 30 and a building module 40.
The acquisition module 10 is configured to acquire device information of each VR all-in-one machine when receiving a connection request of the VR all-in-one machine;
the verification module 20 is used for verifying each VR all-in-one machine according to the equipment information;
the sending module 30 is used for sending the address information to the corresponding VR integrated machine when the verification is passed;
and the establishing module 40 is used for receiving feedback information sent by the VR all-in-one machines according to the address information and establishing long connection service with each VR all-in-one machine based on the feedback information.
In the embodiment, when a connection request of a VR all-in-one machine is received, equipment information of each VR all-in-one machine is acquired; verifying each VR all-in-one machine according to the equipment information; when the verification is passed, sending the address information to the corresponding VR integrated machine; and receiving feedback information sent by the VR all-in-one machines according to the address information, and establishing long connection service with each VR all-in-one machine based on the feedback information. In the embodiment, each VR all-in-one machine is verified through the equipment information of the VR all-in-one machine which sends the connection request, the address information is sent to the corresponding VR all-in-one machine when the verification is passed, 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 a server cannot obtain the feedback information sent by the VR all-in-one machine based on the control instruction in the prior art is solved, and the real-time information exchange between the VR all-in-one machine and the server is realized.
A second embodiment of the terminal connecting device of the present invention is proposed based on the above first embodiment of the terminal connecting device of the present invention.
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 bidding and answering service between corresponding users according to bidding and answering information fed back by each type of connected terminal equipment.
The establishing module 40 is further configured to acquire the response configuration information sent by the management user equipment, and distribute response questions to each VR all-in-one machine according to the response configuration information; and obtaining guess answers fed back by the VR all-in-one machines based on the guess questions, and determining the guess scores of the users corresponding to the VR all-in-one machines according to the guess answers so as to perform knowledge contest answering service among the corresponding users, wherein the equipment type comprises management user equipment and the VR all-in-one machines.
The establishing module 40 is further configured to obtain the auction configuration information sent by the management user equipment, and determine machine codes of the knowledge auction groups corresponding to the VR all-in-one machine according to the auction configuration information; performing auction grouping on each VR all-in-one machine according to the machine codes to obtain a plurality of knowledge auction groups; and distributing the response questions to VR integrated machines in all knowledge response groups according to the response configuration information.
The establishing module 40 is further configured to determine, according to the contest configuration information, contest and answer main devices of each knowledge contest group; and synchronously distributing the bidding questions to each VR all-in-one machine in the corresponding knowledge bidding group according to the bidding master device.
The establishing module 40 is further configured to obtain the total bid score of the user corresponding to each VR all-in-one machine when the knowledge bidding service is finished; and determining the group scores of the knowledge response groups according to the response total scores, sequencing the group scores to obtain response group scores, and sending the response group scores to the VR all-in-one machines for display.
The establishing module 40 is further configured to obtain location information sent by each connected terminal device, and render a race-answer user image at a corresponding location in a game space according to the location information; and acquiring current position information sent by each connected terminal device at preset time intervals, and updating the coordinate information of the image of the user competing for answers 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 an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., a rom/ram, a magnetic disk, an optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, 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 of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A terminal connection method, characterized in that the method comprises:
when a connection request of the VR integrated machines is received, acquiring equipment information of each VR integrated machine;
verifying each VR all-in-one machine according to the equipment information;
when the verification is passed, sending the address information 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 the VR all-in-one machines based on the feedback information.
2. The method of claim 1, wherein after the receiving VR all-in-one machine sends feedback information according to the address information and establishes a long connection service with each VR all-in-one machine based on the feedback information, the method further comprises:
when the long connection service is established, 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 bidding and answering service between corresponding users according to bidding and answering information fed back by each type of connected terminal equipment.
3. The method of claim 2, wherein the device type includes managing a user device and a VR all-in-one machine;
the determining the device type of each connected terminal device according to the login information, and performing knowledge bidding and answering service between corresponding users according to the bidding and answering information fed back by each type of connected terminal device includes:
obtaining the response configuration information sent by the management user equipment, and distributing response questions to each VR all-in-one machine according to the response configuration information;
and obtaining guess answers fed back by the VR integrated machines based on the guess questions, and determining the guess scores of the users corresponding to the VR integrated machines according to the guess answers so as to perform knowledge contest-answer service among the corresponding users.
4. The method of claim 3, wherein the obtaining of the response configuration information sent by the management user equipment and the distributing of response topics to the VR machines according to the response configuration information comprises:
obtaining the response configuration information sent by the management user equipment, and determining the machine code of each knowledge response group corresponding to the VR all-in-one machine according to the response configuration information;
performing auction grouping on each VR all-in-one machine according to the machine codes to obtain a plurality of knowledge auction groups;
and distributing the response questions to VR integrated machines in all knowledge response groups according to the response configuration information.
5. The method of claim 4, wherein the distributing of the response topics to VR machines within knowledge response teams according to the response configuration information comprises:
determining the contest answering main equipment of each knowledge contest answering group according to the contest answering configuration information;
and synchronously distributing the bidding questions to each VR all-in-one machine in the corresponding knowledge bidding group according to the bidding master device.
6. The method of any of claims 3-5, wherein the obtaining of guessing answers by the VR machine based on the answer topic feedback and determining an answer score for each VR machine corresponding user based on the guessing answers further comprises, after performing a knowledge answer service between corresponding users:
when the knowledge bidding service is finished, obtaining the bidding total score of the user corresponding to each VR all-in-one machine;
and determining the scores of the knowledge response groups according to the total response scores, sequencing the scores of the groups to obtain the scores of the response groups, and sending the scores of the response groups to each VR all-in-one machine for display.
7. The method according to any one of claims 2 to 5, wherein 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, the method further comprises:
acquiring position information sent by each connected terminal device, and rendering a contest answering 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 time intervals, and updating the coordinate information of the image of the user competing for answers in the game space according to the current position information.
8. A terminal connection device, characterized in that the device comprises:
the acquisition module is used for acquiring the 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 the address information to the corresponding VR all-in-one machine when the verification is passed;
and 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 with each VR all-in-one machine based on the feedback information.
9. A terminal connection device, characterized in that the device comprises: 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 of claims 1 to 7.
10. A storage medium, characterized in that the storage medium has 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 7.
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 true CN114666392A (en) 2022-06-24
CN114666392B 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
CN114666392B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
CN103842977A (en) Information processing system, information processing method, and program
JP2002210249A (en) Server device for net game, net game progress control method, and program for executing net game
JP2002158659A (en) Electronic conference establishing method and its apparatus
JP2011528834A (en) Apparatus and method for interworking between virtual reality services
KR20070082395A (en) Flash game invitation system and method using url
WO2017110009A1 (en) Video game processing program and video game processing system
WO2020146018A1 (en) Consent verification
CN105939245A (en) Method, system and apparatus for inviting users to participate in an interactive session
CN105847316A (en) Information sharing method and system, client and server
JP2013025777A (en) Information processing device, information processing method, and program
KR20200109562A (en) Usability testing method and system for online services
CN115408622A (en) Online interaction method and device based on meta universe and storage medium
JP2002312612A (en) Method and system for providing virtual space
CN111111182B (en) Game view angle determining method, device and server
CN114666392B (en) Terminal connection method, device, equipment and storage medium
JP2002099867A (en) Multiple scenario-by-role distributing system
JP2004242816A (en) Quiz provision system
US20220164825A1 (en) Information processing apparatus and system and non-transitory computer readable medium for outputting information to user terminals
KR100777178B1 (en) Method for internet multiuser game using personal computer and wireless terminals simultaneously
CN113099159A (en) Control method and device for teleconference
CN110809176A (en) Voting interaction method, device, server and storage medium
CN111880758B (en) Remote control method and server
KR102606834B1 (en) System and method for providing game service
CN115757748B (en) Method and device for controlling conversation with robot, computer equipment and storage medium
KR102701902B1 (en) Conference processing method and system using avatars

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