Business order processing method, device and electronic equipment

By generating mapping values ​​corresponding to the target business order and determining the available time of order rewards, the problem of excessive processing pressure and capacity pressure of the business system is solved, and the user experience and system stability are improved.

CN114757734BActive Publication Date: 2025-03-25ADVANCED NEW TECHNOLOGIES CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210342349.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-11-22
Publication Date
2025-03-25
Estimated Expiration
2038-11-22

AI Technical Summary

Technical Problem

When handling order rewards related to business orders, the prior art leads to excessive processing pressure and capacity pressure on the business system, affecting the user experience.

Method used

By obtaining relevant information of the target business order, a mapping value corresponding to the target business order is generated, and the duration and preset time period corresponding to the remainder of the target value modulo the mapping value is determined, so that it can be distributed discretely within the preset time period.

Benefits of technology

The processing pressure and capacity pressure of the business system are reduced, the user experience is improved, and the stability of the business system is improved by evenly distributing the available moments of order rewards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114757734B_ABST
    Figure CN114757734B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a method, device and electronic device for processing a business order, the method comprising: obtaining relevant information of a target business order; generating a mapping value corresponding to the target business order based on the relevant information; determining a time when an order reward related to the target business order can be obtained based on a duration corresponding to a remainder obtained by modulo a target value with the mapping value and a preset time period, wherein the time when an order reward can be obtained is within the preset time period, and a start time of the preset time period is later than a time when the target business order is generated.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This patent application is a divisional application of the Chinese patent application with application number: 201811399448X, application date: November 22, 2018, and invention name "Method, device and electronic device for processing business orders". Technical Field

[0002] The present application relates to the field of Internet technology, and more specifically to a method, device and electronic device for processing business orders. Background Art

[0003] At present, the data distributed computing and processing platform can effectively realize complex processing and calculation of TB / PB-level data, and transmit it to relational databases (for example, Mysql, Hbase) for query calls through synchronous reflux. Usually, order rewards related to business orders can be collected 24 hours after the business order occurs, but due to the connection cost and feasibility limitations, order rewards related to business orders in certain business scenarios can only be calculated and output through the data distributed computing and processing platform on the second day after the business order is completed, and this method can only guarantee the calculation and output of all data at a certain time point on the second day (for example, 7 o'clock in the morning), resulting in the theoretical availability of order rewards for business orders between zero o'clock on the previous day and the determined time point on the previous day earlier than the actual availability of order rewards, resulting in users being unable to collect them in time, affecting user experience.

[0004] In order to solve the above problem, the current solution is to uniformly set the available time for order rewards for business orders between midnight of the previous day and the determined time point of the previous day to a fixed time point, but this method results in huge pulse requests to the business system, which brings greater processing pressure and system capacity pressure to the business system.

[0005] Therefore, a method for processing business orders is needed to overcome the above technical problems. Summary of the invention

[0006] One of the purposes of this application is to provide a method for processing business orders, which can reduce the processing pressure and capacity pressure of the business system.

[0007] To solve the above technical problems, the embodiments of the present application are implemented as follows:

[0008] In a first aspect, a method for processing a business order is provided, comprising:

[0009] Obtain relevant information of the target business order;

[0010] Based on the relevant information, generating a mapping value corresponding to the target business order;

[0011] Based on the duration corresponding to the remainder of the mapping value modulo the target value and the preset time period, the available time of the order reward related to the target business order is determined, the available time is within the preset time period, and the start time of the preset time period is later than the generation time of the target business order.

[0012] In a second aspect, a business order processing device is provided, comprising:

[0013] An acquisition unit, which acquires relevant information of a target business order;

[0014] A processing unit, based on the relevant information, generates a mapping value corresponding to the target business order;

[0015] The processing unit determines the time when the order reward related to the target business order can be obtained based on the duration corresponding to the remainder of the mapping value modulo the target value and the preset time period, the obtainable time is within the preset time period, and the start time of the preset time period is later than the generation time of the target business order.

[0016] In a third aspect, an electronic device is provided, including:

[0017] Processor; and

[0018] a memory arranged to store computer executable instructions which, when executed, cause the processor to:

[0019] Obtain relevant information of the target business order;

[0020] Based on the relevant information, generating a mapping value corresponding to the target business order;

[0021] Based on the duration corresponding to the remainder of the mapping value modulo the target value and the preset time period, the available time of the order reward related to the target business order is determined, the available time is within the preset time period, and the start time of the preset time period is later than the generation time of the target business order.

[0022] In a fourth aspect, a computer-readable medium is provided, wherein the computer-readable medium stores one or more programs, and when the one or more programs are executed by an electronic device including a plurality of application programs, the electronic device performs the following operations:

[0023] Obtain relevant information of the target business order;

[0024] Based on the relevant information, generating a mapping value corresponding to the target business order;

[0025] Based on the duration corresponding to the remainder of the mapping value modulo the target value and the preset time period, the available time of the order reward related to the target business order is determined, the available time is within the preset time period, and the start time of the preset time period is later than the generation time of the target business order.

[0026] It can be seen from the above technical solution of the present application that the embodiment of the present application generates a mapping value corresponding to the target business order based on the relevant information of the target business order, and determines the available time of the order reward related to the target business order based on the duration corresponding to the remainder of the mapping value modulo the target value and the preset time period. As a result, the available time of the order reward corresponding to different business orders can be discretized into the preset time period, which can reduce the processing pressure and capacity pressure of the business system. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0028] Figure 1 It is a schematic flow chart of a method for processing a business order according to an embodiment of the present application.

