CN113362050A - Red packet issuing method, terminal device and computer readable storage medium - Google Patents

Red packet issuing method, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN113362050A
CN113362050A CN202110724477.4A CN202110724477A CN113362050A CN 113362050 A CN113362050 A CN 113362050A CN 202110724477 A CN202110724477 A CN 202110724477A CN 113362050 A CN113362050 A CN 113362050A
Authority
CN
China
Prior art keywords
red packet
red
issuing
link
sharing
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
CN202110724477.4A
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.)
Ibeacon Technology Co ltd
Original Assignee
Ibeacon Technology 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 Ibeacon Technology Co ltd filed Critical Ibeacon Technology Co ltd
Priority to CN202110724477.4A priority Critical patent/CN113362050A/en
Publication of CN113362050A publication Critical patent/CN113362050A/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
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a red packet issuing method, which comprises the following steps: when receiving a sharing operation of a red packet issuing link of a red packet to be issued, acquiring a sharing target corresponding to the sharing operation; and sharing the red envelope issuing link to the sharing target so that the sharing target can receive the red envelope to be issued according to the red envelope issuing link. The invention also provides a terminal device and a computer readable storage medium. The red packet issuing method of the invention is based on the red packet issuing link to receive the red packet to be issued, and shares the red packet issuing link of the red packet to be issued to the corresponding sharing target through the sharing operation, so that the person receiving the red packet is prevented from being limited to the issuing target selected by the user issuing the red packet, the red packet issuing link can be selectively shared, the sharing target can receive the red packet to be issued according to the red packet issuing link, the flexibility of issuing the red packet is improved, and the diversity of the red packet issuing mode is increased.

Description

