Virtual resource processing method and device

By sending bait to the server in Internet games, real-time update of virtual resources is achieved, and the problem of single characters and scenes in the existing technology is solved, and the interactiveness and experience of the game is enhanced.

CN114210053BActive Publication Date: 2024-11-01BEIJING XIAOLAI INFINITE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111342759.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-12
Publication Date
2024-11-01
Estimated Expiration
2041-11-12

AI Technical Summary

Technical Problem

The phishing processing methods in existing Internet games have single roles and scenarios, and are not interactive enough to meet users' high interactive needs.

Method used

By sending instructions to the server to raise bait, receiving and updating the amount of bait, multi-character participation and real-time updates of virtual resources, including bait locking, bait release, pond creation and sharing operations, enriching the fishing scene and interactivity.

Benefits of technology

Multi-character participation is achieved, enhancing the richness and interactivity of the fishing scenes, making the game experience more attractive and interactive.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114210053B_ABST
    Figure CN114210053B_ABST
Patent Text Reader

Abstract

The present application proposes a method and device for processing virtual resources, wherein the method comprises: a first client first sends a bait lifting instruction to a server, and then receives an update mode in which the server determines the number of baits based on the current instruction and the operation data of the other participants on the object, and then updates the number of baits in the display interface according to the update mode. Thus, by operating the virtual resources of each client in accordance with the operation of the virtual resources, the virtual resources corresponding to the client can be updated in real time, realizing the participation of multiple roles in the fishing applet, making the fishing scene richer and more interactive.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet game applications, and in particular to a method and device for processing virtual resources. Background Art

[0002] With the development of computer technology, people have higher and higher requirements for the interactivity of Internet products.

[0003] In the related art, fishing applets usually display the fishing surface in the user interface. When the participants see a fish passing by, they can trigger the fishing operation. The system determines whether the fishing is successful based on the timing of the fishing operation triggered by the participants. This fishing processing method has a single participating role and scene, and poor interactivity. Summary of the invention

[0004] The present application provides a method and device for processing virtual resources.

[0005] According to a first aspect of an embodiment of the present disclosure, an embodiment of the present disclosure provides a method for processing virtual resources, including:

[0006] Sending a bait lifting instruction to the server, wherein the lifting instruction includes an identifier of the target bait and a first timestamp;

[0007] receiving an update mode of the number of fishing baits returned by the server, wherein the update mode is determined by the server according to the identifier of the target fishing bait, the first timestamp, and operation data of the target fishing bait by other participants;

[0008] According to the update mode, the number of baits in the display interface is updated.

[0009] In a possible implementation manner of the embodiment of the first aspect of the present disclosure, the present invention further includes:

[0010] Receiving a target fishing bait locking instruction sent by the server, wherein the locking instruction includes an identifier of the target fishing bait;

[0011] The target bait is locked.

[0012] In a possible implementation manner of the first aspect of the present disclosure, locking the target fishing bait specifically includes:

[0013] Lowering the display height of the fish float corresponding to the target fishing bait by a preset distance;

[0014] Alternatively, water ripples are displayed on the water surface associated with the target fishing bait.

[0015] In a possible implementation manner of the first aspect of the present disclosure, the locking instruction also includes the type of the first character of the target fishing bait to be locked, and the locking of the target fishing bait specifically includes:

[0016] Determining a locking mode corresponding to the target fishing bait according to the type of the first character;

[0017] Based on the locking mode, the target fishing bait is locked.

[0018] In a possible implementation manner of the embodiment of the first aspect of the present disclosure, the present invention further includes:

[0019] Sending a bait placing instruction to the server, wherein the bait placing instruction includes the quantity of bait to be placed and the target placement point;

[0020] In response to receiving a bait placement success message returned by the server, a fish float logo is displayed at a target placement point in the target virtual pond.

[0021] In a possible implementation manner of the embodiment of the first aspect of the present disclosure, the present invention further includes:

[0022] Sending a virtual pond creation request to the server, wherein the creation request includes an identifier of the second role corresponding to the first client;

[0023] Receive the target virtual pond returned by the server and the number of available baits corresponding to the first client.

[0024] In a possible implementation manner of the embodiment of the first aspect of the present disclosure, the present invention further includes:

[0025] Sending a sharing request to the server, wherein the sharing request includes an identifier of the second role corresponding to the first client;

[0026] Receive the sharing identifier returned by the server;

[0027] The analysis identifier is sent to the target object.

[0028] In a possible implementation manner of the embodiment of the first aspect of the present disclosure, the present invention further includes:

[0029] Receiving a role update instruction returned by the server, wherein the role update instruction includes an updated role corresponding to the first client and corresponding target scene content;

[0030] According to the update instruction, the updated character and the target scene content are displayed in the first client.

[0031] According to a second aspect of an embodiment of the present disclosure, an embodiment of the present disclosure provides a method for processing virtual resources, including:

[0032] Receiving a bait lifting instruction sent by a first client, wherein the lifting instruction includes an identifier of a target bait and a first timestamp;

[0033] Determine a second timestamp at which the target fishing bait corresponding to the identifier of the target fishing bait is locked by the first role corresponding to the second client;

[0034] determining a resource update mode corresponding to the first role according to a difference between the first timestamp and the second timestamp;

[0035] Based on the resource update mode, resources of the second role corresponding to the first client are updated.

[0036] In a possible implementation manner of the embodiment of the second aspect of the present disclosure, determining the resource update mode corresponding to the first role according to the difference between the first timestamp and the second timestamp specifically includes:

[0037] When the difference between the first timestamp and the second timestamp is greater than a first threshold, determining that the resource update mode is to reduce the number of baits corresponding to the second character by one;

[0038] Alternatively, when the difference between the first timestamp and the second timestamp is less than or equal to the first threshold, the resource update mode is determined to be updating the number of fishing baits of the second character according to the type of the first character.

[0039] In a possible implementation manner of the second aspect of the present disclosure, the present invention further includes:

[0040] When the difference between the first timestamp and the second timestamp is less than or equal to a threshold, the number of successes corresponding to the second role is increased by one.

[0041] In a possible implementation manner of the second aspect of the present disclosure, the present invention further includes:

[0042] Receiving a bait placing instruction sent by the first client, wherein the bait placing instruction includes the quantity of bait to be placed and the target placement point;

[0043] According to the target delivery point, updating the first interface content corresponding to the target virtual pond, wherein the first interface is a user interface corresponding to a character of the same type as the second character;

[0044] The updated first interface content is sent to the first client, so that the first client displays a fish float logo at a target placement point in the target virtual pond.

[0045] In a possible implementation manner of the second aspect of the present disclosure, the present invention further includes:

[0046] receiving a virtual pond creation request sent by the first client, wherein the creation request includes an identifier of the second role;

[0047] Determining the number of available fishing baits corresponding to the second character according to the identifier of the second character;

[0048] The target virtual pond and the available bait quantity are returned to the first client.

[0049] In a possible implementation manner of the second aspect of the present disclosure, the present invention further includes:

[0050] receiving a sharing request sent by the first client, wherein the sharing request includes an identifier of a second role corresponding to the first client;

[0051] determining a target virtual pond corresponding to the identifier of the second role;

[0052] Returning a sharing identifier corresponding to the target virtual pond to the first client.

[0053] In a possible implementation manner of the second aspect of the present disclosure, the present invention further includes:

[0054] When the number of resources corresponding to the second role is less than a second threshold, a role update instruction is returned to the first client, wherein the update instruction includes an updated role corresponding to the first client and the corresponding first target scene content.

[0055] In a possible implementation manner of the second aspect of the present disclosure, the present invention further includes:

[0056] Receiving a fishing bait locking request sent by a second client, wherein the locking request includes an identifier of the target fishing bait and the second timestamp;

[0057] A target fishing bait locking instruction is returned to the first client so that the first client locks the target fishing bait.

[0058] In a possible implementation manner of the second aspect of the present disclosure, the present invention further includes:

[0059] A fishing bait locking response is returned to the second client so that the second client displays a locking countdown.

[0060] In a possible implementation manner of the second aspect of the present disclosure, the present invention further includes:

[0061] When the preset lock time is reached, updating the number of successes corresponding to the first character;

[0062] According to the updated number of successes, the preset lock duration corresponding to the second role is updated.

[0063] Update the preset lock duration corresponding to the first character

[0064] In a possible implementation manner of the second aspect of the present disclosure, the present invention further includes:

[0065] When the number of successes after the update reaches a third threshold, a role update instruction is returned to the second client, wherein the update instruction includes the updated role corresponding to the second client and the corresponding second target scene content.

[0066] In a possible implementation manner of the second aspect of the present disclosure, the present invention further includes:

[0067] When the number of successes after the update reaches a third threshold, returning a role update inquiry message to the second client, wherein the inquiry message includes a candidate role identifier;

[0068] receiving a role update confirmation message returned by the second client, wherein the confirmation message includes a target role;

[0069] According to the target role, a third target scene content corresponding to the target role is returned to the second client.

[0070] In a possible implementation manner of the second aspect of the present disclosure, the present invention further includes:

[0071] receiving a virtual pond joining request sent by the second client, wherein the joining request includes an identifier of a target virtual pond;

[0072] Determine the current panoramic content of the target virtual pond corresponding to the identifier of the target virtual pond;

[0073] The panoramic content is returned to the second client.

[0074] In a possible implementation manner of the second aspect of the present disclosure, the present invention further includes:

[0075] receiving a role selection instruction sent by the second client, wherein the selection instruction includes an identifier of the first role;

[0076] Determining, according to the type to which the identifier of the first role belongs, target scene content to be returned to the second client;

[0077] The target scene content is returned to the second client.

[0078] According to a third aspect of an embodiment of the present disclosure, an embodiment of the present disclosure provides a method for processing virtual resources, including:

[0079] When it is detected that any one of the baits is in a selected state in the display interface of the second client, a bait locking request is sent to the server, wherein the locking request includes an identifier of the any one of the baits and a currently corresponding first timestamp;

[0080] Receiving a bait locking response returned by the server;

[0081] The lock countdown is displayed on the second client.

[0082] In a possible implementation manner of the third aspect of the present disclosure, the present invention further includes:

[0083] Receive a role update instruction returned by the server, wherein the update instruction includes an updated role type corresponding to the second client.

[0084] In a possible implementation manner of the third aspect of the present disclosure, the present invention further includes:

[0085] Sending a role selection instruction to the server, wherein the selection instruction includes an identifier of the first role;

[0086] receiving a scene content update instruction sent by the server, wherein the update instruction is generated by the server based on the type to which the identifier of the first role belongs;

[0087] According to the update instruction, the scene content displayed by the second client is updated.

[0088] In a possible implementation manner of the third aspect of the present disclosure, the present invention further includes:

[0089] Sending a virtual pond joining request to the server, wherein the joining request includes an identifier of a target virtual pond;

[0090] Receive the panoramic content of the target virtual pond corresponding to the identifier of the target virtual pond returned by the server.

[0091] In a possible implementation manner of the third aspect of the present disclosure, the present invention further includes:

[0092] Receiving a role update instruction sent by the server, wherein the update instruction includes an updated role corresponding to the second client and corresponding first target scene content;

[0093] The updated character and the first target scene content are displayed.

[0094] In a possible implementation manner of the third aspect of the present disclosure, the present invention further includes:

[0095] Receiving a role update inquiry message sent by the server, wherein the inquiry message includes candidate roles;

[0096] Returning a role update confirmation message to the server, wherein the confirmation message includes the target role;

[0097] Receive the second target scene content corresponding to the target character returned by the server.

[0098] According to a fourth aspect of an embodiment of the present disclosure, an embodiment of the present disclosure provides a device for processing virtual resources, including:

[0099] A sending module, used for sending a bait lifting instruction to a server, wherein the lifting instruction includes an identifier of a target bait and a first timestamp;