[0029] Figure 2 It is a schematic flow chart of a method for processing a business order according to a specific embodiment of the present application.

[0030] Figure 3 It is a schematic structural diagram of an electronic device according to an embodiment of the present application.

[0031] Figure 4 It is a structural diagram of a business order processing device according to an embodiment of the present application. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0033] Figure 1 A method for processing a business order according to an embodiment of the present application is shown. Figure 1 The method can be executed by a business order processing device. Figure 1 As shown, the method includes:

[0034] S102, obtaining relevant information of the target business order.

[0035] It should be noted that the target business order in S102 includes but is not limited to business orders involving money transactions.

[0036] In S102, the relevant information of the target business order includes at least one of a user ID and a business order number corresponding to the target business order. The user ID (User_ID) can uniquely identify a user in the business system.

[0037] S104: Generate a mapping value corresponding to the target business order based on the relevant information.

[0038] It should be noted that, in S104, based on the relevant information, a mapping value corresponding to the target business order is generated. The mapping value corresponding to the target business order may be determined based on the relevant information and a mapping rule, or the mapping value corresponding to the target business order may be obtained by processing the relevant information in a preset processing manner. Regardless of the method used to determine the mapping value, the mapping value obtained based on the relevant information is reproducible.

[0039] As an example, in S104, generating a mapping value corresponding to the target business order based on the relevant information includes: generating the mapping value based on the relevant information and a hash algorithm, or performing a hash operation on the relevant information to map the relevant information into the mapping value.

[0040] For example, assuming that the relevant information includes a user ID, the user ID is 2088302692789001, and the user ID is mapped to a hash value 278903492 through a hash operation. Generating a mapping value corresponding to a business order based on the user ID can make the data consistent over time and improve the user experience.

[0041] The above hash algorithm may be a non-encrypted hash algorithm, such as MurmurHash algorithm, Fowler-Noll-Vo algorithm, SipHash algorithm, etc.

[0042] S106, based on the duration corresponding to the remainder obtained by taking the mapping value modulo the target value and the preset time period, determine the available time for the order reward related to the target business order, the available time is within the preset time period, and the start time of the preset time period is later than the generation time of the target business order.

