Interaction Method, Apparatus, Device, and Storage Medium Based on Virtual Resource Object
The method enhances user interaction with virtual resource objects by linking current location and time information with historical events, allowing for enriched interaction functions and improved user experiences through the use of dynamic virtual resource objects.
Patent Information
- Application Number
- JP2024572183
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-12-26
- Filing Date
- 2023-12-12
- Publication Date
- 2025-06-19
Smart Images

Figure 2025518890000001_ABST
Abstract
Description
Technical Field
[0001] [Cross - Reference to Related Applications] This application claims priority based on a Chinese patent application with Chinese application number 202211679758.3 and a filing date of December 26, 2022, and the disclosure content of this Chinese patent application is hereby incorporated into this application in its entirety.
[0002] [Technical Field] The present disclosure relates to the field of data processing, and particularly to an interaction method, apparatus, device, and storage medium based on virtual resource objects.
Background Art
[0003] A virtual resource object is an object drawn by computer 2D technology or constructed by 3D modeling technology and created in an entity display screen or virtual space, which may include a human image, a human animation, a virtual human image, a virtual 2D scenario, a virtual 3D scenario, etc.
[0004] With the continuous development of the interaction technology of virtual resource objects, the function of performing interactions based on virtual resource objects is becoming increasingly popular in various types of application software. Therefore, how to enrich the interaction function based on virtual resource objects to enhance the user's interaction experience with virtual resource objects has become an urgent technical problem to be solved currently.
Summary of the Invention
Problems to be Solved by the Invention
[0005] To solve the above technical problems, embodiments of the present disclosure provide a method for interaction based on virtual resource objects.
Means for Solving the Problems
[0006] According to a first aspect, the present disclosure provides a method for interaction based on virtual resource objects, the method comprising: obtaining current location information and current time information in response to a preset interaction trigger operation; uploading an interaction processing request for conveying the current location information and the current time information to a target server, the interaction processing request being used to request the target server to determine a target virtual resource object, the target virtual resource object being a virtual resource object corresponding to historical event information determined based on the current location information and the current time information; receiving the target virtual resource object sent by the target server and executing a target interaction function based on the target virtual resource object.
[0007] In an alternative embodiment, the step of executing a target interaction function based on the target virtual resource object comprises: presenting the target virtual resource object on a video capture page; generating a first multimedia resource based on the target virtual resource object, the target virtual resource object being presented in the first multimedia resource.
[0008] In an alternative embodiment, the step of generating a first multimedia resource based on the target virtual resource object comprises: jumping from the video capture page to a user material page where at least one user material is presented in response to a trigger operation on an album entry on the video capture page; responding to a selection operation on a target user material among the at least one user material, applying the target virtual resource object to the target user material to obtain a first multimedia resource;
[0009] In one alternative embodiment, the step of generating a first multimedia resource based on the target virtual resource object includes: responding to a shooting trigger operation acting on the video capture page, and shooting and obtaining a first multimedia resource based on the target virtual resource object.
[0010] In one alternative embodiment, the target virtual resource object includes at least one of a person image, a person animation, and a virtual character, and the step of shooting and obtaining a first multimedia resource based on the target virtual resource object in response to a shooting trigger operation acting on the video capture page includes: responding to a shooting trigger operation acting on the video capture page, collecting the actions of the target object in the shooting screen, and controlling the target virtual resource object to execute the actions of the target object in the shooting screen to obtain a first multimedia resource.
[0011] In one alternative embodiment, the target virtual resource object carries pre-set action information, the target virtual resource object includes at least one of a person image, a person animation, and a virtual character, and the step of shooting and obtaining a first multimedia resource based on the target virtual resource object in response to a shooting trigger operation acting on the video capture page includes: In response to a shooting trigger operation acting on the video capture page, controlling the target virtual resource object to execute an operation according to the preset operation information, and obtaining a first multimedia resource, including the step of obtaining.
[0012] According to a second aspect, the present disclosure provides a method for interaction based on a virtual resource object, and the method includes: Receiving an interaction processing request from a client, where the interaction processing request carries current location information and current time information; Determining corresponding historical event information based on the current location information and the current time information, where the historical event information includes person information of the historical event and / or description information of the historical event; Determining the virtual resource object corresponding to the historical event information as a target virtual resource object, and sending the target virtual resource object to the client.
[0013] In an alternative embodiment, the step of determining corresponding historical event information based on the current location information and the current time information includes: Performing matching on the current location information and the current time information based on a pre-established index relationship among the location information, the time information, and the historical event information, and obtaining historical event information corresponding to the current location information and the current time information.
[0014] In an alternative embodiment, the step of performing matching on the current location information and the current time information based on a pre-established index relationship among the location information, the time information, and the historical event information, and obtaining historical event information corresponding to the current location information and the current time information includes: performing matching for the current location information and the current time information based on a pre-established index relationship among location information, time information, and historical event information; when the matching is not successful, performing region expansion based on the current location information to obtain expanded location information; determining corresponding historical event information based on the expanded location information and the current time information.
[0015] In an alternative embodiment, the step of determining the virtual resource object corresponding to the historical event information as the target virtual resource object includes: inputting the historical event information into a target model, and after the target model processes the historical event information, outputting a target virtual resource object, where the target model is a model obtained by training based on training samples including historical event information and virtual resource objects having a corresponding relationship.
[0016] According to a third aspect, the present disclosure provides an apparatus for interaction based on a virtual resource object, the apparatus including: an acquisition module for acquiring current location information and current time information in response to a pre-set interaction trigger operation; an upload module for uploading an interaction processing request for conveying the current location information and the current time information to a target server, where the interaction processing request is used to request the target server to determine a target virtual resource object, and the target virtual resource object is a virtual resource object corresponding to historical event information determined based on the current location information and the current time information; A first receiving module that receives the target virtual resource object transmitted by the target server and executes a target interaction function based on the target virtual resource object.
[0017] According to a fourth aspect, the present disclosure provides an apparatus for interaction based on a virtual resource object, and the apparatus includes A second receiving module for receiving an interaction processing request from a client, where the interaction processing request carries current location information and current time information. A first determination module for determining corresponding historical event information based on the current location information and the current time information, where the historical event information includes person information of a historical event and / or description information of the historical event. A second determination module for determining a virtual resource object corresponding to the historical event information as a target virtual resource object and transmitting the target virtual resource object to the client.
[0018] According to a fifth aspect, the present disclosure provides a computer-readable storage medium that stores instructions, and when the instructions are executed by a terminal device, the terminal device is caused to implement the above method.
[0019] According to a sixth aspect, the present disclosure provides a device for interaction based on a virtual resource object, and the device includes a memory, a processor, and a computer program stored in the memory and executed by the processor. When the processor executes the computer program, the processor implements the above method.
[0020] According to a seventh aspect, the present disclosure provides a computer program product, which includes a computer program / instructions. When the computer program / instructions are executed by a processor, the processor is caused to implement the above method.
Brief Description of the Drawings
[0021] The drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure and used to interpret the principles of the present disclosure together with the specification.
[0022] To more clearly explain the embodiments of the present disclosure or the technical solutions in the related art, the following briefly introduces the drawings that need to be used in the description of the embodiments or the related art. It is obvious that those skilled in the art can obtain other drawings based on these drawings without creative effort.
[0023]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Modes for Carrying Out the Invention
[0024] To more clearly understand the above objects, features, and advantages of the present disclosure, the following description further explains the solutions of the present disclosure. Unless there is a conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
[0025] In the following description, many specific details are set forth to facilitate a thorough understanding of the present disclosure. However, the present disclosure may be implemented in other ways different from those described herein. Obviously, the embodiments in the specification are only some embodiments of the present disclosure, not all embodiments.
[0026] A virtual resource object is an object drawn by computer 2D technology or constructed by 3D modeling technology and created in an entity display screen or virtual space, and may include a human image, a human animation, a virtual human image, a virtual 2D scenario, a virtual 3D scenario, etc.
[0027] With the continuous development of the interaction technology of virtual resource objects, the function of performing interactions based on virtual resource objects is becoming increasingly popular in various types of application software. Therefore, how to enrich the interaction function based on virtual resource objects to enhance the user's interaction experience with virtual resource objects has become an urgent technical problem to be solved currently.
[0028] Therefore, the embodiments of the present disclosure provide a method for interaction based on virtual resource objects. First, in response to a preset interaction trigger operation, current location information and current time information are obtained, and an interaction processing request for transporting the current location information and the current time information is uploaded to a target server. Then, a target virtual resource object sent by the target server is received, and a target interaction function is executed based on the target virtual resource object. As can be seen from this, the embodiments of the present disclosure can obtain a virtual resource object corresponding to historical event information determined based on the current location information and the current time information, and execute an interaction based on this virtual resource object, enrich the interaction function based on the virtual resource object, and improve the user's interaction experience with the virtual resource object.
[0029] Based on this, the embodiments of the present disclosure provide a method for interaction based on virtual resource objects. FIG. 1 is a diagram of data interaction of a method for interaction based on virtual resource objects according to an embodiment of the present disclosure.
[0030] The method for interaction based on virtual resource objects according to the embodiments of the present disclosure is respectively applied to a client and a target server. The client can establish a connection with the target server via a network protocol such as the Hypertext Transfer Protocol Secure (HTTP), and execute information interaction based on this connection. The client may be disposed on a device having a communication function such as a mobile phone, a tablet computer, or a desktop computer, and the target server may be a device having a storage and computing function such as a cloud server or a server cluster.
[0031] S101: The client obtains the current location information and the current time information in response to a pre-set interaction trigger operation.
[0032] In an embodiment of the present disclosure, the pre-set interaction trigger operation may include a pre-set interaction trigger operation acting on a pre-set page displayed on the client, and the pre-set interaction trigger operation may be a trigger operation on a pre-set control in the pre-set page, or a pre-set slide trigger operation or a pre-set click operation or a pre-set long-press operation acting on the pre-set page, etc.
[0033] In an embodiment of the present disclosure, the current location information may be, for example, the current location information determined by the client such as information about the town where the client is currently staying. The current time information may be the system time information collected via the clock module of the client. It should be noted that both the current location information and the current time information obtained by the client are obtained when the user permits their use.
[0034] S102: The client uploads an interaction processing request carrying the current location information and the current time information to the target server.
[0035] In an embodiment of the present disclosure, after the client obtains the current location information and the current time information, it packages the current location information and the current time information into an interaction processing request, and uploads this interaction processing request to the target server, serving as the data for the target server to execute interaction processing.
[0036] In an embodiment of the present disclosure, the interaction processing request is used to request a target server to determine a target virtual resource object, and the target virtual resource object is a virtual resource object corresponding to historical event information determined based on the current location information and the current time information.
[0037] S103: The target server determines corresponding historical event information based on the current location information and the current time information in the interaction processing request.
[0038] Here, the historical event information includes the personal information of the historical event and / or the description information of the historical event.
[0039] In an embodiment of the present disclosure, after receiving the interaction processing request, the target server analyzes the current location information and the current time information from this interaction processing request, and determines the historical event information based on the current location information and the current time information.
[0040] S104: The target server determines the virtual resource object corresponding to this historical event information as the target virtual resource object.
[0041] In an embodiment of the present disclosure, after determining the historical event information based on the current location information and the current time information, the target server may also determine the corresponding virtual resource object based on this historical event information.
[0042] Here, the target server stores the historical event information acquired in advance. Specifically, the historical event information includes the personal information of the historical event and / or the description information of the historical event, that is, the historical event information includes at least one of at least the personal information of the historical event and the description information of the historical event. The personal information of the historical event may include the names of historical figures related to the historical event, and the description information of the historical event includes summary information of the historical event, etc.
[0043] In an embodiment of the present disclosure, a virtual resource object is an object that is drawn by computer 2D technology or constructed by 3D modeling technology and is created in an entity display screen or a virtual space, and may include a virtual character image, a virtual character animation, a virtual character image, a virtual 2D scenario, a virtual 3D scenario, etc. The virtual character image may be a two-dimensional virtual character image or a three-dimensional virtual character image.
[0044] In an embodiment of the present disclosure, the target virtual resource object may include one or more virtual resource objects corresponding to historical time information determined based on the current position information and the current time information of the client. The specific determination method will be introduced in the embodiments for the subsequent target server and will not be further described here.
[0045] S105: The target server sends the target virtual resource object to the client.
[0046] S106: The client executes the target interaction function based on the target virtual resource object.
[0047] In an embodiment of the present disclosure, the target interaction function may include any one of the interaction functions related to the target virtual resource object, such as a presentation function for the target virtual resource object, any one of the application functions triggered based on the presented target virtual resource object, etc. The specific interaction method will be introduced in the embodiments for the subsequent target server and will not be further described here.
[0048] In an embodiment of the present disclosure, the client may obtain a virtual resource object corresponding to historical event information determined based on the current location information and the current time information, and execute an interaction based on this virtual resource object, enrich the interaction function based on the virtual resource object, and improve the user's interaction experience with respect to the virtual resource object.
[0049] Based on the above embodiment, an embodiment of the present disclosure provides a method for interaction based on a virtual resource object applied to a client. FIG. 2 is a flowchart of a method for interaction based on a virtual resource object according to an embodiment of the present disclosure, and this method includes the following.
[0050] S201: Obtain the current location information and the current time information in response to a preset interaction trigger operation.
[0051] In an embodiment of the present disclosure, the preset interaction trigger operation may include a preset interaction trigger operation acting on a preset page. The preset interaction trigger operation may be a trigger operation on a preset control in a preset page, or a preset slide trigger operation, a preset click operation, a preset long-press operation, etc. acting on a preset page.
[0052] In an alternative embodiment, the pre-set page may be a video capture page, and the pre-set interaction trigger operation may include the pre-set interaction trigger operation acting on the video capture page. Specifically, it may be a long-press operation triggered for the capture screen on the video capture page, or a click operation on the pre-set control set on the video capture page, etc.
[0053] In another alternative embodiment, the pre-set page may be a video playback page, and the pre-set interaction trigger operation may include a trigger operation on the interaction control set on the video playback page, etc.
[0054] In yet another alternative embodiment, the pre-set page may be a tourism promotion page, etc., and the pre-set interaction trigger operation may include a trigger operation on the interaction control set on the tourism promotion page, etc.
[0055] In an embodiment of the present disclosure, when receiving the pre-set interaction trigger operation, the current location information and the current time information are obtained.
[0056] Here, for example, the current location information of the current device such as the town information where the user is staying is obtained. Also, the system time information may be collected as the current time information via the clock module of the current device.
[0057] The embodiments of the present disclosure do not limit the acquisition method of the current location information and the current time information.
[0058] S202: Upload an interaction processing request for transporting the current location information and the current time information to the target server.
[0059] The interaction processing request is used to request the target server to determine a target virtual resource object, and the target virtual resource object is a virtual resource object corresponding to historical event information determined based on the current location information and the current time information.
[0060] In an embodiment of the present disclosure, the target server stores historical event information collected in advance. Specifically, the historical event information includes personal information of historical events and / or descriptive information of historical events. The personal information of historical events may include the names of historical figures related to historical events. For example, it may include the name "Sima Guang" of the historical figure in the historical event "Sima Guang breaks the vat", and also, for example, the name "Kong Rong" of the historical figure in the historical event "Kong Rong gives up the bigger pear". In addition, the descriptive information of historical events includes summary information of historical events. For example, the summary information of the historical event "Kong Rong gives up the bigger pear" may include "learning modesty through the story of Kong Rong giving up the bigger pear".
[0061] In an embodiment of the present disclosure, the target server may store the index relationship among historical event information, location information, and occurrence time information, and information in two of these three dimensions can be used to index information in another dimension. For example, the corresponding historical event information can be indexed by location information and occurrence time information. The location information may include the location where the historical event corresponding to the historical event information occurred, and the occurrence time information may include the time when this historical event occurred.
[0062] The target server performs matching between the current location information and the current time information and the corresponding historical event information based on the index relationship among historical event information, location information, and occurrence time information. The matched historical event information may be information of historical events that occurred locally on the same day in history.
[0063] In an embodiment of the present disclosure, the historical event information base of the target server may store the index relationship among historical event information, location information, and occurrence time information. In the historical event information base of the target server, search for historical event information that matches the current location information and the current time information. For example, assuming that the currently obtained location information is "A County" and the currently collected time information is November 17, 2022, based on the two dimensions of the current location information "A County" and the current time information "November 17, 2022", corresponding historical event information may be searched from the historical event information base stored in the server. The specific implementation method will be introduced in the subsequent embodiments of the server and will not be further described here.
[0064] S203: Receive the target virtual resource object sent by the target server, and execute a target interaction function based on the target virtual resource object.
[0065] In an embodiment of the present disclosure, the client may receive the target virtual resource object sent by the target server in response to the above interaction processing request, and the client may trigger a target interaction function based on this target virtual resource object.
[0066] The target interaction function may include, for example, any one interaction function related to the target virtual resource object, such as a presentation function for the target virtual resource object, any one application function triggered based on the presented target virtual resource object, etc. The embodiments of the present disclosure are not limited thereto.
[0067] In one alternative embodiment, in a video playback scenario, the target interaction function may include presenting a target virtual resource object on a video playback page and performing operations such as interaction based on the target virtual resource object, thereby enriching the interaction function based on the virtual resource object and improving the user experience.
[0068] In another alternative embodiment, in a tourism promotion page scenario, the target interaction function may include presenting a target virtual resource object on the tourism promotion page in the form of a virtual 2D scenario or a virtual 3D scenario, thereby facilitating the current user to perform operations such as interaction based on the virtual 2D scenario presented on the tourism promotion page, further enriching the interaction function based on the virtual resource object, and improving the user's interaction experience with the virtual resource object.
[0069] In a method for interaction based on a virtual resource object according to an embodiment of the present disclosure, first, in response to a pre-set interaction trigger operation, current location information and current time information are obtained, and an interaction processing request for conveying the current location information and the current time information to a target server is uploaded. Then, a target virtual resource object sent by the target server is received, and a target interaction function is executed based on the target virtual resource object. As can be seen from this, the embodiment of the present disclosure can obtain a virtual resource object corresponding to historical event information determined based on the current location information and the current time information, and perform an interaction based on this virtual resource object, enriching the interaction function based on the virtual resource object and improving the user's interaction experience with the virtual resource object.
[0070] Based on the above embodiments, the embodiments of the present disclosure provide a specific application scenario for executing an interaction based on a target virtual resource object. FIG. 3 is a schematic diagram of a video capture page according to an embodiment of the present disclosure. After receiving the target virtual resource object sent by the target server, the client presents this target virtual resource object 301 on the video capture page.
[0071] Specifically, the target virtual resource object 301 may be presented on the video capture page as a shooting effect method. The target virtual resource object may be at least one of a person image, a person animation, and a virtual character. For example, the target virtual resource object may be the historical figure image "Li Bai" in the historical event related to Li Bai, specifically, the image of "Li Bai Drinking".
[0072] In the embodiments of the present disclosure, after receiving the target virtual resource object sent by the target server, the client presents the target virtual resource object on the video capture page, and then generates a first multimedia resource based on the target virtual resource object, enriches the interaction function based on the virtual resource object, and improves the user experience.
[0073] In the embodiments of the present disclosure, the target virtual resource object is presented in the first multimedia resource. In an alternative embodiment, the target virtual resource object may be presented on the video capture page in the form of a shooting effect. The presentation content of the first multimedia resource may be a picture or a video with a shooting effect added, etc.
[0074] In one alternative embodiment, the user material in the first multimedia resource may be derived from the user album. Specifically, in response to a trigger operation on the album entry on the video capture page, it jumps from the video capture page to the user material page. On the user material page, in response to a selection operation on the target user material among at least one user material, a target virtual resource object is applied to the target user material to obtain the first multimedia resource.
[0075] In an embodiment of the present disclosure, the selection operation on the target user material among at least one user material may include a click operation on this target user material, etc., and the embodiments of the present disclosure are not limited thereto.
[0076] In an embodiment of the present disclosure, the user material page is used to present at least one user material. The user material may be video material, pixel material, etc. stored in the local album. When receiving a selection operation on any one or more of the user materials, by determining the selected one or more user materials as the target user material, then, a target virtual resource object is applied to the target user material to obtain the first multimedia resource.
[0077] For example, as shown in FIG. 3, when receiving a trigger operation on the album entry 302 on the video capture page, it jumps from the video capture page shown in FIG. 3 to the user material page. On the user material page, when receiving a selection operation on the target user material among at least one user material, a target virtual resource object 301 is applied to the target user material, and further, a first multimedia resource with the image of "Li Bai Drinking" added is obtained.
[0078] In another alternative embodiment, in order to further enrich the interaction function based on virtual resource objects, user materials for generating the first multimedia resource may be captured and obtained in real time. Specifically, in response to a shooting trigger operation acting on the video capture page, the first multimedia resource is captured and obtained based on the target virtual resource object.
[0079] In an embodiment of the present disclosure, the shooting trigger operation acting on the video capture page may include a start operation and an end operation acting on the shooting control of the video capture page in the "Quick Shot" mode (i.e., normal shooting), or may include a click operation acting on the shooting control of the video capture page in the "Segment Shot" mode (i.e., 15-second video shooting). Thus, the first multimedia resource is captured and obtained based on the target virtual resource object.
[0080] In actual applications, the target virtual resource object may include at least one of a person image, a person animation, and a virtual person image. In an embodiment of the present disclosure, in order to make the first multimedia resource captured and obtained based on the target virtual resource object more vivid and interesting, the actions of the target object are collected, and further the first multimedia resource is obtained.
[0081] In an embodiment of the present disclosure, by performing data capture on the actions of the target object, the action trajectory of the target object is obtained in real time, and the target object may be one or more persons presented on the shooting screen and performing any actions.
[0082] In an embodiment of the present disclosure, when receiving a shooting trigger operation acting on a video capture page, the operation of the target object on the shooting screen is collected, and the target virtual resource object is controlled to execute the operation of the target object on the shooting screen, so as to obtain a first multimedia resource.
[0083] For example, assuming that the target object on the shooting screen is a child waving his hand, the target virtual resource object is "Santa Claus animation". When receiving a shooting trigger operation acting on the video capture page, the operation of the child waving his hand is collected, and the "Santa Claus animation" is controlled to execute the operation of the child waving his hand on the shooting screen, and further obtain the first multimedia resource presented by the "Santa Claus animation".
[0084] In an alternative embodiment, the target virtual resource object may carry pre-set operation information, and the target virtual resource object is controlled to execute an operation according to the pre-set operation information by a shooting trigger operation acting on the video capture page, so as to obtain a first multimedia resource.
[0085] In an embodiment of the present disclosure, the pre-set operation information is, for example, one or more operations pre-designed for the target virtual resource object, such as the operation of waving a hand, the operation of shaking a head, etc.
[0086] For example, assuming that the pre-set operation information is the operation of waving a hand for the target virtual resource object, when receiving a shooting trigger operation acting on the video capture page, a first multimedia resource is obtained by controlling the target virtual resource object to execute the operation of waving a hand.
[0087] The method for interaction based on virtual resource objects according to the embodiments of the present disclosure can implement the function for interaction based on virtual resource objects by presenting a target virtual resource object on a video capture page and generating a first multimedia resource based on the target virtual resource object. As can be seen from this, the embodiments of the present disclosure further enrich the interaction function based on virtual resource objects and improve the user's interaction experience with respect to virtual resource objects.
[0088] Based on the content in the above embodiments, the embodiments of the present disclosure further provide a method for interaction based on virtual resource objects applied to a server. FIG. 4 is a flowchart of another method for interaction based on virtual resource objects according to the embodiments of the present disclosure, and this method includes the following steps.
[0089] S401: Receive an interaction processing request from a client, where the interaction processing request carries current location information and current time information.
[0090] S402: Determine corresponding historical event information based on the current location information and the current time information, where the historical event information includes historical event character information and / or historical event description information.
[0091] In the embodiments of the present disclosure, the historical event information includes historical event character information and / or historical event description information, that is, the historical event information includes at least one of historical event character information and event description information. The historical event character information may include the names of historical figures related to historical events, such as the name of the historical figure "Sima Guang" in "Sima Guang breaks the vat". Also, the historical event description information includes the summary information of the historical event. For example, the summary information of the historical event "Getting up and practicing swordplay at the crowing of the rooster" may include "Through the story of getting up and practicing swordplay at the crowing of the rooster, it inspires everyone and encourages them to study hard".
[0092] In an alternative embodiment, when receiving an interaction processing request from a client, based on a pre-established index relationship among location information, time information, and historical event information, matching for the current location information and the current time information in the interaction processing request may be performed to obtain historical event information corresponding to the current location information and the current time information.
[0093] A method for pre-establishing the index relationship may be a method of collecting information related to historical events, screening the correspondence among historical event information, location information, and occurrence time information, and establishing the index relationship among historical event information, location information, and occurrence time information.
[0094] For example, assuming that the interaction processing request received by the server carries the current location information "County B" and the current time information "November 27th", based on the pre-established index relationship among location information, time information, and historical event information, matching for "County B" and "November 27th" may be performed to obtain historical event information corresponding to "County B" and "November 27th". This historical event information corresponds to historical events that occurred in "County B" at the time of "November 27th" in history.
[0095] In another alternative embodiment, when performing matching for the current location information and the current time information based on the pre-established index relationship among location information, time information, and historical event information, if the matching is not successful, region expansion may be performed based on the current location information to obtain the expanded location information, and further, based on the expanded location information and the current time information, the corresponding historical event information may be determined.
[0096] Specifically, first, determine the administrative region based on the current location information, and as the extended location information, determine the superior administrative region corresponding to this determined administrative region. For example, assuming that the current location information is County A, the extended location information will be City B, which is the superior administrative region corresponding to County A. Further, based on the extended location information of City B and the current time information, determine the corresponding historical event information.
[0097] S403: Determine the virtual resource object corresponding to the historical event information as the target virtual resource object, and send the target virtual resource object to the client.
[0098] In an alternative embodiment, a machine learning model may be used to generate a virtual resource object corresponding to the historical event information.
[0099] In actual application, input the historical event information into the target model. After the target model processes the historical event information, output the target virtual resource object.
[0100] In the embodiments of the present disclosure, the target model may be a model obtained by training based on training samples including historical event information and virtual resource objects having a corresponding relationship. Specifically, use the historical event information as the input of the training sample, and use the virtual resource object corresponding to the historical event information as the output of the training sample to train the target model. For example, assuming that the virtual resource object corresponding to the historical event information "Li Bai" is "Li Bai's character animation", then use the historical event information "Li Bai" and the virtual resource object "Li Bai's character animation" as a pair of training samples. After training the target model based on a large number of training samples, the target model may be placed on the target server and used to generate the target virtual resource object.
[0101] In actual applications, the target model may be determined according to actual requirements, and the embodiments of the present disclosure are not limited thereto. For example, the target model may include models such as variational auto-encoders (VAEs) and generative adversarial networks (GANs).
[0102] In another alternative embodiment, since the index relationship among the location information, occurrence time information, and historical event information is stored in advance in the target server, the target model may be used in advance to determine the correspondence between the historical event information and the target virtual resource object, and store it in the target server. When receiving an interaction processing request from the client, based on the current location information and the current time information, determine the corresponding historical event information, and then query and obtain the target virtual resource object corresponding to this historical event information, and send the target virtual resource object to the client, thereby further improving the user experience.
[0103] In the method for interaction based on the virtual resource object according to the embodiments of the present disclosure, first, receive an interaction processing request from the client, determine the corresponding historical event information based on the current location information and the current time information, and then determine the virtual resource object corresponding to the historical event information as the target virtual resource object, and send the target virtual resource object to the client. As can be seen from this, the embodiments of the present disclosure can determine the historical event information based on the current location information and the current time information, and further determine the corresponding target virtual resource object based on the historical event information, and send the target virtual resource object to the client, thereby further enriching the interaction function based on the virtual resource object and improving the user's interaction experience with the virtual resource object.
[0104] Based on the embodiments of the above method, the present disclosure further provides an apparatus for interaction based on virtual resource objects applied to a client. FIG. 5 is a schematic structural diagram of an apparatus for interaction based on virtual resource objects according to an embodiment of the present disclosure. The apparatus includes: an acquisition module 501 for acquiring current position information and current time information in response to a preset interaction trigger operation; an upload module 502 for uploading an interaction processing request for transporting the current position information and the current time information to a target server, where the interaction processing request is used to request the target server to determine a target virtual resource object, and the target virtual resource object is a virtual resource object corresponding to historical event information determined based on the current position information and the current time information; a first receiving module 503 for receiving the target virtual resource object transmitted by the target server and executing a target interaction function based on the target virtual resource object.
[0105] In an alternative embodiment, the first receiving module includes: a presentation sub-module for presenting the target virtual resource object on a video capture page; a generation sub-module for generating a first multimedia resource in which the target virtual resource object is presented based on the target virtual resource object.
[0106] In an alternative embodiment, the generation sub-module includes: A jump sub-module for jumping from the video capture page to a user material page where at least one user material is presented in response to a trigger operation on the album entry on the video capture page; An application sub-module for obtaining a first multimedia resource by applying the target virtual resource object to the target user material in response to a selection operation on the target user material among the at least one user material, and the like.
[0107] In one alternative embodiment, the generation sub-module Includes a shooting sub-module for shooting and acquiring a first multimedia resource based on the target virtual resource object in response to a shooting trigger operation acting on the video capture page.
[0108] In one alternative embodiment, the target virtual resource object includes at least one of a person image, a person animation, and a virtual character, and the shooting sub-module Collects the actions of the target object in the shooting screen in response to a shooting trigger operation acting on the video capture page, and controls the target virtual resource object to execute the actions of the target object in the shooting screen, and includes a first control sub-module for obtaining a first multimedia resource.
[0109] In one alternative embodiment, the target virtual resource object carries pre-set action information, the target virtual resource object includes at least one of a person image, a person animation, and a virtual character, and the shooting sub-module A second control sub-module is included for controlling the target virtual resource object to execute operations according to the preset operation information in response to a shooting trigger operation acting on the video capture page, so as to obtain a first multimedia resource.
[0110] Also, based on the embodiments of the above method, the present disclosure further provides an apparatus for interaction based on a virtual resource object applied to a target server. FIG. 6 is a schematic structural diagram of an apparatus for interaction based on a virtual resource object according to an embodiment of the present disclosure. The apparatus includes: A second receiving module 601 for receiving an interaction processing request from a client, where the interaction processing request carries current location information and current time information; the second receiving module 601; A first determination module 602 for determining corresponding historical event information based on the current location information and the current time information, where the historical event information includes person information of a historical event and / or description information of a historical event; the first determination module 602; A second determination module 603 for determining a virtual resource object corresponding to the historical event information as a target virtual resource object and transmitting the target virtual resource object to the client.
[0111] In an alternative embodiment, the first determination module includes a first matching sub-module for performing matching on the current location information and the current time information based on a pre-established index relationship among the location information, the time information, and the historical event information, so as to obtain historical event information corresponding to the current location information and the current time information.
[0112] In an alternative embodiment, the first matching sub-module A second matching sub-module for performing matching for the current location information and the current time information based on a pre-established index relationship among the location information, the time information, and the historical event information; An expansion sub-module for performing region expansion based on the current location information to obtain expanded location information when the matching is not successful; A determination sub-module for determining corresponding historical event information based on the expanded location information and the current time information.
[0113] In an alternative embodiment, the second determination module includes an output sub-module for inputting the historical event information into a target model and outputting a target virtual resource object after the target model processes the historical event information, where the target model is a model obtained through training based on training samples including historical event information and virtual resource objects having a corresponding relationship.
[0114] In an apparatus for interaction based on a virtual resource object according to an embodiment of the present disclosure, first, in response to a pre-set interaction trigger operation, obtain current location information and current time information, upload an interaction processing request for conveying the current location information and the current time information to a target server, and receive a target virtual resource object sent by the target server, and execute a target interaction function based on the target virtual resource object. As can be seen, the embodiment of the present disclosure can obtain a virtual resource object corresponding to historical event information determined based on the current location information and the current time information, and perform an interaction based on this virtual resource object, enrich the interaction function based on the virtual resource object, and improve the user's interaction experience with the virtual resource object.
[0115] In addition to the above methods and apparatuses, embodiments of the present disclosure further provide a computer-readable storage medium, which stores instructions, and when the instructions are executed by a terminal device, enables the terminal device to implement a method for interaction based on the virtual resource object described in the embodiments of the present disclosure.
[0116] Embodiments of the present disclosure further provide a computer program product, which includes a computer program / instruction, and when the computer program / instruction is executed by a processor, implements a method for interaction based on the virtual resource object described in the embodiments of the present disclosure.
[0117] Furthermore, embodiments of the present disclosure further provide a device for interaction based on a virtual resource object. As shown in FIG. 7, the device may include a processor 701, a memory 702, an input device 703, and an output device 704. The number of processors 701 in the device for interaction based on a virtual resource object may be one or more. As an example, FIG. 7 illustrates one processor. In some embodiments of the present disclosure, the processor 701, the memory 702, the input device 703, and the output device 704 may be connected by a bus or other means. FIG. 7 illustrates a connection by a bus as an example.
[0118] Memory 702 may be used to store software programs and modules. The processor 701 executes the software programs and modules stored in the memory 702 to perform various functional applications and data processing of the interaction device based on the virtual resource object. The memory 702 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, application programs required for at least one function, etc. Note that the memory 702 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one magnetic disk memory device, a flash memory device, or other volatile solid-state memory devices. The input device 703 may be used to receive the input numerical or character information and generate signal inputs related to user settings and function control of the interaction device based on the virtual resource object.
[0119] Specifically, in this embodiment, the processor 701 loads an executable file corresponding to the process of one or more application programs into the memory 702 according to the following instructions, and realizes various functions of the interaction device based on the virtual resource object by running the application programs stored in the memory 702 by the processor 701.
[0120] What should be noted is that in this specification, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. And the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive "including", whereby a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or further includes elements specific to such a process, method, article or device. In the absence of further limitations, the element defined by the phrase "comprising one..." does not exclude the presence of another identical element in the process, method, article or device comprising the said element.
[0121] As described above, these are only specific embodiments of the present disclosure, and those skilled in the art can understand or implement the present disclosure. Various modifications to these examples will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other examples without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to these examples described herein, but should be adapted to the broadest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for interaction based on virtual resource objects, the method comprising: obtaining current location information and current time information in response to a pre-set interaction trigger operation; uploading an interaction processing request to a target server, the interaction processing request being used to request the target server to determine a target virtual resource object, the target virtual resource object being a virtual resource object corresponding to historical event information determined based on the current location information and the current time information; receiving the target virtual resource object sent by the target server and executing a target interaction function based on the target virtual resource object. Method.
2. The step of executing a target interaction function based on the target virtual resource object comprises: presenting the target virtual resource object on a video capture page; generating a first multimedia resource based on the target virtual resource object, the target virtual resource object being presented in the first multimedia resource. The method according to claim 1.
3. The step of generating a first multimedia resource based on the target virtual resource object comprises: in response to a trigger operation on an album entry on the video capture page, jumping from the video capture page to a user material page where at least one user material is presented; Responding to a selection operation on a target user material among the at least one user material, applying the target virtual resource object to the target user material to obtain a first multimedia resource, the method according to claim 2, comprising:
4. The step of generating a first multimedia resource based on the target virtual resource object includes: Responding to a shooting trigger operation acting on the video capture page, shooting and obtaining a first multimedia resource based on the target virtual resource object, the method according to claim 2, comprising:
5. The target virtual resource object includes at least one of a person image, a person animation, and a virtual character, and responding to a shooting trigger operation acting on the video capture page, shooting and obtaining a first multimedia resource based on the target virtual resource object, the step includes: Responding to a shooting trigger operation acting on the video capture page, collecting the actions of the target object in the shooting screen, and controlling the target virtual resource object to execute the actions of the target object in the shooting screen to obtain a first multimedia resource, the method according to claim 4, comprising:
6. The target virtual resource object carries pre-set action information, the target virtual resource object includes at least one of a person image, a person animation, and a virtual character, and responding to a shooting trigger operation acting on the video capture page, shooting and obtaining a first multimedia resource based on the target virtual resource object, the step includes: Controlling the target virtual resource object to execute an operation according to the preset operation information in response to a shooting trigger operation acting on the video capture page, and obtaining a first multimedia resource, the method according to claim 4.
7. A method for interaction based on a virtual resource object, the method comprising: Receiving an interaction processing request from a client, the interaction processing request carrying current location information and current time information; Determining corresponding historical event information based on the current location information and the current time information, the historical event information including person information of the historical event and / or description information of the historical event; Determining a virtual resource object corresponding to the historical event information as a target virtual resource object, and sending the target virtual resource object to the client. Method.
8. The step of determining corresponding historical event information based on the current location information and the current time information is: Executing matching for the current location information and the current time information based on a pre-established index relationship among the location information, the time information, and the historical event information, and obtaining historical event information corresponding to the current location information and the current time information, the method according to claim 7.
9. The step of executing matching for the current location information and the current time information based on a pre-established index relationship among the location information, the time information, and the historical event information, and obtaining historical event information corresponding to the current location information and the current time information is: Executing a matching for the current location information and the current time information based on a pre-established index relationship between location information, time information, and historical event information; When the matching is not successful, performing area expansion based on the current location information to obtain expanded location information; Determining corresponding historical event information based on the expanded location information and the current time information, the method according to claim 8.
10. The step of determining the virtual resource object corresponding to the historical event information as the target virtual resource object: Includes inputting the historical event information into a target model and outputting a target virtual resource object after the target model processes the historical event information, where the target model is a model obtained through training based on training samples including historical event information and virtual resource objects with a corresponding relationship, the method according to claim 7.
11. An apparatus for interaction based on a virtual resource object, the apparatus comprising: An acquisition module for acquiring current location information and current time information in response to a pre-set interaction trigger operation; An upload module for uploading an interaction processing request to a target server to convey the current location information and the current time information, where the interaction processing request is used to request the target server to determine a target virtual resource object, and the target virtual resource object is a virtual resource object corresponding to historical event information determined based on the current location information and the current time information; A first receiving module that receives the target virtual resource object transmitted by the target server and executes a target interaction function based on the target virtual resource object; comprising an apparatus. **Claim 12** An apparatus for interaction based on a virtual resource object, the apparatus comprising: A second receiving module for receiving an interaction processing request from a client, wherein the interaction processing request carries current location information and current time information; A first determination module for determining corresponding historical event information based on the current location information and the current time information, wherein the historical event information includes personal information of the historical event and / or descriptive information of the historical event; A second determination module for determining a virtual resource object corresponding to the historical event information as a target virtual resource object and transmitting the target virtual resource object to the client; comprising an apparatus. **Claim 13** A computer-readable storage medium that stores instructions, and when the instructions are executed by a terminal device, the terminal device realizes the method according to any one of claims 1 to 10. **Claim 14** An apparatus for interaction based on a virtual resource object, the apparatus including a memory, a processor, and a computer program stored in the memory and executed by the processor. When the processor executes the computer program, the processor realizes the method according to any one of claims 1 to 10. **Claim 15** A computer program which, when executed by a processor, causes the processor to implement the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Information processing method and device
CN107230237A
Imaging device, server, and communication system
JP2015231166A
Display system, display method, computer program, computer readable recording medium
JP2016110245A
Computer system and program
JP2018010641A
Image processing device, image processing method and image processing system
JP2022123692A