[0100] A receiving module, configured to receive an update mode of the number of fishing baits returned by the server, wherein the update mode is determined by the server according to the identifier of the target fishing bait, the first timestamp, and operation data of the target fishing bait by other participants;

[0101] The updating module is used to update the number of baits in the display interface according to the updating mode.

[0102] In a possible implementation manner of the fourth aspect of the present disclosure, the receiving module is further configured to:

[0103] Receiving a target fishing bait locking instruction sent by the server, wherein the locking instruction includes an identifier of the target fishing bait;

[0104] The device also includes:

[0105] The locking module is used to lock the target fishing bait.

[0106] In a possible implementation manner of the fourth aspect of the present disclosure, the locking module is specifically configured to:

[0107] Lowering the display height of the fish float corresponding to the target fishing bait by a preset distance;

[0108] Alternatively, water ripples are displayed on the water surface associated with the target fishing bait.

[0109] In a possible implementation manner of the fourth aspect of the present disclosure, the locking instruction further includes locking the type of the first character of the target fishing bait, wherein the locking module is specifically configured to:

[0110] Determining a locking mode corresponding to the target fishing bait according to the type of the first character;

[0111] Based on the locking mode, the target fishing bait is locked.

[0112] In a possible implementation manner of the fourth aspect of the present disclosure, the sending module is further configured to:

[0113] Sending a bait placing instruction to the server, wherein the bait placing instruction includes the quantity of bait to be placed and the target placement point;

[0114] The device also includes:

[0115] The delivery module is used to display a fish float mark at a target delivery point in the target virtual pond in response to receiving a bait delivery success message returned by the server.

[0116] In a possible implementation manner of the fourth aspect of the present disclosure, the sending module is further configured to:

[0117] Sending a virtual pond creation request to the server, wherein the creation request includes an identifier of the second role corresponding to the first client;

[0118] The receiving module is further used to receive the target virtual pond returned by the server and the number of available baits corresponding to the first client.

[0119] In a possible implementation manner of the fourth aspect of the present disclosure, the sending module is further configured to:

[0120] Sending a sharing request to the server, wherein the sharing request includes an identifier of the second role corresponding to the first client;

[0121] The receiving module is further used to receive the sharing identifier returned by the server;

[0122] The device also includes:

[0123] The sharing module is used to send the analysis identifier to the target object.

[0124] In a possible implementation manner of the fourth aspect of the present disclosure, the receiving module is further configured to:

[0125] Receiving a role update instruction returned by the server, wherein the role update instruction includes an updated role corresponding to the first client and corresponding target scene content;

[0126] The device also includes:

[0127] A display module is used to display the updated character and the target scene content in the first client according to the update instruction.

[0128] According to a fifth aspect of an embodiment of the present disclosure, an embodiment of the present disclosure provides a device for processing virtual resources, including:

[0129] A receiving module, configured to receive a bait lifting instruction sent by a first client, wherein the lifting instruction includes an identifier of a target bait and a first timestamp;

[0130] A first determining module, configured to determine a second timestamp at which the target fishing bait corresponding to the identifier of the target fishing bait is locked by the first role corresponding to the second client;

[0131] A second determining module, configured to determine a resource update mode corresponding to the first role according to a difference between the first timestamp and the second timestamp;

[0132] An updating module is used to update the resources of the second role corresponding to the first client based on the resource updating mode.

[0133] In a possible implementation manner provided in an embodiment of the fifth aspect of the present disclosure, the second determining module is specifically configured to:

[0134] When the difference between the first timestamp and the second timestamp is greater than a first threshold, determining that the resource update mode is to reduce the number of baits corresponding to the second character by one;

[0135] Alternatively, when the difference between the first timestamp and the second timestamp is less than or equal to the first threshold, the resource update mode is determined to be updating the number of fishing baits of the second character according to the type of the first character.

[0136] In a possible implementation manner provided in the fifth aspect of the present disclosure, the following further includes:

[0137] A calculation module is used to increase the number of successes corresponding to the second role by one when the difference between the first timestamp and the second timestamp is less than or equal to a threshold.

[0138] In a possible implementation manner provided in an embodiment of the fifth aspect of the present disclosure, the receiving module is further configured to:

[0139] Receiving a bait placing instruction sent by the first client, wherein the bait placing instruction includes the quantity of bait to be placed and the target placement point;

[0140] The updating module is further used to update the first interface content corresponding to the target virtual pond according to the target delivery point, wherein the first interface is a user interface corresponding to a character of the same type as the second character;

[0141] The device also includes:

[0142] The sending module is used to send the updated first interface content to the first client, so that the first client displays a fish float logo at a target placement point in the target virtual pond.

[0143] In a possible implementation manner provided in an embodiment of the fifth aspect of the present disclosure, the receiving module is further configured to:

[0144] receiving a virtual pond creation request sent by the first client, wherein the creation request includes an identifier of the second role;

[0145] The determining module is further used for:

[0146] Determining the number of available fishing baits corresponding to the second character according to the identifier of the second character;

[0147] Determine to return the target virtual pond and the available bait quantity to the first client.

[0148] In a possible implementation manner provided in an embodiment of the fifth aspect of the present disclosure, the receiving module is further configured to:

[0149] receiving a sharing request sent by the first client, wherein the sharing request includes an identifier of a second role corresponding to the first client;

[0150] The determination module is further used to determine a target virtual pond corresponding to the identifier of the second role;

[0151] The sending module is further configured to return a sharing identifier corresponding to the target virtual pond to the first client.

[0152] In a possible implementation manner provided in an embodiment of the fifth aspect of the present disclosure, the sending module is further configured to:

[0153] When the number of resources corresponding to the second role is less than a second threshold, a role update instruction is returned to the first client, wherein the update instruction includes an updated role corresponding to the first client and the corresponding first target scene content.

[0154] In a possible implementation manner provided in an embodiment of the fifth aspect of the present disclosure, the sending module is further configured to:

[0155] Receiving a fishing bait locking request sent by a second client, wherein the locking request includes an identifier of the target fishing bait and the second timestamp;

[0156] The device also includes:

[0157] The locking module is used to return a target fishing bait locking instruction to the first client so that the first client locks the target fishing bait.

[0158] In a possible implementation manner provided in an embodiment of the fifth aspect of the present disclosure, the sending module is further configured to:

[0159] A fishing bait locking response is returned to the second client so that the second client displays a locking countdown.

[0160] In a possible implementation manner provided in an embodiment of the fifth aspect of the present disclosure, the update module is further configured to:

[0161] When the preset lock time is reached, updating the number of successes corresponding to the first character;

[0162] According to the updated number of successes, the preset lock duration corresponding to the first role is updated.

[0163] In a possible implementation manner provided in an embodiment of the fifth aspect of the present disclosure, the sending module is further configured to:

[0164] When the number of successes after the update reaches a third threshold, a role update instruction is returned to the second client, wherein the update instruction includes the updated role corresponding to the second client and the corresponding second target scene content.

[0165] In a possible implementation manner provided in an embodiment of the fifth aspect of the present disclosure, the sending module is further configured to:

[0166] When the number of successes after the update reaches a third threshold, returning a role update inquiry message to the second client, wherein the inquiry message includes a candidate role identifier;

[0167] The receiving module is further configured to receive a role update confirmation message returned by the second client, wherein the confirmation message includes a target role;

[0168] According to the target role, a third target scene content corresponding to the target role is returned to the second client.

[0169] In a possible implementation manner provided in an embodiment of the fifth aspect of the present disclosure, the receiving module is further configured to:

[0170] receiving a virtual pond joining request sent by the second client, wherein the joining request includes an identifier of a target virtual pond;

[0171] The determination module is further used to determine the current panoramic content of the target virtual pond corresponding to the identifier of the target virtual pond;

[0172] The sending module is further used to determine to return the panoramic content to the second client.

[0173] In a possible implementation manner provided in an embodiment of the fifth aspect of the present disclosure, the receiving module is further configured to:

[0174] receiving a role selection instruction sent by the second client, wherein the selection instruction includes an identifier of the first role;

[0175] The determination module is further configured to determine target scene content to be returned to the second client according to the type to which the identifier of the first role belongs;

[0176] The sending module is further used to return the target scene content to the second client.

[0177] According to a sixth aspect of an embodiment of the present disclosure, an embodiment of the present disclosure provides a device for processing virtual resources, including:

[0178] A sending module, configured to send a bait locking request to a server when it is detected that any bait is in a selected state in the display interface of the second client, wherein the locking request includes an identifier of any bait and a currently corresponding first timestamp;

[0179] A receiving module, used for receiving a bait locking response returned by the server;

[0180] The locking module is used to display the locking countdown on the second client.

[0181] In a possible implementation manner of the sixth aspect of the embodiments of the present disclosure, the receiving module is further configured to:

[0182] Receive a role update instruction returned by the server, wherein the update instruction includes an updated role type corresponding to the second client.

[0183] In a possible implementation manner of the sixth aspect of the embodiments of the present disclosure, the sending module is further configured to:

[0184] Sending a role selection instruction to the server, wherein the selection instruction includes an identifier of the first role;

[0185] The receiving module is further configured to receive a scene content update instruction sent by the server, wherein the update instruction is generated by the server based on the type to which the identifier of the first role belongs;

[0186] The device also includes:

[0187] An updating module is used to update the scene content displayed by the second client according to the updating instruction.

[0188] In a possible implementation manner of the sixth aspect of the embodiments of the present disclosure, the sending module is further configured to:

[0189] Sending a virtual pond joining request to the server, wherein the joining request includes an identifier of a target virtual pond;

[0190] The receiving module is further used to receive the panoramic content of the target virtual pond corresponding to the identifier of the target virtual pond returned by the server.

[0191] In a possible implementation manner of the sixth aspect of the embodiments of the present disclosure, the receiving module is further configured to:

[0192] Receiving a role update instruction sent by the server, wherein the update instruction includes an updated role corresponding to the second client and corresponding first target scene content;

[0193] The device also includes:

[0194] A display module is used to display the updated character and the first target scene content.

[0195] In a possible implementation manner of the sixth aspect of the embodiments of the present disclosure, the receiving module is further configured to:

[0196] Receiving a role update inquiry message sent by the server, wherein the inquiry message includes candidate roles;

[0197] The device also includes:

[0198] A confirmation module, used for returning a role update confirmation message to the server, wherein the confirmation message includes a target role;

[0199] Receive the second target scene content corresponding to the target character returned by the server.

[0200] According to a fifth aspect of an embodiment of the present disclosure, the present disclosure provides a computer device, the computer device comprising:

[0201] A memory storing executable program code;

[0202] a processor coupled to the memory;

[0203] The processor calls the executable program code stored in the memory to execute the virtual resource processing method as described in any one of claims 1-28.

[0204] According to a sixth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, characterized in that when the program is executed by a processor, the method for processing virtual resources as described in any one of claims 1-28 is implemented.

[0205] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: In the present disclosure, the first client first sends a bait lifting instruction to the server, and then receives an update mode in which the server determines the number of baits based on the current instruction and the operation data of the other participants on the object, and then updates the number of baits in the display interface according to the update mode. Thus, by operating the virtual resources of each client in accordance with the virtual resources, the virtual resources corresponding to the client can be updated in real time, realizing the participation of multiple roles in the fishing applet, making the fishing scene richer and more interactive.

[0206] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0207] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.

[0208] Figure 1 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0209] Figure 2 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0210] Figure 3 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0211] Figure 4 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0212] Figure 5 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0213] Figure 6 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0214] Figure 7 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0215] Figure 8 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0216] Fig. 9 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0217] Fig.10 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0218] Fig.11 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0219] Fig.12 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0220] Fig.13 is a flowchart of a method for processing virtual resources according to an exemplary embodiment;

