Data processing method and device based on electronic resource package and readable storage medium
By generating a new resource package when the electronic resource package distribution time reaches a threshold, the problem of unused resource data is solved, resource utilization is improved, and interactivity is enhanced.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2021-12-31
- Publication Date
- 2026-05-19
AI Technical Summary
Unclaimed resource data in existing electronic resource packages is directly returned to the sender's account, resulting in low utilization of resource data.
When the electronic resource package distribution time reaches the threshold, a notification message is displayed through the application client, allowing the sender to generate a new electronic resource package to utilize the remaining resource data, and the collection details and the generation of the new resource package are displayed in the group display interface.
It improved the utilization rate of remaining resource data, enhanced the interactivity between business objects, and made the distribution of electronic resource packages more engaging.
Smart Images

Figure CN116414281B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, and in particular to a data processing method, apparatus, and readable storage medium based on electronic resource packages. Background Technology
[0002] Electronic resource packages (such as e-red packets) are intangible packages distributed online. The sender of an electronic resource package can send the resource data contained within it to the recipient's account without face-to-face interaction. Sending and receiving electronic resource packages can foster social relationships between people.
[0003] For existing electronic resource packages, if the resource data they carry is not claimed by the recipient within a certain period of time, the unclaimed resource data (i.e., the remaining resource data) will be directly returned to the sender's account, resulting in the recipient wasting the remaining resource data and thus reducing the utilization rate of the remaining resource data. Summary of the Invention
[0004] This application provides a data processing method, apparatus, and readable storage medium based on electronic resource packages, which can improve the utilization rate of remaining resource data.
[0005] One embodiment of this application provides a data processing method based on an electronic resource package, which is executed by an application client and includes:
[0006] When the distribution time of the first electronic resource package issued by the first object in the business object group reaches the distribution time threshold, a business notification message related to the remaining resource data in the first electronic resource package is displayed in the message notification interface of the first object.
[0007] In response to a triggered operation for a business notification message, the first electronic resource package is displayed in the group display interface corresponding to the business object group;
[0008] In response to the trigger operation for the first electronic resource package, output the claim details page corresponding to the first electronic resource package, and display the remaining resource data on the claim details page;
[0009] In response to a triggered operation on the remaining resource data, a second electronic resource package is displayed in the group display interface corresponding to the business object group; the remaining resource data contained in the second electronic resource package originates from the first electronic resource package.
[0010] One embodiment of this application provides a data processing method based on an electronic resource package, which is executed by a business server and includes:
[0011] When the distribution duration of the first electronic resource package issued by the first object in the business object group reaches the distribution time threshold, a business notification message associated with the remaining resource data in the first electronic resource package is sent to the application client associated with the first object, so that the application client displays the business notification message in the message notification interface of the first object; the application client is used to respond to the trigger operation of the business notification message and display the first electronic resource package in the group display interface corresponding to the business object group;
[0012] When a request for details is received from an application client based on a trigger operation on the first electronic resource package, the receipt details record associated with the second object in the business object group is returned to the application client. This allows the application client to display the receipt details record on the receipt details page corresponding to the first electronic resource package, and also displays the remaining resource data on the receipt details page. The second object refers to the business object in the business object group that performed the receipt operation on the first electronic resource package.
[0013] The system receives a resource package generation instruction generated by the application client based on a trigger operation targeting the remaining resource data. It then generates a second electronic resource package according to the resource package generation instruction and sends the second electronic resource package to the business object group so that the application client can display the second electronic resource package in the group display interface. The remaining resource data contained in the second electronic resource package originates from the first electronic resource package.
[0014] One embodiment of this application provides a data processing apparatus based on an electronic resource package, including:
[0015] The first display module is used to display a business notification message associated with the remaining resource data in the first electronic resource package in the message notification interface of the first object when the distribution time of the first electronic resource package distributed by the first object in the business object group reaches the distribution time threshold.
[0016] The second display module is used to display the first electronic resource package in the group display interface corresponding to the business object group in response to the triggered operation of the business notification message.
[0017] The third display module is used to respond to the trigger operation for the first electronic resource package, output the redemption details page corresponding to the first electronic resource package, and display the remaining resource data on the redemption details page;
[0018] The fourth display module is used to respond to the triggered operation for the remaining resource data and display the second electronic resource package in the group display interface corresponding to the business object group; the remaining resource data contained in the second electronic resource package comes from the first electronic resource package.
[0019] The first electronic resource package carries N resource data, where N is the number of the first electronic resource package distributed.
[0020] The aforementioned first display module includes:
[0021] The duration recording unit is used to record the distribution duration of the first electronic resource package when it is displayed in the business object group where the first object is located;
[0022] The text display unit is used to display the receipt text information to the first object in the group display interface corresponding to the business object group during the distribution period; the receipt text information is generated by the second object in the business object group after performing the receipt operation on the first electronic resource package;
[0023] The quantity acquisition unit is used to acquire the number of collection text messages associated with the first electronic resource package when the distribution time reaches the distribution time threshold of the first electronic resource package; the number of collection text messages is M, where M is a positive integer less than N;
[0024] The message display unit is used to, when selecting the resource data indicated by M collection text messages from N resource data as the collection resource data, select the resource data other than the collection resource data from the N resource data as the remaining resource data of the first electronic resource package, and display the business notification message associated with the remaining resource data in the message notification interface of the first object.
[0025] The second display module mentioned above includes:
[0026] The first output unit is used to respond to the triggered operation of the business notification message and output the group display interface corresponding to the business object group;
[0027] The area display unit is used to display the display area corresponding to the distribution timestamp of the first electronic resource package in the group display interface, and to display the first electronic resource package in the display area.
[0028] The aforementioned third display module includes:
[0029] The second output unit is used to respond to the trigger operation for the first electronic resource package and output the collection details page corresponding to the first electronic resource package. The collection details page is used to display the collection details records associated with M second objects in the business object group. Each collection details record includes the collection resource data corresponding to a second object. The collection details record is obtained by the business server based on the atomic subtraction operation on the distribution quantity of the first electronic resource package and the resource quantity accumulation operation on the collection resource data corresponding to each second object. The atomic subtraction operation is used to handle conflicts in the cache database for the response objects participating in responding to the first electronic resource package. The second object is determined by the business server from multiple response objects with the same resource identifier.
[0030] The third output unit is used to output a remaining resource display page that is independent of the claim details page. The remaining resource display page displays the remaining resource data and the resource package status of the first electronic resource package. The resource package status of the first electronic resource package is determined by the distribution time threshold.
[0031] The aforementioned fourth display module includes:
[0032] The fourth output unit is used to respond to the trigger operation of the resource loop control in the remaining resource display page and output the resource configuration page indicated by the resource loop control;
[0033] The resource package display unit is used to respond to configuration operations on the resource configuration page and display a second electronic resource package that matches the configuration operation in the group display interface corresponding to the business object group.
[0034] The aforementioned resource package display unit includes:
[0035] The first configuration subunit is used to respond to the default configuration operation for the resource configuration page, display the default distribution quantity in the first text box of the resource configuration page, and display the total resource data in the second text box of the resource configuration page; the default distribution quantity is determined based on the activity level of the business objects in the business object group and the distribution quantity of the first electronic resource package;
[0036] The first display subunit is used to respond to the triggering operation of the distribution confirmation control on the resource configuration page. When the total resource data equals the remaining resource data, the second electronic resource package containing the remaining resource data is displayed in the group display interface corresponding to the business object group. The distribution quantity of the second electronic resource package is the default distribution quantity, and the distribution quantity of the second electronic resource package is less than or equal to the distribution quantity of the first electronic resource package.
[0037] The resource configuration page includes a first text box for displaying the default distribution quantity and a second text box for displaying the remaining resource data; the default distribution quantity is determined based on the activity level of business objects in the business object group and the distribution quantity of the first electronic resource package.
[0038] The aforementioned resource package display unit includes:
[0039] The second configuration subunit is used to respond to the first update configuration operation for the resource configuration page, display the first updated distribution quantity obtained after updating the default distribution quantity in the first text box, and display the total resource data obtained after updating the remaining resource data in the second text box.
[0040] The second display subunit is used to respond to the triggering operation of the distribution confirmation control in the resource configuration page. When the total resource data is greater than the remaining resource data, it outputs a resource transfer page independent of the resource configuration page and displays the difference resource data in the resource transfer page. The difference resource data is the difference between the total resource data and the remaining resource data.
[0041] The third display subunit is used to respond to the transfer operation for the resource transfer page and display a second electronic resource package containing differential resource data and remaining resource data in the group display interface corresponding to the business object group; the distribution quantity of the second electronic resource package is the first update distribution quantity, and the distribution quantity of the second electronic resource package is less than or equal to the distribution quantity of the first electronic resource package.
[0042] The resource configuration page includes a first text box for displaying the default distribution quantity and a second text box for displaying the remaining resource data; the default distribution quantity is determined based on the activity level of business objects in the business object group and the distribution quantity of the first electronic resource package.
[0043] The aforementioned resource package display unit includes:
[0044] The third configuration subunit is used to respond to the second update configuration operation for the resource configuration page, display the second updated distribution quantity obtained after updating the default distribution quantity in the first text box, and display the total resource data obtained after updating the remaining resource data in the second text box;
[0045] The fourth display subunit is used to respond to the trigger operation of the distribution confirmation control on the resource configuration page. When the total resource data is less than the remaining resource data, the second electronic resource package containing the total resource data is displayed in the group display interface corresponding to the business object group. The distribution quantity of the second electronic resource package is the second updated distribution quantity, and the distribution quantity of the second electronic resource package is less than or equal to the distribution quantity of the first electronic resource package. The total resource data comes from the remaining resource data.
[0046] The device also includes:
[0047] The first return module is used to return the remaining resource data, excluding the total resource data, to the object account of the first object; the object account of the first object is the account used to send the first electronic resource package.
[0048] The resource configuration page also includes a first resource return control corresponding to the issuance confirmation control; the device also includes:
[0049] The second rollback module is used to respond to the trigger operation of the first resource rollback control, roll back the remaining resource data to the object account of the first object, and display the first rollback notification message associated with the remaining resource data in the message notification interface; and to respond to the trigger operation of the first rollback notification message, display the first rollback details information.
[0050] The device also includes:
[0051] The exception notification module is used to display exception notification messages on the resource configuration page when the total resource data is less than the resource data threshold.
[0052] The remaining resource display page also includes a second resource return control corresponding to the resource loop control; the device also includes:
[0053] The third rollback module is used to respond to the trigger operation of the second resource rollback control, roll back the remaining resource data to the object account of the first object, and display the second rollback notification message associated with the remaining resource data in the message notification interface; and to respond to the trigger operation of the second rollback notification message, display the second rollback details information.
[0054] The device also includes:
[0055] The active quantity determination module is used to obtain the activity level of each business object in the business object group, and to select business objects whose activity level reaches the activity level threshold as target objects. If the number of target objects is less than or equal to the number of distributions of the first electronic resource package, the number of target objects is used as the default distribution quantity. If the number of target objects is greater than the number of distributions of the first electronic resource package, the number of distributions of the first electronic resource package is used as the default distribution quantity.
[0056] The activity level of each business object includes the login duration and the number of session message records generated within that login duration; the device also includes:
[0057] The activity level determination module is used to determine the activity level of each business object based on the login duration and the number of session message records generated within the login duration. The activity levels include a first activity level, a second activity level, a third activity level, and a fourth activity level. The first activity level refers to the activity level when the login duration reaches the first login time threshold. The second activity level refers to the activity level when the login duration reaches the second login time threshold. The third activity level refers to the activity level when the login duration reaches the third login time threshold and the number of session message records generated on the application client within the login duration reaches the first session number threshold. The fourth activity level refers to the activity level when the login duration reaches the fourth login time threshold and the number of session message records sent in the business object group within the login duration reaches the second session number threshold. The fourth activity level is the activity level when the activity level reaches the activity level threshold.
[0058] One embodiment of this application provides a data processing apparatus based on an electronic resource package, including:
[0059] The message notification module is used to send a business notification message associated with the remaining resource data in the first electronic resource package to the application client associated with the first object when the distribution time of the first electronic resource package distributed by the first object in the business object group reaches the distribution time threshold, so that the application client displays the business notification message in the message notification interface of the first object; the application client is used to respond to the trigger operation of the business notification message and display the first electronic resource package in the group display interface corresponding to the business object group.
[0060] The details retrieval module is used to return the collection details record associated with the second object in the business object group to the application client when it receives a details retrieval request generated by the application client based on the trigger operation for the first electronic resource package. This allows the application client to display the collection details record on the collection details page corresponding to the first electronic resource package and to display the remaining resource data on the collection details page. The second object refers to the business object in the business object group that performed the collection operation on the first electronic resource package.
[0061] The resource package generation module is used to receive the resource package generation instruction generated by the application client based on the trigger operation for the remaining resource data, generate a second electronic resource package according to the resource package generation instruction, and send the second electronic resource package to the business object group so that the application client can display the second electronic resource package in the group display interface; the remaining resource data contained in the second electronic resource package comes from the first electronic resource package.
[0062] The device also includes:
[0063] The first storage module is used to store the resource package distribution record of the first electronic resource package in the business database when the first object distributes the first electronic resource package in the business object group, and to configure the distribution time threshold for the first electronic resource package.
[0064] The second storage module is used to add resource response records to the cache database associated with the first electronic resource package; the resource response record is used to record the number of response objects in the business object group that participated in responding to the first electronic resource package; the number of response objects is K, where K is a positive integer;
[0065] The conflict resolution module is used to determine the second object among multiple response objects with the same resource identifier among the K response objects when K response objects perform triggering operations on the first electronic resource package by performing an atomic decrement operation on the distribution quantity of the first electronic resource package in the cache database.
[0066] The resource allocation module is used to allocate resource data carried by the first electronic resource package to the second object in the business database based on the resource allocation strategy, and to perform a resource quantity accumulation operation on the resource data allocated to the second object.
[0067] The first electronic resource package carries N resource data items, where N is the number of first electronic resource packages distributed; the number of second objects is M, where M is a positive integer less than N; one resource data item corresponds to one second object; the N resource data items include resource data i and resource data j, where i and j are both positive integers less than or equal to N; the M second objects include business object p and business object q, where p and q are both positive integers less than or equal to M; resource data i corresponds to business object p, and resource data j corresponds to business object q.
[0068] The aforementioned resource allocation module includes:
[0069] The first allocation unit is used to take the resource data carried by the first electronic resource package as the target resource data. When the target resource data is greater than the resource data threshold, it obtains N minimum resource data from the target resource data based on the first allocation strategy. The sum of the N minimum resource data is equal to the resource data threshold.
[0070] The second allocation unit is used to take the resource data other than the N lowest resource data in the target resource data as the resource data to be allocated, and based on the second allocation strategy, sequentially obtain the first random resource data and the second random resource data from the resource data to be allocated in the multi-round allocation phase.
[0071] The third allocation unit is used to, when the allocation of the resource data to be allocated is completed, take the first random resource data and the lowest resource data obtained as resource data i, take the second random resource data and the lowest resource data obtained as resource data j; allocate resource data i to business object p, and allocate resource data j to business object q.
[0072] One embodiment of this application provides a computer device, including: a processor and a memory;
[0073] The processor is connected to a memory, which stores a computer program. When the computer program is executed by the processor, it causes the computer device to perform the method provided in the embodiments of this application.
[0074] One aspect of this application provides a computer-readable storage medium storing a computer program adapted to be loaded and executed by a processor, so that a computer device having the processor performs the method provided in this application.
[0075] One embodiment of this application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method provided in this application embodiment.
[0076] In this embodiment, when the distribution time of the first electronic resource package issued by the first object in the business object group reaches the distribution time threshold, if there is still unclaimed remaining resource data in the first electronic resource package, the application client can display a corresponding business notification message in the message notification interface of the first object to remind the sender of the first electronic resource package (i.e., the first object) to take appropriate action. Furthermore, in response to the triggering operation of the business notification message, the application client can automatically locate the distribution position of the first electronic resource package, that is, display the first electronic resource package in the group display interface corresponding to the business object group. Then, in response to the triggering operation of the first electronic resource package, the application client can output the claiming details page corresponding to the first electronic resource package, and display the aforementioned remaining resource data on the claiming details page. Furthermore, in response to the triggering operation of the remaining resource data, the application client can display a second electronic resource package containing the remaining resource data in the group display interface. Therefore, the first object can use the unclaimed remaining resource data in the first electronic resource package to generate a new second electronic resource package and distribute it to the business object group. Compared with directly returning the remaining resource data to the first object's object account, the utilization rate of the remaining resource data can be improved because the remaining resource data is reused. In addition, business objects in the business object group can also interact again through the newly generated second electronic resource package, thereby improving the interactivity between business objects and enriching the distribution method of electronic resource packages. Attached Figure Description
[0077] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0078] Figure 1 This is a schematic diagram of a network architecture provided in an embodiment of this application;
[0079] Figure 2a This is a schematic diagram of a data processing scenario based on an electronic resource package provided in an embodiment of this application;
[0080] Figure 2b This is a schematic diagram of a data processing scenario based on an electronic resource package provided in an embodiment of this application;
[0081] Figure 2c This is a schematic diagram of a data processing scenario based on an electronic resource package provided in an embodiment of this application;
[0082] Figure 2dThis is a schematic diagram of a data processing scenario based on an electronic resource package provided in an embodiment of this application;
[0083] Figure 3 This is a flowchart illustrating a data processing method based on an electronic resource package provided in an embodiment of this application;
[0084] Figure 4 This is a schematic diagram of a resource configuration scenario provided in an embodiment of this application;
[0085] Figure 5 This is a flowchart illustrating a data processing method based on an electronic resource package provided in an embodiment of this application;
[0086] Figure 6 This is a schematic diagram illustrating a resource return scenario provided in an embodiment of this application;
[0087] Figure 7 This is a flowchart illustrating a data processing method based on an electronic resource package provided in an embodiment of this application;
[0088] Figure 8 This is a flowchart illustrating a data processing method based on an electronic resource package provided in an embodiment of this application;
[0089] Figure 9 This is a flowchart illustrating a data processing procedure based on electronic red envelopes, provided in an embodiment of this application.
[0090] Figure 10 This is a schematic diagram of the structure of a data processing device based on an electronic resource package provided in an embodiment of this application;
[0091] Figure 11 This is a schematic diagram of the structure of a data processing device based on an electronic resource package provided in an embodiment of this application;
[0092] Figure 12 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application;
[0093] Figure 13 This is a schematic diagram of the structure of a data processing system provided in an embodiment of this application. Detailed Implementation
[0094] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0095] Please see Figure 1This is a schematic diagram of a network architecture provided in an embodiment of this application. Figure 1 As shown, the network architecture may include a service server 100 and a terminal cluster. The terminal cluster may include multiple user terminals, and this embodiment does not limit the number of user terminals included in the terminal cluster. For example, the terminal cluster may specifically include: user terminal 200a, user terminal 200b, user terminal 200c, ..., user terminal 200n. Communication connections may exist between the terminal cluster members; for example, there is a communication connection between user terminal 200a and user terminal 200b, and between user terminal 200a and user terminal 200c. Simultaneously, any user terminal in the terminal cluster may have a communication connection with the service server 100; for example, there is a communication connection between user terminal 200a and service server 100. The above communication connection is not limited to a specific method; it can be directly or indirectly connected via wired communication, directly or indirectly connected via wireless communication, or through other methods. This application does not impose any limitations on this method.
[0096] It should be understood that, such as Figure 1 Each user terminal in the terminal cluster shown can have an application client installed. When the application client runs on each user terminal, it can interact with the aforementioned... Figure 1 The business servers 100 shown interact with each other. The application client can be an instant messaging application, social application, game application, live streaming application, short video application, video application, music application, shopping application, novel application, payment application, browser, or other application client capable of displaying text, images, audio, and video data. This application client can be a standalone client or an embedded sub-client integrated into another client (such as a social client or game client); there is no limitation on this. The business server 100 can be a collection of multiple servers, including backend servers and data processing servers corresponding to the application clients. Therefore, each user terminal can transmit data with the business server 100 through the installed application client; for example, each user terminal can send and receive electronic resource packages with other user terminals through the business server 100.
[0097] The business server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud databases, cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The user terminal can be a smart terminal capable of running the aforementioned application client with electronic resource packet sending and receiving functions, such as a smartphone, tablet, laptop, desktop computer, PDA, mobile internet device (MID), wearable device (e.g., smartwatch, smart bracelet), smart computer, or smart vehicle. The user terminal and the business server can be connected directly or indirectly via wired or wireless means; this embodiment of the application does not impose any limitations on this connection.
[0098] It is understood that each user terminal can also create business object groups in the application client, or join existing business object groups, and then send and receive electronic resource packages within these business object groups. A business object group can be understood as a platform where business objects (i.e., users of the application client) with common interests or characteristics gather to chat and communicate together. For example, it could be a group chat composed of multiple business objects in an instant messaging application. Therefore, a business object group can also be called a user group, group chat, or group. A business object group can include multiple business objects. This application embodiment does not limit the number of business objects included in a business object group. Furthermore, the business relationships between the multiple business objects included in a business object group can be friend relationships or non-friend relationships; this application embodiment does not limit this.
[0099] In this embodiment, an electronic resource package can be understood as a virtual package carrying resource data, and it can be packaged in any form, such as an electronic red envelope, a gift, a blind box, or a detachable item (e.g., a detachable virtual "pizza"). Therefore, an "electronic resource package" can also be called a virtual item package, a virtual gift, a present, a virtual package, a virtual blind box, a virtual red envelope, an electronic red envelope, an emoticon with electronic red envelope functionality, or other names. This embodiment does not limit the form of the electronic resource package. Business users can send resource data (also called virtual resources) by distributing electronic resource packages. The resource data can be digital resources (e.g., electronic red envelope funds), points (e.g., game points, shopping points), virtual resources (e.g., virtual coins, virtual diamonds, game currency), equipment in online games (e.g., character skins, game props, virtual wearables), virtual pets, coupons (e.g., shopping cards, movie tickets), etc. This embodiment does not limit the specific type of resource data.
[0100] For ease of understanding, taking user terminals 200a, 200b, and 200c as examples, user terminal 200a can create a group (e.g., group A) through its installed application client and invite other business objects to this group. All business objects in this group constitute a business object group, which may include object B1 associated with user terminal 200a, object B2 associated with user terminal 200b, and object B3 associated with user terminal 200c. When object B1 wants to distribute an electronic resource package to group A, user terminal 200a can respond to the distribution operation performed by object B1, generate a corresponding resource package generation instruction based on the distribution operation, and send the resource package generation instruction to the business server 100. Then, the business server 100 can generate a corresponding electronic resource package (e.g., electronic resource package C) based on the received resource package generation instruction, and send the electronic resource package to group A. Then, all user terminals associated with all business objects in group A (e.g., user terminal 200a, user terminal 200b, and user terminal 200c) can receive and display the electronic resource package. Subsequently, any business object in group A can perform a claim operation on the electronic resource package through its corresponding application client, so that the business server 100 allocates the resource data carried by the electronic resource package to the business object (e.g., object B2) that meets the resource package acquisition conditions.
[0101] Each electronic resource package can carry one or more resource data items. This embodiment does not limit the number of resource data items. It is understood that the total number of resource data items carried by an electronic resource package is the number of electronic resource packages issued. Therefore, to reduce resource data waste, the number of electronic resource packages issued can be less than or equal to the number of business objects in the business object group to which it is issued. Alternatively, to increase the probability that a business object can obtain more resource data, the number of electronic resource packages issued can be greater than the number of business objects in the business object group to which it is issued. This embodiment does not limit the quantitative relationship between the two. For example, the number of electronic resource packages C issued (e.g., 2) can be less than the number of business objects included in group A (e.g., 3). The specific number of issuances can be determined by the sender of electronic resource package C (i.e., object B1) according to actual needs. Furthermore, this embodiment does not limit the number of resource data items that each business object can obtain. For example, it can be stipulated that each business object can obtain at most one resource data item, or it can support each business object to obtain multiple resource data items.
[0102] In this embodiment, a corresponding distribution time threshold can be configured for electronic resource packages. If the distribution time of an electronic resource package reaches the distribution time threshold, the resource package status of the electronic resource package will change from the original valid state to the invalid state. It can be understood that when the resource package status of the electronic resource package is valid (i.e., the distribution time of the electronic resource package is less than the distribution time threshold), business objects in the business object group can continuously try to obtain the resource data carried by the electronic resource package until all resource data has been claimed. Conversely, when the resource package status of the electronic resource package is invalid (i.e., the distribution time of the electronic resource package is greater than or equal to the distribution time threshold), even if there is still unclaimed resource data in the electronic resource package, the business objects in the business object group cannot claim it. The specific size of the distribution time threshold can be determined according to actual needs, and this embodiment does not limit it.
[0103] Based on this, this application provides a secondary interaction scheme that can improve the utilization rate of electronic resource packages. It can generate new electronic resource packages based on the resource data of electronic resource packages that have not been claimed within a specific time (i.e., within the effective state) (i.e., the part of the electronic resource package that has not been distributed). These new electronic resource packages can then be distributed to the business object group. This can increase the fun of electronic resource packages and enhance the sense of interaction between the sender and receiver of electronic resource packages through secondary utilization and interaction. For ease of understanding and explanation, in this embodiment, the first electronic resource package distributed can be referred to as the first electronic resource package (e.g., electronic resource package C mentioned above), and the subsequent electronic resource packages obtained based on unclaimed resource data can be referred to as the second electronic resource package. Furthermore, the business object that sends the electronic resource package (i.e., the sender of the electronic resource package) can be referred to as the first object (e.g., object B1 mentioned above), the business object that receives and participates in responding to the electronic resource package (i.e., the receiver of the electronic resource package) can be referred to as the response object (e.g., objects B2 and B3 mentioned above), and the business object in the response object that successfully claims resource data (i.e., the business object that meets the resource package acquisition conditions) can be referred to as the second object (e.g., object B2 mentioned above). In other words, not all business objects participating in responding to the electronic resource package can obtain the corresponding resource data; therefore, the second object can be determined from the response object. For example, when distributing two electronic resource packages C in group A, if multiple business objects in group A (e.g., objects B1, B2, and B3) participate in the competition for electronic resource package C, only two of them will ultimately obtain the resource data in electronic resource package C. It is understood that the sender of the electronic resource package can also be a receiver. For example, after object B1 sends electronic resource package C to group A, object B1 can participate in the response to electronic resource package C along with objects B2 and B3. Furthermore, the resource data in the first electronic resource package that is claimed by the second object can be collectively referred to as claimed resource data, and the unclaimed resource data in the first electronic resource package can be collectively referred to as remaining resource data.
[0104] It is understood that the method provided in this application embodiment can be executed by a computer device, which includes, but is not limited to, a user terminal or a business server. Here, a user terminal is used as an example. When the distribution time of the first electronic resource package (e.g., electronic resource package C) distributed by the first object (e.g., object B1 associated with the aforementioned user terminal 200a) in a business object group (e.g., group A) reaches the distribution time threshold, if there is remaining resource data in the first electronic resource package, the application client (e.g., an instant messaging application) running on the user terminal can display a corresponding business notification message in the message notification interface of the first object to remind the first object to process the remaining resource data accordingly. In other words, the application client can proactively remind the sender of the first electronic resource package before automatically generating the second electronic resource package. Optionally, the number of first electronic resource packages distributed can be less than or equal to the number of business objects in the business object group. Furthermore, in response to a triggering operation for the business notification message, the application client can automatically locate the distribution position of the first electronic resource package within the business object group. Then, it can display the first electronic resource package in the display area associated with the distribution position on the group display interface corresponding to the business object group. In response to a triggering operation for the first electronic resource package, it can output a collection details page corresponding to the first electronic resource package, displaying the remaining resource data on this page. Furthermore, in response to a triggering operation for the remaining resource data, the application client can display a second electronic resource package containing the remaining resource data in the group display interface. Here, the remaining resource data contained in the second electronic resource package originates from the first electronic resource package. Optionally, the distribution quantity of the second electronic resource package can be less than or equal to the distribution quantity of the first electronic resource package, or optionally, the distribution quantity of the second electronic resource package can also be greater than the distribution quantity of the first electronic resource package; this embodiment does not limit this. Therefore, the first object can utilize the unclaimed remaining resource data in the first electronic resource package to generate a new second electronic resource package and distribute it to the business object group, thereby improving the utilization rate of the remaining resource data.
[0105] It is understood that the above network architecture can be applied to the sending and receiving of electronic resource packets in various business scenarios, such as instant messaging, gaming, shopping, video (including live streaming) viewing, music listening, commenting, and e-book browsing, etc., which use electronic resource packets to distribute resource data. Specific scenario descriptions can be found in the following embodiments, and specific business scenarios will not be listed one by one here.
[0106] For ease of understanding, please refer to the following: Figure 2a , Figure 2aThis is a schematic diagram illustrating a data processing scenario based on an electronic resource package, provided in an embodiment of this application. The implementation process of this data processing scenario can be as follows: Figure 1 The process can take place in the business server 100 shown, or it can be performed in the user terminal, or it can be jointly executed by the user terminal and the business server. There are no restrictions here. This embodiment uses the interaction between the user terminal 20A and the business server 20 as an example for illustration. Here, the user terminal 20A can be, for example... Figure 1 Any user terminal in the terminal cluster shown, for example, user terminal 200a; in addition, the other user terminals involved in the embodiments of this application (e.g., user terminal 20B, user terminal 20C, ..., user terminal 20X) can also be as follows. Figure 1 Any user terminal in the terminal cluster shown, for example, user terminal 20B can be user terminal 200b, user terminal 20C can be user terminal 200c, and user terminal 20X can be user terminal 200n; the service server 20 can be as follows Figure 1 The business server 100 shown is illustrated. It can be understood that each user terminal in this embodiment of the application is equipped with an application client (e.g., instant messaging application, game application, etc.) that has electronic resource packet sending and receiving functions.
[0107] like Figure 2a As shown, the business object bound to user terminal 20A is object 1, the business object bound to user terminal 20B is object 2, the business object bound to user terminal 20C is object 3, ..., and the business object bound to user terminal 20X is object X. Object 1 belongs to a business object group (e.g., group A), which can contain X (X is a positive integer greater than 1, e.g., 10) business objects. These X business objects can specifically include object 1, object 2, object 3, ..., and object X. Object 1 (i.e., the first object) can distribute electronic resource packages (such as the first electronic resource package, for example, an electronic red envelope) to group A through user terminal 20A. Figure 2aAs shown in interface 201 (i.e., the resource package distribution interface), user terminal 20A can respond to a distribution operation on interface 201 by generating a first resource package generation instruction associated with the distribution operation. For example, object 1 can set the resource package type of the first electronic resource package (e.g., resource package type 1, which can represent a random resource package, meaning that each resource data allocated to the electronic resource package is random), the number of first electronic resource packages distributed (optionally, it can be less than or equal to X, for example, 7), and the resource data carried by the first electronic resource package (which can be called target resource data, for example, funds with a total amount of 50, or other types of resource data) in interface 201 through user terminal 20A. It can also set the theme of the first electronic resource package (e.g., "Wishing you prosperity!") and the cover as needed. Optionally, object 1 can also set corresponding resource package acquisition conditions for the first electronic resource package. Only when the resource package acquisition request generated by the user terminal based on the operation performed by the business object meets the resource package acquisition conditions can the business object acquire the resource data in the first electronic resource package.
[0108] Furthermore, after object 1 is set, user terminal 20A can respond to a trigger operation (e.g., a click operation) on the distribution confirmation control 201a in interface 201, encapsulating the previously set data such as the resource package type, distribution quantity, target resource data, theme, cover, the recipient of the first electronic resource package (i.e., the business object in group A), and resource package acquisition conditions (optional) into a first resource package generation instruction (e.g., resource package generation instruction 20a), and sending the first resource package generation instruction to the business server 20. The business server 20 can then generate the first electronic resource package (e.g., electronic resource package 20b) based on the first resource package generation instruction. Figure 2a As shown, the business server 20 can distribute the generated first electronic resource package to user terminals 20B, 20C, ..., 20X respectively.
[0109] It should be understood that the business scenario described in the embodiments of this application can be an instant messaging scenario. Therefore, in this instant messaging scenario, the electronic resource package dispatched by the business object can be displayed in the form of a session message. The interaction process of other business scenarios can also be referred to the description in the embodiments of this application.
[0110] For ease of explanation, we will use user terminal 20C as an example here. Figure 2aAs shown in interface 202 (i.e., the group display interface corresponding to group A), after receiving the electronic resource package 20b, user terminal 20C can display the electronic resource package 20b in its corresponding interface 202. Then, object 3 can participate in the resource data acquisition for electronic resource package 20b together with other business objects in group A (including object 1). Specifically, when object 3 responds to electronic resource package 20b, object 3 acts as the responding object, and user terminal 20C sends a resource package acquisition request 20c to business server 20. When business server 20 detects that the resource package acquisition request 20c matches the resource package acquisition request corresponding to electronic resource package 20b... When the conditions match, object 3 can be designated as the second object. The business server 20 can then retrieve the corresponding resource data from the target resource data contained in the electronic resource package 20b and allocate it to object 3. Simultaneously, the user terminal 20C can display a claim text message 202a to object 3 on the interface 202. For example, the claim text message 202a could read "You have claimed the resource package for object 1." Conversely, if the business server 20 detects that the resource package retrieval request 20c does not match the resource package retrieval conditions corresponding to the electronic resource package 20b, it can return a request failure notification to indicate that object 3 failed to successfully retrieve the resource data from the electronic resource package 20b. The specific process of other business objects in the aforementioned business object group participating in the response to the electronic resource package 20b can be found in the process of object 3 participating in the response to the electronic resource package 20b, and will not be elaborated upon here.
[0111] It is understood that the embodiments of this application can support multiple resource package types, and different resource package types can correspond to different resource package acquisition conditions. The embodiments of this application do not limit the specific content of resource package types and resource package acquisition conditions. For example, the electronic resource packages in the embodiments of this application may include random resource packages (such as random red envelopes), average resource packages (that is, resource data is evenly allocated to each electronic resource package), exclusive resource packages for a specific business object, text password resource packages, voice password resource packages, song resource packages, image resource packages, stroke resource packages, video resource packages, etc. Different types of electronic resource packages can be configured with different resource package acquisition conditions, and correspondingly, their interaction methods and resource allocation methods can also be adjusted as needed.
[0112] It should be understood that within the distribution time threshold of the first electronic resource package (e.g., 24 hours), the business server 20 will monitor the claiming status of the first electronic resource package in real time, so as to notify the user terminal 20A when all the resource data of the first electronic resource package has been claimed or when the first electronic resource package expires (i.e., the resource package status of the first electronic resource package changes from valid to invalid). Please also refer to Figure 2b , Figure 2b This is a schematic diagram illustrating a data processing scenario based on an electronic resource package, as provided in an embodiment of this application. Figure 2b As shown, assuming that when the distribution time of electronic resource package 20b reaches the distribution time threshold (e.g., 24 hours), the service server 20 detects that there is still remaining resource data in electronic resource package 20b. Then, it can generate a service notification message associated with this remaining resource data (e.g., service notification message 203a) and return this service notification message to the user terminal 20A to proactively remind the sender of the first electronic resource package (i.e., object 1). Figure 2b As shown in interface 203 (i.e., the message notification interface for object 1), interface 203 can display a message list associated with object 1. This message list can be used to display business notification messages 203a received by user terminal 20A. For example, in the "Payment Notification" message bar of this message list, the text message "Your resource package is about to expire. Please select a resource package processing method" can be displayed. The business notification message can take the form of text, card, email, image, etc., and can be displayed at any position in the message notification interface; this embodiment does not limit this. Further, optionally, in response to a trigger operation (e.g., a click operation) on the "Payment Notification" message bar, user terminal 20A can display detailed information 204a corresponding to the business notification message 203a in interface 204 (e.g., it can be displayed in card form). This detailed information 204a can include remaining resource data (e.g., funds with a remaining amount of 9.10), the source of the remaining resource data (e.g., from the electronic resource package distributed by object 1 in group A), and remarks (e.g., the text message "Select resource package processing method").
[0113] Please also refer to [further details]. Figure 2c , Figure 2c This is a schematic diagram illustrating a data processing scenario based on an electronic resource package, as provided in an embodiment of this application. Figure 2c As shown, user terminal 20A can respond to the above Figure 2b The triggering operation (e.g., a click operation) of the business notification message 203a in the interface 203 shown, or, optionally, in response to the above. Figure 2bThe triggering operation (e.g., a click operation) of the details information 204a in the interface 204 will display the electronic resource package 20b in the display area 205a of the interface 205 (i.e., the group display interface corresponding to group A). The display area 205a corresponds to the distribution timestamp of the electronic resource package 20b, meaning that the user terminal 20A can automatically locate the distribution position of the electronic resource package 20b. Simultaneously, the interface 205 can also display the collection text information generated during the distribution period of the electronic resource package 20b, such as collection text information 205b: "Object 6 has collected your resource package" and collection text information 205c: "Object 3 has collected your resource package." This embodiment does not limit the specific content of the collection text information. It is understandable that the corresponding claim text information will only be generated and displayed when a business object successfully claims the resource data in electronic resource package 20b. Therefore, the claim text information can show which business objects have successfully claimed the resource data. Furthermore, by comparing the claim quantity in the claim text information (which can also be considered the claim quantity corresponding to electronic resource package 20b) with the distribution quantity of electronic resource package 20b, it can be determined whether there is any unclaimed resource data in the current electronic resource package 20b. For example, when the claim quantity in the claim text information is 5, it means that 5 business objects (i.e., the second object) in group A have claimed the resource data, and the distribution quantity of electronic resource package 20b is 7, thus indicating that there are still 2 unclaimed resource data. Here, the claim text information 205c and the aforementioned... Figure 2a The retrieval text information 202a in the document is associated with object 3. It can be understood as two different retrieval text information for the same business object displayed on different user terminals.
[0114] Furthermore, such as Figure 2c As shown, user terminal 20A can respond to a trigger operation (e.g., a click operation) on electronic resource package 20b by sending a details retrieval request 20d to business server 20. Business server 20 can then retrieve the collection details record 20e associated with the second object based on the details retrieval request 20d and return the collection details record 20e to user terminal 20A. Furthermore, user terminal 20A can display the received collection details record 20e on interface 206 (i.e., the collection details page corresponding to electronic resource package 20b). The number of collection details records 20e can be one or more; this embodiment does not limit the number of collection details records 20e. For example, as... Figure 2cAs shown in interface 206, when the number of items to be claimed corresponding to electronic resource package 20b is 5, the second objects in group A that have claimed resource data include object 6, object 3, object 5, object 4, and object 2. Correspondingly, claim detail record 20e can include 5 claim detail records: the claim detail record corresponding to object 6, the claim detail record corresponding to object 3, the claim detail record corresponding to object 5, the claim detail record corresponding to object 4, and the claim detail record corresponding to object 2. Each claim detail record can include the avatar, name, claimed resource data, and claim timestamp corresponding to a second object. For example, the claim detail record corresponding to object 6 shows that object 6 claimed 6.70 from electronic resource package 20b, and the claim timestamp is July 22nd at 18:57. In addition, interface 206 can also display other information about electronic resource package 20b, such as the sender of electronic resource package 20b (e.g., object 1), the resource package status of electronic resource package 20b (e.g., the text "This resource package has expired" to indicate that electronic resource package 20b is in an invalid state), the number of electronic resource packages 20b that can be claimed (e.g., 5), the resource data claimed by electronic resource package 20b (e.g., funds of 40.9 that have been claimed), and the target resource data it carries (e.g., funds of a total amount of 50.0), etc.
[0115] Please also refer to [further details]. Figure 2d , Figure 2d This is a schematic diagram illustrating a data processing scenario based on an electronic resource package, as provided in an embodiment of this application. Figure 2dAs shown in interface 206, user terminal 20A can output interface 207 (i.e., remaining resource display page) displayed on the claim details page, and then display the remaining resource data (e.g., funds with a remaining amount of 9.10) on interface 207. In addition, the resource package status of electronic resource package 20b can also be displayed on interface 207 (e.g., the text "This resource package has expired" is used to indicate that electronic resource package 20b is in an invalid state). The interface 207 may include controls 207a (i.e., resource loop control) and 207b (i.e., second resource return control). Object 1 can trigger one of the controls to select different resource processing methods. For example, when object 1 wants to continue distributing electronic resource packages, user terminal 20A can respond to the trigger operation (e.g., click operation) on control 207a, generate a second resource package generation instruction (e.g., resource package generation instruction 20f), and send the second resource package generation instruction to business server 20. Then, business server 20 can generate a second electronic resource package (e.g., electronic resource package 20g) based on the second resource package generation instruction, and then distribute the generated second electronic resource package to group A. Therefore, business objects in group A can participate in the competition for the second electronic resource package again. The specific process can be referred to the above processing process of electronic resource package 20b, which will not be elaborated here. Taking user terminal 20A as an example, after receiving electronic resource package 20g, user terminal 20A can display electronic resource package 20g in its interface 208 (i.e., the group display interface corresponding to group A). It is understandable that before confirming the distribution of the second electronic resource package, Target 1 can still set data such as the resource package type, distribution quantity, total resource data, subject, cover, recipients of the second electronic resource package (such as business objects in Group A), and resource package acquisition conditions (optional), thereby obtaining the second resource package generation instruction. See the above for details. Figure 2a The description of interface 201 shown is provided below. For a more detailed implementation process, please refer to the following sections. Figure 3 The corresponding implementation examples.
[0116] It is understood that the total resource data carried by the generated electronic resource package 20g is actually entirely or partially derived from the remaining resource data in electronic resource package 20b. Therefore, generating a second electronic resource package can improve the utilization rate of the remaining resource data. Optionally, in addition to the remaining resource data, object 1 can also choose to add more resource data to the new electronic resource package.
[0117] Optionally, if Object 1 wishes to retrieve the remaining resource data (i.e., chooses to cancel the actively generated second electronic resource package), user terminal 20A can respond to a trigger operation (e.g., a click operation) on control 207b by sending a resource return instruction to business server 20. Business server 20 can then return the remaining resource data (e.g., funds with a remaining amount of 9.10) in electronic resource package 20b to Object 1's object account based on the resource return instruction.
[0118] The remaining resources display page can be an interface independent of the claim details page. The remaining resources display page can be displayed in any area (e.g., the middle area) of the claim details page in the form of a floating window, a mask, or semi-transparent. Alternatively, it can be displayed using an interface whose display size can be changed by dragging and can be shrunk. The size of this interface is smaller than that of the claim details page. This application embodiment does not limit this.
[0119] It should be noted that "display" in the embodiments of this application can mean either page switching or opening up a new area in the current page, such as creating a pop-up window or displaying a hidden area in the current page.
[0120] It should be noted that the interfaces and controls shown in the embodiments of this application are merely some forms of representation for reference. In actual business scenarios, developers can make relevant designs according to product requirements. The embodiments of this application do not limit the specific forms of the interfaces and controls involved.
[0121] The implementation process for other business scenarios (such as gaming, shopping, and video viewing scenarios) can also refer to the scenarios described in the embodiments of this application.
[0122] Besides the business scenarios described above, the methods provided in this application embodiment can also be applied to other business scenarios, and some similar interaction processes can also be referred to above. Figures 2a-2d The description in the corresponding embodiments.
[0123] For example, in a game scenario, the business object can be a game player. It can be understood that all business objects participating in the same game (i.e., the target game) can form a group of business objects within the game scenario. Therefore, the first object (e.g., object 1) can send an electronic resource package (e.g., electronic resource package D1) to other business objects experiencing the target game (e.g., object 2, object 3, etc.). In the game scenario, the electronic resource package can carry game currency, game points, game equipment (e.g., character skins, game items, virtual wearables, etc.), or other resource data applicable to the target game. In one specific implementation, object 1 can send an electronic resource package D1 carrying one or more game items in the target game's public channel. Then, any business object participating in the target game can attempt to obtain the game items in the electronic resource package D1 in the public channel. When the distribution time of electronic resource pack D1 reaches the distribution time threshold of electronic resource pack D1 (e.g., 5 hours), if there are unclaimed game items (i.e., remaining resource data) in electronic resource pack D1, the game client corresponding to object 1 can display a business notification message (e.g., business notification message E1) associated with these remaining game items in the corresponding message notification interface. Subsequently, in response to the trigger operation for the business notification message E1, the game client can display electronic resource pack D1 in the aforementioned public channel, and then, in response to the trigger operation for electronic resource pack D1, output the corresponding claim details page for electronic resource pack D1, and display the remaining game items in a remaining resource display page independent of the claim details page. Furthermore, in response to the trigger operation for the remaining resource display page, a certain method can be selected to handle these remaining game items (the specific handling process can be found above). Figures 2a-2d (The processing procedure described in the corresponding embodiment). For example, Object 1 may choose to add these remaining game items to a new electronic resource pack (e.g., electronic resource pack D2) and share them with other business objects again; alternatively, Object 1 may also choose to actively reclaim these remaining game items.
[0124] For example, in a shopping scenario, the business objects can be buyers or sellers. It can be understood that all business objects participating in the shopping can form a group of business objects within the shopping scenario. Therefore, the first object (e.g., object 1) can send electronic resource packages (e.g., electronic resource package D3) to other business objects (e.g., object 2, object 3, etc.). In a shopping scenario, the electronic resource package can carry shopping vouchers (e.g., coupons, gift certificates, etc.), shopping points, or other resource data applicable to shopping. In a specific implementation, assuming object 1 is a seller in a store, object 1 can send electronic resource package D3 containing one or more coupons to all customers of that store. After obtaining the coupons from electronic resource package D3, the business objects can use them to offset part of their consumption in that store. When the distribution period of electronic resource package D3 reaches its distribution time threshold (e.g., 7 days), if there are unclaimed coupons (i.e., remaining resource data) in electronic resource package D3, the shopping client corresponding to object 1 can display business notification messages (e.g., business notification message E2) associated with these remaining coupons in the corresponding message notification interface. Object 1 can then choose a method to handle these remaining coupons (the specific processing procedure can be found above). Figures 2a-2d (The processing procedure described in the corresponding embodiment). For example, Object 1 may choose to add these remaining coupons to a new e-package (e.g., e-package D4) and redistribute them to customers; alternatively, Object 1 may choose to actively reclaim these remaining coupons.
[0125] For example, in a video viewing scenario, the business object can be the viewer. It can be understood that all business objects participating in watching the video can form a group of business objects in the video viewing scenario. Therefore, the first object (e.g., object 1) can send an electronic resource package (e.g., electronic resource package D5) to other business objects (e.g., object 2, object 3, etc.). In the video viewing scenario, the electronic resource package can carry viewing vouchers or other resource data. In a specific implementation, assuming object 1 shares an electronic resource package D5 containing one or more viewing vouchers on a video platform, business objects that obtain viewing vouchers in electronic resource package D5 can jointly watch the video specified by the viewing voucher. When the distribution time of electronic resource package D5 reaches the distribution time threshold of electronic resource package D5 (e.g., 1 day), if there are unclaimed viewing vouchers (i.e., remaining resource data) in electronic resource package D5, the video client corresponding to object 1 can display a business notification message (e.g., business notification message E3) associated with these remaining viewing vouchers in the corresponding message notification interface. Subsequently, Object 1 can choose a method to handle these remaining movie tickets (the specific handling process can be found above). Figures 2a-2d(The processing procedure described in the corresponding embodiment). For example, Object 1 may choose to add these remaining movie tickets to a new e-package (e.g., e-package D6) and redistribute them to the video platform; alternatively, Object 1 may also choose to actively reclaim these remaining movie tickets.
[0126] For example, in a music listening scenario, the business object can be a listener. It can be understood that all business objects participating in the music listening can form a group of business objects within the music listening scenario. Therefore, the first object (e.g., object 1) can send an electronic resource package (e.g., electronic resource package D7) to other business objects (e.g., object 2, object 3, etc.). In a music listening scenario, the electronic resource package can carry music vouchers or other resource data. In a specific implementation, suppose object 1 shares an electronic resource package D7 containing one or more music vouchers on a music platform. Business objects that obtain the music vouchers in electronic resource package D7 can listen to or download specific exclusive songs (e.g., digital albums that require payment) for free within a specified time period. When the distribution period of electronic resource package D7 reaches its distribution time threshold (e.g., 1 day), if there are unclaimed music vouchers (i.e., remaining resource data) in electronic resource package D7, the music client corresponding to Object 1 can display a business notification message (e.g., business notification message E4) associated with these remaining music vouchers in the corresponding message notification interface. Object 1 can then choose a method to handle these remaining music vouchers (the specific processing procedure can be found above). Figures 2a-2d (The processing procedure described in the corresponding embodiment). For example, Object 1 may choose to add these remaining music vouchers to a new e-package (e.g., e-package D8) and redistribute them to the music platform; alternatively, Object 1 may choose to actively reclaim these remaining music vouchers.
[0127] For example, in a comment scenario, the business object can be a user with commenting privileges. It can be understood that all business objects participating in the same discussion can form a group of business objects in the comment scenario. Therefore, the first object (e.g., object 1) can send electronic resource packages (e.g., electronic resource package D9) to other business objects (e.g., object 2, object 3, etc.). In a comment scenario, the electronic resource package can carry digital resources (e.g., funds of a specified amount) or other resource data. In a specific implementation, assuming object 1 raises a question on a network platform and distributes an electronic resource package D9 carrying digital resources, the business object leaving a comment in the comment section to answer the question can obtain the digital resources in electronic resource package D9. When the distribution time of electronic resource package D9 reaches the distribution time threshold of electronic resource package D9 (e.g., 1 day), if there are unclaimed digital resources (i.e., remaining resource data) in electronic resource package D9, the application client corresponding to object 1 can display a business notification message (e.g., business notification message E5) associated with these remaining digital resources in the corresponding message notification interface. Subsequently, Object 1 can choose a certain method to process these remaining digital resources (the specific processing procedure can be found above). Figures 2a-2d (The processing procedure described in the corresponding embodiment). For example, Object 1 may choose to add these remaining digital resources to a new e-package (e.g., e-package D10) and redistribute them to the comments section; alternatively, Object 1 may also choose to actively reclaim these remaining digital resources.
[0128] For example, in an e-book browsing scenario, the business object can be a user reading the e-book. It can be understood that all business objects reading the same e-book can form a group of business objects in the e-book browsing scenario. Therefore, the first object (e.g., object 1) can send an electronic resource package (e.g., electronic resource package D11) to other business objects (e.g., object 2, object 3, etc.). In the e-book browsing scenario, the electronic resource package can carry virtual resources or other resource data. In a specific implementation, assuming object 1 sets a reading task for a target e-book and distributes an electronic resource package D11 carrying virtual resources for this task, the business object that completes the reading task can obtain the virtual resources in electronic resource package D11 as a reward, which can then be used to redeem other e-books. When the distribution period of electronic resource package D11 reaches its distribution time threshold (e.g., 2 days), if there are unclaimed virtual resources (i.e., remaining resource data) in electronic resource package D11, the reading application client corresponding to Object 1 can display business notification messages associated with these remaining virtual resources (e.g., business notification message E6) in the corresponding message notification interface. Object 1 can then choose a method to handle these remaining virtual resources (the specific handling process can be found above). Figures 2a-2d (The processing procedure described in the corresponding embodiment). For example, object 1 may choose to add these remaining virtual resources to a new electronic resource package (e.g., electronic resource package D11) and reset a new reading task for the target electronic reading material; alternatively, object 1 may also choose to actively reclaim these remaining virtual resources.
[0129] Please see Figure 3 , Figure 3 This is a flowchart illustrating a data processing method based on an electronic resource package provided in an embodiment of this application. This data processing method can be executed by a computer device, which may include, for example... Figure 1 The user terminal or service server. In this embodiment, the user terminal corresponding to the first object can be referred to as the first terminal (e.g., the one described above). Figure 1 The user terminal 200a shown is used as an example. Correspondingly, the application client running on the first terminal and having electronic resource packet sending and receiving functions can be called the first client; similarly, the user terminal corresponding to the second object can be called the second terminal (e.g., the one described above). Figure 1 The user terminal 200b shown is used as an example. Correspondingly, the application client running on the second terminal with electronic resource packet sending and receiving functions can be referred to as the second client. For ease of understanding, this application embodiment uses the method executed by the first terminal as an example for illustration. This data processing method may include at least the following steps S101-S104:
[0130] Step S101: When the distribution duration of the first electronic resource package issued by the first object in the business object group reaches the distribution time threshold, a business notification message associated with the remaining resource data in the first electronic resource package is displayed in the message notification interface of the first object.
[0131] Specifically, assuming that the first electronic resource package distributed by the first object in the business object group carries N resource data items, where N is the number of the first electronic resource package distributed and is a positive integer, the first client on the first terminal can record the distribution duration of the first electronic resource package when it is displayed in the business object group. The number of the first electronic resource package distributed can be less than, equal to, or greater than the number of business objects in the business object group; this embodiment does not limit the number of the first electronic resource package distributed. Within this distribution duration, the first client can display a claim text information for the first object in the group display interface corresponding to the business object group. This claim text information is generated by the second object in the business object group after performing a claim operation on the first electronic resource package, and its specific display position in the group display interface is not limited. It should be noted that the first object in this embodiment can also act as a response object to participate in the acquisition of resource data. Optionally, an example interface diagram of the group display interface can be found above. Figure 2c As shown in interface 205, for example, during the distribution period of electronic resource package 20b, object 6 in group A received the resource data in electronic resource package 20b, so the receipt text information 205b can be displayed in interface 205.
[0132] Furthermore, when the distribution time of the first electronic resource package reaches the distribution time threshold of the first electronic resource package, the first client can obtain the number of claim text messages associated with the first electronic resource package. These claim text messages are used to indicate the claiming status of resource data in the first electronic resource package. For ease of understanding, assume the number of claim text messages claimed is M, where M is a positive integer less than N. Therefore, when using the resource data indicated by the M claim text messages as the claimed resource data from the aforementioned N resource data, the remaining resource data from these N resource data, excluding the claimed resource data, can be used as the remaining resource data of the first electronic resource package. For example, combining the above... Figures 2a-2dIn the corresponding embodiment, assuming that electronic resource package 20b carries 7 resource data items, and 5 second objects in group A have obtained the resource data items from electronic resource package 20b, the number of text messages claimed is 5. Therefore, the remaining 2 unclaimed resource data items in electronic resource package 20b (e.g., the remaining amount is 9.10) can be considered as the remaining resource data of electronic resource package 20b. Furthermore, the first client can display a business notification message associated with the remaining resource data in any area of the first object's message notification interface to remind the first object to process the remaining resource data. Optionally, an example interface diagram of the message notification interface can be found above. Figure 2b The interface 203 is shown. In this embodiment, the issuance time threshold of the first electronic resource package, the specific content of the retrieval text information, and the specific content of the business notification message are not limited.
[0133] It is understood that this application embodiment can support multiple resource package types, and these types are not listed here. Different resource package types can correspond to different resource package acquisition conditions. When a business object participates in acquiring resource data, the corresponding user terminal can generate a resource package acquisition request based on the operation performed by the business object. When the resource package acquisition request matches the resource package acquisition conditions, the business object can acquire the corresponding resource data. The resource package acquisition request can be detected by the user terminal or the business server; this application embodiment uses the execution by the business server as an example for explanation.
[0134] Optionally, when the resource package type of an electronic resource package (including the first electronic resource package and subsequent second electronic resource packages) is the first resource package type, first resource package acquisition conditions can be configured for electronic resource packages with the first resource package type. A business object performing a simple triggering operation (e.g., a click operation) on the electronic resource package may satisfy the first resource package acquisition conditions. Electronic resource packages with the first resource package type can be, for example, ordinary random resource packages, average resource packages, or dedicated resource packages designated for a specific business object as the recipient. For example, the business server can allocate corresponding resource data to each second object sequentially according to the trigger timestamp of each second object for the electronic resource package, i.e., adopting a "first-come, first-served" strategy.
[0135] Optionally, when the electronic resource package's resource package type is a second resource package type, second resource package acquisition conditions can be configured for the electronic resource package with the second resource package type. After the business object triggers the electronic resource package, the second resource package acquisition conditions can be displayed on the corresponding user terminal to guide the business object to perform the corresponding operation. For example, an electronic resource package with the second resource package type can be a text password resource package, and the second resource package acquisition conditions can carry target text. The second resource package acquisition condition can only be satisfied when the text password entered by the business object matches the target text.
[0136] Optionally, when the electronic resource package is of type 3, third resource package acquisition conditions can be configured for it. After a business object triggers the electronic resource package, the third resource package acquisition conditions can be displayed on the corresponding user terminal to guide the business object to perform the corresponding operation. For example, an electronic resource package of type 3 can be a voice command resource package, and the third resource package acquisition conditions can carry a target voice. The third resource package acquisition condition can only be satisfied when the voice command entered by the business object matches the target voice.
[0137] Optionally, when the electronic resource package is of type four, fourth resource package acquisition conditions can be configured for it. After a business object triggers the electronic resource package, the fourth resource package acquisition conditions can be displayed on the corresponding user terminal to guide the business object to perform the corresponding operation. For example, an electronic resource package of type four can be a song resource package, and the fourth resource package acquisition conditions can carry a target song. The fourth resource package acquisition condition is only satisfied when the song entered by the business object matches the target song. For example, the business server can score the song entered by the business object, and determine that the fourth resource package acquisition condition is satisfied when the song score is greater than or equal to a first score threshold. Optionally, the business server can allocate resource data to the business object based on the obtained song score; for example, the business object with a higher song score will ultimately receive more resource data.
[0138] Optionally, when the electronic resource package is of type 5, fifth resource package acquisition conditions can be configured for it. After a business object triggers the electronic resource package, the fifth resource package acquisition conditions can be displayed on the corresponding user terminal to guide the business object to perform corresponding operations. For example, an electronic resource package of type 5 can be an image resource package. The business server can detect images uploaded by business objects, and if the image meets a specified image attribute (e.g., the captured face meets a certain gender), it determines that the fifth resource package acquisition conditions are met. Alternatively, the business server can score the images uploaded by business objects (e.g., calculate the attractiveness value of an image), and if the obtained image score is greater than or equal to a second score threshold, it determines that the fifth resource package acquisition conditions are met. Optionally, the business server can allocate resource data to business objects based on the obtained image score; for example, business objects with higher image scores will ultimately receive more resource data.
[0139] Optionally, when the electronic resource package is of type 6, a sixth resource package acquisition condition can be configured for the electronic resource package with this type. After the business object triggers the electronic resource package, the sixth resource package acquisition condition can be displayed on the corresponding user terminal to guide the business object to perform the corresponding operation. For example, an electronic resource package with type 6 can be a stroke resource package, and the sixth resource package acquisition condition can carry the target stroke. The business server can detect the stroke trajectory entered by the business object. When the stroke trajectory is detected to match the target stroke, it can be determined that the sixth resource package acquisition condition is met. For example, drawing a five-pointed star continuously along a specific trajectory.
[0140] Optionally, when the electronic resource package is of type 7, a 7th resource package acquisition condition can be configured for the electronic resource package of type 7. After the business object triggers the electronic resource package, the 7th resource package acquisition condition can be displayed on the corresponding user terminal to guide the business object to perform the corresponding operation. For example, an electronic resource package of type 7 can be a video resource package. The 7th resource package acquisition condition can carry the target video. When the business server detects that the business object has watched the target video, it determines that the 7th resource package acquisition condition is met. Alternatively, the business server can detect the video recorded by the business object. When it detects that the video matches the target video, it determines that the 7th resource package acquisition condition is met. For example, the business object performs a specified action (e.g., raises its hand) and records the entire process as a video.
[0141] Step S102: In response to the triggered operation for the business notification message, the first electronic resource package is displayed in the group display interface corresponding to the business object group;
[0142] Specifically, the first client on the first terminal can respond to a triggered operation based on a business notification message, outputting a group display interface corresponding to the business object group. This group display interface can then show the display area corresponding to the distribution timestamp of the first electronic resource package, and display the first electronic resource package within that area. This display area can represent the location where the first object distributed the first electronic resource package within the business object group.
[0143] It is understandable that business objects within a business object group can interact in different ways in different business scenarios. Correspondingly, the group display interface can also be flexible and diverse, as long as it can facilitate the sending and receiving of electronic resource packages. For example, in an instant messaging scenario, multiple business objects can engage in instant conversations and chat. In this case, the group display interface can be the conversation interface corresponding to the business object group (e.g., the one mentioned above). Figure 2c The interface shown is 205); however, in a game scenario, multiple business objects can participate in the same game together. In this case, the group display interface can be the game's public channel, or it can be the game's display interface. This application embodiment will not limit the specific form of the group display interface.
[0144] It is understood that the "trigger operation" in the embodiments of this application can be a single click operation, a double click operation, a long press operation, a sliding operation, a stretching operation, a rotating operation, or a shaking operation, etc., and the embodiments of this application do not limit it in this way.
[0145] Step S103: In response to the trigger operation for the first electronic resource package, output the redemption details page corresponding to the first electronic resource package, and display the remaining resource data on the redemption details page;
[0146] Specifically, the first client on the first terminal can respond to a trigger operation on the first electronic resource package and output the corresponding claim details page for the first electronic resource package. This claim details page can display claim details records associated with M second objects in the business object group. Each claim details record can include the claim resource data, claim timestamp, avatar, and name of a second object, as shown above. Figure 2c The interface shown is 206.
[0147] The claim details record is obtained by the business server based on an atomic decrement operation on the distribution quantity of the first electronic resource package and a resource quantity accumulation operation on the claim data corresponding to each second object. The atomic decrement operation is used to handle conflicts between response objects that participated in responding to the first electronic resource package in the cache database. The second object is determined by the business server from multiple response objects with the same resource identifier. The specific process of the business server performing the atomic decrement operation and resource quantity accumulation operation will be discussed later. Figure 7 The corresponding implementation examples.
[0148] Furthermore, the first client can display remaining resource data on the claim details page. Specifically, the first client can output a remaining resource display page independent of the claim details page, displaying the remaining resource data and the resource package status of the first electronic resource package. The resource package status of the first electronic resource package is determined by a distribution time threshold. That is, when the distribution duration of the first electronic resource package is less than the distribution time threshold, the resource package status is valid; when the distribution duration of the first electronic resource package is greater than or equal to the distribution time threshold, the resource package status is invalid. Optionally, an example interface diagram of the remaining resource display page can be found above. Figure 2d The interface shown is 207.
[0149] Step S104: In response to the triggered operation for the remaining resource data, the second electronic resource package is displayed in the group display interface corresponding to the business object group.
[0150] Specifically, the first client on the first terminal can respond to a resource loop control in the remaining resource display page (e.g., the one mentioned above). Figure 2d The triggering operation (e.g., a click operation) of control 207a) in the interface 207 shown outputs the resource configuration page indicated by the resource loop control. In response to a configuration operation on the resource configuration page, a second electronic resource package matching the configuration operation is displayed in the group display interface corresponding to the business object group. The remaining resource data contained in the second electronic resource package originates from the first electronic resource package. For example, optionally, all remaining resource data can be added to the second electronic resource package; alternatively, a portion of the remaining resource data can be added; or alternatively, in addition to adding all remaining resource data to the second electronic resource package, new resource data can also be added. This embodiment does not limit the resource data carried in the final sent second electronic resource package.
[0151] It should be understood that, optionally, the number of second electronic resource packages distributed may be less than or equal to the number of first electronic resource packages distributed; or, optionally, the number of second electronic resource packages distributed may be less than or equal to the number of first electronic resource packages received. This application embodiment does not limit the number of second electronic resource packages distributed. Optionally, the second electronic resource packages may also be sent to other business object groups or business objects.
[0152] This application embodiment supports multiple configuration operations. Optionally, the first client can respond to the default configuration operation on the resource configuration page by displaying the default distribution quantity in the first text box of the resource configuration page and the total resource data in the second text box of the resource configuration page. The default distribution quantity is determined based on the activity level of the business objects in the business object group and the distribution quantity of the first electronic resource package. Further, the first client can respond to the trigger operation (e.g., click operation) of the distribution confirmation control on the resource configuration page. When the total resource data equals the remaining resource data, the first client can display a second electronic resource package containing the remaining resource data in the group display interface corresponding to the business object group. At this time, the distribution quantity of the second electronic resource package is the default distribution quantity, and the distribution quantity of the second electronic resource package can be less than or equal to the distribution quantity of the first electronic resource package.
[0153] For ease of understanding, please refer to the following: Figure 4 , Figure 4 This is a schematic diagram illustrating a resource configuration scenario provided in an embodiment of this application. This embodiment uses an electronic resource package in the form of an electronic red envelope as an example for illustration. Combined with the above... Figures 2a-2d In the corresponding embodiment, user terminal 20A (i.e., the first terminal) can respond to the above-mentioned Figure 2d The triggering operation of control 207a in the interface 207 shown outputs as follows: Figure 4The interface 401 shown (i.e., the resource configuration page) may include text boxes 401a (i.e., the first text box), 401b (i.e., the second text box), a theme setting box 401c, a cover setting box 401d, a control 401e (i.e., the distribution confirmation control), a control 401f (i.e., the first resource return control), and a type selection control 401g. When the interface 401 is initially displayed, the user terminal 20A can automatically input the corresponding default distribution quantity and remaining resource data based on the remaining amount (i.e., remaining resource data) of the electronic resource package 20b (e.g., the first electronic resource package in the form of an electronic red envelope) and the number of active users in group A (i.e., the number of target objects). For example, if the number of active users in group A is 4 based on the activity level of the business objects in group A and the distribution quantity of electronic resource package 20b, "4" can be automatically entered in text box 401a; simultaneously, the remaining amount of electronic resource package 20b, 9.1, can be automatically entered in text box 401b. In addition, Object 1 (i.e., the first object) can set the theme of the second electronic resource package through the theme setting box 401c (or select the default theme), set the cover of the second electronic resource package through the cover setting box 401d (or select the default cover), and set the resource package type of the second electronic resource package through the type selection control 401g. The resource package type of the second electronic resource package can be different from or the same as the resource package type of the first electronic resource package. Optionally, Object 1 can choose to directly send a new electronic resource package, i.e., using the default distribution quantity and remaining resource data. In this case, user terminal 20A can respond to the trigger operation of control 401e and directly send the electronic resource package (i.e., the second electronic resource package) carrying the remaining resource data to group A.
[0154] Optionally, when the resource configuration page includes a first text box for displaying the default distribution quantity and a second text box for displaying the remaining resource data, the first client can respond to a first update configuration operation on the resource configuration page by displaying the first updated distribution quantity obtained after updating the default distribution quantity in the first text box, and displaying the total resource data obtained after updating the remaining resource data in the second text box. Further, the first client can respond to a trigger operation (e.g., a click operation) on the distribution confirmation control in the resource configuration page, and when the total resource data is greater than the remaining resource data, output a resource transfer page independent of the resource configuration page. The resource transfer page can display the difference resource data, where the difference resource data is the difference between the total resource data and the remaining resource data. Further, in response to a transfer operation on the resource transfer page, a second electronic resource package containing the difference resource data and the remaining resource data can be displayed in the group display interface corresponding to the business object group. At this time, the distribution quantity of the second electronic resource package is the first updated distribution quantity, and the distribution quantity of the second electronic resource package can be less than or equal to the distribution quantity of the first electronic resource package.
[0155] The resource transfer page can be displayed in any area (e.g., the middle area) of the resource configuration page in the form of a floating window, a mask, or a semi-transparent form. Alternatively, it can be displayed using an interface whose display size can be changed by dragging and can be shrunk. The size of this interface is smaller than that of the resource configuration page. This application embodiment does not limit this.
[0156] Please see again Figure 4 ,like Figure 4 As shown in interface 402, user terminal 20A (i.e., the first terminal) can respond to an edit operation on text box 401a, updating the default distribution quantity (e.g., 4) to an updated distribution quantity 402a (i.e., the first updated distribution quantity, e.g., 5). Furthermore, user terminal 20A can respond to an edit operation on text box 401b, updating the remaining resource data (e.g., 9.1) of electronic resource package 20b to the total resource data 402b (e.g., 20). After setting, it can respond to a trigger operation on control 401e. Since the total resource data 402b is greater than the remaining resource data, an interface 403 (i.e., the resource transfer page) independent of interface 402 can be output. This interface 403 may include a verification control 403a, an account selection control 403b, and a transfer confirmation control 403c. Figure 4As shown, when the total resource data 402b is 20, the difference between the total resource data 402b and the remaining resource data of the aforementioned electronic resource package 20b is 10.90. Therefore, the difference resource data can be displayed as 10.90 in the interface 403. In other words, Object 1 needs to spend an additional amount of 10.90 to generate a second electronic resource package in the form of an electronic red envelope. Object 1 can select the verification method when transferring the difference resource data through the verification control 403a, including but not limited to using password verification, fingerprint verification, facial recognition verification, password-free verification, and other verification methods. Object 1 can select the account for spending the difference resource data through the account selection control 403b, such as cash, bank card, or other payment platforms. Finally, the user terminal 20A can respond to the trigger operation of the transfer confirmation control 403c and send the electronic resource package (i.e., the second electronic resource package) carrying the total resource data 402b (i.e., 10.90 + 9.10) to group A.
[0157] Optionally, the first client can respond to a second update configuration operation on the resource configuration page by displaying the second updated distribution quantity obtained after updating the default distribution quantity in the first text box, and the total resource data obtained after updating the remaining resource data in the second text box. Further, the first client can respond to a trigger operation on the distribution confirmation control in the resource configuration page by displaying a second electronic resource package containing the total resource data in the group display interface corresponding to the business object group when the total resource data is less than the remaining resource data. At this time, the distribution quantity of the second electronic resource package is the second updated distribution quantity, and the distribution quantity of the second electronic resource package can be less than or equal to the distribution quantity of the first electronic resource package, and the total resource data originates from the remaining resource data. In addition, resource data other than the total resource data in the remaining resource data can be returned to the object account of the first object, and a return notification message associated with the returned resource data (which can be called a third return notification message) can be displayed in the message notification interface. The object account of the first object can be the account used to send the first electronic resource package, or it can be other specified accounts; this embodiment does not limit this.
[0158] Please see again Figure 4 ,like Figure 4As shown in interface 404, user terminal 20A can respond to an edit operation on text box 401a by updating the default distribution quantity (e.g., 4) to an updated distribution quantity 404a (i.e., the second updated distribution quantity, e.g., 5). Furthermore, user terminal 20A can respond to an edit operation on text box 401b by updating the remaining resource data of electronic resource package 20b (e.g., funds of 9.1) to total resource data 404b (e.g., funds of 8.0). After setting, it can respond to a trigger operation on control 401e. Since the total resource data 404b is greater than the remaining resource data, the electronic resource package carrying the total resource data 404b (i.e., the second electronic resource package) can be directly sent to group A, and the unused resource data (e.g., funds of 1.1) can be returned to the object account of object 1. It can be understood that the total resource data 404b here is a portion of the remaining resource data of electronic resource package 20b.
[0159] The specific process for determining the default distribution quantity based on the activity level of business objects in the business object group and the distribution quantity of the first electronic resource package can be found in the following sections. Figure 5 The corresponding implementation examples.
[0160] It should be noted that in the specific implementation of this application, data related to receiving details, recording voice, video, etc. are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0161] As described above, the first object can use the unclaimed remaining resource data in the first electronic resource package to generate a new second electronic resource package and distribute it to the business object group. Compared with directly returning the remaining resource data to the first object's object account, the utilization rate of the remaining resource data can be improved because the remaining resource data is reused. In addition, the business objects in the business object group can also interact again through the newly generated second electronic resource package, thereby improving the interactivity between business objects and enriching the distribution methods of electronic resource packages.
[0162] For further information, please see [link / reference]. Figure 5 , Figure 5 This is a flowchart illustrating a data processing method based on an electronic resource package provided in an embodiment of this application. This data processing method can be executed by a computer device, which may include, for example... Figure 1 The user terminal or business server. For ease of understanding, this application embodiment uses the method executed by a first terminal as an example for illustration. The data processing method may include at least the following steps:
[0163] Step S201: When the distribution duration of the first electronic resource package issued by the first object in the business object group reaches the distribution time threshold, a business notification message associated with the remaining resource data in the first electronic resource package is displayed in the message notification interface of the first object.
[0164] The specific implementation process for this step can be found above. Figure 3 Step S101 in the corresponding embodiment will not be described again here.
[0165] Step S202: In response to the triggered operation for the business notification message, the first electronic resource package is displayed in the group display interface corresponding to the business object group;
[0166] The specific implementation process for this step can be found above. Figure 3 Step S102 in the corresponding embodiment will not be described again here.
[0167] Step S203: In response to the trigger operation for the first electronic resource package, output the collection details page corresponding to the first electronic resource package. The collection details page displays the collection details record associated with the second object in the business object group. The remaining resource data and the resource package status of the first electronic resource package are displayed on the remaining resource display page, which is independent of the collection details page.
[0168] The specific implementation process for this step can be found above. Figure 3 Step S103 in the corresponding embodiment will not be described again here.
[0169] Step S204: In response to the trigger operation of the resource loop control in the remaining resource display page, output the resource configuration page indicated by the resource loop control;
[0170] The specific implementation process for this step can be found above. Figure 3 Step S104 in the corresponding embodiment will not be described again here.
[0171] Step S205: In response to the configuration operation on the resource configuration page, the second electronic resource package matching the configuration operation is displayed in the group display interface corresponding to the business object group.
[0172] The specific implementation process for this step can be found above. Figure 3 Step S104 in the corresponding embodiment will not be described again here.
[0173] Step S206: When the total resource data is less than the resource data threshold, display an exception notification message on the resource configuration page;
[0174] Specifically, when the first terminal detects that the total resource data carried by the second electronic resource package is less than the resource data threshold, it can generate an error notification message and display it on the resource configuration page. The resource data threshold can be the sum of Y minimum resource data values, where minimum resource data refers to the minimum amount of resource data that can be allocated to each electronic resource package. Y is the number of second electronic resource packages issued, and Y can be a positive integer less than or equal to N. For example, assuming the minimum resource data is 0.01 and the number of second electronic resource packages issued is 5, then the total resource data carried by the second electronic resource package must be greater than or equal to 0.01 * 5 = 0.05, meaning the resource data threshold is 0.05. Therefore, when the total resource data (which can be set by the first object itself or configured by default) is detected to be less than 0.05, the first terminal will be proactively notified to remind it to modify the total resource data.
[0175] Step S207: In response to the triggered operation of the first resource return control in the resource configuration page, return the remaining resource data to the object account of the first object;
[0176] Specifically, the resource configuration page may also include a first resource return control corresponding to the issuance confirmation control (for example, the one mentioned above). Figure 4 As shown in the control 401f, the first terminal can, in response to a triggering operation (e.g., a click operation) on the first resource return control, return the remaining resource data to the object account of the first object, and can display a first return notification message associated with the remaining resource data in the message notification interface. Furthermore, in response to a triggering operation on the first return notification message, it can also display first return details information.
[0177] For ease of understanding, please refer to the following: Figure 6 , Figure 6 This is a schematic diagram illustrating a resource return scenario provided in an embodiment of this application. Combined with the above... Figure 4 The corresponding implementation examples, such as Figure 4 The interface 401 shown (i.e., the resource configuration page) includes control 401f (i.e., the first resource return control). User terminal 20A (i.e., the first terminal) can respond to a trigger operation on control 401f, such as... Figure 6The interface 601a (i.e., the message notification interface) displays a return notification message 601a (i.e., the first return notification message). In response to a triggering operation on this return notification message 601a, return details information (i.e., the first return details information) as shown in interface 602 can be displayed. The return notification message 601a can display the returned resource data (e.g., the refund amount is 9.10), the return method (i.e., the return path, e.g., refund to cash balance), the return reason (e.g., the business entity in group A did not collect all the resource data in the electronic resource package 20b within 24 hours), the arrival timestamp, and related remarks. The return details information can display more detailed resource return information to the first object. This may include, for example, the target resource data carried by the first electronic resource package (e.g., 50), the returned resource data (e.g., 9.10), the arrival timestamp, the current status (e.g., returned), the details associated with the first electronic resource package (which can be displayed by triggering the "View" control), the payment timestamp of the first electronic resource package, the payment method, the transaction number, and the merchant order number, etc. The return notification message 601a can be displayed in the form of a card, text, email, image, etc., and this embodiment does not limit the format.
[0178] Step S208: In response to the triggering operation of the second resource return control in the remaining resource display page, return the remaining resource data to the object account of the first object;
[0179] Specifically, the remaining resource display page may also include a second resource return control corresponding to the resource loop control (for example, the one mentioned above). Figure 2d As shown in control 207b), the first terminal can respond to a trigger operation on the second resource return control by returning the remaining resource data to the object account of the first object, and can display a second return notification message associated with the remaining resource data in the message notification interface. Furthermore, it can also respond to a trigger operation on the second return notification message by displaying second return details information.
[0180] Please refer to the above again. Figure 2d In combination with the above Figures 2a-2d The corresponding implementation examples, such as Figure 2d The interface 207 shown (i.e., the remaining resource display page) includes control 207b (i.e., the second resource return control). The user terminal 20A (i.e., the first terminal) can respond to a trigger operation on control 207b, such as... Figure 6 The interface 601 (i.e., the message notification interface) displays a rollback notification message 601a (i.e., the second rollback notification message). In response to a triggering operation on this rollback notification message 601a, rollback details information (i.e., the second rollback details information) as shown in interface 602 can be displayed. Figure 6For specific details in the corresponding embodiments, please refer to the description of step S207 above.
[0181] As can be seen from the above, the first object can return the remaining resource data to its own object account through the second resource return control or the second resource return control. This application embodiment does not limit which method is used.
[0182] Step S209: Determine the default distribution quantity based on the activity level of business objects in the business object group and the distribution quantity of the first electronic resource package;
[0183] Specifically, the first terminal can obtain the activity level of each business object in the business object group, and can use business objects whose activity level reaches the activity level threshold as target objects, and can determine the default distribution quantity based on the number of target objects and the distribution quantity of the first electronic resource package.
[0184] Optionally, if the number of target objects is less than or equal to the number of distributions of the first electronic resource package, the number of target objects can be used as the default distribution quantity. Conversely, if the number of target objects is greater than the number of distributions of the first electronic resource package, the number of distributions of the first electronic resource package can be used as the default distribution quantity.
[0185] Alternatively, the default distribution quantity can be determined based on the number of target objects and the number of first electronic resource packages received. Optionally, if the number of target objects is less than or equal to the number of first electronic resource packages received, the number of target objects can be used as the default distribution quantity. Conversely, if the number of target objects is greater than the number of first electronic resource packages received, the number of first electronic resource packages received can be used as the default distribution quantity.
[0186] It should be understood that the core metrics for activity levels can differ for different application clients. For example, for instant messaging applications, the core metric for activity levels can be the number of session message records generated by the business object; for video applications, the core metric for activity levels can be the video browsing behavior of the business object; and for gaming applications, the core metric for activity levels can be the duration of the game played by the business object.
[0187] Step S210: Determine the activity level of the business object based on its activity level.
[0188] In one implementation, the activity level of each business object can include the login duration and the number of session message records generated within that login duration. Therefore, the activity level (also known as the activity index) of each business object can be determined based on its login duration and the number of session message records generated within that login duration. The login duration can be calculated according to actual needs; for example, it can be calculated starting from midnight of the day.
[0189] Optionally, the activity level can include a first activity level (also known as silent), a second activity level (also known as lightly active), a third activity level (also known as moderately active), and a fourth activity level (also known as heavily active). The first activity level refers to an activity level where the login duration reaches a first login time threshold. For example, if business object S has not logged into the application client for more than 3 days, its activity level can be determined to be the first activity level. The second activity level refers to an activity level where the login duration reaches a second login time threshold. For example, if business object S has logged into the application client within 12 hours, its activity level can be determined to be the second activity level. The third activity level refers to an activity level where the login duration reaches a third login time threshold, and the number of session message records generated on the application client within the login duration reaches a first session count threshold. For example, if business object S has logged into the application client within 3 hours, and has generated session message records, or other browsing records, interaction records, etc. (not limited to business object groups), its activity level can be determined to be the third activity level. The fourth activity level refers to an activity level where the login duration reaches the fourth login time threshold, and the number of session message records sent within the login duration in the business object group reaches the second session number threshold. The fourth activity level is the same as the activity level when the aforementioned activity level reaches the activity threshold. For example, if it is detected that business object S has a login record on the application client within one hour, and generates session message records or other browsing and interaction records on the application client (including in the business object group), then the activity level of business object S can be determined to be the fourth activity level.
[0190] For example, suppose a business object group (e.g., group B) contains 20 business objects. The first electronic resource package (e.g., electronic resource package C1) is distributed in quantities of 7. After 24 hours (i.e., the distribution time of the first electronic resource package reaches the distribution time threshold), there are still 2 resource data that have not been distributed. The system will detect the activity index in the current group B. When it detects that there are 4 highly active business objects in group B, the system can automatically set the distribution quantity of the second electronic resource package (e.g., electronic resource package C2) to 4. When it detects that there are 8 highly active business objects in group B, the system can automatically set the distribution quantity of the second electronic resource package to the distribution quantity of the first electronic resource package, i.e., 7. This can improve the retrieval rate of the second electronic resource package and reduce the consumption of electronic resource packages.
[0191] As described above, the first object can utilize the unclaimed remaining resource data in the first electronic resource package to generate a new second electronic resource package and distribute it to the business object group. Compared to directly returning the remaining resource data to the first object's account, this secondary utilization of the remaining resource data improves its utilization rate. Simultaneously, business objects in the business object group can interact again through the newly generated second electronic resource package, thereby enhancing interactivity and enriching the distribution methods of electronic resource packages. Specifically, when generating the second electronic resource package, the system automatically inputs the distribution quantity and the resource data it carries, thus improving the generation efficiency of the second electronic resource package. Furthermore, this embodiment also supports the first object choosing to return the remaining resource data, thus enriching the processing methods for remaining resource data.
[0192] Please see Figure 7 , Figure 7 This is a flowchart illustrating a data processing method based on an electronic resource package provided in an embodiment of this application. This data processing method can be executed by a computer device, which may include, for example... Figure 1 The user terminal or business server. For ease of understanding, this application embodiment illustrates the method as being executed by a business server. This data processing method may include at least the following steps:
[0193] Step S301: When the distribution duration of the first electronic resource package issued by the first object in the business object group reaches the distribution time threshold, a business notification message associated with the remaining resource data in the first electronic resource package is sent to the application client associated with the first object.
[0194] Specifically, the business server can monitor the receipt of the first electronic resource package during the distribution period. When the distribution period of the first electronic resource package reaches the distribution time threshold, if it detects that there is remaining resource data in the first electronic resource package, it can generate a business notification message associated with the remaining resource data in the first electronic resource package and return it to the first terminal indicated by the object identifier (i.e., object id) of the first object, so that the application client (i.e., the first client) on the first terminal can display the business notification message in the message notification interface of the first object.
[0195] The number of the first electronic resource package issued can be less than, equal to, or greater than the number of business objects in the business object group. This application embodiment does not limit this. After the first client displays the business notification message in the message notification interface, it can respond to the triggered operation of the business notification message and display the first electronic resource package in the group display interface corresponding to the business object group. The specific process executed by the first client can be found above. Figure 3 Steps S101-S102 in the corresponding embodiments.
[0196] Step S302: Upon receiving a details retrieval request generated by the application client based on a trigger operation for the first electronic resource package, the retrieval details record associated with the second object in the business object group is returned to the application client;
[0197] Specifically, the first client can respond to a trigger operation on the first electronic resource package by generating a details retrieval request and sending it to the business server. Upon receiving the details retrieval request, the business server can retrieve the collection details record associated with the second object in the business object group and return it to the first client. This allows the first client to display the collection details record on the collection details page corresponding to the first electronic resource package, and also displays the remaining resource data on the remaining resource display page displayed on the collection details page. The specific process executed by the first client can be found above. Figure 3 The corresponding embodiment is step S103. Here, the second object refers to the business object in the business object group that performs the retrieval operation on the first electronic resource package.
[0198] Step S303: Receive the resource package generation instruction generated by the application client based on the trigger operation for the remaining resource data, generate a second electronic resource package according to the resource package generation instruction, and send the second electronic resource package to the business object group.
[0199] Specifically, the first client can respond to the trigger operation of the resource loop control in the remaining resource display page, generate a resource package generation instruction, and send the resource package generation instruction to the business server. The business server can receive the resource package generation instruction, and then generate a second electronic resource package according to the resource package generation instruction, and send the second electronic resource package to the business object group, so that the first client can display the second electronic resource package in the group display interface. The specific process of the first client execution can be found above. Figure 3 The corresponding embodiment is step S104. The remaining resource data contained in the second electronic resource package originates from the first electronic resource package. Optionally, the number of second electronic resource packages issued may be less than or equal to the number of first electronic resource packages issued.
[0200] When the first object chooses to add more resource data to the second electronic resource package, the business server can determine the newly added resource data (i.e., the difference in resource data) and automatically deduct it from the remaining resource data in the first electronic resource package on the resource transfer page. Therefore, the first object only needs to pay for the newly added resource data to complete the distribution of the second electronic resource package. Optionally, when the first object chooses to return the remaining resource data, the business server will directly return the remaining resource data in the first electronic resource package to the object account indicated by the object identifier of the first object. The first object can click on the return notification message to view the specific resource data transaction details.
[0201] As described above, when the first object distributes the electronic resource package in the business object group, the business server can monitor the receipt status of the electronic resource package in real time. For ease of understanding, the first electronic resource package is used as an example here. The processing method for other electronic resource packages (e.g., the second electronic resource package) can refer to the processing method of the business server for the first electronic resource package.
[0202] It is understandable that when the first object distributes the first electronic resource package in the business object group, the business server can store the resource package distribution record of the first electronic resource package in the business database and configure a distribution time threshold for the first electronic resource package. This resource package distribution record can include information associated with the first electronic resource package, such as the sender, receiver, distribution timestamp, carried resource data, and distribution quantity. Simultaneously, the business server can add a resource response record to the cache database associated with the first electronic resource package. This resource response record can be used to record the number of responding objects in the business object group that participated in responding to the first electronic resource package and the distribution quantity of the first electronic resource package. Optionally, the cache database can specifically be a Cache, which is a key-value (kv) database, memory-based, persistent, has a kernel-mode network processing module, and provides services as a kernel module.
[0203] Assuming there are K response objects, where K is a positive integer, when these K response objects trigger operations on the first electronic resource package, the business server can atomically subtract the distribution quantity of the first electronic resource package from the cache database to determine the second object among multiple response objects with the same resource identifier. It can be understood that when response objects compete for the same resource data, they can be marked with the same resource identifier. Therefore, response objects with the same resource identifier will conflict, meaning only one response object can ultimately obtain the resource data. For example, for multiple response objects with the same resource identifier, the business server can obtain the trigger timestamp of each response object for the first electronic resource package, and then select the response object with the smallest trigger timestamp as the second object. Specifically, when multiple response objects have both the same resource identifier and the same smallest trigger timestamp, one can be randomly selected from these response objects as the second object. Furthermore, in the business database, the business server can allocate the resource data carried by the first electronic resource package to the second object based on a resource allocation strategy, and can perform a resource quantity accumulation operation on the resource data allocated to the second object.
[0204] As described above, when a response object participates in responding to the first electronic resource package, the application client corresponding to the response object can respond to the trigger operation for the first electronic resource package by sending a resource package acquisition request to the business server. The business server can then determine M (M is a positive integer less than or equal to K) second objects from among the K response objects based on this resource package acquisition request, and allocate resource data to each second object. Optionally, in this embodiment, the business server can divide the acquisition of electronic resource packages into a grabbing operation and a splitting operation. The grabbing operation is completed at the Cache layer, and the number of electronic resource packages issued is reduced by an atomic decrement operation. When it decreases to 0, it means that all the packages have been grabbed. Ultimately, the actual amount of requests entering the background splitting operation is small. Therefore, by separating the operations, invalid requests can be directly blocked outside the Cache layer. The atomic decrement operation here is not a true atomic decrement operation, but rather a CAS (Compare And Swap) provided by the Cache layer. By comparing version numbers and continuously trying, a certain degree of conflict will occur. Conflicting response objects will be allowed to proceed to the next splitting operation. Therefore, in actual business, there may be situations where a response object grabs an electronic resource package but finds it has been completely claimed after splitting it. The splitting operation is completed in the business database. Through transaction operations in the business database, the number of resource data items already claimed by the second object in the first electronic resource package (i.e., the claimed quantity) and the corresponding claimed resource data are accumulated until the claimed quantity equals the distribution quantity of the first electronic resource package and the total claimed resource data equals the target resource data carried by the first electronic resource package, or the distribution duration of the first electronic resource package reaches the distribution time threshold, at which point the splitting operation stops. Furthermore, the business server can insert a claim record, and the accounting can be an asynchronous operation. When performing the splitting operation, the business server calculates the allocated resource data in real time. For example, when the first electronic resource package is a random resource package, the amount of each resource data item contained in the first electronic resource package can be a random number between 0.01 and twice the remaining average. For a random electronic resource package with a total amount of Z, the largest resource data item is Z*2 / N (and will not exceed Z). In addition, after splitting the first electronic resource package, the remaining resource data and the number of unclaimed resource data items are updated. Therefore, when the first object clicks on the first electronic resource package, the first client will request the collection details record associated with the second object from the business server. At this time, the business server can obtain the corresponding collection details record through the aforementioned atomic subtraction operation and resource quantity accumulation operation.
[0205] In this embodiment, it is assumed that the first electronic resource package carries N resource data, where N is the number of the first electronic resource package distributed; the number of second objects is M, where M is a positive integer less than N; one resource data corresponds to one second object; the N resource data include resource data i and resource data j, where i and j are both positive integers less than or equal to N; the M second objects include business object p and business object q, where p and q are both positive integers less than or equal to M; resource data i corresponds to business object p, and resource data j corresponds to business object q. Here, the allocation of resource data i and resource data j is used as an example for explanation: the business server can use the resource data carried by the first electronic resource package as the target resource data (e.g., funds of 10). Optionally, when the target resource data is greater than the resource data threshold, based on the first allocation strategy, N (e.g., 6) minimum resource data (e.g., funds of 0.01) are obtained from the target resource data. The sum of the N minimum resource data is equal to the resource data threshold, that is, resource data threshold = minimum resource data × N. This embodiment does not limit the specific value of the minimum resource data. Furthermore, the resource data in the target resource data, excluding the N lowest resource data, can be used as the resource data to be allocated. For example, after allocating the lowest resource data of 0.01 to each second object, the resource data to be allocated can be 10 - 0.01 × 6. Subsequently, based on the second allocation strategy, the first random resource data and the second random resource data are sequentially obtained from the resource data to be allocated in multiple allocation phases. Furthermore, when the resource data to be allocated is completed, the obtained first random resource data and one lowest resource data can be used as resource data i, and the obtained second random resource data and one lowest resource data can be used as resource data j. Finally, resource data i can be allocated to business object p, and resource data j can be allocated to business object q. In other words, when the target resource data is greater than the resource data threshold, in order to avoid some resource data being 0 due to insufficient target resource data, the business server can first allocate minimum resource data to each second object, and then use the resource data obtained by subtracting the sum of N minimum resource data from the target resource data as the resource data to be allocated. Subsequently, based on the already allocated minimum resource data, random resource data can be allocated to each second object in a loop. This may go through one or more allocation phases. In each allocation phase, the business server will update the resource data to be allocated until the resource data to be allocated is equal to 0, and the allocation process ends.
[0206] For example, suppose an electronic resource package carries 10 resource data points and distributes 6 units. The allocation results obtained in each allocation phase may be different. Taking the allocation results of allocation phases T1, T2, and T3 as examples, the allocation result corresponding to allocation phase T1 is [1,1,1,1,1,5]; the allocation result corresponding to allocation phase T2 is [2,1,1,1,2,3]; and the allocation result corresponding to allocation phase T3 is [1,2,2,2,1,2]. In actual business scenarios, there can be various resource allocation strategies and countless allocation results. This application embodiment is only an example of one feasible resource allocation strategy. Other different resource allocation strategies can also be used, and this application embodiment does not limit them. For example, for a song resource package, the business server can allocate resources based on the song score obtained by rating the songs entered by the second object.
[0207] Optionally, when the target resource data equals the resource data threshold, the business server can divide the target resource data into N equal parts, so that each resource data (e.g., resource data i and resource data j) in the first electronic resource package is equal to the minimum resource data.
[0208] Optionally, if the target resource data is less than the resource data threshold, and there is insufficient target resource data for allocation, the business server throws an exception and can send an exception notification message to the first client.
[0209] As described above, the first object can utilize the unclaimed remaining resource data in the first electronic resource package to generate a new second electronic resource package and distribute it to the business object group. Compared to directly returning the remaining resource data to the first object's account, this secondary utilization of the remaining resource data improves its utilization rate. Simultaneously, business objects in the business object group can interact again through the newly generated second electronic resource package, thereby enhancing interactivity and enriching the distribution methods of electronic resource packages. Specifically, when generating the second electronic resource package, the system automatically inputs the distribution quantity and the resource data it carries, thus improving the generation efficiency of the second electronic resource package. Furthermore, this embodiment also supports the first object choosing to return the remaining resource data, thus enriching the processing methods for remaining resource data.
[0210] For further information, please see [link / reference]. Figure 8 , Figure 8 This is a flowchart illustrating a data processing method based on an electronic resource package provided in an embodiment of this application. This data processing method can be executed by a computer device, which may include, for example... Figure 1The user terminal or business server. For ease of understanding, this application embodiment illustrates the method as being jointly executed by a business server and a user terminal. This data processing method may include at least the following steps:
[0211] In step S401, the first terminal can generate a first resource package generation instruction based on the dispatch operation performed by the first object, and send the first resource package generation instruction to the business server.
[0212] In step S402, after receiving the first resource package generation instruction, the business server can generate a first electronic resource package based on the first resource package generation instruction and send the first electronic resource package to the second terminal, wherein the business object corresponding to the second terminal belongs to the business object group to which the first object is located.
[0213] Step S403: The business server adds a resource package distribution record for the first electronic resource package to the business database and a resource response record for the first electronic resource package to the cache database. At the same time, it sets a distribution time threshold (also known as expiration time or invalidation time) for the first electronic resource package.
[0214] Step S404: After receiving the first electronic resource package, the second terminal can display the first electronic resource package in the group display interface corresponding to the business object group, and can respond to the trigger operation for the first electronic resource package to notify the business server to handle the conflict of multiple response objects participating in the response to the first electronic resource package.
[0215] In step S405, the business server performs an atomic decrement operation on the number of the first electronic resource package issued. Response objects with conflicts will be allowed to proceed, and the process will proceed to step S406 below.
[0216] In step S406, after the business server determines the second object among multiple response objects with the same resource identifier, it can allocate the resource data carried by the first electronic resource package to the second object in real time based on the resource allocation strategy, and perform a resource quantity accumulation operation on the resource data allocated to the second object.
[0217] Step S407: When the distribution time of the first electronic resource package reaches the distribution time threshold, the business server can detect the receipt status of the first electronic resource package, that is, detect whether there is still remaining resource data in the first electronic resource package. If there is no remaining resource data, the current processing flow ends; otherwise, if there is remaining resource data, proceed to the following step S408.
[0218] Step S408: When it is detected that there is remaining resource data in the first electronic resource package, the service server can return a service notification message associated with the remaining resource data to the first terminal;
[0219] Step S409: After receiving the service notification message, the first terminal can display the service notification message in the message notification interface of the first object. Then, in response to the trigger operation of the service notification message, it can automatically locate the distribution location of the first electronic resource package, that is, display the first electronic resource package in the display area corresponding to the distribution timestamp of the first electronic resource package in the group display interface.
[0220] In step S410, the first terminal responds to the triggering operation for the first electronic resource package by sending a details retrieval request to the business server;
[0221] In step S411, the business server can obtain the receipt details record associated with the second object based on the received details retrieval request, and return it to the first terminal;
[0222] In step S412, the first terminal can display the received collection details record on the collection details page corresponding to the first electronic resource package, and can also display the remaining resource data on a remaining resource display page that is independent of the collection details page;
[0223] In step S413, optionally, the first terminal may respond to the triggering operation of the resource loop control in the remaining resource display page, generate a second resource package generation instruction, and send the second resource package generation instruction to the business server.
[0224] In step S414, after receiving the second resource package generation instruction, the business server can generate a second electronic resource package based on the second resource package generation instruction and send the second electronic resource package to the second terminal. At this time, both the first terminal and the second terminal can display the second electronic resource package in their respective group display interfaces.
[0225] In step S415, optionally, the first terminal may generate a resource return instruction in response to a trigger operation on a resource return control (e.g., a first resource return control or a second resource return control), and send the resource return instruction to the business server.
[0226] In step S416, after receiving the resource return instruction, the business server can return the remaining resource data to the object account of the first object based on the resource return instruction, and return the return notification message associated with the remaining resource data (such as the first return notification message or the second return notification message) to the first terminal, so that the first terminal displays the return notification message in the message notification interface, and can display the corresponding return details information (such as the first return details information or the second return details information) in response to the trigger operation of the return notification message.
[0227] For the specific implementation process of the above steps, please refer to the above. Figures 3-7The descriptions in the corresponding embodiments will not be repeated here, nor will the descriptions of the beneficial effects of using the same method be repeated here.
[0228] Please see Figure 9 , Figure 9 This is a flowchart illustrating a data processing procedure based on electronic red envelopes, as provided in an embodiment of this application. This data processing procedure can be executed by a computer device, which may include, for example... Figure 1 The user terminal or service server. For ease of understanding, this application embodiment illustrates the process as being jointly executed by the service server and the user terminal. This data processing process can be as described above. Figure 8 In a specific embodiment, namely the scenario where the electronic resource package is an electronic red envelope, the data processing procedure may include at least the following steps:
[0229] Step S501: The first client on the first terminal distributes electronic red envelopes (e.g., lucky draw red envelopes) in the business object group;
[0230] Step S502: The business server checks the receipt status of electronic red envelopes within 24 hours;
[0231] In step S503, when the business server detects that there are remaining unclaimed red envelopes (i.e., there is remaining resource data in the electronic red envelopes), it returns a business notification message to the first client.
[0232] Step S504: When the first object clicks on the business notification message, the first client automatically locates the distribution location of the electronic red envelope;
[0233] Step S505: When the first object clicks on the electronic red envelope, the first client displays the redemption details record corresponding to the electronic red envelope on the redemption details page, and outputs a remaining resource display page independent of the redemption details page. The remaining resource display page can be a pop-up window.
[0234] In step S506, the first client displays the remaining amount of the red envelope (i.e., the remaining resource data) through a pop-up window display page and responds to the operation performed by the first object;
[0235] In step S507, when the first client detects that the first object has chosen to send an electronic red envelope again, the red envelope sending interface (i.e., the resource configuration page) is invoked.
[0236] Step S508: The business server determines the number of active users (i.e., the number of target users) in the business object group and automatically inputs the corresponding distribution quantity and total resource data.
[0237] In step S509, the first object can add resource data to the new electronic red envelope, or choose to return it to its own account, such as returning it to its cash balance.
[0238] For the specific implementation process of the above steps, please refer to the above. Figures 3-7 The descriptions in the corresponding embodiments will not be repeated here, nor will the descriptions of the beneficial effects of using the same method be repeated here.
[0239] Please see Figure 10 This is a schematic diagram of a data processing device based on an electronic resource package provided in an embodiment of this application. The data processing device based on the electronic resource package can be a computer program (including program code) running on a computer device; for example, the data processing device based on the electronic resource package is an application software, and the computer device can be a user terminal. This device can be used to execute corresponding steps in the data processing method based on the electronic resource package provided in the embodiments of this application. Figure 10 As shown, the data processing device 1 based on the electronic resource package may include: a first display module 11, a second display module 12, a third display module 13, a fourth display module 14, a first return module 15, a second return module 16, an exception notification module 17, a third return module 18, an active quantity determination module 19, and an activity level determination module 20.
[0240] The first display module 11 is used to display a business notification message associated with the remaining resource data in the first electronic resource package in the message notification interface of the first object when the distribution time of the first electronic resource package distributed by the first object in the business object group reaches the distribution time threshold.
[0241] The first electronic resource package carries N resource data, where N is the number of the first electronic resource package distributed; the first display module 11 may include: a duration recording unit 111, a text display unit 112, a quantity acquisition unit 113, and a message display unit 114.
[0242] The duration recording unit 111 is used to record the distribution duration of the first electronic resource package when the first electronic resource package is displayed in the business object group where the first object is located;
[0243] The text display unit 112 is used to display the receipt text information to the first object in the group display interface corresponding to the business object group during the distribution period; the receipt text information is generated by the second object in the business object group after performing the receipt operation on the first electronic resource package;
[0244] The quantity acquisition unit 113 is used to acquire the number of receipt text messages associated with the first electronic resource package when the distribution time reaches the distribution time threshold of the first electronic resource package; the number of receipt text messages is M, where M is a positive integer less than N;
[0245] The message display unit 114 is used to, when taking the resource data indicated by M retrieval text messages as the retrieval resource data from N resource data, take the resource data other than the retrieval resource data from the N resource data as the remaining resource data of the first electronic resource package, and display the business notification message associated with the remaining resource data in the message notification interface of the first object.
[0246] The specific implementation methods of the duration recording unit 111, text display unit 112, quantity acquisition unit 113, and message display unit 114 can be found above. Figure 3 The description of step S101 in the corresponding embodiments will not be repeated here.
[0247] The second display module 12 is used to display the first electronic resource package in the group display interface corresponding to the business object group in response to the triggered operation of the business notification message.
[0248] The second display module 12 may include: a first output unit 121 and a region display unit 122;
[0249] The first output unit 121 is used to respond to the triggered operation of the business notification message and output the group display interface corresponding to the business object group.
[0250] The area display unit 122 is used to display the display area corresponding to the distribution timestamp of the first electronic resource package in the group display interface, and to display the first electronic resource package in the display area.
[0251] The specific implementation methods of the first output unit 121 and the area display unit 122 can be found in the above description. Figure 3 The description of step S102 in the corresponding embodiments will not be repeated here.
[0252] The third display module 13 is used to respond to the trigger operation for the first electronic resource package, output the redemption details page corresponding to the first electronic resource package, and display the remaining resource data on the redemption details page;
[0253] The third display module 13 may include: a second output unit 131 and a third output unit 132;
[0254] The second output unit 131 is used to respond to a trigger operation for the first electronic resource package and output the collection details page corresponding to the first electronic resource package. The collection details page is used to display collection details records associated with M second objects in the business object group. Each collection details record includes the collection resource data corresponding to a second object. The collection details record is obtained by the business server based on an atomic subtraction operation on the distribution quantity of the first electronic resource package and a resource quantity accumulation operation on the collection resource data corresponding to each second object. The atomic subtraction operation is used to handle conflicts in the cache database for response objects participating in responding to the first electronic resource package. The second object is determined by the business server among multiple response objects with the same resource identifier.
[0255] The third output unit 132 is used to output a remaining resource display page independent of the claim details page. The remaining resource display page displays the remaining resource data and the resource package status of the first electronic resource package. The resource package status of the first electronic resource package is determined by the distribution time threshold.
[0256] The specific implementation methods of the second output unit 131 and the third output unit 132 can be found in the above description. Figure 3 The description of step S103 in the corresponding embodiments will not be repeated here.
[0257] The fourth display module 14 is used to display the second electronic resource package in the group display interface corresponding to the business object group in response to the trigger operation for the remaining resource data; the remaining resource data contained in the second electronic resource package comes from the first electronic resource package;
[0258] The fourth display module 14 may include: a fourth output unit 141 and a resource package display unit 142;
[0259] The fourth output unit 141 is used to output the resource configuration page indicated by the resource loop control in response to a trigger operation on the resource loop control in the remaining resource display page.
[0260] The resource package display unit 142 is used to display a second electronic resource package that matches the configuration operation in the group display interface corresponding to the business object group in response to the configuration operation on the resource configuration page.
[0261] The resource package display unit 142 may include: a first configuration subunit 1421, a first display subunit 1422, a second configuration subunit 1423, a second display subunit 1424, a third display subunit 1425, a third configuration subunit 1426, and a fourth display subunit 1427.
[0262] The first configuration subunit 1421 is used to respond to the default configuration operation for the resource configuration page, display the default distribution quantity in the first text box of the resource configuration page, and display the total resource data in the second text box of the resource configuration page; the default distribution quantity is determined based on the activity level of the business objects in the business object group and the distribution quantity of the first electronic resource package;
[0263] The first display subunit 1422 is used to respond to the trigger operation of the distribution confirmation control in the resource configuration page. When the total resource data is equal to the remaining resource data, the second electronic resource package containing the remaining resource data is displayed in the group display interface corresponding to the business object group. The distribution quantity of the second electronic resource package is the default distribution quantity, and the distribution quantity of the second electronic resource package is less than or equal to the distribution quantity of the first electronic resource package.
[0264] The resource configuration page includes a first text box for displaying the default distribution quantity and a second text box for displaying the remaining resource data; the default distribution quantity is determined based on the activity level of business objects in the business object group and the distribution quantity of the first electronic resource package.
[0265] The second configuration subunit 1423 is used to respond to the first update configuration operation for the resource configuration page, display the first updated distribution quantity obtained after updating the default distribution quantity in the first text box, and display the total resource data obtained after updating the remaining resource data in the second text box.
[0266] The second display subunit 1424 is used to respond to the trigger operation of the distribution confirmation control in the resource configuration page. When the total resource data is greater than the remaining resource data, it outputs a resource transfer page independent of the resource configuration page and displays the difference resource data in the resource transfer page. The difference resource data is the difference between the total resource data and the remaining resource data.
[0267] The third display subunit 1425 is used to respond to the transfer operation for the resource transfer page and display a second electronic resource package containing differential resource data and remaining resource data in the group display interface corresponding to the business object group; the distribution quantity of the second electronic resource package is the first update distribution quantity, and the distribution quantity of the second electronic resource package is less than or equal to the distribution quantity of the first electronic resource package.
[0268] The third configuration subunit 1426 is used to respond to the second update configuration operation for the resource configuration page, display the second updated distribution quantity obtained after updating the default distribution quantity in the first text box, and display the total resource data obtained after updating the remaining resource data in the second text box.
[0269] The fourth display subunit 1427 is used to respond to the trigger operation of the distribution confirmation control in the resource configuration page. When the total resource data is less than the remaining resource data, the second electronic resource package containing the total resource data is displayed in the group display interface corresponding to the business object group. The distribution quantity of the second electronic resource package is the second updated distribution quantity, and the distribution quantity of the second electronic resource package is less than or equal to the distribution quantity of the first electronic resource package. The total resource data comes from the remaining resource data.
[0270] The specific implementation methods of the first configuration subunit 1421, the first display subunit 1422, the second configuration subunit 1423, the second display subunit 1424, the third display subunit 1425, the third configuration subunit 1426, and the fourth display subunit 1427 can be found above. Figure 3 The description of step S104 in the corresponding embodiment will not be repeated here.
[0271] The specific implementation methods of the fourth output unit 141 and the resource package display unit 142 can be found in the above description. Figure 3 The description of step S104 in the corresponding embodiment will not be repeated here.
[0272] The first return module 15 is used to return the remaining resource data, excluding the total resource data, to the object account of the first object; the object account of the first object is the account used to send the first electronic resource package.
[0273] The resource configuration page also includes a first resource return control corresponding to the issuance confirmation control;
[0274] The second rollback module 16 is used to respond to the trigger operation of the first resource rollback control, roll back the remaining resource data to the object account of the first object, and display the first rollback notification message associated with the remaining resource data in the message notification interface; and to respond to the trigger operation of the first rollback notification message, display the first rollback details information.
[0275] The exception notification module 17 is used to display an exception notification message on the resource configuration page when the total resource data is less than the resource data threshold.
[0276] The remaining resources display page also includes a second resource return control corresponding to the resource loop control;
[0277] The third rollback module 18 is used to respond to the trigger operation of the second resource rollback control, roll back the remaining resource data to the object account of the first object, and display a second rollback notification message associated with the remaining resource data in the message notification interface; and to respond to the trigger operation of the second rollback notification message, display the second rollback details information.
[0278] The active quantity determination module 19 is used to obtain the activity level of each business object in the business object group, and to select business objects whose activity level reaches the activity level threshold as target objects; if the number of target objects is less than or equal to the number of first electronic resource packages distributed, the number of target objects is used as the default distribution quantity; if the number of target objects is greater than the number of first electronic resource packages distributed, the number of first electronic resource packages distributed is used as the default distribution quantity.
[0279] The activity level of each business object includes the login duration of each business object and the number of session message records generated within the login duration;
[0280] The activity level determination module 20 is used to determine the activity level of each business object based on the login duration and the number of session message records generated within the login duration. The activity level includes a first activity level, a second activity level, a third activity level, and a fourth activity level. The first activity level refers to the activity level when the login duration reaches a first login time threshold. The second activity level refers to the activity level when the login duration reaches a second login time threshold. The third activity level refers to the activity level when the login duration reaches a third login time threshold and the number of session message records generated on the application client within the login duration reaches a first session number threshold. The fourth activity level refers to the activity level when the login duration reaches a fourth login time threshold and the number of session message records sent in the business object group within the login duration reaches a second session number threshold. The fourth activity level is the activity level when the activity level reaches an activity level threshold.
[0281] The specific implementation methods of the first display module 11, the second display module 12, the third display module 13, the fourth display module 14, the first return module 15, the second return module 16, the exception notification module 17, the third return module 18, the active quantity determination module 19, and the activity level determination module 20 can be found above. Figure 3 The corresponding embodiments and the above Figure 5 The descriptions in the corresponding embodiments will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated.
[0282] Please see Figure 11 This is a schematic diagram of a data processing device based on an electronic resource package provided in an embodiment of this application. The data processing device based on the electronic resource package can be a computer program (including program code) running on a computer device; for example, the data processing device based on the electronic resource package is application software, and the computer device can be a business server. This device can be used to execute corresponding steps in the data processing method based on the electronic resource package provided in the embodiments of this application. Figure 11As shown, the data processing device 2 based on electronic resource packages may include: a message notification module 21, a details acquisition module 22, a resource package generation module 23, a first storage module 24, a second storage module 25, a conflict handling module 26, and a resource allocation module 27;
[0283] The message notification module 21 is used to send a business notification message associated with the remaining resource data in the first electronic resource package to the application client associated with the first object when the distribution time of the first electronic resource package distributed by the first object in the business object group reaches the distribution time threshold, so that the application client displays the business notification message in the message notification interface of the first object; the application client is used to respond to the trigger operation of the business notification message and display the first electronic resource package in the group display interface corresponding to the business object group;
[0284] The details acquisition module 22 is used to return the collection details record associated with the second object in the business object group to the application client when it receives the details acquisition request generated by the application client based on the trigger operation for the first electronic resource package, so that the application client can display the collection details record in the collection details page corresponding to the first electronic resource package, and display the remaining resource data on the collection details page; the second object refers to the business object in the business object group that performs the collection operation on the first electronic resource package;
[0285] The resource package generation module 23 is used to receive the resource package generation instruction generated by the application client based on the trigger operation for the remaining resource data, generate a second electronic resource package according to the resource package generation instruction, and send the second electronic resource package to the business object group so that the application client can display the second electronic resource package in the group display interface; the remaining resource data contained in the second electronic resource package comes from the first electronic resource package;
[0286] The first storage module 24 is used to store the resource package distribution record of the first electronic resource package in the business database when the first object distributes the first electronic resource package in the business object group, and to configure the distribution time threshold for the first electronic resource package.
[0287] The second storage module 25 is used to add resource response records to the cache database associated with the first electronic resource package; the resource response record is used to record the number of response objects in the business object group that participate in responding to the first electronic resource package; the number of response objects is K, where K is a positive integer;
[0288] The conflict resolution module 26 is used to determine the second object among multiple response objects with the same resource identifier in the K response objects when the K response objects perform a trigger operation on the first electronic resource package by performing an atomic decrement operation on the distribution quantity of the first electronic resource package in the cache database.
[0289] The resource allocation module 27 is used to allocate resource data carried by the first electronic resource package to the second object in the business database based on the resource allocation strategy, and to perform a resource quantity accumulation operation on the resource data allocated to the second object.
[0290] The first electronic resource package carries N resource data items, where N is the number of first electronic resource packages distributed; the number of second objects is M, where M is a positive integer less than N; one resource data item corresponds to one second object; the N resource data items include resource data i and resource data j, where i and j are both positive integers less than or equal to N; the M second objects include business object p and business object q, where p and q are both positive integers less than or equal to M; resource data i corresponds to business object p, and resource data j corresponds to business object q.
[0291] The resource allocation module 27 may include: a first allocation unit 271, a second allocation unit 272, and a third allocation unit 273;
[0292] The first allocation unit 271 is used to take the resource data carried by the first electronic resource package as the target resource data. When the target resource data is greater than the resource data threshold, it obtains N minimum resource data from the target resource data based on the first allocation strategy. The sum of the N minimum resource data is equal to the resource data threshold.
[0293] The second allocation unit 272 is used to take the resource data other than the N lowest resource data in the target resource data as the resource data to be allocated, and based on the second allocation strategy, sequentially obtain the first random resource data and the second random resource data from the resource data to be allocated in the multi-round allocation stage.
[0294] The third allocation unit 273 is used to, when the allocation of the resource data to be allocated is completed, use the first random resource data and the lowest resource data obtained as resource data i, and use the second random resource data and the lowest resource data obtained as resource data j; allocate resource data i to business object p, and allocate resource data j to business object q.
[0295] The specific implementation methods of the first allocation unit 271, the second allocation unit 272, and the third allocation unit 273 can be found in the above description. Figure 7 The description of step S303 in the corresponding embodiment will not be repeated here.
[0296] The specific implementation methods of the message notification module 21, the details acquisition module 22, the resource package generation module 23, the first storage module 24, the second storage module 25, the conflict handling module 26, and the resource allocation module 27 can be found above. Figure 7The descriptions of steps S301-S303 in the corresponding embodiments will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated.
[0297] Please see Figure 12 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 12 As shown, the computer device 1000 may include a processor 1001, a network interface 1004, and a memory 1005. Furthermore, the computer device 1000 may also include a user interface 1003 and at least one communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as at least one disk storage device. Optionally, the memory 1005 may also be at least one storage device located remotely from the processor 1001. Figure 12 As shown, the memory 1005, which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a device control application.
[0298] In such Figure 12 In the computer device 1000 shown, the network interface 1004 provides network communication functionality; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to execute the aforementioned... Figure 3 , Figure 5 , Figure 7 , Figure 8 The description of the data processing method based on the electronic resource package in any corresponding embodiment will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated.
[0299] Furthermore, it should be noted that this application embodiment also provides a computer-readable storage medium, which stores a computer program executed by the aforementioned data processing device 1 or data processing device 2 based on an electronic resource package. The computer program includes program instructions, and when the processor executes the program instructions, it can execute the aforementioned... Figure 3 , Figure 5 , Figure 7 , Figure 8The description of the data processing method based on electronic resource packages in any corresponding embodiment is already provided and will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated. For technical details not disclosed in the computer-readable storage medium embodiments related to this application, please refer to the description of the method embodiments of this application.
[0300] The aforementioned computer-readable storage medium can be an internal storage unit of the data processing apparatus based on an electronic resource package provided in any of the foregoing embodiments, or an internal storage unit of the aforementioned computer device, such as a hard disk or memory of the computer device. The computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device. Furthermore, the computer-readable storage medium can include both internal storage units and external storage devices of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0301] Furthermore, it should be noted that this application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned... Figure 3 , Figure 5 , Figure 7 , Figure 8 The method is provided in any of the corresponding embodiments. Furthermore, the beneficial effects of using the same method will not be repeated here. For technical details not disclosed in the computer program products or computer program embodiments involved in this application, please refer to the description of the method embodiments of this application.
[0302] For further details, please see Figure 13 , Figure 13 This is a schematic diagram of the structure of a data processing system provided in an embodiment of this application. The data processing system 3 may include a data processing device 1a and a data processing device 2a. The data processing device 1a may be the one described above. Figure 10 The data processing device 1 based on the electronic resource package in the corresponding embodiment can be understood to be integrated into the above-mentioned... Figures 2a-2d The user terminal 20A in the corresponding embodiment will not be described in detail here. The data processing device 2a can be the one described above. Figure 11 The data processing device 2 based on the electronic resource package in the corresponding embodiment can be understood to be integrated into the above-mentioned... Figures 2a-2d The business server 20 in the corresponding embodiment will not be described again here. Furthermore, the beneficial effects of using the same method will also not be described again. For technical details not disclosed in the data processing system embodiments of this application, please refer to the description of the method embodiments of this application.
[0303] The terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the term "comprising," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other step units inherent to these processes, methods, apparatuses, products, or devices.
[0304] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0305] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A data processing method based on electronic resource packages, characterized in that, The method is executed by the application client and includes: When the distribution time of the first electronic resource package issued by the first object in the business object group reaches the distribution time threshold, a business notification message associated with the remaining resource data in the first electronic resource package is displayed in the message notification interface of the first object. In response to a triggered operation for the business notification message, the first electronic resource package is displayed in the group display interface corresponding to the business object group; In response to a trigger operation on the first electronic resource package, a claim details page corresponding to the first electronic resource package is output, and the remaining resource data is displayed on the claim details page; In response to a triggered operation on the remaining resource data, a second electronic resource package is displayed in the group display interface corresponding to the business object group; the remaining resource data contained in the second electronic resource package originates from the first electronic resource package.
2. The method according to claim 1, characterized in that, The first electronic resource package carries N resource data, where N is the number of the first electronic resource packages distributed. When the distribution duration of the first electronic resource package issued by the first object in the business object group reaches the distribution time threshold, a business notification message associated with the remaining resource data in the first electronic resource package is displayed in the message notification interface of the first object, including: When the first electronic resource package is displayed in the business object group where the first object is located, the distribution duration of the first electronic resource package is recorded; During the distribution period, the first object is shown a claim text information in the group display interface corresponding to the business object group; the claim text information is generated by the second object in the business object group after performing a claim operation on the first electronic resource package; When the distribution duration reaches the distribution time threshold of the first electronic resource package, the number of claim text messages associated with the first electronic resource package is obtained; the number of claim text messages is M, where M is a positive integer less than N. When the resource data indicated by M collection text messages is used as the collection resource data among the N resource data, the resource data other than the collection resource data is used as the remaining resource data of the first electronic resource package among the N resource data, and the business notification message associated with the remaining resource data is displayed in the message notification interface of the first object.
3. The method according to claim 1, characterized in that, The step of displaying the first electronic resource package in the group display interface corresponding to the business object group in response to the triggered operation of the business notification message includes: In response to the triggered operation of the business notification message, the group display interface corresponding to the business object group is output; The group display interface displays a display area corresponding to the distribution timestamp of the first electronic resource package, and the first electronic resource package is displayed in the display area.
4. The method according to claim 2, characterized in that, In response to a trigger operation on the first electronic resource package, the method of outputting a claim details page corresponding to the first electronic resource package and displaying the remaining resource data on the claim details page includes: In response to a trigger operation on the first electronic resource package, a claim details page corresponding to the first electronic resource package is output. The claim details page is used to display claim details records associated with M second objects in the business object group. Each claim details record includes the claim resource data corresponding to a second object. The claim details record is obtained by the business server based on an atomic subtraction operation on the distribution quantity of the first electronic resource package and a resource quantity accumulation operation on the claim resource data corresponding to each second object. The atomic subtraction operation is used to handle conflicts in the cache database for response objects participating in responding to the first electronic resource package. The second object is determined by the business server from multiple response objects with the same resource identifier. Output a remaining resource display page independent of the claim details page, displaying the remaining resource data and the resource package status of the first electronic resource package; the resource package status of the first electronic resource package is determined by the distribution time threshold.
5. The method according to claim 4, characterized in that, The step of displaying a second electronic resource package in the group display interface corresponding to the business object group in response to a triggered operation on the remaining resource data includes: In response to a trigger operation on the resource loop control in the remaining resource display page, the resource configuration page indicated by the resource loop control is output; In response to a configuration operation on the resource configuration page, a second electronic resource package matching the configuration operation is displayed in the group display interface corresponding to the business object group.
6. The method according to claim 5, characterized in that, The step of displaying a second electronic resource package matching the configuration operation in the group display interface corresponding to the business object group in response to the configuration operation includes: In response to the default configuration operation for the resource configuration page, the default distribution quantity is displayed in the first text box of the resource configuration page, and the total resource data is displayed in the second text box of the resource configuration page; the default distribution quantity is determined based on the activity level of the business objects in the business object group and the distribution quantity of the first electronic resource package; In response to the triggering operation of the distribution confirmation control on the resource configuration page, when the total resource data equals the remaining resource data, a second electronic resource package containing the remaining resource data is displayed in the group display interface corresponding to the business object group; the distribution quantity of the second electronic resource package is the default distribution quantity, and the distribution quantity of the second electronic resource package is less than or equal to the distribution quantity of the first electronic resource package.
7. The method according to claim 5, characterized in that, The resource configuration page includes a first text box for displaying the default distribution quantity and a second text box for displaying the remaining resource data; the default distribution quantity is determined based on the activity level of the business objects in the business object group and the distribution quantity of the first electronic resource package; The step of displaying a second electronic resource package matching the configuration operation in the group display interface corresponding to the business object group in response to the configuration operation includes: In response to the first update configuration operation on the resource configuration page, the first updated distribution quantity obtained after updating the default distribution quantity is displayed in the first text box, and the total resource data obtained after updating the remaining resource data is displayed in the second text box; In response to a triggering operation of the distribution confirmation control on the resource configuration page, when the total resource data is greater than the remaining resource data, a resource transfer page independent of the resource configuration page is output, and the difference resource data is displayed on the resource transfer page; the difference resource data is the difference between the total resource data and the remaining resource data. In response to the transfer operation on the resource transfer page, a second electronic resource package containing the difference resource data and the remaining resource data is displayed in the group display interface corresponding to the business object group; the distribution quantity of the second electronic resource package is the first updated distribution quantity, and the distribution quantity of the second electronic resource package is less than or equal to the distribution quantity of the first electronic resource package.
8. The method according to claim 5, characterized in that, The resource configuration page includes a first text box for displaying the default distribution quantity and a second text box for displaying the remaining resource data; the default distribution quantity is determined based on the activity level of the business objects in the business object group and the distribution quantity of the first electronic resource package; The step of displaying a second electronic resource package matching the configuration operation in the group display interface corresponding to the business object group in response to the configuration operation includes: In response to the second update configuration operation on the resource configuration page, the second updated distribution quantity obtained after updating the default distribution quantity is displayed in the first text box, and the total resource data obtained after updating the remaining resource data is displayed in the second text box; In response to the triggering operation of the distribution confirmation control on the resource configuration page, when the total resource data is less than the remaining resource data, a second electronic resource package containing the total resource data is displayed in the group display interface corresponding to the business object group; the distribution quantity of the second electronic resource package is the second updated distribution quantity, and the distribution quantity of the second electronic resource package is less than or equal to the distribution quantity of the first electronic resource package; the total resource data is derived from the remaining resource data.
9. The method according to claim 8, characterized in that, Also includes: Return the remaining resource data, excluding the total resource data, to the object account of the first object; The object account of the first object is the account used to send the first electronic resource package.
10. The method according to any one of claims 6-8, characterized in that, The resource configuration page also includes a first resource return control corresponding to the issuance confirmation control; the method further includes: In response to a trigger operation on the first resource return control, the remaining resource data is returned to the object account of the first object, and a first return notification message associated with the remaining resource data is displayed in the message notification interface; In response to the triggered operation of the first rollback notification message, the first rollback details are displayed.
11. The method according to any one of claims 6-8, characterized in that, Also includes: When the total resource data is less than the resource data threshold, an exception notification message is displayed on the resource configuration page.
12. The method according to claim 5, characterized in that, The remaining resource display page also includes a second resource return control corresponding to the resource loop control; the method further includes: In response to a trigger operation on the second resource return control, the remaining resource data is returned to the object account of the first object, and a second return notification message associated with the remaining resource data is displayed in the message notification interface; In response to the triggered action of the second rollback notification message, the second rollback details are displayed.
13. The method according to any one of claims 6-8, characterized in that, Also includes: Obtain the activity level of each business object in the business object group, and select the business objects whose activity level reaches the activity threshold as target objects; If the number of target objects is less than or equal to the number of the first electronic resource package distributed, then the number of target objects shall be used as the default distribution quantity. If the number of target objects is greater than the number of the first electronic resource package distributed, then the number of the first electronic resource package distributed will be used as the default distribution number.
14. The method according to claim 13, characterized in that, The activity level of each business object includes the login duration of each business object and the number of session message records generated within the login duration; The method further includes: Based on the login duration of each business object and the number of session message records generated within the login duration, the activity level of each business object is determined. The activity level includes a first activity level, a second activity level, a third activity level, and a fourth activity level. The first activity level refers to the activity level when the login duration reaches a first login time threshold. The second activity level refers to the activity level when the login duration reaches a second login time threshold. The third activity level refers to the activity level when the login duration reaches a third login time threshold and the number of session message records generated on the application client within the login duration reaches a first session number threshold. The fourth activity level refers to the activity level when the login duration reaches a fourth login time threshold and the number of session message records sent in the business object group within the login duration reaches a second session number threshold. The fourth activity level is the activity level when the activity level reaches the activity threshold.
15. A data processing method based on electronic resource packages, characterized in that, The method is executed by the business server and includes: When the distribution duration of the first electronic resource package issued by the first object in the business object group reaches the distribution time threshold, a business notification message associated with the remaining resource data in the first electronic resource package is sent to the application client associated with the first object, so that the application client displays the business notification message in the message notification interface of the first object; the application client is used to respond to the trigger operation of the business notification message and display the first electronic resource package in the group display interface corresponding to the business object group; Upon receiving a details retrieval request generated by the application client based on a trigger operation for the first electronic resource package, the application client returns the retrieval details record associated with the second object in the business object group to the application client, so that the application client displays the retrieval details record on the retrieval details page corresponding to the first electronic resource package, and displays the remaining resource data on the retrieval details page; the second object refers to the business object in the business object group that performed the retrieval operation for the first electronic resource package; The system receives a resource package generation instruction generated by the application client based on a trigger operation targeting the remaining resource data, generates a second electronic resource package according to the resource package generation instruction, and sends the second electronic resource package to the business object group so that the application client displays the second electronic resource package in the group display interface; the remaining resource data contained in the second electronic resource package originates from the first electronic resource package.
16. The method according to claim 15, characterized in that, Also includes: When the first object distributes the first electronic resource package in the business object group, the resource package distribution record of the first electronic resource package is stored in the business database, and the distribution time threshold is configured for the first electronic resource package; A resource response record is added to the cache database associated with the first electronic resource package; the resource response record is used to record the number of response objects in the business object group that participate in responding to the first electronic resource package; the number of response objects is K, where K is a positive integer; When K response objects perform a trigger operation on the first electronic resource package, the second object is determined from multiple response objects with the same resource identifier by performing an atomic decrement operation on the distribution quantity of the first electronic resource package in the cache database. In the business database, based on the resource allocation strategy, resource data carried by the first electronic resource package is allocated to the second object, and the resource quantity of the resource data allocated to the second object is accumulated.
17. The method according to claim 16, characterized in that, The first electronic resource package carries N resource data items, where N is the number of the first electronic resource packages distributed; the number of second objects is M, where M is a positive integer less than N; one resource data item corresponds to one second object; the N resource data items include resource data i and resource data j, where i and j are both positive integers less than or equal to N; the M second objects include business object p and business object q, where p and q are both positive integers less than or equal to M; resource data i corresponds to business object p, and resource data j corresponds to business object q; The allocation of resource data carried in the first electronic resource package to the second object based on the resource allocation strategy includes: The resource data carried in the first electronic resource package is used as the target resource data. When the target resource data is greater than the resource data threshold, N minimum resource data are obtained from the target resource data based on the first allocation strategy. The sum of the N minimum resource data is equal to the resource data threshold. The resource data other than the N lowest resource data in the target resource data are taken as the resource data to be allocated. Based on the second allocation strategy, the first random resource data and the second random resource data are obtained sequentially from the resource data to be allocated in the multi-round allocation phase. When the allocation of the resource data to be allocated is completed, the first random resource data and the lowest resource data obtained are used as the resource data i, and the second random resource data and the lowest resource data obtained are used as the resource data j; The resource data i is assigned to the business object p, and the resource data j is assigned to the business object q.
18. A data processing device based on an electronic resource package, characterized in that, include: The first display module is used to display a business notification message associated with the remaining resource data in the first electronic resource package in the message notification interface of the first object when the distribution time of the first electronic resource package distributed by the first object in the business object group reaches the distribution time threshold. The second display module is used to display the first electronic resource package in the group display interface corresponding to the business object group in response to the trigger operation of the business notification message; The third display module is used to respond to the trigger operation for the first electronic resource package, output the redemption details page corresponding to the first electronic resource package, and display the remaining resource data on the redemption details page; The fourth display module is used to display the second electronic resource package in the group display interface corresponding to the business object group in response to a trigger operation on the remaining resource data; the remaining resource data contained in the second electronic resource package originates from the first electronic resource package.
19. A data processing device based on an electronic resource package, characterized in that, include: The message notification module is used to send a business notification message associated with the remaining resource data in the first electronic resource package to the application client associated with the first object when the distribution duration of the first electronic resource package distributed by the first object in the business object group reaches the distribution time threshold, so that the application client displays the business notification message in the message notification interface of the first object; the application client is used to respond to the trigger operation of the business notification message and display the first electronic resource package in the group display interface corresponding to the business object group; The details retrieval module is used to return the collection details record associated with the second object in the business object group to the application client when it receives a details retrieval request generated by the application client based on the trigger operation for the first electronic resource package. This allows the application client to display the collection details record on the collection details page corresponding to the first electronic resource package, and to display the remaining resource data on the collection details page. The second object refers to the business object in the business object group that performed the collection operation on the first electronic resource package. The resource package generation module is used to receive a resource package generation instruction generated by the application client based on a trigger operation targeting the remaining resource data, generate a second electronic resource package according to the resource package generation instruction, and send the second electronic resource package to the business object group so that the application client displays the second electronic resource package in the group display interface; the remaining resource data contained in the second electronic resource package originates from the first electronic resource package.
20. A computer device, characterized in that, include: Processor and memory; The processor is connected to the memory, wherein the memory is used to store a computer program, and the processor is used to invoke the computer program to cause the computer device to perform the method according to any one of claims 1-17.
21. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded and executed by a processor to cause a computer device having the processor to perform the method of any one of claims 1-17.
22. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium, the computer instructions being adapted to be read and executed by a processor to cause a computer device having the processor to perform the method of any one of claims 1-17.