Disclosure of Invention
In order to solve the above problems, the present invention provides a method, an apparatus and a computer device for terminal access authentication.
In a first aspect of the embodiments of the present invention, a terminal access verification method is provided, which is applied to a computer device communicating with multiple virtual reality terminals, and the method at least includes:
periodically calling an information interaction record between each virtual reality terminal and each preset database, and determining an information interaction track corresponding to each virtual reality terminal according to the information interaction records; the preset database is used for storing information interaction records between the computer equipment and the virtual reality terminal, and the information interaction track comprises communication interaction records of the virtual reality terminal, the computer equipment and other virtual reality terminals;
performing relevance analysis on all communication interaction records in each information interaction track to obtain an analysis result and generating an information interaction distribution map in the computer equipment based on the analysis result, wherein the information interaction distribution map comprises a plurality of information interaction class nodes, each information interaction class node corresponds to different processing threads of the computer equipment, and the processing threads of the computer equipment are independent of each other;
when access requests sent by a plurality of target virtual reality terminals are received in a set time period, analyzing the access requests corresponding to the target virtual reality terminals aiming at each target virtual reality terminal to obtain verification characters carried in the access requests; verifying the verification character according to a pre-stored dynamic verification number to obtain a verification result; when the verification result represents that the access request is a legal request, sending a device parameter calling request to the virtual reality terminal and receiving the device parameter sent by the virtual reality terminal based on the device parameter calling request;
extracting the characteristics of each equipment parameter to obtain a parameter characteristic vector corresponding to each equipment parameter; mapping each parameter feature vector to the information interaction distribution map to obtain a mapping node corresponding to each parameter feature vector; and aiming at each mapping node, determining a target information interaction category node which meets a preset condition with the mapping node in the information interaction distribution map, and starting a processing thread corresponding to the target information interaction category node to carry out access verification on the virtual reality terminal corresponding to the mapping node.
In an alternative embodiment, the extracting features of each device parameter to obtain a parameter feature vector corresponding to each device parameter includes:
extracting an equipment parameter sequence from a parameter field region of each equipment parameter, acquiring parameter set medium distribution characteristics of each parameter set in the equipment parameter sequence and generating a parameter set medium distribution diagram; the parameter set middle profile contains the entire parameter set;
performing parameter continuity analysis on each parameter set to obtain a parameter continuity distribution track;
mapping the parameter set distribution diagram of the parameter continuity distribution track of each parameter set to a preset coordinate plane; the preset coordinate plane is used for determining a parameter distribution vector of each parameter set, a mapping point of the parameter continuity distribution track in the preset coordinate plane is a first coordinate point, and a mapping point of the parameter concentration distribution map in the preset coordinate plane is a second coordinate point;
determining a first coordinate point and a second coordinate point which have mapping association relation in the preset coordinate plane as a coordinate pair; determining whether the distance between each coordinate pair is less than or equal to a preset distance threshold; when the distance between each coordinate pair is smaller than or equal to the preset distance threshold, fusing the parameter continuity distribution track corresponding to each parameter set with the parameter set distribution graph corresponding to the parameter set to obtain a parameter distribution graph, and determining the parameter distribution vector corresponding to each parameter set according to the mapping result of the parameter distribution graph in the preset coordinate plane; and determining a parameter feature vector corresponding to each equipment parameter according to the parameter distribution vector corresponding to each parameter set in the equipment parameter sequence corresponding to each equipment parameter.
In an alternative implementation manner, the determining, for each mapping node, a target information interaction category node that meets a preset condition with the mapping node in the information interaction distribution map, and starting a processing thread corresponding to the target information interaction category node to perform access verification on the virtual reality terminal corresponding to the mapping node includes:
for each mapping node, determining a first target information interaction category node with the minimum distance to the mapping node in the information interaction distribution map;
judging whether a processing thread corresponding to the first target information interaction category node is in an occupied state or not;
when the processing thread corresponding to the first target information interaction category node is not in an occupied state, starting the processing thread corresponding to the first target information interaction category node to perform access verification on the virtual reality terminal corresponding to the mapping node;
when the processing thread corresponding to the first target information interaction category node is in an occupied state, determining a second target information interaction category node with a second minimum distance from the mapping node in the information interaction distribution map; and executing the step similar to the step of judging whether the processing thread corresponding to the first target information interaction category node is in the occupied state or not.
In an alternative implementation manner, the starting of the processing thread corresponding to the first target information interaction category node to perform access verification on the virtual reality terminal corresponding to the mapping node includes:
determining verification logic information of a processing thread corresponding to the first target information interaction category node, and requesting corresponding verification information from a virtual reality terminal corresponding to the mapping node according to the verification logic information;
after receiving verification information requested to be sent by a virtual reality terminal corresponding to the mapping node, importing the verification information into a processing thread corresponding to the first target information interaction category node and starting the processing thread corresponding to the first target information interaction category node to realize verification of the verification information to obtain a verification result; the verification information comprises communication record evaluation information, abnormal user behavior record information, equipment delivery information of the virtual reality terminal and positioning track information of the virtual reality terminal.
In an alternative embodiment, the method further comprises:
and when the verification result represents that the virtual reality terminal corresponding to the mapping node passes the verification, accessing the virtual reality terminal corresponding to the mapping node into the terminal access verification system where the computer equipment is located, and sending prompt information for prompting that the virtual reality terminal corresponding to the mapping node is accessed to other virtual reality terminals in the access verification system.
In an alternative embodiment, the determining, according to the information interaction record, an information interaction track corresponding to each virtual reality terminal includes:
acquiring a terminal identification field of each virtual reality terminal and each communication field corresponding to the terminal identification field of each virtual reality terminal from the information interaction record;
under the condition that the information interaction record contains a delayed communication list corresponding to the virtual reality terminal corresponding to the terminal identification field according to the terminal identification field, determining conversion weights between communication fields of the virtual reality terminal in a corresponding non-delayed communication list and communication fields of the virtual reality terminal in a corresponding delayed communication list according to the communication field of the virtual reality terminal in the corresponding delayed communication list and the field length of the communication field, and converting the communication fields of the virtual reality terminal in the corresponding non-delayed communication list and the communication fields in the corresponding delayed communication list, of which the conversion weights are greater than a preset value, into the delayed communication list corresponding to the virtual reality terminal;
under the condition that a non-delay communication list corresponding to the virtual reality terminal comprises a plurality of communication fields, determining conversion weights of the virtual reality terminal among the communication fields in the non-delay communication list corresponding to the virtual reality terminal according to the communication fields and the field lengths of the communication fields of the virtual reality terminal in the delay communication list corresponding to the virtual reality terminal, and screening the communication fields of the virtual reality terminal in the non-delay communication list corresponding to the virtual reality terminal according to the conversion weights among the communication fields;
setting a conversion direction for each communication field reserved by the screening according to the communication field and the field length of the communication field in the corresponding delay communication list of the virtual reality terminal, and converting each communication field reserved by the screening to a specified list position in the delay communication list corresponding to the virtual reality terminal to which the conversion direction is directed;
and determining the information interaction track corresponding to the virtual reality terminal according to the communication field and the field length thereof in the delayed communication list corresponding to the virtual reality terminal and the communication field and the field length thereof in the non-delayed communication list corresponding to the virtual reality terminal.
In an alternative embodiment, the performing of relevance analysis on all communication interaction records in each information interaction track results in analysis results and generating an information interaction distribution map in the computer device based on the analysis results:
aiming at each information interaction track, acquiring a communication keyword vector corresponding to each communication interaction record in the information interaction track, and determining a thread enabling identifier corresponding to each communication keyword vector in the information interaction track; vector values in the communication keyword vectors are represented by binary values, and the thread enabling identifier is an identifier which is preset in the computer equipment and is used for indicating to start a corresponding processing thread to realize communication interaction with a virtual reality terminal;
judging whether the information interaction track is a continuous track or a discontinuous track, if the information interaction track is the discontinuous track, entering a first processing logic, and if the information interaction track is the continuous track, entering a second processing logic;
under the first processing logic, determining the category information and the first category weight of the information interaction track according to the direction of the identification source code in each thread enabling identification and the effective time limit of the identification source code, and generating a first node packaging unit; the first node packaging unit comprises category information and first category weight of the information interaction track and a first node association degree generated based on the category information and the first category weight of the information interaction track;
under a second processing logic, according to the effective time limit of the identification source code in the thread enabling identification and the node topological unit obtained by preprocessing the node packaging unit generated under the first processing logic, performing template matching to determine a second class weight, and generating a second node packaging unit according to the second class weight and the class information; the second node packaging unit comprises category information and second category weight of the information interaction track and a second node association degree generated based on the category information and the second category weight of the information interaction track;
and based on the first node association degree or the second node association degree in the node packaging unit corresponding to each information interaction track, connecting all the node packaging units in the computer equipment to obtain an information interaction distribution map, and determining the information interaction type node corresponding to each node packaging unit in the information interaction distribution map according to the type information in each node packaging unit.
In a second aspect of the embodiments of the present invention, a terminal access verification apparatus is provided, which is applied to a computer device communicating with multiple virtual reality terminals, and the apparatus at least includes:
the track determining module is used for periodically calling an information interaction record between each virtual reality terminal and each preset database and determining an information interaction track corresponding to each virtual reality terminal according to the information interaction record; the preset database is used for storing information interaction records between the computer equipment and the virtual reality terminal, and the information interaction track comprises communication interaction records of the virtual reality terminal, the computer equipment and other virtual reality terminals;
the correlation analysis module is used for performing correlation analysis on all communication interaction records in each information interaction track to obtain an analysis result and generating an information interaction distribution map in the computer equipment based on the analysis result, the information interaction distribution map comprises a plurality of information interaction type nodes, each information interaction type node corresponds to different processing threads of the computer equipment, and the processing threads of the computer equipment are independent of each other;
the request verification module is used for analyzing the access request corresponding to the target virtual reality terminal to obtain verification characters carried in the access request aiming at each target virtual reality terminal when receiving the access requests sent by a plurality of target virtual reality terminals in a set time period; verifying the verification character according to a pre-stored dynamic verification number to obtain a verification result; when the verification result represents that the access request is a legal request, sending a device parameter calling request to the virtual reality terminal and receiving the device parameter sent by the virtual reality terminal based on the device parameter calling request;
the access verification module is used for extracting the characteristics of each equipment parameter to obtain a parameter characteristic vector corresponding to each equipment parameter; mapping each parameter feature vector to the information interaction distribution map to obtain a mapping node corresponding to each parameter feature vector; and aiming at each mapping node, determining a target information interaction category node which meets a preset condition with the mapping node in the information interaction distribution map, and starting a processing thread corresponding to the target information interaction category node to carry out access verification on the virtual reality terminal corresponding to the mapping node.
In a third aspect of the embodiments of the present invention, there is provided a computer device, including: a processor and a memory and bus connected to the processor; the processor and the memory are communicated with each other through the bus; the processor is configured to invoke the computer program in the memory to perform the above-mentioned terminal access authentication method.
In a fourth aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, on which a program is stored, which when executed by a processor implements the terminal access authentication method described above.
According to the terminal access verification method, the terminal access verification device and the computer equipment, firstly, the information interaction track corresponding to each virtual reality terminal is determined according to the periodically-called information interaction records, and the information interaction distribution map is generated based on the information interaction tracks. And secondly, acquiring the equipment parameters of the target virtual reality terminal when the access request of the target virtual reality terminal is determined to be legal so as to determine the parameter feature vector of each equipment parameter. And then analyzing the mapping node corresponding to each parameter feature vector in the information interaction distribution map by combining the information interaction category node. And finally, starting a processing thread corresponding to the target information interaction category node meeting the preset condition to carry out access verification on the virtual reality terminal corresponding to the mapping node. Therefore, different processing threads can be started for access verification according to the equipment parameters of the virtual reality terminals, and each virtual reality terminal can be accurately accessed and verified when access requests of a plurality of virtual reality terminals are received.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to better understand the technical solutions of the present invention, the following detailed descriptions of the technical solutions of the present invention are provided with the accompanying drawings and the specific embodiments, and it should be understood that the specific features in the embodiments and the examples of the present invention are the detailed descriptions of the technical solutions of the present invention, and are not limitations of the technical solutions of the present invention, and the technical features in the embodiments and the examples of the present invention may be combined with each other without conflict.
In order to solve the above technical problem, embodiments of the present invention provide a terminal access verification method, apparatus, and computer device, which can perform accurate access verification on each virtual reality terminal when receiving access requests of multiple virtual reality terminals.
Referring to fig. 1, a communication connection diagram of a terminal access authentication system 100 according to an embodiment of the present invention is shown, where the terminal access authentication system 100 may include a computer device 200 and a plurality of virtual reality terminals 300 that communicate with each other.
In the present embodiment, the computer device 200 may be understood as a virtual reality server for controlling and scheduling each of the virtual reality terminals 300 in communication, and the virtual reality terminals 300 may include many types, such as a simulated cockpit, a simulated flight deck, or a simulated diving deck, and the like, which is not limited herein.
In the terminal access authentication system 100, the computer device 200 can perform accurate access authentication on each virtual reality terminal 300 when receiving access requests of a plurality of virtual reality terminals 300, and to achieve the above object, fig. 2 illustrates a terminal access authentication method applied to the computer device 200 in fig. 1 according to an embodiment of the present invention, which can be specifically implemented as follows.
Step S21, periodically calling an information interaction record between each virtual reality terminal and each preset database, and determining an information interaction track corresponding to each virtual reality terminal according to the information interaction record; the preset database is used for storing information interaction records between the computer equipment and the virtual reality terminal, and the information interaction track comprises communication interaction records of the virtual reality terminal, the computer equipment and other virtual reality terminals.
In an embodiment, periodically retrieving the information interaction record with each virtual reality terminal from the preset database may be understood as: and the computer equipment calls the information interaction record between the computer equipment and each virtual reality terminal from a preset database according to a preset time interval.
Further, the preset time interval may be determined according to the number of virtual reality terminals that maintain communication with the computer device. For example, the greater the number of virtual reality terminals that are in communication with the computer device, the shorter the preset time interval. As another example, the smaller the number of virtual reality terminals that remain in communication with the computer device, the longer the preset time interval.
Step S22, performing relevance analysis on all communication interaction records in each information interaction trajectory to obtain an analysis result, and generating an information interaction distribution map in the computer device based on the analysis result, where the information interaction distribution map includes a plurality of information interaction class nodes, each information interaction class node corresponds to a different processing thread of the computer device, and each processing thread of the computer device is independent of each other.
Step S23, when receiving access requests sent by a plurality of target virtual reality terminals in a set time period, analyzing the access requests corresponding to the target virtual reality terminals for each target virtual reality terminal to obtain verification characters carried in the access requests; verifying the verification character according to a pre-stored dynamic verification number to obtain a verification result; and when the verification result represents that the access request is a legal request, sending a device parameter calling request to the virtual reality terminal and receiving the device parameters sent by the virtual reality terminal based on the device parameter calling request.
In this embodiment, the computer device sends the device parameter retrieving request to the virtual reality terminal before sending the device parameter retrieving request to the virtual reality terminal
The validity of the access information of the virtual reality terminal is verified, thereby ensuring the communication security of the entire access verification system 100.
Step S24, extracting the characteristics of each equipment parameter to obtain a parameter characteristic vector corresponding to each equipment parameter; mapping each parameter feature vector to the information interaction distribution map to obtain a mapping node corresponding to each parameter feature vector; and aiming at each mapping node, determining a target information interaction category node which meets a preset condition with the mapping node in the information interaction distribution map, and starting a processing thread corresponding to the target information interaction category node to carry out access verification on the virtual reality terminal corresponding to the mapping node.
In this embodiment, the preset condition may be: the distance between the mapping node and the first target information interaction category node is the minimum value, and the following steps can be also included: and when the processing thread corresponding to the first target information interaction category node with the shortest distance between the mapping nodes is in an occupied state, the distance between the mapping nodes and the second target information interaction category node is the next smallest value.
It can be understood that, by the method described in the above steps S21-S24, the information interaction track corresponding to each virtual reality terminal is determined according to the periodically retrieved information interaction records, and the information interaction distribution map is generated based on the information interaction track. And secondly, acquiring the equipment parameters of the target virtual reality terminal when the access request of the target virtual reality terminal is determined to be legal so as to determine the parameter feature vector of each equipment parameter. And then analyzing the mapping node corresponding to each parameter feature vector in the information interaction distribution map by combining the information interaction category node. And finally, starting a processing thread corresponding to the target information interaction category node meeting the preset condition to carry out access verification on the virtual reality terminal corresponding to the mapping node. Therefore, different processing threads can be started for access verification according to the equipment parameters of the virtual reality terminals, and each virtual reality terminal can be accurately accessed and verified when access requests of a plurality of virtual reality terminals are received.
Further, in step S21, the information interaction trajectory corresponding to each virtual reality terminal is determined according to the information interaction record, which may specifically be implemented by the following sub-steps.
Step S211, acquiring the terminal identification field of each virtual reality terminal and each communication field corresponding to the terminal identification field of each virtual reality terminal from the information interaction record.
Step S212, under the condition that the information interaction record contains the delayed communication list corresponding to the virtual reality terminal corresponding to the terminal identification field according to the terminal identification field, determining the conversion weight between each communication field of the virtual reality terminal in the corresponding non-delayed communication list and each communication field of the virtual reality terminal in the corresponding delayed communication list according to the communication field of the virtual reality terminal in the corresponding delayed communication list and the field length thereof, and converting the communication field of the virtual reality terminal in the corresponding non-delayed communication list and the communication field of the virtual reality terminal in the corresponding delayed communication list, wherein the conversion weight between the communication field of the virtual reality terminal in the corresponding delayed communication list and the communication field of the virtual reality terminal in the corresponding delayed communication list is greater than a preset value, into the delayed communication list corresponding to the virtual reality terminal.
Step S213, when the non-delayed communication list corresponding to the virtual reality terminal includes a plurality of communication fields, determining a conversion weight between the communication fields of the virtual reality terminal in the non-delayed communication list corresponding to the virtual reality terminal according to the communication fields of the virtual reality terminal in the delayed communication list corresponding to the virtual reality terminal and the field lengths thereof, and screening the communication fields of the virtual reality terminal in the non-delayed communication list corresponding to the virtual reality terminal according to the conversion weight between the communication fields.
Step S214, setting a conversion direction for each communication field reserved by the filtering according to the communication field and the field length of the virtual reality terminal in the corresponding delay communication list, and converting each communication field reserved by the filtering to a specified list position in the delay communication list corresponding to the virtual reality terminal to which the conversion direction is directed.
Step S215, determining the information interaction track corresponding to the virtual reality terminal according to the communication field and the field length thereof in the delayed communication list corresponding to the virtual reality terminal and the communication field and the field length thereof in the non-delayed communication list corresponding to the virtual reality terminal.
Through the method described in the above steps S211 to S215, the communication fields of each virtual reality terminal in the delayed communication list and in the non-delayed communication list can be analyzed, and the communication fields in the delayed communication list and in the non-delayed communication list are converted according to the analysis result, so that the information interaction trajectory corresponding to each virtual reality terminal is determined according to the communication field and the field length thereof in the delayed communication list after conversion, and the communication field and the field length thereof in the non-delayed communication list. Therefore, the information interaction track corresponding to each virtual reality terminal can be accurately determined.
In specific implementation, in order to ensure that the computer device can perform parallel access verification on different virtual reality terminals from different angles, the relevance between the different virtual reality terminals needs to be analyzed, and then an information interaction distribution diagram is determined, so that different threads started by the computer device when each virtual reality terminal is in communication with the computer device are determined. For this purpose, in step S22, the performing relevance analysis on all the communication interaction records in each information interaction track to obtain an analysis result, and generating an information interaction distribution map in the computer device based on the analysis result may specifically include the method described in the following steps.
Step S221, aiming at each information interaction track, obtaining a communication keyword vector corresponding to each communication interaction record in the information interaction track, and determining a thread enabling identifier corresponding to each communication keyword vector in the information interaction track; vector values in the communication keyword vectors are represented by binary values, and the thread enabling identifier is an identifier which is preset in the computer equipment and is used for indicating to start a corresponding processing thread to realize communication interaction with the virtual reality terminal.
Step S222, judging whether the information interaction track is a continuous track or a discontinuous track, if the information interaction track is the discontinuous track, entering a first processing logic, and if the information interaction track is the continuous track, entering a second processing logic.
Step S223, under the first processing logic, according to the direction of the identification source code in each thread enabling identification and the effective time limit of the identification source code, determining the category information and the first category weight of the information interaction track, and generating a first node packaging unit; the first node packaging unit comprises category information and first category weight of the information interaction track and a first node association degree generated based on the category information and the first category weight of the information interaction track.
Step S224, under a second processing logic, according to the effective time limit of the identification source code in the thread enabling identification and the node topological unit obtained by preprocessing the node packaging unit generated under the first processing logic, performing template matching to determine a second class weight, and generating a second node packaging unit according to the second class weight and the class information; the second node packaging unit comprises category information and second category weight of the information interaction track and a second node association degree generated based on the category information and the second category weight of the information interaction track.
Step S225, based on the first node association degree or the second node association degree in the node packaging unit corresponding to each information interaction track, connecting all the node packaging units in the computer device to obtain an information interaction distribution map, and determining an information interaction category node corresponding to each node packaging unit in the information interaction distribution map according to category information in each node packaging unit.
It can be understood that through the contents described in the above steps S221 to S225, the association between different virtual reality terminals can be analyzed, and an information interaction distribution diagram is further determined, so as to determine different threads enabled by the computer device when each virtual reality terminal is in communication with the computer device, so as to ensure that the computer device can perform parallel access verification on different virtual reality terminals from different angles.
In a specific implementation, in order to accurately determine the parameter feature vector corresponding to each device parameter to ensure the accuracy of the subsequent mapping process, in step S24, the performing feature extraction on each device parameter to obtain the parameter feature vector corresponding to each device parameter may specifically include the method described in the following steps.
Step S2411, extracting an equipment parameter sequence from the parameter field area of each equipment parameter, acquiring parameter set medium distribution characteristics of each parameter set in the equipment parameter sequence and generating a parameter set medium distribution diagram; the parameter set middle profile includes the entire parameter set.
Step S2412, performing parameter continuity analysis on each parameter set to obtain a parameter continuity distribution trajectory.
Step S2413, mapping the parameter set distribution diagram of the parameter continuity distribution track of each parameter set to a preset coordinate plane; the preset coordinate plane is used for determining parameter distribution vectors of each parameter set, a mapping point of the parameter continuity distribution track in the preset coordinate plane is a first coordinate point, and a mapping point of the parameter concentration distribution map in the preset coordinate plane is a second coordinate point.
Step S2414, determining a first coordinate point and a second coordinate point which have a mapping association relationship in the preset coordinate plane as a coordinate pair; determining whether the distance between each coordinate pair is less than or equal to a preset distance threshold; when the distance between each coordinate pair is smaller than or equal to the preset distance threshold, fusing the parameter continuity distribution track corresponding to each parameter set with the parameter set distribution graph corresponding to the parameter set to obtain a parameter distribution graph, and determining the parameter distribution vector corresponding to each parameter set according to the mapping result of the parameter distribution graph in the preset coordinate plane; and determining a parameter feature vector corresponding to each equipment parameter according to the parameter distribution vector corresponding to each parameter set in the equipment parameter sequence corresponding to each equipment parameter.
It can be understood that based on the descriptions in the above steps S2411 to S2414, the parameter feature vector corresponding to each device parameter can be accurately determined, so as to ensure the accuracy of the subsequent mapping process.
Further, in step S24, for each mapping node, a target information interaction category node that meets a preset condition with the mapping node is determined in the information interaction distribution map, and a processing thread corresponding to the target information interaction category node is started to perform access verification on the virtual reality terminal corresponding to the mapping node, which specifically includes the content described in the following steps.
Step S2421, aiming at each mapping node, determining a first target information interaction category node with the minimum distance from the mapping node in the information interaction distribution map.
Step S2422, determining whether the processing thread corresponding to the first target information interaction category node is in an occupied state.
Step S2423, when the processing thread corresponding to the first target information interaction category node is not in an occupied state, starting the processing thread corresponding to the first target information interaction category node to perform access verification on the virtual reality terminal corresponding to the mapping node.
Step S2424, when the processing thread corresponding to the first target information interaction category node is in an occupied state, determining a second target information interaction category node of which the distance from the mapping node is a second minimum value in the information interaction distribution map; and executing the step similar to the step of judging whether the processing thread corresponding to the first target information interaction category node is in the occupied state or not.
It can be understood that through the contents described in the above steps S2421 to S2424, different processing threads can be started according to the device parameters of the virtual reality terminals for access authentication, so that each virtual reality terminal is accurately authenticated when access requests of multiple virtual reality terminals are received. And when the corresponding processing threads are occupied, the processing threads corresponding to the access verification modes of different virtual reality terminals can be searched one by one to realize timely access verification.
On the basis, in step S2423, the starting of the processing thread corresponding to the first target information interaction category node to perform access verification on the virtual reality terminal corresponding to the mapping node may specifically include the following contents.
(1) And determining verification logic information of the processing thread corresponding to the first target information interaction category node, and requesting corresponding verification information from the virtual reality terminal corresponding to the mapping node according to the verification logic information.
(2) After receiving verification information requested to be sent by a virtual reality terminal corresponding to the mapping node, importing the verification information into a processing thread corresponding to the first target information interaction category node and starting the processing thread corresponding to the first target information interaction category node to realize verification of the verification information to obtain a verification result; the verification information comprises communication record evaluation information, abnormal user behavior record information, equipment delivery information of the virtual reality terminal and positioning track information of the virtual reality terminal.
On the basis, after determining the verification result for characterizing the virtual reality terminal corresponding to the mapping node, the method may further include the following steps: and when the verification result represents that the virtual reality terminal corresponding to the mapping node passes the verification, accessing the virtual reality terminal corresponding to the mapping node into the terminal access verification system where the computer equipment is located, and sending prompt information for prompting that the virtual reality terminal corresponding to the mapping node is accessed to other virtual reality terminals in the access verification system.
It can be understood that, through the above contents, the computer device can send prompt information for other virtual reality terminals in the terminal access authentication system when accessing the virtual reality terminal, so as to ensure timely information intercommunication of the whole terminal access authentication system, thereby ensuring that the whole terminal access authentication system can smoothly operate cooperatively after accessing a new virtual reality terminal.
In an alternative embodiment, in order to ensure stable operation of the entire virtual access authentication system after accessing the virtual reality terminal, the method may further include the following.
And step S31, acquiring a communication stability curve of each virtual reality terminal in the terminal access verification system.
And step S32, segmenting each communication stability curve to obtain a plurality of continuous curve segments corresponding to each communication stability curve.
Step S33, determining a slope difference value between every two adjacent curve segments corresponding to each communication stability curve, and determining that a communication stability fluctuation state exists between the two adjacent curve segments when the slope difference value is greater than a set difference value; the slope of each curve segment is used to characterize the corresponding communication stability of the curve segment.
Step S34, determining the number of communication stability fluctuation states in each communication stability curve, and for each communication stability curve, if the number of communication stability fluctuation states in the communication stability curve reaches a preset number, determining that a virtual reality terminal corresponding to the communication stability curve has stability fluctuation.
And step S35, generating a corresponding communication stability adjustment strategy according to the counted total number of the virtual reality terminals with stability fluctuation, and issuing the communication stability adjustment strategy to each virtual reality terminal in the terminal access verification system.
In this embodiment, the communication stability adjustment policy is used to adjust the communication stability of each virtual reality terminal in the terminal access authentication system, such as adjusting an information transceiving frequency and switching an information transceiving channel, and is not limited herein.
It can be understood that, through the contents described in the above steps S31-S35, stable operation of the entire virtual access authentication system after accessing the virtual reality terminal can be ensured, and fluctuation of communication stability of the virtual reality terminal can be avoided.
On the basis of the above, please refer to fig. 3, which is a block diagram of a terminal access authentication apparatus 201 according to an embodiment of the present invention, where the terminal access authentication apparatus 201 may include the following modules.
A track determining module 2011, configured to periodically retrieve an information interaction record between the virtual reality terminal and each virtual reality terminal from a preset database, and determine an information interaction track corresponding to each virtual reality terminal according to the information interaction record; the preset database is used for storing information interaction records between the computer equipment and the virtual reality terminal, and the information interaction track comprises communication interaction records of the virtual reality terminal, the computer equipment and other virtual reality terminals;
the association analysis module 2012 is configured to perform association analysis on all communication interaction records in each information interaction track to obtain an analysis result, and generate an information interaction distribution map in the computer device based on the analysis result, where the information interaction distribution map includes a plurality of information interaction class nodes, each information interaction class node corresponds to a different processing thread of the computer device, and each processing thread of the computer device is independent of each other;
the request verification module 2013 is configured to, when receiving access requests sent by multiple target virtual reality terminals within a set time period, analyze, for each target virtual reality terminal, an access request corresponding to the target virtual reality terminal to obtain verification characters carried in the access request; verifying the verification character according to a pre-stored dynamic verification number to obtain a verification result; when the verification result represents that the access request is a legal request, sending a device parameter calling request to the virtual reality terminal and receiving the device parameter sent by the virtual reality terminal based on the device parameter calling request;
the access verification module 2014 is used for performing feature extraction on each equipment parameter to obtain a parameter feature vector corresponding to each equipment parameter; mapping each parameter feature vector to the information interaction distribution map to obtain a mapping node corresponding to each parameter feature vector; and aiming at each mapping node, determining a target information interaction category node which meets a preset condition with the mapping node in the information interaction distribution map, and starting a processing thread corresponding to the target information interaction category node to carry out access verification on the virtual reality terminal corresponding to the mapping node.
An embodiment of the present invention further provides a computer-readable storage medium, on which a program is stored, where the program, when executed by a processor, implements the terminal access authentication method described above.
The embodiment of the invention also provides a processor, wherein the processor is used for running the program, and the program executes the terminal access verification method when running.
Referring to fig. 4, the embodiment of the invention further provides a computer apparatus 200, which includes a processor 211, a memory 212 connected to the processor 211, and a bus 213. Wherein, the processor 211 and the memory 212 are communicated with each other via a bus 213. The processor 211 is configured to call program instructions in the memory 212 to perform the above-described terminal access authentication method.
To sum up, according to the terminal access verification method, device and computer equipment provided by the embodiments of the present invention, an information interaction trajectory corresponding to each virtual reality terminal is determined according to periodically retrieved information interaction records, and an information interaction distribution map is generated based on the information interaction trajectory.
And secondly, acquiring the equipment parameters of the target virtual reality terminal when the access request of the target virtual reality terminal is determined to be legal so as to determine the parameter feature vector of each equipment parameter.
And then analyzing the mapping node corresponding to each parameter feature vector in the information interaction distribution map by combining the information interaction category node.
And finally, starting a processing thread corresponding to the target information interaction category node meeting the preset condition to carry out access verification on the virtual reality terminal corresponding to the mapping node.
Therefore, different processing threads can be started for access verification according to the equipment parameters of the virtual reality terminals, and each virtual reality terminal can be accurately accessed and verified when access requests of a plurality of virtual reality terminals are received.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or cloud computing device 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 cloud computing device. 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 cloud computer device that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.