Data processing methods, apparatus, devices, and programs
The data processing method and apparatus address the monotonous display of virtual objects by enabling interactive and personalized animations for virtual objects associated with interaction messages, enhancing user experience through varied visual interactions.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2022-11-07
- Publication Date
- 2026-04-28
AI Technical Summary
Existing technologies display virtual objects associated with interaction messages in a uniform manner without discrimination, leading to a monotonous display effect.
A data processing method and apparatus that dynamically displays first and resource objects in interaction interfaces, allowing for interactive movements and personalized virtual object displays by associating objects with interaction messages, enabling different animations for the same message based on location and time.
Enhances the display effect of virtual objects by providing personalized and interactive animations, enriching emotional expression and user experience through varied visual interactions.
Smart Images

Figure 0007852827000001 
Figure 0007852827000002 
Figure 0007852827000003
Abstract
Description
Technical Field
[0001] This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on January 24, 2022, with the application number 202210081766.1 and the application title "Data Processing Method, Apparatus, Computer Device and Readable Storage Medium", and all of its content is incorporated herein by reference.
[0002] This application relates to the field of communication technologies, and particularly to data processing.
Background Art
[0003] In the process of message interaction, when an interaction message can be recognized to trigger and generate a virtual object, related technologies display a virtual object (for example, virtual object D) associated with the interaction message (for example, interaction message X) in the form of falling emoticons (emoticon rain) on the interaction interface. For example, when the interaction message X is "Happy Birthday", a virtual object D in the style of "cake" is dynamically displayed on the interaction interface.
Summary of the Invention
Problems to be Solved by the Invention
[0004] However, when dynamically displaying a virtual object in the form of falling emoticons in related technologies, the same interaction message sent for different objects always displays the virtual object corresponding to the interaction message using the same display video without discrimination, so the display method of the virtual object is too single.
[0005] Embodiments of this application provide a data processing method, apparatus, device, medium and program product that can enrich the display effect of virtual objects associated with interaction messages.
Means for Solving the Problems
[0006] One embodiment of the present application provides a data processing method, The steps for displaying a first interaction message on an interaction interface are: displaying a first virtual object in the first interaction region where the first interaction message is located, and displaying a resource object at the target location of the interaction interface, wherein the first interaction message is transmitted by the first object, both the first virtual object and the resource object are associated with the first interaction message, and the resource object has interactive functionality with the first virtual object; The interaction interface includes the step of displaying interaction movements relating to the first virtual object and the resource object, wherein the interaction movement includes movement from the position of the first virtual object's first interaction area and / or movement from the target position of the resource object.
[0007] One embodiment of the present application provides a data processing device. A first display module that, when displaying a first interaction message on an interaction interface, displays a first virtual object in the first interaction area where the first interaction message is located, and displays a resource object at the target location of the interaction interface, wherein the first interaction message is transmitted by the first object, both the first virtual object and the resource object are associated with the first interaction message, and the resource object has interactive functionality with the first virtual object, and The interaction interface includes a first movement module that displays interaction movements relating to the first virtual object and the resource object, wherein the interaction movement includes movement from the position of the first virtual object in a first interaction area and / or movement from the target position of the resource object.
[0008] One embodiment of the present application provides a computer device including a processor and memory, wherein the processor and memory are connected, the memory stores a computer program, and when the computer program is executed by the processor, the computer device causes the computer device to perform the method described in the above embodiment.
[0009] One embodiment of the present invention provides a computer-readable storage medium in which a computer program is stored, and the computer program is read and executed by a processor, thereby causing a computer device equipped with the processor to perform the method described in the above embodiment.
[0010] One embodiment of the present invention provides a computer program product or computer program, the computer program product or computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. The processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, thereby causing the computer device to perform the method described in the above embodiment. [Effects of the Invention]
[0011] According to embodiments of this application, when a first interaction message is displayed in an interaction interface, a first virtual object is displayed in a first interaction region where the first interaction message is located, a resource object is displayed at a target position in the interaction interface, and interaction movements relating to the first virtual object and the resource object are displayed in the interaction interface, the interaction movements including movement of the first virtual object from its position in the first interaction region and / or movement of the resource object from its target position. The first interaction message is transmitted by the first object, and both the first virtual object and the resource object are associated with the first interaction message. Thus, when the first object transmits the first interaction message in the interaction interface, the first virtual object and resource object associated with the first interaction message are displayed in the interaction interface, where the resource object has interactive functionality with the virtual object. Furthermore, since the display position of the first virtual object is associated with the area where the first interaction message is located, it is possible to display the associated virtual objects in different positions for interaction messages located in different areas within the interaction interface. This allows for the display of virtual objects and resource objects associated with the same interaction message using different display animations within the interaction interface, and further enhances the display effect of virtual objects associated with interaction messages by realizing a personalized virtual object display method. [Brief explanation of the drawing]
[0012] [Figure 1] This is a schematic diagram of the network architecture provided by the embodiment of this application. [Figure 2a]This is a schematic diagram of a data interaction scenario provided by the embodiments of this application. [Figure 2b] This is a schematic diagram of a data interaction scenario provided by the embodiments of this application. [Figure 3] This is a schematic flowchart of the data processing method provided in the embodiment of this application. [Figure 4] This is a schematic diagram of a scenario showing a first virtual object provided by the embodiment of this application. [Figure 5] This is a schematic flowchart of the data processing method provided in the embodiment of this application. [Figure 6] This is a schematic diagram of a scenario displaying resource objects provided by the embodiments of this application. [Figure 7a] This is a schematic diagram illustrating a scenario for moving resource objects provided by the embodiments of this application. [Figure 7b] This is a schematic diagram illustrating a scenario for moving resource objects provided by the embodiments of this application. [Figure 7c] This is a schematic diagram illustrating a scenario for moving resource objects provided by the embodiments of this application. [Figure 8] This is a schematic diagram of a collision detection scenario provided by the embodiments of this application. [Figure 9a] This is a schematic diagram of a scenario showing the first resource sub-object provided by the embodiment of this application. [Figure 9b] This is a schematic diagram of a scenario showing the first resource sub-object provided by the embodiment of this application. [Figure 10] This is a schematic flowchart of the data processing method provided in the embodiment of this application. [Figure 11] This is a schematic diagram of a scenario for determining the movement trajectory provided by the embodiment of this application. [Figure 12] This is a schematic diagram of a scenario for displaying multiple interaction messages provided by the embodiments of this application. [Figure 13] This is a schematic flowchart of the data processing method provided in the embodiment of this application. [Figure 14]It is a schematic diagram of a scenario for displaying a second virtual object provided by an embodiment of the present application. [Figure 15] It is a schematic diagram of a scenario for displaying an overlapping interactive animation provided by an embodiment of the present application. [Figure 16] It is a schematic flowchart of a data processing method provided by an embodiment of the present application. [Figure 17] It is a schematic diagram of a scenario for receiving a virtual resource provided by an embodiment of the present application. [Figure 18] It is a schematic diagram of a scenario for performing an interactive operation provided by an embodiment of the present application. [Figure 19] It is a schematic diagram of a scenario for determining a jump height provided by an embodiment of the present application. [Figure 20] It is a schematic structural diagram of a data processing apparatus provided by an embodiment of the present application. [Figure 21] It is a schematic structural diagram of a computer device provided by an embodiment of the present application.
Embodiments for Carrying out the Invention
[0013] Hereinafter, in combination with the drawings of the embodiments of the present application, the technical solutions of the embodiments of the present application will be clearly and completely described. The described embodiments are not all embodiments of the present application, but only some embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained on the premise that those skilled in the art do not make labor worthy of inventive step all fall within the protection scope of the present application.
[0014] Specifically, referring to Figure 1, which is a schematic diagram of the structure of a network architecture provided by an embodiment of this application, the network architecture includes a service server 2000 and a terminal device cluster. The terminal device cluster specifically includes one or more terminal devices, and there is no limit to the number of terminal devices in the terminal device cluster. As shown in Figure 1, the multiple terminal devices specifically include terminal devices 3000a, 3000b, 3000c, ..., and 3000n, and each of the terminal devices 3000a, 3000b, 3000c, ..., and 3000n is directly or indirectly connected to the service server 2000 via a wired or wireless communication method, thereby enabling each terminal device to perform data interaction with the service server 2000 through the network connection.
[0015] Each terminal device in the terminal device cluster includes smart terminals equipped with data processing functions, such as wearable devices, smartphones, tablets, laptops, desktop computers, smart home devices, and in-vehicle terminals. In the terminal device cluster shown in Figure 1, application clients are integrated and installed on each terminal device. When these application clients are executed on each terminal device, they can perform data interaction with the service server 2000 shown in Figure 1. Specifically, application clients include clients equipped with data processing functions, such as in-vehicle clients, smart home clients, entertainment clients (e.g., game clients), media clients (e.g., video clients), social clients, and infotainment clients (e.g., news clients). Note that the in-vehicle terminal may also be a smart terminal in a smart transportation scenario, and the application client on the in-vehicle terminal may be one of the aforementioned in-vehicle clients.
[0016] The service server 2000 in Figure 1 may be a server corresponding to an application client, and the service server 2000 may be an independent physical server, a server cluster consisting of multiple physical servers, or a distributed system, or it may be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDNs, big data, and artificial intelligence platforms.
[0017] The servers and terminal devices mentioned above all belong to the category of computer equipment, and the data processing methods provided in the embodiments of this application are executed by computer equipment.
[0018] Here, in the embodiment of this application, the terminal device corresponding to the first object is referred to as the first terminal, and the application client integrated and installed on the first terminal is the first client. In the embodiment of this application, one terminal device is selected from the above terminal device cluster as the first terminal; for example, in the embodiment of this application, terminal device 3000a in the above terminal device cluster is designated as the first terminal. Here, the first object in the embodiment of this application is the user who sends an interaction message by the first client, i.e., the message sender.
[0019] Here, in the embodiment of this application, the terminal device corresponding to the second object is referred to as the second terminal, and the application client integrated and installed on the second terminal is the second client. In the embodiment of this application, one terminal device is selected from the above terminal device cluster as the second terminal; for example, in the embodiment of this application, terminal device 3000b in the above terminal device cluster is designated as the second terminal. Here, the second object in the embodiment of this application is the user who receives interaction messages from the second client, i.e., the message recipient.
[0020] Here, the first object in the embodiment of this application may be the message sender or the message receiver, and the second object in the embodiment of this application may be the message receiver or the message sender. When the first object is the message sender, the first terminal sends an interaction message to the second terminal via the service server 2000, so that the second object corresponding to the second terminal becomes the message receiver. When the second object is the message sender, the second terminal sends an interaction message to the first terminal via the service server 2000, so that the first object corresponding to the first terminal becomes the message receiver.
[0021] For ease of understanding, according to the embodiments of this application, interaction messages transmitted by a first object (e.g., object Y1) in a first client are collectively referred to as first interaction messages, and according to the embodiments of this application, interaction messages received by object Y1 in the first client are collectively referred to as second interaction messages. Correspondingly, according to the embodiments of this application, interaction messages received by a second object (object Y2) in a second client are collectively referred to as first interaction messages, and according to the embodiments of this application, interaction messages transmitted by object Y2 in the second client are collectively referred to as second interaction messages.
[0022] Here, the embodiment of this application applies to a service scenario in which an interactive falling emoji is triggered in an interaction interface, where a first interaction message and a second interaction message trigger an interactive falling emoji in the application client, where the interactive falling emoji is triggered by an interactive message by a single user, and triggers between multiple users create a collaborative effect, realizing social interaction between falling emojis and enhancing interest. As an Easter egg in conversational chat, the interactive falling emoji brings a surprise to users in everyday chat, creates a special atmosphere on special occasions, and the interactive form also reduces the distance between users during conversation.
[0023] To facilitate understanding, further, refer to Figures 2a and 2b, which are schematic diagrams of data interaction scenarios provided by the embodiments of this application. Server 20a in Figure 2a is the service server 2000 in the embodiment corresponding to Figure 1 above, terminal device 20b in Figure 2a is any one terminal device in the terminal device cluster of the embodiment corresponding to Figure 1 above, and terminal device 20d in Figures 2a and 2b is any one terminal device in the terminal device cluster of the embodiment corresponding to Figure 1 above. To facilitate understanding, using the embodiment of this application as an example, where terminal device 20b is the first terminal and terminal device 20d is the second terminal, we will describe the specific process by which terminal device 20b, terminal device 20d, and server 20a perform data interaction in Figures 2a and 2b.
[0024] The object corresponding to terminal device 20b is object 20c, and object 20c becomes the message sender and message receiver by the first client on terminal device 20b. The object corresponding to terminal device 20d is object 20e, and object 20e becomes the message sender and message receiver by the second client on terminal device 20d. The first and second clients periodically retrieve the resource library associated with the interactive falling emoticons from server 20a.
[0025] The interaction interfaces 21a, 21b, 21c, and 21d in Figure 2a are interaction interfaces of the first client at different times. Object 20c receives an interaction message 22a from the first client, which allows the first client to obtain the interaction interface 21a on which the interaction message 22a is displayed. When displaying the interaction message 22a on the interaction interface 21a, the first client obtains the virtual object 22b associated with the interaction message 22a from the resource library, displays the obtained virtual object 22b in the interaction area where the interaction message 22a is located, and further moves the virtual object 22b from its position in the interaction area where the interaction message 22a is located to display it on the interaction interface 21a. The interaction area where the interaction message 22a is located is the message box in the interaction interface 21a of the interaction message 22a, and in this case, the display position of the virtual object 22b is display position 25a. The virtual object 22b may be the "lion" in Figure 2a, and this application does not limit the form of the virtual object 22b.
[0026] Simultaneously, when displaying a virtual object 22b on the interaction interface 21a, the first client retrieves a resource object 22c associated with the interaction message 22a from the resource library, displays the retrieved resource object 22c at the target position on the interaction interface 21a, and further moves the resource object 22c from the target position on the interaction interface 21a for display. The target position may be the top of the message area on the interaction interface 21a, in which case the display position of the resource object 22c is display position 25b. The resource object 22c may be the "lucky bag" shown in Figure 2a, and this application does not limit the form of the resource object 22c.
[0027] As shown in Figure 2a, object 20c receives interaction message 23a from the first client, which allows the first client to obtain the interaction interface 21b on which the interaction message 23a is displayed. When displaying the interaction message 23a on the interaction interface 21b, the first client obtains the virtual object 23b associated with the interaction message 23a from the resource library, displays the obtained virtual object 23b in the interaction area where the interaction message 23a is located, and further moves the virtual object 23b from its position in the interaction area where the interaction message 23a is located to display it on the interaction interface 21b. The interaction area where the interaction message 23a is located may also be the message box on the interaction interface 21b of the interaction message 23a, in which case the display position of the virtual object 23b is the display position 25c. The virtual object 23b may be the "lion" in Figure 2a, and this application does not limit the form of the virtual object 23b.
[0028] As shown in Figure 2a, during the joint movement of virtual object 22b, virtual object 23b, and resource object 22c, the display positions corresponding to virtual object 22b, virtual object 23b, and resource object 22c change. Assuming that the display positions of the moving virtual object 23b and the moving resource object 22c may overlap, if the display positions of the moving virtual object 23b and the moving resource object 22c overlap, the first client triggers virtual object 23b to perform an interactive action (e.g., a collision action) on resource object 22c, causing resource object 22c to shift its position in the interaction interface 21c and switch the interaction interface 21c to the interaction interface 21d. If the display position of the moving virtual object 23b and the display position of the moving resource object 22c overlap, the display position of the resource object 22c is display position 25f, the display position of the virtual object 23b is display position 25e, and the display position of the virtual object 22b is display position 25d.
[0029] At the same time, the first client displays resource subobjects that match the interaction message 23a at the display position 25f of the resource object 22c, where there is at least one resource subobject that matches the interaction message 23a. For example, as shown in Figure 2a, there are five resource subobjects that match the interaction message 23a, and these five resource subobjects specifically include resource subobject 24a, resource subobject 24b, resource subobject 24c, resource subobject 24d, and resource subobject 24e.
[0030] Preferably, when the display position of a moving virtual object 22b and the display position of a moving resource object 22c overlap, the first client triggers the virtual object 22b to perform an interactive action (e.g., a collision action) on the resource object 22c, causing the resource object 22c to shift position in the interaction interface 21c. At the same time, the first client displays a resource sub-object (not shown in the diagram) that matches the interaction message 22a at the display position 25f of the resource object 22c, where there is at least one resource sub-object that matches the interaction message 22a.
[0031] Furthermore, if different "lions" jump out of different message bubbles and then jump in the interaction interface, and the trajectory of one "lion" meets the trajectory of the falling "lucky bag," the "lion" will thrust the "lucky bag" upwards, causing multiple elements (i.e., resource sub-objects) to fall from it. If the display position of the moving resource object 22c overlaps with the display positions of virtual object 22b and virtual object 23b at different times, the two "lions" will begin interacting and take turns thrusting the "lucky bag" upwards.
[0032] Here, the resource sub-object that matches interaction message 23a is called the first resource sub-object, and the resource sub-object that matches interaction message 22a is called the second resource sub-object. In the embodiments of this application, it is explained as an example that the number of first resource sub-objects and the number of second resource sub-objects are both at least two. The first resource sub-object and the second resource sub-object may be the same or different, and this application does not limit them.
[0033] The interaction interfaces 26a, 26b, 26c, and 26d in Figure 2b are interaction interfaces for a second client at different times. Object 20e receives an interaction message 22a from the second client, which allows the second client to obtain the interaction interface 26a on which the interaction message 22a is displayed. When displaying the interaction message 22a on the interaction interface 26a, the second client displays the virtual object 22b associated with the interaction message 22a in the interaction area where the interaction message 22a is located. Furthermore, the interaction interface 26a moves the virtual object 22b from its position in the interaction area where the interaction message 22a is located and displays it.
[0034] At the same time, when displaying a virtual object 22b on the interaction interface 26a, the second client displays the resource object 22c associated with the interaction message 22a at the target location on the interaction interface 26a, and further moves the resource object 22c from the target location on the interaction interface 26a for display.
[0035] As shown in Figure 2b, object 20e sends an interaction message 23a by a second client, and in this way the second client can obtain an interaction interface 26b on which the interaction message 23a is displayed. When displaying the interaction message 23a on the interaction interface 26b, the second client displays the virtual object 23b associated with the interaction message 23a in the interaction area where the interaction message 23a is located, and further moves the virtual object 23b from the position of the interaction area where the interaction message 23a is located and displays it on the interaction interface 26b.
[0036] As shown in Figure 2b, during the joint movement of virtual object 22b, virtual object 23b, and resource object 22c, the display positions corresponding to virtual object 22b, virtual object 23b, and resource object 22c change. Assuming that the display positions of the moving virtual object 23b and the moving resource object 22c may overlap, if the display positions of the moving virtual object 23b and the moving resource object 22c overlap, the second client triggers virtual object 23b to perform an interactive action (e.g., a collision action) on resource object 22c, causing resource object 22c to shift its position in interaction interface 26c and switch interaction interface 26c to interaction interface 26d.
[0037] At the same time, the second client displays resource subobjects 24a, 24b, 24c, 24d, and 24e, which match the interaction message 23a, at the display location of resource object 22c.
[0038] Preferably, if the display position of the moving virtual object 22b and the display position of the moving resource object 22c overlap, the second client triggers the virtual object 22b to perform an interactive action (e.g., a collision action) on the resource object 22c, causing the resource object 22c to shift position in the interaction interface 26c. At the same time, the second client displays a resource sub-object that matches the interaction message 22a at the display position of the resource object 22c.
[0039] Thus, the embodiment of this application can realize an effective interactive technology, enabling a personalized virtual object display method by moving and displaying the first virtual object from the interaction area associated with the first object, and moving and displaying the second virtual object from the interaction area associated with the second object. Furthermore, the first virtual object and resource object associated with the first object, and the second virtual object associated with the first object, are simultaneously superimposed and displayed on the interaction interface, and the first virtual object, the second virtual object, and the resource object can enable interaction within the interaction interface. Therefore, in the embodiment of this application, through multi-message linkage and attractive visual display, objects can be more interactive using emoticons (i.e., virtual objects and resource objects), enriching the display effect of virtual objects associated with interaction messages, enhancing emotional expression and the enjoyment of interaction, and further improving the user experience of interaction.
[0040] Furthermore, referring to Figure 3, which is a schematic flowchart of a data processing method provided by an embodiment of the present application, the method may be executed by a server, by an application client, or jointly by a server and an application client. The server may be server 20a in the embodiment corresponding to Figure 2a above, and the application client may be the first client in terminal device 20b in the embodiment corresponding to Figure 2a above. For ease of understanding, the embodiment of the present application will be described as an example in which the method is executed by an application client. The data processing method includes the following S101 to S102.
[0041] S101: When displaying the first interaction message in the interaction interface, the first virtual object is displayed in the first interaction area where the first interaction message is located.
[0042] Specifically, if a first interaction message is displayed in the interaction interface, and the first interaction message includes message key data with a virtual object trigger function, the application client retrieves the first virtual object and the effective time range indicated by the message key data from the resource library. The resource library (i.e., the local word list) is retrieved periodically by the application client to which the interaction interface belongs. The first interaction message is sent by the first object, and the first virtual object is associated with the first interaction message. Furthermore, if the current time is within the effective time range, the application client may display the first virtual object in the first interaction area where the first interaction message is located. Preferably, if the current time is outside the effective time range, the application client does not need to display the first virtual object in the first interaction area where the first interaction message is located.
[0043] Herein, if the above embodiments of this application involve relevant data such as user interaction information, the name of the user's group chat interface, and friendship relationships between users, and if they are applied to a specific product or technology, the user's permission or consent must be obtained, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and national standards of the country of residence.
[0044] Here, the first object, while aware of the situation, performs user authentication. After successful user authentication, the application client matches the interaction message with message key data. Furthermore, neither the application client nor the server performs data analysis or storage on the interaction message; only message key data matching is performed. The application client also pre-exhibits message key data to the first object to trigger the interactive falling emoji. When the first object attempts to use the interactive falling emoji function, it sends an interaction message containing the message key data in the interaction interface.
[0045] Preferably, if the effective time range indicated by the message key data cannot be obtained from the resource library, the application client determines that the message key data does not have an effective time range and that the message key data is effective for a long period of time.
[0046] Here, the application client compares the current time with the effective time range to determine whether the current time falls within the effective time range. For example, if the effective time range is from January 1st to January 7th, and the current time is 12:00 PM on January 5th, the application client determines that the current time is within the effective time range. If the current time is 12:00 PM on January 8th, the application client determines that the current time is outside the effective time range.
[0047] Here, the first interaction message may be a text message, picture message, video message, audio message, or emoticon message, and these will not be listed individually here. For example, if the first interaction message is a text message, the message key data is a keyword extracted from the text message. For example, if the first interaction message is a picture message, the message key data is a keyword extracted from the picture message. For example, if the first interaction message is a video message, the message key data is a keyword recognized from the video message. For example, if the first interaction message is an audio message, the message key data is a keyword recognized from the audio message. For example, if the first interaction message is an emoticon message, the message key data is one or more emoticon data in the first interaction message.
[0048] Here, different virtual objects can be obtained based on the effective time range indicated by the message key data, displaying different display effects in the interaction interface and increasing the interactive appeal of the interaction interface. For example, at timing T1, the first virtual object indicated by the message key data is virtual object D1, and at timing T2, the first virtual object indicated by the message key data is virtual object D2.
[0049] Here, if the first interaction message includes one message key data having a virtual object trigger function, the application client displays the first virtual object indicated by the message key data in the interaction interface. One message key data may correspond to one or more virtual objects, and multiple message key data may correspond to one virtual object. Preferably, if the first interaction message includes at least two message key data having a virtual object trigger function, the application client may display the first virtual object indicated by each of the at least two message key data in the interaction interface, or it may display the first virtual object indicated by any one of the at least two message key data in the interaction interface. For ease of understanding, in the embodiments of this application, the case where the number of message key data included in the first interaction message is one will be described as an example.
[0050] Here, the application client periodically retrieves the resource library from the server, thereby automatically overwriting objects with the resource library without requiring the application client to update them. For example, when the first object invokes the application client, the application client retrieves the updated resource library from the server and updates the resource library in local memory using the updated resource library. The resource library is pre-configured with message key data, design resources, effective time ranges, and resource trajectories. Here, the message key data is keyword or emoticon data, the design resource is the first virtual resource, and the resource trajectory indicates the movement trajectory of the design resource in the interaction interface.
[0051] S102: The interaction interface displays the interaction movements related to the first virtual object and resource object.
[0052] Interaction movement involves the movement of a first virtual object from the position of the first interaction area.
[0053] The application client retrieves the resource path indicated by the first virtual object from the resource library, and moves and displays the first virtual object according to the resource path.
[0054] For ease of understanding, refer to Figure 4, which is a schematic diagram of a scenario showing a first virtual object provided by an embodiment of this application. Interaction interfaces 40a and 40b in Figure 4 are interaction interfaces of an application client at different times, where the interaction interface interacted with by the application client may be a one-to-one chat interface or a group chat interface, and this application is not limited thereto. For ease of understanding, in an embodiment of this application, the interaction interface will be described as a group chat interface, and the name of the group chat interface is "Friendly Family".
[0055] As shown in Figure 4, the interaction interface 40a contains multiple interaction messages, and the first object sends the first interaction message by the application client. Here, the first interaction message is interaction message 41a, and interaction message 41a is "AA drink", but this application is not limited thereto. When displaying interaction message 41a on the interaction interface 40a, the application client acquires the first interaction area where interaction message 41a is located, which is interaction area 41b, and displays the first virtual object associated with interaction message 41a in interaction area 41b to acquire the interaction interface 40b. Here, the first virtual object is virtual object 41c.
[0056] Here, the virtual object 41c may be a "lion" or a "tiger," and this application is not limited thereto. The interaction area 41b is a message bubble in the interaction interface 40b, and visually, the display of a "lion" in the interaction area 41b may be understood as the "lion" leaping out of the message bubble.
[0057] Here, the first virtual object may not be displayed entirely within the first interaction area, but may be displayed partially within it, and visually, the first virtual object appears to jump out of the first interaction area and continue moving within the interaction interface.
[0058] Thus, in the embodiments of this application, when a first interaction message is displayed on the interaction interface, a first virtual object is displayed in the first interaction area where the first interaction message is located, and further, interaction movements relating to the first virtual object and the resource object are displayed on the interaction interface, and the interaction movements include displaying the movement of the first virtual object from the position of the first interaction area. The first interaction message is transmitted by the first object, and the first virtual object is associated with the first interaction message. Thus, when the first object transmits the first interaction message on the interaction interface, the first virtual object associated with the first interaction message is displayed in the first interaction area where the first interaction message is located. Furthermore, since the display position of the first virtual object is associated with the area where the first interaction message is located, it is possible to display virtual objects associated with different locations for interaction messages located in different areas within the interaction interface. This allows for the display of virtual objects and resource objects associated with the same type of interaction message using different display animations within the interaction interface, realizing a personalized virtual object display method and enriching the display effect of virtual objects associated with interaction messages.
[0059] Furthermore, referring to Figure 5, which is a schematic flowchart of a data processing method provided by an embodiment of the present application, the method may be executed by a server, by an application client, or jointly by a server and an application client, where the server is server 20a in the embodiment corresponding to Figure 2a above, and the application client is the first client in terminal device 20b in the embodiment corresponding to Figure 2a above. For ease of understanding, the embodiment of the present application will be described as an example in which the method is executed by an application client. The data processing method includes the following S201 to S204.
[0060] S201: When displaying the first interaction message in the interaction interface, the first virtual object is displayed in the first interaction area where the first interaction message is located.
[0061] The first interaction message is sent by the first object, and the first virtual object is associated with the first interaction message.
[0062] The specific process by which the application client displays the first virtual object in the first interaction area can be found by referring to the description in S101 in the embodiment corresponding to Figure 3 above, and will not be elaborated upon here.
[0063] S202: When displaying the first virtual object in the first interaction area, the resource object is displayed at the target location of the interaction interface.
[0064] The resource object is associated with the first interaction message.
[0065] Here, in the interaction interface, the target position and the position of the first interaction region may be different or the same. In the embodiments of this application, the case in which the target position and the position of the first interaction region are different in the interaction interface will be explained as an example.
[0066] Here, when displaying a first interaction message on the interaction interface, the application client may display the first virtual object and the resource object on the interaction interface simultaneously, or it may display the first virtual object first and then the resource object, or it may display the resource object first and then the first virtual object. For ease of understanding, the embodiments of this application will be described as an example in which the first virtual object is displayed first and then the resource object is displayed, and the embodiments of this application do not limit the display time interval between the first virtual object and the resource object.
[0067] For ease of understanding, please refer to Figure 6, which is a schematic diagram of a scenario showing resource objects provided by an embodiment of this application. Interaction interfaces 60a and 60b in Figure 6 are interaction interfaces of an application client at different times, and interaction interface 60a is interaction interface 40b in the embodiment corresponding to Figure 4 above. Interaction interface 60a displays an interaction message 61a and a virtual object 61b associated with the interaction message 61a.
[0068] As shown in Figure 6, when displaying a virtual object 61b on the interaction interface 60a, after a certain display time interval, the application client determines the target location from the interaction interface 60a, then displays the resource object 61c associated with the interaction message 61a at the target location, and switches the interaction interface 60a to the interaction interface 60b. The virtual object 61b may be displayed in the interaction area 62a, and the resource object 61c may be displayed at the target location 62b. For example, if the display time interval is 1 second, the application client may display the virtual object 61b in the interaction area 62a for 1 second, and then display the resource object 61c at the target location 62b.
[0069] S203: The interaction interface displays the interaction movements related to the first virtual object and the resource object.
[0070] The interaction movement includes the movement display of the first virtual object from the position of the first interaction area.
[0071] Specifically, the application client obtains the object position distance between the display position of the first virtual object and the display position of the resource object. Furthermore, the application client generates a virtual region in the interaction interface indicated by the object position distance. Then, based on the virtual region, the application client moves and displays the first virtual object from the position of the first interaction region.
[0072] Here, the resource trajectory indicated by the first virtual object is determined by the display position of the first virtual object and the display position of the resource object. For the specific process by which the application client moves and displays the first virtual object based on the resource trajectory, refer to the descriptions in S2031 to S2035 in the embodiment corresponding to Figure 10 below.
[0073] S204: In the interaction interface, move and display the resource object from the target location.
[0074] Specifically, the application client obtains the default movement path indicated by the resource object from the resource library. The embodiments of this application do not limit the default movement path, nor do they limit the movement speed of the resource object. Furthermore, in the conversation interface, the application client moves and displays the resource object from the target position according to the default movement path. Here, the default movement path may also be called the resource path indicated by the resource object. When different input fields pop up in the interaction interface, the resource object has a similar range of movement; for example, when the system keyboard pops up and when the inventory pops up, the resource object has a similar range of movement, but has different display effects.
[0075] Here, the application client may simultaneously move and display the first virtual object and the resource object in the interaction interface, or it may move and display the first virtual object in the interaction interface first, and then move and display the resource object, or it may move and display the resource object in the interaction interface first, and then move and display the first virtual object. Note that if the target position and the position of the first interaction area are different in the interaction interface, interactive operation can be performed between the first virtual object and the resource object during the movement and display process. Preferably, if the target position and the position of the first interaction area are the same in the interaction interface, the resource trajectory indicated by the first virtual object and the resource trajectory indicated by the resource object are different, and interactive operation can be performed between the first virtual object and the resource object during the movement and display process.
[0076] Here, for a specific process in which an application client directly moves and displays a resource object in the conversation interface, please refer to Figure 7a, which is a schematic diagram of a scenario for moving a resource object provided by an embodiment of this application. The interaction interface 70a includes a resource object 71a, and the default movement trajectory of the resource object 71a in the interaction interface 70a is the resource trajectory 71b, the starting point of the resource trajectory 71b is the target position of the interaction interface 70a, and the ending point of the resource trajectory 71b is the update position of the interaction interface 70a, and the embodiment of this application does not limit the specific positions of the target position and the update position.
[0077] In Figure 7a, the interaction interface 70b displays the movement of the resource object 71a from the start point of the resource trajectory 71b to the end point of the resource trajectory 71b. The interaction interface switches from interaction interface 70a to interaction interface 70b, and the resource object 71a moves from the target position of interaction interface 70a to the update position of interaction interface 70b. In this case, the display position of the resource object 71a is display position 71c.
[0078] Preferably, the interaction interface includes a virtual object area (i.e., inventory) and a message display area, the message display area being the area of the interaction interface excluding the virtual object area. Here, the application client moves a resource object from a target location. Furthermore, if the resource object being moved is located in the message display area, the application client displays the resource object in the message display area; if the resource object being moved is located in the virtual object area, the application client displays the resource object in the virtual object area.
[0079] Here, for a specific process of how the application client moves and displays resource objects in the virtual object area and the message display area, please refer to Figure 7b, which is a schematic diagram of a scenario for moving resource objects provided by the embodiment of this application. The interaction interface 72a includes a resource object 73a, and the default movement trajectory of the resource object 73a in the interaction interface 72a is the resource trajectory 73b.
[0080] As shown in Figure 7b, the interaction interface 72a includes a virtual object area 73c and a message display area, with the message display area being the area of the interaction interface 72a excluding the virtual object area 73c. Here, the interaction interface 72a in Figure 7b displays the movement of a resource object 73a from the starting point of the resource trajectory 73b to the ending point of the resource trajectory 73b, and during the process of displaying the movement of the resource object 73a, the interaction interface switches from interaction interface 72a to interaction interface 72b.
[0081] As shown in the interaction interface 72b of Figure 7b, if the moving resource object 73a is located in the message display area, the application client displays the moving resource object 73a in the message display area. If the moving resource object 73a is located in the virtual object area 73c, the application client displays the moving resource object 73a in the virtual object area 73c. If the moving resource object 73a is located in both the virtual object area 73c and the message display area simultaneously, the application client displays the moving resource object 73a in both the virtual object area 73c and the message display area simultaneously.
[0082] Preferably, the interaction interface includes a virtual keyboard area (i.e., a system keyboard) and a message display area, the message display area being the area of the interaction interface excluding the virtual keyboard area. Here, the application client moves a resource object from a target location. Furthermore, if the resource object being moved is located in the message display area, the application client displays the resource object in the message display area, and if the resource object being moved is located in the virtual keyboard area, the application client displays the resource object by overwriting it with the virtual keyboard in the virtual keyboard area.
[0083] Here, for a specific process of how the application client moves and displays resource objects in the virtual keyboard area and message display area, please refer to Figure 7c, which is a schematic diagram of a scenario for moving resource objects provided by the embodiment of this application. The interaction interface 74a includes a resource object 75a, and the default movement trajectory of the resource object 75a in the interaction interface 74a is the resource trajectory 75b.
[0084] As shown in Figure 7c, the interaction interface 74a includes a virtual keyboard area 75c and a message display area, with the message display area being the area of the interaction interface 74a excluding the virtual keyboard area 75c. Here, the interaction interface 74a in Figure 7c displays the movement of the resource object 75a from the starting point of the resource trajectory 75b to the endpoint in the message display area of the resource trajectory 75b, and during the display of the movement of the resource object 75a, the interaction interface switches from interaction interface 74a to interaction interface 74b. Note that the endpoint in the interaction interface 74a of the resource trajectory 75b is different from the endpoint in the message display area; after the resource object 75a moves to the endpoint in the message display area of the resource trajectory 75b, it continues to move to the endpoint in the interaction interface 74a of the resource trajectory 75b.
[0085] As shown in the interaction interface 74b in Figure 7c, when a moving resource object 75a is located in the message display area, the application client displays the moving resource object 75a in the message display area. When a moving resource object 75a is located in the virtual keyboard area 75c, the application client overwrites and displays the moving resource object 75a using the virtual keyboard in the virtual keyboard area 75c. When a moving resource object 75a is located in both the virtual keyboard area 75c and the message display area simultaneously, the application client displays the portion of the moving resource object 73a located in the message display area in the message display area, and overwrites and displays the portion of the moving resource object 73a located in the virtual keyboard area 75c using the virtual keyboard in the virtual keyboard area 75c.
[0086] Here, if the resource object 75a is partially or completely hidden in the interaction interface 74b, and the resource object 75a has not moved to the endpoint of the resource path 75b in the interaction interface 74a, when the first object performs a hide operation on the virtual keyboard area 75c in the interaction interface 74b, the application client responds to the hide operation performed by the first object by hiding the virtual keyboard area 75c in the interaction interface 74b, thereby making the resource object 75a fully visible again in the interaction interface 74b.
[0087] Here, if the display position of the first virtual object and the display position of the resource object overlap during the interaction movement described above, the application client controls the first virtual object to perform an interactive action on the resource object, where the interactive action is a collision action.
[0088] Here, the application client adds a virtual detection region (i.e., the first virtual detection region) to the first virtual object and a resource detection region to the resource object. Furthermore, during the movement of the first virtual object and the resource object, the application client generates a region overlap degree (i.e., the first region overlap degree) between the virtual detection region and the resource detection region based on the region intersection and region union between the virtual detection region and the resource detection region. Furthermore, if the region overlap degree is greater than the overlap degree threshold, the application client determines that the display position of the moving first virtual object and the display position of the moving resource object overlap. The embodiments of this application do not limit the specific value of the overlap degree threshold. Preferably, if the region overlap degree is less than or equal to the overlap degree threshold, the application client determines that the display position of the moving first virtual object and the display position of the moving resource object do not overlap.
[0089] Here, the application client determines the degree of region overlap between the virtual discovery region and the resource discovery region using the Jacquard coefficient (Intersection-over-Union, abbreviated as IoU). IoU is a concept used for target discovery, and here we show the ratio between the region intersection and the region union, i.e., the result of dividing the region intersection by the region union.
[0090] In the embodiments of this application, the shapes of the virtual detection region and resource detection region used by collision detection may be semicircular. In this case, the collision detection is called semicircular collision detection, the virtual detection region represents the upper half of the first virtual object, and the resource detection region represents the lower half of the resource object. Collision detection adds boundaries (i.e., detection regions) to the object requiring collision detection and determines whether these boundaries satisfy the collision detection conditions (for example, if the region overlap is greater than the overlap threshold, it is determined that the boundary satisfies the collision detection conditions), thereby determining the result of collision detection. Here, the shapes of the virtual detection region and resource detection region may be rectangular or triangular, and this application does not limit them.
[0091] Preferably, the application client further determines whether there is a common set between the virtual discovery area and the resource discovery area during the movement of the first virtual object and the resource object. Furthermore, if there is a common set between the virtual discovery area and the resource discovery area, the application client determines that the display position of the moving first virtual object and the display position of the moving resource object overlap. Preferably, if there is no common set between the virtual discovery area and the resource discovery area, the application client determines that the display position of the moving first virtual object and the display position of the moving resource object do not overlap.
[0092] For ease of understanding, please refer to Figure 8, which is a schematic diagram of a collision detection scenario provided by an embodiment of this application. Interaction interfaces 80a and 80b in Figure 8 are interaction interfaces of the application client at different timings, with interaction interface 80a being interaction interface 60b in the embodiment corresponding to Figure 6 above.
[0093] As shown in Figure 8, the interaction interface 80a displays a virtual object 81a and a resource object 81c. The application client adds a virtual detection region to the virtual object 81a and a resource detection region to the resource object 81c. Here, the virtual detection region is the detection region 81b, and the resource detection region is the detection region 81d. During the movement of the virtual object 81a and the resource object 81c, the position of the detection region 81b moves with the virtual object 81a, and the position of the detection region 81d moves with the resource object 81c.
[0094] As shown in Figure 8, when interaction interface 80a is switched to interaction interface 80b, regions 82a and 82b in interaction interface 80b are detection region 81d, regions 82b and 82c in interaction interface 80b are detection region 81b, region 82b is the common region set between detection region 81b and detection region 81d, and regions 82a, 82b, and 82c are the region union between detection region 81b and detection region 81d. In this way, the application client generates a region overlap degree between detection region 81b and detection region 81d based on the common region set and the region union, and further determines that the display position of the moving virtual object 81a and the display position of the moving resource object 81c overlap if the region overlap degree is greater than the overlap degree threshold.
[0095] Preferably, when switching from interaction interface 80a to interaction interface 80b, if a common set exists between detection area 81b and detection area 81d, area 82b is generated based on detection area 81b and detection area 81d, and the application client determines that the display position of the moving virtual object 81a and the display position of the moving resource object 81c overlap.
[0096] Here, the resource object's position shifts in the interaction interface due to interactive behavior, the application client determines the display position of the shifted resource object, and the shifted resource object may or may not extend beyond the display range of the interaction interface.
[0097] Furthermore, if a resource object whose position has shifted exceeds the display range of the interaction interface, the application client displays a first resource sub-object that matches the first interaction message at the location where the resource object disappeared. The first resource sub-object has the functionality to move within the interaction interface. Here, if a resource object whose position has shifted exceeds the display range of the interaction interface (i.e., the screen range), the shifted resource object will never return to the interaction interface and will be automatically discarded directly. This ensures that the display position of the first virtual object does not overlap with the display position of a resource object outside the screen range.
[0098] For ease of understanding, refer to Figure 9a, which is a schematic scenario diagram showing a first resource sub-object provided by an embodiment of the present application. Interaction interfaces 90a and 90b in Figure 9a are interaction interfaces of an application client at different timings, and interaction interface 90a is interaction interface 80b in the embodiment corresponding to Figure 8 above. Interaction interface 90a includes a virtual object 91a and a resource object 91b, which are associated with a first interaction message.
[0099] As shown in Figure 9a, the resource object 91b is displaced by the interactive operation of the virtual object 91a. When the displaced resource object 91b exceeds the display range of the interaction interface, the interaction interface switches from interaction interface 90a to interaction interface 90b. In this case, the displaced resource object 91b exceeds the display range from the disappearance position 91c in interaction interface 90b. This prevents the resource sub-object triggered by the resource object that has exceeded the screen range from disappearing instantly, ensuring that the animation continues to play. Therefore, the application client displays a resource sub-object that matches the first interaction message at the disappearance position 91c, where the first interaction message is "AA Drink" and the resource sub-object is "AA Drink Bottle" displayed from the disappearance position 91c.
[0100] Preferably, if a misaligned resource object is located within the display area of the interaction interface, the application client displays a first resource sub-object that matches the first interaction message at the display location of the misaligned resource object. The first resource sub-object has the ability to move within the interaction interface. Furthermore, the application client continues to move and display the misaligned resource object within the interaction interface.
[0101] For ease of understanding, refer to Figure 9b, which is a schematic scenario diagram showing a first resource sub-object provided by an embodiment of the present application. Interaction interfaces 90a and 90c in Figure 9b are interaction interfaces of an application client at different timings, with interaction interface 90a being the interaction interface 90a in the embodiment corresponding to Figure 9a above. Interaction interface 90a includes a virtual object 91a and a resource object 91b, which are associated with a first interaction message.
[0102] As shown in Figure 9b, the resource object 91b is shifted in position due to the interactive operation of the virtual object 91a. When the shifted resource object 91b is located within the display range of the interaction interface, the interaction interface switches from interaction interface 90a to interaction interface 90c. Therefore, the application client displays a resource sub-object that matches the first interaction message at the display position 91d of the shifted resource object 91b, where the first interaction message is "AA Drink" and the resource sub-object is "AA Drink Bottle" displayed from the display position 91d.
[0103] If the misaligned resource object exceeds the display range of the interaction interface, or if it does not exceed the display range of the interaction interface, the application client continues to move and display the first resource sub-object and the first virtual object within the interaction interface. The resource trajectory of the first virtual object remains unchanged due to collisions with the resource object.
[0104] Thus, in the embodiment of this application, when displaying a first interaction message transmitted by a first object on an interaction interface, a first virtual object is displayed in the first interaction area where the first interaction message is located, a resource object is displayed at the target position of the interaction interface, and furthermore, the first virtual object and the resource object are moved from their respective display positions within the interaction interface. Here, during the process of the joint movement of the first virtual object and the resource object, if the display position of the first virtual object and the display position of the second virtual object overlap, the first virtual object is triggered to perform an interactive action on the resource object, thereby displaying a first resource sub-object that matches the first interaction message on the interaction interface. Based on this, a personalized virtual object display method can be realized by moving and displaying the first virtual object from the first interaction area associated with the first object. Furthermore, with respect to the first virtual object and resource object associated with the first interaction message, the first virtual object and resource object can realize interaction in the interaction interface, and can also enrich the display effect of the virtual object associated with the interaction message.
[0105] Furthermore, referring to Figure 10, which is a schematic flowchart of the data processing method provided in the embodiment of this application, the data processing method includes the following S2031 to S2035, where S2031 to S2035 are specific embodiments of S203 in the embodiment corresponding to Figure 5.
[0106] S2031: Retrieves the object position distance between the display position of the first virtual object and the display position of the resource object.
[0107] The object position distance indicates the height difference between the display height of the first virtual object and the display height of the resource object.
[0108] S2032: Creates a virtual region indicated by the object's position distance in the interaction interface.
[0109] The application client performs a jump operation to the first virtual object in the virtual domain.
[0110] S2033: Determine the target movement trajectory and auxiliary movement trajectory corresponding to the first virtual object from the virtual area.
[0111] The target movement trajectory indicates the overlapping display positions between the display position of the first virtual object being moved and the display position of the resource object being moved. The auxiliary movement trajectory differs from the target movement trajectory in that it is the trajectory in the virtual area excluding the target movement trajectory. The starting points of both the target movement trajectory and the auxiliary movement trajectory are positions in the interaction interface of the first interaction area.
[0112] Here, due to the target movement trajectory, there is inevitably an overlap between the display position of the first virtual object in motion and the display position of the resource object in motion. However, due to the auxiliary movement trajectory, there may or may not be an overlap between the display position of the first virtual object in motion and the display position of the resource object in motion.
[0113] Furthermore, by interpolating and generating auxiliary movement trajectories in the virtual region using the blend tree of the animator (animation production tool), the controllability of the animation effect of the auxiliary movement trajectory can be guaranteed, and the auxiliary movement trajectory controlled by the blend tree also has a probability of hitting the resource object. Here, the ratio value (i.e., proportional value) of the blend tree can be determined based on the difference in height of the first interaction region, and this proportional value determines whether the first virtual object has jumped to a specific height. The lower the height of the first interaction region, the larger the proportional value, and the higher the height of the first interaction region, the smaller the proportional value. For the first virtual object, the higher the height to which the first virtual object needs to jump, the larger the proportional value, and the lower the height to which the first virtual object needs to jump, the smaller the proportional value.
[0114] For ease of understanding, refer to Figure 11, which is a schematic diagram of a scenario for determining a movement trajectory provided by an embodiment of this application. Interaction interfaces 110a and 110b in Figure 11 are interaction interfaces of the application client at different timings, and interaction interface 110a is interaction interface 60b in the embodiment corresponding to Figure 6 above. Interaction interface 110a includes a virtual object 111a and a resource object 111b.
[0115] As shown in Figure 11, the application client determines the display position 112a of the virtual object 111a and the display position 112b of the resource object 111b from the interaction interface 110a, and also determines the height difference between the display position 112a and the display position 112b. Furthermore, based on the display position 112a and the determined height difference, a virtual region 111c is generated in the interaction interface 110a. The virtual region 111c contains multiple movement trajectories, all of which start from the display position 112a, and the embodiment of this application does not limit the number of movement trajectories.
[0116] Here, each of the multiple movement trajectories in the virtual domain 111c has a lateral velocity, a longitudinal velocity, a lateral acceleration, and a longitudinal acceleration, and the lateral velocity, longitudinal velocity, lateral acceleration, and longitudinal acceleration are adjustable, and one of the multiple movement trajectories can be uniquely determined based on the lateral velocity, longitudinal velocity, lateral acceleration, and longitudinal acceleration. In addition, each movement trajectory has a different endpoint, and this endpoint may or may not be located at the interaction interface 110b.
[0117] The virtual region 111c in Figure 11 contains a movement trajectory 111d, which is a target movement trajectory determined by the application client from the virtual region 111c. When the virtual object 111a performs a jump operation according to the movement trajectory 111d, the display position 112a and the display position 112b inevitably overlap.
[0118] S2034: Select a target movement trajectory based on the selection probability corresponding to the target movement trajectory and the auxiliary movement trajectory, respectively.
[0119] The selected movement trajectory is either the target movement trajectory or the auxiliary movement trajectory, and the target movement trajectory and the auxiliary movement trajectory may have the same selection probability or different selection probabilities, and the values of the selection probabilities are not fixed.
[0120] Here, the application client statistically counts the number of first consecutive non-collisions between the historical virtual object and the resource object within the target time period. The historical virtual object is associated with a historical interaction message in the interaction interface; that is, the historical virtual object is triggered and generated by a historical interaction message, which is sent by an object interacting in the interaction interface, and the object interacting in the interaction interface may include a first object or a second object. Furthermore, if the number of first consecutive non-collisions is equal to the collision trigger threshold, the application client adjusts the selection probability corresponding to the target movement trajectory to the maximum selection probability. Thus, the application client determines the target movement trajectory to be the selected movement trajectory based on the maximum selection probability corresponding to the target movement trajectory and the selection probability corresponding to the auxiliary movement trajectory.
[0121] Here, the first consecutive non-collision count indicates the number of times a historical virtual object does not consecutively collide with a resource object within the target time period. If the statistical first consecutive non-collision count does not reach the collision trigger threshold, the selection probabilities corresponding to the target movement trajectory and the auxiliary movement trajectory may be the same. If the statistical first consecutive non-collision count reaches the collision trigger threshold (i.e., the first consecutive non-collision count is equal to the collision trigger threshold), the application client adjusts the selection probabilities corresponding to the target movement trajectory and the auxiliary movement trajectory so as to select and obtain the target movement trajectory (i.e., the selected movement trajectory) from the virtual region.
[0122] Therefore, by adjusting the selection probabilities corresponding to the target movement trajectory and the auxiliary movement trajectory, the application client will inevitably perform one interactive action on the resource object for every N jump actions on the historical virtual object. Here, N is a positive integer, and the collision trigger threshold is a positive integer less than N. For example, the collision trigger threshold is equal to (N-1). For example, if N is equal to 5, then (N-1) is equal to 4. For the first to fourth actions, the target movement trajectory and the auxiliary movement trajectory have the same selection probability. If no interactive action is performed on the resource object during the first to fourth actions, the application client updates the selection probabilities of the target movement trajectory and the auxiliary movement trajectory.
[0123] Preferably, the first consecutive non-collision count further indicates the number of times within the target time period that a historical virtual object does not consecutively collide with a historical resource object, where the historical resource object is associated with a historical interaction message in the interaction interface, i.e., the historical resource object is triggered and generated by a historical interaction message. Thus, the application client statutes the first consecutive non-collision count of the historical virtual object with respect to the historical resource object within the target time period. The historical virtual object includes the first virtual object, and the historical resource object includes the resource object.
[0124] Here, if the display position of the first virtual object is higher than the display position of the resource object, the application client recounts the first consecutive non-collision count. If the frequency of interaction messages being sent in the interaction interface is too high, the first interaction region where the first interaction message resides may be pushed upwards, causing the display position of the first virtual object to be higher than the display position of the resource object. Since the first virtual object cannot hit a resource object whose display position is lower than the first interaction region, if the display position of the resource object is lower than the display position of the first virtual object, the minimum guarantee logic that N jumps will always hit fails, and in this case, the first virtual object jumps randomly upwards, and N is reset and recounted until the display position of the resource object returns to be higher than the subsequent interaction region.
[0125] Preferably, due to the frequency of sending interaction messages in the interaction interface, when the first interaction message is no longer displayed in the interaction interface, the first interaction region where the first interaction message is located is no longer displayed in the interaction interface, and the application client does not need to display the first virtual object in the interaction interface.
[0126] For ease of understanding, refer to Figure 12, which is a schematic diagram of a scenario displaying multiple interaction messages provided by an embodiment of this application. Interaction interfaces 120a and 120b in Figure 12 are interaction interfaces of the application client at different times.
[0127] As shown in Figure 12, when the first object sends an interaction message 121a by the application client, the application client displays the interaction message 121a on the interaction interface 120a. When the application client receives a large number of interaction messages and the position of the interaction region 121b where the interaction message 121a is located changes on the interaction interface, the application client displays the virtual object 122a associated with the interaction message 121a in the changed interaction region 121b (i.e., the interaction region 121c). The position of the resource object 122b on the interaction interface is similar to that of the interaction interface 120b. The large number of interaction messages received by the application client may be interaction messages 123a, 123b, 123c, and 123d displayed on the interaction interface 120b.
[0128] As shown in the interaction interface 120b of Figure 12, if the display position of the virtual object 122a is higher than the display position of the resource object 122b, the virtual object 122a performs a jump action upwards. Thus, this jump action does not necessarily perform an interactive action on the resource object 122b, and therefore the application client recounts the first consecutive non-collision count.
[0129] Preferably, if the display position of the virtual object 122a is higher than the display position of the resource object 122b, the virtual object 122a may perform a jump action downwards, and in this way, the jump action may perform an interactive action on the resource object 122b, so that the application client does not need to recount the first consecutive non-collision count.
[0130] S2035: Move and display the first virtual object from the position of the first interaction area according to the selected movement trajectory.
[0131] Here, the first virtual object includes one jump operation during the movement display process, and the number of consecutive non-collision counts corresponding to the first jump operation may be the first consecutive non-collision count. Preferably, the first virtual object may include at least two jump operations during the movement display process, each jump operation being performed according to a different selected movement trajectory, and each selected movement trajectory corresponding to each jump operation is determined based on a different virtual region.
[0132] Here, if the first virtual object involves at least two jump movements, the specific process by which the application client moves and displays the first virtual object is described as follows: the application client statistically counts the second consecutive non-collision jump movement of the first virtual object relative to the resource object. Furthermore, if the second consecutive non-collision count is equal to the collision trigger threshold, the application client generates an updated virtual region based on the display position of the moving first virtual object and the display position of the moving resource object. The updated virtual region includes an updated target movement trajectory and an updated auxiliary movement trajectory. The updated target movement trajectory indicates the display position where there is overlap between the display position of the moving first virtual object and the display position of the moving resource object, while the updated auxiliary movement trajectory is different from the updated target movement trajectory. The updated target movement trajectory has the maximum selection probability, and the selection probability corresponding to the updated auxiliary movement trajectory is smaller than the maximum selection probability. Furthermore, the application client determines the updated target movement trajectory as the updated selected movement trajectory based on the maximum selection probability corresponding to the updated target movement trajectory and the selection probability corresponding to the updated auxiliary movement trajectory. Furthermore, the application client executes a jump operation on the first virtual object, as instructed by the updated selection movement trajectory.
[0133] Here, the second consecutive non-collision count indicates the number of times the first virtual object does not consecutively collide with a resource object. When the statistical second consecutive non-collision count reaches the collision trigger threshold (i.e., the second consecutive non-collision count is equal to the collision trigger threshold), the application client generates an update virtual region for the first virtual object in the interaction interface and adjusts the selection probabilities corresponding to the update target movement trajectory and the update auxiliary movement trajectory, respectively, to select from the update virtual region and obtain the update target movement trajectory (i.e., the update selection movement trajectory).
[0134] Preferably, the second consecutive non-collision count further indicates the number of consecutive times a historical virtual object does not collide with a resource object. In this way, if the second consecutive non-collision count is the last jump operation performed by the first virtual object, the application client adjusts the target movement trajectory corresponding to the next virtual object (e.g., virtual object D) of the first virtual object so that the jump operation performed by virtual object D performs an interactive operation with the resource object. Preferably, the second consecutive non-collision count further indicates the number of consecutive times a historical virtual object does not collide with a historical resource object.
[0135] For details on the process by which the application client generates the update virtual area, refer to the description of virtual area generation above. For details on the process by which the application client generates the update target movement trajectory and the update auxiliary movement trajectory, refer to the description of target movement trajectory and auxiliary movement trajectory generation above.
[0136] Thus, the embodiment of this application obtains the object position distance between the display position of the first virtual object and the display position of the resource object, generates a virtual region indicated by the object position distance in the interaction interface, and further moves and displays the first virtual object in the interaction interface according to the selected movement trajectory selected from the virtual region. Here, in the embodiment of this application, a selected movement trajectory is randomly selected from the interaction interface for the first virtual object, and further moves and displays the first virtual object according to the selected movement trajectory, thereby improving the flexibility of moving and displaying the first virtual object in the interaction interface.
[0137] Furthermore, referring to Figure 13, which is a schematic flowchart of a data processing method provided by an embodiment of the present application, the method may be executed by a server, by an application client, or jointly by a server and an application client, where the server is server 20a in the embodiment corresponding to Figure 2a above, and the application client is the first client in terminal device 20b in the embodiment corresponding to Figure 2a above. For ease of understanding, the embodiment of the present application will be described as an example in which the method is executed by an application client. The data processing method includes the following S301 to S305.
[0138] S301: When displaying the first interaction message in the interaction interface, the first virtual object is displayed in the first interaction area where the first interaction message is located.
[0139] The first interaction message is sent by the first object, and the first virtual object is associated with the first interaction message.
[0140] The specific process by which the application client displays the first virtual object in the first interaction area can be found by referring to the description in S101 in the embodiment corresponding to Figure 3 above, and will not be elaborated upon here.
[0141] S302: In the interaction interface, the first virtual object is moved and displayed from the position of the first interaction area.
[0142] For the specific process by which the application client moves and displays the first virtual object in the interaction interface, please refer to the descriptions in S203 in the embodiment corresponding to Figure 5 and in S2031 to S2035 in the embodiment corresponding to Figure 10 above; no further explanation is needed here.
[0143] S303: When displaying a second interaction message in the interaction interface, the second virtual object is displayed in the second interaction area where the second interaction message is located.
[0144] Specifically, when displaying a second interaction message in an interaction interface, the application client determines the trigger types indicated by the first and second interaction messages, respectively. The second interaction message is sent by a second object, a second virtual object is associated with the second interaction message, and the second object is an object that interacts with the first object in the interaction interface. The first interaction message sent by the first object and the second interaction message sent by the second object may be interaction messages sent by the first and second objects at different times. Furthermore, if both the trigger types indicated by the first and second interaction messages are interactive types, the application client displays the second virtual object in the second interaction area where the second interaction message resides (i.e., superimposes the interactive effect).
[0145] Preferably, the second interaction message may be sent by the first object, i.e., the first and second interaction messages may be interaction messages sent by the first object at different times. In this case, if both the trigger type indicated by the first interaction message and the trigger type indicated by the second interaction message are of the interactive type, the application client displays the second virtual object associated with the second interaction message in the second interaction area where the second interaction message resides. For ease of understanding, the embodiments of this application will be described as an example in which the first interaction message is sent by the first object and the second interaction message is sent by the second object.
[0146] Trigger types include interactive and general types. Preferably, if the trigger type indicated by the first interaction message or the trigger type indicated by the second interaction message is not an interactive type, the application client does not need to display the second virtual object in the second interaction area where the second interaction message is located (i.e., does not superimpose interactive effects). In this case, the first or second interaction message is of general type.
[0147] For the specific process by which the application client displays the second virtual object in the second interaction area, refer to the description in S101 of the embodiment corresponding to Figure 3 above, which describes how the first virtual object is displayed in the first interaction area; no further explanation is needed here.
[0148] S304: In the interaction interface, move and display the second virtual object from the position of the second interaction area.
[0149] Furthermore, the interaction interface displays both the first and second virtual objects simultaneously, and an interactive function (also called "interaction function" or "dialogue function") is provided between the first and second virtual objects. The specific process by which the application client moves and displays the second virtual object in the interaction interface can be found in the description of the movement and display of the first virtual object above; no further explanation is needed here.
[0150] Here, the application client responds to a trigger operation on the moving first virtual object by obtaining the updated movement trajectory (i.e., the first updated movement trajectory) and updated movement velocity (i.e., the first updated movement velocity) indicated by the trigger operation. Furthermore, the application client updates the initial movement trajectory and initial movement velocity in the interaction interface of the moving first virtual object according to the updated movement trajectory and updated movement velocity.
[0151] Similarly, in response to a trigger operation on a second virtual object in motion, the application client obtains the updated movement trajectory (i.e., the second updated movement trajectory) and updated movement velocity (i.e., the second updated movement velocity) indicated by the trigger operation. Furthermore, the application client updates the initial movement trajectory and initial movement velocity in the interaction interface of the second virtual object in motion according to the updated movement trajectory and updated movement velocity.
[0152] For ease of understanding, refer to Figure 14, which is a schematic scenario diagram showing a second virtual object provided by an embodiment of the present application. Interaction interfaces 140a and 140b in Figure 14 are interaction interfaces for application clients at different timings, and interaction interfaces 140a and 140c in Figure 14 are interaction interfaces for application clients at different timings. If both the first interaction message (i.e., interaction message 142a) and the second interaction message (i.e., interaction message 142c) are sent by the first object, the interaction interface is switched from interaction interface 140a to interaction interface 140c. If the first interaction message (i.e., interaction message 142a) is sent by the first object and the second interaction message (i.e., interaction message 142b) is sent by the second object, the interaction interface is switched from interaction interface 140a to interaction interface 140b.
[0153] As shown in Figure 14, the interaction interface 140a displays the interaction message 142a and the virtual object 141a associated with the interaction message 142a. When the first object sends the interaction message 142c, the application client displays the interaction message 142c and the virtual object 141c associated with the interaction message 142c on the interaction interface 140c. The display position of the virtual object 141a on the interaction interfaces 140a and 140c changes.
[0154] When the second object sends interaction message 142b, the application client displays the interaction message 142b and the virtual object 141b associated with the interaction message 142b on the interaction interface 140b. The display position of the virtual object 141a on the interaction interfaces 140a and 140b changes.
[0155] S305: During the joint movement of the first virtual object and the second virtual object, if the display position of the moving first virtual object and the display position of the moving second virtual object overlap, the interaction interface displays an overlaid interactive animation associated with the first virtual object and the second virtual object.
[0156] Here, the application client adds a first virtual detection region to the first virtual object and a second virtual detection region to the second virtual object. Furthermore, during the movement of the first and second virtual objects, the application client generates a virtual region overlap between the first and second virtual detection regions based on the region intersection and region union between the first and second virtual detection regions. Furthermore, if the virtual region overlap is greater than the overlap threshold, the application client determines that the display position of the moving first virtual object and the display position of the moving second virtual object overlap. Preferably, if there is an intersection between the first and second virtual detection regions, the application client further determines that the display position of the moving first virtual object and the display position of the moving second virtual object overlap.
[0157] Regarding the specific process by which the application client determines whether the display position of the first virtual object in motion overlaps with the display position of the second virtual object in motion, you can refer to the description in the embodiment corresponding to Figure 5 above, which shows how the application client determines whether the display position of the first virtual object in motion overlaps with the display position of the resource object in motion, and I will not elaborate further here.
[0158] Preferably, if the display position of a moving first virtual object and the display position of a moving second virtual object overlap, the application client either overwrites the second virtual object with the first virtual object or overwrites the first virtual object with the second virtual object.
[0159] For ease of understanding, refer to Figure 15, which is a schematic diagram of a scenario showing superimposed interactive animations provided by an embodiment of the present application. Interaction interfaces 150a and 150b in Figure 15 are interaction interfaces for the application client at different times, interaction interfaces 150a and 150c in Figure 15 are interaction interfaces for the application client at different times, and interaction interfaces 150b and 150c are different superimposed interactive animations displayed to the application client.
[0160] As shown in Figure 15, interaction interface 150a includes virtual objects 151a and 151b. In interaction interface 150a, virtual objects 151a and 151b move together. When the display position of virtual object 151a and the display position of virtual object 151b overlap, the application client switches interaction interface 150a to interaction interface 150b or interaction interface 150c. Both virtual objects 151a and 151b may be Lion.
[0161] Here, the application client displays an interactive animation 152a superimposed on the interaction interface 150b. The superimposed interactive animation 152a exhibits a dizzying effect on the lions represented by virtual objects 151a and 151b, and also provides a sparkling visual effect within the interaction interface.
[0162] Here, the application client displays an overlaid interactive animation 152b on the interaction interface 150c, and the overlaid interactive animation 152b displays a heart effect on the lions represented by virtual objects 151a and 151b, and the heart effect is generated from between the lions and may grow larger over time on the interaction interface 150c.
[0163] In this way, by moving and displaying the first virtual object from the first interaction area associated with the first object, and displaying the second virtual object from the second interaction area associated with the second object, a personalized virtual object display method can be realized. Furthermore, for the first virtual object associated with the first object and the second virtual object associated with the second object, the first and second virtual objects are displayed in the interaction interface so that they are superimposed simultaneously, enabling interaction in the interaction interface, and further enriching the display effect of the virtual objects associated with the interaction message.
[0164] Furthermore, referring to Figure 16, which is a schematic flowchart of a data processing method provided by an embodiment of the present application, the method may be executed by a server, by an application client, or jointly by a server and an application client, where the server is server 20a in the embodiment corresponding to Figure 2a above, and the application client may be the first client in terminal device 20b in the embodiment corresponding to Figure 2a above. For ease of understanding, the embodiment of the present application will be described as an example in which the method is executed by an application client. The data processing method includes the following S401 to S409.
[0165] S401: When displaying the first interaction message in the interaction interface, the first virtual object is displayed in the first interaction area where the first interaction message is located.
[0166] The first interaction message is sent by the first object, and the first virtual object is associated with the first interaction message.
[0167] The specific process by which the application client displays the first virtual object in the first interaction area can be found by referring to the description in S101 in the embodiment corresponding to Figure 3 above, and will not be elaborated upon here.
[0168] S402: When displaying the first virtual object in the first interaction area, the resource object is displayed at the target location of the interaction interface.
[0169] The resource object is associated with the first interaction message, and the resource object has interactive capabilities with the first virtual object.
[0170] For the specific process by which the application client displays resource objects in the interaction interface, please refer to the description in S202 in the embodiment corresponding to Figure 5 above; no further explanation is needed here.
[0171] S403: In the interaction interface, the first virtual object is moved and displayed from the position of the first interaction area.
[0172] For the specific process by which the application client moves and displays the first virtual object in the interaction interface, please refer to the descriptions in S203 in the embodiment corresponding to Figure 5 and in S2031 to S2035 in the embodiment corresponding to Figure 10 above; no further explanation is needed here.
[0173] S404: In the interaction interface, move and display the resource object from the target location.
[0174] For the specific process by which the application client moves and displays resource objects in the interaction interface, please refer to the description in S204 in the embodiment corresponding to Figure 5 above; no further explanation is needed here.
[0175] S405: When displaying a second interaction message in the interaction interface, the second virtual object is displayed in the second interaction area where the second interaction message is located.
[0176] The second interaction message is sent by the second object, the second virtual object is associated with the second interaction message, and the second object is the object that interacts with the first object in the interaction interface. The resource object has interactive functionality with the second virtual object, and for the specific process of interaction between the second virtual object and the resource object, refer to the following descriptions in S407 to S409.
[0177] The specific process by which the application client displays the second virtual object in the second interaction area can be found in the description in S303 in the embodiment corresponding to Figure 13 above, and will not be elaborated upon here.
[0178] Here, when a second virtual object is displayed in a second interaction area, the application client does not need to display a resource object at the target location of the interaction interface. Preferably, when a first virtual object is displayed in a first interaction area, the resource object displayed at the target location of the interaction interface is the first resource object, and when a second virtual object is displayed in a second interaction area, the application client displays the second resource object at the target location of the interaction interface. In this way, the display locations of multiple virtual objects in the interaction interface overlap with the display locations of multiple resource objects, that is, interactive operation can be performed between multiple virtual objects and multiple resource objects. For ease of understanding, in the embodiments of this application, we will explain as an example that at most one resource object exists in the interaction interface at the same time.
[0179] S406: In the interaction interface, the second virtual object is moved and displayed from the position of the second interaction area.
[0180] The interaction interface displays the first virtual object, the second virtual object, and the resource object simultaneously.
[0181] Similarly, when displaying a third interaction message in the interaction interface, the application client displays a third virtual object in the third interaction area where the third interaction message resides, and further moves the third virtual object from its position in the third interaction area to display it in the interaction interface, where the third interaction message is sent by the first object, the second object, or any other object performing the interaction. For the specific process of the application client displaying the third virtual object in the interaction interface and moving the third virtual object to display it, refer to the above description of displaying the first virtual object in the interaction interface and moving the first virtual object to display it, and will not elaborate further here.
[0182] Here, during the movement of a resource object, the application client displays a resource receiving area in the interaction interface in response to a trigger operation on the moving resource object. Furthermore, the application client displays resource description information and a resource receiving control in the resource receiving area. Furthermore, the application client receives the virtual resource indicated by the resource description information in response to a trigger operation on the resource receiving control. Preferably, the application client further displays a resource receiving area in the interaction interface if the display position of the resource object overlaps with the display position of the first virtual object (or second virtual object).
[0183] The resource receiving area includes a closing control, which may be a subinterface independent of the interaction interface. In response to a trigger operation on the closing control, the application client closes the resource receiving area in the interaction interface and cancels the display of the resource object.
[0184] For ease of understanding, refer to Figure 17, which is a schematic diagram of a scenario for receiving virtual resources provided by an embodiment of the present application. Interaction interfaces 170a and 170b in Figure 17 are interaction interfaces of an application client at different times, where interaction interface 170a simultaneously displays a first virtual object, a second virtual object, and a resource object, where the first virtual object is virtual object 171b, the second virtual object is virtual object 171c, and the resource object is resource object 171a.
[0185] As shown in Figure 17, when the first object 170c needs to receive a virtual resource indicated by the resource object 171a (i.e., the first object clicks "Lucky Bag" to receive a bonus item), it performs a trigger operation on the resource object 171a. In response to the trigger operation performed by the first object 170c on the resource object 171a, the application client displays the resource receiving area 172a on the interaction interface 170a and obtains the interaction interface 170b (i.e., jumps to the bonus item receiving page). The resource receiving area 172a contains resource description information 172b associated with the virtual resource and a resource receiving control 172c.
[0186] Here, if the first object 170c needs to receive the virtual resource indicated by the resource description information 172b, it performs a trigger operation on the resource receiving control 172c. In response to the trigger operation performed by the first object 170c on the resource receiving control 172c, the application client receives the virtual resource indicated by the resource description information 172b. Note that the resource description information 172b is "Congratulations on receiving 50 game coins," and the virtual resource is "50 game coins."
[0187] S407: During the joint movement of the first virtual object, the second virtual object, and the resource object, if the display position of the second virtual object during movement overlaps with the display position of the resource object during movement, the second virtual object is triggered to perform an interactive action on the resource object.
[0188] Furthermore, resource objects will shift position in the interaction interface based on their interactive behavior.
[0189] Here, the application client adds a virtual detection region (i.e., a second virtual detection region) to the second virtual object and a resource detection region to the resource object. Furthermore, during the movement of the second virtual object and the resource object, the application client generates a region overlap degree (i.e., a second region overlap degree) between the virtual detection region and the resource detection region based on the region intersection and region union between the virtual detection region and the resource detection region. Furthermore, if the region overlap degree is greater than the overlap degree threshold, the application client determines that the display position of the moving second virtual object and the display position of the moving resource object overlap. Preferably, if there is an intersection between the second virtual detection region and the resource detection region, the application client further determines that the display position of the moving second virtual object and the display position of the moving resource object overlap.
[0190] Regarding the specific process by which the application client determines whether the display position of the second virtual object in motion overlaps with the display position of the resource object in motion, please refer to the description in the embodiment corresponding to Figure 5 above, which shows how the application client determines whether the display position of the first virtual object in motion overlaps with the display position of the resource object in motion. No further explanation is needed here.
[0191] S408: Display a second resource sub-object that matches the second interaction message at the display location of the resource object whose position has shifted.
[0192] Furthermore, the second resource sub-object has the ability to move within the interaction interface.
[0193] Similarly, during the joint movement of the first virtual object, the second virtual object, and the resource object, if the display position of the moving first virtual object overlaps with the display position of the moving resource object, the application client triggers the first virtual object to perform an interactive action on the resource object. The resource object shifts its position in the interaction interface based on the interactive action. Furthermore, the application client displays the first resource sub-object, which matches the first interaction message, at the display position of the shifted resource object. The first resource sub-object has the ability to move in the interaction interface.
[0194] Here, if the message key data contained in the first interaction message and the second interaction message are the same, then the first resource sub-object matching the first interaction message and the second resource sub-object matching the second interaction message are the same. For example, if the message key data contained in the first interaction message and the message key data contained in the second interaction message are both "AA Drink", then the first resource sub-object and the second resource sub-object are both "AA Drink Bottle". Also, for example, if the message key data contained in the first interaction message is "AA Drink" and the message key data contained in the second interaction message is "BB Drink", then the first resource sub-object is "AA Drink Bottle" and the second resource sub-object is "BB Drink Bottle".
[0195] Preferably, during the movement of the second resource sub-object, the application client displays a sub-resource receiving area in the interaction interface in response to a trigger operation on the second resource sub-object during movement. Furthermore, the application client displays sub-resource description information and a sub-resource receiving control in the sub-resource receiving area. Furthermore, the application client receives the sub-virtual resource indicated by the sub-resource description information in response to a trigger operation on the sub-resource receiving control. Here, the specific process by which the application client responds to a trigger operation on the first resource sub-object during movement can be found by referring to the description of responding to a trigger operation on the second resource sub-object during movement, and will not be elaborated here.
[0196] S409: In the interaction interface, move and continue to display resource objects that have been misaligned.
[0197] Here, the application client further moves and displays the second resource sub-object (or the first resource sub-object) in the interaction interface, continues to move and display the first virtual object, and continues to move and display the second virtual object. Note that the resource trajectory of the second virtual object (or the first virtual object) is not changed because it interacts with (for example, collides with) the resource object.
[0198] For a specific process in which an application client displays a second resource sub-object, a first virtual object, a second virtual object, and a resource object in an interaction interface, refer to Figure 18, which is a schematic diagram of a scenario performing the interactive operation provided by the embodiment of this application. Interaction interfaces 180a, 180b, 180c, and 180d in Figure 18 are interaction interfaces of the application client at different times, and for interaction interface 180a, refer to interaction interface 21d in the embodiment corresponding to Figure 2a above, which includes a first virtual object (i.e., virtual object 181b), a second virtual object (i.e., virtual object 181a), and a resource object (i.e., resource object 181c).
[0199] As shown in Figure 18, the application client triggers the virtual object 181a to perform an interactive action on the resource object 181c, causing the resource object 181c to shift position in the interaction interface 180a. Simultaneously, the application client displays the resource sub-object 181d at the display location of the resource object 181c, and the multiple (e.g., five) "AA drink bottles" in Figure 18 are collectively referred to as the resource sub-object 181d.
[0200] As shown in Figure 18, when switching from interaction interface 180a to interaction interface 180b, resource sub-object 181d is displayed as moving in interaction interface 180b, and virtual object 181b, virtual object 181a, and resource object 181c similarly continue to be displayed as moving in interaction interface 180b.
[0201] Here, the resource sub-object 181d gradually fades as it moves; that is, as the resource sub-object 181d moves to a fixed position, it gradually fades until it disappears. Here, the fixed position is an intermediate position in the interaction interface. As shown in Figure 18, when the interaction interface 180b is switched to the interaction interface 180c, the resource sub-object 181d continues to be displayed as moving in the interaction interface 180c, the color of the moving resource sub-object 181d displayed in the interaction interface 180c fades until it disappears, virtual objects 181b and 181a disappear after moving to their respective endpoints, and the resource object 181c continues to be displayed as moving in the interaction interface 180c.
[0202] Here, when resource object 181c moves to the update position, it gradually fades until it disappears. Here, the update position is the bottom position in the interaction interface. As shown in Figure 18, when switching from interaction interface 180c to interaction interface 180d, the color of the moving resource object 181c displayed in interaction interface 180d fades until it disappears. Furthermore, resource object 181c may also display a cracking animation effect in interaction interface 180d.
[0203] Here, resource subobject 181d in Figure 18 is a second resource subobject associated with a second interaction message corresponding to a second virtual object, and before / after the application client triggers virtual object 181a to perform an interactive action on resource object 181c, if the application client triggers virtual object 181b to perform an interactive action on resource object 181c, the application client may also simultaneously display a first resource subobject associated with a first interaction message corresponding to resource subobject 181d and virtual object 181b.
[0204] Preferably, if the display position of the resource object does not overlap with the display position of the first virtual object, or the display position of the second virtual object, the resource object moves to the endpoint of the resource trajectory, disappears at the endpoint, and is then triggered and generated again by the next interaction message. For example, the resource object falls continuously, lands at the bottom of the screen, and then gradually disappears.
[0205] Here, the movement process in the interaction interface of the first virtual object and the second virtual object involves performing a jump action based on the movement trajectory, with different jump actions corresponding to different jump heights. For a specific process in which the application client determines the jump height corresponding to the first or second virtual object, please refer to Figure 19, which is a schematic diagram of the scenario for determining the jump height provided by the embodiment of this application. The interaction interface 190a in Figure 19 includes a plurality of interaction messages and a resource object 190c, the plurality of interaction messages specifically including interaction message 191a, interaction message 191b, and interaction message 191c, where interaction message 191a, interaction message 191b, and interaction message 191c all include message key data with a virtual object trigger function. Here, the message key data is a "pentagram".
[0206] As shown in Figure 19, the application client determines the height difference between the interaction area where interaction message 191a is located and the display position of resource object 190c, and generates a virtual area 192a associated with interaction message 191a based on this height difference. The application client determines the height difference between the interaction area where interaction message 191b is located and the display position of resource object 190c, and generates a virtual area 192b associated with interaction message 191b based on this height difference. The application client determines the height difference between the interaction area where interaction message 191c is located and the display position of resource object 190c, and generates a virtual area 192c associated with interaction message 191c based on this height difference.
[0207] Here, virtual region 192a contains the movement trajectory indicated by the endpoint position 193a, and the virtual object associated with interaction message 191a is associated with resource object 190c as much as possible by the movement trajectory indicated by the endpoint position 193a; virtual region 192b contains the movement trajectory indicated by the terminal position 193b, and the virtual object associated with interaction message 191b is associated with resource object 190c as much as possible by the movement trajectory indicated by the endpoint position 193b; virtual region 192c contains the movement trajectory indicated by the terminal position 193c, and the virtual object associated with interaction message 191c is associated with resource object 190c as much as possible by the movement trajectory indicated by the endpoint position 193c.
[0208] Here, since the virtual object is associated with resource object 190c as much as possible, the endpoint of the movement trajectory of the virtual object associated with interaction message 191a will be as close as possible to endpoint position 193a, the endpoint of the movement trajectory of the virtual object associated with interaction message 191b will be as close as possible to endpoint position 193b, and the endpoint of the movement trajectory of the virtual object associated with interaction message 191c will be as close as possible to endpoint position 193c.
[0209] Therefore, endpoint 194a in Figure 19 is the endpoint of the movement trajectory selected by the application client from the virtual area 192a for the virtual object associated with the interaction message 191a, endpoint 194b in Figure 19 is the endpoint of the movement trajectory selected by the application client from the virtual area 192b for the virtual object associated with the interaction message 191b, and endpoint 194c in Figure 19 is the endpoint of the movement trajectory selected by the application client from the virtual area 192c for the virtual object associated with the interaction message 191c.
[0210] Thus, in the embodiments of this application, the first virtual object, the second virtual object, and the resource object can move together in the interaction interface. During the process of the joint movement of the first virtual object, the second virtual object, and the resource object, the position of the resource object in the interaction interface shifts, and the first or second virtual object performs interactive actions on the resource object to display the first resource sub-object that matches the first interaction message, or the second resource sub-object that matches the second interaction message, at the display position of the shifted resource object. Based on this, by moving and displaying the first virtual object from the first interaction area associated with the first object, and displaying the second virtual object from the second interaction area associated with the second object, a personalized virtual object display method can be realized, enriching the display effect of virtual objects associated with interaction messages (i.e., the effect of falling emoticons triggered by different objects is different). Furthermore, regarding the first virtual object and resource object associated with the first object, and the second virtual object associated with the first object, the first virtual object, resource object, and second virtual object are displayed simultaneously superimposed on the interaction interface, the first virtual object and second virtual object can perform interactions in the interaction interface, the first virtual object and resource object can perform interactions in the interaction interface, the second virtual object and resource object can perform interactions in the interaction interface, and furthermore, the flexibility of performing interactions in the interaction interface (i.e., effects triggered by different objects can be coordinated) is improved.
[0211] Furthermore, referring to Figure 20, which is a schematic diagram of the structure of a data processing device provided by an embodiment of the present application, the data processing device 1 includes a first display module 11 and a first movement module 12, and the data processing device 1 further includes a first superposition module 13, a first misalignment module 14, a second display module 15, a second movement module 16, an animation display module 17, a second superposition module 18, and a second misalignment module 19.
[0212] When the first display module 11 displays a first interaction message on the interaction interface, it displays a first virtual object in the first interaction area where the first interaction message is located, and displays a resource object at the target location of the interaction interface. The first interaction message is transmitted by the first object, both the first virtual object and the resource object are associated with the first interaction message, and the resource object has interactive functionality with the first virtual object. Specifically, the first display module 11 displays a first interaction message in the interaction interface, and if the first interaction message includes message key data with a virtual object trigger function, it retrieves the first virtual object and the effective time range indicated by the message key data from the resource library. The resource library is periodically retrieved by the application client to which the interaction interface belongs. Specifically, the first display module 11 displays a first virtual object in the first interaction area where the first interaction message is located, if the current time is within the effective time range.
[0213] The first movement module 12 displays interaction movements relating to the first virtual object and the resource object on the interaction interface, and the interaction movements include the movement of the first virtual object from the position of the first interaction area and / or the movement of the resource object from the target position. The interaction interface includes the virtual keyboard area and the message display area, while the message display area is the area of the interaction interface excluding the virtual keyboard area. Specifically, the first movement module 12 moves and displays the first virtual object from the position of the first interaction area, and moves the resource object from the target position. Specifically, the first movement module 12 displays the resource object in the message display area when the resource object being moved is located in the message display area. Specifically, the first movement module 12 overwrites and displays the resource object with the virtual keyboard in the virtual keyboard area when the resource object being moved is located in the virtual keyboard area.
[0214] The first mobile module 12 is A distance acquisition unit 121 acquires the object position distance between the display position of the first virtual object and the display position of the resource object, An interaction interface includes a region generation unit 122 that generates a virtual region indicated by the object's position distance, It includes a movement display unit 123 that moves and displays a first virtual object from the position of a first interaction area based on a virtual area.
[0215] Specifically, the movement display unit 123 determines a target movement trajectory and an auxiliary movement trajectory corresponding to the first virtual object from the virtual area. The target movement trajectory indicates the overlapping display position between the display position of the moving first virtual object and the display position of the moving resource object. The auxiliary movement trajectory differs from the target movement trajectory, and the starting points of both the target movement trajectory and the auxiliary movement trajectory are positions in the interaction interface of the first interaction area. Specifically, the movement display unit 123 selects a movement trajectory based on the selection probability corresponding to the target movement trajectory and the auxiliary movement trajectory, respectively, and the selected movement trajectory is either the target movement trajectory or the auxiliary movement trajectory. Specifically, the moving display unit 123 moves and displays the first virtual object from the position of the first interaction area according to the selected movement trajectory.
[0216] Preferably, the moving display unit 123 more specifically statizes the number of first consecutive non-collisions of a historical virtual object with respect to a resource object within the target time period, and the historical virtual object is associated with a historical interaction message in the interaction interface. More specifically, the movement display unit 123 adjusts the selection probability corresponding to the target movement trajectory to the maximum selection probability when the first consecutive non-collision count is equal to the collision trigger threshold. The movement display unit 123 more specifically determines the target movement trajectory as the selected movement trajectory based on the maximum selection probability corresponding to the target movement trajectory and the selection probability corresponding to the auxiliary movement trajectory.
[0217] Preferably, the moving display unit 123 more specifically counts the first consecutive non-collision count again if the display position of the first virtual object is higher than the display position of the resource object.
[0218] Preferably, the process of displaying the movement of the first virtual object includes at least two jump operations, each jump operation being performed according to a different selected movement trajectory, and each selected movement trajectory corresponding to each jump operation is determined based on different virtual regions. The moving display unit 123 more specifically statizes the number of consecutive non-collision jumps of the first virtual object relative to the resource object, More specifically, the moving display unit 123 generates an updated virtual region based on the display position of the moving first virtual object and the display position of the moving resource object when the second consecutive non-collision count is equal to the collision trigger threshold, the updated virtual region includes an updated target movement trajectory and an updated auxiliary movement trajectory, the updated target movement trajectory indicates the display position where there is overlap between the display position of the moving first virtual object and the display position of the moving resource object, the updated auxiliary movement trajectory differs from the updated target movement trajectory, the updated target movement trajectory has a maximum selection probability, and the selection probability corresponding to the updated auxiliary movement trajectory is smaller than the maximum selection probability, The movement display unit 123 more specifically determines the updated target movement trajectory as the updated selected movement trajectory based on the maximum selection probability corresponding to the updated target movement trajectory and the selection probability corresponding to the updated auxiliary movement trajectory. More specifically, the movement display unit 123 executes a jump operation for the first virtual object as instructed by the updated selected movement trajectory.
[0219] For specific implementations of the distance acquisition unit 121, the area generation unit 122, and the movement display unit 123, please refer to the descriptions in S203 in the embodiment corresponding to Figure 5 and in S2031 to S2035 in the embodiment corresponding to Figure 10, and no further explanation will be given here.
[0220] Preferably, if the interaction movement includes the joint movement of the first virtual object and the resource object, the first superposition module 13 triggers the first virtual object to perform an interactive action on the resource object if, during the joint movement, the display position of the moving first virtual object and the display position of the moving resource object overlap, and the resource object's position shifts in the interaction interface as a result of the interactive action. The first misalignment module 14 displays a first resource sub-object that matches the first interaction message at the display position of the misaligned resource object, and the first resource sub-object has the function of moving in the interaction interface. The first misalignment module 14 moves and continuously displays the misaligned resource object in the interaction interface.
[0221] Preferably, when the second display module 15 displays a second interaction message on the interaction interface, it displays a second virtual object in the second interaction area where the second interaction message is located, the second interaction message is transmitted by the second object, the second virtual object is associated with the second interaction message, and the second object is an object that interacts with the first object on the interaction interface. Specifically, when the second display module 15 displays the second interaction message on the interaction interface, it determines the trigger type indicated by the first interaction message and the second interaction message, respectively. Specifically, the second display module 15 displays a second virtual object in the second interaction area where the second interaction message is located, if both the trigger type indicated by the first interaction message and the trigger type indicated by the second interaction message are of the interactive type.
[0222] The second movement module 16 moves and displays the second virtual object from the position of the second interaction area in the interaction interface, and the first virtual object, the second virtual object, and the resource object are displayed simultaneously in the interaction interface.
[0223] Preferably, if the interaction movement includes the joint movement of the first virtual object and the second virtual object, the animation display module 17 displays superimposed interactive animations associated with the first virtual object and the second virtual object on the interaction interface when the display positions of the first virtual object and the second virtual object overlap during the joint movement.
[0224] Preferably, if the interaction movement includes the joint movement of the first virtual object, the second virtual object, and the resource object, the second superposition module 18, during the joint movement, triggers the second virtual object to perform an interactive action on the resource object if the display position of the second virtual object in motion overlaps with the display position of the resource object in motion, and the resource object's position shifts in the interaction interface as a result of the interactive action. The second misalignment module 19 displays a second resource sub-object that matches the second interaction message at the display position of the misaligned resource object, and the second resource sub-object has the ability to move within the interaction interface. The second misalignment module 19 moves and continuously displays the misaligned resource object in the interaction interface.
[0225] Preferably, if the data processing device 1 more specifically displays a first resource sub-object that matches the first interaction message at the location where the resource object disappeared when the misplaced resource object exceeds the display range of the interaction interface, More specifically, if the data processing device 1 is located within the display area of the interaction interface, it performs the step of displaying a first resource sub-object that matches the first interaction message at the display location of the misaligned resource object.
[0226] Preferably, the data processing device 1 more specifically displays a resource receiving area on the interaction interface in response to a trigger operation on a resource object in transit. The data processing device 1 more specifically displays resource description information and resource reception controls in the resource reception area. More specifically, the data processing device 1 receives the virtual resource indicated by the resource description information in response to a trigger operation on the resource reception control.
[0227] Preferably, the data processing device 1 more specifically acquires the updated movement trajectory and updated movement speed instructed by the trigger operation in response to a trigger operation on a first virtual object in motion. More specifically, the data processing device 1 updates the initial movement trajectory and initial movement speed in the interaction interface of the moving first virtual object according to the updated movement trajectory and updated movement speed.
[0228] Preferably, the data processing device 1 more specifically adds a virtual discovery area to the first virtual object and a resource discovery area to the resource object. More specifically, the data processing device 1 generates a degree of region overlap between the virtual detection region and the resource detection region based on the region common set and region union between the virtual detection region and the resource detection region during the movement process of the first virtual object and resource object. More specifically, the data processing device 1 determines that if the degree of region overlap is greater than the degree of overlap threshold, the display position of the moving first virtual object and the display position of the moving resource object will overlap.
[0229] Regarding the specific implementations of the first display module 11 and the first movement module 12, refer to the descriptions in S101 to S102 in the embodiment corresponding to Figure 3 above, and no further explanation is needed here. Regarding the specific implementations of the first superposition module 13 and the first misalignment module 14, refer to the descriptions in S201 to S204 in the embodiment corresponding to Figure 5 above, and in S2031 to S2035 in the embodiment corresponding to Figure 10 above, and no further explanation is needed here. Regarding the specific implementations of the second display module 15, the second movement module 16, and the animation display module 17, refer to the descriptions in S301 to S305 in the embodiment corresponding to Figure 13 above, and no further explanation is needed here. Regarding the specific implementations of the second superposition module 18 and the second misalignment module 19, refer to the descriptions in S401 to S409 in the embodiment corresponding to Figure 16 above, and no further explanation is needed here. Furthermore, no further explanation is needed regarding the beneficial effects of the same method.
[0230] Furthermore, referring to Figure 21, which is a schematic diagram of the structure of a computer device provided by an embodiment of the present application, the computer device 1000 includes a processor 1001, a network interface 1004, and memory 1005, and further includes a user interface 1003 and at least one communication bus 1002. The communication bus 1002 enables connection communication between these components. In some embodiments, the user interface 1003 includes a display and a keyboard, and preferably further includes a standard wired interface and a wireless interface. Preferably, the network interface 1004 includes a standard wired interface and a wireless interface (e.g., a Wi-Fi interface). The memory 1005 may be high-speed RAM memory or non-volatile memory, such as at least one magnetic disk memory. Preferably, the memory 1005 may further include at least one storage device located away from the processor 1001. As shown in Figure 21, the memory 1005, which serves as a computer-readable storage medium, includes an operating system, a network communication module, a user interface module, and device control application programs.
[0231] In the computer device 1000 shown in Figure 21, the network interface 1004 provides network communication functionality, the user interface 1003 is primarily an interface that provides input to the user, and the processor 1001 calls a device control application program stored in memory 1005. When displaying a first interaction message on an interaction interface, the steps include: displaying a first virtual object in the first interaction region where the first interaction message is located, and displaying a resource object at the target location of the interaction interface, wherein the first interaction message is transmitted by the first object, both the first virtual object and the resource object are associated with the first interaction message, and the resource object has interactive functionality with the first virtual object. The interaction interface implements the steps of moving and displaying a first virtual object from the position of a first interaction area, and moving and displaying a resource object from a target position.
[0232] Herein, the computer device 1000 described in the embodiments of this application may perform the data processing method in the embodiments corresponding to Figures 3, 5, 10, 13, and 16 above, or the data processing device 1 may be described in the embodiment corresponding to Figure 20 above, and there is no need to elaborate further. Furthermore, there is no need to elaborate further on the description of beneficial effects of the same method.
[0233] Furthermore, the embodiments of this application further provide a computer-readable storage medium in which a computer program executed by the data processing device 1 is stored. The computer program includes program instructions, and when the processor executes the program instructions, the data processing method described in the embodiments corresponding to Figures 3, 5, 10, 13, and 16 can be executed. Therefore, no further explanation is needed here. Similarly, no further explanation is needed regarding the beneficial effects of the same method. For technical details regarding the computer-readable storage medium covered by this application that are not disclosed in the embodiments, refer to the description of the method embodiments of this application.
[0234] Furthermore, the embodiments of this application further provide a computer program product or computer program, which includes computer instructions, and these instructions are stored in a computer-readable storage medium. The processor of the computer equipment reads the computer instructions from the computer-readable storage medium and executes the computer instructions, thereby causing the computer equipment to perform the data processing method described in the embodiments corresponding to Figures 3, 5, 10, 13, and 16 above; therefore, no further explanation is needed here. Similarly, no further explanation is needed regarding the beneficial effects of the same method. For technical details not disclosed in the embodiments concerning the computer program product or computer program to which this application pertains, refer to the description of the method embodiments of this application.
[0235] As those skilled in the art will understand, the implementation of all or part of the flows in the above embodiments and methods is completed by instructing the relevant hardware with a computer program, which is stored on a computer-readable storage medium, and when the program is executed, it includes the flows of each embodiment of the above methods. The storage medium includes magnetic disks, optical disks, read-only memory (ROM), or random access memory (RAM), etc.
[0236] The foregoing disclosures are merely preferred embodiments of the present application and are not intended to limit the scope of the claims of this application; therefore, equivalent modifications completed in accordance with the claims of this application remain within the scope of this application.
Claims
1. A data processing method performed by computer equipment, The steps include: displaying a first interaction message on an interaction interface, displaying a first virtual object in the first interaction area where the first interaction message is located, and displaying a resource object at the target location of the interaction interface, wherein the first interaction message is transmitted by the first object, both the first virtual object and the resource object are associated with the first interaction message, and the resource object has an interactive function with the first virtual object; A step of displaying interaction movements relating to the first virtual object and the resource object in the interaction interface, wherein the interaction movement includes at least one of the movement of the first virtual object from the position of the first interaction area and the movement of the resource object from the target position. In the process of the interaction movement, if the display position of the first virtual object and the display position of the resource object overlap, the first virtual object is controlled to perform an interactive action on the resource object, wherein the resource object's position in the interaction interface is shifted as a result of the interactive action. A step of displaying a first resource sub-object that matches the first interaction message at the display position of the resource object whose position has shifted, wherein the first resource sub-object has a function to move in the interaction interface. A method comprising the step of moving the misaligned resource object in the interaction interface to keep it displayed.
2. The aforementioned method, If the resource object whose position has shifted exceeds the display range of the interaction interface, the steps include displaying a first resource sub-object that matches the first interaction message at the location where the resource object disappeared, The method according to claim 1, further comprising the step of, if the misaligned resource object is located within the display range of the interaction interface, displaying a first resource sub-object that matches the first interaction message at the display position of the misaligned resource object.
3. The aforementioned method, When displaying a second interaction message in the interaction interface, the process further includes displaying a second virtual object in the second interaction region where the second interaction message is located, wherein the second interaction message is transmitted by the second object, the second virtual object is associated with the second interaction message, and the second object is an object that interacts with the first object in the interaction interface. The step of displaying interaction movements relating to the first virtual object and the resource object in the interaction interface is: The method according to claim 1, comprising the step of displaying interaction movements relating to the first virtual object, the second virtual object, and the resource object in the interaction interface, wherein the interaction movement includes at least one of displaying the movement of the first virtual object from the position of the first interaction region, the movement of the resource object from the target position, or the movement of the second virtual object from the position of the second interaction region, and the first virtual object, the second virtual object, and the resource object are displayed simultaneously in the interaction interface.
4. The aforementioned method, The method according to claim 3, wherein if the interaction movement includes the joint movement of the first virtual object and the second virtual object, the method further includes the step of displaying superimposed interactive animations associated with the first virtual object and the second virtual object on the interaction interface when the display positions of the first virtual object and the second virtual object overlap during the joint movement.
5. The aforementioned method, If the interaction movement includes the joint movement of the first virtual object, the second virtual object, and the resource object, the step of triggering the second virtual object to perform an interactive action on the resource object when the display position of the second virtual object during movement overlaps with the display position of the resource object during movement, wherein the resource object's position shifts in the interaction interface as a result of the interactive action. A step of displaying a second resource sub-object that matches the second interaction message at the display position of the resource object whose position has shifted, wherein the second resource sub-object has a function to move in the interaction interface. The method according to claim 3, further comprising the step of moving the misaligned resource object in the interaction interface and continuing to display it.
6. The aforementioned method, The steps include: displaying a resource receiving area in the interaction interface in response to a trigger operation on the resource object while it is in motion; The steps include displaying resource description information and resource reception controls in the resource reception area, The method according to claim 1, further comprising the step of receiving a virtual resource indicated by the resource description information in response to a trigger operation on the resource receiving control.
7. The aforementioned method, The steps include: In response to a trigger operation on the first virtual object in motion, obtaining the updated movement trajectory and updated movement speed instructed by the trigger operation; The method according to claim 1, further comprising the step of updating the initial movement trajectory and initial movement speed in the interaction interface of the moving first virtual object according to the updated movement trajectory and the updated movement speed.
8. The interaction interface includes a virtual keyboard area and a message display area, and the message display area is the area of the interaction interface excluding the virtual keyboard area. If the interaction movement includes the movement of the resource object from the target position, the step of displaying the interaction movement relating to the first virtual object and the resource object in the interaction interface is: If the resource object in transit is located in the message display area, the steps include displaying the resource object in the message display area, The method according to claim 1, further comprising the step of overwriting and displaying the resource object by a virtual keyboard in the virtual keyboard area if the resource object being moved is located in the virtual keyboard area.
9. When displaying a first interaction message on the interaction interface, the step of displaying a first virtual object in the first interaction area where the first interaction message is located is: The steps include: displaying a first interaction message in the interaction interface; if the first interaction message includes message key data having a virtual object trigger function, obtaining the first virtual object and the effective time range indicated by the message key data from the resource library, wherein the resource library is periodically obtained by the application client to which the interaction interface belongs; The method according to claim 1, comprising the step of displaying the first virtual object in the first interaction area where the first interaction message is located, if the current time is within the effective time range.
10. If the interaction movement includes the movement of the first virtual object from the position of the first interaction region, the step of displaying the interaction movement relating to the first virtual object and the resource object in the interaction interface is: The steps include obtaining the object position distance between the display position of the first virtual object and the display position of the resource object, The interaction interface includes the step of generating a virtual region indicated by the object position distance, The method according to claim 1, comprising the step of moving and displaying the first virtual object from the position of the first interaction area based on the virtual area.
11. The step of moving and displaying the first virtual object from the position of the first interaction area based on the virtual area is: A step of determining a target movement trajectory and an auxiliary movement trajectory corresponding to the first virtual object from the virtual area, wherein the target movement trajectory indicates the display position where there is an overlap between the display position of the first virtual object in motion and the display position of the resource object in motion, and the auxiliary movement trajectory differs from the target movement trajectory in that the starting points of both the target movement trajectory and the auxiliary movement trajectory are positions in the interaction interface of the first interaction area, A step of selecting a selected movement trajectory based on the selection probabilities corresponding to the target movement trajectory and the auxiliary movement trajectory, wherein the selected movement trajectory is either the target movement trajectory or the auxiliary movement trajectory. The method according to claim 10, comprising the step of moving and displaying the first virtual object from the position of the first interaction area according to the selected movement trajectory.
12. The aforementioned method, Steps include: stating the number of first consecutive non-collisions of a historical virtual object with respect to a resource object within a target time period, wherein the historical virtual object is associated with a historical interaction message in the interaction interface; The process further includes, if the first number of consecutive non-collision counts is equal to a collision trigger threshold, adjusting the selection probability corresponding to the target movement trajectory to the maximum selection probability, The step of selecting a selected movement trajectory based on the selection probabilities corresponding to the target movement trajectory and the auxiliary movement trajectory, respectively, is: The method according to claim 11, further comprising the step of determining the target movement trajectory as a selected movement trajectory based on the maximum selection probability corresponding to the target movement trajectory and the selection probability corresponding to the auxiliary movement trajectory.
13. The aforementioned method, The method according to claim 12, further comprising the step of recounting the first consecutive non-collision count if the display position of the first virtual object is higher than the display position of the resource object.
14. The process of displaying the movement of the first virtual object includes at least two jump operations, each jump operation being performed according to a different selected movement trajectory, and each selected movement trajectory corresponding to each jump operation is determined based on different virtual regions. The aforementioned method, The steps include statistically determining the second number of consecutive non-collision jumps of the first virtual object relative to the resource object, If the second number of consecutive non-collisions is equal to the collision trigger threshold, a step of generating an update virtual region based on the display position of the moving first virtual object and the display position of the moving resource object, wherein the update virtual region includes an update target movement trajectory and an update auxiliary movement trajectory, the update target movement trajectory indicates the display positions where there is overlap between the display position of the moving first virtual object and the display position of the moving resource object, the update auxiliary movement trajectory differs from the update target movement trajectory, the update target movement trajectory has a maximum selection probability, and the selection probability corresponding to the update auxiliary movement trajectory is smaller than the maximum selection probability, The steps include determining the updated target movement trajectory as the updated selected movement trajectory based on the maximum selection probability corresponding to the updated target movement trajectory and the selection probability corresponding to the updated auxiliary movement trajectory, The method according to claim 11, further comprising the step of performing a jump operation on the first virtual object as instructed by the updated selection movement trajectory.
15. When displaying a second interaction message on the interaction interface, the step of displaying a second virtual object in the second interaction area where the second interaction message is located is: When displaying a second interaction message on the interaction interface, the steps include determining the trigger type indicated by the first interaction message and the second interaction message, respectively. The method according to claim 3, comprising the step of displaying a second virtual object in a second interaction area where the second interaction message is located, if both the trigger type indicated by the first interaction message and the trigger type indicated by the second interaction message are interactive types.
16. The aforementioned method, The steps include adding a virtual discovery area to the first virtual object and adding a resource discovery area to the resource object, In the process of moving the first virtual object and the resource object, a step is to generate a degree of region overlap between the virtual detection region and the resource detection region based on the region common set and region union between the virtual detection region and the resource detection region, The method according to claim 1, further comprising the step of determining that the display position of the moving first virtual object and the display position of the moving resource object overlap when the area overlap is greater than an overlap threshold.
17. A data processing device, A first display module that, when displaying a first interaction message on an interaction interface, displays a first virtual object in a first interaction area where the first interaction message is located, and displays a resource object at a target location on the interaction interface, wherein the first interaction message is transmitted by the first object, both the first virtual object and the resource object are associated with the first interaction message, and the resource object has an interactive function with the first virtual object, The interaction interface includes a first movement module that displays interaction movements relating to the first virtual object and the resource object, wherein the interaction movement includes at least one of the movement of the first virtual object from the position of the first interaction region and the movement of the resource object from the target position, The aforementioned data processing device is In the process of the interaction movement, if the display position of the first virtual object and the display position of the resource object overlap, the first virtual object is controlled to perform an interactive action on the resource object, wherein the resource object's position shifts in the interaction interface as a result of the interactive action. Displaying a first resource sub-object that matches the first interaction message at the display position of the resource object whose position has shifted, wherein the first resource sub-object has a function to move in the interaction interface, A device configured to move and continuously display the resource object whose position has shifted in the interaction interface.
18. A computer device including a processor and memory, A device wherein the processor and the memory are connected, the memory stores a computer program, and the processor calls the computer program to cause the computer device to execute the method according to any one of claims 1 to 16.
19. A computer program, the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, read by a processor and executed, thereby causing a computer device equipped with the processor to perform the method according to any one of claims 1 to 16.
Citation Information
Patent Citations
System and method of display device used for supporting tactile sense and readable medium of computer
CN108563326A
Session-based information display method and device, equipment and storage medium
CN112748974A
Expression element display method, device and equipment and computer readable storage medium
CN112748975A
Page display method and device, equipment, medium and program product
CN112799766A
Virtual resource transfer method and device, storage medium and electronic equipment
CN113730907A