CN110148044B - Method and device for setting buffering threshold for accounting - Google Patents

Method and device for setting buffering threshold for accounting Download PDF

Info

Publication number
CN110148044B
CN110148044B CN201910257113.2A CN201910257113A CN110148044B CN 110148044 B CN110148044 B CN 110148044B CN 201910257113 A CN201910257113 A CN 201910257113A CN 110148044 B CN110148044 B CN 110148044B
Authority
CN
China
Prior art keywords
period
threshold value
threshold
sampling
buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910257113.2A
Other languages
Chinese (zh)
Other versions
CN110148044A (en
Inventor
朱东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201910257113.2A priority Critical patent/CN110148044B/en
Publication of CN110148044A publication Critical patent/CN110148044A/en
Application granted granted Critical
Publication of CN110148044B publication Critical patent/CN110148044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present specification provides a method and an apparatus for setting a buffering threshold for accounting, wherein a combination of factors affecting a buffering threshold is predefined, and when a factor similarity between a calculated period to be set and a calculated historical period is higher than a preset threshold, a target threshold of the period to be set is calculated according to the buffering threshold of the historical period.

Description

Method and device for setting buffering threshold for accounting
Technical Field
The present disclosure relates to the internet field, and in particular, to a method and an apparatus for setting a buffer threshold for billing.
Background
In the process of processing accounting for a financial account, either transferring funds out of the account or transferring funds into the account requires accounting. The accounting processing process mainly comprises two parts, namely transaction detail recording and balance updating. Common billing methods include buffered billing and real-time billing.
The buffering accounting refers to accumulating transaction details in the accounting request, and then updating the balance (for example, updating the balance once per minute) according to the accumulated transaction details in a uniform time period. And the real-time accounting refers to accounting processing of the accounting request in real time.
The accounting service for transferring funds from one account belongs to a fund flow-out type accounting service, and the corresponding account can also be called a flow-out type account. Currently, for the fund flow-out service, a billing mode switching threshold value needs to be set. Specifically, when the balance of the account is greater than the threshold, it is indicated that the balance of the account is sufficient, and a buffered accounting mode may be selected for accounting, and when the balance is less than the threshold, it is indicated that the balance is at risk of overdraft, and a real-time accounting mode needs to be selected for accounting. However, a threshold setting that is too high may result in some outbound billing services failing in real time, and a threshold setting that is too low may risk an outbound account being overdrawn.
Disclosure of Invention
To solve the above technical problems, embodiments of the present specification provide a method and an apparatus for setting a buffering threshold for accounting, where a technical scheme is as follows:
according to a first aspect of embodiments herein, there is provided a buffering threshold setting method for accounting, the method including:
determining at least one buffer threshold value influence factor of a period to be set from the factor set, wherein the buffer threshold value is the lowest critical value for enabling the buffer accounting mode to take effect, and the buffer threshold value influence factor is a predefined business element influencing the buffer threshold value;
determining a buffer threshold value influence factor of at least one historical period, and calculating the buffer threshold value influence factor of the historical period by using a preset algorithm, wherein the factor similarity of the buffer threshold value influence factor of the historical period and the buffer threshold value influence factor of the period to be set is similar to that of the period to be set;
and if the factor similarity is higher than a preset threshold, determining the corresponding historical period as a sampling period, and determining target thresholds of different time points of the period to be set according to buffer thresholds of different time points of the sampling period.
According to a second aspect of embodiments herein, there is provided a buffering threshold setting apparatus for accounting, the apparatus including:
the first factor determining module is used for determining at least one buffering threshold value influence factor of a period to be set from the factor set, wherein the buffering threshold value is the lowest critical value for enabling the buffering accounting mode to take effect, and the buffering threshold value influence factor is a service element which is defined in advance and influences the buffering threshold value;
the second factor determining module is used for determining the buffer threshold value influence factor of at least one historical period, and calculating the buffer threshold value influence factor of the historical period by using a preset algorithm and the factor similarity of the buffer threshold value influence factor of the period to be set;
and the buffer threshold setting module is used for determining the corresponding historical period as a sampling period if the factor similarity is higher than a preset threshold, and determining target thresholds of different time points of the period to be set according to the buffer thresholds of different time points of the sampling period.
According to a third aspect of embodiments herein, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements a buffering threshold setting method for accounting, the method comprising:
determining at least one buffering threshold value influence factor of a period to be set from the factor set, wherein the buffering threshold value is the lowest critical value for enabling the buffering accounting mode to take effect, and the buffering threshold value influence factor is a service element which is defined in advance and influences the buffering threshold value;
determining a buffer threshold value influence factor of at least one historical period, and calculating the buffer threshold value influence factor of the historical period by using a preset algorithm, wherein the factor similarity of the buffer threshold value influence factor of the historical period and the buffer threshold value influence factor of the period to be set is higher than the factor similarity of the buffer threshold value influence factor of the period to be set;
and if the factor similarity is higher than a preset threshold, determining the corresponding historical period as a sampling period, and determining target thresholds of different time points of the period to be set according to buffer thresholds of different time points of the sampling period.
According to the technical scheme provided by the embodiment of the specification, the factor combination influencing the buffering threshold value is predefined, and when the calculated factor similarity between the period to be set and the historical period is higher than the preset threshold value, the target threshold value of the period to be set is calculated according to the buffering threshold value of the historical period.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the invention.
In addition, any one of the embodiments in the present specification does not necessarily achieve all the effects described above.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a flowchart illustrating a buffering threshold setting method for accounting according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart of a method of determining a target threshold curve as illustrated in an exemplary embodiment of the present description;
FIG. 3 is a schematic illustration of a baseline threshold curve shown in an exemplary embodiment of the present description;
FIG. 4 is a schematic diagram of a target threshold curve shown in an exemplary embodiment of the present description;
fig. 5 is a schematic diagram of a buffering threshold setting device for accounting according to an exemplary embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a target threshold curve determining device shown in an exemplary embodiment of the present description;
fig. 7 is a schematic structural diagram of a computer device according to an exemplary embodiment of the present specification.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the specification, as detailed in the claims that follow.
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present specification. The word "if," as used herein, may be interpreted as "at \8230; \8230when" or "when 8230; \823030when" or "in response to a determination," depending on the context.
In processing accounts for a financial account, either transferring funds out of the account or transferring funds into the account requires accounting. The accounting processing process mainly comprises two parts, namely recording transaction details and updating balance. Common billing methods include buffered billing and real-time billing.
The buffering accounting refers to accumulating the transaction details in the accounting request, and then uniformly updating the balance according to the accumulated transaction details in a fixed time. And the real-time accounting refers to accounting processing of the accounting request in real time.
The accounting service for transferring funds from one account belongs to a fund flow-out type accounting service, and the corresponding account can also be called a flow-out type account. Currently, for the fund flow-out service, a billing mode switching threshold value needs to be set. Specifically, when the balance of the account is greater than the threshold, it is indicated that the balance of the account is sufficient, and a buffered accounting mode may be selected for accounting, and when the balance is less than the threshold, it is indicated that the balance is at risk of overdraft, and a real-time accounting mode needs to be selected for accounting. However, a threshold setting that is too high may result in some outbound billing services failing in real time, and a threshold setting that is too low may risk an outbound account being overdrawn.
In view of the above problems, embodiments of the present specification provide a method for setting a buffering threshold for accounting, and a device for setting a buffering threshold for accounting, which is used for executing the method.
The following is a detailed description of the buffering threshold setting method for accounting according to this embodiment, and referring to fig. 1, the method may include the following steps:
s101, determining at least one buffer threshold influence factor of a period to be set from a factor set;
the buffering threshold value is the lowest critical value for enabling the buffering accounting mode to take effect, when the balance of the hotspot account is larger than the buffering threshold value, the account balance is sufficient, the buffering accounting mode can be selected for accounting, and when the balance is smaller than the buffering threshold value, the balance is at risk of being overdrawn, and the real-time accounting mode needs to be selected for accounting.
The buffer threshold impact factor is a predefined traffic element that affects the buffer threshold. The factor set may be a set of elements of multiple dimensions, and these elements affecting the buffer threshold may also be referred to as buffer threshold impact factors, and a user may set a required buffer threshold impact factor in the factor set according to different application scenarios. The following illustrates factors and possible dimensions and buffer threshold impact factors that the corresponding dimensions have:
basic factor dimension: the basic elements influencing the threshold analysis in the common accounting system are mainly summarized and collected, and the basic elements mainly comprise the accounting date end balance of an account, and the amount of funds flowing in, the amount of money flowing out and the like in unit time.
The periodicity factor dimension: the method mainly covers the elements of common statistical period dimensions, such as expressing data by time, day, week, month and the like.
Scene factor dimension: the set of business elements that affect the threshold change of an account, such as whether there is a repayment date, whether there is a marketing campaign, overdue rate, etc., is mainly covered.
Guest group factor dimension: the factor of the participant influencing the threshold value change of a certain account is mainly covered, and the type of the participant is mainly expressed, such as a guest group is an individual, an enterprise, a same industry and the like. In the process of carrying out concrete analysis, the actual system business scene can be combined to carry out finer-grained division, for example, an enterprise customer group can be divided into industry information engaged in by the enterprise, and the like.
The factor set is a set of predefined buffer threshold influence factors, and in practical application, a plurality of buffer threshold influence factors of each dimension influencing fund change of an account in a certain period need to be analyzed, and an acceptable account buffer threshold in a unit period to be set is determined according to the buffer threshold.
Wherein, the predefined factor combination of different dimensions can be expressed as follows:
selecting a basic factor set f1= { a1, a2, a3, a4}, wherein the basic factor set f1= { fund inflow stroke number, fund inflow amount, fund outflow stroke number, fund outflow amount };
selecting a period factor set f2= { t1, t2, t3}, which means that the period factor set f2= { timekeeping, day counting, week counting };
selecting a scene factor set f3= { s1, s2}, which means that the scene factor set f3= { repayment date, marketing activity };
the guest group factor set f4= { p1, p2, p3}, which means that the guest group factor set f4= { personal, business, industry }.
And analyzing based on the service scene of the period to be set, and selecting a buffering threshold influence factor set of the period to be set from the factor sets of the dimensions, wherein if the buffering threshold influence factor set F = { s1, t1, a1, a2, a4, p3} of the period to be set is selected, the set F represents that the buffering threshold influence factor set F = { repayment date, timekeeping, number of funds inflowing strokes, amount of funds inflowing, amount of funds outflowing amount, same industry }, of the period to be set.
S102, determining a buffer threshold influence factor of at least one history period;
determining a buffer threshold impact factor for the historical period from the existing historical transaction data. To get more samples, multiple history periods may be extracted and the buffer threshold impact factors for these history periods may be obtained separately.
In general, the period length of the history period and the period to be set should be consistent, for example, if the period to be set is the first week of the next month, the history period may be selected as the first week of at least one history month, or the history period may be selected as the previous weeks of the period to be set, etc.
S103, calculating the buffer threshold value influence factor of the historical period by using a preset algorithm, and calculating the factor similarity of the buffer threshold value influence factor of the historical period and the buffer threshold value influence factor of the period to be set;
and calculating factor similarity, namely determining the factor similarity of the historical period and the period to be set, and if the condition factors in the factor combination range influencing the threshold value are similar or similar in the historical period and the period to be set, obtaining a reasonable target threshold value set of the period to be set according to the existing buffer threshold value of the historical period.
For example, the factor similarity may be calculated from different dimensions, taking the dimension as a service scene as an example, the scene factors of the historical period are combined into { no marketing activity, no customer repayment date, and 0.12 of the historical period, the scene factors of the period to be set are combined into { no marketing activity, no customer repayment date, and 0.11 of the historical period }, and the comparison result of the two is that no marketing activity exists in the period, no customer repayment date exists in the period, and the historical period is similar, and it can be known from the comparison result that the factor similarity in the dimension of the customer base is higher in the two periods.
S104, determine whether the factor similarity is higher than a preset threshold? If the factor similarity is higher than the preset threshold, executing step S105, and if the factor similarity is not higher than the preset threshold, not operating;
and S105, determining the corresponding historical period as a sampling period, and determining target thresholds of different time points of the period to be set according to the buffer thresholds of different time points of the sampling period.
If the factor similarity between the historical period and the period to be set is higher than the preset threshold, the historical period can be used as a sampling period for predicting a target threshold of the period to be set, and then the target thresholds of different time points of the period to be set are determined according to the buffer thresholds of the different time points of the sampling period. And if the factor similarity between the historical period and the period to be set is not higher than a preset threshold, indicating that the historical period cannot be used as a sampling period for predicting a target threshold of the period to be set, and discarding the historical period.
Further, the buffer threshold data of different time points of the sampling period can be determined according to the inflow amount and the outflow amount of the sampling period at each time point in the account historical transaction data, the optimal buffer threshold to be set at each time point of the sampling period is determined according to the actual service amount, and the optimal buffer threshold is determined as the sampling threshold used for predicting the period threshold to be set.
After the corresponding history period is determined as the sampling period, referring to fig. 2, the specific steps of determining the target threshold values at different time points of the period to be set according to the buffer threshold values at different time points of the sampling period are as follows:
s201, generating a corresponding sampling threshold curve according to the buffer thresholds at different time points of the sampling period;
s202, extracting discrete points of the wave crest and the wave trough of the sampling threshold curve, and connecting the discrete points to obtain a reference threshold curve.
S203, carrying out deviation calculation on the reference threshold value curve according to a predefined reference deviation amount, and determining a target threshold value curve corresponding to the period to be set according to the calculation result, wherein the target threshold value curve comprises a set of target threshold values at different time points of the period to be set.
The curves in this embodiment can be seen in particular in fig. 3 and 4.
Fig. 3 includes a corresponding sampling threshold curve L1 generated according to the buffer thresholds at different time points in the sampling period, and a reference threshold curve L1' obtained by connecting discrete points after extracting the discrete points of the peak and the trough of the sampling threshold curve.
Since the sampling threshold values at a plurality of time points of the sampling period (history period) can be directly derived from the known inflow/outflow amount of the history transaction data for the period, the corresponding sampling threshold value curve L1 can be directly generated from the acquired plurality of sampling threshold values. After a sampling threshold curve is determined, discrete points of the wave crest and the wave trough of the sampling threshold curve are taken, and then the discrete points are connected to obtain a reference threshold curve describing the basic trend of the sampling threshold curve.
As shown in fig. 4, fig. 4 includes the reference threshold value curve L1 'obtained as described above and the target threshold value curve L2 obtained by performing offset calculation on the reference threshold value curve L1'. The offset calculation usually needs to introduce an offset amount, and the offset amount is introduced to obtain a more accurate target threshold curve of the period to be set. The offset calculation can generally be set to offset the target threshold curve upward to leave some margin to avoid the risk of an account being overdrawn. By way of example: the threshold value set of different time points in the reference threshold value curve L1' is [10,20 ], the offset is calculated to be adjusted up by 10%, and after the offset calculation, the calculation results [11,22 ] are the target threshold value set.
Further, after the period to be set is ended, the reference offset may be corrected according to the actual service data of the period to be set.
Further, a plurality of historical periods with factor similarity higher than a preset threshold with the period to be set can be determined as sampling periods, and the target threshold of the period to be set can be predicted according to the plurality of sampling periods.
Specifically, after a plurality of different sampling periods are determined, the buffer threshold values at the same time interval point are extracted in different sampling periods, the maximum buffer threshold value at each time point is determined as the sampling threshold value, and a sampling threshold value curve is generated according to each sampling threshold value.
For example, the following steps are carried out: determining two history periods with similarity higher than a preset threshold value with a period factor to be set as a sampling period, determining that each set of buffer threshold points of the two sampling periods is s1= {100,50,112,30}, and s2= {90,48,120,28}, respectively, according to a sampling threshold curve, taking the maximum value of the buffer threshold values of the same time point in the two sets, namely, taking 100 in s1, 50 in s1, 120 in s2, and 30 in s1 as sampling thresholds, respectively, and performing offset calculation on the sampling threshold of each point to obtain a final target threshold value of the period to be set, taking 0.1 as an example in the case of an offset amount, and taking s3= {110,55,132,33}, respectively.
Corresponding to the above method embodiment, this specification embodiment further provides a buffer threshold setting device for accounting, and referring to fig. 5, the device may include: a first factor determination module 510, a second factor determination module 520 and a buffer threshold setting module 530;
a first factor determining module 510, configured to determine at least one buffering threshold impact factor of a period to be set from a factor set, where the buffering threshold is a lowest critical value enabling the buffering accounting mode to be effective, and the buffering threshold impact factor is a predefined service element that affects the buffering threshold;
the second factor determining module 520 is configured to determine a buffer threshold impact factor of at least one history period, and calculate the buffer threshold impact factor of the history period by using a preset algorithm, and factor similarity between the buffer threshold impact factor of the history period and the buffer threshold impact factor of the period to be set;
and a buffer threshold setting module 530, configured to determine the corresponding history period as a sampling period if the factor similarity is higher than a preset threshold, and determine target thresholds at different time points of the period to be set according to buffer thresholds at different time points of the sampling period.
Referring to fig. 6, in one embodiment of the present specification, the buffer threshold setting module further includes:
the sampling curve generation module 610: the sampling threshold curve is used for generating corresponding sampling threshold curves according to the buffer thresholds of different time points of the sampling period;
the reference curve generation module 620: and the discrete points are used for extracting the peaks and the valleys of the sampling threshold curve and are connected to obtain a reference threshold curve.
Target threshold calculation module 630: the device is used for carrying out offset calculation on the reference threshold value curve according to a predefined reference offset amount, and determining a target threshold value curve corresponding to a period to be set according to a calculation result, wherein the target threshold value curve comprises a set of target threshold values of different time points of the period to be set.
Embodiments of the present specification also provide a computer device, which at least includes a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the aforementioned buffering threshold setting method for accounting, and the method at least includes:
determining at least one buffer threshold value influence factor of a period to be set from the factor set, wherein the buffer threshold value is the lowest critical value for enabling the buffer accounting mode to take effect, and the buffer threshold value influence factor is a predefined business element influencing the buffer threshold value;
determining a buffer threshold value influence factor of at least one historical period, and calculating the buffer threshold value influence factor of the historical period by using a preset algorithm, wherein the factor similarity of the buffer threshold value influence factor of the historical period and the buffer threshold value influence factor of the period to be set is similar to that of the period to be set;
and if the factor similarity is higher than a preset threshold, determining the corresponding historical period as a sampling period, and determining target thresholds of different time points of the period to be set according to buffer thresholds of different time points of the sampling period.
Fig. 7 is a schematic diagram illustrating a more specific hardware structure of a computing device according to an embodiment of the present disclosure, where the computing device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present device and other devices. The communication module can realize communication in a wired mode (for example, USB, network cable, etc.), and can also realize communication in a wireless mode (for example, mobile network, WIFI, bluetooth, etc.).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The embodiments of the present specification further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the foregoing buffering threshold setting method for accounting, where the method at least includes:
determining at least one buffering threshold value influence factor of a period to be set from the factor set, wherein the buffering threshold value is the lowest critical value for enabling the buffering accounting mode to take effect, and the buffering threshold value influence factor is a service element which is defined in advance and influences the buffering threshold value;
determining a buffer threshold value influence factor of at least one historical period, and calculating the buffer threshold value influence factor of the historical period by using a preset algorithm, wherein the factor similarity of the buffer threshold value influence factor of the historical period and the buffer threshold value influence factor of the period to be set is similar to that of the period to be set;
and if the factor similarity is higher than a preset threshold, determining the corresponding historical period as a sampling period, and determining target thresholds of different time points of the period to be set according to buffer thresholds of different time points of the sampling period.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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 disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
For the device embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in the present specification. One of ordinary skill in the art can understand and implement it without inventive effort.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, apparatuses, modules or units described in the above embodiments may be specifically implemented by a computer chip or an entity, or implemented by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The foregoing is only a specific embodiment of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present disclosure.

Claims (11)

1. A method of buffering threshold settings for billing, the method comprising:
determining at least one buffering threshold value influence factor of a period to be set from the factor set, wherein the buffering threshold value is the lowest critical value for enabling the buffering accounting mode to take effect, and the buffering threshold value influence factor is a service element which is defined in advance and influences the buffering threshold value;
determining a buffer threshold value influence factor of at least one historical period, and calculating the buffer threshold value influence factor of the historical period by using a preset algorithm, wherein the factor similarity of the buffer threshold value influence factor of the historical period and the buffer threshold value influence factor of the period to be set is similar to that of the period to be set;
and if the factor similarity is higher than a preset threshold, determining the corresponding historical period as a sampling period, and determining target thresholds of different time points of the period to be set according to buffer thresholds of different time points of the sampling period.
2. The method of claim 1, wherein the determining the target threshold values at different time points of the period to be set according to the buffer threshold values at different time points of the sampling period comprises:
generating a reference threshold curve for a period to be set according to buffer thresholds of different time points of a sampling period;
and carrying out offset calculation on the reference threshold value curve according to a predefined reference offset, and determining a target threshold value curve corresponding to the period to be set according to the calculation result, wherein the target threshold value curve comprises a set of target threshold values of different time points of the period to be set.
3. The method of claim 2, wherein the determining the reference threshold for the period to be set according to the buffer thresholds at different time points of the sampling period comprises:
generating a corresponding sampling threshold curve according to the buffer thresholds of different time points of the sampling period;
and extracting discrete points of the wave crest and the wave trough of the sampling threshold curve, and connecting the discrete points to obtain a reference threshold curve.
4. The method of claim 3, wherein generating corresponding sampling threshold curves according to the buffer thresholds at different time points of the sampling period comprises:
in different sampling periods, extracting the buffer threshold values of the same time interval point, determining the maximum buffer threshold value of each time point as a sampling threshold value, and generating a sampling threshold value curve according to each sampling threshold value.
5. The method according to claim 2, after determining the target threshold curve corresponding to the period to be set according to the calculation result, further comprising:
and correcting the reference offset according to the actual service data of the period to be set.
6. A buffering threshold setting device for billing, the device comprising:
the first factor determining module is used for determining at least one buffering threshold value influence factor of a period to be set from the factor combination, wherein the buffering threshold value is the lowest critical value for enabling the buffering accounting mode to take effect, and the buffering threshold value influence factor is a predefined service element influencing the buffering threshold value;
the second factor determining module is used for determining the buffer threshold value influence factor of at least one historical period, and calculating the buffer threshold value influence factor of the historical period by using a preset algorithm and the factor similarity of the buffer threshold value influence factor of the period to be set;
and the buffer threshold setting module is used for determining the corresponding historical period as a sampling period if the factor similarity is higher than a preset threshold, and determining target thresholds of different time points of the period to be set according to the buffer thresholds of different time points of the sampling period.
7. The apparatus of claim 6, the buffer threshold setting module, further comprising:
a reference curve generation module: the device comprises a buffer threshold value generating module, a sampling module and a control module, wherein the buffer threshold value generating module is used for generating a reference threshold value curve for a period to be set according to buffer threshold values of different time points of a sampling period;
a target threshold calculation module: the device is used for carrying out deviation calculation on the reference threshold value curve according to a predefined reference deviation amount, and determining a target threshold value curve corresponding to the period to be set according to the calculation result, wherein the target threshold value curve comprises a set of target threshold values at different time points of the period to be set.
8. The apparatus of claim 7, the reference curve generation module, further comprising:
a sampling curve generation module: generating a corresponding sampling threshold curve according to the buffer thresholds of different time points of the sampling period;
a reference curve generation module: and extracting discrete points of the wave crest and the wave trough of the sampling threshold curve, and connecting the discrete points to obtain a reference threshold curve.
9. The apparatus of claim 8, the generating of the corresponding sampling threshold curve according to the buffer threshold at different time points of the sampling period, comprising:
in different sampling periods, extracting the buffer threshold values of the same time interval point, determining the maximum buffer threshold value of each time point as a sampling threshold value, and generating a sampling threshold value curve according to each sampling threshold value.
10. The apparatus of claim 6, after determining the target threshold curve corresponding to the period to be set according to the calculation result, further comprising:
and correcting the reference offset according to the actual service data of the period to be set.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of claim 1 when executing the program.
CN201910257113.2A 2019-04-01 2019-04-01 Method and device for setting buffering threshold for accounting Active CN110148044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910257113.2A CN110148044B (en) 2019-04-01 2019-04-01 Method and device for setting buffering threshold for accounting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910257113.2A CN110148044B (en) 2019-04-01 2019-04-01 Method and device for setting buffering threshold for accounting

Publications (2)

Publication Number Publication Date
CN110148044A CN110148044A (en) 2019-08-20
CN110148044B true CN110148044B (en) 2023-01-20

Family

ID=67589429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910257113.2A Active CN110148044B (en) 2019-04-01 2019-04-01 Method and device for setting buffering threshold for accounting

Country Status (1)

Country Link
CN (1) CN110148044B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333526B (en) * 2020-10-26 2022-08-16 浙江大华技术股份有限公司 Video buffer adjustment method and device, storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109034990A (en) * 2018-08-31 2018-12-18 阿里巴巴集团控股有限公司 Bookkeeping methods, device and electronic equipment
CN109146148A (en) * 2018-07-27 2019-01-04 阿里巴巴集团控股有限公司 A kind of determination method and device of remaining sum prediction deviation reason

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10255636B2 (en) * 2013-08-01 2019-04-09 Chicago Mercantile Exchange Inc. PCA-based portfolio margining

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109146148A (en) * 2018-07-27 2019-01-04 阿里巴巴集团控股有限公司 A kind of determination method and device of remaining sum prediction deviation reason
CN109034990A (en) * 2018-08-31 2018-12-18 阿里巴巴集团控股有限公司 Bookkeeping methods, device and electronic equipment

Also Published As

Publication number Publication date
CN110148044A (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN109102151B (en) Suspicious group identification method and device
CN110163612B (en) Payment wind control method and device
TW202008237A (en) Method and device for training prediction model for new scenario
CN108711047B (en) Automatic repayment method, system and terminal equipment
CN109146148B (en) Method and device for determining reason of balance prediction deviation
CN109509020B (en) Coupon amount checking method and device
CN109428910B (en) Data processing method, device and system
CN109034493A (en) A kind of account balance prediction technique and device
CN109102324B (en) Model training method, and red packet material laying prediction method and device based on model
CN109034990B (en) Accounting method and device and electronic equipment
CN110852754A (en) Risk identification method, device and equipment
CN110148044B (en) Method and device for setting buffering threshold for accounting
CN110033362B (en) Money drawing method, device and equipment
CN109325015B (en) Method and device for extracting characteristic field of domain model
CN111754329A (en) Loan interest settlement method, loan interest settlement device, electronic equipment and storage medium
CN104809052A (en) Method and device for forecasting system resource use ratio
US20140279378A1 (en) Model performance simulator
CN110717822A (en) Wind control method, device and equipment in transfer
CN111951011B (en) Monitoring system threshold value determining method and device
CN113989001A (en) Virtual asset settlement method, device, electronic equipment and storage medium
CN109214902B (en) User account asset clearing method and device
US20170330235A1 (en) Customer management system for determining aggregate customer value
CN109377233B (en) Risk monitoring method and device
CN110046982B (en) Method and device for processing information data
CN111784512A (en) Bank-enterprise reconciliation flow processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200929

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200929

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant