A method, device and related equipment for processing electronic resource package
By setting the target image in the electronic red envelope as the background image of the message receiving page, the problem of poor publicity effect of electronic red envelopes in the prior art is solved, and the effect of increasing user reading time and improving publicity effect is achieved.
Patent Information
- Application Number
- CN201911045795.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-30
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2040-01-16
AI Technical Summary
In the prior art, when commodities or activities are promoted through electronic red envelopes, the recipient focuses on the electronic red envelopes when receiving electronic red envelopes, and reads the publicity slogans on the cover for a short time, resulting in poor publicity effects.
A method for processing an electronic resource package is provided. By obtaining an electronic resource package, the package includes a target image, displays a notification message, and in response to a trigger operation, the target image is set as a background image of the message receiving page to increase the time the user reads the information to be promoted.
By setting the target image as the background image of the page, users are forced to read the content in the target image, increasing the reading time for users to read information to be promoted, and improving the publicity effect of promoting through electronic red envelopes.
Smart Images

Figure CN112748966B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, apparatus, computer device and storage medium for processing an electronic resource package. Background Art
[0002] Electronic red envelopes are non-physical red envelopes distributed online. The sender of the electronic red envelope does not need to meet the receiver face to face, nor does he need the receiver's consent. The sender can send the electronic red envelope amount to the receiver's account. The emergence of electronic red envelopes breaks the influence of time and space and can strengthen social relationships between people.
[0003] When a user needs to promote a product or event based on an electronic red envelope, the user generally sends the electronic red envelope to one or more recipients, and sets a promotional slogan on the cover of the electronic red envelope so that the recipient can read the promotional slogan when opening the electronic red envelope, thereby achieving the purpose of promotion.
[0004] In the existing solution, when the recipient receives the electronic red envelope, the recipient focuses on the electronic red envelope and spends a short time reading the promotional slogan on the cover of the electronic red envelope, resulting in poor promotional effect of the product (or activity) through the electronic red envelope. Summary of the invention
[0005] The embodiments of the present application provide a method, an apparatus and related equipment for processing an electronic resource package, which can improve the publicity effect of publicity through electronic red envelopes.
[0006] The present application provides, on the one hand, a method for processing an electronic resource package, including:
[0007] Acquire an electronic resource package; the electronic resource package includes a target image;
[0008] Displaying the notification message of the electronic resource package on the message receiving page;
[0009] In response to a triggering operation of a notification message for the electronic resource package, the target image is displayed as a background image of the message receiving page.
[0010] Among them, it also includes:
[0011] The second terminal receives target resource data corresponding to the notification message of the electronic resource package transferred by the business server.
[0012] Wherein, the electronic resource package further includes prompt information for using the target image as a background image of the message receiving page;
[0013] The step of responding to the triggering operation of the notification message of the electronic resource package and displaying the target image as the background image of the message receiving page includes:
[0014] In response to a triggering operation of a notification message of the electronic resource package, displaying prompt information;
[0015] In response to a trigger operation for the consent mark in the prompt information, the target resource data is displayed, and according to the prompt information, the background image of the message receiving page is adjusted from the original background image to the target image;
[0016] The target image is displayed on the message receiving page.
[0017] Wherein, the electronic resource package also includes a target text;
[0018] The displaying of the notification message of the electronic resource package on the message receiving page includes:
[0019] combining the target image and the target text into a preview image;
[0020] generating a notification message of the electronic resource package; the cover image of the notification message of the electronic resource package is the preview image;
[0021] A notification message of the electronic resource package with the preview image as the cover image is displayed on the message receiving page.
[0022] Among them, it also includes:
[0023] Obtaining a display time threshold of an image carried in the electronic resource package;
[0024] Counting the display time of the target image as the background image of the message receiving page;
[0025] When the display duration reaches the image display duration threshold, the background image of the message receiving page is switched from the target image to the original background image.
[0026] Another aspect of the present application embodiment provides a method for processing an electronic resource package, including:
[0027] In response to a trigger operation on a target image, a generation instruction for generating an electronic resource package according to the target image;
[0028] The electronic resource package generation instruction is sent to the business server to instruct the business server to generate the electronic resource package; the electronic resource package includes prompt information for using the target image as the background image of the message receiving page.
[0029] Wherein, in response to a trigger operation on a target image, generating an instruction for generating an electronic resource package according to the target image includes:
[0030] In response to a trigger operation on the target image, acquiring the target image;
[0031] Obtain image display duration threshold and resource allocation information;
[0032] The target image, the image display time threshold and the resource allocation information are packaged into a generation instruction of the electronic resource package.
[0033] Another aspect of the present application embodiment provides a method for processing an electronic resource package, including:
[0034] receiving an instruction for generating an electronic resource package sent by the first terminal; the instruction for generating the electronic resource package includes a target image;
[0035] generating an electronic resource package including the target image;
[0036] The electronic resource package is sent to the second terminal; the electronic resource package includes prompt information for using the target image as a background image of a message receiving page.
[0037] Wherein, the electronic resource package also includes resource allocation information;
[0038] The method further comprises:
[0039] When it is detected that the second terminal responds to a trigger operation of the notification message of the electronic resource package, determining target resource data corresponding to the notification message of the electronic resource package according to the resource allocation information;
[0040] The target resource data is transferred to a user account that is bound to the second terminal.
[0041] Another aspect of the present application embodiment provides a device for processing an electronic resource package, including:
[0042] A first acquisition module is used to acquire an electronic resource package; the electronic resource package includes a target image;
[0043] A first display module, used to display the notification message of the electronic resource package on the message receiving page;
[0044] The setting module is used to respond to the triggering operation of the notification message of the electronic resource package and display the target image as the background image of the message receiving page.
[0045] Among them, it also includes:
[0046] The first receiving module is used to receive target resource data corresponding to the notification message of the electronic resource package transferred by the business server.
[0047] Wherein, the electronic resource package further includes prompt information for using the target image as a background image of the message receiving page;
[0048] The setting module is specifically used to respond to a trigger operation on the notification message of the electronic resource package, display prompt information, respond to a trigger operation on the consent mark in the prompt information, display the target resource data, and adjust the background image of the message receiving page from the original background image to the target image according to the prompt information, and display the target image on the message receiving page.
[0049] Wherein, the electronic resource package also includes a target text;
[0050] The first display module is specifically used to combine the target image and the target text into a preview image to generate a notification message of the electronic resource package; the cover image of the notification message of the electronic resource package is the preview image, and the notification message of the electronic resource package with the preview image as the cover image is displayed on the message receiving page.
[0051] Among them, it also includes:
[0052] The first acquisition module is further used to acquire a display time threshold of the image carried by the electronic resource package;
[0053] A statistical module is used to count the display time of the target image as the background image of the message receiving page. When the display time reaches the image display time threshold, the background image of the message receiving page is switched from the target image to the original background image.
[0054] Another aspect of the present application embodiment provides a device for processing an electronic resource package, including:
[0055] A first generating module, configured to respond to a triggering operation on a target image and generate a generating instruction of an electronic resource package according to the target image;
[0056] The sending module is used to send the generation instruction of the electronic resource package to the business server, instructing the business server to generate the electronic resource package; the electronic resource package includes prompt information for using the target image as the background image of the message receiving page.
[0057] Among them, the first generation module is specifically used to respond to the trigger operation for the target image, obtain the target image, obtain the image display time threshold, and resource allocation information, and encapsulate the target image, the image display time threshold and the resource allocation information into the generation instruction of the electronic resource package.
[0058] Another aspect of the present application embodiment provides a device for processing an electronic resource package, including:
[0059] A second receiving module is used to receive an instruction for generating an electronic resource package sent by the first terminal; the instruction for generating the electronic resource package includes a target image;
[0060] The second generating module is used to generate an electronic resource package including the target image, and send the electronic resource package to the second terminal; the electronic resource package includes prompt information for using the target image as a background image of a message receiving page.
[0061] Wherein, the electronic resource package also includes resource allocation information;
[0062] The device also includes:
[0063] The determination module is used to determine the target resource data corresponding to the notification message of the electronic resource package according to the resource allocation information when it is detected that the second terminal responds to the trigger operation of the notification message of the electronic resource package, and transfer the target resource data to the user account having a binding relationship with the second terminal.
[0064] Another aspect of an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method in the above embodiments.
[0065] Another aspect of an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the methods in the above embodiments are executed.
[0066] The second terminal in the present application obtains an electronic resource package containing a target image, displays a notification message of the electronic resource package on a message receiving page, and when a user clicks on the notification message, switches the background image of the message receiving page to the target image, and displays the target image on the message receiving page. As can be seen from the above, the second terminal sets the target image in the electronic resource package as the background image of the page, forcing the user to read the content in the target image, thereby increasing the reading time of the user to read the information to be promoted and improving the publicity effect of the electronic red envelope. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0068] Figure 1 It is a system architecture diagram for processing an electronic resource package provided by an embodiment of the present invention;
[0069] picture Figure 2a-2j It is a schematic diagram of a scenario of processing an electronic resource package provided in an embodiment of the present application;
[0070] Figure 3a It is a flowchart of a method for processing an electronic resource package provided in an embodiment of the present application;
[0071] Figure 3b-Figure 3e This is a schematic diagram of displaying prompt information provided by an embodiment of the present application;
[0072] Figure 3f-Figure 3i is another schematic diagram for displaying prompt information provided in an embodiment of the present application;
[0073] Figure 4 It is a flowchart of another method for processing an electronic resource package provided in an embodiment of the present application;
[0074] Figure 5 It is a flowchart of another method for processing an electronic resource package provided in an embodiment of the present application;
[0075] Figure 6 It is an interactive schematic diagram of processing an electronic resource package provided by an embodiment of the present application;
[0076] Figure 7 is an interactive schematic diagram of another electronic resource package processing provided by an embodiment of the present application;
[0077] Figure 8 It is a structural schematic diagram of a processing device for an electronic resource package provided in an embodiment of the present application;
[0078] Fig. 9 It is a structural schematic diagram of another electronic resource package processing device provided in an embodiment of the present application;
[0079] Fig.10 It is a structural schematic diagram of another electronic resource package processing device provided in an embodiment of the present application;
[0080] Fig.11is a structural schematic diagram of a computer device provided by an embodiment of the present invention;
[0081] Fig.12 is a schematic diagram of the structure of another computer device provided by an embodiment of the present invention;
[0082] Fig.13 It is a structural schematic diagram of another computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0083] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0084] See also Figure 1 , is a system architecture diagram of processing an electronic resource package provided by an embodiment of the present invention. The processing of the electronic resource package involves a backend server 10d and a terminal device cluster, and the terminal device cluster may include: terminal device 10a, terminal device 10b and terminal device 10c.
[0085] Taking terminal device 10a and terminal device 10b as an example, terminal device 10a is a terminal device having a binding relationship with user A, and terminal device 10b is a terminal device having a binding relationship with user B.
[0086] When user A requires user B to view a certain image in terminal device 10b, terminal device 10a obtains the image selected by user A to be viewed, encapsulates the image into an instruction for generating an electronic resource package, and sends it to the backend server 10d. Based on the instruction, the backend server generates an electronic resource package containing the image selected by user A, and sends it to terminal device 10b. After receiving the electronic resource package, terminal device 10b displays a notification message of the electronic resource package in the instant messaging page corresponding to user A. When user B triggers the notification message, terminal device 10b sets the image selected by user A as the background image of the instant messaging page with user A, and displays the target image in the instant messaging page, so that user B can view the image selected by user A in terminal device 10b.
[0087] If the terminal device 10a and the terminal device 10b are in the same local area network, and the two terminal devices can communicate directly through broadcast detection, then there is no need for a background server. At this time, when user A needs user B to view a certain image in the terminal device 10b, the terminal device 10a obtains the image to be viewed selected by the user, and the terminal device 10a encapsulates the image into an electronic resource package and sends it to the terminal device 10b. After receiving the electronic resource package, the terminal device 10b displays a notification message of the electronic resource package in the instant messaging page corresponding to user A. When user B triggers the notification message, the terminal device 10b sets the image selected by user A as the background image of the instant messaging page with user A, and displays the target image in the instant messaging page, so that user B can view the image selected by user A in the terminal device 10b.
[0088] in, Figure 1 The terminal devices 10a, 10b, 10c, etc. shown may include mobile phones, tablet computers, laptop computers, PDAs, mobile Internet devices (MIDs), wearable devices (such as smart watches, smart bracelets, etc.), etc.
[0089] The following embodiment specifically describes how the terminal device 10a, the backend server 10d, and the terminal device 10b send and receive electronic resource packages as an example:
[0090] See also Figure 2a-2j , is a schematic diagram of a scenario of processing an electronic resource package provided in an embodiment of the present application. The following description is made by taking an electronic resource package being an electronic red packet as an example. Figure 2a-2f This section mainly describes how the terminal device 10a sends an electronic red envelope. Figure 2g-2j It mainly describes how the terminal device 10b receives the electronic red envelope. The terminal device 10a is a terminal device that has a binding relationship with the user A, and the terminal device 10b is a terminal device that has a binding relationship with the user B.
[0091] like Figure 2a As shown, when user A needs user B (user B is the user with the remark name "Mom") to view an image in terminal device 10b, user A clicks the electronic red envelope icon in the instant messaging page with user B in terminal device 10a.
[0092] like Figure 2b As shown, the terminal device 10a responds to the above operation of user A and displays a setting page, which is used to prompt user A to enter the image, greeting, number of electronic red envelopes, amount of electronic red envelopes and display time of the image to be viewed by user B.
[0093] like Figure 2c As shown, user A can select an image from the local album as the image to be viewed by user B. Figure 2c It can be seen that user A selects the image containing a five-pointed star as the image to be viewed by user B.
[0094] like Figure 2d As shown, user A sets the greeting in the setting page: "Happy birthday, Mom", sets the number of electronic red envelopes to 1, sets the amount of the electronic red envelopes to 8 yuan, sets the display time of the image to 5 seconds, and user A clicks the "Stuff Money" button in the setting page.
[0095] like Figure 2e As shown, the terminal device 10a responds to the triggering operation of the button "insert money" by user A and displays the payment page. User A enters the payment password on the page, and the terminal device 10a sends the payment password and the images, greetings, number of electronic red envelopes, total amount of the electronic red envelopes, display time of the image and the recipient of the electronic red envelope (that is, the terminal device 10b where user B is located) set by user A to the background server 10d.
[0096] The backend server 10d verifies the payment password sent by the terminal device 10a. After the verification is passed, the backend server 10d sends an electronic red envelope to the terminal device 10b and the terminal device 10a. The terminal device 10a displays the notification message of the electronic red envelope in the instant messaging page with the user B, and the cover image of the notification message is an image composed of the blessing words "Happy Birthday, Mom" set by the user A and the image to be viewed by the user B.
[0097] The following describes how the terminal device 10b receives the electronic red envelope message.
[0098] like Figure 2g As shown, the terminal device 10b receives the electronic red envelope sent by the background server 10d. Similarly, the terminal device 10b displays the notification message of the electronic red envelope in the instant messaging page with the user A, and the cover image of the notification message is an image composed of the blessing words "Happy Birthday, Mom" set by the user A and the image to be viewed by the user B, so that the user B can preview the image that the user A wants the user B to view.
[0099] User B clicks on the notification message of the electronic red envelope, such as Figure 2h As shown, the terminal device 10b displays a prompt message: "Receiving the red envelope means agreeing to use the picture set by the other party as the background of the current chat window" as well as a button "Agree" and a button "Disagree", and user B continues to click the button "Agree".
[0100] like Figure 2iAs shown, the terminal device 10b responds to user B's click of the "Agree" button and displays the prompt message "Congratulations on receiving the red envelope of 8 yuan" and the button "Close". The above prompt message is used to prompt user B the amount of the electronic red envelope received.
[0101] The terminal device 10b sets the background image of the instant messaging page with user A as the image to be viewed by user B.
[0102] like Figure 2j As shown in FIG. 1 , when user B clicks the button “Close”, the instant messaging page with user A is displayed, and the background image of the page is the image that user A wants user B to view. Figure 2j It can be seen that at this time in the terminal device 10b, the background image of the instant messaging page with user A has been set to an image containing a five-pointed star. Of course, the background server 10d also needs to transfer the electronic red envelope amount of 8 yuan received by user B from the account balance of user A to the account balance of user B. The account balance here can be a bank card account balance or an account balance in a social account.
[0103] The second terminal (such as the terminal device 10b in the above embodiment) sets the background image of the message receiving page (such as the instant messaging page with user A in the above embodiment) as the target image (such as the image to be viewed by user B in the above embodiment), and the first terminal device (such as the terminal device 10a in the above embodiment) generates the instruction for generating the electronic resource package (such as the electronic red envelope in the above embodiment) can be seen in the following specific process. Figure 3a-Figure 7 The corresponding embodiments.
[0104] See also Figure 3a , is a flow chart of a method for processing an electronic resource package provided by an embodiment of the present application. This embodiment mainly involves a second terminal receiving an electronic resource package containing a target image, and setting the background image of a message receiving page as the target image. The method for processing the electronic resource package may include the following steps:
[0105] Step S101: The second terminal obtains an electronic resource package; the electronic resource package includes a target image.
[0106] Specifically, the second terminal (as described above Figure 2a-2j The terminal device 10b) in the corresponding embodiment obtains an electronic resource package, which includes a target image. For example, the electronic resource package may be an electronic red envelope.
[0107] There are two ways for the second terminal to obtain electronic resource packages:
[0108] The first method for the second terminal to obtain the electronic resource package is as follows: the second terminal receives the service server (as described above) Figure 2a-2jThe electronic resource package sent by the backend server 10d in the corresponding embodiment is the electronic resource package sent by the business server according to the first terminal (such as the above Figure 2a-2j The electronic resource package is generated by the generation instruction containing the target image sent by the terminal device 10a) in the corresponding embodiment, and the generation instruction is an instruction instructing the business server to generate an electronic resource package. In other words, the electronic resource package is generated by the business server according to the generation instruction of the electronic resource package containing the target image sent by the first terminal.
[0109] The second way for the second terminal to obtain the electronic resource package is as follows: if the first terminal and the second terminal are in the same local area network, and the first terminal and the second terminal can communicate directly through broadcast detection, then there is no need for the business server to serve as an information transfer station. At this time, the second terminal can directly receive the electronic resource package sent by the first terminal, and the electronic resource package contains the target image, which is the image selected by the user of the first terminal (as mentioned above). Figure 2a-2j The image to be viewed by user B in the corresponding embodiment is an image including a five-pointed star).
[0110] Step S102: The second terminal displays a notification message of the electronic resource package on a message receiving page.
[0111] Specifically, the electronic resource package also includes the target text (such as the above Figure 2a-2j For example, for the blessing in the corresponding embodiment: "Happy birthday, Mom"), the target text may be the text set by the user in the first terminal; if the user does not actively set the text in the first terminal, the target text may also be a preset text preset in advance by the business server (or the first terminal) (for example, the preset text may be "Good luck" or "Congratulations on making a fortune", etc.).
[0112] The second terminal combines the target image and the target text into a preview image by adding the target text to the target image to obtain the preview image. The second terminal generates a notification message of the electronic resource package, and the cover image of the notification message can be the preview image.
[0113] The second terminal receives the message on the page (as described above). Figure 2a-2j In the instant messaging page with user A in the corresponding embodiment, a notification message with a preview image as the cover image is displayed. It can be known that since the electronic resource package is sent from the first terminal to the second terminal, the message receiving page can refer to the page corresponding to the user in the second terminal who has a binding relationship with the first terminal (can also be understood as the user of the first terminal).
[0114] Step S103: the second terminal responds to the triggering operation of the notification message of the electronic resource package and displays the target image as the background image of the message receiving page.
[0115] Specifically, the user can click on the notification message of the electronic resource package in the message receiving page, and the second terminal responds to the user's trigger operation on the notification message of the electronic resource package. The second terminal sends a first message to the business server, and the first message is used to notify the business server that the user of the second terminal clicks on the notification message of the electronic resource package. After the business server receives the first message, the business server determines the target resource data corresponding to the notification message of the electronic resource package based on the resource allocation information in the generation instruction of the electronic resource package (the resource allocation information may include: electronic resource package type, total resources, resource allocation type and resource allocation quantity).
[0116] In simple terms, when the electronic resource package is an electronic red envelope, the electronic resource package type is the electronic red envelope type (for example, targeted electronic red envelope, group electronic red envelope, etc., where a targeted electronic red envelope is an electronic red envelope corresponding to only one electronic red envelope recipient, and a group electronic red envelope is an electronic red envelope corresponding to multiple electronic red envelope recipients); the total resources are the total amount of the electronic red envelopes; the resource allocation type is the electronic red envelope allocation method (for example, average distribution, random distribution, etc.); the number of resource allocations is the number of electronic red envelopes (it can be seen that when the type of electronic resource package is a targeted electronic red envelope, the number of electronic red envelopes is 1); the target resource data is the amount of the electronic red envelope received by the second terminal device.
[0117] The business server transfers the target resource data from the user account that is bound to the first terminal to the user account that is bound to the second terminal, and the user account can be a bank card user account or a social account user account. In other words, when the electronic resource package is an electronic red envelope, the first terminal can issue the electronic red envelope to the second terminal through the user account in the social account, or through the bank card user account.
[0118] It should be noted that if the second terminal obtains the electronic resource package sent by the business server, then the business server determines the target resource data corresponding to the electronic resource package; if the second terminal obtains the electronic resource package directly sent by the first terminal, then the first terminal determines the target resource data corresponding to the notification message of the electronic resource package.
[0119] The second terminal responds to the user's triggering operation on the notification message of the electronic resource package, extracts the prompt information of using the target image as the background image of the message receiving page from the electronic resource package, and displays the prompt information on the front end (as shown in the above Figure 2a-2j The prompt information in the corresponding embodiment: "Receiving the red envelope means agreeing to use the picture set by the other party as the background of the current chat window"), the prompt information also includes an agreement mark (such as the above Figure 2a-2j The button "Agree" in the corresponding embodiment) and the disagreement mark (as mentioned above Figure 2a-2j The button "Disagree" in the corresponding embodiment).
[0120] There is no limitation on the order in which the second terminal receives the target resource data and displays the prompt information.
[0121] It can be known that the prompt information is used to prompt the user corresponding to the second terminal that the background image of the message receiving page can be switched.
[0122] The user can click the consent icon or the disagreement icon in the above prompt information.
[0123] If the user clicks the disagree icon in the prompt message, the process ends.
[0124] If the user clicks the consent mark in the prompt information, the second terminal responds to the user's above operation, displays the target resource data, and adjusts the background image of the message receiving page from the original background image to the target image. The original background image is the background image of the message receiving page before it is switched to the target image.
[0125] The second terminal displays the target image on the message receiving page, and it can be known that the target image is displayed as the background image of the message receiving page.
[0126] It should be noted that after the user triggers the notification message of the electronic resource package, the second terminal may first display the prompt information, and after the user clicks the consent mark in the prompt information, display the target resource data, and then switch the background image of the message receiving page;
[0127] Alternatively, after a user triggers a notification message for an electronic resource package, the target resource data is displayed first, followed by a prompt message. After the user clicks the consent mark in the prompt message, the background image of the message receiving page is switched. Figure 2a-2j The corresponding embodiment describes that the Figure 2a-2j For example, the second case is described in detail:
[0128] See also Figure 3b-Figure 3e , is a schematic diagram of displaying prompt information provided by an embodiment of the present application. When the electronic resource package is an electronic red envelope, such as Figure 3b As shown, the second terminal 10b displays a notification message of the electronic red envelope on the message receiving page, and the user clicks on the notification message.
[0129] like Figure 3c As shown, the second terminal receives the target resource data: 8 yuan, and displays the text containing the target resource data "8 yuan": "Congratulations on receiving the red envelope of 8 yuan".
[0130] like Figure 3d As shown in the figure, after the user closes the above text, a prompt message "Do you agree to use the picture set by the other party as the background of the current chat window?" is displayed. If the user clicks the "Agree" icon in the prompt message, Figure 3e As shown, the background image of the message receiving page is set to the target image, and the message "Red envelope received successfully" is displayed.
[0131] See also Figure 3f-Figure 3i , is another schematic diagram of displaying prompt information provided by an embodiment of the present application. When the electronic resource package is an electronic red envelope, such as Figure 3f As shown, the second terminal 10b displays a notification message of the electronic red envelope on the message receiving page, and the user clicks on the notification message.
[0132] like Figure 3g As shown, the second terminal receives the target resource data: 8 yuan, and displays the text containing the target resource data "8 yuan": "Congratulations on receiving the red envelope of 8 yuan".
[0133] like Figure 3h As shown, after the user closes the above text, he returns to the message receiving page, and the message "Red envelope received successfully" is displayed on the message receiving page, as well as the prompt message "Do you agree to use the picture set by the other party as the background of the current chat window" is displayed on the message receiving page.
[0134] If the user clicks the "Agree" icon in the prompt message, Figure 3i As shown, the background image of the message receiving page is set as the target image.
[0135] Optionally, in addition to adjusting the background image of the message receiving page corresponding to the user in the second terminal that has a binding relationship with the first terminal to the target image, the second terminal may also adjust the background images of all message receiving pages to the target image.
[0136] Optionally, the user clicks on the notification message of the electronic resource package in the message receiving page, and the second terminal responds to the user's trigger operation on the notification message of the electronic resource package, and detects whether the current time is within the validity period of the electronic resource package. If the current time is within the validity period of the electronic resource package, the second terminal can send a first message to the business server to receive target resource data and adjust the background image of the message receiving page; if the current time is not within the validity period of the electronic resource package, the second terminal can display an electronic resource package expiration reminder message.
[0137] Furthermore, the user clicks on the notification message of the electronic resource package in the message receiving page, and the second terminal responds to the user's triggering operation on the notification message of the electronic resource package. The second terminal sends a verification message to the business server, and the verification message carries the ID of the electronic resource package and the authkey of the electronic resource package (wherein the authkey of the electronic resource package is a secret key generated by the business server according to the generation timestamp of the electronic resource package and the ID of the electronic resource package, and the ID of the electronic resource package and the authkey of the electronic resource package are sent to the second terminal together with the electronic resource package). After receiving the verification message, the business server verifies whether the electronic resource package is a legal resource package according to the ID of the electronic resource package and the authkey of the electronic resource package; if the business server verifies that the electronic resource package is a legal resource package, the business server can feedback a verification success message to the second terminal, and then the second terminal can send the first message to the business server again to receive the target resource data and adjust the background image of the message receiving page; if the business server verifies that the electronic resource package is an illegal resource package, the business server can feedback a verification failure message to the second terminal, and the process ends.
[0138] Optionally, the electronic resource package also includes an image display duration threshold, which may be set by a user having a binding relationship with the first terminal; if the user having a binding relationship with the first terminal has not set the threshold, the threshold may be a value preset by the business server (or the first terminal), and the threshold is used to mark the duration for which the second terminal uses the target image as the background image of the message receiving page.
[0139] The second terminal extracts the image display time threshold in the electronic resource package, and counts the display time of the target image as the background image of the message receiving page. The display time here can refer to the exposure time of the target image (which can also be understood as the user's reading time), or it can refer to the time when the target image is used as the background image, regardless of whether the target image is exposed.
[0140] For example, if the user sets the target image as the background image of the message receiving page at the 1st second, and the message receiving page displays the target image from the 1st second to the 5th second. If the user closes the message receiving page at the 5th second and wakes up the message receiving page at the 10th second, then the exposure time of the target image is 4 seconds (from the 1st second to the 5th second), and the target image is the background image of the message receiving page for 9 seconds (from the 1st second to the 10th second).
[0141] When the second terminal detects that the display time of the above-mentioned target image as the background image of the message receiving page is equal to the display time threshold, the second terminal switches the background image of the message receiving page from the target image to the original background image. Of course, when the message receiving page is displayed subsequently, the background image of the message receiving page is the original background image; the original background image here and the original background image in the aforementioned switching from the original background image to the target image refer to the same image.
[0142] That is, when the duration of the target image being used as the background image reaches the duration set by the user of the first terminal, the second terminal switches back to the original background image of the message receiving page.
[0143] See also Figure 4 , is a flow chart of another method for processing an electronic resource package provided in an embodiment of the present application. This embodiment mainly involves a first terminal generating an instruction for generating an electronic resource package containing a target image. The method for processing an electronic resource package may include the following steps:
[0144] Step S201: The first terminal responds to a triggering operation on a target image and generates a generation instruction of an electronic resource package according to the target image.
[0145] Specifically, when the user of the first terminal wants the user of the second terminal to view an image, the first terminal displays multiple images to be selected, and the user of the first terminal can select one or more images from the multiple images to be selected. In response to the above operation, the first terminal uses the image selected by the user as the target image.
[0146] The first terminal obtains the image display duration threshold set by the user. If the user has not set it, the first terminal can use a preset value as the image display duration threshold. The threshold is used to mark the display duration of the target image in the second terminal.
[0147] The first terminal obtains resource allocation information set by the user, and the resource allocation information may include: electronic resource package type, total resources, resource allocation type, and resource allocation quantity; the first terminal may also obtain a payment password input by the user.
[0148] The first terminal may obtain a target text, and the target text may be set by a user. If the user does not set the target text, the target text may also be a preset text preset in advance by the first terminal.
[0149] The first terminal may display a setting page (such as the above Figure 2b Corresponding page), in which the user can set the image display time threshold, resource allocation information, target text and payment password.
[0150] The first terminal encapsulates the target image, image display time threshold, resource allocation information, target text, payment password and recipient of the electronic resource package into an instruction for generating an electronic resource package.
[0151] Step S202: The first terminal sends a generation instruction of the electronic resource package to the business server, instructing the business server to generate an electronic resource package; the electronic resource package includes prompt information for using the target image as a background image of a message receiving page.
[0152] Specifically, the first terminal sends the generation instruction of the electronic resource package to the business server. After verifying that the payment password is correct, the business server can generate an electronic resource package containing the target image, target text, image display time threshold, and prompt information of using the target image as the background image of the message receiving page, and send the electronic resource package to the second terminal where the electronic resource package recipient is located.
[0153] The second terminal generates a notification message of the electronic resource package, and the cover image of the notification message is an image composed of a target image and a target text. When the user triggers the notification message, the business server determines the target resource data corresponding to the electronic resource package according to the resource allocation information in the generation instruction, and transfers the target resource data from the user account corresponding to the first terminal to the user account corresponding to the second terminal; at the same time, a prompt message for using the target image as the background image of the message receiving page is displayed. After the user triggers the consent mark in the prompt message, the second terminal sets the background image of the message receiving page to the target image, and displays the target image as the background image on the message receiving page.
[0154] The specific process of the second terminal generating a notification message of the electronic resource package according to the electronic resource package and setting the target image in the electronic resource package as the background image of the message receiving page can be referred to in the above Figure 3a This corresponds to step S101 to step S104 in the embodiment.
[0155] Optionally, the generation instruction of the electronic resource package also includes a display time resource amount, wherein the display time resource amount is determined by the image display time threshold. If the image display time threshold is less than or equal to the preset payment time threshold, then the display time resource amount is equal to 0; if the image display time threshold is greater than the preset payment time threshold, then the value of the display time resource amount is directly proportional to the image display time. After the business server verifies that the payment password in the generation instruction is correct, the display time resource amount can be transferred from the first terminal to the business server. In layman's terms, when the electronic resource package is an electronic red envelope, if the image display time threshold set by the user of the first terminal is less than or equal to the payment time threshold, then the user only needs to pay the electronic red envelope amount. If the image display time threshold set by the user of the first terminal is greater than the payment time threshold, then the user not only needs to pay the electronic red envelope amount, but also needs to pay the display time fee of the target image in the second terminal, and the display time fee belongs to the developer of the business server.
[0156] Optionally, if the first terminal and the second terminal can communicate directly, the background server may not be required in the system architecture. In this case, the first terminal can encapsulate the target image, the image display time threshold, and the target text into an electronic resource package, and send the electronic resource package to the second terminal where the electronic resource package receiving object is located. Similarly, the second terminal subsequently generates a notification message for the electronic resource package, and the cover image of the notification message is an image composed of the target image and the target text. When the user triggers the notification message, the first terminal determines the number of target resources corresponding to the electronic resource package according to the resource allocation information, and transfers the target resource data to the second terminal; at the same time, the second terminal sets the background image of the message receiving page to the target image, and displays the target image as the background image on the message receiving page.
[0157] See also Figure 5 , is a flow chart of another method for processing an electronic resource package provided in an embodiment of the present application. This embodiment mainly involves a business server generating an electronic resource package containing a target image. The method for processing the electronic resource package may include the following steps:
[0158] Step S301: The business server receives an instruction for generating an electronic resource package sent by a first terminal; the instruction for generating the electronic resource package includes a target image.
[0159] Specifically, the business server receives an instruction for generating an electronic resource package sent by the first terminal. The instruction may include a target image, an image display time threshold, resource allocation information, a target text, a payment password, and an electronic resource package recipient.
[0160] The specific process of the first terminal generating the instruction for generating the electronic resource package can be referred to above. Figure 4 This corresponds to step S201 - step S202 in the embodiment.
[0161] Step S302: the business server generates an electronic resource package including the target image.
[0162] Specifically, the business server verifies whether the payment password in the generation instruction is the same as the registered payment password of the user of the first terminal. If they are the same, it means that the payment password is correct; if they are different, it means that the payment password is wrong. When the payment password is correct, the business server generates an electronic resource package according to the received generation instruction. The electronic resource package may include a target image, an image display time threshold, a target text, and a prompt information that the target image is used as the background image of the message receiving page.
[0163] The business server assigns an ID to the electronic resource package and generates a key (called authkey) based on the timestamp of the current electronic resource package generation and the ID of the electronic resource package. The business server adds the ID of the electronic resource package to the resource package ID record table and adds the authkey of the electronic resource package to the resource package authkey record table.
[0164] Step S303: the business server sends the electronic resource package to the second terminal; the electronic resource package includes prompt information for using the target image as a background image of a message receiving page.
[0165] Specifically, the business server sends the electronic resource package to a terminal device (called a second terminal) where the electronic resource package recipient is located. The electronic resource package carries the ID of the electronic resource package and the authkey of the electronic resource package.
[0166] After receiving the electronic resource package, the second terminal generates a notification message of the electronic resource package and displays the notification message on a message receiving page, and the cover image of the notification message is an image composed of a target text and a target image.
[0167] The business server also needs to notify the first terminal to generate a notification message for the electronic resource package. After the first terminal receives the notification sent by the business server, it generates a notification message for the electronic resource package and displays the notification message on the message receiving page in the first terminal. The cover image of the notification message is an image composed of the target text and the target image.
[0168] The user can trigger the notification message in the second terminal, the second terminal responds to the operation, and the second terminal sends a verification message to the background server. The verification message carries the ID of the electronic resource package and the authkey of the electronic resource package (wherein the authkey of the electronic resource package is a secret key generated by the business server according to the generation timestamp of the electronic resource package and the ID of the electronic resource package). After receiving the verification message, the business server compares the ID of the electronic resource package with multiple IDs in the resource package ID record table in the business server, and compares the authkey of the electronic resource package with multiple authkeys in the resource package authkey record table in the business server.
[0169] If the ID of the electronic resource package can hit the resource package ID record table, and the authkey of the electronic resource package can hit the resource package authkey record table, it means that the electronic resource package corresponding to the notification message currently triggered by the user in the second terminal is a legal resource package. The business server can feedback the verification pass message to the second terminal device. At the same time, the business server can determine the target resource data corresponding to the electronic resource package based on the resource allocation information, and transfer the target resource data from the first terminal to the second terminal.
[0170] At the same time, after the second terminal receives the verification pass message sent by the business server, it receives the target resource data transferred by the business server, and displays a prompt message to use the target image as the background image of the message receiving page. After the user triggers the consent mark in the prompt message, the background image of the message receiving page is set to the target image, and the target image is displayed as the background image on the message receiving page.
[0171] The specific process of the second terminal receiving the electronic resource package and setting the background image of the message receiving page as the target image can be seen in the above Figure 3a This corresponds to step S101 to step S104 in the embodiment.
[0172] The second terminal in the present application obtains an electronic resource package containing a target image, displays a notification message of the electronic resource package on a message receiving page, and when a user clicks on the notification message, switches the background image of the message receiving page to the target image, and displays the target image on the message receiving page. As can be seen from the above, the second terminal sets the target image in the electronic resource package as the background image of the page, forcing the user to read the content in the target image, thereby increasing the reading time of the user to read the information to be promoted and improving the publicity effect of the electronic red envelope.
[0173] See also Figure 6, is an interactive schematic diagram of the processing of an electronic resource package provided in an embodiment of the present application. The following embodiment mainly describes the interaction process between the first terminal and the business server when generating an electronic red envelope when the electronic resource package is an electronic red envelope, wherein the business server includes an instant messaging background, a payment background, and a red envelope background.
[0174] Step S401, client 1 obtains the user uid and login password input by user 1.
[0175] Specifically, the client 1 is installed in the first terminal, and the user 1 enters the user uid (User Identification) and login password in the client 1, and the client 1 sends the user uid and login password entered by the user 1 to the instant messaging background.
[0176] Step S402: the instant messaging backend returns the login result to the client 1.
[0177] Specifically, the instant messaging background verifies whether the user uid and login password sent by client 1 are correct, and returns the login result to client 1. The login result includes login success and login failure. If the login result is a login achievement, the login result returned by the instant messaging background to client 1 carries the login ticket.
[0178] Step S403: Client 1 obtains the picture selected by user 1.
[0179] Specifically, user 1 selects a picture to be dominated on the screen in client 1 (the picture to be dominated on the screen is the picture to be viewed by user 2 ), where the picture to be dominated on the screen corresponds to the target image in this application.
[0180] Step S404, the client 1 sends a picture upload request to the instant messaging background, and the picture upload request carries the picture to be screen-dominated selected by the user 1.
[0181] Step S405, the instant messaging background stores the picture to be screen dominated and returns the picture ID to the client 1.
[0182] Step S406, client 1 obtains the electronic red envelope amount, number of electronic red envelopes and screen dominance duration selected by user 1.
[0183] Specifically, user 1 can set the electronic red envelope amount, the number of electronic red envelopes and the screen dominance time in client 1, and can also set the electronic red envelope blessing. The screen dominance time corresponds to the image display time threshold in this application.
[0184] Step S407, client 1 sends an electronic red envelope order request to the payment backend, and the electronic red envelope order request carries the user uid, login ticket, picture id, electronic red envelope amount, number of electronic red envelopes, sending object, receiving object and screen dominance duration.
[0185] Step S408: the payment backend returns the electronic red envelope order ID to the client 1 according to the received electronic red envelope order request.
[0186] Step S409, after client 1 receives the electronic red envelope order ID, a password payment page is displayed, and user 1 enters the payment password on the password payment page.
[0187] Step S410, client 1 sends a payment request to the payment backend, and the payment request carries the user uid, login ticket, payment password and electronic red envelope order id.
[0188] Step S411, the payment backend verifies the electronic red envelope order and payment password.
[0189] Specifically, the payment backend determines whether the user uid corresponding to the electronic red envelope order id and the user uid carried in the payment request are the same. If they are the same, it verifies whether the payment password entered by user 1 is the same as the registered payment password corresponding to the user uid. If they are the same, execute step S412.
[0190] If the user uid corresponding to the electronic red envelope order id and the user uid carried in the payment request are different, it means that the current electronic red envelope order is an abnormal order, or the payment password entered by user 1 is different from the registered payment password corresponding to the user uid, and the process ends.
[0191] Step S412, the payment backend sends a payment success message to the red envelope backend, and the payment success message carries the red envelope order id and the picture id.
[0192] Step S413, the red envelope background generates an electronic red envelope, assigns an id to the electronic red envelope, and generates an authkey for the electronic red envelope based on the id of the electronic red envelope and the current timestamp.
[0193] Step S414, the red envelope background notifies the instant messaging background to send an electronic red envelope message to the client 1 where the sending object is located and the client 2 where the receiving object is located. The notification carries the electronic red envelope id, the electronic red envelope authkey and the picture id.
[0194] Step S415, the instant messaging background sends an electronic red envelope message to client 1, and the electronic red envelope message carries the electronic red envelope id, the electronic red envelope authkey and the picture id.
[0195] Step S416, client 1 requests the picture corresponding to the picture id from the instant messaging server.
[0196] Specifically, before requesting the picture corresponding to the picture id from the instant messaging server, the client 1 can first detect whether the picture corresponding to the picture id is stored locally. If it is already stored, it can be obtained locally without requesting the instant messaging server; if it does not exist, it will request the instant messaging server again.
[0197] Step S417, the instant messaging server returns the picture to be screen dominated corresponding to the picture id to the client 1.
[0198] Step S418, client 1 generates a notification message of the electronic red envelope message, and displays the notification message in the chat window corresponding to the recipient. The cover image of the notification message is the picture to be displayed on the screen.
[0199] See also Figure 7 , is an interactive schematic diagram of another processing of an electronic resource package provided in an embodiment of the present application. The following embodiment mainly describes the interaction process between the second terminal and the business server when receiving the electronic red envelope and setting the background image of the message receiving page when the electronic resource package is an electronic red envelope. The business server also includes an instant messaging background, a payment background, and a red envelope background.
[0200] Step S501, client 2 obtains the user uid and login password input by user 2.
[0201] Specifically, the client 2 is installed in the second terminal, and the user 2 enters the user uid and login password in the client 2, and the client 2 sends the user uid and login password entered by the user to the instant messaging background. The user 2 here is the above-mentioned Figure 6 The receiving object in the corresponding embodiment.
[0202] Step S502: the instant messaging backend returns the login result to the client 2.
[0203] Specifically, the instant messaging background verifies whether the user uid and login password sent by client 2 are correct, and returns the login result to client 2. The login result includes login success and login failure. If the login result is a login achievement, the login result returned by the instant messaging background to client 2 carries the login ticket.
[0204] Step S503, the instant messaging background sends an electronic red envelope message to the client 2 where the sending object is located, and the electronic red envelope message carries the electronic red envelope id, the electronic red envelope authkey and the picture id.
[0205] Step S504, the client 2 requests the picture corresponding to the picture id from the instant messaging server.
[0206] Step S505, the instant messaging server returns the picture to be screen dominated corresponding to the picture id to the client 2.
[0207] Step S506, the client 2 generates a notification message of the electronic red envelope message, and sends it to the sending object (i.e., the above-mentioned Figure 6 The notification message is displayed in the chat window corresponding to user 1) in the corresponding embodiment, and the cover image of the notification message is the picture to be displayed on the screen.
[0208] Step S507, user 2 clicks on the notification message of the electronic red envelope message in client 2.
[0209] Step S508, client 2 sends a request to grab an electronic red envelope to the red envelope background, and the request carries the user uid of user 2, the login ticket, the id of the electronic red envelope, and the authkey of the electronic red envelope.
[0210] Step S509, the red envelope background verifies the legitimacy of the login ticket in the electronic red envelope grabbing request and the legitimacy of the authkey of the electronic red envelope.
[0211] Step S510, if the login ticket is a legal login ticket and the authkey of the electronic red envelope is a legal authkey, the red envelope background determines the electronic red envelope amount corresponding to client 2 based on the electronic red envelope amount, the electronic red envelope allocation type, and the number of electronic red envelopes. The red envelope background sends the determined electronic red envelope amount, the sending object corresponding to the electronic red envelope ID, the electronic red envelope blessing and the picture ID to client 2.
[0212] Step S511, the red envelope backend notifies the payment backend to transfer the electronic red envelope amount corresponding to client 2 to the user balance of user 2.
[0213] Step S512: the payment backend returns a notification of successful transfer.
[0214] In step S513, client 2 displays the electronic red envelope result, that is, displays the electronic red envelope amount corresponding to client 2, the sender (which can be the remark name of the sender in client 2 or the nickname of the sender, etc.), the greeting and the picture ID.
[0215] Step S514, client 2 sets the picture to be dominated by the screen corresponding to the picture id as the background image of the chat window with user 1, and displays the picture to be dominated by the screen in the chat window with user 1.
[0216] The second terminal in the present application obtains an electronic resource package containing a target image, displays a notification message of the electronic resource package on a message receiving page, and when a user clicks on the notification message, switches the background image of the message receiving page to the target image, and displays the target image on the message receiving page. As can be seen from the above, the second terminal sets the target image as the background image of the page, forcing the user to read the content in the target image, thereby increasing the reading time of the user for the information to be promoted and improving the publicity effect of the promotional information.
[0217] For further information, see Figure 8 , is a schematic diagram of the structure of a processing device for an electronic resource package provided in an embodiment of the present application. Figure 8 As shown, the electronic resource package processing device 1 can be applied to the above Figure 3a-Figure 7 Corresponding to the second terminal in the embodiment, the electronic resource package processing device 1 may include: a first acquisition module 11 , a first display module 12 , a setting module 13 and a second display module 14 .
[0218] A first acquisition module 11 is used to acquire an electronic resource package; the electronic resource package includes a target image;
[0219] A first display module 12, used to display the notification message of the electronic resource package on the message receiving page;
[0220] A setting module 13, configured to respond to a triggering operation of a notification message for the electronic resource package and display the target image as a background image of the message receiving page;
[0221] The electronic resource package further includes prompt information for using the target image as a background image of the message receiving page;
[0222] The setting module 13 is specifically used to respond to the trigger operation of the notification message of the electronic resource package, display the prompt information, respond to the trigger operation of the consent mark in the prompt information, display the target resource data, and according to the prompt information, adjust the background image of the message receiving page from the original background image to the target image, and display the target image on the message receiving page.
[0223] The electronic resource package also includes the target text;
[0224] The first display module 12 is specifically used to combine the target image and the target text into a preview image to generate a notification message of the electronic resource package; the cover image of the notification message of the electronic resource package is the preview image, and the notification message of the electronic resource package with the preview image as the cover image is displayed on the message receiving page.
[0225] The specific functional implementation of the first acquisition module 11, the first display module 12, the setting module 13 and the second display module 14 can be referred to above. Figure 3a Steps S101 to S104 in the corresponding embodiment will not be described in detail here.
[0226] See also Figure 8 The electronic resource package processing device 1 may include: a first acquisition module 11, a first display module 12 and a setting module 13; and may also include: a first receiving module 14.
[0227] The first receiving module 14 is used to receive target resource data corresponding to the notification message of the electronic resource package transferred by the business server.
[0228] The specific process of the first receiving module 14 can be found in the above Figure 3a This corresponds to step S103 in the embodiment.
[0229] See also Figure 8 The electronic resource package processing device 1 may include: a first acquisition module 11, a first display module 12 and a setting module 13; and may also include: a statistical module 15.
[0230] The first acquisition module 11 is further used to acquire the image display time threshold carried by the electronic resource package;
[0231] The statistical module 15 is used to count the display time of the target image as the background image of the message receiving page. When the display time reaches the image display time threshold, the background image of the message receiving page is switched from the target image to the original background image.
[0232] The specific process of the first acquisition module 11 and the statistical module 15 can be found in the above Figure 3a This corresponds to step S104 in the embodiment.
[0233] For further information, see Fig. 9 , is a schematic diagram of the structure of another electronic resource package processing device provided in an embodiment of the present application. Fig. 9 As shown, the electronic resource package processing device 2 can be applied to the above Figure 3a-Figure 7 Corresponding to the first terminal in the embodiment, the electronic resource package processing device 2 may include: a first generating module 21 and a sending module 22 .
[0234] A first generating module 21, for responding to a triggering operation on a target image and generating a generating instruction of an electronic resource package according to the target image;
[0235] The sending module 22 is used to send the instruction for generating the electronic resource package to the business server, instructing the business server to generate the electronic resource package; the electronic resource package includes prompt information for using the target image as the background image of the message receiving page;
[0236] The first generation module 21 is specifically used to respond to the trigger operation for the target image, obtain the target image, obtain the image display time threshold, and resource allocation information, and encapsulate the target image, the image display time threshold and the resource allocation information into a generation instruction for the electronic resource package.
[0237] The specific functional implementation of the first generating module 21 and the sending module 22 can be referred to above. Figure 4 The steps S201 and S202 in the corresponding embodiment will not be described in detail here.
[0238] For further information, see Fig.10 , is a schematic diagram of the structure of another electronic resource package processing device provided in an embodiment of the present application. Fig.10 As shown, the electronic resource package processing device 3 can be applied to the above Figure 3a-Figure 7 Corresponding to the business server in the embodiment, the electronic resource package processing device 3 may include: a second receiving module 31 and a second generating module 32 .
[0239] The second receiving module 31 is used to receive an instruction for generating an electronic resource package sent by the first terminal; the instruction for generating the electronic resource package includes a target image;
[0240] The second generating module 32 is used to generate an electronic resource package including the target image, and send the electronic resource package to the second terminal; the electronic resource package includes prompt information for using the target image as a background image of a message receiving page.
[0241] The specific functional implementation of the second receiving module 31 and the second generating module 32 can be found in the above Figure 5 Steps S301 to S303 in the corresponding embodiment are not described in detail here.
[0242] Please see again Fig.10 , the electronic resource package also includes resource allocation information;
[0243] The electronic resource package processing device 3 may include: a second receiving module 31 and a second generating module 32 ; and may also include: a determining module 33 .
[0244] The determination module 33 is used to determine the target resource data corresponding to the notification message of the electronic resource package according to the resource allocation information when it is detected that the second terminal responds to the trigger operation of the notification message of the electronic resource package, and transfer the target resource data to the user account that has a binding relationship with the second terminal.
[0245] The specific functional implementation of the determination module 33 can be found in the above Figure 5 The step S303 in the corresponding embodiment will not be described in detail here.
[0246] For further information, see Fig.11 , is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention. Figure 3a-Figure 7 The second terminal in the corresponding embodiment may be a computer device 1000, such as Fig.11 As shown, the computer device 1000 may include: a user interface 1002, a processor 1004, an encoder 1006 and a memory 1008. The signal receiver 1016 is used to receive or send data via a cellular interface 1010, a WIFI interface 1012, ..., or an NFC interface 1014. The encoder 1006 encodes the received data into a data format for computer processing. A computer program is stored in the memory 1008, and the processor 1004 is configured to perform the steps in any of the above method embodiments through the computer program. The memory 1008 may include a volatile memory (e.g., a dynamic random access memory DRAM), and may also include a non-volatile memory (e.g., a one-time programmable read-only memory OTPROM). In some instances, the memory 1008 may further include a memory remotely arranged relative to the processor 1004, and these remote memories may be connected to the computer device 1000 via a network. The user interface 1002 may include: a keyboard 1018 and a display 1020.
[0247] exist Fig.11 In the computer device 1000 shown, the processor 1004 may be used to call a computer program stored in the memory 1008 to implement:
[0248] Acquire an electronic resource package; the electronic resource package includes a target image;
[0249] Displaying the notification message of the electronic resource package on the message receiving page;
[0250] In response to a triggering operation of a notification message for the electronic resource package, the target image is displayed as a background image of the message receiving page.
[0251] It should be understood that the computer device 1000 described in the embodiment of the present invention can execute the above Figure 3aThe description of the processing method of the electronic resource package in the corresponding embodiment can also be performed as described above. Figure 8 The description of the electronic resource package processing device 1 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.
[0252] In addition, it should be pointed out that: the embodiment of the present invention further provides a computer storage medium, and the computer storage medium stores a computer program executed by the processing device 1 of the electronic resource package mentioned above, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the above-mentioned Figure 3a The description of the processing method of the electronic resource package in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer storage medium embodiment involved in the present invention, please refer to the description of the method embodiment of the present invention.
[0253] For further information, see Fig.12 , is a schematic diagram of the structure of another computer device provided by an embodiment of the present invention. Figure 3a-Figure 7 The first terminal in the corresponding embodiment may be a computer device 2000, such as Fig.12 As shown, the computer device 2000 may include: a user interface 2002, a processor 2004, an encoder 2006 and a memory 2008. The signal receiver 2016 is used to receive or send data via a cellular interface 2010, a WIFI interface 2012, ..., or an NFC interface 2014. The encoder 2006 encodes the received data into a data format for computer processing. A computer program is stored in the memory 2008, and the processor 2004 is configured to perform the steps in any of the above method embodiments through the computer program. The memory 2008 may include a volatile memory (e.g., a dynamic random access memory DRAM), and may also include a non-volatile memory (e.g., a one-time programmable read-only memory OTPROM). In some instances, the memory 2008 may further include a memory remotely arranged relative to the processor 2004, and these remote memories may be connected to the computer device 2000 via a network. The user interface 2002 may include: a keyboard 2018 and a display 2020.
[0254] exist Fig.12 In the computer device 2000 shown, the processor 2004 can be used to call the computer program stored in the memory 2008 to implement:
[0255] In response to a trigger operation on a target image, a generation instruction for generating an electronic resource package according to the target image;
[0256] The electronic resource package generation instruction is sent to the business server to instruct the business server to generate the electronic resource package; the electronic resource package includes prompt information for using the target image as the background image of the message receiving page.
[0257] It should be understood that the computer device 2000 described in the embodiment of the present invention can execute the above Figure 4 The description of the processing method of the electronic resource package in the corresponding embodiment can also be performed as described above. Fig. 9 The description of the electronic resource package processing device 2 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.
[0258] In addition, it should be pointed out that: the embodiment of the present invention further provides a computer storage medium, and the computer storage medium stores a computer program executed by the processing device 2 of the electronic resource package mentioned above, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the above-mentioned Figure 4 The description of the processing method of the electronic resource package in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer storage medium embodiment involved in the present invention, please refer to the description of the method embodiment of the present invention.
[0259] For further information, see Fig.13 , is a schematic diagram of the structure of another computer device provided by an embodiment of the present invention. Figure 3a-Figure 7 The service server in the corresponding embodiment may be a computer device 3000, such as Fig.13 As shown, the computer device 3000 may include: a user interface 3002, a processor 3004, an encoder 3006 and a memory 3008. The signal receiver 3016 is used to receive or send data via a cellular interface 3010, a WIFI interface 3012, ..., or an NFC interface 3014. The encoder 3006 encodes the received data into a data format for computer processing. A computer program is stored in the memory 3008, and the processor 3004 is configured to perform the steps in any of the above method embodiments through the computer program. The memory 3008 may include a volatile memory (e.g., a dynamic random access memory DRAM), and may also include a non-volatile memory (e.g., a one-time programmable read-only memory OTPROM). In some instances, the memory 3008 may further include a memory remotely arranged relative to the processor 3004, and these remote memories may be connected to the computer device 3000 via a network. The user interface 3002 may include: a keyboard 3018 and a display 3020.
[0260] exist Fig.13 In the computer device 3000 shown, the processor 3004 can be used to call the computer program stored in the memory 3008 to implement:
[0261] receiving an instruction for generating an electronic resource package sent by the first terminal; the instruction for generating the electronic resource package includes a target image;
[0262] generating an electronic resource package including the target image;
[0263] The electronic resource package is sent to the second terminal; the electronic resource package includes prompt information for using the target image as a background image of a message receiving page.
[0264] It should be understood that the computer device 3000 described in the embodiment of the present invention can execute the above Figure 5 The description of the processing method of the electronic resource package in the corresponding embodiment can also be performed as described above. Fig.10 The description of the electronic resource package processing device 3 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.
[0265] In addition, it should be pointed out that: the embodiment of the present invention further provides a computer storage medium, and the computer storage medium stores a computer program executed by the processing device 3 of the electronic resource package mentioned above, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the above-mentioned Figure 5 The description of the processing method of the electronic resource package in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer storage medium embodiment involved in the present invention, please refer to the description of the method embodiment of the present invention.
[0266] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0267] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims
1. A method for processing an electronic resource package, characterized in that: include: Acquire an electronic resource package, the electronic resource package being an electronic red envelope; the electronic resource package comprising a target image, the target image including content to be read set by a recipient of the electronic resource package; Displaying the notification message of the electronic resource package on the message receiving page; In response to a triggering operation of a notification message for the electronic resource package, displaying the target image as a background image of the message receiving page; Acquire a display time threshold of an image carried in the electronic resource package, wherein the image display time threshold corresponds to the display time resource amount consumed by the object to which the electronic resource package is sent; Counting the display time of the target image as the background image of the message receiving page, where the display time is the exposure time of the target image; When the display duration reaches the image display duration threshold, the background image of the message receiving page is switched from the target image to the original background image.
2. The method according to claim 1, characterized in that Also includes: The target resource data corresponding to the notification message of the electronic resource package transferred by the business server is received.
3. The method according to claim 2, characterized in that The electronic resource package further includes prompt information for using the target image as a background image of the message receiving page; The step of responding to the triggering operation of the notification message of the electronic resource package and displaying the target image as the background image of the message receiving page includes: In response to a triggering operation of a notification message of the electronic resource package, displaying the prompt information; In response to a trigger operation for the consent mark in the prompt information, the target resource data is displayed, and the background image of the message receiving page is adjusted from the original background image to the target image; The target image is displayed on the message receiving page.
4. The method according to claim 1, characterized in that: The electronic resource package also includes a target text; The displaying of the notification message of the electronic resource package on the message receiving page includes: combining the target image and the target text into a preview image; generating a notification message of the electronic resource package; the cover image of the notification message of the electronic resource package is the preview image; A notification message of the electronic resource package with the preview image as the cover image is displayed on the message receiving page.
5. A method for processing an electronic resource package, characterized in that: include: In response to a trigger operation on a target image, the target image and the image display time threshold are obtained; the target image includes to-be-read content set by the electronic resource package sending object, the image display time threshold corresponds to the display time resource amount consumed by the electronic resource package sending object, and the electronic resource package is an electronic red envelope; Generate an instruction for generating an electronic resource package according to the target image and the image display time threshold; The generation instruction of the electronic resource package is sent to the business server, instructing the business server to generate the electronic resource package; the electronic resource package includes the image display time threshold and the prompt information of using the target image as the background image of the message receiving page, the image display time threshold is used to mark the display time of using the target image as the background image of the message receiving page, and the display time is the exposure time of the target image.
6. The method according to claim 5, characterized in that The method further comprises: Get resource allocation information; The instruction for generating an electronic resource package according to the target image and the image display time threshold comprises: The target image, the image display time threshold and the resource allocation information are packaged into a generation instruction of the electronic resource package.
7. A method for processing an electronic resource package, characterized in that: include: Receive an instruction for generating an electronic resource package sent by a first terminal, wherein the electronic resource package is an electronic red envelope; the instruction for generating the electronic resource package includes a target image and an image display time threshold, wherein the target image includes to-be-read content set by the electronic resource package sending object, and the image display time threshold corresponds to the display time resource amount consumed by the electronic resource package sending object; generating an electronic resource package including the target image; The electronic resource package is sent to a second terminal; the electronic resource package includes the image display time threshold and prompt information for using the target image as the background image of the message receiving page, the image display time threshold is used to mark the display time of using the target image as the background image of the message receiving page, and the display time is the exposure time of the target image.
8. The method according to claim 7, characterized in that The electronic resource package also includes resource allocation information; The method further comprises: When it is detected that the second terminal responds to a trigger operation of the notification message of the electronic resource package, determining target resource data corresponding to the notification message of the electronic resource package according to the resource allocation information; The target resource data is transferred to a user account that is bound to the second terminal.
9. A device for processing an electronic resource package, characterized in that: include: The first acquisition module is used to acquire an electronic resource package, wherein the electronic resource package is an electronic red packet; the electronic resource package includes a target image, and the target image includes the to-be-read content set by the electronic resource package sending object; A first display module, used to display the notification message of the electronic resource package on the message receiving page; A setting module, configured to respond to a triggering operation of a notification message for the electronic resource package and display the target image as a background image of the message receiving page; The first acquisition module is further used to acquire a display time threshold of the image carried by the electronic resource package, wherein the image display time threshold corresponds to the display time resource amount consumed by the sending object of the electronic resource package; A statistical module is used to count the display time of the target image as the background image of the message receiving page. When the display time reaches the image display time threshold, the background image of the message receiving page is switched from the target image to the original background image. The display time is the exposure time of the target image.
10. A device for processing an electronic resource package, characterized in that: include: A first generating module is used to respond to a trigger operation on a target image, obtain the target image and an image display time threshold, and generate an instruction to generate an electronic resource package according to the target image and the image display time threshold; the target image includes to-be-read content set by an electronic resource package sending object, the image display time threshold corresponds to the display time resource amount consumed by the electronic resource package sending object, and the electronic resource package is an electronic red envelope; A sending module is used to send the generation instruction of the electronic resource package to the business server, instructing the business server to generate the electronic resource package; the electronic resource package includes the image display time threshold and the prompt information of using the target image as the background image of the message receiving page, the image display time threshold is used to mark the display time of using the target image as the background image of the message receiving page, and the display time is the exposure time of the target image.
11. A device for processing an electronic resource package, characterized in that: include: A second receiving module is used to receive an instruction for generating an electronic resource package sent by the first terminal, wherein the electronic resource package is an electronic red packet; the instruction for generating the electronic resource package includes a target image and an image display time threshold, wherein the target image includes content to be read set by the electronic resource package sending object, and the image display time threshold corresponds to the display time resource amount consumed by the electronic resource package sending object; The second generation module is used to generate an electronic resource package containing the target image and send the electronic resource package to the second terminal; the electronic resource package includes the image display time threshold and prompt information for using the target image as the background image of the message receiving page, the image display time threshold is used to mark the display time of using the target image as the background image of the message receiving page, and the display time is the exposure time of the target image.
12. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 8.
13. A computer storage medium, characterized in that: The computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 8 is executed.
Citation Information
Patent Citations
Instant messaging method, device and system
CN104901871A
Electronic resource processing method, terminal, server and storage medium
CN109754329A