[0221] Fig.14 is a structural schematic diagram of a virtual resource processing device according to an exemplary embodiment;

[0222] Fig.15 is a structural schematic diagram of a virtual resource processing device according to an exemplary embodiment;

[0223] Fig.16 is a structural schematic diagram of a virtual resource processing device according to an exemplary embodiment;

[0224] Fig.17 A block diagram of a terminal device for processing virtual resources provided in an embodiment of the present application. DETAILED DESCRIPTION

[0225] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0226] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0227] The following describes a method and apparatus for processing virtual resources according to an embodiment of the present application with reference to the accompanying drawings.

[0228] In the description of the present application, the term "plurality" refers to two or more.

[0229] In the description of this application, the term "virtual resources" may refer to virtual characters, virtual props, etc. in the game. There may be multiple virtual characters in the game. When playing the game on different clients, virtual resource processing technology may be used to process the virtual resources in multiple clients so that the characters can interact with each other.

[0230] Figure 1 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a first client.

[0231] like Figure 1 As shown, the method for processing the virtual resource includes:

[0232] Step 101, sending a bait lifting instruction to the server, wherein the lifting instruction includes an identifier of the target bait and a first timestamp.

[0233] Among them, the first timestamp can be the time when the participant corresponding to the first client triggers the bait lifting operation, and the identifier of the target bait can be the bait number, or the location of the bait, or any other information that can be used to uniquely identify the bait. This solution does not impose any restrictions on this.

[0234] In the present disclosure, a participant can select any fishing float in the first client interface and click the lift button in the interface to trigger the bait lifting instruction, so that the server can control the lifting of the bait to complete a fishing operation.

[0235] In the present disclosure, the first client can determine whether a bait lifting trigger instruction is received by monitoring the display interface, and can determine the selected bait as the target bait. After that, it can obtain the timestamp of the trigger and use this timestamp as the first timestamp. Then, based on the identification of the target bait and the first timestamp information, it can generate a bait lifting instruction and send the bait lifting instruction to the server.

[0236] Step 102, receiving an update mode of the number of baits returned by the server, wherein the update mode is determined by the server according to the identifier of the target bait, the first timestamp and the operation data of the target bait by other participants.

[0237] Among them, the update mode can be: there is bait on the fishing rod, keep the number of baits; there is fish on the fishing rod, reduce the number of baits; there is no bait on the fishing rod, reduce the number of baits, etc.

[0238] In the present disclosure, after the first client sends a bait lifting instruction, the server can first determine the target bait according to the target bait identifier, and then determine the state of the target bait according to the current operation data of the other participants on the target bait and the first timestamp. For example, if the target bait corresponding to the identifier of the target bait has been locked by the other participants, the state of the target bait can be determined according to the relationship between the second timestamp and the first timestamp of the other participants locking the target bait.

[0239] The state of the target bait may be: the target bait is currently idle, the target bait is currently associated with a "fish", or the target bait has been eaten by a "fish", etc. After determining the state of the target bait, the server may determine an update mode according to the state of the target bait, and then send the update mode information to the first client.

[0240] Step 103, updating the number of baits in the display interface according to the update mode.

[0241] In the present disclosure, after the first client lifts the bait, the bait may be eaten, or the bait may not be eaten, or a fish may be caught. According to different situations, the number of baits may change accordingly, and the first client may update the changed number of baits to the display interface of the first client. For example, the update mode is: the bait is not eaten, then the first client can keep the number of baits in the display interface unchanged according to the update mode. It is understandable that since the bait is not eaten, there is still bait in the display interface of the first client after the fishing rod is lifted. Alternatively, the update mode is: the bait is eaten and there is an associated fish, then the first client can reduce the number of baits in the display interface by one according to the update mode, and the corresponding display interface of the first client will display a fish on the fishing rod after the fishing rod is lifted.

[0242] In the present disclosure, the first client first sends a bait lifting instruction to the server, and then receives an update mode in which the server determines the number of baits based on the current instruction and the operation data of the other participants on the object, and then updates the number of baits in the display interface according to the update mode. Thus, by operating the virtual resources of each client in real time, the virtual resources corresponding to the client can be updated, realizing the participation of multiple roles in the fishing applet, making the fishing scene richer and more interactive.

[0243] Figure 2 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a first client.

[0244] like Figure 2 As shown, the method for processing the virtual resource includes:

[0245] Step 201, receiving a target fishing bait locking instruction sent by a server, wherein the locking instruction includes an identifier of the target fishing bait.

[0246] Step 202, locking the target bait.

[0247] Among them, locking the target bait can indicate that a "fish" is eating the bait, that is, when the participant as the "fish" selects the bait through operation, the server can determine that the bait is locked, and then send a bait locking instruction to the client corresponding to the bait.

[0248] Accordingly, after receiving the bait locking instruction, the first client will lock the target bait. In order to enable the participants on the first client side to obtain the information that the target bait is locked, in the present disclosure, the first client can indicate the locking state by changing the state of the relevant virtual props. For example, by increasing the water ripples at the position of the target bait, indicating that the bait is locked, or changing the sinking depth of the fish float, indicating that the bait is locked.

[0249] In the present disclosure, when the second client instructs to lock a certain bait, that is, the second client determines the bait as the target bait and sends a locking instruction to the server, at this time, the server can send the target bait locking instruction to the first client. When the first client receives the target bait locking instruction, it can set the target bait to a locked state.

[0250] Optionally, since different “fish” may bite the bait with different strengths, the change state of the fishing float or the water surface may be different accordingly. In the present disclosure, the target fishing bait locking instruction may also include the type of the first role. Accordingly, the above step 202 may include:

[0251] Determine the locking mode corresponding to the target bait according to the type of the first character;

[0252] Based on the locking mode, the target bait is locked.

[0253] The first character is a "fish" biting the target bait, and the type of the first character is used to characterize the type or level of the "fish". The type of the first character can be set by any client. When any client selects a character and joins the game, the server can obtain the selected character type.

[0254] In the present disclosure, different categories of first characters may correspond to different locking modes. For example, if the level of the first character corresponding to the "fish" that eats the bait is higher, the locking mode can be set so that the fish float displays a deeper drop in height; if the level is lower, the locking mode can be set so that the fish float displays a shallower drop in height; or, if the level of the first character corresponding to the fish that eats the bait is higher, the locking mode can be set so that the water ripples at the target bait location are larger; if the level is lower, the locking mode can be set so that the water ripples at the target bait location are smaller. This scheme does not impose any restrictions on this.

[0255] In the present disclosure, after the first client receives the target bait locking instruction, the target bait locking instruction can be parsed to determine the type of the first character, and then the locking mode corresponding to the target bait can be determined according to the first character type and the preset association between the first character type and the locking mode. After that, the target bait can be locked based on the locking mode. For example, if the locking mode is that the fish float descends shallowly, the display position data of the fish float corresponding to the target bait can be subtracted from the preset distance to indicate that the target bait is locked.

[0256] Step 203, sending a bait lifting instruction to the server, wherein the lifting instruction includes an identifier of the target bait and a first timestamp.

[0257] Specifically, after the participant corresponding to the first client determines that the target bait is locked based on observation, the participant can trigger the operation of lifting the target bait at the first client, so that the first client will send a bait lifting instruction to the server.

[0258] Step 204, receiving an update mode of the number of fishing baits returned by the server, wherein the update mode is determined by the server according to the identifier of the target fishing bait and the first timestamp.

[0259] Step 205: Update the number of baits in the display interface according to the update mode.

[0260] In the present disclosure, the specific implementation process of step 203 to step 205 can be found in the detailed description of any embodiment of the present disclosure, and will not be repeated here.

[0261] In the present disclosure, after receiving the target bait locking instruction sent by the server, the client can lock the target bait, and when receiving the bait lifting instruction triggered by the user, it can send the bait lifting instruction to the server, and then update the number of baits in the current display interface according to the bait quantity update mode returned by the server. Therefore, the fishing applet provided by the present disclosure can update the virtual resources corresponding to the current client in real time according to the operation of the virtual resources by the current client and other participating clients, realizing multi-role participation, richer scenes, and stronger interactivity.

[0262] Figure 3 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a first client.

[0263] like Figure 3 As shown, the method for processing the virtual resource includes:

[0264] Step 301: Send a virtual pond creation request to a server, wherein the creation request includes an identifier of a second role corresponding to a first client.

[0265] The second character may be any character that initiates the game. For example, the second character may be a "fisherman", or any type of "fish", etc. In the present disclosure, the second character is taken as a "fisherman" as an example for demonstration and explanation.

[0266] Optionally, the identifier of the second role can be the name of the "fisherman" or the type of "fish", etc., and this solution does not limit this. It should be noted that since the server can provide services to multiple clients at the same time, in order to distinguish different virtual ponds, the server can number the created virtual ponds to uniquely distinguish each virtual pond.

[0267] In the present disclosure, a participant can trigger a virtual pond creation request by clicking a create pond button in the first client interface, and then the first client can send a virtual pond creation request to the server.

[0268] Step 302: Receive the target virtual pond and the number of available baits corresponding to the first client returned by the server.

[0269] In the present disclosure, after receiving a virtual pond creation request sent by a first client, the server can create a virtual pond corresponding to the second character according to the number of available baits identified by the second character corresponding to the first client, and use this virtual pond as the target virtual pond. Then, the target virtual pond and the number of available baits are returned to the first client.

[0270] It can be understood that the target virtual pond returned by the server refers to the user interface data stream corresponding to the target virtual pond, and then the first client can display the user interface corresponding to the target virtual pond on its user interface.

[0271] Step 303, sending a bait placing instruction to the server, wherein the bait placing instruction includes the quantity of bait to be placed and the target placing point.

[0272] In the present disclosure, after the first client completes the creation of the virtual pond, the participant can start the fishing process. For example, the participant can select the bait placement point and the amount of bait in the user interface, and then trigger the bait placement instruction by triggering the "bait placement" control. After receiving the bait placement instruction, the first client can send the bait placement instruction to the server to perform the bait placement operation.

[0273] Step 304, in response to receiving the bait placement success message returned by the server, displaying a fish float logo at the target placement point in the target virtual pond.

[0274] In the present disclosure, after receiving the bait release instruction from the first client, the server can parse the bait release instruction to determine the number of baits to be released and the target release point, and then compare the number of baits to be released with the number of baits available to the first client. When the number of baits to be released is less than or equal to the number of baits available to the first client, it is determined that the release is successful, and then, according to the target release point, the interface content corresponding to the target virtual pond is updated, and the interface content and the bait release success message are returned to the first client. When the number of baits to be released is greater than the number of baits available to the first client, it is determined that the release has failed, and a release failure message is returned to the first client.

[0275] In the present disclosure, when the first client receives the bait placement success message returned by the server, it can determine the updated interface content based on the bait placement success message, and set the relevant page elements in the current interface based on the updated interface content, so as to display the fish float logo at the target placement point in the target virtual pond.

[0276] Step 305: Send a sharing request to the server, wherein the sharing request includes an identifier of the second role corresponding to the first client.

[0277] In the present disclosure, a participant may trigger a sharing request by clicking a sharing button in the first client interface.

[0278] Step 306: Receive the sharing identifier returned by the server.

[0279] Among them, the sharing mark can be a link corresponding to the target virtual pond, or a QR code image, etc. Any object can enter the target virtual pond by clicking the link or scanning the QR code. This solution does not impose any restrictions on this.

[0280] Step 307: Send the analysis identifier to the target object.

[0281] In the present disclosure, after obtaining the sharing identifier, the first client can send the sharing identifier to the target object in any social software by copying or forwarding.

[0282] In the present disclosure, any participant in the game can create a virtual fish pond, and then send a sharing identifier corresponding to the virtual fish pond created by the participant to the other participants to invite the other participants to enter the game. Thus, the participants can select roles to participate in the game independently, further improving the interactivity.