[0043] It should be noted that in S106 , taking the modulus of the mapped value to the target value can also be expressed as finding the modulus of the mapped value to the target value.

[0044] In S016, the order rewards related to the target business order may include point rewards, energy rewards, etc. The target value in S106 may be a preset value or a value determined according to actual needs.

[0045] In some embodiments, the value in S106 is a value determined according to actual needs. Figure 1 The method shown also includes: determining the target value based on the duration of the preset time period and the preset processing accuracy requirement.

[0046] For example, assuming that the duration of the preset time period is 30 minutes and the preset processing accuracy is "1 second", the target value is determined to be 1800. Or, assuming that the duration of the preset time period is 30 minutes and the preset processing accuracy is "1 minute", the target value is determined to be 30.

[0047] Optionally, in some embodiments, the time when the order reward related to the target business order can be obtained is determined based on the duration corresponding to the remainder of the mapped value modulo the target value and the preset time period, including: determining the first target time as the time when the order reward related to the target business order can be obtained, and the time interval between the first target time and the start time of the preset time period is the duration corresponding to the remainder.

[0048] For example, assume that the time of generation of business order 1 is 06:00:00 on November 20, 2018, and the time of generation of business order 2 is 06:30:00 on November 20, 2018, the preset time period is 07:00:00-07:29:59 on November 21, 2018, and the preset processing accuracy is "1 second". The user ID 1 corresponding to business order 1 is 2088302692789001, and the hash value 1 corresponding to the user ID 1 is 278903492. The user ID 2 corresponding to business order 2 is 2088302697278078, and the hash value corresponding to the user ID 2 is 278902784. The remainder 1 obtained by taking the hash value 1 modulo 1800 is 692, so the duration corresponding to remainder 1 is 692 seconds. The remainder 2 obtained by taking the hash value 2 modulo 1800 is 1784, so the duration corresponding to remainder 2 is 1784 seconds. It can be determined that the time to obtain the order reward related to business order 1 is 07:11:32, that is, 7:11:32 am on November 21, 2018, and the time to obtain the order reward related to business order 2 is 07:29:44, that is, 7:29:44 am on November 21, 2018.

[0049] In this example, applying the hash algorithm to the user ID can ensure that the business orders are discretized according to the user ID, and the data has re-run consistency, so that users can obtain order rewards related to business orders in a fixed time period every day, which improves user experience and helps to cultivate user mentality. The user ID is hashed to obtain a hash value related to the order business, and the specific time of the available time of the order reward related to the order business within the preset time period is determined based on the duration corresponding to the remainder obtained by taking the hash value modulo the target value, so that the available time of the order reward corresponding to the order business of different users is evenly distributed within the preset time period, improving the stability of the business system.

[0050] Optionally, in S104, a mapping value corresponding to the target business order is generated based on the relevant information, including: when the time interval between the generation time of the target business order and the start time of the preset time period is greater than 24 hours, a mapping value corresponding to the business order is generated based on the relevant information.

[0051] For example, assuming that a business order is generated at 06:30:30 on November 20, 2018, and the preset time period is 07:00:00-08:00:00 on November 21, 2018, it is necessary to generate a mapping value corresponding to the business order based on the relevant information of the business order. Then, based on the duration corresponding to the remainder obtained by taking the mapping value modulo the target value and the preset time period, determine the time when the order reward related to the business order can be obtained.

[0052] Further, Figure 1 The method shown also includes: obtaining a full amount of business orders, the full amount of business orders including the target business orders and other business orders, the generation time of the other business orders being earlier than the start time of the preset time period, and the time interval between the generation time of the other business orders and the start time of the preset time period being less than 24 hours; determining a second target time as the obtainable time of the order reward corresponding to the other business orders, and the time interval between the second target time and the generation time of the other business orders being 24 hours.

[0053] In other words, if the time interval between the generation time of a business order and the start time of the preset time period is less than 24 hours, the time obtained by adding 1 day to the generation time of the business order is determined as the available time for the order reward related to the business order.