Red packet issuing method, terminal device and computer readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a red packet issuing method, a terminal device, and a computer-readable storage medium.
Background
Currently, many applications installed on a mobile terminal have a red envelope distribution function. Taking WeChat red envelope as an example, a user can privately send the red envelope to one person in a chat mode and can also send the red envelope to a group of persons in a group. However, the person who picks up the red packet in the red packet issuing method is limited to the issuing target selected by the user who issues the red packet, such as a person or a group of persons, and the red packet issuing method is single and inflexible.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a red packet issuing method, terminal equipment and a computer readable storage medium, and aims to solve the problems that a person who receives a red packet when issuing the red packet is limited to an issuing target selected by a user who issues the red packet, and the issuing mode is single and inflexible.
In order to achieve the above object, the present invention provides a red packet issuing method, including:
when receiving a sharing operation of a red packet issuing link of a red packet to be issued, acquiring a sharing target corresponding to the sharing operation;
and sharing the red envelope issuing link to the sharing target so that the sharing target can receive the red envelope according to the red envelope issuing link.
Optionally, after the step of obtaining the sharing target corresponding to the sharing operation, the red envelope issuing method further includes:
and when the sharing authority of the red envelope issuing link is determined to be sharable according to the sharing target, executing the step of sharing the red envelope issuing link to the sharing target.
Optionally, when it is determined that the sharing right of the red envelope issuance link is sharable according to the sharing target, the step of sharing the red envelope issuance link to the sharing target includes:
acquiring red packet configuration information of the red packet issuing link, wherein the red packet configuration information comprises red packet pickup target information;
when the sharing target accords with the red envelope pickup target information, determining the sharing authority of the red envelope issuing link as sharable;
and sharing the red envelope issuing link to the sharing target.
Optionally, when a sharing operation of a red envelope issuing link of a red envelope to be issued is received, before the step of obtaining a sharing target corresponding to the sharing operation, the method includes:
acquiring red packet configuration information of the red packet to be sent;
and generating a red packet issuing link of the red packet to be issued according to the red packet configuration information, wherein the display form of the red packet issuing link comprises the red packet link and/or the two-dimensional code.
Optionally, after the step of sharing the red envelope issuance link to the sharing target, the method includes:
when a red packet getting instruction is detected through the red packet issuing link, acquiring the current access amount for accessing the red packet issuing link;
and when the access amount is less than or equal to a preset concurrency amount, distributing the red packet to be issued according to the red packet configuration information corresponding to the red packet issuing link.
Optionally, the step of distributing the red packet to be issued according to the red packet configuration information corresponding to the red packet issuing link includes any one of the following manners:
acquiring a red packet issuing list according to red packet configuration information corresponding to the red packet issuing link, and issuing the red packet to be issued according to the red packet issuing list;
and acquiring user information of a user triggering the red packet getting instruction, and distributing the red packet with corresponding money amount to the user according to the red packet configuration information when the user information accords with the red packet getting user information in the red packet configuration information.
Optionally, after the step of distributing the red packet to be issued according to the red packet configuration information corresponding to the red packet issuing link, the method includes:
the red envelope getting information corresponding to the red envelope getting instruction is saved, and/or the red envelope getting information is updated, wherein the red envelope getting information comprises: at least one of the red envelope received user information, the red envelope receiving times, the red envelope receiving amount, and the red envelope receiving time.
Optionally, when the red packet getting instruction is detected through the red packet issuing link, after the step of obtaining the current access amount for accessing the red packet issuing link, the method includes:
acquiring user information corresponding to the red packet getting instruction;
and when the user information is not matched with the red packet pickup user information in the red packet pickup information, executing the step of distributing the red packet to be distributed according to the red packet configuration information corresponding to the red packet distribution link when the visit amount is less than or equal to the preset concurrency amount.
In addition, to achieve the above object, the present invention also provides a terminal device, including: the red packet issuing method comprises a memory, a processor and a red packet issuing program which is stored in the memory and can run on the processor, wherein the red packet issuing program realizes the steps of the red packet issuing method when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium having a red packet issuing program stored thereon, which when executed by the processor implements the steps of the red packet issuing method as described above.
According to the red packet issuing method, the terminal device and the computer-readable storage medium, the red packets to be issued are received based on the red packet issuing links, the red packet issuing links of the red packets to be issued are shared to the corresponding sharing targets through sharing operation, the fact that a person receiving the red packets is limited to the issuing targets selected by the users who issue the red packets is avoided, the red packet issuing links can be selectively shared, the sharing targets can receive the red packets to be issued according to the red packet issuing links, the flexibility of issuing the red packets is improved, and the diversity of red packet issuing modes is increased.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device according to each embodiment of a red packet issuing method of the present invention;
FIG. 2 is a schematic flow chart of a red packet issuing method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a red packet issuing method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a red packet issuing method according to a third embodiment of the present invention;
fig. 5 is a structural system of the red packet issuing method of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device according to each embodiment of a red packet issuing method of the present invention. The terminal device may be implemented in various forms, among others. For example, the terminal device in the present invention may be a terminal device including a mobile phone, a tablet computer, a notebook computer, a palm computer, and the like.
As shown in fig. 1, the terminal device may include: a memory 101 and a processor 102. Those skilled in the art will appreciate that the block diagram of the terminal shown in fig. 1 does not constitute a limitation of the terminal, and that the terminal may include more or less components than those shown, or may combine certain components, or a different arrangement of components. The memory 101 stores therein an operating system and a red packet issuing program. The processor 102 is a control center of the terminal device, and the processor 102 executes the red packet issuing program stored in the memory 101 to implement the steps of the embodiments of the red packet issuing method of the present invention.
Optionally, the terminal device may further include a Display unit 103, where the Display unit 103 includes a Display panel, and the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like, and is used to output an interface for displaying user browsing.
Based on the structural block diagram of the terminal device, the embodiments of the red packet issuing method are provided.
In a first embodiment, the present invention provides a red packet issuing method, please refer to fig. 2, and fig. 2 is a flowchart illustrating the first embodiment of the red packet issuing method according to the present invention. In this embodiment, the red packet issuing method includes the following steps:
step S10, when receiving the sharing operation of the red packet issuing link of the red packet to be issued, acquiring a sharing target corresponding to the sharing operation;
step S20, the red envelope issuance link is shared to the sharing target, so that the sharing target receives the red envelope to be issued according to the red envelope issuance link.
The red packet issuing link is used as an interface of the red packet to be issued, and the red packet to be issued can be received or acquired through the red packet issuing link. The sharing target refers to a person or a page sharing the red envelope release link through sharing operation. The sharing operation comprises any one of forwarding operation and sharing operation, and when the sharing target corresponding to the sharing operation is a person, the number of the determined sharing targets can be one or more; the sharing target corresponding to the sharing operation may also be a sharing page, such as a public interface, a circle of friends, and the like.
Optionally, the display form of the red packet issuing link may be display through a two-dimensional code, wherein the red packet to be issued is directly received in a mode of scanning the two-dimensional code, and the red packet issuing link may also jump to a red packet receiving interface in a mode of scanning the two-dimensional code; the method can also be displayed in a red envelope link form, such as a webpage link form, for example, the method can realize the jump to a red envelope pick-up interface through the webpage link, wherein the red envelope pick-up interface can be an activity interface which is provided with a 'red envelope robbing' link for improving the activity participation and the interest of an enterprise when the enterprise performs the activity; other display forms are also possible, and the embodiment is not limited to this specific implementation.
The sharing operation of the red packet issuing link of the red packet to be issued may be triggered by receiving a forwarding key or a sharing key based on the red packet issuing link, or may be triggered by receiving a touch operation gesture corresponding to the sharing operation based on the red packet issuing link, which is not limited in this embodiment. It can be understood that the sharing target corresponding to the sharing operation is obtained, and the sharing target can be determined based on the sharing target selection interface before the sharing operation is triggered, such as one or more persons or a sharing interface. And finally, sharing the red packet issuing link to the sharing target so that the sharing target can receive the red packet to be issued according to the red packet issuing link.
Optionally, before step S10, the method includes:
acquiring red packet configuration information of the red packet to be sent;
and generating a red packet issuing link of the red packet to be issued according to the red packet configuration information, wherein the display form of the red packet issuing link comprises the red packet link and/or the two-dimensional code.
The red packet configuration information comprises at least one of the total amount of the red packets, the number of the red packets, the red packet distribution mode, the maximum amount of the red packets, the minimum amount of the red packets, the red packet pickup user information, the red packet pickup time limit and the red packet pickup times of each user.
The total amount of the red packet is the total amount of the red packet to be issued which is issued through the red packet issuing link. Optionally, the number of red packets to be issued, that is, the number of red packets issued through a red packet issuing link may be one or at least two. The maximum amount of the red packet is the maximum amount of the red packet to be issued which is issued through the red packet issuing link. The minimum sum of the red packet is the minimum sum of the red packet to be issued which is issued through the red packet issuing link.
The red packet pickup user information is used for limiting pickup users to be issued red packets issued through the red packet issuing link. For example, when the enterprise activity is only directed at partial department personnel in the enterprise, the user information can be received through the red packet to limit the department of the receiving user who receives the red packet to be issued, when the red packet is received through the red packet issuing link, only the user corresponding to the user information corresponding to the red packet receiving user information can receive the red packet to be issued, and therefore the purpose that all personnel in the enterprise can receive the red packet to be issued through the red packet issuing link is avoided.
Optionally, the red packet allocation mode may be a custom mode or a random allocation mode. When the red packet distribution mode is the self-defined mode, the red packet distribution amount can be set for each red packet to be distributed respectively, so that the red packet amount of each red packet to be distributed, which is distributed through the red packet distribution link, can be set as required, and the problem that the red packet amount of each red packet to be distributed randomly is too small through the random distribution mode is avoided.
The red packet configuration information of the red packet to be issued may be set based on the red packet configuration interface of the red packet to be issued, for example, the method may be adapted to different enterprise activities to set different red packet configuration information, so as to implement a "red packet robbing" manner for customizing the red packet to be issued for various enterprise activities, which is not limited in this embodiment. And generating a red packet issuing link of the red packet to be issued according to the red packet configuration information so as to obtain or acquire the red packet to be issued corresponding to the red packet configuration information through the red packet issuing link.
In the technical scheme disclosed in this embodiment, the red packet to be issued is received based on the red packet issuing link, the red packet issuing link of the red packet to be issued is shared to the corresponding sharing target through the sharing operation, so that the situation that a person receiving the red packet is limited to the issuing target selected by the user issuing the red packet is avoided, the red packet issuing link can be selectively shared, the sharing target can receive the red packet to be issued according to the red packet issuing link, the flexibility of issuing the red packet is improved, and the diversity of the red packet issuing mode is increased.
Referring to fig. 3, fig. 3 is a schematic flow chart of a red packet issuing method according to a second embodiment of the present invention based on the first embodiment. In this embodiment, after obtaining the sharing target corresponding to the sharing operation in step S10, the red envelope issuing method further includes:
step S30, if the sharing authority of the red envelope issuance link is determined to be sharable according to the sharing target, step S20 is executed to share the red envelope issuance link to the sharing target.
The sharing authority is used for determining whether the red packet issuing link can be shared. The sharing rights include shareable and non-shareable. When the sharing authority is shareable, the red envelope issuing link can be shared to the sharing target; and when the sharing authority is not shareable, outputting prompt information of sharing without the authority or the sharing target cannot take the red envelope to be released through the red envelope releasing link.
Optionally, determining the sharing authority of the red envelope issuing link according to the sharing target, and when the sharing target is a person, determining whether the enterprise information to which the sharing target belongs is the same as the enterprise information to which the sharing person triggering the sharing operation belongs, and if so, indicating that the sharing authority determined by the sharing target is sharable; when the sharing target is a shared page, it is determined that the user information of the sharer triggering the sharing operation is the same as the red envelope pickup user information in the red envelope issuing link, and it is indicated that the sharing right determined by the sharing target is shareable.
As an alternative embodiment, step S30 includes:
acquiring red packet configuration information of the red packet issuing link, wherein the red packet configuration information comprises red packet pickup target information;
when the sharing target accords with the red envelope pickup target information, determining the sharing authority of the red envelope issuing link as sharable;
and sharing the red envelope issuing link to the sharing target.
The red packet configuration information comprises red packet pickup target information, wherein the red packet pickup target information comprises red packet pickup user information. Optionally, the red envelope getting target information further includes a red envelope getting time limit.
In the practical application process, when a company holds enterprise activities, enterprise personnel can not participate on site due to business trip or urgent handling at home, so that the conditions for enabling the enterprise personnel to participate in the enterprise activities are provided, the red envelope is issued and linked to the enterprise personnel by the site personnel of the enterprise activities, and the participation degree of the enterprise personnel in the enterprise activities is improved.
The sharing target accords with the red packet getting target information, namely when the red packet is shared to the getting person corresponding to the red packet getting user information limited by the red packet configuration information of the red packet issuing link, the sharing authority of the red packet issuing link is shareable, and the red packet issuing link can be shared to the sharing target, so that the sharing target gets the red packet to be issued through the red packet issuing link.
In the technical scheme disclosed in this embodiment, the sharing permission of the red packet issuing link is determined according to the sharing target, and when the sharing permission is shareable, the red packet issuing link is shared with the sharing target, so that the red packet issuing link is prevented from being shareable to the sharing target at will, and the security of acquiring the red packet to be issued through the red packet issuing link is improved.
In a third embodiment provided based on any one of the above embodiments, please refer to fig. 4, and fig. 4 is a flowchart illustrating a red packet issuing method according to a third embodiment of the present invention. In this embodiment, after step S20, the method includes:
step S40, when a red packet getting instruction is detected through the red packet issuing link, the current access amount of the red packet issuing link is obtained;
and step S50, when the visit amount is less than or equal to the preset concurrency amount, distributing the red packet to be distributed according to the red packet configuration information corresponding to the red packet distribution link.
In the practical application process, when the red packet to be issued is obtained through the interface for receiving the red packet to be issued, namely the red packet issuing link, especially for enterprise activities with thousands or tens of thousands of enterprise personnel participating, if a large number of enterprise personnel simultaneously access the red packet issuing link to receive the red packet to be issued at the same time, the server is hung, and in order to prevent the excessive access amount of the red packet issuing link from being accessed instantaneously, the excessive access requests are sent to the server, and the access amount of the red packet issuing link from being accessed instantaneously can be limited.
When the red packet getting instruction is detected through the red packet issuing link, the access amount of the current access red packet issuing link can be acquired through the web access monitoring software, and can also be acquired through the access amount counter, which is not limited in this embodiment.
The preset concurrency access amount can be preset, and the preset concurrency access amount can be determined by carrying out a preset stress test of a maximum concurrency access amount on the server. When the visit volume is rainy or equal to the preset concurrency volume, the user can receive the red packet to be issued through the red packet issuing link, then the red packet to be issued is issued according to the red packet configuration information corresponding to the red packet issuing link, and the user receives the amount of money corresponding to the red packet to be issued.
Optionally, after the step of detecting the red packet getting instruction through the red packet issuing link in step S40, the method includes:
acquiring an enterprise to which a user of the user triggering the red envelope getting instruction belongs;
acquiring enterprise information of the enterprise user of the red packet issuing link;
and when the user is determined to accord with the enterprise personnel of the enterprise user according to the enterprise to which the user belongs and the enterprise information, executing the step of acquiring the current visit amount of the red packet release chain.
The enterprise to which the user belongs is an enterprise which works by picking up the user to be provided with the red packet through the red packet providing link. The enterprise information of the enterprise user is related information of the enterprise initiating the red packet issuing link, such as an enterprise name, an enterprise social uniform credit code and the like. In the practical application process, even if the red packet issuing link can be shared in the enterprise activity process, benefits are striven for enterprise personnel of the enterprise to the maximum extent, personnel who receive the red packet to be issued through the red packet issuing link can only belong to the enterprise personnel of the enterprise through limitation, and the safety of receiving the red packet to be issued through the red packet issuing link can be enhanced.
Illustratively, based on an enterprise WeChat platform, a red packet getting instruction is detected through a red packet issuing link, whether the micro credit user is an effective user can be verified by obtaining the unique effective and real-time verification Token of the micro credit user triggering the red packet getting instruction, the safety is improved, if the user information of the user can be fed back to a management background, the enterprise information of the enterprise user of the red packet issuing link is obtained, the enterprise information of the enterprise user of the red packet issuing link can be obtained based on the generation of the red packet issuing link according to the red packet configuration information, the enterprise information of the enterprise user of the red packet issuing link is obtained according to the red packet configuration information, the red packet issuing link is generated according to the red packet configuration information and the enterprise information, and further, when the user is determined to be in accordance with the enterprise personnel of the enterprise user according to the enterprise information of the enterprise user, namely, the user who gets the to-be-sent red packet through the red packet issuing link belongs to the enterprise initiating the red packet issuing link is shown to use the enterprise of the red packet issuing link And further executing to acquire the current visit amount of the red packet issuing chain by the enterprise corresponding to the user so as to determine whether the enterprise personnel receiving the red packets can visit the red packet issuing chain to acquire the red packets to be issued.
Optionally, it is determined that the user conforms to the enterprise personnel of the enterprise user according to the enterprise to which the user belongs and the enterprise information, and whether the enterprise information of the enterprise to which the user belongs, such as the enterprise name and the enterprise social unified credit code, is matched with the enterprise information of the enterprise user may be compared, and if so, it is indicated that the user belongs to the enterprise personnel of the enterprise user.
Optionally, the step of distributing the red packet to be issued according to the red packet configuration information corresponding to the red packet issuing link in step S50 includes any one of the following manners:
acquiring a red packet issuing list according to red packet configuration information corresponding to the red packet issuing link, and issuing the red packet to be issued according to the red packet issuing list;
and acquiring user information of a user triggering the red packet getting instruction, and distributing the red packet with corresponding money amount to the user according to the red packet configuration information when the user information accords with the red packet getting user information in the red packet configuration information.
In the practical application process, in order to accurately customize a red packet issuing mode according to the requirement of an enterprise user, save resources to the maximum extent, keep high data security and stability during concurrence, a red packet issuing list generated by red packets to be issued and corresponding to red packet issuing links can be stored in an array form based on red packet configuration information of the red packet issuing links, wherein the red packet issuing list comprises red packet issuing serial numbers, red packet sums and the like corresponding to the number of the red packets, and when the red packets to be issued are received based on the red packet issuing links, the red packets to be issued are taken, and the red packets are taken out and taken out completely.
In addition, in the practical application process, in addition to limiting the retriever who sends the red packet issuing link to only the enterprise personnel corresponding to the enterprise user who sends the red packet issuing link, under the normal condition, in the case that the enterprise activity has the condition that a certain department or a certain group under a certain department or a group consisting of enterprise personnel in different departments under the condition of crossing departments is rewarded, the red packet can be issued to the group needing the reward in a targeted manner, and further, the personnel who receive the red packet to be issued by the red packet issuing link can be limited by the information of the red packet retriever.
And acquiring user information of a user triggering the red packet getting instruction, and then judging that the user information accords with the red packet getting user information in the red packet configuration information, namely, when the user information accords with the red packet getting user defined by the red packet issuing link, issuing the red packet with corresponding money amount to the user according to the red packet configuration information.
As an optional implementation manner, after distributing the red packet to be issued according to the red packet configuration information corresponding to the red packet issuing link in step S50, the method includes:
the red envelope getting information corresponding to the red envelope getting instruction is saved, and/or the red envelope getting information is updated, wherein the red envelope getting information comprises: at least one of the red envelope received user information, the red envelope receiving times, the red envelope receiving amount, and the red envelope receiving time.
The red envelope pickup information includes at least one of picked-up red envelope user information, red envelope pickup times, red envelope pickup amount, and red envelope pickup time. The user who has received the red envelope to be issued through the link to be issued and the user receiving times can be determined through the received red envelope user information and the red envelope receiving times, and the amount of the red envelope acquired by the user who receives the red envelope to be issued through the red envelope issuing link can be determined through the receiving amount.
The red packet getting information corresponding to the red packet getting instruction is stored and used for recording the red packets to be issued and issued through the red packet issuing link, and/or the red packet getting information is updated and used for obtaining the latest red packet getting information, if the same red packet getting user information corresponds to the user, the red packets to be issued are obtained through the red packet issuing link again, the red packet getting times of the user in the red packet configuration information of the red packet issuing link can be corresponded, and whether the user can get the red packets to be issued again or not is monitored.
In practical applications, the number of times of issuing the red packet per user leader instead of issuing the red packet is generally 1, so as to enable more enterprise personnel to participate in the enterprise activities, and optionally, after the step S40, the method includes:
acquiring user information corresponding to the red packet getting instruction;
and executing step S50 when the user information is not matched with the received red packet user information in the red packet receiving information, that is, the user corresponding to the user information receives the red packet to be delivered through the red packet delivery link for the first time.
It can be understood that when the user information is matched with the red packet received user information in the red packet receiving information, red packet receiving times corresponding to the user information are obtained from the red packet receiving information; and when the red packet pickup times are less than or equal to the red packet pickup times of each user in the red packet configuration information, executing the step S20 to issue the red packet to be issued according to the red packet configuration information.
In the technical scheme disclosed by the embodiment, in order to prevent the phenomenon that the visit amount of the instant visit red packet issuing link is too large, the server is hung due to the fact that too many visit requests are sent to the server, a user cannot visit the red packet issuing link to get the red packet, and the activity of participation of the user is influenced, when the red packet getting instruction is detected through the red packet issuing link, the visit amount of the current visit to the red packet issuing link is obtained; and when the access amount is less than or equal to the preset concurrency amount, namely the user can successfully access the red packet issuing link to pick up the red packet to be issued, issuing the red packet to be issued according to the red packet configuration information corresponding to the red packet issuing link.
For example, to facilitate understanding of the red packet issuing method in each of the above embodiments, the following example is given based on a wechat platform to implement the red packet issuing method in any one of the above embodiments.
Referring to fig. 5, fig. 5 is a structural system of the red packet issuing method of the present invention. The architecture system comprises a red packet trigger front end, namely a red packet issuing link (generally in a two-dimensional code or link form), a management background for configuration information of a red packet by a manager, a Nginx Gateway for service load and forwarding, a Gateway for current limiting and route forwarding, a red packet background service for receiving a front end request to perform a customized process, a Mysql database and a Redis cache for storing data, an enterprise WeChat API service for enterprise user identity verification and a WeChat business platform for issuing the red packet, wherein the red packet trigger front end is directly interacted with the user.
The red packet triggering front end, namely the red packet issuing link, is a red packet issuing link generated based on red packet configuration information, can be converted into a two-dimensional code or red packet link and other forms, is opened from the enterprise WeChat mobile phone end, the enterprise WeChat mobile phone end can acquire the unique and effective and real-time verification Token of the user when the red packet issuing link is opened, and the triggering front end transmits the Token to the red packet background service for verification after acquiring the Token, so that the validity of the user is ensured.
A red packet scheme management background: the system comprises a red packet configuration background, a red packet distribution link and a red packet distribution page, wherein the red packet configuration background is used for configuring red packet configuration information, and can configure activity time, total amount of red packets, the number of red packets, maximum amount of red packets, minimum amount of red packets, red packet pickup user information, red packet pickup time limit, red packet pickup frequency of each user, red packet distribution modes (such as self-definition, complete randomness, randomness in range and the like), the activity success failure page and the like, and a red packet distribution link can be generated after the red packet configuration information is configured.
Nginx gateway: and as service forwarding and load of the front-end request, loading the front-end request on the Gateway if a red packet getting instruction linked by red packet issuing is received.
Gateway: red packet activity is a high concurrency activity, server performance is usually a bottleneck, and the throttling of Gateway is a good solution. And by combining Redis and a token bucket algorithm, effective current limitation can be realized. And obtaining the highest concurrency number of the red packet background after pressure measurement, namely the preset access concurrency amount, and setting current limit by using a Gateway current limit function to prevent the server from being hung up due to excessive instantaneous requests.
Red packet background service: is the core module of the whole scheme and is responsible for the execution of the integrated activity flow. The method can be used for customized development aiming at different enterprise requirements, and efficient and accurate customized development can be achieved because fund release and user verification are processed by a third-party API.
Mysql database: the request information, the order picking information and the picking log of the user are stored, the repeated picking times of the user are limited by using the unique index limit of the database, and the fund security is enhanced.
Redis caching: the method is used for storing information such as verification Token and the like interacting with a third party such as enterprise WeChat, storing OpenID information issued by a user and keeping high efficiency in requesting. In addition, the red packet issuing list generated by the red packet activity can be stored in an array form, values are taken from the red packet issuing list, and the values are taken out and are robbed up after the values are taken out. The data security and stability when the resources are saved to the maximum extent and high concurrency is kept, and the redetermination logic limitation of the second time is performed through distributed storage, so that the user is prevented from getting the red packet for many times.
The invention also proposes a terminal device, comprising: the red packet issuing method comprises a memory, a processor and a red packet issuing program which is stored in the memory and can run on the processor, wherein the steps of the red packet issuing method in any embodiment are realized when the red packet issuing program is executed by the processor.
The present invention further provides a computer-readable storage medium, which stores a red packet issuing program, and when the red packet issuing program is executed by a processor, the red packet issuing program implements the steps of the red packet issuing method according to any one of the above embodiments.
In the embodiments of the terminal device and the computer-readable storage medium provided by the present invention, all technical features of the embodiments of the red packet issuing method are included, and the contents of the expansion and explanation of the specification are basically the same as those of the embodiments of the red packet issuing method, and are not described herein again.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A red packet issuing method is characterized by comprising the following steps:
when receiving a sharing operation of a red packet issuing link of a red packet to be issued, acquiring a sharing target corresponding to the sharing operation;
and sharing the red envelope issuing link to the sharing target so that the sharing target can receive the red envelope to be issued according to the red envelope issuing link.
2. The red envelope issuing method according to claim 1, wherein after the step of obtaining the sharing target corresponding to the sharing operation, the red envelope issuing method further comprises:
and when the sharing authority of the red envelope issuing link is determined to be sharable according to the sharing target, executing the step of sharing the red envelope issuing link to the sharing target.
3. The red envelope issuing method according to claim 2, wherein the step of sharing the red envelope issuing link to the sharing target when the sharing right of the red envelope issuing link is determined to be sharable according to the sharing target includes:
acquiring red packet configuration information of the red packet issuing link, wherein the red packet configuration information comprises red packet pickup target information;
when the sharing target accords with the red envelope pickup target information, determining the sharing authority of the red envelope issuing link as sharable;
and sharing the red envelope issuing link to the sharing target.
4. The red envelope issuing method according to claim 1, wherein before the step of obtaining the sharing target corresponding to the sharing operation when the sharing operation of the red envelope issuing link of the red envelope to be issued is received, the method comprises:
acquiring red packet configuration information of the red packet to be sent;
and generating a red packet issuing link of the red packet to be issued according to the red packet configuration information, wherein the display form of the red packet issuing link comprises the red packet link and/or the two-dimensional code.
5. The red envelope issuing method according to claim 1, wherein the step of sharing the red envelope issuing link to the sharing target, after the step of sharing the red envelope issuing link, comprises:
when a red packet getting instruction is detected through the red packet issuing link, acquiring the current access amount for accessing the red packet issuing link;
and when the access amount is less than or equal to a preset concurrency amount, distributing the red packet to be issued according to the red packet configuration information corresponding to the red packet issuing link.
6. The red packet issuing method according to claim 5, wherein the step of issuing the red packet to be issued according to the red packet configuration information corresponding to the red packet issuing link includes any one of the following manners:
acquiring a red packet issuing list according to red packet configuration information corresponding to the red packet issuing link, and issuing the red packet to be issued according to the red packet issuing list;
and acquiring user information of a user triggering the red packet getting instruction, and distributing the red packet with corresponding money amount to the user according to the red packet configuration information when the user information accords with the red packet getting user information in the red packet configuration information.
7. The red packet issuing method according to any one of claims 4 to 6, wherein after the step of distributing the red packet to be issued according to the red packet configuration information corresponding to the red packet issuing link, the method comprises:
the red envelope getting information corresponding to the red envelope getting instruction is saved, and/or the red envelope getting information is updated, wherein the red envelope getting information comprises: at least one of the red envelope received user information, the red envelope receiving times, the red envelope receiving amount, and the red envelope receiving time.
8. The red packet issuing method according to claim 7, wherein the step of obtaining the current access amount to the red packet issuing chain when the red packet getting instruction is detected by the red packet issuing chain, after the step of obtaining the current access amount to the red packet issuing chain, comprises:
acquiring user information corresponding to the red packet getting instruction;
and when the user information is not matched with the red packet pickup user information in the red packet pickup information, executing the step of distributing the red packet to be distributed according to the red packet configuration information corresponding to the red packet distribution link when the visit amount is less than or equal to the preset concurrency amount.
9. A terminal device, characterized in that the terminal device comprises: a memory, a processor, and a red packet issuing program stored in the memory and executable on the processor, the red packet issuing program when executed by the processor implementing the steps of the red packet issuing method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having stored thereon a red packet issuance program that, when executed by a processor, performs the steps of the red packet issuance method according to any one of claims 1 to 8.
CN202110724477.4A 2021-06-28 2021-06-28 Red packet issuing method, terminal device and computer readable storage medium Pending CN113362050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110724477.4A CN113362050A (en) 2021-06-28 2021-06-28 Red packet issuing method, terminal device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110724477.4A CN113362050A (en) 2021-06-28 2021-06-28 Red packet issuing method, terminal device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113362050A true CN113362050A (en) 2021-09-07

