Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Currently, when providing special benefits for employees, some enterprises may differentiate the special benefits, for example, the recuperation cost may be differentiated, and then "recuperation score cards" are issued to the employees, with different special benefits corresponding to different score cards. When the credit of a credit card is not enough to pay the service required by the employee, the employee can only cancel the service, and when the credit of the credit card is enough, the employee can pay the service again. The payment mode has poor flexibility and cannot meet the payment requirements of the staff.
Therefore, the embodiment of the application provides a point payment method, which can improve the flexibility of point payment and meet the payment requirements of users.
The method for redeeming points provided in the embodiments of the present application is described below with reference to specific embodiments, and fig. 1 is a flowchart of the method for redeeming points provided in the embodiments of the present application. The method can be applied to any enterprise or unit, and for example, the method can be applied to point exchange of employees in a large commercial bank. The method can be applied to electronic equipment such as mobile phones, computers, panels and the like.
As shown in fig. 1, the credit redemption method may include the steps of:
and S110, acquiring the exchange request.
Wherein the redemption request includes the object to be redeemed.
S120, according to the object type of the object to be redeemed, determining a first point which is held by the user and corresponds to the object type.
And S130, deducting the difference value between the second integral and the first integral from a third integral held by the user under the condition that the first integral is smaller than the second integral.
The second point is a point required by the object to be redeemed, the object type corresponding to the third point is different from the object type corresponding to the first point, and the expiration time of the first point is earlier than that of the third point.
In this embodiment of the application, a first score corresponding to an object type held by a user may be determined according to the object type of an object to be redeemed in a redemption request, and a difference between a second score and the first score is deducted from a third score held by the user when the first score is smaller than the second score, where an object type corresponding to the third score is different from an object type corresponding to the first score, and an expiration time of the first score is earlier than an expiration time of the third score. That is, when the point is used for exchanging the object to be exchanged, the embodiment of the application can support the point of different types to be mixed, so that the situation that the object to be exchanged cannot be exchanged due to insufficient points of the object type can be avoided, the flexibility of point exchange is improved, and the exchange requirement of a user is met.
The above steps are described in detail below, specifically as follows:
in S110, when the user needs to exchange an object, the user may click on the object, and thus, the electronic device obtains an exchange request of the object. Of course, the electronic device may obtain the redemption request of a certain object when the user adds the object to the shopping cart or clicks the object in the shopping cart.
For example, the redemption request may include an object to be redeemed, the embodiment of the present application does not limit the type of the object to be redeemed, and any object that the business or organization may support the redemption of the points may include, but is not limited to, air tickets, train tickets, food products, and the like.
Illustratively, the redemption request may also include a redemption mode, which may include, but is not limited to, a points mode, which represents redemption of the object by points, a points cash mode, which represents redemption of the object by a combination of points and cash, a cash mode, which represents redemption of the object by cash, and the like.
In the embodiment of the application, when a user exchanges an object, the exchange mode can be appointed, so that the electronic equipment can exchange according to the exchange mode appointed by the user to meet the exchange requirement of the user. Certainly, the user may not specify the exchange mode, in this case, the electronic device may exchange in a default exchange mode, for example, when the default mode is point exchange, the electronic device may preferentially exchange by using points, when the user's points are insufficient, the electronic device may exchange in a point cash mode, and when the user's points are 0, the electronic device may exchange in cash, so that point exchange may be preferentially used, and waste of points due to expiration is avoided.
In S120, the object type is used to characterize the category to which the object to be exchanged belongs, and the object type may include, but is not limited to, a ticket type, a medical care type, a food type, a learning type, and the like.
Different object types may correspond to different point types, for example, a point type corresponding to a ticket type may be different from a point type corresponding to a food type.
In some embodiments, after the electronic device obtains the redemption request, the object type of the object to be redeemed is obtained, so that points held by the user and the object type, that is, the first points, can be queried according to the object type, and meanwhile, all points held by the user can also be queried, so that under the condition that the user does not specify the redemption mode, the electronic device can select a proper redemption mode for the user according to the point condition held by the user.
In S130, the second point is a point required for the object to be redeemed, and the third point is a point held by the user and related to other object types, for example, the first point is a point corresponding to a ticket type, and the third point may be a point corresponding to a food type.
Taking an object to be exchanged as an air ticket as an example, in the embodiment of the application, when the first point is smaller than the second point, that is, the first point is not enough to exchange the air ticket, other types of points can be used for complementing, so that mixed use of different types of points is realized, the situation that the exchange requirement of a user cannot be met due to the fact that a certain single type of point is insufficient is avoided, and flexibility of point exchange is improved.
Considering that the points have a certain period, in some embodiments, all points held by the user may be sorted according to the expiration time, and when a certain object is redeemed with the points, the points which are expired first may be preferentially deducted, so that the failure due to the expiration of the points can be avoided.
For example, in the case that the expiration time of the first integral is earlier than the expiration time of the third integral, the first integral may be preferentially utilized and then the third integral may be utilized for compensation, that is, the difference between the second integral and the first integral is subtracted from the third integral.
For example, in the case that the expiration time of the third credit is earlier than the expiration time of the first credit, the third credit may be preferentially used, for example, the second credit required for the object to be redeemed may be preferentially deducted from the third credit.
When the total points held by the user are not enough to exchange a certain object, the user can be prompted to fill up with cash, for example, in the case that the first points are smaller than the second points, the amount corresponding to the difference value between the second points and the first points is deducted from the account of the user. Therefore, the purpose of mixed use of the points and cash is achieved, and flexibility of point exchange is improved.
In some embodiments, there may be a case of a return after the user redeems the points for an object. The electronic device can support multiple refunds for the same order number, wherein the total credit amount of the multiple refunds cannot exceed the consumption credit amount of the order. When the electronic device returns the points to the user, the electronic device can return the points which are deducted in the positive order of the expiration time, for example, the last expired point is firstly returned to the user, so that the first expired point can be guaranteed to be preferentially used.
In some embodiments, the electronic device may also check the running of points on the day, and for a check-free running of points may enter into the monthly and supplier settlement payments.
In some embodiments, the order may be incorrect due to system anomalies or the supplier's inability to draw a ticket successfully, for example, the amount of credit deducted from the order is less than or greater than the amount of credit actually required by the order. Therefore, in order to ensure the accuracy of the transaction, the order in which multiple consumptions and refunds occur may be filled with positive data, for example, the order may be filled with positive data in a reverse order, excess credits may be returned, or insufficient credits may be subtracted again.
In some embodiments, before S110, the method for redeeming points may further include the steps of:
issuing source integrals to the user, wherein the source integrals are integrals initially issued to the user and at least comprise source integrals corresponding to the first integrals and the third integrals;
points and taxes of the source points are deducted from the user's payroll in the current month.
In the embodiment of the application, the source points can be issued by a point issuing mechanism of an enterprise or a unit, for example, the point issuing mechanism can issue the source points to employees meeting the requirements of the enterprise or the unit, for example, the user a issues medical rest points 2000 points 1 month 1 day 2020, which can be used for air tickets, hotels and train ticket consumption, and the cash ratio of the points is 1: 1; and 2, 1 month and 1 day in 2020, the user A is issued with 1000 points of learning points, which can be used for book consumption, and the cash ratio of the points is 5: 1. The treatment rest points and the learning points are source points, namely different types of points initially issued to the user A.
For example, the source points of the first score may be therapy rest points and the source points of the third score may be learning points.
According to the method and the device, when deducting the personal tax of the user is moved to point issuing, namely the point personal tax of the source point is deducted from the payroll of the user in the same month, compared with a mode of calculating the tax after point consumption, the method and the device are simple, efficient and not prone to errors.
In consideration of different cash ratios corresponding to different source points, in order to facilitate settlement, the source points held by the user can be uniformly remitted to eliminate the cash ratio difference among the different source points, so that convenience is brought to subsequent accounting, reimbursement and the like. For example, the first and third points in the above embodiment have the same cash ratio and are each 1: 1.
Based on this, in some embodiments, the credit redemption method may further include the steps of:
and (4) according to a point remittance principle, remitting the source points to obtain a first point and a third point, wherein the proportional relation between the first point and the cash is the same as the proportional relation between the third point and the cash.
This step may be performed before the redemption request is obtained, or may be performed after the redemption request is obtained, which is exemplified in the embodiments of the present application.
These source points may have different point cash ratios, user identification, affiliated institutions, affiliated centers of responsibility, affiliated institutions, sources, uses, expiration times, and the like. The electronic equipment can uniformly remit the source points into points with the same point-cash ratio based on the point remittance rule.
The mechanism to which the user belongs is used for recording the mechanism to which the user belongs when the point is issued, so that the tracing is facilitated. And the responsibility center is used for recording the responsibility center to which the user belongs when the integral is issued, and is used for enterprise cost allocation. The affiliated collecting mechanism is used for recording the collecting mechanism to which the staff belongs when the points are issued and is used for mechanism independent accounting. The source is used for recording the source integral of the integral, and the integral deduction condition can be conveniently checked according to the source integral. The application is used for recording the points, such as books, air tickets, train tickets, hotels and the like, and is convenient for screening the total amount of the points which can be used by a specific object. The expiration time is used for recording the expiration time of the point, the point cannot be used again after the point is expired, for unexpired points, the point can be deducted from near to far according to the expiration time when the point is actually deducted, and the point is returned according to the expiration time when the point is returned.
Illustratively, if the user a is issued learning points for 1000 points in 2/1 of 2020 and the cash ratio of the points is 5:1, the learning points are recorded as 200 points according to the point remittance rule, the cash ratio of the points is 1:1, and the points are issued from the sources of the points in 2/1 of 2020. Further exemplarily, 2000 minutes of the medical maintenance points are issued to the user A in 1 month and 1 year in 2020, the medical maintenance points can be used for air ticket, hotel and train ticket consumption, the cash ratio of the points is 1:1, the medical maintenance points are recorded as 2000 minutes according to the point remittance rule, the cash ratio of the points is 1:1, and the medical maintenance points are issued to the user A in 1 month and 1 day in 2020.
In some embodiments, unexpired points can be summarized according to the use of each point to obtain the total amount of the points, so that the query and the use are convenient.
Through the point remittance, the point-cash ratio among different points can be eliminated, and convenience is provided for subsequent consumption and account checking.
In some embodiments, for users suspected of cash-out, violations, or not meeting the standards in the current year, their points accounts may be frozen.
In the case of large bank, the bank may settle the payment to the supplier, for example, monthly, and keep the detail flow of the payment, facilitating the subsequent checking with the bill by the accounting institution. Wherein the supplier is a vendor that provides the object to be redeemed.
In the embodiment of the application, enterprises or units can issue various employee benefit points according to related policy documents or incentive policies, and issue points with different types and different cash ratios to meet various requirements of employees. When the staff exchanges a certain object, the system not only supports mixed use of multiple types of welfare points, but also supports mixed use of points and cash, so that the flexibility of point exchange is improved, and the exchange requirements of the staff are met. And the whole process (point issuing, consuming, accounting, reimbursement and the like) can be realized on line, so that the point exchange efficiency is improved.
Based on the same inventive concept, an embodiment of the present application further provides a point redemption device, and the point redemption device provided in the embodiment of the present application is described in detail below with reference to fig. 2.
Fig. 2 is a structural diagram of a credit redemption device provided in an embodiment of the present application.
As shown in fig. 2, the credit redemption apparatus may include:
the acquiringmodule 21 is configured to acquire a redemption request, where the redemption request includes an object to be redeemed;
the determiningmodule 22 is configured to determine, according to the object type of the object to be redeemed, a first point corresponding to the object type and held by the user;
thededuction module 23 is configured to deduct, when the first point is smaller than the second point, a difference between the second point and the first point from a third point held by the user, where the second point is a point required by the object to be redeemed, the object type corresponding to the third point is different from the object type corresponding to the first point, and the expiration time of the first point is earlier than the expiration time of the third point.
In this embodiment of the application, a first score corresponding to an object type held by a user may be determined according to the object type of an object to be redeemed in a redemption request, and a difference between a second score and the first score is deducted from a third score held by the user when the first score is smaller than the second score, where an object type corresponding to the third score is different from an object type corresponding to the first score, and an expiration time of the first score is earlier than an expiration time of the third score. That is, when the point is used for exchanging the object to be exchanged, the embodiment of the application can support the point of different types to be mixed, so that the situation that the object to be exchanged cannot be exchanged due to insufficient points of the object type can be avoided, the flexibility of point exchange is improved, and the exchange requirement of a user is met.
In some embodiments, thededuction module 23 is further configured to, after thedetermination module 22 determines, according to the object type of the object to be redeemed, a first point held by the user and corresponding to the object type, and if the first point is smaller than a second point, deduct an amount corresponding to a difference value between the second point and the first point from an account of the user.
In some embodiments, the apparatus may further comprise:
the issuing module is used for issuing source points to the user before the acquiringmodule 21 acquires the redemption request, wherein the source points are points initially issued to the user and at least comprise source points corresponding to the first points and the third points;
thededuction module 23 is further configured to deduct the credit tax of the source credit from the payroll of the user in the current month.
In some embodiments, the apparatus may further comprise:
and the remittance module is configured to remit the source points to obtain the first points and the third points according to a point remittance principle after the obtainingmodule 21 obtains the exchange request, where a proportional relationship between the first points and the cash is the same as a proportional relationship between the third points and the cash.
In some embodiments, the deducting module is further configured to deduct the second point from the third point if the expiration time of the third point is earlier than the expiration time of the first point after the determiningmodule 22 determines the first point corresponding to the object type held by the user according to the object type of the object to be redeemed.
Each module in the apparatus shown in fig. 2 has a function of implementing each step in fig. 1 and can achieve a corresponding technical effect, and is not described herein again for brevity.
Based on the same inventive concept, the embodiment of the application further provides an electronic device, and the electronic device can be an intelligent terminal such as a mobile phone, a notebook computer, a desktop computer or a tablet computer. The electronic device provided by the embodiment of the present application is described in detail below with reference to fig. 3.
As shown in fig. 3, the electronic device may include aprocessor 31 and amemory 32 for storing computer program instructions.
Theprocessor 31 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing embodiments of the present Application.
Memory 32 may include mass storage for data or instructions. By way of example, and not limitation,memory 32 may include a Hard Disk Drive (HDD), a floppy Disk Drive, flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. In one example,memory 32 may include removable or non-removable (or fixed) media, ormemory 32 is non-volatile solid-state memory. In one example, theMemory 32 may be a Read Only Memory (ROM). In one example, the ROM may be mask programmed ROM, programmable ROM (prom), erasable prom (eprom), electrically erasable prom (eeprom), electrically rewritable ROM (earom), or flash memory, or a combination of two or more of these.
Theprocessor 31 reads and executes the computer program instructions stored in thememory 32 to implement the method in the embodiment shown in fig. 1, and achieve the corresponding technical effect achieved by the embodiment shown in fig. 1 executing the method, which is not described herein again for brevity.
In one example, the electronic device may also include acommunication interface 33 and abus 34. As shown in fig. 3, theprocessor 31, thememory 32, and thecommunication interface 33 are connected via abus 34 to complete mutual communication.
Thecommunication interface 33 is mainly used for implementing communication between modules, apparatuses and/or devices in the embodiments of the present invention.
Thebus 34 comprises hardware, software, or both that couple the various components of the electronic device to one another. By way of example, and not limitation,Bus 34 may include an Accelerated Graphics Port (AGP) or other Graphics Bus, an Enhanced Industry Standard Architecture (EISA) Bus, a Front-Side Bus (Front Side Bus, FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) Bus, an InfiniBand interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a Micro Channel Architecture (MCA) Bus, a Peripheral Component Interconnect (PCI) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, a video electronics standards Association local (VLB) Bus, or other suitable Bus or a combination of two or more of these.Bus 34 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
The electronic device may execute the point redemption method in the embodiment of the present application after acquiring the redemption request, thereby implementing the point redemption method described in conjunction with fig. 1 and the point redemption apparatus described in fig. 2.
In addition, in combination with the point redemption method in the foregoing embodiments, the embodiments of the present application may be implemented by providing a computer storage medium. The computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement any of the point redemption methods of the embodiments described above.
It is to be understood that the present application is not limited to the particular arrangements and instrumentality described above and shown in the attached drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions or change the order between the steps after comprehending the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic Circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
Aspects of embodiments of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As described above, only the specific embodiments of the present application are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application.