[0054] For example, assuming that a business order is generated at 08:30:30 on November 20, 2018, and the preset time period is 07:00:00-08:00:00 on November 21, 2018, and the time interval between the generation time of the business order and the start time of the preset time period is less than 24 hours, then the time at which the order reward related to the business order can be obtained is determined to be 08:30:30 on November 21, 2018.

[0055] Figure 2 It is a flowchart of a method for processing a business order according to a specific embodiment of the present application. Figure 2 The method shown can be executed by a business order processing device. Figure 2 As shown, Figure 2 The methods shown include:

[0056] S202, obtaining all business orders.

[0057] S204, determining whether the business orders in the total business orders are business orders generated before 7 o'clock.

[0058] S206, performing a hash operation on the user ID corresponding to the business order generated before 7 o'clock to obtain a hash value corresponding to the user ID, and performing a modulus operation on the hash value by 1800 to obtain a remainder.

[0059] For example, a hash operation is performed on the user identification using a non-encryption algorithm, where the non-encryption algorithm may be, for example, a MurmurHash algorithm, a Fowler-Noll-Vo algorithm, a SipHash algorithm, or the like.

[0060] Here, taking the hash value modulo 1800 means that the processing accuracy is "1 second" and the preset time period is 30 minutes. In this case, if the processing accuracy is "1 minute", the hash value is taken modulo 30.

[0061] S206, for a business order generated at a time later than or equal to 7 o'clock, the time at which the order reward related to the business order can be obtained is determined by adding 1 day to the generation time.

[0062] S208, for business orders generated before 7 o'clock, the time when the order reward related to the business order can be obtained is determined by adding the duration corresponding to the remainder and the seconds at 7 o'clock + 1 day.

[0063] In S208, the starting time of the preset time period is 7 o'clock of the next day, and the duration corresponding to the remainder plus the number of seconds at 7 o'clock + 1 day can also be understood as determining the time when the time interval between 7 o'clock of the next day and the number of seconds corresponding to the remainder is determined as the time when the order reward related to the business order can be obtained.

[0064] S210, obtaining the available time of order rewards related to all business orders.

[0065] Through the method of Example 2, the available time of order rewards related to business orders generated between 00:00:00-06:59:59 in one day can be discretized to between 07:00:00-07:29:59 of the next day, so that users can obtain order rewards related to business orders in a fixed time period on the second day after the business order is generated, thereby improving user experience and cultivating user mentality. In addition, by evenly bucketing the hash values, it is ensured that the order rewards related to the orders are evenly distributed in the specified interval, thereby improving the stability of the business system.

[0066] The following will be combined Figure 3 An electronic device according to an embodiment of the present application is described in detail. Figure 3 At the hardware level, the electronic device includes a processor, and optionally, an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include other hardware required for the service.

[0067] The processor, network interface and memory can be interconnected through an internal bus, which can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0068] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0069] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a processing device for business orders at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:

[0070] Obtain relevant information of the target business order;

[0071] Based on the relevant information, generating a mapping value corresponding to the target business order;

[0072] Based on the duration corresponding to the remainder obtained by taking the mapping value modulo the target value and the preset time period, the available time for the order reward related to the target business order is determined, the available time is within the preset time period, and the start time of the preset time period is later than the generation time of the target business order.

[0073] The above application Figure 1 The method performed by the processing device of the business order disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0074] The electronic device may also perform Figure 2 Method and implement a processing device for business orders Figure 2 The functions of the illustrated embodiment will not be described in detail in the embodiments of the present application.

[0075] Of course, in addition to software implementation methods, the electronic device of the present application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0076] The present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to execute Figure 1 The method of the embodiment shown is specifically used to perform the following method:

[0077] Obtain relevant information of the target business order;

[0078] Based on the relevant information, generating a mapping value corresponding to the target business order;

[0079] Based on the duration corresponding to the remainder obtained by taking the mapping value modulo the target value and the preset time period, the available time for the order reward related to the target business order is determined, the available time is within the preset time period, and the start time of the preset time period is later than the generation time of the target business order.

[0080] Figure 4 This is a schematic diagram of the structure of a business order processing device of an embodiment of the present application. Figure 4 In a software implementation, the service order processing device 400 may include: an acquisition unit 41 and a processing unit 42, wherein:

[0081] An acquisition unit 41 acquires relevant information of a target business order;

[0082] The processing unit 42 generates a mapping value corresponding to the target business order based on the relevant information;

[0083] The processing unit 42 determines the available time of the order reward related to the target business order based on the duration corresponding to the remainder of the mapping value modulo the target value and the preset time period, the available time is within the preset time period, and the start time of the preset time period is later than the generation time of the target business order.

[0084] According to the business order processing device of the embodiment of the present application, a mapping value corresponding to the target business order is generated based on the relevant information of the target business order, and the available time of the order reward related to the target business order is determined based on the duration corresponding to the remainder of the mapping value modulo the target value and the preset time period. As a result, the available time of the order reward corresponding to different business orders can be discretized into the preset time period, which can reduce the processing pressure and capacity pressure of the business system.

[0085] Optionally, as an embodiment, the processing unit 42:

[0086] The mapping value is generated based on the relevant information and a hash algorithm.

[0087] Optionally, as an embodiment, the hash algorithm is a non-encrypted hash algorithm.

[0088] Optionally, as an embodiment, the processing unit 42:

[0089] The target value is determined based on the duration of the preset time period and the preset processing accuracy requirement.

[0090] Optionally, as an embodiment, the relevant information includes at least one of a user identifier and a service order number corresponding to the target service order.

[0091] Optionally, as an embodiment, the processing unit 42:

[0092] The first target moment is determined as the moment at which the order reward related to the target business order can be obtained, and the time interval between the first target moment and the start moment of the preset time period is the duration corresponding to the remainder.

[0093] Optionally, as an embodiment, the processing unit 42:

[0094] In the case that the time interval between the generation time of the target business order and the start time of the preset time period is greater than 24 hours, a mapping value corresponding to the business order is generated based on the relevant information.

[0095] Optionally, as an embodiment, the acquiring unit 41: acquires a full amount of business orders, the full amount of business orders including the target business order and other business orders, the generation time of the other business orders is earlier than the start time of the preset time period, and the time interval between the generation time of the other business orders and the start time of the preset time period is less than 24 hours;

[0096] Processing unit 42: Determine the second target time as the time at which the order reward corresponding to the other business order can be obtained, and the time interval between the second target time and the generation time of the other business order is 24 hours.

[0097] The service order processing device of the embodiment of the present application can also execute Figure 1 and Figure 2 A method for executing a business order processing device in the Figure 1 and Figure 2 The functions of the illustrated embodiment will not be described in detail here.

[0098] In short, the above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

[0099] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0100] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0101] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0102] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

Claims

1. A method for processing a business order, comprising: Obtain relevant information of the target business order; Based on the relevant information, generating a mapping value corresponding to the target business order; Based on the duration corresponding to the remainder obtained by taking the mapping value modulo the target value and the preset time period, determine the available time for the order reward related to the target business order, the available time is within the preset time period, and the start time of the preset time period is later than the generation time of the target business order; wherein, The generating of the mapping value corresponding to the target business order includes: generating the mapping value corresponding to the target business order based on the relevant information when the time interval between the generation time of the target business order and the start time of the preset time period is greater than a preset time length; The time when the order reward related to the target business order can be obtained is determined based on the duration corresponding to the remainder obtained by taking the mapping value modulo the target value and the preset time period, including: determining a first target time as the time when the order reward related to the target business order can be obtained, and the time interval between the first target time and the start time of the preset time period is the duration corresponding to the remainder.