[0283] Figure 4 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a first client.

[0284] like Figure 4 As shown, the method for processing the virtual resource includes:

[0285] Step 401, sending a bait lifting instruction to the server, wherein the lifting instruction includes an identifier of the target bait and a first timestamp.

[0286] Step 402, receiving an update mode of the number of fishing baits returned by the server, wherein the update mode is determined by the server according to the identifier of the target fishing bait and the first timestamp.

[0287] Step 403, updating the number of baits in the display interface according to the update mode.

[0288] In the present disclosure, the specific implementation process of step 401 to step 403 can be found in the detailed description of any embodiment of the present disclosure, and will not be repeated here.

[0289] Step 404: Receive a role update instruction returned by the server, wherein the role update instruction includes an updated role corresponding to the first client and corresponding target scene content.

[0290] Among them, the scene refers to the environment, buildings, machinery, props, etc. in the game. The scenes corresponding to different characters may be different. For example, when the character entering the game is a fisherman, the corresponding scene may be the environment on the surface of the virtual pond. When the character entering the game is a fish, the corresponding scene may be the environment in the virtual pond water.

[0291] In the present disclosure, when the number of baits corresponding to the first client changes, the change of the corresponding role can be triggered. For example, when the number of baits available for use by the first client is 0, the server can send a role update instruction to the first client, instructing the first client to update its corresponding role to "fish".

[0292] Step 405: Display the updated character and target scene content in the first client according to the update instruction.

[0293] In the present disclosure, the first client can parse the character update instruction, determine the updated character and the corresponding target scene content, and then update the scene content of the first client by changing the page elements in the first client display interface according to the corresponding target scene content.

[0294] In the present disclosure, the role corresponding to the first client can not only be selected by the user independently, but also can be updated according to the instructions of the server, thereby further enriching the scenarios of the phishing program and improving its interactivity.

[0295] Figure 5 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a server.

[0296] like Figure 5 As shown, the method for processing the virtual resource includes:

[0297] Step 501, receiving a bait lifting instruction sent by a first client, wherein the lifting instruction includes an identifier of a target bait and a first timestamp.

[0298] Among them, the first timestamp can be the time when the participant corresponding to the first client triggers the bait lifting operation, and the identifier of the target bait can be the bait number, or the location of the bait, or any other information that can be used to uniquely identify the bait. This solution does not impose any restrictions on this.

[0299] In the present disclosure, a participant can select any fishing float in the first client interface and click the lift button in the interface to trigger the bait lifting instruction, so that the server can control the lifting of the bait to complete a fishing operation.

[0300] In the present disclosure, the first client can monitor the display interface to determine whether a bait lifting trigger instruction is received, and can determine the selected bait as the target bait. After that, the timestamp of the trigger can be obtained, and this timestamp can be used as the first timestamp. Then, based on the identifier of the target bait and the first timestamp information, a bait lifting instruction can be generated, and the bait lifting instruction can be sent to the server. Thus, after the server receives the bait lifting instruction sent by the first client, it can parse the bait lifting instruction to determine the identifier of the target bait and the first timestamp.

[0301] Step 502: Determine a second timestamp when the target fishing bait corresponding to the identifier of the target fishing bait is locked by the first role corresponding to the second client.

[0302] Among them, the first character is the "fish" that bites the target bait, and the type of the first character is used to characterize the type or level of the "fish". The type of the first character can be set by any client. When any client selects a character and joins the game, the server can obtain the selected character type. The second timestamp is the time when the first character corresponding to the second client locks the target bait. Locking can indicate that a "fish" is eating the bait, that is, when the participant as the "fish" selects the bait through operation, the server can determine that the bait is locked, and then send a bait locking instruction to the client corresponding to the bait.

[0303] In the present disclosure, after the server determines the identifier of the target bait, it can determine the second timestamp of the target bait corresponding to the identifier of the target bait and locked by the first role corresponding to the second client according to the identifier of the target bait.

[0304] Step 503: Determine the resource update mode corresponding to the first role according to the difference between the first timestamp and the second timestamp.

[0305] Among them, the update mode can be: there is bait on the fishing rod, keep the number of baits; there is fish on the fishing rod, reduce the number of baits; there is no bait on the fishing rod, reduce the number of baits, etc.

[0306] In the present disclosure, the server can determine the state of the target fishing bait according to the relationship between the second timestamp and the first timestamp of the target fishing bait locked by other participants.

[0307] The state of the target bait may be: the target bait is currently idle, the target bait is currently associated with a "fish", or the target bait has been eaten by a "fish", etc. After determining the state of the target bait, the server may determine an update mode according to the state of the target bait.

[0308] Optionally, the server can make a difference between the first timestamp and the second timestamp. When the difference between the first timestamp and the second timestamp is greater than the first threshold, the state of the target bait is determined as: the target bait has been eaten by the "fish", thereby determining that the resource update mode corresponding to the first character is: there is no bait on the fishing rod, and the number of baits corresponding to the second character is reduced by one. When the difference between the first timestamp and the second timestamp is less than or equal to the first threshold, the state of the target bait is determined as: the target bait is currently associated with the "fish", thereby determining that the resource update mode corresponding to the first character is: there is a fish on the fishing rod, and according to the type of the first character, the number of baits of the second character is increased accordingly.

[0309] In addition, when the target bait is not locked by the first role of the other participant, the server does not obtain the second timestamp. At this time, it can be determined that the state of the target bait is: the target bait is currently idle, so the resource update mode corresponding to the first role is determined as: there is bait on the fishing rod and the number of baits is maintained. The first threshold can be the time required for the fish to eat the bait.

[0310] Optionally, when the difference between the first timestamp and the second timestamp is less than or equal to the first threshold, the state of the target fishing bait is determined as: the target fishing bait has been eaten by the "fish", and the number of successes corresponding to the second character may also be increased by one.

[0311] Step 504: Based on the resource update mode, update the resources of the second role corresponding to the first client.

[0312] In the present disclosure, after the first client lifts the bait, the bait may be eaten, or the bait may not be eaten, or a fish may be caught, etc. According to different situations, the number of baits corresponding to the second character may change accordingly. For example, the update mode is: if the bait is not eaten, the number of baits of the second character corresponding to the first client may remain unchanged. It is understandable that since the bait is not eaten, the number of baits of the second character will be reduced accordingly. Alternatively, the update mode is: if the bait is eaten and there is an associated fish, the number of baits of the second character may be increased accordingly according to the type of the first character.

[0313] In the present disclosure, the server first receives the bait lifting instruction sent by the first client, and then determines the second timestamp of the target bait corresponding to the identifier of the target bait being locked by the first character corresponding to the second client, and then determines the resource update mode corresponding to the first character according to the difference between the first timestamp and the second timestamp, and updates the resources of the second character corresponding to the first client based on the resource update mode. Thus, by operating the virtual resources according to each client, the virtual resources corresponding to the client can be updated in real time, realizing the participation of multiple characters in the fishing applet, making the fishing scene richer and more interactive.

[0314] Figure 6 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a server.

[0315] like Figure 6 As shown, the method for processing the virtual resource includes:

[0316] Step 601: receiving a virtual pond creation request sent by a first client, wherein the creation request includes an identifier of a second role.

[0317] The second character may be any character that initiates the game. For example, the second character may be a "fisherman", or any type of "fish", etc. In the present disclosure, the second character is taken as a "fisherman" as an example for demonstration and explanation.

[0318] Optionally, the identifier of the second role can be the name of the "fisherman" or the type of "fish", etc., and this solution does not limit this. It should be noted that since the server can provide services to multiple clients at the same time, in order to distinguish different virtual ponds, the server can number the created virtual ponds to uniquely distinguish each virtual pond.

[0319] In the present disclosure, after receiving the virtual pond creation request sent by the first client, the server may parse the creation request to determine the identifier of the second role.

[0320] Step 602: Determine the number of available fishing baits corresponding to the second character according to the identifier of the second character.

[0321] In the present disclosure, after the server determines the amount of bait available to the second character based on the identifier of the second character, it can create a virtual pond corresponding to the second character based on the amount of bait available to the second character based on the identifier of the second character corresponding to the first client, and use this virtual pond as the target virtual pond.

[0322] Step 603: Return the target virtual pond and the amount of available bait to the first client.

[0323] In the present disclosure, the target virtual pond returned by the server refers to the user interface data stream corresponding to the target virtual pond, and then the first client can display the user interface corresponding to the target virtual pond on its user interface.

[0324] Step 604: receiving a sharing request sent by the first client, wherein the sharing request includes an identifier of the second role corresponding to the first client.

[0325] In the present disclosure, a participant may trigger a sharing request by clicking a sharing button in the first client interface. After receiving the sharing request, the server may determine the identifier of the second role corresponding to the first client according to the sharing request.

[0326] Step 605: determine the target virtual pond corresponding to the identifier of the second character.

[0327] In the present disclosure, after determining the identifier of the second character, the server can determine the target virtual pond corresponding to the identifier of the second character according to the correspondence between the identifier of the second character and the number of the virtual pond.

[0328] Step 606: Return the sharing identifier corresponding to the target virtual pond to the first client.

[0329] Among them, the sharing mark can be a link corresponding to the target virtual pond, or a QR code image, etc. Any object can enter the target virtual pond by clicking the link or scanning the QR code. This solution does not impose any restrictions on this.

[0330] In the present disclosure, after determining the target virtual pond corresponding to the identifier of the second character, the server can use the mini-program link generation technology to generate a link corresponding to the target virtual pond.

[0331] In the present disclosure, any participant in the game can create a virtual fish pond, and then send a sharing identifier corresponding to the virtual fish pond created by the participant to the other participants to invite the other participants to enter the game. Thus, the participants can select roles to participate in the game independently, further improving the interactivity.

[0332] Figure 7 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a server.

[0333] like Figure 7 As shown, the method for processing the virtual resource includes:

[0334] Step 701, receiving a bait placing instruction sent by a first client, wherein the bait placing instruction includes the quantity of bait to be placed and the target placing point.

[0335] In the present disclosure, after the first client completes the creation of the virtual pond, the participant can start the fishing process. For example, the participant can select the bait placement point and the amount of bait in the user interface, and then trigger the bait placement instruction by triggering the "bait placement" control.

[0336] Step 702: updating the first interface content corresponding to the target virtual pond according to the target delivery point, wherein the first interface is a user interface corresponding to a character of the same type as the second character.

[0337] The target virtual pond may be a virtual pond created by the first client.

[0338] In the present disclosure, after receiving the bait-releasing instruction from the first client, the server can parse the bait-releasing instruction to determine the number of baits to be released and the target release point, and then compare the number of baits to be released with the number of baits available to the first client. When the number of baits to be released is less than or equal to the number of baits available to the first client, the release is determined to be successful. Then, in the first interface corresponding to the target virtual pond, a fish float mark can be added to the position corresponding to the target release point to indicate that the bait is released successfully. In addition, when the number of baits to be released is greater than the number of baits available to the first client, the release is determined to be a failure, and a release failure message is returned to the first client.

[0339] Step 703: Send the updated first interface content to the first client, so that the first client displays a fish float logo at a target placement point in the target virtual pond.

[0340] In the present disclosure, the server may send complete information of the first interface to the first client, or may send only partial information of changes in the first interface, and the present disclosure does not impose any limitation on this.

[0341] Step 704, receiving a bait lifting instruction sent by the first client, wherein the lifting instruction includes an identifier of the target bait and a first timestamp.

[0342] Step 705: Determine a second timestamp at which the target fishing bait corresponding to the identifier of the target fishing bait is locked by the first role corresponding to the second client.

[0343] Step 706: Determine the resource update mode corresponding to the first role according to the difference between the first timestamp and the second timestamp.

[0344] Step 707: Based on the resource update mode, update the resources of the second role corresponding to the first client.

[0345] In the present disclosure, the specific implementation process of step 704 to step 707 can be found in the detailed description of any embodiment of the present disclosure, and will not be repeated here.

[0346] Step 708: When the number of resources corresponding to the second role is less than the second threshold, a role update instruction is returned to the first client, wherein the update instruction includes the updated role corresponding to the first client and the corresponding first target scene content.

[0347] Among them, the scene refers to the environment, buildings, machinery, props, etc. in the game. The scenes corresponding to different characters may be different. For example, when the character entering the game is a fisherman, the corresponding scene may be the environment on the surface of the virtual pond. When the character entering the game is a fish, the corresponding scene may be the environment in the virtual pond water.

[0348] The resources may be available fishing baits, points, etc., which are not limited in the present disclosure.

[0349] The second threshold may be the resource limit required by the character. For example, assuming that the fisherman needs at least 20 available baits, the second threshold may be set to 20. When the number of available baits is less than 20, the fisherman may be transformed into a fish. When the number of available baits is greater than 20, the fish may be upgraded to a fisherman.

[0350] In the present disclosure, after completing the resource update of the second character, the server can compare the resources of the second character with the second threshold. If the number of resources corresponding to the second character is less than the second threshold, the second character is replaced, and based on the updated character, its corresponding first target scene content is determined.

[0351] In the present disclosure, the role corresponding to the first client can not only be selected by the user independently, but also can be updated according to the instructions of the server, thereby further enriching the scenarios of the phishing program and improving its interactivity.

[0352] Figure 8 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a server.

[0353] like Figure 8 As shown, the method for processing the virtual resource includes:

[0354] Step 801: receiving a fishing bait locking request sent by a second client, wherein the locking request includes an identifier of a target fishing bait and a second timestamp.

[0355] In the present disclosure, the first character in the second client can obtain virtual resources by locking the bait. For example, when the bait is successfully locked for a period of time and is not caught by the fisherman, it can be determined that the bait is eaten successfully and the corresponding virtual resources are obtained. When the locking time does not reach the corresponding threshold, or the bait is caught by the fisherman during the locking period, it can be determined that the bait is eaten unsuccessfully and the virtual resources cannot be obtained, or a certain amount of virtual resources can be deducted accordingly.

[0356] In the present disclosure, the second client can determine the state of any bait in the interface by monitoring the display interface. When any bait in the display interface of the second client is in a selected state, the timestamp at this moment can be obtained, and this timestamp can be used as the first timestamp. After that, a bait locking request can be generated based on the identifier of the selected bait and the first timestamp, and the bait locking request can be sent to the server. Therefore, after receiving the bait locking request instruction sent by the second client, the server can parse the bait locking request instruction to determine the identifier of the target bait and the second timestamp.

[0357] Step 802: Return a bait locking response to the second client, so that the second client displays a locking countdown.

[0358] In the present disclosure, after the identification of the target bait and the first timestamp, the server can start the locking countdown, add a countdown identifier near the target bait position corresponding to the identification of the target bait, and send the locking countdown identifier information to the second client.

[0359] Step 803: Return a target fishing bait locking instruction to the first client, so that the first client locks the target fishing bait.

[0360] In the present disclosure, after receiving the bait locking instruction, the first client will lock the target bait. In order to enable the participants on the first client side to obtain the information that the target bait is locked, in the present disclosure, the first client can indicate the locking state by changing the state of the relevant virtual props. For example, by increasing the water ripples at the position of the target bait, indicating that the bait is locked, or changing the sinking depth of the fish float, indicating that the bait is locked.

[0361] Step 804: When the preset locking time is reached, the number of successes corresponding to the first character is updated.

[0362] In the present disclosure, after determining the second timestamp, the server can count the locking time. When the locking time reaches the preset locking time, it can be confirmed that the first character has successfully eaten the bait, and the number of successes corresponding to the first character can be increased by one.

[0363] Step 805: When the number of successes after updating reaches a third threshold, a role update instruction is returned to the second client, wherein the update instruction includes the updated role corresponding to the second client and the corresponding second target scene content.

[0364] The third threshold value may be the minimum number of times a fish successfully eats bait in order to be upgraded to a fisherman, and the second target scene may be the water scene corresponding to the second character.

[0365] In the present disclosure, when the number of successful bait-eating corresponding to the second client reaches a certain number, the change of its corresponding role can be triggered. For example, assuming that the number of successful bait-eating is greater than 20, the role of "fish" can be upgraded to "fisherman". When the number of successful bait-eating corresponding to the second client is 20, the server can send a role update instruction to the second client, instructing the second client to update its corresponding role to "fisherman".

[0366] In the present disclosure, after updating the number of successful bait-eating times of the first character, the server can compare the number of successful bait-eating times with a third threshold. When the number of successful bait-eating times is greater than or equal to the third threshold, it can be determined that the updated character is a fisherman, and the target scene content corresponding to the fisherman is determined to be the second target scene content. Thereafter, based on the updated character corresponding to the second client and the corresponding second target scene content, a character update instruction can be generated and sent to the second client.

[0367] In the present disclosure, after receiving the bait locking request sent by the second client, the server can return a bait locking response to the second client, so that the second client displays a locking countdown, and return a target bait locking instruction to the first client, so that the first client locks the target bait. After that, when the number of successes corresponding to the first character reaches a third threshold, a role update instruction can be returned to the second client. Therefore, the fishing applet provided by the present disclosure can update the scene content corresponding to the current client in real time according to the operation of the current client and other participating clients on virtual resources, thereby achieving richer scenes and stronger interactivity.

[0368] Fig. 9 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a server.

[0369] like Fig. 9 As shown, the method for processing the virtual resource includes:

[0370] Step 901: receiving a fishing bait locking request sent by a second client, wherein the locking request includes an identifier of a target fishing bait and a second timestamp.

[0371] Step 902: Return a bait locking response to the second client, so that the second client displays a locking countdown.

[0372] Step 903: Return a target fishing bait locking instruction to the first client, so that the first client locks the target fishing bait.

[0373] Step 904: When the preset locking time is reached, the number of successes corresponding to the second character is updated.

[0374] In the present disclosure, the specific implementation process of step 901 to step 904 can refer to the detailed description of any embodiment in the present disclosure, which will not be repeated here.

[0375] Step 905: Update the preset lock duration corresponding to the first character according to the updated success number.

[0376] In the present disclosure, when the first character eats the bait successfully more times, the preset lock time length corresponding to the first character can be set shorter. For example, when the first character eats the bait successfully 5 times, the preset lock time length can be 5 seconds, and when the first character eats the bait successfully 10 times, the preset lock time length can be 2.5 seconds.

[0377] In the present disclosure, after updating the number of successful bait-eating times of the first character, the server can compare the number of successful bait-eating times with the number of successful bait-eating times corresponding to the preset update lock time period. When the number of successful bait-eating times is greater than or equal to the number of successful bait-eating times corresponding to the preset update lock time period, the preset lock time period corresponding to the first character can be set to the corresponding time period.

[0378] In the present disclosure, after receiving the bait locking request sent by the second client, the server can respond to lock the bait, and when the preset locking time is reached, the number of successes corresponding to the second role is updated, and then the preset locking time corresponding to the first role can be updated according to the updated number of successes. Therefore, the fishing applet provided by the present disclosure can update the virtual resources corresponding to the current client in real time according to the operations of the current client and other participating clients on the virtual resources, realizing multi-role participation, richer scenes, and stronger interactivity.

[0379] Fig.10 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a server.

[0380] like Fig.10 As shown, the method for processing the virtual resource includes:

[0381] Step 1001: receiving a virtual pond joining request sent by a second client, wherein the joining request includes an identifier of a target virtual pond.

[0382] In the present disclosure, the second client may trigger a join request by clicking on a link shared by the first client.

[0383] In the present disclosure, the program can be opened by clicking on the connection request shared by the first client. After that, the second client can determine the identifier of the target virtual pond through this link. Then, when the second client detects that the confirmation button in the interface is clicked, it can generate a virtual pond joining request based on the identifier of the target virtual pond and send this request to the server.

[0384] In the present disclosure, after receiving the virtual pond joining request sent by the second client, the server may parse the virtual pond joining request to determine the identifier of the target virtual pond.

[0385] Step 1002: Determine the current panoramic content of the target virtual pond corresponding to the identifier of the target virtual pond.

[0386] In the present disclosure, after determining the identifier of the target virtual pond, the server may compare the identifier of the target virtual pond with the identifiers of all created virtual ponds, thereby determining the target virtual pond and obtaining the current panoramic content of the target virtual pond.

[0387] Step 1003: Return the panoramic content to the second client.

[0388] In the present disclosure, after the service terminal confirms the panoramic content of the target virtual pond, it can package all the information of the panoramic content and send it to the second client, or it can divide the panoramic content into blocks and then send each block of content to the second client separately.

[0389] Step 1004: Receive a role selection instruction sent by the second client, wherein the selection instruction includes an identifier of the first role.

[0390] In the present disclosure, the second client can determine the identification of the first character by monitoring the display interface, and then can generate a role selection instruction based on the identification of the first character and send the instruction to the server. Thus, after receiving the role selection instruction sent by the second client, the server can parse the role selection instruction to determine the identification of the first character.

[0391] Step 1005: Determine the target scene content to be returned to the second client according to the type to which the identifier of the first character belongs.

[0392] In the present disclosure, after determining the identifier of the first character, the server can determine the type of the identifier of the first character based on the identifier of the first character, and then determine the target scene content corresponding to the first character based on the type of the identifier of the first character.

[0393] Step 1006: Return the target scene content to the second client.

[0394] In the present disclosure, after determining the content of the target scene, the server may package all the information of the target scene and send it to the second client, or may send the changed local information of the target scene to the second client.

[0395] In the present disclosure, the role corresponding to the second client can be selected by the user independently, thereby further enriching the scenarios of the phishing program and improving its interactivity.

[0396] Fig.11 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a second client.

[0397] like Fig.11 As shown, the method for processing the virtual resource includes:

[0398] Step 1101, when it is detected that any bait is selected in the display interface of the second client, a bait locking request is sent to the server, wherein the locking request includes an identifier of any bait and a currently corresponding first timestamp.

[0399] Among them, the bait lock can indicate that a "fish" is eating the bait, that is, the participant as the "fish" selects the bait through operation. The first timestamp can be the time when the bait is selected. The bait identifier can be the bait number, or the location of the bait, or any other information that can be used to uniquely identify the bait, and this solution does not limit this.

[0400] In the present disclosure, the first character in the second client can obtain virtual resources by locking the bait. For example, when the bait is successfully locked for a period of time and is not caught by the fisherman, it can be determined that the bait is eaten successfully and the corresponding virtual resources are obtained. When the locking time does not reach the corresponding threshold, or the bait is caught by the fisherman during the locking period, it can be determined that the bait is eaten unsuccessfully and the virtual resources cannot be obtained, or a certain amount of virtual resources can be deducted accordingly.

[0401] In the present disclosure, the second client can determine the status of any bait in the display interface by monitoring the display interface. When any bait in the display interface of the second client is in a selected state, the timestamp at that moment can be obtained, and this timestamp can be used as the first timestamp. Afterwards, a bait locking request can be generated based on the identifier of the selected bait and the first timestamp, and the bait locking request can be sent to the server.

[0402] Step 1102, receiving a bait locking response returned by the server.

[0403] In the present disclosure, after the target bait is identified and the first timestamp is received, the server can start the locking countdown, add a countdown mark near the target bait position corresponding to the target bait identification, and send the locking countdown mark information to the second client. Thus, after receiving the bait locking response returned by the server, the second client can obtain the locking countdown mark.

[0404] Step 1103: Display the lock countdown on the second client.

[0405] In the present disclosure, in the second client interface, after any bait is locked, a locking countdown can be displayed on the second client. In addition, after the countdown ends, the locking countdown can be removed.

[0406] In the present disclosure, the second client can send a bait lock request to the server when it detects that any bait in the display interface of the second client is in a selected state, and then receive a bait lock response returned by the server, and display a lock countdown on the second client. Therefore, the fishing applet provided by the present disclosure can update the scene content corresponding to the current client in real time according to the operation of the current client and other participating clients on virtual resources, thereby achieving richer scenes and stronger interactivity.

[0407] Fig.12 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a second client.

[0408] like Fig.12 As shown, the method for processing the virtual resource includes:

[0409] Step 1201: Send a virtual pond joining request to a server, wherein the joining request includes an identifier of a target virtual pond.

[0410] In the present disclosure, the program can be opened by clicking on the link shared by other participants. After that, the second client can determine the identifier of the target virtual pond through this link. Then, when the second client detects that the confirmation button in the interface is clicked, it can generate a virtual pond joining request based on the identifier of the target virtual pond and send this request to the server.

[0411] Step 1202: Receive the panoramic content of the target virtual pond corresponding to the identifier of the target virtual pond returned by the server.

[0412] In the present disclosure, after receiving the virtual pond joining request from the second client, the server can determine the identifier of the target virtual pond according to the virtual pond joining request, and then send the panoramic content of the virtual pond corresponding to the identifier of the target virtual pond to the second client.

[0413] In the present disclosure, after the second client receives the panoramic content of the target virtual pond corresponding to the identifier of the target virtual pond returned by the server, the display interface of the second client can be updated according to the panoramic content.

[0414] Step 1203: Send a role selection instruction to the server, wherein the selection instruction includes an identifier of the first role.

[0415] The first character may be any character that initiates the game. For example, the second character may be a "fisherman" or any type of "fish", etc. In the present disclosure, the first character is a "fish" as an example for illustration.

[0416] Optionally, the identifier of the first role may be the name of a "fisherman" or the type of "fish", etc., and this solution does not impose any limitation on this.

[0417] In the present disclosure, the second client can determine the identifier of the first character by monitoring the display interface, and then generate a role selection instruction based on the identifier of the first character, and send the instruction to the server.

[0418] Step 1204: Receive a scene content update instruction sent by the server, wherein the update instruction is generated by the server based on the type to which the identifier of the first character belongs.

[0419] Among them, the scene refers to the environment, buildings, machinery, props, etc. in the game. The scenes corresponding to different characters may be different. For example, when the character entering the game is a fisherman, the corresponding scene may be the environment on the surface of the virtual pond. When the character entering the game is a fish, the corresponding scene may be the environment in the virtual pond water.

[0420] In the present disclosure, after determining the identifier of the first character, the server can determine the corresponding scene content according to the type of the identifier of the first character, and generate a scene content update instruction. Thus, after receiving the scene content update instruction sent by the server, the second client can parse the scene content update instruction to determine the scene content to be updated.

[0421] Step 1205: Update the scene content displayed by the second client according to the update instruction.

[0422] In the present disclosure, after determining the scene content to be updated, the second client can change the relevant page elements in the display interface according to the scene content to be updated, so that the second client interface displays the scene content corresponding to the updated character.

[0423] In the present disclosure, any participant in the game can send a role selection instruction to the server to select a role to enter the game. Thus, the participant can independently select a role to participate in the game, further improving interactivity.

[0424] Fig.13 A flowchart of a method for processing virtual resources provided in an embodiment of the present application, the method being executed by a second client.

[0425] like Fig.13 As shown, the method for processing the virtual resource includes:

[0426] Step 1301, when it is detected that any bait is selected in the display interface of the second client, a bait locking request is sent to the server, wherein the locking request includes an identifier of any bait and a currently corresponding first timestamp.

[0427] Step 1302, receiving a bait locking response returned by the server.

[0428] Step 1303: Display the lock countdown on the second client.

[0429] In the present disclosure, the specific implementation process of steps 1301 to 1303 can be found in the detailed description of any embodiment in the present disclosure, and will not be repeated here.

[0430] Step 1304: Receive a role update instruction sent by the server, wherein the update instruction includes an updated role corresponding to the second client and the corresponding first target scene content.

[0431] Among them, the first target scene may be an underwater scene corresponding to the first character.

[0432] In the present disclosure, when the number of successful bait-eating corresponding to the second client reaches a certain number, the change of its corresponding role can be triggered. For example, assuming that the number of successful bait-eating is greater than 20, the role of "fish" can be upgraded to "fisherman". When the number of successful bait-eating corresponding to the second client is 20, the server can send a role update instruction to the second client, instructing the second client to update its corresponding role to "fisherman".

[0433] Step 1305, displaying the updated character and the first target scene content.

[0434] In the present disclosure, the second client can parse the character update instruction, determine the updated character and the corresponding target scene content, and then update the character and the corresponding scene of the second client by changing the page elements in the interface of the second client according to the corresponding target scene content.

[0435] In addition, when the number of baits available for use by the second client reaches a certain number, the server can send a role update inquiry message to the second client, and the participants can determine whether to update the role. After receiving the inquiry message, the second client can return a role update confirmation message to the server.

[0436] Optionally, after receiving the role update inquiry message sent by the server, the second client can obtain the candidate role according to the role update inquiry message, and then obtain the target role by monitoring the display interface, generate a role update confirmation message based on the target role, and send this confirmation information to the server. After receiving the returned role update confirmation message, the server can determine the second target scene content corresponding to the target role according to the target role, and send this second target scene content to the second client. After the second client receives the second target scene content corresponding to the target role returned by the server, it can update the page elements in the current interface based on the second target scene content.

[0437] In the present disclosure, the role corresponding to the second client can not only be selected by the user independently, but also can be updated according to the instructions of the server, thereby further enriching the scenarios of the phishing program and improving its interactivity.

[0438] Fig.14 A schematic diagram of the structure of a virtual resource processing device provided in an embodiment of the present application.

[0439] like Fig.14 As shown, the virtual resource processing device 1400 includes:

[0440] The sending module 1401 is used to send a bait lifting instruction to the server, wherein the lifting instruction includes an identifier of the target bait and a first timestamp;

[0441] A receiving module 1402 is used to receive an update mode of the number of baits returned by the server, wherein the update mode is determined by the server according to the identifier of the target bait, the first timestamp and the operation data of the target bait by other participants;

[0442] The updating module 1403 is used to update the number of baits in the display interface according to the updating mode.

[0443] In a possible implementation of the embodiment of the present disclosure, the receiving module 1402 is further configured to:

[0444] receiving a target bait locking instruction sent by a server, wherein the locking instruction includes an identifier of the target bait;

[0445] Based on the above embodiment, the device further includes:

[0446] The locking module is used to lock the target bait.

[0447] In a possible implementation of the embodiment of the present disclosure, the locking module is specifically used to:

[0448] Lower the displayed height of the fish float corresponding to the target bait by a preset distance;

[0449] Alternatively, water ripples are displayed on the water surface associated with the target bait.

[0450] In a possible implementation of the embodiment of the present disclosure, the locking instruction also includes the type of the first character of the locked target bait, wherein the locking module is specifically used to:

[0451] Determine the locking mode corresponding to the target bait according to the type of the first character;

[0452] Based on the locking mode, the target bait is locked.

[0453] In a possible implementation of the embodiment of the present disclosure, the sending module 1401 is further configured to:

[0454] Sending a bait release instruction to the server, wherein the bait release instruction includes the quantity of bait to be released and the target release point;

[0455] Based on the above embodiment, the device further includes:

[0456] The delivery module is used to display a fish float logo at a target delivery point in a target virtual pond in response to receiving a bait delivery success message returned by the server.

[0457] In a possible implementation of the embodiment of the present disclosure, the sending module 1401 is further configured to:

[0458] Sending a virtual pond creation request to the server, wherein the creation request includes an identifier of the second role corresponding to the first client;

[0459] The receiving module is also used to receive the target virtual pond and the number of available baits corresponding to the first client returned by the server.

[0460] In a possible implementation of the embodiment of the present disclosure, the sending module 1401 is further configured to:

[0461] Sending a sharing request to the server, wherein the sharing request includes an identifier of the second role corresponding to the first client;

[0462] The receiving module is also used to receive the sharing identifier returned by the server;

[0463] Based on the above embodiment, the device further includes:

[0464] The sharing module is used to send the analysis identifier to the target object.

[0465] In a possible implementation of the embodiment of the present disclosure, the receiving module 1402 is further configured to:

[0466] Receiving a role update instruction returned by the server, wherein the role update instruction includes an updated role corresponding to the first client and corresponding target scene content;

[0467] Based on the above embodiment, the device further includes:

[0468] The display module is used to display the updated character and target scene content in the first client according to the update instruction.

[0469] The above device embodiment corresponds to the first client side method embodiment and has the same technical effect as the method embodiment. For details, see the method embodiment. The device embodiment is obtained based on the method embodiment. For details, see the method embodiment part, which will not be repeated here.

[0470] In the present disclosure, the first client first sends a bait lifting instruction to the server, and then receives an update mode in which the server determines the number of baits based on the current instruction and the operation data of the other participants on the object, and then updates the number of baits in the display interface according to the update mode. Thus, by operating the virtual resources of each client in real time, the virtual resources corresponding to the client can be updated, realizing the participation of multiple roles in the fishing applet, making the fishing scene richer and more interactive.

[0471] Fig.15 A schematic diagram of the structure of a virtual resource processing device provided in an embodiment of the present application.

[0472] like Fig.15 As shown, the virtual resource processing device 1500 includes:

[0473] The receiving module 1501 is used to receive a bait lifting instruction sent by the first client, wherein the lifting instruction includes an identifier of the target bait and a first timestamp;

[0474] A determination module 1502 is used to determine a second timestamp at which the target fishing bait corresponding to the identifier of the target fishing bait is locked by the first role corresponding to the second client;

[0475] The determination module 1502 is further configured to determine a resource update mode corresponding to the first role according to a difference between the first timestamp and the second timestamp;

[0476] The updating module 1503 is used to update the resources of the second role corresponding to the first client based on the resource updating mode.

[0477] In a possible implementation manner provided in the embodiment of the present disclosure, the determining module 1502 is specifically configured to:

[0478] When the difference between the first timestamp and the second timestamp is greater than the first threshold, determining the resource update mode is to reduce the number of baits corresponding to the second character by one;

[0479] Alternatively, when the difference between the first timestamp and the second timestamp is less than or equal to the first threshold, the resource update mode is determined to update the number of baits of the second character according to the type of the first character.

[0480] In a possible implementation manner provided in the present disclosure, the following further includes:

[0481] The calculation module is used to increase the number of successes corresponding to the second role by one when the difference between the first timestamp and the second timestamp is less than or equal to a threshold.

[0482] In a possible implementation manner provided in the embodiment of the present disclosure, the receiving module 1501 is further configured to:

[0483] Receiving a bait placing instruction sent by the first client, wherein the bait placing instruction includes the quantity of bait to be placed and the target placing point;

[0484] The updating module 1503 is further used to update the first interface content corresponding to the target virtual pond according to the target delivery point, wherein the first interface is a user interface corresponding to a character of the same type as the second character;

[0485] Based on the above embodiment, the device further includes:

[0486] The sending module is used to send the updated first interface content to the first client, so that the first client displays the fish float logo at the target placement point in the target virtual pond.

[0487] In a possible implementation manner provided in the embodiment of the present disclosure, the receiving module 1501 is further configured to:

[0488] Receiving a virtual pond creation request sent by the first client, wherein the creation request includes an identifier of the second role;

[0489] The determination module 1502 is further configured to:

[0490] Determine the number of available baits corresponding to the second character according to the identifier of the second character;

[0491] Determine to return the target virtual pond and the quantity of available baits to the first client.

