Virtual reality game interaction method and device, equipment and storage medium
By generating the optimal check-in path and configuring virtual character interactive scenes, the problems of incomplete display and poor interactivity in AR technology were solved, and the integrity and accuracy of cultural heritage display were improved.
Patent Information
- Application Number
- CN202510818446.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-18
- Publication Date
- 2025-09-16
AI Technical Summary
Existing AR technology is limited to the digital presentation of a single exhibit in cultural heritage display, resulting in insufficient display completeness, poor accuracy and interactivity.
By obtaining the user's current location, generating the optimal check-in path and check-in guidance information, configuring virtual character interactive virtual scenes, and guiding the user to the next required check-in location after completing the task, until all tasks are completed.
The completeness and accuracy of cultural heritage displays have been improved, and users can fully experience all display points and gain relevant knowledge through task verification.
Smart Images

Figure CN120643898A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and in particular to a virtual reality game interaction method, device, equipment, and storage medium. Background Art
[0002] With the rapid development of digital technology, the inheritance and dissemination of cultural heritage are facing an urgent need for innovative models. Traditional museum displays often rely on one-way information output, with visitors passively receiving information through display panels, physical objects, or explanations. This model is particularly inadequate for abstract cultural forms such as intangible cultural heritage. For example, dynamic cultural forms such as traditional handicrafts, folk performances, and oral traditions are difficult to convey through static displays. This makes it difficult for visitors to form an immersive cognitive experience and truly understand their cultural connotations.
[0003] In recent years, with the gradual maturity of augmented reality (AR) technology, cultural institutions have begun exploring new avenues for technological empowerment. AR technology overlays virtual information onto real-world scenes, providing visitors with a new interactive experience. For example, some museums have experimented with using AR to allow visitors to "revive" static artifacts through mobile phones or tablets, viewing dynamic presentations or historical context. However, this type of AR display technology is mostly limited to the digital presentation of a single exhibit, resulting in incomplete displays and limited accuracy and interactivity. Summary of the Invention
[0004] The present application provides a virtual reality game interaction method, device, equipment and storage medium, which solves the problem that when displaying information through AR in existing technology culture, it is limited to the digital presentation of a single exhibit, the display is insufficiently complete, and the accuracy and interactivity are poor. It optimizes the information display method, and the display is more accurate and complete, and more interactive.
[0005] In a first aspect, the present application provides a virtual reality game interaction method, comprising: Obtaining the user's current location, generating an optimal check-in path based on the current location and a preset game check-in map, and generating check-in guidance information based on the optimal check-in path; wherein the check-in guidance information includes a list of required check-in locations to visit in order and path navigation instructions; When it is detected that the user arrives at the first mandatory check-in location in the visit order list, configuring an interactive virtual scene and a check-in task for the virtual character associated with the user based on scene information corresponding to the first mandatory check-in location; When it is recognized that the virtual character completes the check-in task in the interactive virtual scene, based on the path navigation guidance, the user is guided to the second required check-in location in the visit sequence list to perform the check-in task in the corresponding interactive virtual scene until the check-in tasks of all the required check-in locations recorded in the visit sequence list are completed.
[0006] Optionally, before obtaining the user's current location, the method further includes: Receive the custom name and image restriction parameters submitted by the user through the game login request; If the character length check of the custom name is successful and the custom name does not contain sensitive words, the corresponding 3D model component is retrieved from a preset character resource library based on the image restriction parameters; The 3D model components are assembled into a complete virtual character according to a preset character part assembly sequence, and the complete virtual character is associated with the user.
[0007] Optionally, generating an optimal check-in path based on the current location and a preset game check-in map includes: Obtaining the coordinate information and path connection relationship of each required check-in location in the preset game check-in map; Calculate a traversal route covering all required check-in locations based on the coordinate information of the user's current location, the coordinate information of the required check-in locations, and the path connection relationship; The shortest traversal route is determined as the optimal check-in path.
[0008] Optionally, configuring the interactive virtual scene of the virtual character associated with the user based on the scene information corresponding to the first required check-in location includes: Extracting scene information corresponding to the first required check-in location from a preset database; wherein the scene information includes: scene virtual elements, objects that the virtual character can interact with, and interaction information; Generate virtual scene configuration parameters based on the scene information; wherein the scene configuration parameters include: display positions and attributes of virtual elements in the scene, and behavior rules between the virtual character and the interactive object; Configuration is performed according to the scene configuration parameters to obtain an interactive virtual scene of the virtual character.
[0009] Optionally, identifying a situation in which the virtual character completes the check-in task in the interactive virtual scene includes: Acquiring the interaction information corresponding to the user and the interactive virtual scene; Verify whether the interaction information complies with preset punch-in task rules; wherein the preset punch-in task rules include interaction duration range, interaction action requirements, and interaction sequence requirements; In the case where the interactive information complies with the preset clock-in task rules, the clock-in task is marked as completed and a timestamp of task completion is generated.
[0010] Optionally, verifying whether the interactive information complies with preset check-in task rules includes: Calculating the similarity between the interactive action information of the user in the interactive virtual scene and the interactive action requirement, and determining that the interactive information meets the first rule of the preset check-in task rules when the similarity exceeds a preset threshold; Obtaining the actual interaction time of the user completing the interactive action information, and if the actual interaction time falls within the interaction time range, determining that the interaction information meets the second rule of the preset check-in task rules; Obtaining an actual interactive action sequence list of the user executing the interactive action information, and if the actual interactive action sequence list is consistent with the order in the interactive sequence requirement, determining that the interactive information complies with the third rule in the preset check-in task rules; When the first rule, the second rule and the third rule are all met, it is determined that the interactive information meets the preset check-in task rules.
[0011] Optionally, also include: When the virtual character completes the punch-in task corresponding to the virtual scene, adding the game skill parameter corresponding to the virtual scene to the skill field of the virtual character; Counting the check-in locations of the virtual character, and determining whether the user has completed the check-in task on the preset game check-in map based on the check-in locations and the required check-in locations; When the user completes the check-in task on the preset game check-in map, the game process ends and the virtual character is cleared.
[0012] In a second aspect, the present application provides a virtual reality game interaction device, comprising: An information generation module, configured to obtain the user's current location, generate an optimal check-in path based on the current location and a preset game check-in map, and generate check-in guidance information based on the optimal check-in path; wherein the check-in guidance information includes a list of required check-in locations to visit in order and path navigation instructions; A configuration module, configured to configure an interactive virtual scene and a check-in task for the virtual character associated with the user based on scene information corresponding to the first required check-in location when detecting that the user has arrived at the first required check-in location in the visit order list; The guidance module is used to guide the user to the second required check-in location in the access sequence list to perform the check-in task in the corresponding interactive virtual scene based on the path navigation guidance when it is recognized that the virtual character has completed the check-in task in the interactive virtual scene, until the check-in tasks of the interactive virtual scenes of all required check-in locations recorded in the access sequence list are completed.
[0013] In a third aspect, the present application provides a virtual reality game interaction device, comprising: one or more processors; A memory stores one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement a virtual reality game interaction method as described in the first aspect.
[0014] In a fourth aspect, the present application provides a storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to perform a virtual reality game interaction method as described in the first aspect.
[0015] In summary, compared with the prior art, the effective effects brought about by the technical solution provided by this application include at least: In the present application, by obtaining the user's current location, an optimal check-in path is generated based on the current location and a preset game check-in map, and check-in guidance information is generated based on the optimal check-in path; wherein, the check-in guidance information includes a visit sequence list of required check-in locations and path navigation guidance; when it is detected that the user arrives at the first required check-in location in the visit sequence list, the interactive virtual scene and check-in task of the virtual character associated with the user are configured based on the scene information corresponding to the first required check-in location; when it is recognized that the virtual character completes the check-in task in the interactive virtual scene, based on the path navigation guidance, the user is guided to the second required check-in location in the visit sequence list to perform the check-in task in the corresponding interactive virtual scene, until the check-in tasks of the interactive virtual scenes of all required check-in locations recorded in the visit sequence list are completed. In the above-mentioned technical means, by obtaining the user's current location and combining it with the preset game check-in map, the optimal check-in path and check-in guidance information are generated, which includes a list of must-check-in locations to visit in order and path navigation guidance, providing users with a complete cultural experience route, avoiding the problem of scattered and incomplete display content in the existing technology, and improving the completeness of the display; after recognizing that the virtual character has completed the check-in task, the user is guided to the next must-check-in location based on the path navigation guidance to perform a new interactive task until all tasks are completed. This process not only ensures that the user can fully experience all cultural heritage display points, but also accurately judges whether the user has understood the relevant cultural heritage knowledge through task completion verification, further improving the accuracy and interactivity of the display. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a flowchart of a virtual reality game interaction method provided by an embodiment of the present application; Figure 2 This is a flowchart of creating a virtual character provided by an embodiment of the present application; Figure 3 This is a flowchart of generating an optimal punch-in path provided by an embodiment of the present application; Figure 4 This is a flowchart of configuring an interactive virtual scene of a virtual character provided by an embodiment of the present application; Figure 5 This is a flowchart of an embodiment of the present application for identifying the completion of a punch-in task; Figure 6 This is a flowchart of an embodiment of the present application for verifying compliance with preset clock-in task rules; Figure 7 This is a flowchart of the game ending process provided by an embodiment of the present application; Figure 8 This is a structural diagram of a virtual reality game interaction device provided in an embodiment of the present application; Figure 9 This is a structural diagram of a virtual reality game interaction device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] To further clarify the objectives, technical solutions, and advantages of this application, specific embodiments of the present application are described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are intended only to illustrate this application and are not intended to limit the present application. It should also be noted that, for ease of description, the drawings only illustrate portions relevant to this application, not all of them. Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts depict the various operations (or steps) as sequential processes, many of the operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. A process may terminate upon completion of its operations, but may also have additional steps not shown in the accompanying drawings. A process may correspond to a method, function, procedure, subroutine, subprogram, and the like.
[0018] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0019] Existing digital displays of cultural heritage typically focus on one-way information output, with viewers passively accepting cultural content through display panels, physical objects, or explanations. This static display model is particularly ineffective in conveying the dynamic characteristics of intangible cultural heritage. For example, the operational processes of traditional handicrafts, the spatial narratives of folk performances, and the contextual dependencies of oral traditions are difficult to effectively convey through physical displays or textual descriptions, making it difficult for viewers to form an immersive cultural understanding. While the recent rise of augmented reality (AR) technology has provided a new path for revitalizing cultural relics, for example, some museums have experimented with using AR to allow viewers to "revive" static cultural relics through mobile phones or tablets, viewing dynamic demonstrations or historical context. However, this type of AR display technology is mostly limited to the digital presentation of a single exhibit, resulting in incomplete displays and poor accuracy and interactivity.
[0020] In order to solve the technical problems in the above-mentioned existing technologies that the display technology through AR is mostly limited to the digital presentation of a single exhibit, and its display is insufficiently complete and has poor accuracy and interactivity, this embodiment provides a virtual reality game interaction method. By obtaining the user's current location and combining it with a preset game check-in map, an optimal check-in path and check-in guidance information including a list of visit orders for must-check-in locations and path navigation instructions are generated, providing users with a complete cultural experience route, avoiding the problem of scattered and incomplete display content in the existing technology, and improving the completeness of the display; after recognizing that the virtual character has completed the check-in task, the user is guided to the next must-check-in location based on the path navigation guidance to perform a new interactive task until all tasks are completed. This process not only ensures that the user can fully experience all cultural heritage display points, but also accurately judges whether the user has understood the relevant cultural heritage knowledge through task completion verification, further improving the accuracy and interactivity of the display.
[0021] The virtual reality game interaction method provided in this embodiment can be executed by a virtual reality game interaction device. The virtual reality game interaction device can be implemented by software and / or hardware. The virtual reality game interaction device can be composed of two or more physical entities or one physical entity.
[0022] The virtual reality game interaction device is installed with at least one operating system, including but not limited to Android, Linux, and Windows. The virtual reality game interaction device can install at least one application based on the operating system. The application can be a native application of the operating system or an application downloaded from a third-party device or server. In this embodiment, the virtual reality game interaction device has at least one application capable of executing the virtual reality game interaction method.
[0023] The technical solutions provided by the embodiments of this application are described in detail below with reference to the accompanying drawings.
[0024] Figure 1 A flowchart of a virtual reality game interaction method provided by an embodiment of the present application is given. Figure 1 , the virtual reality game interaction method specifically includes: S110. Obtain the user's current location, generate an optimal check-in path based on the current location and a preset game check-in map, and generate check-in guidance information based on the optimal check-in path; wherein the check-in guidance information includes a visit order list of required check-in locations and path navigation instructions.
[0025] In the embodiment of the present application, the user's geographic coordinates in real space can be obtained through positioning technologies such as GPS, Bluetooth beacon or Wi-Fi of the mobile terminal, which are used as the user's current location.
[0026] Before obtaining the user's current location, the embodiment of the present application also includes: receiving the user's game login request, and creating a virtual character corresponding to the user based on the custom name and image restriction parameters in the game login request. Figure 2 This is a flowchart of creating a virtual character provided by an embodiment of the present application. Figure 2 As shown, the steps of creating a virtual character specifically include S1101-S1103: S1101: Receive a custom name and image restriction parameter submitted by a user through a game login request.
[0027] Among them, the image restriction parameters in the embodiment of the present application can be understood as the restriction conditions on the appearance characteristics of the virtual character submitted by the user in the login request. Optionally, the image restriction parameters may include the character's gender, hairstyle, body shape, clothing style, etc.
[0028] For example, the user can use a mobile terminal to scan the QR code set in the display area (such as a museum, cultural exhibition hall or intangible cultural heritage exhibition area). After the user scans the QR code, the mobile terminal will automatically jump to the game login interface. In the interface that jumps out of the mobile terminal, enter a customized character name (such as "Intangible Cultural Heritage Guardian" or "Cultural Explorer", etc.) and set the image restriction parameters of the virtual character.
[0029] S1102: If the character length check of the custom name is successful and the custom name does not contain sensitive words, the corresponding 3D model component is retrieved from a preset character resource library based on the image restriction parameters.
[0030] Furthermore, the custom name and image restriction parameters need to be parsed, and after parsing, it is checked whether the character length of the custom name is within a preset range (for example, 6-12 characters) and whether there are sensitive words.
[0031] Specifically, detecting whether there are sensitive words in a custom name includes: first, preprocessing the custom name entered by the user to remove special characters such as spaces, punctuation marks, etc.; uniformly converting the text into a specific encoding format to avoid inaccurate sensitive word detection due to encoding problems; comparing the preprocessed text with each sensitive word in the pre-built sensitive word library one by one to determine whether there is a match. If there is a match, then there are sensitive words in the user's custom name.
[0032] If the custom name fails character length verification or contains sensitive words, a prompt message will be sent to the user indicating that it does not meet the preset standards. For example, if the custom name fails character length verification or contains sensitive words, a prompt message will be sent to the user. The prompt message will clearly indicate the problem, such as "Name length exceeds the limit, please enter a name of 6-12 characters" or "Name contains sensitive words, please re-enter." The prompt message will be displayed to the user through the mobile terminal user interface. The user can modify the name according to the prompt message and resubmit the request.
[0033] In the embodiments of the present application, the preset character resource library is a database that stores various virtual character appearance components, typically categorized by the character's appearance characteristics, for example: gender classification: male, female, and neutral characters; hairstyle classification: short hair, long hair, curly hair, straight hair, etc.; body type classification: thin, standard, strong, etc.; clothing style classification: traditional clothing, modern clothing, science fiction style, casual style, etc. Each category in the preset character resource library stores multiple 3D model components, which can be combined according to user needs to create a personalized virtual character. For example, if a user selects "female character," "long hair," "thin type," and "traditional clothing" as the appearance characteristics of their virtual character, upon receiving these image restriction parameters, they will first be parsed to extract the user-specified appearance feature categories (such as gender, hairstyle, body type, clothing, etc.). Then, based on the appearance feature categories, the preset character resource library will be screened to find 3D model components that match the user's needs.
[0034] S1103: Assemble the 3D model components into a complete virtual character according to a preset character part assembly sequence, and associate the complete virtual character with the user.
[0035] Among them, the character part assembly order refers to the pre-set order of combining 3D model components according to different parts of the character when creating a virtual character. That is, it can be understood as the established order of which part of the character's body is combined first and which part is combined next.
[0036] In the embodiment of the present application, the character parts are assembled in the same order as the virtual character's head, body, and clothing. To ensure the coordination of the assembly, the head and body proportions are verified to ensure they meet preset aesthetic standards. If not, the proportions are adjusted to achieve a more coordinated appearance. The assembly sequence in the embodiment of the present application ensures that each component is assembled based on the results of the previous step, thereby achieving a coordinated and consistent character appearance.
[0037] In the embodiment of the present application, personalized virtual characters are created based on custom names and image restriction parameters to meet personalized needs, enhance the user's sense of identification and substitution with the game character, and enable a deeper integration into the intangible cultural heritage theme scene.
[0038] The optimal check-in path in the embodiment of this application is the most reasonable route calculated based on the user's current location and a pre-set game check-in map using a specific algorithm or rule. This ensures that the user reaches all the required check-in locations on the check-in map in the most efficient and convenient manner, completing the corresponding check-in task.
[0039] Optional, Figure 3This is a flow chart of generating the optimal punch-in path provided by the embodiment of the present application. Figure 3 As shown, the steps of generating the optimal punch-in path specifically include S1104-S1106: S1104: Obtain the coordinate information and path connection relationship of each required check-in location in the preset game check-in map.
[0040] Required check-in locations refer to specific locations that users must reach in order to complete a check-in task. The path connectivity between required check-in locations refers to the available, feasible paths between them within the pre-set game check-in map, as well as the interconnections between these paths. Optionally, path connectivity can include the direction, length, and connectivity of these paths. Connectivity refers to the existence of a path directly from one required check-in location to another. For example, if there is a walkable path between locations A and B, then locations A and B are connected.
[0041] S1105 : Calculate a traversal route covering all required check-in locations based on the coordinate information of the user's current location, the coordinate information of the required check-in locations, and the path connection relationship.
[0042] Specifically, a graph model is constructed based on the locations of required checkpoints and their path connections. The current location and required checkpoints are used as nodes, and the accessible path connections are used as edges. Based on this graph model, all possible traversal route combinations are generated, ensuring that each traversal route covers all required checkpoints. Finally, the total length of each traversal route is calculated.
[0043] S1106: Determine the shortest traversal route as the optimal check-in path.
[0044] This application uses the user's current location and a pre-set game check-in map to generate an optimal check-in route and guidance information. This route planning covers all required check-in locations and provides navigational guidance to ensure users efficiently complete their exploration tasks. Compared to traditional exhibition methods, this application's route planning mechanism significantly prevents users from getting lost in the exhibition or missing important cultural elements.
[0045] S120. When it is detected that the user arrives at the first mandatory check-in location in the visit order list, configure an interactive virtual scene and a check-in task for the virtual character associated with the user based on scene information corresponding to the first mandatory check-in location.
[0046] In this embodiment of the application, an interactive virtual scene refers to an interactive virtual environment space constructed for the user's associated virtual character based on the scene information corresponding to the current required check-in location. A check-in task is a series of specific activities or operations that the user needs to complete at the required check-in location in order to check in at that location.
[0047] Optional, Figure 4 This is a flow chart of configuring an interactive virtual scene of a virtual character provided by an embodiment of the present application. Figure 4 As shown, the steps of configuring the interactive virtual scene of the virtual character specifically include S1201-S1203: S1201. Extract scene information corresponding to the first required check-in location from a preset database; wherein the scene information includes: scene virtual elements, objects that the virtual character can interact with, and interaction information.
[0048] Virtual elements in a scene refer to the various elements that make up a virtual scene. For example, in a virtual scene depicting intangible cultural heritage ceramic production techniques, these elements could include: celadon bodies, pottery wheels, kilns, and texture maps (glaze effects, kiln fire animations). Interactive objects for virtual characters refer to objects or elements in a virtual scene that the virtual character can interact with. These objects typically have specific functions or effects, triggering corresponding interactive effects.
[0049] S1202. Generate virtual scene configuration parameters based on the scene information; wherein the scene configuration parameters include: display positions and attributes of virtual elements in the scene, and behavior rules between the virtual character and the interactive object.
[0050] The scene configuration parameters in the embodiments of this application refer to a series of parameters set to construct and present a specific virtual scene, and to regulate the interaction between virtual characters and interactive objects in that scene. Optionally, these virtual scene configuration parameters may include the display position (referring to the specific coordinate position of each element in the scene in virtual space) and attributes (including the appearance characteristics and physical properties of the elements), as well as the behavioral rules between virtual characters and interactive objects.
[0051] S1203: Perform configuration according to the scene configuration parameters to obtain an interactive virtual scene of the virtual character.
[0052] S130. When it is recognized that the virtual character has completed the check-in task in the interactive virtual scene, based on the path navigation guidance, guide the user to the second required check-in location in the access sequence list to perform the check-in task in the corresponding interactive virtual scene until the check-in tasks of the interactive virtual scenes of all required check-in locations recorded in the access sequence list are completed.
[0053] Figure 5 This is a flow chart of the embodiment of the present application to identify the situation of completing the punch-in task. Figure 5 As shown, the step of identifying the completion of the punch-in task specifically includes S1301-S1303: S1301: Obtain the interaction information corresponding to the user and the interactive virtual scene.
[0054] S1302. Verify whether the interaction information complies with preset punch-in task rules; wherein the preset punch-in task rules include interaction duration range, interaction action requirements, and interaction sequence requirements.
[0055] Among them, the interaction time range refers to the upper and lower limits of the time required for a user to complete a certain interaction in an interactive virtual scene; the interaction action requirements refer to the standards and specifications of the specific actions that users need to perform in an interactive virtual scene to complete the check-in task.
[0056] Optional, Figure 6 This is a flowchart of the embodiment of the present application to verify whether the preset punch-in task rules are met. Figure 6 As shown, the steps for verifying whether the preset punch-in task rules are met specifically include S13021-S13024: S13021. Calculate the similarity between the user's interactive action information in the interactive virtual scene and the interactive action requirement. If the similarity exceeds a preset threshold, determine that the interactive information complies with the first rule in the preset check-in task rules.
[0057] Among them, interactive action information refers to various information generated by the actions performed by the user when interacting with the interactive objects in the virtual scene, which may specifically include the interactive action type, action trajectory, and action amplitude parameters.
[0058] Specifically, the similarity between the interactive action information and the interactive action requirement is calculated; when the similarity exceeds a preset threshold, it is determined that the interactive information complies with the first rule in the preset check-in task rules.
[0059] S13022. Obtain the actual interaction time for the user to complete the interactive action information. If the actual interaction time falls within the interaction time range, determine that the interactive information complies with the second rule in the preset check-in task rules.
[0060] Specifically, the start timestamp and the end timestamp of the user's completed interactive action information are obtained; based on the start timestamp and the end timestamp, the actual interaction time of the user can be calculated.
[0061] S13023. Obtain the actual interactive action sequence list of the user performing the interactive action information. When the actual interactive action sequence list is consistent with the order in the interactive order requirement, determine that the interactive information complies with the third rule in the preset check-in task rules.
[0062] S13024. When the first rule, the second rule and the third rule are all met, determine that the interactive information meets the preset check-in task rules.
[0063] S1303: When the interactive information complies with the preset clock-in task rules, mark the clock-in task as completed and generate a timestamp indicating task completion.
[0064] In this application, the check-in task is marked as completed only when the user's interactive information fully complies with the preset check-in task rules, ensuring that the user's experience and learning of intangible cultural heritage during the game is complete and accurate; it helps to improve the effectiveness of the inheritance of intangible cultural heritage, so that users can have a deeper understanding and more accurate grasp of intangible cultural heritage after the game.
[0065] In the embodiments of this application, Figure 7 This is a flowchart of the end game process provided by the embodiment of the present application, such as Figure 7 As shown, when the virtual character completes the check-in task corresponding to the virtual scene, steps S13031-S13033 are also included: S13031. When the virtual character completes the check-in task corresponding to the virtual scene, the game skill parameters corresponding to the virtual scene are added to the skill field of the virtual character.
[0066] S13032. Count the check-in locations of the virtual character, and determine whether the user has completed the check-in task on the preset game check-in map based on the check-in locations and the required check-in locations.
[0067] S13033. When the user completes the check-in task on the preset game check-in map, the game process is ended and the virtual character is cleared.
[0068] In the embodiment of the present application, when the user completes the check-in task on the preset game check-in map, the game process ends and the virtual character is cleared, the method further includes: Receive game data sharing requests from users; A target upload platform and target upload data are determined based on the game data sharing request, and the target upload data is uploaded to the target upload platform.
[0069] In summary, the embodiment of the present application provides a virtual reality game interaction method, which obtains the user's current location, generates an optimal check-in path based on the current location and a preset game check-in map, and generates check-in guidance information based on the optimal check-in path; wherein the check-in guidance information includes an access sequence list of required check-in locations and path navigation guidance; when it is detected that the user arrives at the first required check-in location in the access sequence list, the interactive virtual scene and check-in task of the virtual character associated with the user are configured based on the scene information corresponding to the first required check-in location; when it is recognized that the virtual character completes the check-in task in the interactive virtual scene, based on the path navigation guidance, the user is guided to the second required check-in location in the access sequence list to perform the check-in task in the corresponding interactive virtual scene, until the check-in tasks of the interactive virtual scenes of all required check-in locations recorded in the access sequence list are completed. In the above-mentioned technical means, by obtaining the user's current location and combining it with the preset game check-in map, the optimal check-in path and check-in guidance information are generated, which includes a list of must-check-in locations to visit in order and path navigation guidance, providing users with a complete cultural experience route, avoiding the problem of scattered and incomplete display content in the existing technology, and improving the completeness of the display; after recognizing that the virtual character has completed the check-in task, the user is guided to the next must-check-in location based on the path navigation guidance to perform a new interactive task until all tasks are completed. This process not only ensures that the user can fully experience all cultural heritage display points, but also accurately judges whether the user has understood the relevant cultural heritage knowledge through task completion verification, further improving the accuracy and interactivity of the display.
[0070] Figure 8 This is a structural diagram of a virtual reality game interaction device provided in an embodiment of the present application. Figure 8 The virtual reality game interaction device provided in this embodiment specifically includes: an information generation module 21, a configuration module 22 and a guidance module 23.
[0071] An information generation module 21 is configured to obtain the user's current location, generate an optimal check-in path based on the current location and a preset game check-in map, and generate check-in guidance information based on the optimal check-in path; wherein the check-in guidance information includes a list of required check-in locations in a certain order and path navigation instructions; A configuration module 22 is configured to configure an interactive virtual scene and a check-in task for the virtual character associated with the user based on scene information corresponding to the first required check-in location when detecting that the user has arrived at the first required check-in location in the visit order list; The guidance module 23 is used to guide the user to the second required check-in location in the access sequence list to perform the check-in task in the corresponding interactive virtual scene based on the path navigation guidance when it is recognized that the virtual character has completed the check-in task in the interactive virtual scene, until the check-in tasks of the interactive virtual scenes of all required check-in locations recorded in the access sequence list are completed.
[0072] Based on the above embodiment, before obtaining the user's current location, it also includes creating a virtual character module for receiving the custom name and image restriction parameters submitted by the user through a game login request; when the character length check of the custom name is successful and the custom name does not contain sensitive words, based on the image restriction parameters, the corresponding 3D model components are retrieved from the preset character resource library; the 3D model components are combined into a complete virtual character according to the preset character part assembly order, and associated with the user.
[0073] Based on the above embodiment, the information generation module 21 includes: A location information acquisition unit, configured to acquire coordinate information and path connection relationships of each required check-in location in the preset game check-in map; a calculation unit, configured to calculate a traversal route covering all required check-in locations based on the coordinate information of the user's current location, the coordinate information of the required check-in locations, and the path connection relationship; The path determination unit is used to determine the shortest traversal route as the optimal check-in path.
[0074] Based on the above embodiment, the configuration module 22 includes: An information extraction unit is configured to extract scene information corresponding to the first required check-in location from a preset database; wherein the scene information includes: scene virtual elements, objects that the virtual character can interact with, and interaction information; A parameter generation unit, configured to generate virtual scene configuration parameters based on the scene information; wherein the scene configuration parameters include: display positions and attributes of virtual elements in the scene, and behavior rules between the virtual character and the interactive object; The configuration parameter unit is used to configure according to the scene configuration parameters to obtain the interactive virtual scene of the virtual character.
[0075] Based on the above embodiment, the guiding module 23 includes: An interactive information acquisition unit, configured to acquire the interactive information corresponding to the user and the interactive virtual scene; A verification unit, configured to verify whether the interaction information complies with preset punch-in task rules; wherein the preset punch-in task rules include an interaction duration range, interaction action requirements, and interaction sequence requirements; The marking unit is used to mark the punch-in task as completed and generate a timestamp of task completion when the interactive information meets the preset punch-in task rules.
[0076] Based on the above embodiment, the verification unit includes: a first rule compliance subunit for determining compliance with the first rule, configured to calculate a similarity between the interactive action information of the user in the interactive virtual scene and the interactive action requirement, and determine that the interactive information complies with a first rule in the preset check-in task rules when the similarity exceeds a preset threshold; A second rule compliance subunit is configured to obtain an actual interaction time duration of the user completing the interactive action information, and determine that the interactive information complies with the second rule of the preset check-in task rules if the actual interaction time duration falls within the interaction time duration range; The third rule compliance subunit is configured to obtain a list of actual interactive action sequences of the user executing the interactive action information, and determine that the interactive information complies with the third rule of the preset check-in task rules if the list of actual interactive action sequences is consistent with the order in the interactive sequence requirement; The rule compliance determination subunit is used to determine whether the interactive information complies with the preset check-in task rules when the first rule, the second rule and the third rule are all complied with.
[0077] Based on the above embodiment, the following further aspects are included: When the virtual character completes the punch-in task corresponding to the virtual scene, adding the game skill parameter corresponding to the virtual scene to the skill field of the virtual character; Counting the check-in locations of the virtual character, and determining whether the user has completed the check-in task on the preset game check-in map based on the check-in locations and the required check-in locations; When the user completes the check-in task on the preset game check-in map, the game process ends and the virtual character is cleared.
[0078] In summary, the virtual reality game interaction device provided in the embodiment of the present application obtains the user's current location, generates an optimal check-in path based on the current location and a preset game check-in map, and generates check-in guidance information based on the optimal check-in path; wherein, the check-in guidance information includes an access sequence list of required check-in locations and path navigation guidance; when it is detected that the user arrives at the first required check-in location in the access sequence list, the interactive virtual scene and check-in task of the virtual character associated with the user are configured based on the scene information corresponding to the first required check-in location; when it is recognized that the virtual character completes the check-in task in the interactive virtual scene, based on the path navigation guidance, the user is guided to the second required check-in location in the access sequence list to perform the check-in task in the corresponding interactive virtual scene, until the check-in tasks of the interactive virtual scenes of all required check-in locations recorded in the access sequence list are completed. In the above-mentioned technical means, by obtaining the user's current location and combining it with the preset game check-in map, the optimal check-in path and check-in guidance information are generated, which includes a list of must-check-in locations to visit in order and path navigation guidance, providing users with a complete cultural experience route, avoiding the problem of scattered and incomplete display content in the existing technology, and improving the completeness of the display; after recognizing that the virtual character has completed the check-in task, the user is guided to the next must-check-in location based on the path navigation guidance to perform a new interactive task until all tasks are completed. This process not only ensures that the user can fully experience all cultural heritage display points, but also accurately judges whether the user has understood the relevant cultural heritage knowledge through task completion verification, further improving the accuracy and interactivity of the display.
[0079] The virtual reality game interaction device provided in the embodiment of the present application can be used to execute the virtual reality game interaction method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0080] Figure 9 This is a structural diagram of a virtual reality game interactive device provided by an embodiment of the present application, with reference to Figure 9 The virtual reality game interactive device includes: a processor 31, a memory 32, a communication device 33, an input device 34, and an output device 35. The number of processors 31 in the virtual reality game interactive device can be one or more, and the number of memories 32 in the virtual reality game interactive device can be one or more. The processor 31, memory 32, communication device 33, input device 34, and output device 35 of the virtual reality game interactive device can be connected via a bus or other means.
[0081] Memory 32, as a computer-readable storage medium, can be used to store software programs, computer executable programs, and modules, such as program instructions / modules corresponding to the virtual reality game interaction method of any embodiment of the present application (e.g., the information generation module 21, configuration module 22, and boot module 23 in the virtual reality game interaction device). Memory 32 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data generated based on device usage. Furthermore, memory 32 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state memory device. In some instances, the memory may further include memory located remotely from the processor, which can be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0082] The communication device 33 is used for data transmission.
[0083] The processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 32, that is, realizes the above-mentioned virtual reality game interaction method.
[0084] The input device 34 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 35 may include a display device such as a display screen.
[0085] The virtual reality game interaction device provided above can be used to execute the virtual reality game interaction method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0086] An embodiment of the present application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a virtual reality game interaction method, the virtual reality game interaction method comprising: obtaining a user's current location, generating an optimal check-in path based on the current location and a preset game check-in map, and generating check-in guidance information based on the optimal check-in path; wherein the check-in guidance information comprises an access sequence list of required check-in locations and a path navigation guide; when it is detected that a user arrives at a first required check-in location in the access sequence list, configuring an interactive virtual scene and a check-in task for a virtual character associated with the user based on scene information corresponding to the first required check-in location; when it is recognized that the virtual character completes the check-in task in the interactive virtual scene, guiding the user to the second required check-in location in the access sequence list to perform the check-in task in the corresponding interactive virtual scene based on the path navigation guide, until the check-in tasks for the interactive virtual scenes of all required check-in locations recorded in the access sequence list are completed.
[0087] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROMs, floppy disks, or tape drives; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disks or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or it may be located in a different second computer system that is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (e.g., in different computer systems connected via a network). The storage medium may store program instructions (e.g., embodied as a computer program) that can be executed by one or more processors.
[0088] Of course, the computer-executable instructions of the storage medium provided in the embodiment of the present application are not limited to the above virtual reality game interaction method, and can also execute related operations in the virtual reality game interaction method provided in any embodiment of the present application.
[0089] The virtual reality game interaction apparatus, storage medium, and virtual reality game interaction device provided in the above embodiments can execute the virtual reality game interaction method provided in any embodiment of the present application. For technical details not fully described in the above embodiments, please refer to the virtual reality game interaction method provided in any embodiment of the present application.
[0090] The above are only preferred embodiments of the present application and the technical principles employed. The present application is not limited to the specific embodiments described herein, and any obvious changes, readjustments, and substitutions that are apparent to those skilled in the art will not depart from the scope of protection of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present application. The scope of the present application is determined by the scope of the claims.
Claims
1. A virtual reality game interaction method, characterized in that: include: Obtaining the user's current location, generating an optimal check-in path based on the current location and a preset game check-in map, and generating check-in guidance information based on the optimal check-in path; wherein the check-in guidance information includes a list of required check-in locations to visit in order and path navigation instructions; When it is detected that the user arrives at the first mandatory check-in location in the visit order list, configuring an interactive virtual scene and a check-in task for the virtual character associated with the user based on scene information corresponding to the first mandatory check-in location; When it is recognized that the virtual character completes the check-in task in the interactive virtual scene, based on the path navigation guidance, the user is guided to the second required check-in location in the visit sequence list to perform the check-in task in the corresponding interactive virtual scene until the check-in tasks of all the required check-in locations recorded in the visit sequence list are completed.
2. The virtual reality game interaction method according to claim 1, characterized in that: Before obtaining the user's current location, the method further includes: Receive the custom name and image restriction parameters submitted by the user through the game login request; If the character length check of the custom name is successful and the custom name does not contain sensitive words, the corresponding 3D model component is retrieved from a preset character resource library based on the image restriction parameters; The 3D model components are assembled into a complete virtual character according to a preset character part assembly sequence, and the complete virtual character is associated with the user.
3. The virtual reality game interaction method according to claim 1, characterized in that: Generating an optimal check-in path based on the current location and a preset game check-in map includes: Obtaining the coordinate information and path connection relationship of each required check-in location in the preset game check-in map; Calculate a traversal route covering all required check-in locations based on the coordinate information of the user's current location, the coordinate information of the required check-in locations, and the path connection relationship; The shortest traversal route is determined as the optimal check-in path.
4. The virtual reality game interaction method according to claim 1, characterized in that: The configuring the interactive virtual scene of the virtual character associated with the user based on the scene information corresponding to the first required check-in location includes: Extracting scene information corresponding to the first required check-in location from a preset database; wherein the scene information includes: scene virtual elements, objects that the virtual character can interact with, and interaction information; Generate virtual scene configuration parameters based on the scene information; wherein the scene configuration parameters include: display positions and attributes of virtual elements in the scene, and behavior rules between the virtual character and the interactive object; Configuration is performed according to the scene configuration parameters to obtain an interactive virtual scene of the virtual character.
5. The virtual reality game interaction method according to claim 4, characterized in that: Identifying that the virtual character completes the check-in task in the interactive virtual scene includes: Acquiring the interaction information corresponding to the user and the interactive virtual scene; Verify whether the interaction information complies with preset punch-in task rules; wherein the preset punch-in task rules include interaction duration range, interaction action requirements, and interaction sequence requirements; In the case where the interactive information complies with the preset clock-in task rules, the clock-in task is marked as completed and a timestamp of task completion is generated.
6. The virtual reality game interaction method according to claim 5, characterized in that: Verifying whether the interactive information complies with the preset check-in task rules includes: Calculating the similarity between the interactive action information of the user in the interactive virtual scene and the interactive action requirement, and determining that the interactive information meets the first rule of the preset check-in task rules when the similarity exceeds a preset threshold; Obtaining the actual interaction time of the user completing the interactive action information, and if the actual interaction time falls within the interaction time range, determining that the interaction information meets the second rule of the preset check-in task rules; Obtaining an actual interactive action sequence list of the user executing the interactive action information, and if the actual interactive action sequence list is consistent with the order in the interactive sequence requirement, determining that the interactive information complies with the third rule in the preset check-in task rules; When the first rule, the second rule and the third rule are all met, it is determined that the interactive information meets the preset check-in task rules.
7. The virtual reality game interaction method according to claim 1, characterized in that: Also includes: When the virtual character completes the punch-in task corresponding to the virtual scene, adding the game skill parameter corresponding to the virtual scene to the skill field of the virtual character; Counting the check-in locations of the virtual character, and determining whether the user has completed the check-in task on the preset game check-in map based on the check-in locations and the required check-in locations; When the user completes the check-in task on the preset game check-in map, the game process ends and the virtual character is cleared.
8. A virtual reality game interactive device, characterized in that: include: An information generation module, configured to obtain the user's current location, generate an optimal check-in path based on the current location and a preset game check-in map, and generate check-in guidance information based on the optimal check-in path; wherein the check-in guidance information includes a list of required check-in locations to visit in order and path navigation instructions; A configuration module, configured to configure an interactive virtual scene and a check-in task for the virtual character associated with the user based on scene information corresponding to the first required check-in location when detecting that the user has arrived at the first required check-in location in the visit order list; The guidance module is used to guide the user to the second required check-in location in the access sequence list to perform the check-in task in the corresponding interactive virtual scene based on the path navigation guidance when it is recognized that the virtual character has completed the check-in task in the interactive virtual scene, until the check-in tasks of the interactive virtual scenes of all required check-in locations recorded in the access sequence list are completed.
9. A virtual reality game interactive device, characterized in that: include: one or more processors; A memory storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the virtual reality game interaction method according to any one of claims 1 to 7.
10. A storage medium containing computer-executable instructions, characterized in that: When executed by a computer processor, the computer executable instructions are used to perform the virtual reality game interaction method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for processing way-finding path in game, electronic equipment and storage medium
CN111375205A
Interaction method and device, computer equipment and storage medium
CN113282179A
Method and device for making virtual character in game, electronic equipment and storage medium
CN116251356A
Posture clock-in method and device, electronic equipment and storage medium
CN116932962A