CN111476598A - Information prompting method and device, storage medium and electronic device - Google Patents

Information prompting method and device, storage medium and electronic device Download PDF

Info

Publication number
CN111476598A
CN111476598A CN202010202899.0A CN202010202899A CN111476598A CN 111476598 A CN111476598 A CN 111476598A CN 202010202899 A CN202010202899 A CN 202010202899A CN 111476598 A CN111476598 A CN 111476598A
Authority
CN
China
Prior art keywords
account
application
resource information
information
resource
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
CN202010202899.0A
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.)
Weimin Insurance Agency Co Ltd
Original Assignee
Weimin Insurance Agency 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 Weimin Insurance Agency Co Ltd filed Critical Weimin Insurance Agency Co Ltd
Priority to CN202010202899.0A priority Critical patent/CN111476598A/en
Publication of CN111476598A publication Critical patent/CN111476598A/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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0208Trade or exchange of goods or services in exchange for incentives or rewards
    • 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0222During e-commerce, i.e. online transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a method and a device for prompting information, a storage medium and an electronic device. Wherein, the method comprises the following steps: the method comprises the steps of obtaining communication data sent by a first application, wherein the first application is an application loaded into a second application for use; identifying first resource information of a first account from the communication data, wherein the first account is an account used in the second application, and the first resource information is used for representing first virtual resources consumed by the first account in the second application; and prompting second resource information to the first account according to the first resource information on a service interface of the service account, wherein the second resource information is used for prompting a second virtual resource to be acquired by the first account, the service account is used for performing information interaction with a target account through the service interface in a second application, the target account is an account which pays attention to the service account in the second application, and the target account comprises the first account. The method and the device solve the technical problem that the efficiency of issuing the virtual resources is low in the related technology.

Description