2. The method according to claim 1, wherein generating a mapping value corresponding to the target business order based on the relevant information comprises: The mapping value is generated based on the relevant information and a hash algorithm.

3. According to the method of claim 2, the hash algorithm is a non-encrypted hash algorithm.

4. The method according to any one of claims 1 to 3, further comprising: The target value is determined based on the duration of the preset time period and the preset processing accuracy requirement.

5. The method according to any one of claims 1 to 3, wherein the relevant information comprises at least one of a user identifier and a service order number corresponding to the target service order. The method according to claim 1 , wherein the preset duration is 24 hours.

7. The method according to claim 6, further comprising: Acquire a full amount of business orders, where the full amount of business orders includes the target business order and other business orders, where the generation time of the other business orders is earlier than the start time of the preset time period, and the time interval between the generation time of the other business orders and the start time of the preset time period is less than 24 hours; The second target time is determined as the time at which the order reward corresponding to the other business order can be obtained, and the time interval between the second target time and the generation time of the other business order is 24 hours.

8. A business order processing device, comprising: An acquisition unit, which acquires relevant information of a target business order; A processing unit, based on the relevant information, generates a mapping value corresponding to the target business order; The processing unit determines, based on the duration corresponding to the remainder of the mapping value modulo the target value and the preset time period, the available time for the order reward related to the target business order, wherein the available time is within the preset time period, and the start time of the preset time period is later than the generation time of the target business order; wherein, the processing unit generates the mapping value corresponding to the target business order, specifically including: when the time interval between the generation time of the target business order and the start time of the preset time period is greater than the preset duration, generating the mapping value corresponding to the target business order based on the relevant information; the processing unit determines, based on the duration corresponding to the remainder of the mapping value modulo the target value and the preset time period, the available time for the order reward related to the target business order, specifically including: determining a first target time as the available time for the order reward related to the target business order, and the time interval between the first target time and the start time of the preset time period is the duration corresponding to the remainder.

9. An electronic device, comprising: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: Obtain relevant information of the target business order; Based on the relevant information, generating a mapping value corresponding to the target business order; Based on the duration corresponding to the remainder of the mapping value modulo the target value and the preset time period, determine the available time of the order reward related to the target business order, the available time is within the preset time period, and the start time of the preset time period is later than the generation time of the target business order; wherein, The generating of the mapping value corresponding to the target business order includes: generating the mapping value corresponding to the target business order based on the relevant information when the time interval between the generation time of the target business order and the start time of the preset time period is greater than a preset time length; The time when the order reward related to the target business order can be obtained is determined based on the duration corresponding to the remainder obtained by taking the mapping value modulo the target value and the preset time period, including: determining a first target time as the time when the order reward related to the target business order can be obtained, and the time interval between the first target time and the start time of the preset time period is the duration corresponding to the remainder.

10. A computer-readable medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, causes the electronic device to perform the following operations: Obtain relevant information of the target business order; Based on the relevant information, generating a mapping value corresponding to the target business order; Based on the duration corresponding to the remainder of the mapping value modulo the target value and the preset time period, determine the available time of the order reward related to the target business order, the available time is within the preset time period, and the start time of the preset time period is later than the generation time of the target business order; wherein, The generating of the mapping value corresponding to the target business order includes: generating the mapping value corresponding to the target business order based on the relevant information when the time interval between the generation time of the target business order and the start time of the preset time period is greater than a preset time length; The time when the order reward related to the target business order can be obtained is determined based on the duration corresponding to the remainder obtained by taking the mapping value modulo the target value and the preset time period, including: determining a first target time as the time when the order reward related to the target business order can be obtained, and the time interval between the first target time and the start time of the preset time period is the duration corresponding to the remainder.

Citation Information

Patent Citations

  • Method and device for controlling load of radio network controller (RNC)

    CN103209438A

  • Timing message processing method and message management server

    CN108600077A