[0492] In a possible implementation manner provided in the embodiment of the present disclosure, the receiving module 1501 is further configured to:

[0493] Receiving a sharing request sent by a first client, wherein the sharing request includes an identifier of a second role corresponding to the first client;

[0494] The determination module 1502 is further used to determine a target virtual pond corresponding to the identifier of the second character;

[0495] The sending module is further used to return the sharing identifier corresponding to the target virtual pond to the first client.

[0496] In a possible implementation manner provided in an embodiment of the present disclosure, the sending module is further configured to:

[0497] When the number of resources corresponding to the second role is less than the second threshold, a role update instruction is returned to the first client, wherein the update instruction includes the updated role corresponding to the first client and the corresponding first target scene content.

[0498] In a possible implementation manner provided in an embodiment of the present disclosure, the sending module is further configured to:

[0499] Receiving a fishing bait locking request sent by a second client, wherein the locking request includes an identifier of the target fishing bait and a second timestamp;

[0500] Based on the above embodiment, the device further includes:

[0501] The locking module is used to return a target fishing bait locking instruction to the first client so that the first client locks the target fishing bait.

[0502] In a possible implementation manner provided in an embodiment of the present disclosure, the sending module is further configured to:

[0503] A fishing bait locking response is returned to the second client so that the second client displays a locking countdown.

[0504] In a possible implementation manner provided in the embodiment of the present disclosure, the updating module 1503 is further configured to:

[0505] When the preset lock time is reached, the number of successes corresponding to the first character is updated;

[0506] According to the number of successes after the update, the preset lock time duration corresponding to the first character is updated.

[0507] In a possible implementation manner provided in an embodiment of the present disclosure, the sending module is further configured to:

[0508] When the number of successes after the update reaches a third threshold, a role update instruction is returned to the second client, wherein the update instruction includes the updated role corresponding to the second client and the corresponding second target scene content.

[0509] In a possible implementation manner provided in an embodiment of the present disclosure, the sending module is further configured to:

[0510] When the number of successes after the update reaches a third threshold, returning a role update inquiry message to the second client, wherein the inquiry message includes a candidate role identifier;

[0511] The receiving module 1501 is further configured to receive a role update confirmation message returned by the second client, wherein the confirmation message includes a target role;

[0512] According to the target role, the third target scene content corresponding to the target role is returned to the second client.

[0513] In a possible implementation manner provided in the embodiment of the present disclosure, the receiving module 1501 is further configured to:

[0514] receiving a virtual pond joining request sent by a second client, wherein the joining request includes an identifier of a target virtual pond;

[0515] The determination module 1502 is further used to determine the current panoramic content of the target virtual pond corresponding to the identifier of the target virtual pond;

[0516] The sending module is also used to determine to return the panoramic content to the second client.

[0517] In a possible implementation manner provided in the embodiment of the present disclosure, the receiving module 1501 is further configured to:

[0518] Receiving a role selection instruction sent by the second client, wherein the selection instruction includes an identifier of the first role;

[0519] The determination module 1502 is further configured to determine the target scene content to be returned to the second client according to the type to which the identifier of the first role belongs;

[0520] The sending module is also used to return the target scene content to the second client.

[0521] The above device embodiment corresponds to the server side method embodiment and has the same technical effect as the method embodiment. For details, see the method embodiment. The device embodiment is obtained based on the method embodiment. For details, see the method embodiment part, which will not be repeated here.

[0522] In the present disclosure, the server first receives the bait lifting instruction sent by the first client, and then determines the second timestamp of the target bait corresponding to the identifier of the target bait being locked by the first character corresponding to the second client, and then determines the resource update mode corresponding to the first character according to the difference between the first timestamp and the second timestamp, and updates the resources of the second character corresponding to the first client based on the resource update mode. Thus, by operating the virtual resources according to each client, the virtual resources corresponding to the client can be updated in real time, realizing the participation of multiple characters in the fishing applet, making the fishing scene richer and more interactive.

[0523] Fig.16 A schematic diagram of the structure of a virtual resource processing device provided in an embodiment of the present application.

[0524] like Fig.16 As shown, the virtual resource processing device 1600 includes:

[0525] The sending module 1601 is used to send a bait locking request to the server when it is detected that any bait is in a selected state in the display interface of the second client, wherein the locking request includes an identifier of any bait and a currently corresponding first timestamp;

[0526] The receiving module 1602 is used to receive the bait locking response returned by the server;

[0527] The locking module 1603 is used to display the locking countdown on the second client.

[0528] In a possible implementation of the embodiment of the present disclosure, the receiving module 1602 is further configured to:

[0529] A role update instruction returned by the server is received, wherein the update instruction includes an updated role type corresponding to the second client.

[0530] In a possible implementation of the embodiment of the present disclosure, the sending module 1601 is further configured to:

[0531] Sending a role selection instruction to the server, wherein the selection instruction includes an identifier of the first role;

[0532] The receiving module 1602 is further configured to receive a scene content update instruction sent by the server, wherein the update instruction is generated by the server based on the type to which the identifier of the first role belongs;

[0533] Based on the above embodiment, the device further includes:

[0534] The updating module is used to update the scene content displayed by the second client according to the updating instruction.

[0535] In a possible implementation of the embodiment of the present disclosure, the sending module 1601 is further configured to:

[0536] Sending a virtual pond joining request to the server, wherein the joining request includes an identifier of a target virtual pond;

[0537] The receiving module 1602 is further configured to receive the panoramic content of the target virtual pond corresponding to the identifier of the target virtual pond returned by the server.

[0538] In a possible implementation of the embodiment of the present disclosure, the receiving module 1602 is further configured to:

[0539] Receiving a role update instruction sent by the server, wherein the update instruction includes an updated role corresponding to the second client and corresponding first target scene content;

[0540] Based on the above embodiment, the device further includes:

[0541] The display module is used to display the updated character and the first target scene content.

[0542] In a possible implementation of the embodiment of the present disclosure, the receiving module 1602 is further configured to:

[0543] Receiving a role update inquiry message sent by a server, wherein the inquiry message includes a candidate role;

[0544] Based on the above embodiment, the device further includes:

[0545] A confirmation module, used to return a role update confirmation message to the server, wherein the confirmation message includes the target role;

[0546] Receive the second target scene content corresponding to the target role returned by the server.

[0547] The above device embodiment corresponds to the second client side method embodiment and has the same technical effect as the method embodiment. For details, see the method embodiment. The device embodiment is obtained based on the method embodiment. For details, see the method embodiment part, which will not be repeated here.

[0548] In the present disclosure, the second client can send a bait lock request to the server when it detects that any bait in the display interface of the second client is in a selected state, and then receive a bait lock response returned by the server, and display a lock countdown on the second client. Therefore, the fishing applet provided by the present disclosure can update the scene content corresponding to the current client in real time according to the operation of the current client and other participating clients on virtual resources, thereby achieving richer scenes and stronger interactivity.

[0549] Fig.17 Schematic diagram of the structure of a computer device provided in an embodiment of the present application. Fig.17 As shown, the computer device may include:

[0550] A memory 1701 storing executable program codes;

[0551] a processor 1702 coupled to the memory 1701;

[0552] The processor 1702 calls the executable program code stored in the memory 1701 to execute the virtual resource processing method provided by any embodiment of the present application.

[0553] The computer device embodiment and the method embodiment are embodiments based on the same inventive concept, and the relevant parts can be referenced to each other. The computer device embodiment corresponds to the method embodiment and has the same technical effect as the method embodiment. For specific description, refer to the method embodiment.

[0554] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute a method for processing virtual resources provided by any embodiment of the present application.

[0555] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0556] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0557] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.

[0558] The storage medium embodiment and the above method embodiment are embodiments based on the same inventive concept, and the relevant parts can be referenced to each other. The above storage medium embodiment corresponds to the method embodiment and has the same technical effect as the method embodiment. For specific description, please refer to the method embodiment.

[0559] Those skilled in the art can understand that the drawing is only a schematic diagram of an embodiment, and the modules or processes in the drawing are not necessarily required to implement the present application.

[0560] Those skilled in the art can understand that the modules in the device in the embodiment can be distributed in the device in the embodiment according to the description of the embodiment, or can be changed accordingly and located in one or more devices different from the embodiment. The modules in the above embodiment can be combined into one module, or can be further divided into multiple sub-modules.

[0561] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for processing virtual resources, It is characterized in that include: Sending a bait lifting instruction to the server, wherein the lifting instruction includes an identifier of a target bait and a first timestamp, the first timestamp being the time when the participant corresponding to the first client triggers the bait lifting operation, and the identifier of the target bait being a bait number or a bait position; receiving an update mode of the number of baits returned by the server, wherein the update mode is determined by the server according to the identifier of the target bait, the first timestamp and the operation data of the target bait by the other participants, including: after the first client sends a bait lifting instruction, the server determines the target bait according to the identifier of the target bait, and determines the state of the target bait according to the current operation data of the other participants on the target bait and the first timestamp, the state of the target bait includes: the target bait is currently idle, the target bait is currently associated with a fish, or the target bait has been eaten by the fish, after determining the state of the target bait, the server determines an update mode according to the state of the target bait, the update mode includes: there is bait on the fishing rod, keep the number of baits, there is fish on the fishing rod, reduce the number of baits, there is no bait on the fishing rod, reduce the number of baits; According to the update mode, the number of baits in the display interface is updated.

2. The method according to claim 1, It is characterized in that Also includes: Receiving a target fishing bait locking instruction sent by the server, wherein the locking instruction includes an identifier of the target fishing bait; The target bait is locked.

3. The method according to claim 2, It is characterized in that The step of locking the target bait comprises: Lowering the display height of the fish float corresponding to the target fishing bait by a preset distance; Alternatively, water ripples are displayed on the water surface associated with the target fishing bait.

4. The method according to claim 2 or 3, It is characterized in that The locking instruction also includes the type of the first character of the target bait, and the locking of the target bait includes: Determining a locking mode corresponding to the target fishing bait according to the type of the first character; Based on the locking mode, the target fishing bait is locked.

5. The method according to claim 1, It is characterized in that The method further includes sending a bait lifting instruction to the server, wherein the lifting instruction includes an identifier of the target bait and a first timestamp, and further includes: Sending a bait placing instruction to the server, wherein the bait placing instruction includes the quantity of bait to be placed and the target placement point; In response to receiving the bait placement success message returned by the server, a fish float logo is displayed at a target placement point in the target virtual pond.

6. The method according to claim 5, It is characterized in that Also includes: Sending a virtual pond creation request to the server, wherein the creation request includes an identifier of the second role corresponding to the first client; Receive the target virtual pond returned by the server and the number of available baits corresponding to the first client.

7. The method according to claim 6, It is characterized in that Also includes: Sending a sharing request to the server, wherein the sharing request includes an identifier of the second role corresponding to the first client; Receive the sharing identifier returned by the server; The sharing identifier is sent to the target object.

8. The method according to any one of claims 1 to 7, It is characterized in that Also includes: Receiving a role update instruction returned by the server, wherein the role update instruction includes an updated role corresponding to the first client and corresponding target scene content; According to the update instruction, the updated character and the target scene content are displayed in the first client.

9. A method for processing virtual resources, It is characterized in that include: Receive a bait lifting instruction sent by a first client, wherein the lifting instruction includes an identifier of a target bait and a first timestamp, the first timestamp being the time when a participant corresponding to the first client triggers a bait lifting operation, and the identifier of the target bait being a bait number or a bait position; Determine a second timestamp at which the target fishing bait corresponding to the identifier of the target fishing bait is locked by the first role corresponding to the second client; Determining a resource update mode corresponding to the first role according to the difference between the first timestamp and the second timestamp, including: the server determines the state of the target bait according to the relationship between the second timestamp and the first timestamp of the target bait locked by the other participants, the state of the target bait including: the target bait is currently idle, the target bait is currently associated with a fish, or the target bait has been eaten by a fish, after determining the state of the target bait, the server determines an update mode according to the state of the target bait, the update mode including: there is bait on the fishing rod, keep the number of baits, there is fish on the fishing rod, reduce the number of baits, there is no bait on the fishing rod, reduce the number of baits; Based on the resource update mode, resources of the second role corresponding to the first client are updated.