Information prompting method and device, storage medium and electronic device
Technical Field
The application relates to the field of internet, in particular to a method and a device for prompting information, a storage medium and an electronic device.
Background
The shopping mode is a more and more popular shopping mode that a user finishes browsing and purchasing commodities through a consumption platform and pays for a commodity seller through a payment platform (a network platform and a mobile payment platform), and the convenience and comprehensiveness of the shopping mode almost relate to various fields of life, such as purchasing daily commodities, financial products, insurance products and the like.
In order to attract users to buy products, some merchants add an incentive mechanism in the selling process, such as giving coupons, giving cash coupons, giving other additional products, giving cash back and the like after the users buy the products, a related technology center manually verifies orders during incentive, then manually rewards the buyers in an off-line or on-line mode, and virtual resources such as the coupons, the cash coupons and virtual money are distributed to the buyers, and due to the fact that the manual efficiency is low, processing bottlenecks can be caused, and the processing efficiency of the whole activity is affected.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides an information prompting method and device, a storage medium and an electronic device, so as to at least solve the technical problem of low efficiency of issuing virtual resources in the related art.
According to an aspect of an embodiment of the present application, there is provided a method for prompting information, including: the method comprises the steps of obtaining communication data sent by a first application, wherein the first application is an application loaded into a second application for use; identifying first resource information of a first account from the communication data, wherein the first account is an account used in the second application, and the first resource information is used for representing first virtual resources consumed by the first account in the second application; and prompting second resource information to the first account according to the first resource information on a service interface of the service account, wherein the second resource information is used for prompting a second virtual resource to be acquired by the first account, the service account is used for performing information interaction with a target account through the service interface in a second application, the target account is an account which pays attention to the service account in the second application, and the target account comprises the first account.
According to another aspect of the embodiments of the present application, there is also provided an information prompting apparatus, including: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring communication data sent by a first application, and the first application is an application loaded into a second application for use; the identification unit is used for identifying first resource information of a first account from the communication data, wherein the first account is an account used in the second application, and the first resource information is used for representing first virtual resources consumed by the first account in the second application; and the prompting unit is used for prompting second resource information to the first account according to the first resource information on a service interface of the service account, wherein the second resource information is used for prompting a second virtual resource to be acquired by the first account, the service account is used for performing information interaction with a target account through the service interface in a second application, the target account is an account which pays attention to the service account in the second application, and the target account comprises the first account.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program which, when executed, performs the above-described method.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above method through the computer program.
In the embodiment of the application, after a user purchases a commodity in a public number or another applet of an instant messaging application, prompt information is pushed to the user through a service account to prompt the user to acquire a virtual resource which is rewarded, the whole process can be realized by means of interaction among a first application, a server and the service account on a user terminal, manual realization is not needed, the technical problem of low efficiency of virtual resource distribution in the related technology can be solved, and the technical effect of improving the efficiency is further achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a diagram of a hardware environment for a method of prompting for information according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative method of prompting for information according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an alternative message prompting scheme according to an embodiment of the present application;
FIG. 4 is a flow chart of an alternative method of prompting for information according to an embodiment of the present application;
FIG. 5 is a flow chart of an alternative method of obtaining payment information according to an embodiment of the present application;
FIG. 6 is a flow diagram of an alternative method of identifying payment information according to an embodiment of the present application;
FIG. 7 is a flow chart of an alternative cashback scheme according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an alternative message prompting device according to an embodiment of the present application;
and
fig. 9 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, 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 partial embodiments of the present application, but not all 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.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, partial nouns or terms appearing in the description of the embodiments of the present application are applicable to the following explanations:
optical character recognition OCR: the Optical Character Recognition refers to a process of analyzing, identifying and processing an image file of text data to obtain text and layout information. That is, characters in an image are recognized and returned in the form of text, and according to a recognized scene, OCR can be roughly classified into a dedicated OCR recognizing a specific scene and a general OCR recognizing various scenes.
MD 5: MD5 Message-Digest Algorithm, a widely used cryptographic hash function, may generate a 128-bit (16-byte) hash value to ensure that the information transfer is complete and consistent.
The small program: the Mini Program is an application which can be used without downloading and installing, realizes the dream of 'being reachable by a touch' of the application, can be opened by scanning or searching by a user, and is widely applied to applications such as instant messaging, searching and the like.
Public number: the application account applied by the developer or the merchant on the public platform can realize the all-round communication and interaction with the characters, pictures, voice and video of a specific group on the instant communication platform and other platforms through the public number.
The OCR recognition technology in the related technology only provides a technology access document, and recommended scenes for research and development engineers needing to integrate the OCR technology comprise document character scanning, logistics list information recognition, identity authentication, license plate OCR recognition, medical document recognition and the like. The related art requires a user to create a scene, which increases the threshold of the user, and the supported scenes are not related to the payment cashback.
In order to overcome the above defects, according to an aspect of the embodiments of the present application, a method embodiment of a method for prompting information is provided, which provides an award scheme based on OCR recognition, and pays a cashback to a user paying attention to a specified public number, or awards in the form of a coupon, a voucher, and the like, for a scenario of paying an award (such as paying a cashback) in instant messaging.
Alternatively, in this embodiment, the information prompting method may be applied to a hardware environment formed by the terminal 101 and the server 103 as shown in fig. 1. As shown in fig. 1, the server 103 is connected to the terminal 101 through a network, which may be used to provide services (such as bonus services) for the terminal or a client installed on the terminal, and a database 105 may be provided on the server or separately from the server for providing data storage services for the server 103, and the network includes but is not limited to: the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, and the like.
The information presentation method according to the embodiment of the present application may be executed by the server 103, or may be executed by both the server 103 and the terminal 101. Fig. 2 is a flowchart of an optional information prompting method according to an embodiment of the present application, and as shown in fig. 2, the method may include the following steps:
step S202, the server acquires communication data sent by a first application, wherein the first application is an application loaded into a second application for use.
The second application is an application with an applet application environment, such as an instant messaging application, a search application and the like, and the server is an application server of the second application; the first application is an applet used in the second application.
In step S204, the server identifies, from the communication data, first resource information of a first account, where the first account is an account used in the second application, and the first resource information is used to indicate a first virtual resource consumed by the first account in the second application, such as a money or a voucher consumed for purchasing a commodity in a public number of the instant messaging application or another applet.
Step S206, the server prompts second resource information to the first account according to the first resource information on the service interface of the service account, the second resource information is used for prompting a second virtual resource to be picked up by the first account, the service account is used for performing information interaction with a target account through the service interface in the second application, the target account is an account which pays attention to the service account in the second application, and the target account comprises the first account.
The service account is a public number in the second application, and the public number can interact with a user who subscribes to the public number, in other words, the user can obtain corresponding rewards by subscribing to the public number when purchasing commodities.
Through the steps, after a user purchases a commodity in a public number or another applet of the instant messaging application, prompt information is pushed to the user through the service account to prompt the user to acquire the rewarded virtual resource, the whole process can be achieved by means of interaction among the first application, the server and the service account on the user terminal, manual implementation is not needed, the technical problem that the efficiency of virtual resource distribution in the related technology is low can be solved, and the technical effect of improving the efficiency is achieved.
In the solution of the present application, the payment cashback to the user concerning the specified public number can be implemented in the form of an applet plug-in an instant messaging application by combining an OCR recognition technology and an MD5 encryption technology, and the technical solution of the present application is further detailed below with reference to the steps shown in fig. 2.
In the technical solution provided in step S202, communication data sent by a first application is acquired, where the first application is an application loaded into a second application for use.
Optionally, acquiring the communication data sent by the first application may be implemented as follows:
step 1, a first application detects a transaction occurring in a second application.
And 2, screenshot is carried out on the transaction result to obtain image data, and the image data is obtained by screenshot on the displayed first resource information (namely the purchase result of the insurance product) when the first account consumes the first virtual resource in the second application, such as insurance purchase.
At step 3, the first application encrypts the image data according to a predetermined encryption method (e.g., MD 5).
And 4, the first application transmits the encrypted image data to the server by using an HTTP protocol.
Optionally, the first application starts a thread for monitoring a transmission state of the image data when sending the image data, and the thread resends the image data to the server when monitoring the returned prompt information indicating the failed delivery.
And step 5, the server acquires the image data which is sent by the first application and used for representing the communication data.
Optionally, in the process of acquiring the image data used for representing the communication data and sent by the first application, the server receives the image data according to a target protocol (such as the HTTP protocol) agreed with the first application; and returning prompt information of failure in receiving to the first application when the image data fails to be received.
In the technical solution provided in step S204, the first resource information of the first account is identified from the communication data.
In the above embodiment, when the server identifies the first resource information of the first account from the communication data, the server may decrypt the image data encrypted by the first application to obtain decrypted image data; and identifying the image data by adopting an image identification mode to obtain first resource information, wherein the first resource information comprises a resource amount (such as transaction amount) of the first virtual resource, a first account (such as a payer) and a second account (such as a payee) for receiving the first virtual resource, and the second account is an account used in the second application.
Optionally, for the server, when receiving the first resource information, the server may compare the first resource information with the resource information uploaded by the third application, and if there is resource information whose resource amount, the first account, the second account, and the like are the same, continue the subsequent process.
In the technical solution provided in step S206, second resource information is prompted to the first account on the service interface of the service account according to the first resource information.
Optionally, before prompting the second resource information to the first account in the service interface of the service account according to the first resource information, acquiring state information of a target identifier in a third application, where the state information is used to record whether the first account receives the virtual resource, the target identifier is used to uniquely represent the first account in the service account, such as an openid identifier in a public number, and the third application is an application loaded into the second application for use in association with the second account, such as an applet in an instant messaging application, and at this time, the second account is equivalent to a resource receiver corresponding to the applet in the instant messaging application; under the condition that the state information indicates that the second virtual resource is sent to the first account, the operation of prompting the first account for the second resource information is cancelled; and under the condition that the state information indicates that the second virtual resource is not sent to the first account, executing the operation of prompting the second resource information to the first account in the service interface.
Optionally, the obtaining of the state information of the target identifier in the third application includes: searching a target identifier for representing the first account in an identifier set of the third application, wherein the accounts represented by any two identifiers in the identifier set are different; under the condition that the target identifier is found, third resource information associated with the target identifier is obtained, wherein the third resource information is used for representing virtual resources sent by the first account to a third application, such as inquiring a consumption record of the first account; in case the third resource information matches the first resource information (i.e. the same consumption record), the status information of the target identity is obtained.
Optionally, after prompting the second resource information to the first account in the service interface of the service account according to the first resource information, the second virtual resource is sent to the first account when a preset operation on the second resource information is detected, for example, when a "get" virtual button in the message is clicked.
As an alternative embodiment, the technical solution of the present application is further described below by taking the return example of applying the technical solution of the present application to an instant messaging application.
As shown in fig. 3, one of the main application scenarios of the present application is payment by instant messaging, and cash cashback is performed for a specific user by combining the following text with the public number of the instant messaging application, so that the problems of tedious procedure and low efficiency caused by the cashback process of manual intervention payment are solved, and the user experience of payment cashback is improved.
The technical side is realized as shown in FIG. 4:
step 1, by utilizing the function of an applet plug-in of instant messaging, a user firstly obtains the applet plug-in (namely, a first application), and the plug-in obtains payment information of an instant messaging application (namely, a second application);
step 2, in order to prevent information leakage, MD5 is used for encrypting and then transmitting the information to a server;
step 3, the server identifies information such as a transaction order number, a merchant order number, payment amount and the like in the payment information;
step 4, informing the amount of the cashback of the public number;
and 5, returning cash to the appointed public number, combining the function of the public number for issuing cash to the appointed user, and returning the cash to the specific user by the server.
The technical scheme mainly comprises three links of obtaining payment information, identifying payment information and returning to the public account, and the technical implementation processes of the three links are described in detail below.
The process of obtaining payment information is shown in FIG. 5
Step S501, triggering the technical scheme of the application depending on the completion of payment by the user.
Step S502, detecting whether a plug-in is installed, if so, executing step S504, otherwise, executing step S503.
In step S503, the payment information cannot be acquired.
Step S504, the user starts the applet plug-in, then payment is carried out in instant messaging, a payment page is entered, the plug-in screenshot reserves the payment picture, namely the screenshot reserves the user payment page.
In step S505, the picture is MD5 encrypted using the MD5 library of JavaScript.
Step S506, the process monitors the transmission condition of the picture while transmitting the picture.
And step S507, transmitting the picture by using an http protocol.
In step S508, it is detected whether the picture is successfully transmitted, if so, step S510 is executed, and if not, step S509 is executed.
In step S509, if the fail message (i.e. the message of failed reception) returned by the server is obtained, the transmission is attempted again until the transmission is successful.
Step S510, the monitoring process obtains a receive message (i.e., a message of successful reception) returned by the server, which indicates that the transmission is successful, and ends the process of obtaining payment information.
The flow of identifying payment information is shown in fig. 6:
step S601, the server receives the payment picture and stores the payment picture to the local.
Step S602, the picture is subjected to MD5 decryption by utilizing an MD5 library of JavaScript.
Step S603, recognizing the payment information in the picture by using an OCR algorithm.
Step S604, detecting whether the identification process is successful, if so, performing step S605, otherwise, repeating step S603, retrying the identification, and if the retrying is still failed after a plurality of times (e.g. 10 times), returning an error notification.
Step S605, if successful, obtains the transaction order number and the merchant order number, and the payment amount.
Step S606, the identified payment information of the public number is notified.
The cash cashback flow is shown in FIG. 7:
step S701, obtaining payment information of the user.
Step S702, after obtaining the payment information of the instant messaging of the user, searching whether the openid (i.e. the target identifier) of the user exists in the public number, if so, executing step S704, otherwise, executing step S703.
The openid is the unique identifier of the user under the current public number, and the openid of the instant messaging account of the user can be compared with the openid of the concerned public number by performing key-value-pair data binding on the openid and the order purchase information of the user to judge whether the openid exists or not.
Step S703 returns an error message indicating that the user is absent.
Step S704, if yes, continue to search for whether there is a payment information record of the user, and may use the transaction order number and the merchant order number to search for the payment information record of the user, if yes, execute step S705, otherwise execute step S706.
Step S705, return the error information paid by the user.
Step S706, sending a message to inform the public number to return to the present.
In step S707, the public account is returned.
By adopting the technical scheme, the manual intervention payment cashback flow can be effectively reduced, the error opportunity is reduced, the use scene of the OCR technology is enriched, and cash cashback under the instant messaging payment can be efficiently completed.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
According to another aspect of the embodiment of the application, an information prompting device for implementing the information prompting method is further provided. Fig. 8 is a schematic diagram of an alternative information prompting apparatus according to an embodiment of the present application, and as shown in fig. 8, the apparatus may include:
an obtaining unit 801, configured to obtain communication data sent by a first application, where the first application is an application loaded into a second application for use;
an identifying unit 803, configured to identify, from the communication data, first resource information of a first account, where the first account is an account used in the second application, and the first resource information is used to indicate a first virtual resource consumed by the first account in the second application;
the prompting unit 805 is configured to prompt, according to the first resource information, second resource information to the first account in a service interface of the service account, where the second resource information is used to prompt a second virtual resource to be obtained by the first account, the service account is used to perform information interaction with a target account through the service interface in the second application, the target account is an account in the second application, where the target account focuses on the service account, and the target account includes the first account.
It should be noted that the obtaining unit 801 in this embodiment may be configured to execute the step S202 in this embodiment, the identifying unit 803 in this embodiment may be configured to execute the step S204 in this embodiment, and the prompting unit 805 in this embodiment may be configured to execute the step S206 in this embodiment.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 1, and may be implemented by software or hardware.
Through the module, after a user purchases a commodity in a public number or another applet of the instant messaging application, prompt information is pushed to the user through the service account to prompt the user to acquire the rewarded virtual resource, the whole process can be realized by means of interaction among the first application, the server and the service account on the user terminal, manual realization is not needed, the technical problem that the efficiency of distributing the virtual resource in the related technology is low can be solved, and the technical effect of improving the efficiency is achieved.
Optionally, the obtaining unit may be further configured to: the method comprises the steps of obtaining image data which are sent by a first application and used for representing communication data, wherein the image data are obtained by carrying out screenshot on displayed first resource information when a first account consumes first virtual resources in a second application.
Optionally, the identification unit may be further configured to: decrypting the image data encrypted by the first application to obtain decrypted image data; and identifying the image data by adopting an image identification mode to obtain first resource information, wherein the first resource information comprises a resource amount of a first virtual resource, a first account and a second account for receiving the first virtual resource, and the second account is an account used in a second application.
Optionally, the obtaining unit may be further configured to receive, during obtaining of the image data representing the communication data sent by the first application, the image data according to a target protocol agreed with the first application; and under the condition that the image data is failed to be received, returning prompt information of the failure to be received to the first application, wherein the first application starts a thread for monitoring the transmission state of the image data when sending the image data, and the thread resends the image data to the server under the condition that the returned prompt information is monitored.
Optionally, the prompting unit may be further configured to: before prompting the second resource information to the first account according to the first resource information and the service interface of the service account, the method further comprises: acquiring state information of a target identifier in a third application, wherein the target identifier is used for representing the first account, and the third application is an application which is associated with the second account and is loaded into the second application for use; under the condition that the state information indicates that the second virtual resource is sent to the first account, the operation of prompting the first account for the second resource information is cancelled; and under the condition that the state information indicates that the second virtual resource is not sent to the first account, executing the operation of prompting the second resource information to the first account in the service interface.
Optionally, the prompting unit may be further configured to: searching a target identifier for representing the first account in an identifier set of the third application, wherein the accounts represented by any two identifiers in the identifier set are different; under the condition that the target identifier is found, third resource information associated with the target identifier is obtained, wherein the third resource information is used for representing virtual resources sent by the first account to a third application; and acquiring the state information of the target identifier under the condition that the third resource information is matched with the first resource information.
Optionally, the prompting unit may be further configured to send the second virtual resource to the first account when a preset operation on the second resource information is detected after prompting the second resource information to the first account in the service interface of the service account according to the first resource information.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
According to another aspect of the embodiment of the application, a server or a terminal for implementing the information prompting method is further provided.
Fig. 9 is a block diagram of a terminal according to an embodiment of the present application, and as shown in fig. 9, the terminal may include: one or more processors 901 (only one of which is shown in fig. 9), a memory 903, and a transmission apparatus 905, as shown in fig. 9, the terminal may further include an input-output device 907.
The memory 903 may be used to store software programs and modules, such as program instructions/modules corresponding to the information prompting method and apparatus in the embodiment of the present application, and the processor 901 executes various functional applications and data processing by running the software programs and modules stored in the memory 903, that is, implements the information prompting method described above. The memory 903 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 903 may further include memory located remotely from the processor 901, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The above-mentioned transmission device 905 is used for receiving or sending data via a network, and can also be used for data transmission between a processor and a memory. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 905 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices so as to communicate with the internet or a local area Network. In one example, the transmission device 905 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The memory 903 is used for storing, among other things, application programs.
The processor 901 may call an application stored in the memory 903 through the transmission device 905 to perform the following steps:
the method comprises the steps of obtaining communication data sent by a first application, wherein the first application is an application loaded into a second application for use;
identifying first resource information of a first account from the communication data, wherein the first account is an account used in the second application, and the first resource information is used for representing first virtual resources consumed by the first account in the second application;
and prompting second resource information to the first account according to the first resource information on a service interface of the service account, wherein the second resource information is used for prompting a second virtual resource to be acquired by the first account, the service account is used for performing information interaction with a target account through the service interface in a second application, the target account is an account which pays attention to the service account in the second application, and the target account comprises the first account.
The processor 901 is further configured to perform the following steps:
decrypting the image data encrypted by the first application to obtain decrypted image data;
and identifying the image data by adopting an image identification mode to obtain first resource information, wherein the first resource information comprises a resource amount of a first virtual resource, a first account and a second account for receiving the first virtual resource, and the second account is an account used in a second application.
By adopting the embodiment of the application, after a user purchases a commodity in a public number or another applet of an instant messaging application, prompt information is pushed to the user through the service account to prompt the user to acquire rewarded virtual resources, the whole process can be realized by means of interaction among a first application, a server and the service account on the user terminal without manual realization, the technical problem of low efficiency of virtual resource distribution in the related technology can be solved, and the technical effect of improving the efficiency is further achieved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 9 is only an illustration, and the terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. Fig. 9 is a diagram illustrating a structure of the electronic device. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 9, or have a different configuration than shown in FIG. 9.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Embodiments of the present application also provide a storage medium. Alternatively, in this embodiment, the storage medium may be a program code for executing a method of presenting information.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
the method comprises the steps of obtaining communication data sent by a first application, wherein the first application is an application loaded into a second application for use;
identifying first resource information of a first account from the communication data, wherein the first account is an account used in the second application, and the first resource information is used for representing first virtual resources consumed by the first account in the second application;
and prompting second resource information to the first account according to the first resource information on a service interface of the service account, wherein the second resource information is used for prompting a second virtual resource to be acquired by the first account, the service account is used for performing information interaction with a target account through the service interface in a second application, the target account is an account which pays attention to the service account in the second application, and the target account comprises the first account.
Optionally, the storage medium is further arranged to store program code for performing the steps of:
decrypting the image data encrypted by the first application to obtain decrypted image data;
and identifying the image data by adopting an image identification mode to obtain first resource information, wherein the first resource information comprises a resource amount of a first virtual resource, a first account and a second account for receiving the first virtual resource, and the second account is an account used in a second application.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the method described in the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method for prompting information is characterized by comprising the following steps:
the method comprises the steps of obtaining communication data sent by a first application, wherein the first application is an application loaded into a second application for use;
identifying first resource information of a first account from the communication data, wherein the first account is an account used in the second application, and the first resource information is used for representing first virtual resources consumed by the first account in the second application;
and prompting second resource information to the first account according to the first resource information on a service interface of the service account, wherein the second resource information is used for prompting a second virtual resource to be acquired by the first account, the service account is used for performing information interaction with a target account through the service interface in the second application, the target account is an account which pays attention to the service account in the second application, and the target account comprises the first account.
2. The method of claim 1, wherein obtaining communication data sent by a first application comprises:
and acquiring image data which is sent by the first application and used for representing the communication data, wherein the image data is obtained by screenshot of the displayed first resource information when the first account consumes the first virtual resource in the second application.
3. The method of claim 2, wherein identifying the first resource information of the first account from the communication data comprises:
decrypting the image data encrypted by the first application to obtain the decrypted image data;
and identifying the image data by adopting an image identification mode to obtain the first resource information, wherein the first resource information comprises the resource amount of the first virtual resource, the first account and a second account for receiving the first virtual resource, and the second account is an account used in the second application.
4. The method of claim 2, wherein in acquiring the image data representing the communication data sent by the first application, the method further comprises:
receiving the image data according to a target protocol agreed with the first application;
and under the condition that the image data is failed to be received, returning prompt information of failure to be received to the first application, wherein the first application starts a thread for monitoring the transmission state of the image data when sending the image data, and the thread resends the image data to a server under the condition that the returned prompt information is monitored.
5. The method of claim 1,
before prompting second resource information to the first account on a service interface of the service account according to the first resource information, the method further comprises the following steps: acquiring state information of a target identifier in a third application, wherein the target identifier is used for representing the first account, and the third application is an application which is associated with the second account and is loaded into the second application for use; when the state information indicates that the second virtual resource is sent to the first account, cancelling the operation of prompting the first account for the second resource information;
prompting second resource information to the first account on a service interface of the service account according to the first resource information comprises: and when the state information indicates that the second virtual resource is not sent to the first account, performing an operation of prompting the second resource information to the first account on the service interface.
6. The method of claim 5, wherein obtaining the state information of the target identifier in the third application comprises:
searching a target identifier for representing the first account in an identifier set of the third application, wherein the accounts represented by any two identifiers in the identifier set are different;
under the condition that the target identifier is found, third resource information associated with the target identifier is acquired, wherein the third resource information is used for representing virtual resources sent by the first account to the third application;
and acquiring the state information of the target identifier under the condition that the third resource information is matched with the first resource information.
7. The method according to any one of claims 1 to 6, wherein after prompting the first account for second resource information at a service interface of a service account according to the first resource information, the method further comprises:
and sending the second virtual resource to the first account under the condition of detecting the preset operation on the second resource information.
8. An apparatus for presenting information, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring communication data sent by a first application, and the first application is an application loaded into a second application for use;
an identifying unit, configured to identify first resource information of a first account from the communication data, where the first account is an account used in the second application, and the first resource information is used to indicate a first virtual resource consumed by the first account in the second application;
and the prompting unit is used for prompting second resource information to the first account according to the first resource information on a service interface of the service account, wherein the second resource information is used for prompting a second virtual resource to be acquired by the first account, the service account is used for performing information interaction with a target account through the service interface in the second application, the target account is an account which pays attention to the service account in the second application, and the target account comprises the first account.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program when executed performs the method of any of the preceding claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the method of any of the preceding claims 1 to 7 by means of the computer program.
CN202010202899.0A 2020-03-20 2020-03-20 Information prompting method and device, storage medium and electronic device Pending CN111476598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010202899.0A CN111476598A (en) 2020-03-20 2020-03-20 Information prompting method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010202899.0A CN111476598A (en) 2020-03-20 2020-03-20 Information prompting method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN111476598A true CN111476598A (en) 2020-07-31