Family

ID=77536970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110724477.4A Pending CN113362050A (en) 2021-06-28 2021-06-28 Red packet issuing method, terminal device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113362050A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017133071A1 (en) * 2016-02-06 2017-08-10 深圳市星电商科技有限公司 Method of delivering advertisement information, method of implementing electronic voucher, and system
CN107979525A (en) * 2017-10-11 2018-05-01 上海掌门科技有限公司 A kind of red packet distribution method, equipment and medium
CN108335089A (en) * 2018-02-13 2018-07-27 成诗文 Distribution method, system, device and the computer readable storage medium of red packet rain
CN108540947A (en) * 2018-03-30 2018-09-14 拉扎斯网络科技(上海)有限公司 A kind of red packet sharing method, first terminal, second terminal and server
CN109741115A (en) * 2019-01-25 2019-05-10 努比亚技术有限公司 Link promotion method, terminal and computer readable storage medium based on red packet
CN111612527A (en) * 2020-04-28 2020-09-01 杭州沃朴物联科技有限公司 Fission red packet issuing method, device, equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017133071A1 (en) * 2016-02-06 2017-08-10 深圳市星电商科技有限公司 Method of delivering advertisement information, method of implementing electronic voucher, and system
CN107979525A (en) * 2017-10-11 2018-05-01 上海掌门科技有限公司 A kind of red packet distribution method, equipment and medium
CN108335089A (en) * 2018-02-13 2018-07-27 成诗文 Distribution method, system, device and the computer readable storage medium of red packet rain
CN108540947A (en) * 2018-03-30 2018-09-14 拉扎斯网络科技(上海)有限公司 A kind of red packet sharing method, first terminal, second terminal and server
CN109741115A (en) * 2019-01-25 2019-05-10 努比亚技术有限公司 Link promotion method, terminal and computer readable storage medium based on red packet
CN111612527A (en) * 2020-04-28 2020-09-01 杭州沃朴物联科技有限公司 Fission red packet issuing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN110941679B (en) Contract data processing method, related equipment and medium
CN111382421B (en) Service access control method, system, electronic equipment and storage medium
CN100444544C (en) Authentication system, server, and authentication method and program
US10095993B1 (en) Methods and apparatus for configuring granularity of key performance indicators provided by a monitored component
CN101785243B (en) Transferable restricted security tokens
CN110505065B (en) Trusted timestamp adding method and device and storage medium
CN109753269B (en) Random number generation method, device, equipment and storage medium for block chain
US9641535B2 (en) Apparatus and data processing systems for accessing an object
US20090007250A1 (en) Client authentication distributor
CN104660557B (en) operation processing method and device
CN111741026A (en) Cross-chain transaction request processing method, device, equipment and storage medium
CN108073684A (en) A kind of data processing method, server and computer readable storage medium
CN101573691A (en) Time based permissioning
CN108701175A (en) User account and enterprise work space correlation are joined
CN105939362A (en) User account management method and device
US8930532B2 (en) Session management in a thin client system for effective use of the client environment
CN110830512A (en) Multi-platform unified authentication system based on domain account
CN107181602A (en) The management method and device of instant messaging group
CN113761552A (en) Access control method, device, system, server and storage medium
CN103400066B (en) For managing the system and method for software
CN113362050A (en) Red packet issuing method, terminal device and computer readable storage medium
CN114697132B (en) Method, device, equipment and storage medium for intercepting repeated access request attack
CN106941509A (en) The requesting method and device of user profile stream
CN111798245B (en) Data monitoring method, device, computer equipment and storage medium
CN111193694B (en) Application authorization management method, terminal and medium based on dual-system operating environment

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