Data processing method and device used in user consumption process, equipment and medium
By sending prepayment prompt messages on the user's equipment and calculating payable data based on the consumption data, the problem of insufficient viscosity when users consume outside is solved, and the user's consumption experience and viscosity are improved.
Patent Information
- Application Number
- CN202510110267.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-30
AI Technical Summary
In the prior art, when users consume outside, the lack of viscosity during the consumption process leads to poor consumption experience and it is difficult to effectively motivate users' continuous behavior during the consumption process.
By sending a prepayment prompt message on the user's device, the user can perform prepayment before making a purchase. The system determines the advance payment data based on the start and end time of consumption, and calculates the payable data based on the current consumption data, consumption incentive data and advance payment data at the end of consumption to adjust the user's actual consumption settlement.
By prompting users to perform prepayment before consumption, the system can reasonably adjust the user's actual consumption data during consumption settlement, as an incentive for users to perform prepayment behavior, and effectively improve user viscosity.
Smart Images

Figure CN120069861A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the technical field of data processing, and specifically, to a data processing method, apparatus, device, and medium applicable to the consumption process of users. Background Art
[0002] With the continuous improvement of artificial intelligence technology, in daily life, when users consume outside, they can perform corresponding operations through intelligent devices such as mobile phones. For example, when a user enters a store for a meal, they can enter the merchant system through scanning a QR code to automatically place an order and other operations, and then make an online payment after the meal.
[0003] In related technologies, when users consume in an online system, they usually manually place orders and other operations, and service personnel provide corresponding goods. When the user's consumption ends, the current order is settled by checking out online or other means.
[0004] However, with the existing method, the user viscosity is not high. Summary of the Invention
[0005] Embodiments described herein provide a data processing method, apparatus, device, and medium for the consumption process of users, which overcome the above problems.
[0006] In a first aspect, according to the content of the present disclosure, there is provided a data processing method for the consumption process of users, including:
[0007] In response to a prepayment data request sent by a user device, sending a prepayment prompt message to the user device, where the prepayment data request includes: a consumption start time and a consumption end time when the user device occupies a target area in a target merchant, and the prepayment prompt message includes: prepayment data, which is determined based on the consumption start time and the consumption end time;
[0008] Receiving the prepayment data sent by the user device;
[0009] When receiving a consumption end request sent by the user device, obtaining current consumption data of the user device in the target merchant;
[0010] Based on the request sending time when the user device sends the consumption end request, and the consumption start time or the consumption end time, determining consumption incentive data generated during the consumption process of the user device in the target merchant;
[0011] Based on the consumption incentive data, the current consumption data, and the prepayment data, determine the payable data of the user device corresponding to the target merchant, so as to perform corresponding processing on the consumption behavior of the user device in the target merchant.
[0012] In a second aspect, according to the content of the present disclosure, there is provided a data processing device for the user consumption process, including:
[0013] A sending module, configured to send a prepayment prompt message to the user device in response to a prepayment data request sent by the user device, where the prepayment data request includes: a consumption start time and a consumption end time when the user device occupies a target area in the target merchant, and the prepayment prompt message includes: prepayment data, and the prepayment data is determined based on the consumption start time and the consumption end time;
[0014] A receiving module, configured to receive the prepayment data sent by the user device;
[0015] An obtaining module, configured to obtain the current consumption data of the user device in the target merchant when receiving a consumption end request sent by the user device;
[0016] A first determination module, configured to determine the consumption incentive data generated during the consumption process of the user device in the target merchant based on the request sending time when the user device sends the consumption end request, and the consumption start time or the consumption end time;
[0017] A second determination module, configured to determine the payable data of the user device corresponding to the target merchant based on the consumption incentive data, the current consumption data, and the prepayment data, so as to perform corresponding processing on the consumption behavior of the user device in the target merchant.
[0018] In a third aspect, there is provided a computer device, including a memory and a processor, where a computer program is stored in the memory, and when the processor executes the computer program, the steps of the data processing method for the user consumption process in any one of the above embodiments are implemented.
[0019] In a fourth aspect, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the data processing method for the user consumption process in any one of the above embodiments are implemented.
[0020] The data processing method for the user consumption process provided by the embodiment of the present application responds to the prepayment data request sent by the user device, and sends a prepayment prompt message to the user device. The prepayment data request includes: the consumption start time and the consumption end time when the user device occupies the target area in the target merchant. The prepayment prompt message includes: prepayment data, which is determined based on the consumption start time and the consumption end time; receives the prepayment data sent by the user device; when receiving the consumption end request sent by the user device, obtains the current consumption data of the user device in the target merchant; determines the consumption incentive data generated during the consumption process of the user device in the target merchant based on the request sending time when the user device sends the consumption end request, and the consumption start time or the consumption end time; determines the payable data corresponding to the user device for the target merchant based on the consumption incentive data, the current consumption data, and the prepayment data, so as to perform corresponding processing on the consumption behavior of the user device in the target merchant. In this way, by prompting the user to perform prepayment behavior before consumption, the actual consumption data of the user can be reasonably adjusted during consumption settlement as an incentive for the user to perform prepayment behavior, effectively improving user viscosity.
[0021] The above description is only an overview of the technical solution of the embodiment of the present application. In order to be able to understand the technical means of the embodiment of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and understandable, the specific embodiments of the present application are specifically given below. Brief Description of the Drawings
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below. It should be understood that the following described drawings only relate to some embodiments of the present disclosure and do not limit the present disclosure, where:
[0023] Figure 1 It is a flowchart of a data processing method for the user consumption process provided by the present disclosure.
[0024] Figure 2 It is a structural schematic diagram of a data processing device for the user consumption process provided by the present disclosure.
[0025] Figure 3 It is a structural schematic diagram of a computer device provided by the present disclosure.
[0026] It should be noted that the elements in the drawings are schematic and not drawn to scale. Detailed Embodiments
[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. All other embodiments obtained by those skilled in the art based on the described embodiments of the present disclosure without creative efforts also fall within the scope of protection of the present disclosure.
[0028] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which the subject matter of the present disclosure pertains. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the specification and the relevant art, and will not be interpreted in an idealized or overly formal manner unless expressly so defined herein. As used herein, a statement that two or more parts are "connected" or "coupled" together shall mean that these parts are directly joined together or joined through one or more intermediate components.
[0029] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application. The phrase "embodiments" appearing in various places in the specification does not necessarily refer to the same embodiment, nor are they independent or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0030] The term "and / or" as used herein is merely a description of an association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: the existence of A, the simultaneous existence of A and B, and the existence of B. Additionally, the character " / " herein generally represents an "or" relationship between the associated objects before and after. Terms such as "first" and "second" are only used to distinguish one component (or a part of a component) from another component (or another part of a component).
[0031] In the description of the present application, unless otherwise specified, the meaning of "a plurality" refers to two or more (including two). Similarly, "a plurality of groups" refers to two or more groups (including two groups).
[0032] To enable those skilled in the art of this technology to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0033] Figure 1 is a schematic flowchart of a data processing method for user consumption provided by an embodiment of the present disclosure, as Figure 1As shown, the specific process of the data processing method during user consumption includes:
[0034] S110. In response to the prepayment data request sent by the user device, send a prepayment prompt message to the user device.
[0035] Among them, the prepayment data request includes: the consumption start time and consumption end time when the user device anticipates occupying the target area in the target merchant. The prepayment prompt message includes: prepayment data, which is determined based on the consumption start time and consumption end time. The prepayment data can be a specific amount prepaid by the user before consumption such as dining, having tea, shopping, etc.
[0036] In some embodiments, before sending the prepayment prompt message to the user device, it further includes:
[0037] Estimate the initial consumption data based on the consumption start time and consumption end time when the user device occupies the target area in the target merchant; adjust the initial consumption data based on the historical consumption data of the user device in the target merchant and the historical consumption data of other devices in the target merchant corresponding to the consumption start time and consumption end time to obtain the prepayment data.
[0038] Among them, estimating the initial consumption data based on the consumption start time and consumption end time when the user device occupies the target area in the target merchant may include: determining the area private room fee, area fixed consumption (such as napkins, specific tea, etc.) and consumption estimated amount of the target area from the consumption start time to the consumption end time as the initial consumption data.
[0039] For example, the consumption start time when the user device occupies the A private room (i.e., the target area) of a tea house (i.e., the target merchant) is 3:00 pm on the same day, and the consumption end time is 6:00 pm on the same day. The area private room fee of the A private room area is x1, the area fixed consumption is x2, and the consumption estimated amount is x3. Then the determined initial consumption amount X1 = x1 + x2 + x3.
[0040] The historical consumption data of the user device in the target merchant is the consumption amount when the historical consumption duration of the user device is the same as the interval duration between the consumption start time and the consumption end time.
[0041] Based on the historical consumption data of the user device in the target merchant and the historical consumption data of other devices in the target merchant corresponding to the consumption start time and consumption end time, data adjustment is performed on the initial consumption data to obtain prepayment data, which may include: combining the historical consumption data of the user device in the target merchant and the historical consumption data of other devices in the target merchant corresponding to the consumption start time and consumption end time, increasing or decreasing the initial consumption data to obtain prepayment data.
[0042] Combined with the above example, if the historical consumption data of the user device in the target merchant is X2, and the historical consumption data of other devices in the target merchant corresponding to the consumption start time and consumption end time is X3, if both X2 and X3 are greater than or both are less than X1, then the average value of X2 and X3 is determined as the prepayment data; if X2 is greater than X1 and X3 is less than X1, then the summation result of different weights of X2 and X3 is determined as the prepayment data, and the weight of X2 is greater than the weight of X3; if X2 is less than X1 and X3 is greater than X1, then the summation result of different weights of X2 and X3 is determined as the prepayment data, and the weight of X3 is greater than the weight of X2.
[0043] Thus, by combining the historical consumption data of the user device in the target merchant and the historical consumption data of other devices in the target merchant corresponding to the consumption start time and consumption end time, data adjustment is performed on the initial consumption data, and prepayment data adapted to the consumption habits of the user device is effectively obtained.
[0044] S120. Receive the prepayment data sent by the user device.
[0045] Among them, the user device can pay the corresponding prepayment through the online system of the target merchant, or the corresponding operation can be performed by the cashier staff at the merchant front desk.
[0046] S130. When receiving the consumption end request sent by the user device, obtain the current consumption data of the user device in the target merchant.
[0047] Among them, the current consumption data of the user device in the target merchant can be the current consumption amount of the target user device corresponding to the consumer products in the target merchant.
[0048] S140. Based on the request sending time when the user device sends the consumption end request, and the consumption start time or consumption end time, determine the consumption incentive data generated during the consumption process of the user device in the target merchant.
[0049] Among them, the consumption incentive data generated during the consumption process of the user device at the target merchant can correspond to the incentive amount, which is convenient for cash deduction during consumption settlement. Or, it can correspond to incentive bonuses, such as full reduction coupons, additional goods, etc., which are convenient for subsequent consumption.
[0050] In some embodiments, based on the request sending time of the consumption end request sent by the user device, and the consumption start time or consumption end time, the consumption incentive data generated during the consumption process of the user device at the target merchant is determined, including:
[0051] If it is determined that the request sending time of the consumption end request sent by the user device is later than the consumption end time, then based on the time difference between the request sending time of the consumption end request and the consumption end time, the consumption incentive data generated during the consumption process of the user device at the target merchant is determined; or, if it is determined that the request sending time of the consumption end request sent by the user device is earlier than the consumption end time, then based on the time difference between the request sending time of the consumption end request and the consumption start time, the consumption incentive data generated during the consumption process of the user device at the target merchant is determined.
[0052] Among them, the consumption incentive data generated during the consumption process of the user device at the target merchant determined based on the time difference between the request sending time of the consumption end request and the consumption end time can be the incentive amount; the consumption incentive data generated during the consumption process of the user device at the target merchant determined based on the time difference between the request sending time of the consumption end request and the consumption start time can be the incentive bonus.
[0053] The greater the time difference between the request sending time of the consumption end request and the consumption end time, the greater the consumption incentive data generated during the consumption process of the user device at the target merchant; the smaller the time difference between the request sending time of the consumption end request and the consumption end time, the smaller the consumption incentive data generated during the consumption process of the user device at the target merchant. The smaller the time difference between the request sending time of the consumption end request and the consumption start time, the smaller the consumption incentive data generated during the consumption process of the user device at the target merchant; the greater the time difference between the request sending time of the consumption end request and the consumption start time, the greater the consumption incentive data generated during the consumption process of the user device at the target merchant. Thus, the consumption incentive data adapted to different consumption durations is determined.
[0054] S150. Based on the consumption incentive data, the current consumption data, and the prepayment data, determine the payable data corresponding to the user device for the target merchant, so as to perform corresponding processing on the consumption behavior of the user device at the target merchant.
[0055] Among them, if the consumption incentive data is the incentive amount, the payable data is the sum of the difference between the prepayment data and the current consumption data and the consumption incentive data; if the consumption incentive data is the incentive bonus, the payable data is the difference between the prepayment data and the current consumption data.
[0056] The payable data is the payment amount for the user device to make a second payment after paying the prepayment data. The payable data can be positive or negative. When the payable data is negative, it indicates that the user device still needs to pay a certain amount to the target merchant. When the payable data is positive, it indicates that the target merchant needs to refund a part of the amount to the user device.
[0057] In this embodiment, in response to the prepayment data request sent by the user device, a prepayment prompt message is sent to the user device. The prepayment data request includes the consumption start time and the consumption end time of the target area occupied by the user device in the target merchant. The prepayment prompt message includes the prepayment data, which is determined based on the consumption start time and the consumption end time; the prepayment data sent by the user device is received; when the consumption end request sent by the user device is received, the current consumption data of the user device in the target merchant is obtained; based on the request sending time when the user device sends the consumption end request, and the consumption start time or the consumption end time, the consumption incentive data generated during the consumption process of the user device in the target merchant is determined; based on the consumption incentive data, the current consumption data, and the prepayment data, the payable data corresponding to the user device for the target merchant is determined to perform corresponding processing on the consumption behavior of the user device in the target merchant. In this way, by prompting the user to perform the prepayment behavior before consumption, the actual consumption data of the user can be reasonably adjusted during consumption settlement as an incentive for the user to perform the prepayment behavior, effectively improving user viscosity.
[0058] In some embodiments, it further includes:
[0059] If it is detected that the time difference between the current time and the consumption end time is less than or equal to the first preset difference, a consumption duration prompt message is sent to the user device; in response to the duration delay indication sent by the user device based on the consumption duration confirmation link, the consumption end time of the target area occupied by the user device is extended; in response to the duration confirmation indication sent by the user device based on the consumption duration confirmation link, the current consumption order corresponding to the user device is generated.
[0060] Among them, the consumption duration prompt message includes a consumption duration confirmation link.
[0061] If a duration delay indication sent based on the consumption duration confirmation link by the user device is received, it indicates that the user device still needs to occupy the target area for a long time, and then the consumption end time for the user device to occupy the target area can be automatically extended in the system; if a duration confirmation indication sent based on the consumption duration confirmation link by the user device is received, it indicates that the user device does not need to extend the time, and then the current consumption order corresponding to the user device can be generated in the system.
[0062] Thus, when the regional usage duration is about to end, a prompt can be given to the user in a timely manner, which is convenient for making corresponding adaptive processing according to the user's consumption needs, and further improves user viscosity.
[0063] In some embodiments, it further includes:
[0064] If it is detected that the remaining consumable data corresponding in the prepayment data is lower than the preset consumption threshold, a consumption data prompt message is sent to the user device, and the consumption data prompt message includes: a consumption data confirmation link; in response to a data increase indication sent by the user device based on the consumption data confirmation link, the prepayment data is updated.
[0065] Correspondingly, in response to a data confirmation indication sent by the user device based on the consumption data confirmation link, the current consumption data of the user device is updated in real time.
[0066] Thus, when the user's prepayment is about to be consumed, by sending a prompt message to the user device, the user can be informed of the consumption situation in a timely manner, which is convenient for the user to use as a reference for consumption data.
[0067] In some embodiments, it further includes:
[0068] Receive an order timing pre-settlement request for the current consumption order sent by the user device, and the order timing pre-settlement request includes: an order pre-settlement time.
[0069] Among them, the order timing pre-settlement request can be a request for the user device to set an end to the current consumption order timing. Combining the above example, when it is determined that the consumption start time for the user device to occupy private room A of a certain teahouse is 3:00 pm on the same day and the consumption end time is 6:00 pm on the same day, the user can perform an operation to pre-pause the order timing in the middle.
[0070] If it is detected that the time difference between the current time and the request sending time of the order timing pre-settlement request is greater than a second preset threshold, and the distance between the current position of the user device and a preset position is less than or equal to a preset distance, then the consumption timing for the current consumption order is paused. If it is detected that the time difference between the current time and the request sending time of the order timing pre-settlement request is greater than a second preset threshold, and the distance between the current position of the user device and the preset position is still greater than the preset distance, then the consumption timing for the current consumption order continues.
[0071] Among them, the preset position can be the position coordinates of the merchant's cash register in the world coordinate system. After the user device executes the order timing pre-settlement request, if it is detected that the time difference between the current moment and the request sending moment of the order timing pre-settlement request is greater than the second preset threshold, and on this basis, the distance between the current position of the user device and the specific position of the cash register is greater than the preset distance, it indicates that the personnel in the area have not left the room in time. At this time, the order timing pre-settlement request can be ignored, and the consumption timing of the current consumption order can be continued, so as to avoid the behavior of maliciously reducing the consumption timing.
[0072] In some embodiments, it further includes:
[0073] If a pre-settlement time cancellation instruction for the current consumption order sent by the user device is received, the data operation corresponding to the order timing pre-settlement request is not executed; if a pre-settlement time advance instruction for the current consumption order sent by the user device is received, a time advance operation is performed on the order pre-settlement time; if a pre-settlement time delay instruction for the current consumption order sent by the user device is received, a time delay operation is performed on the order pre-settlement time.
[0074] Among them, after the user initiates the order timing pre-settlement request, the user can adaptively cancel the order timing pre-settlement request, delay or advance the order pre-settlement time according to the consumption demand, so as to effectively meet the user's consumption demand and enrich the user's consumption experience.
[0075] Figure 2 The following is a schematic structural diagram of a data processing device for the user consumption process provided in this embodiment. The data processing device for the user consumption process may include:
[0076] A sending module 210, configured to send a prepayment prompt message to the user device in response to a prepayment data request sent by the user device. The prepayment data request includes: the consumption start time and consumption end time when the user device occupies the target area in the target merchant. The prepayment prompt message includes: prepayment data, and the prepayment data is determined based on the consumption start time and consumption end time.
[0077] A receiving module 220, configured to receive the prepayment data sent by the user device.
[0078] An obtaining module 230, configured to obtain the current consumption data of the user device in the target merchant when a consumption end request sent by the user device is received.
[0079] A first determination module 240, configured to determine the consumption incentive data generated by the user device during the consumption process in the target merchant based on the request sending moment when the user device sends a consumption end request, and the consumption start time or consumption end time.
[0080] The second determination module 250 is configured to determine the payable data corresponding to the user device for the target merchant based on the consumption incentive data, the current consumption data, and the prepayment data, so as to perform corresponding processing on the consumption behavior of the user device in the target merchant.
[0081] In this embodiment, optionally, it further includes: a third determination module.
[0082] The third determination module is configured to estimate the initial consumption data based on the consumption start time and the consumption end time when the user device occupies the target area in the target merchant; and perform data adjustment on the initial consumption data based on the historical consumption data of the user device in the target merchant and the historical consumption data of other devices in the target merchant corresponding to the consumption start time and the consumption end time, to obtain the prepayment data.
[0083] In this embodiment, optionally, the first determination module 240 is specifically configured to:
[0084] If it is determined that the request sending time of the consumption end request sent by the user device is later than the consumption end time, then determine the consumption incentive data generated during the consumption process of the user device in the target merchant based on the time difference between the request sending time of the consumption end request and the consumption end time; or; if it is determined that the request sending time of the consumption end request sent by the user device is earlier than the consumption end time, then determine the consumption incentive data generated during the consumption process of the user device in the target merchant based on the time difference between the request sending time of the consumption end request and the consumption start time.
[0085] In this embodiment, optionally, it further includes: an adjustment module.
[0086] The sending module 210 is further configured to, if it is detected that the time difference between the current time and the consumption end time is less than or equal to the first preset difference, send a consumption duration prompt message to the user device, and the consumption duration prompt message includes: a consumption duration confirmation link.
[0087] The adjustment module is configured to extend the consumption end time when the user device occupies the target area in response to the duration delay indication sent by the user device based on the consumption duration confirmation link; and generate the current consumption order corresponding to the user device in response to the duration confirmation indication sent by the user device based on the consumption duration confirmation link.
[0088] In this embodiment, optionally, it further includes: an update module.
[0089] The sending module 210 is further configured to, if it is detected that the remaining consumable data corresponding in the prepayment data is lower than the preset consumption threshold, send a consumption data prompt message to the user device, and the consumption data prompt message includes: a consumption data confirmation link.
[0090] An update module, configured to update the prepayment data in response to an indication of increased data sent by the user device based on consumption data and confirmation link.
[0091] In this embodiment, optionally, it further includes: an execution module.
[0092] The receiving module 220 is further configured to receive an order timing prepayment request for the current consumption order sent by the user device, where the order timing prepayment request includes: the order prepayment moment.
[0093] The execution module is configured to continue the consumption timing for the current consumption order if it detects that the time difference between the current moment and the request sending moment of the order timing prepayment request is greater than a second preset threshold, and the distance between the current position of the user device and a preset position is still greater than a preset distance; and to pause the consumption timing for the current consumption order if it detects that the time difference between the current moment and the request sending moment of the order timing prepayment request is greater than a second preset threshold, and the distance between the current position of the user device and a preset position is less than or equal to a preset distance.
[0094] In this embodiment, optionally, it further includes: a processing module.
[0095] The processing module is configured to not perform the data operation corresponding to the order timing prepayment request if it receives a prepayment moment cancellation indication for the current consumption order sent by the user device; to perform an operation of advancing the moment for the order prepayment moment if it receives a prepayment moment advancement indication for the current consumption order sent by the user device; and to perform an operation of delaying the moment for the order prepayment moment if it receives a prepayment moment delay indication for the current consumption order sent by the user device.
[0096] The data processing device provided by the present disclosure for the user consumption process can execute the above method embodiment, and for its specific implementation principle and technical effects, reference can be made to the above method embodiment, which will not be elaborated herein.
[0097] The embodiment of the present application also provides a computer device. For details, please refer to Figure 3 , Figure 3 which is the basic structural block diagram of the computer device in this embodiment.
[0098] The computer device includes a memory 310 and a processor 320 that are communicatively connected to each other via a system bus. It should be noted that only the computer device with the memory 310 and the processor 320 is shown in the figure. However, it should be understood that it is not required to implement all the shown components, and more or fewer components can be implemented alternatively. Among them, those skilled in the art of this technology can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0099] The computer device can be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The computer device can interact with the user through a keyboard, a mouse, a remote control, a touchpad, or a voice control device, etc.
[0100] The memory 310 includes at least one type of readable storage medium, which includes non-volatile memory or volatile memory, such as flash memory, hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disc, etc. The RAM can include static RAM or dynamic RAM. In some embodiments, the memory 310 can be an internal storage unit of the computer device, such as the hard disk or memory of the computer device. In other embodiments, the memory 310 can also be an external storage device of the computer device, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the computer device. Of course, the memory 310 can also include both the internal storage unit and the external storage device of the computer device. In this embodiment, the memory 310 is generally used to store the operating system and various application software installed on the computer device, such as the program code of the above method. In addition, the memory 310 can also be used to temporarily store various data that have been output or will be output.
[0101] The processor 320 is generally used to execute the overall operations of the computer device. In this embodiment, the memory 310 is used to store program code or instructions, and the program code includes computer operation instructions. The processor 320 is used to execute the program code or instructions stored in the memory 310 or process data, such as running the program code of the above method.
[0102] In this article, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus system can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience in representation, only a thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0103] Another embodiment of the present application further provides a computer-readable medium, which can be a computer-readable signal medium or a computer-readable medium. A processor in the computer reads the computer-readable program code stored in the computer-readable medium, enabling the processor to perform the functional actions specified in each step or the combination of steps in the above method; and generating a device for performing the functional actions specified in each block or the combination of blocks in the block diagram.
[0104] The computer-readable medium includes but is not limited to electronic, magnetic, optical, electromagnetic, infrared memories or semiconductor systems, devices, or apparatuses, or any suitable combination of the foregoing. The memory is used to store program code or instructions, and the program code includes computer operation instructions. The processor is used to execute the program code or instructions of the above method stored in the memory.
[0105] For the definitions of the memory and the processor, reference can be made to the description of the foregoing computer device embodiments, and details are not described herein again.
[0106] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical, or other form.
[0107] In each embodiment of the present application, each functional unit or module can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0108] When an integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0109] In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The "including" described in this application does not exclude the existence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the existence of a plurality of such elements. This application can be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a claim listing several units of a device, several of these units of the device can be embodied by the same item of hardware. The use of the first, second, and third, etc. does not denote any order and these words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the order of execution.
[0110] The above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit them; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of this application.
Claims
1. A data processing method for a user's consumption process, characterized in that: include: In response to a prepayment data request sent by a user device, a prepayment reminder message is sent to the user device, wherein the prepayment data request includes: a consumption start time and a consumption end time when the user device occupies a target area in a target merchant, and the prepayment reminder message includes: prepayment data, wherein the prepayment data is determined based on the consumption start time and the consumption end time; receiving the prepayment data sent by the user equipment; Upon receiving a consumption end request sent by the user device, obtaining current consumption data of the user device in the target merchant; Determining consumption incentive data generated by the user device during the consumption process of the target merchant based on the time at which the user device sends the consumption end request and the consumption start time or the consumption end time; Based on the consumption incentive data, the current consumption data and the prepayment data, the payable data of the user device corresponding to the target merchant is determined, so as to process the consumption behavior of the user device in the target merchant accordingly.
2. The method according to claim 1, characterized in that Before sending the prepayment reminder message to the user equipment, the method further includes: estimating initial consumption data based on the consumption start time and the consumption end time when the user device occupies the target area in the target merchant; Based on the historical consumption data of the user device in the target merchant and the historical consumption data of other devices in the target merchant corresponding to the consumption start time and the consumption end time, the initial consumption data is adjusted to obtain the prepayment data.
3. The method according to claim 1, characterized in that The determining, based on the time at which the user device sends the consumption end request and the consumption start time or the consumption end time, the consumption incentive data generated by the user device during the consumption process of the target merchant includes: If it is determined that the time when the user device sends the consumption end request is later than the consumption end time, then based on the time difference between the time when the user device sends the consumption end request and the consumption end time, determine the consumption incentive data generated by the user device in the consumption process of the target merchant; or; If it is determined that the time when the user device sends the consumption end request is earlier than the consumption end time, the consumption incentive data generated by the user device during the consumption process of the target merchant is determined based on the time difference between the time when the consumption end request is sent and the consumption start time.
4. The method according to claim 3, characterized in that Also includes: If it is detected that the time difference between the current time and the consumption termination time is less than or equal to the first preset difference value, a consumption duration prompt message is sent to the user equipment, wherein the consumption duration prompt message includes: a consumption duration confirmation link; In response to a duration delay indication sent by the user equipment based on the consumption duration confirmation link, extending the consumption termination time when the user equipment occupies the target area; In response to the duration confirmation indication sent by the user device based on the consumption duration confirmation link, a current consumption order corresponding to the user device is generated.
5. The method according to claim 3, characterized in that: Also includes: If it is detected that the remaining consumable data corresponding to the prepaid data is lower than a preset consumption threshold, a consumption data prompt message is sent to the user device, wherein the consumption data prompt message includes: a consumption data confirmation link; In response to a data increase indication sent by the user device based on the consumption data confirmation link, the prepayment data is updated.
6. The method according to claim 1, characterized in that Also includes: receiving an order timed pre-settlement request for a current consumption order sent by the user equipment, wherein the order timed pre-settlement request includes: an order pre-settlement time; If it is detected that the time difference between the current time and the time when the request for pre-settlement of the order timing is sent is greater than a second preset threshold, and the distance between the current position of the user device and the preset position is still greater than the preset distance, then the consumption timing of the current consumption order continues; If it is detected that the time difference between the current moment and the time when the order timing pre-settlement request is sent is greater than a second preset threshold, and the distance between the current position of the user device and the preset position is less than or equal to the preset distance, the consumption timing of the current consumption order is suspended.
7. The method according to claim 6, characterized in that Also includes: If a cancellation instruction of the pre-settlement time of the current consumption order is received from the user equipment, the data operation corresponding to the order timing pre-settlement request is not performed; If an indication of advancing the estimated settlement time of the current consumption order is received from the user device, an operation is performed to advance the estimated settlement time of the order; If an indication of delaying the estimated settlement time of the current consumption order is received from the user equipment, a time delay operation is performed on the estimated settlement time of the order.
8. A data processing device used in a user consumption process, characterized in that: include: a sending module, configured to send a prepayment reminder message to the user equipment in response to a prepayment data request sent by the user equipment, wherein the prepayment data request includes: a consumption start time and a consumption end time when the user equipment occupies a target area in a target merchant, and the prepayment reminder message includes: prepayment data, wherein the prepayment data is determined based on the consumption start time and the consumption end time; A receiving module, configured to receive the prepayment data sent by the user equipment; An acquisition module, configured to acquire current consumption data of the user device in the target merchant upon receiving a consumption end request sent by the user device; A first determination module, configured to determine consumption incentive data generated by the user device during the consumption process of the target merchant based on the time at which the user device sends the consumption end request and the consumption start time or the consumption end time; The second determination module is used to determine the payable data of the user device corresponding to the target merchant based on the consumption incentive data, the current consumption data and the prepayment data, so as to perform corresponding processing on the consumption behavior of the user device in the target merchant.
9. A computer device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, a data processing method for user consumption as claimed in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data processing method for user consumption process as described in any one of claims 1 to 7 is implemented.