CN112748966A - Electronic resource package processing method and device and related equipment - Google Patents

Electronic resource package processing method and device and related equipment Download PDF

Info

Publication number
CN112748966A
CN112748966A CN201911045795.7A CN201911045795A CN112748966A CN 112748966 A CN112748966 A CN 112748966A CN 201911045795 A CN201911045795 A CN 201911045795A CN 112748966 A CN112748966 A CN 112748966A
Authority
CN
China
Prior art keywords
electronic resource
resource package
image
target image
electronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911045795.7A
Other languages
Chinese (zh)
Inventor
李建立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911045795.7A priority Critical patent/CN112748966A/en
Publication of CN112748966A publication Critical patent/CN112748966A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a method, a device and related equipment for processing an electronic resource packet, wherein the method comprises the following steps: the second terminal acquires the electronic resource package; the electronic resource package contains a target image; the second terminal displays the notification message of the electronic resource package on a message receiving page; and the second terminal responds to the trigger operation of the notification message aiming at the electronic resource package and displays the target image as a background image of the message receiving page. Adopt this application, can improve the propaganda effect of carrying out the propaganda through electron red packet.

Description

Electronic resource package processing method and device and related equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing an electronic resource package, a computer device, and a storage medium.
Background
The electronic red envelope is a non-physical red envelope distributed on the Internet, and the sender of the electronic red envelope can send the money of the electronic red envelope to the account of the receiver without facing the receiver and without the consent of the other party. The appearance of the electronic red packet breaks through the influence factors of time and space, and can strengthen the social relationship among people.
When a user needs to carry out commodity propaganda or activity propaganda based on the electronic red packet, the electronic red packet is generally sent to one receiver or a plurality of receivers, and the propaganda slogan is arranged on the cover of the electronic red packet, so that the propaganda slogan can be read by the receivers when the receivers open the electronic red packet, and the purpose of propaganda is achieved.
When the receiver is receiving the electron red packet in current scheme, attention is focused on the electron red packet, and it is short to the reading duration of the propaganda poster on the electron red packet front cover, leads to the propaganda effect that carries out commodity propaganda (or campaign) through the electron red packet to be poor.
Disclosure of Invention
The embodiment of the application provides a processing method and device of an electronic resource packet and related equipment, which can improve the propaganda effect of propaganda through an electronic red packet.
An embodiment of the present application provides a method for processing an electronic resource package, including:
acquiring an electronic resource package; the electronic resource package contains a target image;
displaying the notification message of the electronic resource package on a message receiving page;
and responding to the trigger operation of the notification message of the electronic resource package, and showing the target image as a background image of the message receiving page.
Wherein, still include:
and the second terminal receives target resource data which are transferred by the service server and correspond to the notification message of the electronic resource packet.
The electronic resource package also comprises prompt information which takes the target image as a background image of the message receiving page;
the responding to the triggering operation of the notification message of the electronic resource package, and showing the target image as a background image of the message receiving page, includes:
responding to the trigger operation of the notification message aiming at the electronic resource package, and displaying prompt information;
responding to a trigger operation aiming at an agreement identifier in the prompt information, displaying the target resource data, and adjusting a background image of the message receiving page from an original background image to the target image according to the prompt information;
and displaying the target image on the message receiving page.
Wherein the electronic resource package further comprises a target text;
the displaying the notification message of the electronic resource package on the message receiving page comprises the following steps:
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;
and displaying a notification message of the electronic resource package with the preview image as a cover image on the message receiving page.
Wherein, still include:
acquiring an image display duration threshold carried by the electronic resource packet;
counting the display duration of the target image as the background image of the message receiving page;
and when the display duration reaches the image display duration threshold, switching the background image of the message receiving page from the target image to an original background image.
Another aspect of the embodiments of the present application provides a method for processing an electronic resource package, including:
responding to a trigger operation aiming at a target image, and generating a generation instruction of an electronic resource package according to the target image;
sending a generation instruction of the electronic resource package to a service server, and instructing the service server to generate the electronic resource package; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
The method for generating the electronic resource package according to the target image in response to the trigger operation aiming at the target image comprises the following steps:
responding to the trigger operation aiming at the target image, and acquiring the target image;
acquiring an image display duration threshold and resource allocation information;
and packaging the target image, the image display duration threshold and the resource allocation information into a generation instruction of the electronic resource package.
Another aspect of the embodiments of the present application provides a method for processing an electronic resource package, including:
receiving a generation instruction of an electronic resource packet sent by a first terminal; the generation instruction of the electronic resource package comprises a target image;
generating an electronic resource package containing the target image;
sending the electronic resource package to a second terminal; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
Wherein the electronic resource package further comprises resource allocation information;
the method further comprises the following steps:
when detecting that the second terminal responds to the triggering operation of the notification message aiming at the electronic resource packet, determining target resource data corresponding to the notification message of the electronic resource packet according to the resource allocation information;
and transferring the target resource data to a user account having a binding relationship with the second terminal.
Another aspect of the embodiments of the present application provides an apparatus for processing an electronic resource package, including:
the first acquisition module is used for acquiring the electronic resource package; the electronic resource package contains a target image;
the first display module is used for displaying the notification message of the electronic resource package on a message receiving page;
and the setting module is used for 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.
Wherein, still include:
and the first receiving module is used for receiving the target resource data which is transferred by the service server and corresponds to the notification message of the electronic resource packet.
The electronic resource package also comprises prompt information which takes the target image as a background image of the message receiving page;
the setting module is specifically configured to respond to a trigger operation for a notification message of the electronic resource package, display a prompt message, respond to a trigger operation for an agreement identifier in the prompt message, display the target resource data, adjust a background image of the message receiving page from an original background image to the target image according to the prompt message, and display the target image on the message receiving page.
Wherein the electronic resource package further comprises a target text;
the first display module is specifically configured to combine the target image and the target text into a preview image, and generate a notification message of the electronic resource package; and 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 taking the preview image as the cover image is displayed on the message receiving page.
Wherein, still include:
the first obtaining module is further configured to obtain an image display duration threshold carried by the electronic resource packet;
and the counting module is used for counting the display duration of the target image serving as the background image of the message receiving page, and switching the background image of the message receiving page from the target image to the original background image when the display duration reaches the image display duration threshold.
Another aspect of the embodiments of the present application provides an apparatus for processing an electronic resource package, including:
the first generation module is used for responding to trigger operation aiming at a target image and generating a generation instruction of an electronic resource package according to the target image;
the sending module is used for sending the generation instruction of the electronic resource package to a service server and indicating the service server to generate the electronic resource package; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
The first generation module is specifically configured to, in response to a trigger operation for the target image, acquire an image display duration threshold and resource allocation information, and package the target image, the image display duration threshold and the resource allocation information as a generation instruction of the electronic resource package.
Another aspect of the embodiments of the present application provides an apparatus for processing an electronic resource package, including:
the second receiving module is used for receiving a generation instruction of the electronic resource packet sent by the first terminal; the generation instruction of the electronic resource package comprises a target image;
the second generation module is used for generating an electronic resource package containing the target image and sending the electronic resource package to a second terminal; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
Wherein the electronic resource package further comprises resource allocation information;
the device further comprises:
and the determining module is used for determining target resource data corresponding to the notification message of the electronic resource package according to the resource allocation information and transferring the target resource data to a user account having a binding relationship with the second terminal when detecting that the second terminal responds to the triggering operation of the notification message of the electronic resource package.
Another aspect of the embodiments of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the method in the foregoing embodiments.
Another aspect of the embodiments of the present application provides a computer storage medium storing a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, perform the method in the above embodiments.
The second terminal in the application displays the notification message of the electronic resource package on the message receiving page by acquiring the electronic resource package containing the target image, switches the background image of the message receiving page into the target image when the user clicks the notification message, and displays the target image on the message receiving page. In the above way, the second terminal sets the target image in the electronic resource package as the background image of the page, so that the user can forcibly read the content in the target image, the reading duration of the user for reading the information to be publicized can be increased, and the publicizing effect of publicizing through the electronic red packet is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a system architecture diagram illustrating the processing of an electronic resource package according to an embodiment of the present invention;
FIGS. 2 a-2 j are schematic diagrams of a scenario of processing an electronic resource package according to an embodiment of the present application;
fig. 3a is a schematic flowchart of a processing method of an electronic resource package according to an embodiment of the present application;
3 b-3 e are schematic diagrams illustrating a display prompt according to an embodiment of the present application;
3 f-3 i are schematic diagrams of another presentation prompt provided by the embodiment of the present application;
fig. 4 is a schematic flowchart of another processing method for an electronic resource package according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another processing method for an electronic resource package according to an embodiment of the present application;
FIG. 6 is an interactive illustration of a process for processing an electronic resource package according to an embodiment of the present application;
FIG. 7 is an interactive illustration of another processing of an electronic resource package provided by an embodiment of the application;
fig. 8 is a schematic structural diagram of a processing apparatus for an electronic resource package according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another processing apparatus for an electronic resource package according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another processing apparatus for an electronic resource package according to an embodiment of the present application;
FIG. 11 is a schematic structural diagram of a computer device according to an embodiment of the present invention;
FIG. 12 is a schematic structural diagram of another computer device provided in the embodiments of the present invention;
fig. 13 is a schematic structural diagram of another computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a system architecture diagram of processing an electronic resource package according to an embodiment of the present invention. The processing of the electronic resource package involves the background server 10d and the terminal device cluster, which may include: terminal device 10a, terminal device 10b, and terminal device 10c, etc.
Taking the terminal device 10a and the terminal device 10B as an example, the terminal device 10a is a terminal device having a binding relationship with the user a, and the terminal device 10B is a terminal device having a binding relationship with the user B.
When the user a needs the 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 a, packages the image into a generation instruction of the electronic resource package, and sends the generation instruction to the backend server 10 d. The background server generates an electronic resource package containing the image selected by the user a based on the instruction, and transmits the electronic resource package to the terminal device 10 b. 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 the user a, and when the user B triggers the notification message, the terminal device 10B sets the image selected by the user a as a background image of the instant messaging page of the user a and displays the target image in the instant messaging page, so that the user B can view the image selected by the user a in the terminal device 10B.
If the terminal device 10a and the terminal device 10B are in the same local area network and the two terminal devices can directly communicate through broadcast detection, a background server is not needed, and at this time, when the user a needs the 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 packages the image into an electronic resource package and sends the electronic resource package 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 the user a, and when the user B triggers the notification message, the terminal device 10B sets the image selected by the user a as a background image of the instant messaging page of the user a and displays the target image in the instant messaging page, so that the user B can view the image selected by the user a in the terminal device 10B.
The terminal device 10a, the terminal device 10b, the terminal device 10c, and the like shown in fig. 1 may include a mobile phone, a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), a wearable device (e.g., a smart watch, a smart band, and the like), and the like.
The following embodiments take how the terminal device 10a, the background server 10d, and the terminal device 10b send and receive the electronic resource package as an example to specifically describe:
please refer to fig. 2a to fig. 2j, which are schematic views of a scene of processing an electronic resource package provided in an embodiment of the present application, and the following description takes an example that the electronic resource package is an electronic red package, fig. 2a to fig. 2f mainly describe how the terminal device 10a sends the electronic red package, fig. 2g to fig. 2j mainly describe how the terminal device 10B receives the electronic red package, the terminal device 10a is a terminal device having a binding relationship with the user a, and the terminal device 10B is a terminal device having a binding relationship with the user B.
As shown in fig. 2a, when a user a needs a user B (the user B is a user with a remark name of "mom") to view a certain image in a terminal device 10B, the user a clicks an electronic red packet identifier in an instant messaging page of the terminal device 10a with the user B.
As shown in fig. 2B, the terminal apparatus 10a presents a setting page for prompting the user a to input an image, a blessing message, the number of electronic red packs, the amount of electronic red packs, and the display duration of the image to be viewed by the user B in response to the above-described operation of the user a.
As shown in fig. 2c, the user a can select an image from the local album as an image to be viewed by the user B, and as can be seen from fig. 2c, the user a selects an image containing a five-pointed star in the figure as an image to be viewed by the user B.
As shown in fig. 2d, the user a sets a blessing word in the setting page: "wish mom happy birthday", the number of the electronic red packages is set to 1, the amount of the electronic red packages is set to 8 yuan, the display duration of the image is set to 5 seconds, and the user a clicks a button "insert money" in the setting page.
As shown in fig. 2e, the terminal device 10a displays a payment page in response to the user a triggering operation of the button "deposit", the user a inputs a payment password on the page, and the terminal device 10a transmits the payment password, the image to be viewed by the user B, the blessing phrase, the number of electronic red packages, the total amount of the electronic red packages, the display duration of the image, and the electronic red package transmission object (i.e., the terminal device 10B where the user B is located) set by the user a to the backend server 10 d.
The background server 10d verifies the payment password sent by the terminal device 10a, after the background server 10d passes the verification, the background server 10d issues an electronic red packet to the terminal device 10B and the terminal device 10a, the terminal device 10a displays a notification message of the electronic red packet in an instant messaging page of the user B, and a cover image of the notification message is an image formed by combining a blessing word "happy birthday of a mom and an image to be read by the user B, which are set by the user a.
The following describes how the terminal device 10b receives the electronic red envelope message.
As shown in fig. 2g, the terminal device 10B receives the electronic red packet sent by the backend server 10d, and similarly, the terminal device 10B displays the notification message of the electronic red packet in the instant messaging page with the user a, and the cover image of the notification message is an image formed by combining the blessing words "happy birthdays of 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.
The user B clicks on the notification message of the electronic red envelope, and as shown in fig. 2h, the terminal device 10B displays the prompt information: the "getting red envelope" indicates agreement to use the picture set by the other party as the background of the current chat window "and the button" agree "and the button" disagree ", and the user B continues to click the button" agree ".
As shown in fig. 2i, the terminal device 10B displays a prompt message "congratulatively getting 8 yuan for red envelope and a button" off "in response to a click operation of the button" agree "by the user B, the prompt message being for prompting the amount of the electronic red envelope taken by the user B.
The terminal device 10B sets the background image of the instant messenger page with the user a as an image to be viewed by the user B.
As shown in fig. 2j, when the user B clicks the "close" button, the instant messaging page with the user a is displayed, and the background image of the page is the image that the user a wishes the user B to view, as can be seen from fig. 2j, at this time, in the terminal device 10B, the background image of the instant messaging page with the user a is already set to include the image of the five-pointed star, and of course, the background server 10d needs to transfer the electronic red envelope amount 8 yuan received by the user B from the account balance of the user a to the account balance of the user B, where the account balance may be a bank card account balance or an account balance in a social account.
A specific process of the second terminal (e.g., the terminal device 10B in the above-described embodiment) setting a background image of a message receiving page (e.g., an instant messenger page with the user a in the above-described embodiment) as a target image (e.g., an image to be viewed by the user B in the above-described embodiment), and the first terminal device (e.g., the terminal device 10a in the above-described embodiment) generating an instruction for generating an electronic resource package (e.g., an electronic red package in the above-described embodiment) may refer to the following embodiments corresponding to fig. 3a to fig. 7.
Please refer to fig. 3a, which is a flowchart illustrating a processing method of an electronic resource package according to an embodiment of the present application, where the embodiment mainly relates to a second terminal receiving an electronic resource package including a target image and setting a background image of a message receiving page as the target image, the processing method of the electronic resource package may include the following steps:
step S101, a second terminal acquires an electronic resource package; the electronic resource package includes a target image.
Specifically, the second terminal (e.g., the terminal device 10b in the corresponding embodiment of fig. 2a to 2 j) acquires an electronic resource package, where the electronic resource package includes the target image, and the electronic resource package may be an electronic red package, for example.
The second terminal obtains the electronic resource package in the following two ways:
the first way for the second terminal to obtain the electronic resource package is as follows: the second terminal receives an electronic resource package sent by the service server (e.g., the backend server 10d in the embodiment corresponding to fig. 2a to 2 j), where the electronic resource package is generated by the service server according to a generation instruction containing the target image sent by the first terminal (e.g., the terminal device 10a in the embodiment corresponding to fig. 2a to 2 j), where the generation instruction is an instruction instructing the service server to generate the electronic resource package, in other words, the electronic resource package is generated by the service server according to a generation instruction of the electronic resource package containing the target image sent by the first terminal.
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 directly communicate in a broadcast detection mode, the service server is not needed to be used as the information transfer station. At this time, the second terminal may directly receive the electronic resource package sent by the first terminal, the electronic resource package including the target image selected by the user of the first terminal (the image to be viewed by the user B in the corresponding embodiment of fig. 2a to 2j as described above, i.e., the image including the five stars).
And step S102, the second terminal displays the notification message of the electronic resource package on a message receiving page.
Specifically, the electronic resource package further includes a target text (a blessing word: "happy birthday of mom to mom in the embodiments corresponding to fig. 2a to fig. 2j mentioned above), and the target text may be a text set in the first terminal by the user; 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 service server (or the first terminal) (for example, the preset text may be "good fortune", or "congratulation for making good fortune", etc.).
And the second terminal combines the target image and the target text into a preview image, wherein the combination mode can be that the target text is added on 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 may be the preview image.
The second terminal displays the notification message with the preview image as the cover image in the message receiving page (such as the instant messaging page of the user a in the embodiment corresponding to fig. 2a to fig. 2 j), and it can be known that, since the electronic resource package is sent from the first terminal to the second terminal, the message receiving page may refer to a page corresponding to a user (which may also be understood as a user of the first terminal) in the second terminal, who has a binding relationship with the first terminal.
And step S103, the second terminal responds to the trigger operation of the notification message of the electronic resource package, and displays the target image as a background image of the message receiving page.
Specifically, a user may click a notification message of an electronic resource package in a message receiving page, a second terminal responds to a trigger operation of the user for the notification message of the electronic resource package, the second terminal sends a first message to a service server, the first message is used for notifying the service server that the user of the second terminal has clicked the notification message of the electronic resource package, and after the service server receives the first message, the service server determines target resource data corresponding to the notification message of the electronic resource package according to resource allocation information (the resource allocation information may include a type of the electronic resource package, a total resource, a resource allocation type, and a resource allocation number) in a generation instruction of the electronic resource package.
It is commonly understood that, when an electronic resource packet is an electronic red packet, the type of the electronic resource packet is an electronic red packet type (for example, an oriented electronic red packet, a group electronic red packet, etc., where the oriented electronic red packet is an electronic red packet corresponding to only 1 electronic red packet receiver, and the group electronic red packet is an electronic red packet corresponding to a plurality of electronic red packet receivers); the total amount of the resources is the total amount of the electronic red packet; the resource allocation type is an electronic red packet allocation mode (for example, average allocation, random allocation and the like); the resource allocation number is the number of electronic red packets (it can be known that when the type of electronic resource packet is directional electronic red packet, the number of electronic red packets is 1); the target resource data is the amount of the electronic red envelope which is received by the second terminal device.
And the business server transfers the target resource data from the user account with the binding relationship with the first terminal to the user account with the binding relationship with the second terminal, wherein the user account can be a bank card user account or a user account of a social contact account. That is, when the electronic resource package is an electronic red package, the first terminal may issue the electronic red package to the second terminal through a user account in the social account, or may issue the electronic red package to the second terminal through a bank card user account.
It should be noted that, if the electronic resource package acquired by the second terminal is sent by the service server, the service server determines the target resource data corresponding to the electronic resource package; if the second terminal acquires the electronic resource package and is directly sent by the first terminal, the first terminal determines the target resource data corresponding to the notification message of the electronic resource package.
The second terminal responds to the trigger operation of the user to the notification message of the electronic resource package, extracts the prompt information with the target image as the background image of the message receiving page from the electronic resource package, and displays the prompt information at the front end (as the prompt information in the corresponding embodiment of fig. 2 a-2 j, the "getting red packet represents that the picture set by the other party is approved to be used as the background of the current chat window), and the prompt information further comprises an approval identifier (as the button" approve "in the corresponding embodiment of fig. 2 a-2 j, the above button" disapprove "in the corresponding embodiment of fig. 2 a-2 j).
The sequence of receiving the target resource data and displaying the prompt information by the second terminal is not limited.
The prompt message can be known to prompt the user corresponding to the second terminal, and the background image of the message receiving page can be switched.
The user can click the agreement mark or the disagreement mark in the prompt message.
And if the user points the disagreement mark in the prompt message, ending the process.
And if the user points the agreement mark in the prompt message, the second terminal responds to the operation of the user, displays the target resource data, and adjusts the background image of the message receiving page from the original background image to the target image, wherein the original background image is the background image before the background image of the message receiving page is not switched to the target image.
The second terminal displays the target image on the message receiving page, and can know that the target image is displayed as a background image of the message receiving page.
It should be noted that, after the user triggers the notification message of the electronic resource package, the second terminal may display the prompt message first, and after the user clicks the agreement identifier in the prompt message, display the target resource data, and then switch the background image of the message receiving page;
or after the user triggers the notification message of the electronic resource package, the target resource data is displayed first, then the prompt message is displayed, and after the user clicks the agreement mark in the prompt message, the background image of the message receiving page is switched. Since the first case has already been described in the above-described embodiment corresponding to fig. 2 a-2 j, the second case is described in detail, continuing with the example of fig. 2 a-2 j:
referring to fig. 3 b-3 e, which are schematic diagrams illustrating a prompt message according to an embodiment of the present application, when the electronic resource package is an electronic red package, as shown in fig. 3b, the second terminal 10b displays a notification message of the electronic red package on a message receiving page, and the user clicks the notification message.
As shown in fig. 3c, the second terminal receives the target resource data: 8-element, and displaying a text containing the target resource data "8-element": "Gong xi getting 8 Yuan of red envelope".
As shown in fig. 3d, after the user closes the text, a prompt message "whether to 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" flag in the prompt message, as shown in fig. 3e, the background image of the message receiving page is set as the target image, and the message "successful red envelope getting" is displayed.
Referring to fig. 3 f-3 i, which are schematic diagrams illustrating another prompt message according to an embodiment of the present application, when the electronic resource package is an electronic red package, as shown in fig. 3f, the second terminal 10b displays a notification message of the electronic red package on the message receiving page, and the user clicks the notification message.
As shown in fig. 3g, the second terminal receives the target resource data: 8-element, and displaying a text containing the target resource data "8-element": "Gong xi getting 8 Yuan of red envelope".
As shown in fig. 3h, after the user closes the text, the user returns to the message receiving page, and displays a message "successful red envelope retrieval" in the message receiving page, and displays a prompt message "whether the user agrees to use the picture set by the other party as the background of the current chat window" in the message receiving page.
If the user clicks the "agree" flag in the prompt message, as shown in fig. 3i, the background image of the message receiving page is set as the target image.
Optionally, in addition to adjusting the background image of the message receiving page corresponding to the user having the binding relationship with the first terminal in the second terminal to the target image, the second terminal may also adjust the background images of all the message receiving pages to the target image.
Optionally, the user clicks a notification message of the electronic resource package in the message receiving page, the second terminal responds to a trigger operation of the user for the notification message of the electronic resource package, detects whether the current time is within the validity period of the electronic resource package, and if the current time is within the validity period of the electronic resource package, the second terminal may send the first message to the service server to receive the target resource data and adjust the background image of the message receiving page; if the current time is not in the valid period of the electronic resource package, the second terminal can display the expiration prompting message of the electronic resource package.
Further, the user clicks the notification message of the electronic resource package in the message receiving page, the second terminal responds to the trigger operation of the user for the notification message of the electronic resource package, the second terminal sends a verification message to the service 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 service 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 issued to the second terminal along with the electronic resource package), and after receiving the verification message, the service 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 service server verifies that the electronic resource packet is a legal resource packet, the service server can feed back a verification passing message to the second terminal, and then the second terminal can send the first message to the service server again to receive target resource data and adjust a background image of a message receiving page; if the service server verifies that the electronic resource packet is an illegal resource packet, the service server can feed back a verification failure message to the second terminal, and the process is ended.
Optionally, the electronic resource package further includes an image display duration threshold, where the threshold may be set by a user having a binding relationship with the first terminal; if the user having the binding relationship with the first terminal is not set, the threshold may be a value preset by the service server (or the first terminal), and the threshold is a time length for marking the target image as the background image of the message receiving page by the second terminal.
The second terminal extracts an image display duration threshold in the electronic resource package, and counts the display duration of the target image as a background image of the message receiving page, where the display duration may refer to the exposure duration of the target image (also may be understood as the user viewing duration) or the duration of the target image as the background image, regardless of whether the target image is exposed or not.
For example, if the user sets the target image as the background image of the message receiving page in the 1 st second, and the target image is displayed on the message receiving pages from the 1 st to 5 th seconds. If the user closes the message receiving page in the 5 th second and wakes up the message receiving page in the 10 th second, the exposure time of the target image is 4 seconds (from the 1 st second to the 5 th second), and the time of the target image as the background image of the message receiving page is 9 seconds (from the 1 st second to the 10 th second).
When the second terminal detects that the display duration of the target image serving as the background image of the message receiving page is equal to the display duration threshold, the second terminal switches the background image of the message receiving page from the target image to the original background image, and certainly 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 and the original background image that is switched from the original background image to the target image in the foregoing description are the same image.
That is, when the duration of the target image as the background image reaches the duration set by the user of the first terminal, the second terminal switches back the original background image of the message reception page.
Please refer to fig. 4, which is a flowchart illustrating another processing method for an electronic resource package according to an embodiment of the present application, where the embodiment mainly relates to a generation instruction of a first terminal for generating an electronic resource package including a target image, and the processing method for the electronic resource package may include the following steps:
step S201, the first terminal responds to the trigger operation aiming at the target image and generates a generation instruction of the electronic resource package according to the target image.
Specifically, when the user of the first terminal wants to allow the user of the second terminal to view a certain image, the first terminal displays a plurality of images to be selected, the user of the first terminal can select one or more images from the plurality of images to be selected, and the first terminal responds to the operation and takes the image selected by the user as a target image.
The first terminal obtains an image display duration threshold set by a user, and if the user does not set the image display duration threshold, the first terminal can use a preset numerical value as the image display duration threshold. The threshold is used for marking the display duration of the target image in the second terminal.
The first terminal obtains resource allocation information set by a user, and the resource allocation information may include: the electronic resource package type, the resource sum, the resource allocation type and the resource allocation quantity; the first terminal may also obtain a payment password input by the user.
The first terminal may obtain a target text, where the target text may be set by a user, and if the target text is not set by the user, the target text may also be a preset text preset in advance by the first terminal.
The first terminal may display a setting page (e.g., the page corresponding to fig. 2 b), and in the setting page, the user may set the image display duration threshold, the resource allocation information, the target text, and the payment password together.
And the first terminal encapsulates the target image, the image display duration threshold, the resource allocation information, the target text, the payment password and the receiving object of the electronic resource package into a generation instruction of the electronic resource package.
Step S202, the first terminal sends a generation instruction of the electronic resource package to a service server, and instructs the service server to generate the electronic resource package; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
Specifically, the first terminal sends a generation instruction of the electronic resource package to the service server, after the service server verifies that the payment password is correct, the electronic resource package containing the target image, the target text, the image display duration threshold and the prompt information of the background image taking the target image as the message receiving page can be generated, and the electronic resource package is issued to the second terminal where the electronic resource package receiving object is located.
The second terminal generates a notification message of the electronic resource package, and the cover image of the notification message is an image in which the target image and the target text are combined. When the user triggers the notification message, the service server determines target resource data corresponding to the electronic resource packet according to the resource allocation information in the generation instruction, and transfers the target resource data from a user account corresponding to the first terminal to a user account corresponding to the second terminal; and simultaneously displaying prompt information which takes the target image as a background image of the message receiving page, and after a user triggers an agreement identifier in the prompt information, setting the background image of the message receiving page as the target image by the second terminal and displaying the target image as the background image in the message receiving page.
The specific process of the second terminal generating the 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 may refer to steps S101 to S104 in the embodiment corresponding to fig. 3 a.
Optionally, the instruction for generating the electronic resource package further includes a display duration resource amount, where the display duration resource amount is determined by an image display duration threshold. If the image display duration threshold is less than or equal to the preset payment duration threshold, the display duration resource amount is equal to 0; if the image display duration threshold is larger than the preset payment duration threshold, the value of the display duration resource amount and the image display duration are in a direct proportional relation. And after the service server verifies that the payment password in the generated instruction is correct, the display duration resource amount can be transferred from the first terminal to the service server. The popular understanding is that when the electronic resource package is an electronic red package, if the image display duration threshold set by the user of the first terminal is less than or equal to the payment duration threshold, the user only needs to pay the amount of the electronic red package, and if the image display duration threshold set by the user of the first terminal is greater than the payment duration threshold, the user needs to pay not only the amount of the electronic red package but also the display duration cost of the target image in the second terminal, wherein the display duration cost is owned by a developer of the service server.
Optionally, if the first terminal and the second terminal can communicate directly, a background server may not be needed in the system architecture, and at this time, the first terminal may encapsulate the target image, the image display duration threshold, and the target text into the electronic resource package, and send the electronic resource package to the second terminal where the electronic resource package receiving object is located. Similarly, a subsequent second terminal generates a notification message of the electronic resource package, the cover image of the notification message is an image formed by combining a target image and a 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; and simultaneously setting the background image of the message receiving page as the target image by the second terminal, and displaying the target image as the background image in the message receiving page.
Please refer to fig. 5, which is a flowchart illustrating another processing method for an electronic resource package according to an embodiment of the present application, where the embodiment mainly relates to a business server generating an electronic resource package including a target image, and the processing method for the electronic resource package may include the following steps:
step S301, a service server receives a generation instruction of an electronic resource packet sent by a first terminal; the generation instruction of the electronic resource package comprises a target image.
Specifically, the service server receives a generation instruction of the electronic resource package sent by the first terminal, where the generation instruction may include a target image, an image display duration threshold, resource allocation information, a target text, a payment password, and an electronic resource package receiving object.
The specific process of the first terminal generating the generation instruction of the electronic resource package may refer to steps S201 to S202 in the embodiment corresponding to fig. 4.
Step S302, the business server generates an electronic resource packet containing the target image.
Specifically, the service 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, and if so, the payment password is correct; if the two are different, the payment password is wrong. And when the payment password is correct, the service server generates an electronic resource packet according to the received generation instruction, wherein the electronic resource packet can comprise a target image, an image display duration threshold, a target text and prompt information taking the target image as a background image of the message receiving page.
The business server allocates an ID for the electronic resource package, and generates a key (called authkey) according to the timestamp of the currently generated electronic resource package and the ID of the electronic resource package. And the service server adds the ID of the electronic resource package to the ID record table of the resource package and adds the authkey of the electronic resource package to the authkey record table of the resource package.
Step S303, the service server sends the electronic resource packet to a second terminal; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
Specifically, the service server sends the electronic resource package to a terminal device (called a second terminal) where the electronic resource package receiving object is located, where the electronic resource package carries the ID of the electronic resource package and the author of the electronic resource package.
And after receiving the electronic resource package, the second terminal generates a notification message of the electronic resource package, displays the notification message in a message receiving page, and the cover image of the notification message is an image formed by combining the target text and the target image.
The service server also needs to inform the first terminal of generating a notification message of the electronic resource package, after receiving the notification sent by the service server, the first terminal generates the notification message of the electronic resource package, the notification message is displayed in a message receiving page in the first terminal, and a cover image of the notification message is an image formed by combining a target text and a target image.
The user can trigger the notification message in the second terminal, the second terminal responds to the operation, the second terminal sends a verification message to the background server, the verification message carries the ID of the electronic resource packet and the authkey of the electronic resource packet (wherein the authkey of the electronic resource packet is a secret key generated by the service server according to the generation timestamp of the electronic resource packet and the ID of the electronic resource packet), and after receiving the verification message, the service server compares the ID of the electronic resource packet with the plurality of IDs in the resource packet ID recording table in the service server and compares the authkey of the electronic resource packet with the plurality of authkeys in the resource packet ID recording table in the service server.
If the ID of the electronic resource packet can hit the resource packet ID record table, and the authkey of the electronic resource packet can hit the resource packet ID record table, it indicates that the electronic resource packet corresponding to the notification message currently triggered by the user in the second terminal is a valid resource packet, the service server may feed back a verification passing message to the second terminal device, and meanwhile, the service server may determine target resource data corresponding to the electronic resource packet according to the resource allocation information, and transfer the target resource data from the first terminal to the second terminal.
Meanwhile, after receiving the verification passing message sent by the service server, the second terminal receives the target resource data transferred by the service server and displays the prompt information taking the target image as the background image of the message receiving page, and after the user triggers the agreement mark in the prompt information, the second terminal sets the background image of the message receiving page as the target image and displays the target image as the background image in the message receiving page.
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 may refer to steps S101 to S104 in the corresponding embodiment of fig. 3 a.
The second terminal in the application displays the notification message of the electronic resource package on the message receiving page by acquiring the electronic resource package containing the target image, switches the background image of the message receiving page into the target image when the user clicks the notification message, and displays the target image on the message receiving page. In the above way, the second terminal sets the target image in the electronic resource package as the background image of the page, so that the user can forcibly read the content in the target image, the reading duration of the user for reading the information to be publicized can be increased, and the publicizing effect of publicizing through the electronic red packet is improved.
Please refer to fig. 6, which is an interaction schematic diagram of processing an electronic resource package according to an embodiment of the present application, where the following embodiment mainly describes an interaction process between a first terminal and a service server when the electronic resource package is an electronic red package and the electronic red package is generated, where the service server includes an instant messaging background, a payment background, and a red package background.
In step S401, the client 1 acquires the user uid and the login password input by the user 1.
Specifically, the client 1 is installed in a first terminal, the User 1 inputs a User uid (User Identification) and a login password into the client 1, and the client 1 sends the User uid and the login password input by the User 1 to the instant messaging background.
Step S402, the instant communication background returns the login result to the client 1.
Specifically, the instant messaging background verifies whether the user uid and the login password sent by the client 1 are correct or not, and returns a login result to the client 1, wherein the login result comprises login success and login failure, and if the login result is a login result, the login result returned to the client 1 by the instant messaging background carries a login bill.
In step S403, the client 1 obtains the picture selected by the user 1.
Specifically, the user 1 selects a to-be-overlooked screen picture (i.e., a picture to be viewed by the user 2) in the client 1, where the to-be-overlooked screen picture corresponds to the target image in the application.
Step S404, the client 1 sends a picture uploading request to the instant messaging background, and the picture uploading request carries the picture to be highlighted selected by the user 1.
Step S405, the instant communication background stores the picture of the screen to be overlooked, and returns the picture id to the client 1.
Step S406, the client 1 obtains the electronic red packet amount, the number of the electronic red packets and the screen overtime selected by the user 1.
Specifically, the user 1 can set the amount of the electronic red packet, the number of the electronic red packets and the screen overtime in the client 1, and can also set the electronic red packet blessing words together, wherein the screen overtime corresponds to the image display overtime threshold in the application.
Step S407, the client 1 sends an electronic red packet ordering request to the payment background, wherein the electronic red packet ordering request carries the user uid, the login bill, the picture id, the electronic red packet amount, the number of the electronic red packets, the sending object, the receiving object and the screen overtime.
And step S408, the payment background returns the electronic red packet order id to the client 1 according to the received electronic red packet ordering request.
Step S409, after the client 1 receives the electronic red envelope order id, a password payment page is displayed, and the user 1 inputs a payment password on the password payment page.
Step S410, the client 1 sends a payment request to a payment background, and the payment request carries a user uid, a login bill, a payment password and an electronic red packet order id.
And step S411, the payment background verifies the electronic red packet order and the payment password.
Specifically, the payment background judges whether the user uid corresponding to the electronic red envelope order id is the same as the user uid carried by the payment request, verifies whether the payment password input by the user 1 is the same as the registered payment password corresponding to the user uid if the user uid is the same, and executes step S412 if the user uid is the same as the registered payment password.
If the user uid corresponding to the electronic red packet order id is different from the user uid carried by the payment request, the current electronic red packet order is an abnormal order, or the password input by the user 1 for payment is different from the registered payment password corresponding to the user uid, and the process is ended.
Step S412, the payment background sends a payment success message to the red packet background, and the payment success message carries the red packet order id and the picture id.
Step S413, the red packet background generates an electronic red packet, an id is distributed to the electronic red packet, and the authkey of the electronic red packet is generated according to the id of the electronic red packet and the current timestamp.
Step S414, the red packet background informs the instant communication background to send the electronic red packet message to the client 1 where the sending object is located and the client 2 where the receiving object is located, wherein the notice carries the id of the electronic red packet, the authkey of the electronic red packet and the picture id.
Step S415, the instant messaging background sends an electronic red packet message to the client 1, where the electronic red packet message carries the id of the electronic red packet, the authkey of the electronic red packet, and the picture id.
In step S416, the client 1 requests the instant messaging server for the picture corresponding to the picture id.
Specifically, before requesting a picture corresponding to a picture id from an instant messaging server, the client 1 may locally detect whether to store the picture corresponding to the picture id, and if the picture is stored, obtain the picture locally without requesting the instant messaging server; if not, then request to the instant communication server.
Step S417, the instant messaging server returns the to-be-overlooked picture corresponding to the picture id to the client 1.
Step S418, the client 1 generates a notification message of the electronic red envelope message, and displays the notification message in a chat window corresponding to the receiving object, where a cover image of the notification message is a screen image to be highlighted.
Please refer to fig. 7, which is an interaction schematic diagram of another processing of an electronic resource package provided in an embodiment of the present application, where the following embodiment mainly describes an interaction process between a second terminal and a service server when receiving the electronic resource package and setting a background image of a message receiving page when the electronic resource package is an electronic red package, and the service server also includes an instant messaging background, a payment background, and a red package background.
In step S501, the client 2 obtains the user uid and the login password input by the user 2.
Specifically, the client 2 is installed in the second terminal, the user uid and the login password are input by the user 2 in the client 2, and the user uid and the login password input by the user are sent to the instant messaging background by the client 2. The user 2 is the receiving object in the embodiment corresponding to fig. 6.
Step S502, the instant communication background returns the login result to the client 2.
Specifically, the instant messaging background verifies whether the user uid and the login password sent by the client 2 are correct or not, and returns a login result to the client 2, wherein the login result comprises login success and login failure, and if the login result is a login result, the login result returned to the client 2 by the instant messaging background carries a login bill.
Step S503, the instant messaging background sends an electronic red packet message to the client 2 where the sending object is located, wherein the electronic red packet message carries the id of the electronic red packet, the authkey of the electronic red packet and the picture id.
Step S504, the client 2 requests the instant messaging server for the picture corresponding to the picture id.
Step S505, the instant messaging server returns the to-be-overlooked picture corresponding to the picture id to the client 2.
In step S506, the client 2 generates a notification message of the electronic red envelope message, and displays the notification message in a chat window corresponding to the sending object (i.e. the user 1 in the embodiment corresponding to fig. 6), where a cover image of the notification message is a pending screen picture.
In step S507, the user 2 clicks a notification message of the electronic red envelope message in the client 2.
Step S508, the client 2 sends an electronic red envelope robbing request to the red envelope background, wherein the request carries the user uid of the user 2, the login bill, the id of the electronic red envelope and the authkey of the electronic red envelope.
In step S509, the red envelope background verifies the validity of the login ticket in the electronic red envelope robbing request and the validity of the authkey of the electronic red envelope.
Step S510, if the login bill is a legal login bill and the authkey of the electronic red packet is a legal authkey, the red packet background determines the electronic red packet amount corresponding to the client 2 according to the electronic red packet amount, the electronic red packet distribution type and the electronic red packet number, and sends the determined electronic red packet amount, the sending object corresponding to the electronic red packet id, the electronic red packet blessing message and the picture id to the client 2.
Step S511, the red envelope background informs the payment background to transfer the electronic red envelope amount corresponding to the client 2 to the user balance of the user 2.
And step S512, the payment background returns a transfer success notice.
In step S513, the client 2 displays the electronic red packet result, that is, displays the amount of the electronic red packet corresponding to the client 2, the sending object (which may be the remark name of the sending object in the client 2 or the nickname of the sending object), the blessing word, and the picture id.
Step S514, the client 2 sets the to-be-overlooked screen picture corresponding to the picture id as the background image of the chat window with the user 1, and displays the to-be-overlooked screen picture in the chat window with the user 1.
The second terminal in the application displays the notification message of the electronic resource package on the message receiving page by acquiring the electronic resource package containing the target image, switches the background image of the message receiving page into the target image when the user clicks the notification message, and displays the target image on the message receiving page. In this way, the second terminal sets the target image as the background image of the page, forcibly enables the user to read the content in the target image, and can increase the reading duration of the user for reading the information to be publicized and improve the publicizing effect of the publicizing information.
Further, please refer to fig. 8, which is a schematic structural diagram of a processing apparatus for an electronic resource package according to an embodiment of the present application. As shown in fig. 8, the processing apparatus 1 of the electronic resource package may be applied to the second terminal in the corresponding embodiment of fig. 3a to fig. 7, and the processing apparatus 1 of the electronic resource package may include: a first acquisition module 11, a first display module 12, a setting module 13 and a second display module 14.
A first obtaining module 11, configured to obtain an electronic resource package; the electronic resource package contains a target image;
the first display module 12 is configured to display the notification message of the electronic resource package on a message receiving page;
a setting module 13, configured to respond to a trigger operation for a notification message of the electronic resource package, and display the target image as a background image of the message receiving page;
the electronic resource package also comprises prompt information which takes the target image as a background image of the message receiving page;
the setting module 13 is specifically configured to respond to a trigger operation for a notification message of the electronic resource package, display a prompt message, respond to a trigger operation for an agreement identifier in the prompt message, display the target resource data, adjust a background image of the message receiving page from an original background image to the target image according to the prompt message, and display the target image on the message receiving page.
The electronic resource package further comprises a target text;
the first display module 12 is specifically configured to combine the target image and the target text into a preview image, and generate a notification message of the electronic resource package; and 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 taking the preview image as the cover image is displayed on the message receiving page.
For specific functional implementation manners of the first obtaining module 11, the first displaying module 12, the setting module 13, and the second displaying module 14, reference may be made to steps S101 to S104 in the corresponding embodiment of fig. 3a, which is not described herein again.
Referring to fig. 8, the processing apparatus 1 for electronic resource package may include: a first obtaining module 11, a first display module 12 and a setting module 13; the method can also comprise the following steps: a first receiving module 14.
A first receiving module 14, configured to receive target resource data transferred by the service server and corresponding to the notification message of the electronic resource package.
The specific process of the first receiving module 14 may refer to step S103 in the corresponding embodiment of fig. 3 a.
Referring to fig. 8, the processing apparatus 1 for electronic resource package may include: a first obtaining module 11, a first display module 12 and a setting module 13; the method can also comprise the following steps: a statistics module 15.
The first obtaining module 11 is further configured to obtain an image display duration threshold carried by the electronic resource package;
the counting module 15 is configured to count a display duration of the target image serving as the background image of the message receiving page, and switch the background image of the message receiving page from the target image to an original background image when the display duration reaches the image display duration threshold.
The specific processes of the first obtaining module 11 and the counting module 15 can refer to step S104 in the embodiment corresponding to fig. 3 a.
Further, please refer to fig. 9, which is a schematic structural diagram of another processing apparatus for an electronic resource package according to an embodiment of the present application. As shown in fig. 9, the processing apparatus 2 of the electronic resource package may be applied to the first terminal in the corresponding embodiment of fig. 3a to fig. 7, and the processing apparatus 2 of the electronic resource package may include: a first generating module 21 and a sending module 22.
The first generation module 21 is configured to respond to a trigger operation for a target image, and generate a generation instruction of an electronic resource package according to the target image;
a sending module 22, configured to send a generation instruction of the electronic resource package to a service server, and instruct the service server to generate the electronic resource package; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page;
the first generating module 21 is specifically configured to, in response to a trigger operation for the target image, obtain an image display duration threshold, and resource allocation information, and package the target image, the image display duration threshold, and the resource allocation information as a generating instruction of the electronic resource package.
For specific functional implementation manners of the first generating module 21 and the sending module 22, reference may be made to steps S201 to S202 in the embodiment corresponding to fig. 4, which is not described herein again.
Further, please refer to fig. 10, which is a schematic structural diagram of another processing apparatus for an electronic resource package according to an embodiment of the present application. As shown in fig. 10, the processing device 3 of the electronic resource package may be applied to the service server in the corresponding embodiment of fig. 3a to fig. 7, and the processing device 3 of the electronic resource package may include: a second receiving module 31 and a second generating module 32.
A second receiving module 31, configured to receive a generation instruction of an electronic resource package sent by a first terminal; the generation instruction of the electronic resource package comprises a target image;
a second generating module 32, configured to generate an electronic resource package including the target image, and send the electronic resource package to a second terminal; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
For specific functional implementation manners of the second receiving module 31 and the second generating module 32, refer to steps S301 to S303 in the embodiment corresponding to fig. 5, which is not described herein again.
Referring to fig. 10 again, the electronic resource package further includes resource allocation information;
the processing means 3 of the electronic resource package may comprise: a second receiving module 31 and a second generating module 32; the method can also comprise the following steps: a determination module 33.
A determining module 33, configured to, when it is detected that the second terminal responds to a trigger operation for the notification message of the electronic resource package, determine, according to the resource allocation information, target resource data corresponding to the notification message of the electronic resource package, and transfer the target resource data to a user account having a binding relationship with the second terminal.
The specific function implementation manner of the determining module 33 may refer to step S303 in the embodiment corresponding to fig. 5, which is not described herein again.
Further, please refer to fig. 11, which is a schematic structural diagram of a computer device according to an embodiment of the present invention. The second terminal in the corresponding embodiments of fig. 3a to fig. 7 may be a computer device 1000, and as shown in fig. 11, the computer device 1000 may include: a user interface 1002, a processor 1004, an encoder 1006, and a memory 1008. Signal receiver 1016 is used to receive or transmit data via cellular interface 1010, WIFI interface 1012. The encoder 1006 encodes the received data into a computer-processed data format. The memory 1008 has stored therein a computer program by which the processor 1004 is arranged to perform the steps of any of the method embodiments described above. The memory 1008 may include volatile memory (e.g., dynamic random access memory DRAM) and may also include non-volatile memory (e.g., one time programmable read only memory OTPROM). In some instances, the memory 1008 can further include memory located remotely from the processor 1004, which can be connected to the computer device 1000 via a network. The user interface 1002 may include: a keyboard 1018, and a display 1020.
In the computer device 1000 shown in fig. 11, the processor 1004 may be configured to call the memory 1008 to store a computer program to implement:
acquiring an electronic resource package; the electronic resource package contains a target image;
displaying the notification message of the electronic resource package on a message receiving page;
and responding to the trigger operation of the notification message of the electronic resource package, and showing the target image as a background image of the message receiving page.
It should be understood that the computer device 1000 described in the embodiment of the present invention may perform the description of the processing method of the electronic resource package in the embodiment corresponding to fig. 3a, and may also perform the description of the processing apparatus 1 of the electronic resource package in the embodiment corresponding to fig. 8, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Further, here, it is to be noted that: an embodiment of the present invention further provides a computer storage medium, where a computer program executed by the processing apparatus 1 of the electronic resource package mentioned above is stored in the computer storage medium, and the computer program includes program instructions, and when the processor executes the program instructions, the description of the processing method of the electronic resource package in the embodiment corresponding to fig. 3a can be performed, so that details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer storage medium to which the present invention relates, reference is made to the description of the method embodiments of the present invention.
Further, please refer to fig. 12, which is a schematic structural diagram of another computer device according to an embodiment of the present invention. The first terminal in the corresponding embodiments of fig. 3a to fig. 7 may be a computer device 2000, and as shown in fig. 12, 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 configured to receive or transmit data via the cellular interface 2010, the WIFI interface 2012, the. Encoder 2006 encodes the received data into a computer-processed data format. The memory 2008 has stored therein a computer program, and the processor 2004 is arranged to execute the steps of any of the method embodiments described above by means of the computer program. The memory 2008 may include a volatile memory (e.g., dynamic random access memory DRAM) and may also include a non-volatile memory (e.g., an otp rom OTPROM). In some examples, the memory 2008 may further include memory remotely located from the processor 2004, which may be connected to the computer device 2000 via a network. The user interface 2002 may include: a keyboard 2018 and a display 2020.
In the computer device 2000 shown in fig. 12, the processor 2004 may be configured to call the memory 2008 to store a computer program to implement:
responding to a trigger operation aiming at a target image, and generating a generation instruction of an electronic resource package according to the target image;
sending a generation instruction of the electronic resource package to a service server, and instructing the service server to generate the electronic resource package; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
It should be understood that the computer device 2000 described in the embodiment of the present invention may perform the description of the processing method of the electronic resource package in the embodiment corresponding to fig. 4, and may also perform the description of the processing apparatus 2 of the electronic resource package in the embodiment corresponding to fig. 9, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Further, here, it is to be noted that: an embodiment of the present invention further provides a computer storage medium, where a computer program executed by the processing device 2 of the electronic resource package mentioned above is stored in the computer storage medium, and the computer program includes program instructions, and when the processor executes the program instructions, the description of the processing method of the electronic resource package in the embodiment corresponding to fig. 4 can be performed, so that details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer storage medium to which the present invention relates, reference is made to the description of the method embodiments of the present invention.
Further, please refer to fig. 13, which is a schematic structural diagram of another computer device according to an embodiment of the present invention. The service server in the corresponding embodiments of fig. 3a to fig. 7 may be a computer device 3000, as shown in fig. 13, the computer device 3000 may include: a user interface 3002, a processor 3004, an encoder 3006, and a memory 3008. Signal receiver 3016 is used to receive or transmit data via cellular interface 3010, WIFI interface 3012, ·. The encoder 3006 encodes the received data into a computer-processed data format. The memory 3008 has stored therein a computer program by which the processor 3004 is arranged to perform the steps of any one of the above-described method embodiments. The memory 3008 may include volatile memory (e.g., dynamic random access memory DRAM) and may also include non-volatile memory (e.g., one time programmable read only memory OTPROM). In some examples, the memory 3008 may further include memory located remotely from the processor 3004, which may be connected to the computer device 3000 via a network. The user interface 3002 may include: a keyboard 3018 and a display 3020.
In the computer device 3000 shown in fig. 13, the processor 3004 may be configured to call the memory 3008 to store a computer program to implement:
receiving a generation instruction of an electronic resource packet sent by a first terminal; the generation instruction of the electronic resource package comprises a target image;
generating an electronic resource package containing the target image;
sending the electronic resource package to a second terminal; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
It should be understood that the computer device 3000 described in the embodiment of the present invention may perform the description of the processing method of the electronic resource package in the embodiment corresponding to fig. 5, and may also perform the description of the processing apparatus 3 of the electronic resource package in the embodiment corresponding to fig. 10, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Further, here, it is to be noted that: an embodiment of the present invention further provides a computer storage medium, where a computer program executed by the processing device 3 of the electronic resource package mentioned above is stored in the computer storage medium, and the computer program includes program instructions, and when the processor executes the program instructions, the description of the processing method of the electronic resource package in the embodiment corresponding to fig. 5 can be executed, so that details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer storage medium to which the present invention relates, reference is made to the description of the method embodiments of the present invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (14)

1. A method for processing an electronic resource package, comprising:
acquiring an electronic resource package; the electronic resource package contains a target image;
displaying the notification message of the electronic resource package on a message receiving page;
and responding to the trigger operation of the notification message of the electronic resource package, and showing the target image as a background image of the message receiving page.
2. The method of claim 1, further comprising:
and receiving target resource data transferred by the service server and corresponding to the notification message of the electronic resource packet.
3. The method according to claim 2, wherein the electronic resource package further includes a prompt message for the target image as a background image of the message receipt page;
the responding to the triggering operation of the notification message of the electronic resource package, and showing the target image as a background image of the message receiving page, includes:
responding to the trigger operation of the notification message aiming at the electronic resource package, and displaying the prompt information;
responding to the trigger operation aiming at the consent identification in the prompt message, displaying the target resource data, and adjusting the background image of the message receiving page from the original background image to the target image;
and displaying the target image on the message receiving page.
4. The method of claim 1, wherein the electronic resource package further comprises target text;
the displaying the notification message of the electronic resource package on the message receiving page comprises the following steps:
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;
and displaying a notification message of the electronic resource package with the preview image as a cover image on the message receiving page.
5. The method of claim 1, further comprising:
acquiring an image display duration threshold carried by the electronic resource packet;
counting the display duration of the target image as the background image of the message receiving page;
and when the display duration reaches the image display duration threshold, switching the background image of the message receiving page from the target image to an original background image.
6. A method for processing an electronic resource package, comprising:
responding to a trigger operation aiming at a target image, and generating a generation instruction of an electronic resource package according to the target image;
sending a generation instruction of the electronic resource package to a service server, and instructing the service server to generate the electronic resource package; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
7. The method according to claim 6, wherein the generating instruction for generating the electronic resource package according to the target image in response to the triggering operation for the target image comprises:
responding to the trigger operation aiming at the target image, and acquiring the target image;
acquiring an image display duration threshold and resource allocation information;
and packaging the target image, the image display duration threshold and the resource allocation information into a generation instruction of the electronic resource package.
8. A method for processing an electronic resource package, comprising:
receiving a generation instruction of an electronic resource packet sent by a first terminal; the generation instruction of the electronic resource package comprises a target image;
generating an electronic resource package containing the target image;
sending the electronic resource package to a second terminal; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
9. The method of claim 8, wherein the electronic resource package further comprises resource allocation information;
the method further comprises the following steps:
when detecting that the second terminal responds to the triggering operation of the notification message aiming at the electronic resource packet, determining target resource data corresponding to the notification message of the electronic resource packet according to the resource allocation information;
and transferring the target resource data to a user account having a binding relationship with the second terminal.
10. An apparatus for processing an electronic resource package, comprising:
the first acquisition module is used for acquiring the electronic resource package; the electronic resource package contains a target image;
the first display module is used for displaying the notification message of the electronic resource package on a message receiving page;
and the setting module is used for 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.
11. An apparatus for processing an electronic resource package, comprising:
the first generation module is used for responding to trigger operation aiming at a target image and generating a generation instruction of an electronic resource package according to the target image;
the sending module is used for sending the generation instruction of the electronic resource package to a service server and indicating the service server to generate the electronic resource package; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
12. An apparatus for processing an electronic resource package, comprising:
the second receiving module is used for receiving a generation instruction of the electronic resource packet sent by the first terminal; the generation instruction of the electronic resource package comprises a target image;
the second generation module is used for generating an electronic resource package containing the target image and sending the electronic resource package to a second terminal; the electronic resource package comprises prompt information which takes the target image as a background image of a message receiving page.
13. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1-9.
14. A computer storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions which, when executed by a processor, perform the method according to any one of claims 1-9.
CN201911045795.7A 2019-10-30 2019-10-30 Electronic resource package processing method and device and related equipment Pending CN112748966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911045795.7A CN112748966A (en) 2019-10-30 2019-10-30 Electronic resource package processing method and device and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911045795.7A CN112748966A (en) 2019-10-30 2019-10-30 Electronic resource package processing method and device and related equipment

Publications (1)

Publication Number Publication Date
CN112748966A true CN112748966A (en) 2021-05-04

Family

ID=75641812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911045795.7A Pending CN112748966A (en) 2019-10-30 2019-10-30 Electronic resource package processing method and device and related equipment

Country Status (1)

Country Link
CN (1) CN112748966A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114527925A (en) * 2022-02-18 2022-05-24 北京字跳网络技术有限公司 Conversation method, conversation device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114527925A (en) * 2022-02-18 2022-05-24 北京字跳网络技术有限公司 Conversation method, conversation device, electronic equipment and storage medium
CN114527925B (en) * 2022-02-18 2024-02-23 北京字跳网络技术有限公司 Conversation method, conversation device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111654473B (en) Virtual object distribution method and device based on augmented reality
CN105978873B (en) Customized equipment registration method and device
EP3435565B1 (en) System and method for surveying broadcasting ratings
WO2016202116A1 (en) Information processing method, client, server, and computer storage medium
KR101973718B1 (en) Information processing method, client and server
TWI669979B (en) Information processing method, first terminal, second terminal, server, and computer storage medium
TWI706329B (en) Graphic code generation method, resource sending and receiving method, device and electronic equipment
US20220400365A1 (en) Ad hoc file and link sharing for nearby mobile devices
CN111683265A (en) Live broadcast interaction method and device
CN115004672A (en) Information pushing method and device, server and storage medium
KR20150043650A (en) server device and display apparatus for providing donation service, and method thereof
WO2014176896A1 (en) System and method for updating information in an instant messaging application
KR20020006216A (en) An advertizing device and a advertizing method using the device
CN110955905A (en) Block chain based asset transfer method, device, equipment and readable storage medium
CN112748966A (en) Electronic resource package processing method and device and related equipment
CN108288152B (en) Interaction method, terminal and storage medium for sharing information
CN111242678A (en) Data processing method, data processing device, computer equipment and storage medium
CN109302705A (en) WiFi sharing method, device and storage medium based on block chain
KR20220118143A (en) Method of provding contents and terminal device
US20170041282A1 (en) Global Digital Mobile Publishing (GDMP) Method
KR20220033660A (en) System for augmented reality-based celebrity calling event and method thereof
KR101933551B1 (en) Internet alert message sending service apparatus capable of checking whether a message has been confirmed and operating method thereof
US20150095946A1 (en) Display device and server device for providing service to event winner, and methods thereof
CN114270389A (en) Information acquisition method, device, system, electronic equipment and storage medium
KR101041794B1 (en) Method for Transmitting and Servicing a Merchandise Coupon Message and Apparatus thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40044621

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination