Disclosure of Invention
In order to solve the above problem, embodiments of the present invention provide an activity participation data generation method and apparatus based on an applet.
In a first aspect, an embodiment of the present invention provides an activity participation data generation method based on an applet, including: if the clicking operation of the user on the active link is received, acquiring a user identifier, and judging the user type according to the user identifier; if the user type is a common user, showing activity details to the user; acquiring a participation state generated by a user according to the activity detail page, and generating participation data; the activity link is established for the store seller and then is shared or published, and the participation data is visible to the store seller.
Further, if the user type is a shop seller, showing a seller interface to the user; the seller interface includes any one or more of an editing interface, a sharing interface and an activity result interface.
Further, before the acquiring the participation state generated by the user according to the activity detail page, the method further includes: and judging whether the user is a member user, and if the user is a non-member user, displaying a member card getting interface to the user.
Further, the method further comprises: if an entering operation of clicking the small program by a user is received, acquiring a user identifier, and judging the user type according to the user identifier; if the user type is a shop seller, showing a seller interface to the user; the seller interface comprises any one or more of an existing activity editing interface, an existing activity sharing interface, an activity new-building interface and an existing activity result interface.
Further, if the user is a common user, displaying a selection page for judging whether the shop is registered or not to the user; if receiving the operation of the user selecting the registered shop, providing the data filling page for the user and receiving the registered data of the user.
Further, the operation mode of the user clicking the small program to enter includes any one of the following modes: the user clicks after receiving other user invitations, clicks after searching for applets, or clicks through an applet list.
Further, the seller interface includes an activity new interface, and correspondingly, after the seller interface is presented to the user, the method further includes: after receiving the operation of selecting a new activity by a user, displaying an activity editing page; and receiving the activity type selected by the user and the added activity information, and generating the activity link after receiving the confirmation information of the user.
In a second aspect, an embodiment of the present invention provides an activity participation data generation apparatus based on an applet, including: the judging module is used for acquiring a user identifier if the clicking operation of the user on the active link is received, and judging the user type according to the user identifier; the display module is used for displaying activity details to the user if the user type is a common user; the processing module is used for acquiring the participation state generated by the user according to the activity detail page and generating participation data; the activity link is established for the store seller and then is shared or published, and the participation data is visible to the store seller.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the applet-based activity participation data generation method in the first aspect of the present invention.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the applet-based activity participation data generation method of the first aspect of the present invention.
According to the activity participation data generation method and device based on the small program, the participation state of the user is obtained through clicking operation of the user on the activity link, and the awareness level of the buyer user on the activity can be effectively obtained. By acquiring the participation state generated by the user according to the activity detail page and generating the participation data, the merchant can check and analyze the activity effect at any time, and the detailed analysis of the activity data, the user purchasing behavior, the purchasing demand and the like is facilitated.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
The applet in the embodiment of the present invention is a program that can be used without installation based on instant messaging software, such as a wechat applet, and the wechat applet is described below as an example, it should be understood that the present invention is also applicable to applets in other instant messaging software. The execution subject of the embodiment of the invention can be terminal equipment comprising a mobile phone, a tablet, a computer and the like.
Fig. 1 is a flowchart of an activity participation data generation method based on an applet according to an embodiment of the present invention, and as shown in fig. 1, an activity participation data generation method based on an applet according to an embodiment of the present invention includes:
101. if the clicking operation of the user on the active link is received, acquiring a user identifier, and judging the user type according to the user identifier; and the activity link is created for the store seller and then is shared or published.
The clicking in the embodiment of the invention refers to triggering operation on the display content of the terminal, and comprises cursor clicking, touch clicking, gesture instructions and the like. Wherein the activities include full reduction, discount, second killing, and the like. The shop seller (such as a WeChat) creates a pre-published activity, and after the creation is successful, an activity link is generated and is associated with the applet, and the applet can be accessed to view the activity details by clicking the activity link. After the activity is successfully established, the shop seller can directly invoke the interface of the WeChat sharing to the friend by clicking the sharing, and if the shop seller directly selects to share to the group or to share to the friend, the shop seller can also share multiple persons at the same time. And after the user receives the link and clicks, the terminal acquires the user identifier after detecting the clicking operation, and for example, the user identity openID is acquired through WeChat login authorization. It should be noted that before obtaining the user identifier, the method may further include determining whether to obtain a wechat authorization, and if the user identifier is an unauthorized user, tuning the wechat authorization and popping up an authorization prompt. This example illustrates an application scenario that may or may not require authorization.
The user types may include store sellers and common users, where common users may be subdivided into common buyers, and other store sellers.
102. And if the user type is a common user, showing the activity details to the user.
Common users, including other store sellers and common buyers, only provide an interface for viewing details of the activity and participating in the activity.
103. Acquiring a participation state generated by a user according to the activity detail page, and generating participation data; the participation data is visible to the store sellers.
The participation status in the embodiment of the invention comprises clicking, praise, forwarding and participation activities. After browsing the activity detail interface, if needing to participate in the activity, the ordinary user can determine participation through the set participation option. Taking the robbery activity as an example, the terminal can prompt the user that the robbery is successful, jump to a verification and cancellation page, generate certificates such as two-dimensional codes or order numbers, and the like, and show the related certificates to a store to verify and cancel.
If not, the praise button can be used for praise, and the total number of praise times can be used for representing the heat value of the activity. Meanwhile, the propaganda strength of the activity can be increased through forwarding. The terminal generates participation data according to the participation states of the users, and the data are visible to the shop sellers. The shop seller can analyze the activity participation degree according to the participation data. The participation data includes the number of user clicks, praise and forwards to the current time, preset time period and custom time period, and the number of people participating in the activity.
According to the activity participation data generation method based on the small program, the participation state of the user is obtained through the clicking operation of the user on the activity link, and the awareness level of the buyer user on the activity can be effectively obtained. By acquiring the participation state generated by the user according to the activity detail page and generating the participation data, the merchant can check and analyze the activity effect at any time, and the detailed analysis of the activity data, the user purchasing behavior, the purchasing demand and the like is facilitated. For example, there are enough common users to click on, but only a few users to participate in, which may reflect that the product is attractive by itself, but the promotion strength of the activity is not enough, and the store seller may attract more common users to participate by increasing the discount strength, etc.
Based on the content of the above embodiment, as an optional embodiment, if the user type is a store seller, a seller interface is presented to the user; the seller interface includes any one or more of an editing interface, a sharing interface and an activity result interface.
And after the seller clicks the interface, the terminal detects that the terminal is the shop seller through the user identification, and displays a page corresponding to the shop seller. The store seller can view the results of the activity through the seller interface provided, such as the current clicks, praise, number of forwards, and number of people participating in the activity. The editing interface is used for editing the established activity details through the editing interface, and as mentioned in the above embodiment, enough buyer users click, but only a few users participate, and the discount strength is adjusted through the editing interface. And sharing the activities through a sharing interface, such as sharing to a friend circle or sharing to friends. For example, the store seller can view the participation data after entering the links, find that the number of participants is small, and forward the activity links to the WeChat group or other friends.
According to the activity participation data generation method based on the small program, provided by the embodiment of the invention, if the user type is a shop seller, the seller interface including the editing interface, the sharing interface and the activity result interface is displayed to the user, so that the activity state can be adjusted according to the participation data, and the participation degree of the user can be improved. Meanwhile, the shop seller and the common user can use one small program, so that the development cost is saved, and the use by the user is facilitated.
Based on the content of the foregoing embodiment, as an optional embodiment, before the acquiring the participation data generated by the user according to the activity detail page, the method further includes: and judging whether the user is a member user, and if the user is a non-member user, displaying a member card getting interface to the user.
Fig. 2 is a flowchart of an activity participation data generation method based on an applet according to another embodiment of the present invention, as shown in fig. 2, when a user clicks a link to participate in an activity, a terminal determines whether the user gets a membership card of a store seller, if the user does not get the membership card, the terminal invokes a WeChat membership card to prompt the user to get the membership card, and if the user has got the membership card, the terminal directly prompts the user to successfully participate. When the user is prompted to pick up the membership card, the additional discount after the membership card is picked up can be displayed to the user.
According to the activity participation data generation method based on the small program provided by the embodiment of the invention, whether the user is a member user or not is judged, and if the user is a non-member user, a member card acquisition interface is displayed for the user, so that more users are absorbed to become members, and the method is favorable for carrying out refined analysis on member purchasing behaviors, member purchasing demands and the like. The member management data is more comprehensive and convenient.
Based on the content of the foregoing embodiment, as an optional embodiment, the foregoing method further includes: if an entering operation of clicking the small program by a user is received, acquiring a user identifier, and judging the user type according to the user identifier; if the user type is a shop seller, showing a seller interface to the user; the seller interface comprises any one or more of an existing activity editing interface, an existing activity sharing interface, an activity new-building interface and an existing activity result interface.
Fig. 3 is a flowchart of a method for entering an applet according to an embodiment of the present invention, as shown in fig. 3, in addition to entering an active page through an active link, the applet may also enter the applet by clicking. For the user entering through the applet, the user identification is obtained at first, if the user identification is judged to be a shop seller, a corresponding seller interface (boss end home page) is displayed, and different seller interfaces can realize corresponding functions. And if the user is a common user, displaying the home page of the user side.
Instead of clicking on a link entry, all existing activities may be exposed through applet entry. That is, an existing activity interface may include a plurality of established activities. For example, all published activity details, including clicks, praise, forwards, and the number of people participating in the activity, are viewed through the existing activity results. The method realizes the adjustment of all published activities, such as price adjustment and addition of the quantity of the activity commodities through the existing activity editing interface. And sharing all or selected parts of the established activities to the friend circle or friends through the existing activity sharing interface. And establishing a new promotion activity through the activity new-built interface.
According to the activity participation data generation method based on the small program, provided by the embodiment of the invention, if the entering operation of clicking the small program by the user is received and the user type is the shop seller, the seller interface is displayed to the user, the targeted adjustment of the shop seller to the existing activity is realized, and the activity is newly established after the analysis is carried out according to the participation data.
Based on the content of the above embodiment, as an optional embodiment, if the user is a general user, a selection page indicating whether to register a store is displayed to the user; if receiving the operation of the user selecting the registered shop, providing the data filling page for the user and receiving the registered data of the user.
Fig. 4 is a flowchart of a store registration method according to an embodiment of the present invention, and as shown in fig. 4, a user may enter a registered store page through friend link invitation, applet invitation, and code scanning, and after receiving an entry operation of clicking an applet by the user and acquiring a user identifier, if the user identifier is a general user, a link of an opening registration page is provided to the general user, and if the user clicks the link to indicate a desire of the registered store, a registered filling page is provided to the user and registration data of the user is received. And after the registration data is filled in, submitting the registration data to a system for auditing, and after the auditing is passed, the system becomes a shop seller and newly establishes activity items.
Based on the content of the foregoing embodiment, as an optional embodiment, the operation mode of the user clicking the applet includes any one of the following modes: the user clicks after receiving other user invitations, clicks after searching for applets, or clicks through an applet list.
After the common user uses the applet, the common user considers that the activity of the commodity is high, or the activity of the platform is high, and the applet can be shared with other users, or a shop seller can be shared with other users. Other users can directly click on the shared small program or search keywords of the small program through a search interface. After the user uses the small program, the small program is added into the small program list of the user, and the small program list can directly enter an active page for searching in the subsequent use.
Based on the content of the foregoing embodiment, as an optional embodiment, the seller interface includes an activity new creation interface, and accordingly, after the seller interface is presented to the user, the method further includes: after receiving the operation of selecting a new activity by a user, displaying an activity editing page; and receiving the activity type selected by the user and the added activity information, and generating the activity link after receiving the confirmation information of the user.
Fig. 5 is a flowchart of an activity creating method according to an embodiment of the present invention, and as shown in fig. 5, this embodiment may provide an activity creating method and a generating manner of an activity link. Store sellers can enter the seller interface through published or shared activity links, or by directly clicking on an applet. The seller interface is provided with an activity new-creation interface, and on the basis, a shop seller can create new activities, for example, the participating data is checked through an existing activity result page, so that the sale quantity is known to be high, and related activities of products of the same type can be created.
And if the terminal receives the operation that the shop seller selects the new activity, displaying an editing page of the new activity for editing the new activity. And receiving the activity type and the activity information selected or filled by the shop seller, and creating the activity and generating the activity link after the user clicks and confirms. The store seller may share the activity link to a circle of friends or friends.
According to the activity participation data generation method based on the small program, after the seller interface is displayed for the user, the activity type selected by the user and the added activity information are received, and the activity link is generated after the confirmation information of the user is received, so that the participation data of the user can be obtained according to the link. Meanwhile, the seller interface can comprise a result interface of the existing activity, and the shop seller can determine whether to newly build the activity according to the progress result of the existing activity, so that the activity is reasonably planned, and the pertinence of the activity is improved.
Fig. 6 is a block diagram of an activity participation data generation apparatus based on an applet according to an embodiment of the present invention, and as shown in fig. 6, the activity participation data generation apparatus based on an applet includes: a judging module 601, a displaying module 602 and a processing module 603. The judging module 601 is configured to obtain a user identifier if a click operation of a user on an active link is received, and judge a user type according to the user identifier; the presentation module 602 is configured to present activity details to a user if the user type is a general user; the processing module 603 is configured to obtain a participation state generated by the user according to the activity detail page, and generate participation data; the activity link is established for the store seller and then is shared or published, and the participation data is visible to the store seller.
The device embodiment provided in the embodiments of the present invention is for implementing the above method embodiments, and for details of the process and the details, reference is made to the above method embodiments, which are not described herein again.
The activity participation data generation device based on the small program provided by the embodiment of the invention acquires the participation state of the user through the clicking operation of the user on the activity link, and can effectively acquire the awareness level of the buyer user on the activity. By acquiring the participation state generated by the user according to the activity detail page and generating the participation data, the merchant can check and analyze the activity effect at any time, and the detailed analysis of the activity data, the user purchasing behavior, the purchasing demand and the like is facilitated.
Fig. 7 is a schematic entity structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, the electronic device may include: a processor (processor)701, a communication Interface (Communications Interface)702, a memory (memory)703 and a bus 704, wherein the processor 701, the communication Interface 702 and the memory 703 complete communication with each other through the bus 704. The communication interface 702 may be used for information transfer of an electronic device. The processor 701 may invoke logic instructions in the memory 703 to perform a method comprising: if the clicking operation of the user on the active link is received, acquiring a user identifier, and judging the user type according to the user identifier; if the user type is a common user, showing activity details to the user; acquiring a participation state generated by a user according to the activity detail page, and generating participation data; the activity link is established for the store seller and then is shared or published, and the participation data is visible to the store seller.
In addition, the logic instructions in the memory 703 can be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-described method embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the transmission method provided in the foregoing embodiments when executed by a processor, and for example, the method includes: if the clicking operation of the user on the active link is received, acquiring a user identifier, and judging the user type according to the user identifier; if the user type is a common user, showing activity details to the user; acquiring a participation state generated by a user according to the activity detail page, and generating participation data; the activity link is established for the store seller and then is shared or published, and the participation data is visible to the store seller.
The above-described embodiments of the apparatus are merely illustrative, and 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.