10. The method according to claim 9, It is characterized in that The determining, according to the difference between the first timestamp and the second timestamp, a resource update mode corresponding to the first role includes: When the difference between the first timestamp and the second timestamp is greater than a first threshold, determining that the resource update mode is to reduce the number of baits corresponding to the second character by one; Alternatively, when the difference between the first timestamp and the second timestamp is less than or equal to the first threshold, the resource update mode is determined to be updating the number of fishing baits of the second character according to the type of the first character.

11. The method according to claim 10, It is characterized in that Also includes: When the difference between the first timestamp and the second timestamp is less than or equal to a threshold, the number of successes corresponding to the second role is increased by one.

12. The method according to claim 9, It is characterized in that Also includes: Receiving a bait placing instruction sent by the first client, wherein the bait placing instruction includes the quantity of bait to be placed and the target placement point; According to the target delivery point, updating the first interface content corresponding to the target virtual pond, wherein the first interface is a user interface corresponding to a character of the same type as the second character; The updated first interface content is sent to the first client, so that the first client displays a fish float logo at a target placement point in the target virtual pond.

13. The method according to claim 12, It is characterized in that Also includes: receiving a virtual pond creation request sent by the first client, wherein the creation request includes an identifier of the second role; Determining the number of available fishing baits corresponding to the second character according to the identifier of the second character; The target virtual pond and the available bait quantity are returned to the first client.

14. The method according to claim 13, It is characterized in that Also includes: receiving a sharing request sent by the first client, wherein the sharing request includes an identifier of a second role corresponding to the first client; determining a target virtual pond corresponding to the identifier of the second role; Returning a sharing identifier corresponding to the target virtual pond to the first client.

15. The method of claim 9, It is characterized in that After updating the resources of the second role corresponding to the first client based on the resource update mode, the method further includes: When the number of resources corresponding to the second role is less than a second threshold, a role update instruction is returned to the first client, wherein the update instruction includes an updated role corresponding to the first client and the corresponding first target scene content.

16. The method of claim 9, It is characterized in that Before determining the second timestamp that the target fishing bait corresponding to the identifier of the target fishing bait is locked by the first role corresponding to the second client, the method further includes: Receiving a fishing bait locking request sent by a second client, wherein the locking request includes an identifier of the target fishing bait and the second timestamp; A target fishing bait locking instruction is returned to the first client so that the first client locks the target fishing bait.

17. The method of claim 16, It is characterized in that After receiving the fishing bait locking request sent by the second client, wherein the locking request includes the identifier of the target fishing bait and the second timestamp, the method further includes: A fishing bait locking response is returned to the second client so that the second client displays a locking countdown.

18. The method of claim 16, It is characterized in that After receiving the fishing bait locking request sent by the second client, wherein the locking request includes the identifier of the target fishing bait and the second timestamp, the method further includes: When the preset lock time is reached, updating the number of successes corresponding to the first character; According to the number of successes after the update, updating the preset lock duration corresponding to the second role; Update the preset lock duration corresponding to the first role.

19. The method of claim 18, It is characterized in that After the number of successes corresponding to the first role is updated when the preset lock duration is reached, the method further includes: When the number of successes after the update reaches a third threshold, a role update instruction is returned to the second client, wherein the update instruction includes the updated role corresponding to the second client and the corresponding second target scene content.

20. The method of claim 18, It is characterized in that After the number of successes corresponding to the first role is updated when the preset lock duration is reached, the method further includes: When the number of successes after the update reaches a third threshold, returning a role update inquiry message to the second client, wherein the inquiry message includes a candidate role identifier; receiving a role update confirmation message returned by the second client, wherein the confirmation message includes a target role; According to the target role, a third target scene content corresponding to the target role is returned to the second client.

21. The method according to any one of claims 16 to 20, It is characterized in that Also includes: receiving a virtual pond joining request sent by the second client, wherein the joining request includes an identifier of a target virtual pond; Determine the current panoramic content of the target virtual pond corresponding to the identifier of the target virtual pond; The panoramic content is returned to the second client.

22. The method of claim 21, It is characterized in that Also includes: receiving a role selection instruction sent by the second client, wherein the selection instruction includes an identifier of the first role; Determining, according to the type to which the identifier of the first role belongs, target scene content to be returned to the second client; The target scene content is returned to the second client.

23. A method for processing virtual resources, It is characterized in that include: After receiving the update mode of the number of baits returned by the server and monitoring that any bait in the display interface of the second client is in a selected state, a bait locking request is sent to the server, wherein the locking request includes the identifier of any bait and the current corresponding first timestamp, the first timestamp is the time when the bait is selected, the identifier of the bait is the bait number, or the location of the bait, wherein the update mode is determined by the server according to the identifier of the target bait, the first timestamp and the operation data of the other participants on the target bait, and the first client sends the bait. After the instruction is raised, the server determines the target bait according to the target bait identifier, determines the state of the target bait according to the current operation data of the other participants on the target bait and the first timestamp, and the state of the target bait includes: the target bait is currently idle, the target bait is currently associated with a fish, or the target bait has been eaten by a fish. After determining the state of the target bait, the server determines an update mode according to the state of the target bait, and the update mode includes: there is bait on the fishing rod, keep the number of baits, there is fish on the fishing rod, reduce the number of baits, there is no bait on the fishing rod, reduce the number of baits; Receiving a bait locking response returned by the server; The lock countdown is displayed on the second client.

24. The method of claim 23, It is characterized in that In the case where any one of the fishing baits is detected to be in a selected state in the display interface of the second client, a fishing bait locking request is sent to the server, wherein the locking request includes an identifier of any one of the fishing baits and a currently corresponding first timestamp, and further includes: Receive a role update instruction returned by the server, wherein the update instruction includes an updated role type corresponding to the second client.

25. The method of claim 23, It is characterized in that Also includes: Sending a role selection instruction to the server, wherein the selection instruction includes an identifier of the first role; receiving a scene content update instruction sent by the server, wherein the update instruction is generated by the server based on the type to which the identifier of the first role belongs; According to the update instruction, the scene content displayed by the second client is updated.

26. The method of claim 25, It is characterized in that The sending of the role selection instruction to the server, wherein before the selection instruction includes the identifier of the first role, further comprising: Sending a virtual pond joining request to the server, wherein the joining request includes an identifier of a target virtual pond; Receive the panoramic content of the target virtual pond corresponding to the identifier of the target virtual pond returned by the server.

27. The method of claim 23, It is characterized in that Also includes: Receiving a role update instruction sent by the server, wherein the update instruction includes an updated role corresponding to the second client and corresponding first target scene content; The updated character and the first target scene content are displayed.

28. The method according to any one of claims 22 to 27, It is characterized in that Also includes: Receiving a role update inquiry message sent by the server, wherein the inquiry message includes candidate roles; Returning a role update confirmation message to the server, wherein the confirmation message includes the target role; Receive the second target scene content corresponding to the target character returned by the server.

29. A virtual resource processing device, It is characterized in that include: A sending module, used for sending a bait lifting instruction to a server, wherein the lifting instruction includes an identifier of a target bait and a first timestamp, the first timestamp is the time when the participant corresponding to the first client triggers the bait lifting operation, and the identifier of the target bait is a bait number or a bait position; a receiving module, for receiving an update mode of the number of baits returned by the server, wherein the update mode is determined by the server according to the identifier of the target bait, the first timestamp and the operation data of the target bait by other participants, including: after the first client sends a bait lifting instruction, the server determines the target bait according to the identifier of the target bait, and determines the state of the target bait according to the current operation data of the target bait by other participants and the first timestamp, the state of the target bait includes: the target bait is currently idle, the target bait is currently associated with a fish, or the target bait has been eaten by a fish; after determining the state of the target bait, the server determines the update mode according to the state of the target bait, the update mode includes: there is bait on the fishing rod, keep the number of baits, there is fish on the fishing rod, reduce the number of baits, there is no bait on the fishing rod, reduce the number of baits; The updating module is used to update the number of baits in the display interface according to the updating mode.

30. The device of claim 29, It is characterized in that The receiving module is further used for: Receiving a target fishing bait locking instruction sent by the server, wherein the locking instruction includes an identifier of the target fishing bait; The device also includes: The locking module is used to lock the target fishing bait.

31. A virtual resource processing device, It is characterized in that include: A receiving module, configured to receive a bait lifting instruction sent by a first client, wherein the lifting instruction includes an identifier of a target bait and a first timestamp, wherein the first timestamp is the time when a participant corresponding to the first client triggers a bait lifting operation, and the identifier of the target bait is a bait number or a bait position; A first determining module, configured to determine a second timestamp at which the target fishing bait corresponding to the identifier of the target fishing bait is locked by the first role corresponding to the second client; A second determination module is used to determine the resource update mode corresponding to the first role according to the difference between the first timestamp and the second timestamp, including that the server determines the state of the target bait according to the relationship between the second timestamp and the first timestamp of the target bait locked by the other participants, and the state of the target bait includes: the target bait is currently idle, the target bait is currently associated with a fish, or the target bait has been eaten by the fish. After determining the state of the target bait, the server determines the update mode according to the state of the target bait, and the update mode includes: there is bait on the fishing rod, keep the number of baits, there is fish on the fishing rod, reduce the number of baits, there is no bait on the fishing rod, and reduce the number of baits; An updating module is used to update the resources of the second role corresponding to the first client based on the resource updating mode.

32. The device of claim 31, It is characterized in that The second determining module is specifically used to: When the difference between the first timestamp and the second timestamp is greater than a first threshold, determining that the resource update mode is to reduce the number of baits corresponding to the second character by one; Alternatively, when the difference between the first timestamp and the second timestamp is less than or equal to the first threshold, the resource update mode is determined to be updating the number of fishing baits of the second character according to the type of the first character.

33. A virtual resource processing device, include: a sending module, for sending a bait locking request to the server after receiving an update mode of the number of baits returned by the server and when monitoring that any bait in the display interface of the second client is in a selected state, wherein the locking request includes an identifier of any bait and a currently corresponding first timestamp, wherein the first timestamp is the time when the bait is selected, the identifier of the bait is the bait number, or the position of the bait, the first timestamp is the time when the bait is selected, the identifier of the bait is the bait number, or the position of the bait, any information that can be used to uniquely identify the bait, wherein the update mode is that the server sends a bait locking request based on the identifier of the target bait, the first timestamp and the position of the bait The target bait is determined by the operation data of the remaining participants on the target bait. After the first client sends the bait lifting instruction, the server determines the target bait according to the target bait identifier, and determines the state of the target bait according to the current operation data of the remaining participants on the target bait and the first timestamp. The state of the target bait includes: the target bait is currently idle, the target bait is currently associated with a fish, or the target bait has been eaten by a fish. After determining the state of the target bait, the server determines an update mode according to the state of the target bait. The update mode includes: there is bait on the fishing rod, keep the number of baits, there is fish on the fishing rod, reduce the number of baits, there is no bait on the fishing rod, and reduce the number of baits; A receiving module, used for receiving a bait locking response returned by the server; The locking module is used to display the locking countdown on the second client.

34. The device of claim 33, It is characterized in that The receiving module is further used for: Receive a role update instruction returned by the server, wherein the update instruction includes an updated role type corresponding to the second client.

35. A computer device, It is characterized in that The computer device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the virtual resource processing method as described in any one of claims 1-28.

36. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method for processing virtual resources as described in any one of claims 1-28 is implemented.