Family

ID=71747680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010202899.0A Pending CN111476598A (en) 2020-03-20 2020-03-20 Information prompting method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN111476598A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112308622A (en) * 2020-11-06 2021-02-02 广州博冠信息科技有限公司 Data processing method and device for virtual object, storage medium and electronic equipment
CN114124415A (en) * 2020-08-13 2022-03-01 腾讯科技(深圳)有限公司 Information interaction method and device in target interaction application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106097023A (en) * 2016-07-01 2016-11-09 腾讯科技(深圳)有限公司 A kind of data processing method and device
CN107729124A (en) * 2017-09-12 2018-02-23 阿里巴巴集团控股有限公司 Transaction methods and device, electronic equipment
CN109064204A (en) * 2018-06-13 2018-12-21 西安艾润物联网技术服务有限责任公司 Discount coupon distribution method, system and computer readable storage medium
CN109688175A (en) * 2017-10-18 2019-04-26 腾讯科技(深圳)有限公司 Resource packet distribution method, resource packet acquisition methods, device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106097023A (en) * 2016-07-01 2016-11-09 腾讯科技(深圳)有限公司 A kind of data processing method and device
CN107729124A (en) * 2017-09-12 2018-02-23 阿里巴巴集团控股有限公司 Transaction methods and device, electronic equipment
CN109688175A (en) * 2017-10-18 2019-04-26 腾讯科技(深圳)有限公司 Resource packet distribution method, resource packet acquisition methods, device and storage medium
CN109064204A (en) * 2018-06-13 2018-12-21 西安艾润物联网技术服务有限责任公司 Discount coupon distribution method, system and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124415A (en) * 2020-08-13 2022-03-01 腾讯科技(深圳)有限公司 Information interaction method and device in target interaction application
CN112308622A (en) * 2020-11-06 2021-02-02 广州博冠信息科技有限公司 Data processing method and device for virtual object, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US11276048B2 (en) Online payment processing method apparatus and system
US10362179B2 (en) Peel and stick activation code for activating service for a wireless device
US9530126B2 (en) Secure mobile payment processing
US20120158580A1 (en) System, Method and Apparatus for Mobile Payments Enablement and Order Fulfillment
JP2018536918A (en) Information processing method, server, first terminal, and computer storage medium
CN105099688A (en) Operation method for electronic account, display method and apparatus for payment page
US20130325721A1 (en) Data Processing
US20120284035A1 (en) Method and Apparatus for Registering Closed and Open Loop Prepaid Gift Cards and Other Prepaid Card Products
US20150142543A1 (en) Smart source direct coupon delivery and processing
JP2014512058A (en) Digital token generator, server for recording digital tokens, and method for issuing digital tokens
US11392978B2 (en) Device with rule based offers
CN106204019B (en) Information processing method, first terminal, second terminal and server
CN111476598A (en) Information prompting method and device, storage medium and electronic device
US20090076923A1 (en) Secure Customer Relationship Marketing System and Method
US20140149291A1 (en) System and method for electronic commerce
WO2015126827A1 (en) Distributed personal analytics, broker and processing systems and methods
CN110266686B (en) Data sharing method, device, equipment and computer readable storage medium
US20200233696A1 (en) Real Time User Matching Using Purchasing Behavior
CN115994769A (en) Anti-counterfeiting method and device for commodity identification and verification method and device for commodity authenticity
WO2014018540A2 (en) Systems, methods, and computer program products for providing offers to mobile wallets
CN106716401A (en) Data interaction processing method, device and system
US11093942B2 (en) Peel and stick activation code for activating service for a wireless device
US11823140B2 (en) Server and method for sending a transaction receipt via a push notification
CN110505260B (en) Processing method and system of push information, display device and mobile terminal
US20140278887A1 (en) Rewards redemption system and method (cpg/oem loyalty program)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200731