CN111882413B - Batch updating method and device for overdue rules of bills, server and storage medium - Google Patents

Batch updating method and device for overdue rules of bills, server and storage medium Download PDF

Info

Publication number
CN111882413B
CN111882413B CN202010700293.XA CN202010700293A CN111882413B CN 111882413 B CN111882413 B CN 111882413B CN 202010700293 A CN202010700293 A CN 202010700293A CN 111882413 B CN111882413 B CN 111882413B
Authority
CN
China
Prior art keywords
overdue
rule
rules
current
updating
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
CN202010700293.XA
Other languages
Chinese (zh)
Other versions
CN111882413A (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.)
Shenzhen Lexin Software Technology Co Ltd
Original Assignee
Shenzhen Lexin Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lexin Software Technology Co Ltd filed Critical Shenzhen Lexin Software Technology Co Ltd
Priority to CN202010700293.XA priority Critical patent/CN111882413B/en
Publication of CN111882413A publication Critical patent/CN111882413A/en
Application granted granted Critical
Publication of CN111882413B publication Critical patent/CN111882413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll
    • 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
    • G06Q40/128Check-book balancing, updating or printing arrangements

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention discloses a batch updating method, device, server and storage medium for overdue rules of bills, wherein the method comprises the following steps: acquiring a product number, wherein the product number corresponds to a plurality of bills; determining a plurality of overdue rules corresponding to the product numbers; and updating the overdue rules of the bills corresponding to the product numbers in batches according to the states of the overdue rules. According to the embodiment of the invention, batch update of overdue rules is realized, the overdue rules of failure states are updated through judging the overdue rules, the data volume required to be processed for updating the overdue rules is reduced, and the overdue processing efficiency is improved.

Description

Batch updating method and device for overdue rules of bills, server and storage medium
Technical Field
The embodiment of the invention relates to the technical field of finance, in particular to a method, a device, a server and a storage medium for batch updating of overdue rules of bills.
Background
With the transition of people's consumption consciousness and consumption habit, online consumption business is rapidly developed, bill data is rapidly increased, and the problem of overdue bill is also increasingly highlighted.
Based on the diversity of products and customers, different bills have different overdue rules, which are variable as business progresses. When the overdue rule changes, the bill needs to be processed according to the latest overdue rule, and the traditional processing mode is that when the overdue rule is processed on the bill, all the bills are firstly obtained, then the overdue rules of all the bills are updated, and overdue bills in the bills are determined according to the latest overdue rule.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a server and a storage medium for batch updating of overdue rules of bills, so that batch updating of overdue rules is realized, the data volume required to be processed for updating the overdue rules is reduced, and overdue processing efficiency is improved.
In a first aspect, an embodiment of the present invention provides a method for batch updating of overdue rules of a bill, including:
acquiring a product number, wherein the product number corresponds to a plurality of bills;
determining a plurality of overdue rules corresponding to the product numbers;
and updating the overdue rules of the bills corresponding to the product numbers in batches according to the states of the overdue rules.
Further, the batch updating of the overdue rule of the bills corresponding to the product numbers according to the states of the overdue rules includes:
acquiring a plurality of outstanding bills corresponding to the current overdue rule;
and updating the overdue rules of the plurality of outstanding bills in batches according to the state of the current overdue rule.
Further, the state of the current overdue rule includes a failure state and a valid state, when the state of the current overdue rule is the failure state, the current overdue rule is the failure overdue rule, and when the state of the current overdue rule is the valid state, the current overdue rule is the valid overdue rule.
Further, the batch updating of the overdue rules of the plurality of outstanding bills according to the status of the current overdue rule includes:
if the current overdue rule is a failure overdue rule, determining a change state of the current overdue rule;
and if the change state of the current overdue rule is incomplete change, updating the overdue rule of the outstanding bill to be an effective overdue rule corresponding to the product number.
Further, the batch updating of the overdue rules of the plurality of outstanding bills according to the status of the current overdue rule further includes:
if the current overdue rule is a valid overdue rule, keeping the overdue rule of the outstanding bill unchanged.
Further, the valid overdue rule includes a default overdue rule and a gray level overdue rule, and the batch updating of the overdue rules of the plurality of outstanding bills according to the state of the current overdue rule further includes:
if the outstanding bill meets the condition of the gray level overdue rule, updating the overdue rule of the outstanding bill to the gray level overdue rule;
and if the outstanding bill does not meet the condition of the gray overdue rule, updating the overdue rule of the outstanding bill to a default overdue rule.
Further, the method further comprises the following steps:
determining the overdue date of the outstanding bill according to the overdue rule of the outstanding bill;
and setting overdue identification for the outstanding account form according to the overdue date.
In a second aspect, an embodiment of the present invention provides a device for updating a batch of overdue rules of a bill, including:
the product number acquisition module is used for acquiring product numbers, and the product numbers correspond to a plurality of bills;
the overdue rule determining module is used for determining a plurality of overdue rules corresponding to the product numbers;
and the overdue rule updating module is used for updating overdue rules of a plurality of bills corresponding to the product numbers in batches according to the states of the overdue rules.
In a third aspect, an embodiment of the present invention provides a server, including:
one or more processors;
storage means for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for batch updating of the expiration rules of the bill provided by any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method for batch updating of expiration rules for bills provided by any embodiment of the present invention.
According to the batch updating method for the overdue rule of the bills, provided by the embodiment of the invention, the product numbers are obtained, and the product numbers correspond to a plurality of bills; determining a plurality of overdue rules corresponding to the product numbers; and updating the overdue rules of the bills corresponding to the product numbers in batches according to the states of the overdue rules. The method realizes batch update of overdue rules, updates overdue rules of invalid states through judging the overdue rules, reduces the data quantity required to be processed for overdue rule update, and improves overdue processing efficiency.
Drawings
FIG. 1 is a flowchart of a method for batch updating of overdue rules of a bill according to an embodiment of the invention;
FIG. 2A is a flowchart illustrating a method for batch updating of overdue rules in accordance with a second embodiment of the present invention;
FIG. 2B is a flowchart illustrating a method for batch updating of overdue rules of the plurality of outstanding bills according to the status of the current overdue rule according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of a device for updating overdue rules in batch according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts steps as a sequential process, many of the steps may be implemented in parallel, concurrently, or with other steps. Furthermore, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Furthermore, the terms "first," "second," and the like, may be used herein to describe various directions, acts, steps, or elements, etc., but these directions, acts, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. The terms "first," "second," and the like, are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, "plurality", "batch" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Example 1
Fig. 1 is a flowchart of a method for batch updating of overdue rules of a bill according to an embodiment of the invention, which is applicable to updating overdue rules of a bill. As shown in FIG. 1, the method for updating the overdue rule batch of the bill according to the first embodiment of the present invention includes:
s110, acquiring a product number, wherein the product number corresponds to a plurality of bills.
Specifically, the product number, i.e. the product ID, is an identifier for characterizing the identity of the product, and the expression form of the product number may be any identifier capable of characterizing the identity of the product, such as a number, a letter, a product name, a combination thereof, and the like, for example, a loan product number is 0123456789. A product will typically have multiple bills, with all bills for the product being obtained based on the product number.
S120, determining a plurality of overdue rules corresponding to the product numbers.
In this embodiment, a product may be associated with a plurality of overdue rules, and all overdue rules corresponding to the product may be determined according to the product number. The overdue rule is used to determine whether the corresponding bill is overdue, for example, if an overdue rule of a product is "3 days of grace period added on the basis of the specified repayment day", then when the bill applicable to the overdue rule under the product is settled within 3 days after the repayment day, the bill is considered to be overdue, and when the bill is not settled within 3 days after the repayment day, the bill is considered to be overdue.
Further, each overdue rule has a unique rule version number corresponding to the overdue rule, the product number is associated with the rule version number, a plurality of overdue rules corresponding to the product number are determined, and in fact, a plurality of rule version numbers corresponding to the product number are also determined, for example, the product number is a, and according to the product number a, a plurality of rule version numbers corresponding to the product can be queried: each of the rule version numbers a01, a02 and a03 represents a specific overdue rule, and for convenience of description, the corresponding overdue rule is indicated by using the rule version number hereinafter, for example, the overdue rule having the rule version number a01 is referred to as overdue rule a01.
And S130, updating the overdue rules of the bills corresponding to the product numbers in batches according to the states of the overdue rules.
Specifically, the state of the overdue rule refers to whether the overdue rule is in a failure state or in a valid state, and if the overdue rule is in a valid state, the overdue rule is indicated to be usable and is called a valid overdue rule; if the overdue rule is in a failure state, the overdue rule is not usable, and the overdue rule is called a failure overdue rule; therefore, when the overdue rule is in an effective state, updating overdue rules of a plurality of bills corresponding to the product numbers to the effective overdue rule; when the overdue rule is in the invalid state, the overdue rule of the bills corresponding to the product number is updated to be the valid overdue rule corresponding to the product.
In this embodiment, although a product is associated with a plurality of overdue rules, the valid overdue rule corresponding to the product is unique, and the unique valid overdue rule is also the default overdue rule of the product, so that the valid overdue rule corresponding to the product is the target overdue rule when the overdue rule is updated in batches. Since each overdue rule has a unique rule version number corresponding to the overdue rule, the overdue rule is updated, that is, the version number of the overdue rule is updated. For example, the rule version numbers of the 3 overdue rules corresponding to the product number a are a01, a02 and a03, respectively, wherein the state of the overdue rule a03 is a valid state, i.e. the overdue rule a03 is a valid overdue rule, and the states of the overdue rule a01 and the overdue rule a02 are invalid states, i.e. the overdue rule a01 and the overdue rule a02 are invalid overdue rules. The batch update of the overdue rule of the bills corresponding to the product numbers according to the states of the overdue rules is as follows: when the overdue rule of the bill is overdue rule A03, the overdue rule is kept unchanged; when the overdue rule of the bill is overdue rule A01 or overdue rule A02, the overdue rule A03 is updated.
According to the bill overdue rule batch updating method provided by the embodiment of the invention, the product numbers are obtained, and the product numbers correspond to a plurality of bills; determining a plurality of overdue rules corresponding to the product numbers; and updating the overdue rules of the bills corresponding to the product numbers in batches according to the states of the overdue rules. The method realizes batch update of overdue rules, updates overdue rules of invalid states through judging the overdue rules, reduces the data quantity required to be processed for overdue rule update, and improves overdue processing efficiency.
Example two
Fig. 2A is a flowchart of a batch update method for overdue rules of a bill according to a second embodiment of the present invention, which is further detailed in the above embodiment. As shown in fig. 2A, the batch update method for the overdue rule of the bill provided in the second embodiment of the present invention includes:
s210, acquiring a product number, wherein the product number corresponds to a plurality of bills.
S220, determining a plurality of overdue rules corresponding to the product numbers.
S230, acquiring a plurality of outstanding bills corresponding to the current overdue rule.
Specifically, the outstanding bill refers to a bill that has not been settled, and for the bill that has been settled, it is not necessary to update the overdue rule, so in this embodiment, only a plurality of outstanding bills corresponding to the current overdue rule are obtained. Whether the bill is an outstanding bill or a settled bill can be determined according to the settlement state of the bill, a plurality of outstanding bills corresponding to the current overdue rule are obtained, that is, the settlement state of the bill is queried according to the current overdue rule, and a plurality of bills with the settlement state of outstanding are obtained.
And S240, updating the overdue rules of the plurality of outstanding bills in batches according to the state of the current overdue rule.
Specifically, the state of the current overdue rule includes a failure state and a valid state, when the state of the current overdue rule is the failure state, the current overdue rule is the failure overdue rule, and when the state of the current overdue rule is the valid state, the current overdue rule is the valid overdue rule. Therefore, when the state of the current overdue rule is a valid state, the overdue rule of the corresponding plurality of outstanding bills is kept unchanged without updating; when the current overdue rule is in the invalid state, the overdue rule corresponding to the invalid overdue rule is updated to the valid overdue rule corresponding to the product.
Further, as shown in fig. 2B, the batch update of the overdue rules of the plurality of outstanding bills according to the status of the current overdue rule includes steps S241 to S244.
S241, determining the state of the current overdue rule.
Specifically, if the state of the current overdue rule is the invalid state, the step S242 is skipped; if the status of the current overdue rule is valid, the process goes to step S244.
S242, if the current overdue rule is a failure overdue rule, determining a change state of the current overdue rule.
Specifically, if the current overdue rule is a failure overdue rule, it indicates that the overdue rule has been updated before that, and it is required to determine whether all overdue rules corresponding to the bill have been updated. The change state of the overdue rule refers to whether the overdue rule has completed updating, in this embodiment, the update state of the overdue rule is recorded, if the overdue rule completes updating, the change state is completed, and if the overdue rule does not complete updating, the change state is incomplete. If the change state of the current overdue rule is changed, the overdue rule corresponding to the bill is updated to the latest valid overdue rule, and other processing on the current overdue rule is not needed. If the current overdue rule is not changed, step S243 is executed.
S243, if the change state of the current overdue rule is incomplete change, updating the overdue rule of the outstanding bill to a valid overdue rule corresponding to the product number.
Specifically, if the change state of the current overdue rule is incomplete, it indicates that the overdue rule corresponding to the bill is not updated, and the overdue rule of the outstanding bill corresponding to the current overdue rule is updated to the valid overdue rule corresponding to the product number.
S244, if the current overdue rule is a valid overdue rule, keeping the overdue rule of the outstanding account list unchanged.
Specifically, if the current overdue rule is an effective overdue rule, it indicates that the overdue rule corresponding to the outstanding bill is already an updated available overdue rule, and the effective overdue rule is kept unchanged.
Further, the valid overdue rule includes a default overdue rule and a gray level overdue rule. The default overdue rule includes a default and unique valid overdue rule set under the product number, that is, a product has and has only one default overdue rule. The gray level overdue rule is an effective overdue rule which can be used or not used, and is complemented with a default overdue rule, and in general, the gray level overdue rule is set for a special bill or a customer, and a product can have a plurality of gray level overdue rules.
Further, after the current overdue rule is updated to be a valid overdue rule, the method further includes: if the outstanding bill meets the condition of the gray level overdue rule, updating the overdue rule of the outstanding bill to the gray level overdue rule; and if the outstanding bill does not meet the condition of the gray overdue rule, updating the overdue rule of the outstanding bill to a default overdue rule. Specifically, if the outstanding bill meets the condition of the gray level overdue rule, the outstanding bill is indicated to be suitable for the gray level overdue rule, and the overdue rule of the outstanding bill is updated to be the gray level overdue rule; if the outstanding bill does not meet the condition of the gray overdue rule, the outstanding bill is not required to be specially processed, and the overdue rule is updated to be the default overdue rule. For example, when the bill of a VIP client uses the gray level overdue rule, the overdue rule of the outstanding bill is updated to the gray level overdue rule when the client of the outstanding bill is the VIP client, and when the client of the outstanding bill is not the VIP client, the overdue rule of the outstanding bill is updated to the default overdue rule.
Further, after updating the overdue rule, the method further comprises: determining the overdue date of the outstanding bill according to the overdue rule of the outstanding bill; and setting overdue identification for the outstanding account form according to the overdue date. Specifically, after the overdue rule is updated, the overdue rule of the outstanding bill is a valid overdue rule (default overdue rule or gray overdue rule), the overdue date of the outstanding bill is recalculated according to the valid overdue rule, and the outstanding bill can be determined to belong to the overdue bill under the updated valid overdue rule according to the calculated overdue date. If the outstanding account list belongs to the overdue bill, setting overdue identification for the outstanding account list so as to carry out overdue processing on the outstanding account list later, wherein specific overdue processing operation is associated with overdue rules and rule versions, and the corresponding overdue processing operation can be queried through the overdue rules or rule versions; if the outstanding bill does not belong to the overdue bill, the overdue mark is not required to be set for the outstanding bill.
Further, when determining the overdue date of the outstanding bill according to the overdue rule of the outstanding bill, it may further determine whether the overdue rule of the outstanding bill is a valid overdue rule, which specifically includes: determining the rule state of overdue rules of the current outstanding bill; if the overdue rule of the current outstanding bill is an effective overdue rule, determining the overdue date of the current outstanding bill according to the effective overdue rule; if the overdue rule of the current outstanding bill is the invalid overdue rule, determining an effective overdue rule corresponding to the invalid overdue rule, and determining the overdue date of the current outstanding bill according to the effective overdue rule. Illustratively, the overdue rule of the current outstanding bill is "increase 3-day grace period on a specified payday", which is a dead overdue rule, and the corresponding valid overdue rule is "increase 5-day grace period on a specified payday". Suppose that the payment date is given as 7.1 in 2020 and the current date is 5.7 in 2020. If the expiration date of the current outstanding bill is determined according to the expiration rule, the expiration date is 7.4 days in 2020, and obviously, the current outstanding bill is already overdue and is an overdue bill. If the overdue date of the current outstanding bill is determined according to the corresponding valid overdue rule, the overdue date is 7 months and 6 days in 2020, and the current outstanding bill is not overdue and is not the overdue bill. Therefore, the technical scheme of the embodiment can effectively avoid the overdue date miscalculation of the bill.
According to the bill overdue rule batch updating method provided by the embodiment II of the invention, batch updating of overdue rules is realized, overdue rules in failure states are updated through judging the overdue rule states, the data quantity required to be processed for overdue rule updating is reduced, and overdue processing efficiency is improved; a product can correspondingly set a pair of overdue rules, so that the overdue rules and overdue rule gray levels of the product are realized, and the flexibility of overdue rule setting of the product is improved.
Example III
Fig. 3 is a schematic structural diagram of a device for updating overdue rules of bills according to a third embodiment of the present invention, which is applicable to updating overdue rules of bills. The batch updating device for the overdue rules of the bill provided by the embodiment of the invention can realize the batch updating method for the overdue rules of the bill provided by any embodiment of the invention, has the corresponding functional structure and beneficial effects of the realization method, and can refer to the description of any method embodiment of the invention for details which are not described in the embodiment.
As shown in fig. 3, a device for updating a bill overdue rule batch according to a third embodiment of the present invention includes: a product number acquisition module 310, an expiration rule determination module 320, and an expiration rule update module 330, wherein:
the product number obtaining module 310 is configured to obtain a product number, where the product number corresponds to a plurality of bills;
the overdue rule determining module 320 is configured to determine a plurality of overdue rules corresponding to the product number;
the overdue rule updating module 330 is configured to update the overdue rules of the bills corresponding to the product numbers in batches according to the states of the overdue rules.
Further, the overdue rule updating module 330 includes:
an unsettled bill obtaining unit, configured to obtain a plurality of unsettled bills corresponding to the current overdue rule;
and the overdue rule updating unit is used for updating overdue rules of the plurality of outstanding bills in batches according to the state of the current overdue rule.
Further, the state of the current overdue rule includes a failure state and a valid state, when the state of the current overdue rule is the failure state, the current overdue rule is the failure overdue rule, and when the state of the current overdue rule is the valid state, the current overdue rule is the valid overdue rule.
Further, the overdue rule updating unit is specifically configured to:
if the current overdue rule is a failure overdue rule, determining a change state of the current overdue rule;
and if the change state of the current overdue rule is incomplete change, updating the overdue rule of the outstanding bill to be an effective overdue rule corresponding to the product number.
Further, the overdue rule updating unit is further configured to:
if the current overdue rule is a valid overdue rule, keeping the overdue rule of the outstanding bill unchanged.
Further, the valid overdue rule includes a default overdue rule and a gray level overdue rule, and the overdue rule updating unit is further configured to:
if the outstanding bill meets the condition of the gray level overdue rule, updating the overdue rule of the outstanding bill to the gray level overdue rule;
and if the outstanding bill does not meet the condition of the gray overdue rule, updating the overdue rule of the outstanding bill to a default overdue rule.
Further, the method further comprises the following steps:
the overdue date determining module is used for determining the overdue date of the outstanding account bill according to the overdue rule of the outstanding account bill;
and the overdue mark setting module is used for setting overdue marks for the outstanding account list according to the overdue date.
According to the bill overdue rule batch updating device provided by the embodiment of the invention, batch updating of overdue rules is realized through the product number acquisition module, the overdue rule determination module and the overdue rule updating module, and the overdue rules in failure states are updated through judging the overdue rule states, so that the data quantity required to be processed for updating the overdue rules is reduced, and the overdue processing efficiency is improved.
Example IV
Fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention. Fig. 4 illustrates a block diagram of an exemplary server 412 suitable for use in implementing embodiments of the present invention. The server 412 shown in fig. 4 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
As shown in fig. 4, the server 412 is in the form of a general purpose server. Components of server 412 may include, but are not limited to: one or more processors 416, a storage 428, and a bus 418 that connects the various system components (including the storage 428 and the processors 416).
Bus 418 represents one or more of several types of bus structures, including a memory device bus or memory device controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry standard architecture (Industry Subversive Alliance, ISA) bus, micro channel architecture (Micro Channel Architecture, MAC) bus, enhanced ISA bus, video electronics standards association (Video Electronics Standards Association, VESA) local bus, and peripheral component interconnect (Peripheral Component Interconnect, PCI) bus.
Server 412 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by server 412 and includes both volatile and nonvolatile media, removable and non-removable media.
The storage 428 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory, RAM) 430 and/or cache memory 432. The server 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 434 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a magnetic disk drive for reading from and writing to a removable nonvolatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable nonvolatile optical disk such as a Read Only Memory (CD-ROM), digital versatile disk (Digital Video Disc-Read Only Memory, DVD-ROM), or other optical media, may be provided. In such cases, each drive may be coupled to bus 418 via one or more data medium interfaces. Storage 428 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for example, in the storage 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 442 generally perform the functions and/or methodologies in the described embodiments of the invention.
The server 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing terminal, display 424, etc.), one or more terminals that enable a user to interact with the server 412, and/or any terminals (e.g., network card, modem, etc.) that enable the server 412 to communicate with one or more other computing terminals. Such communication may occur through an input/output (I/O) interface 422. Also, the server 412 may communicate with one or more networks (e.g., local area network (Local Area Network, LAN), wide area network (Wide Area Network, WAN) and/or public network, such as the internet) via the network adapter 420. As shown in fig. 4, network adapter 420 communicates with the other modules of server 412 via bus 418. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with server 412, including, but not limited to: microcode, end drives, redundant processors, external disk drive arrays, disk array (Redundant Arrays of Independent Disks, RAID) systems, tape drives, data backup storage systems, and the like.
The processor 416 executes various functional applications and data processing by running programs stored in the storage 428, such as implementing the bill expiration rule batch update method provided by any of the embodiments of the present invention, which may include:
acquiring a product number, wherein the product number corresponds to a plurality of bills;
determining a plurality of overdue rules corresponding to the product numbers;
and updating the overdue rules of the bills corresponding to the product numbers in batches according to the states of the overdue rules.
Example five
The fifth embodiment of the present invention further provides a computer readable storage medium having a computer program stored thereon, where the program when executed by a processor implements a method for batch updating of overdue rules of a bill as provided in any embodiment of the present invention, the method may include:
acquiring a product number, wherein the product number corresponds to a plurality of bills;
determining a plurality of overdue rules corresponding to the product numbers;
and updating the overdue rules of the bills corresponding to the product numbers in batches according to the states of the overdue rules.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (6)

1. The method for updating the overdue rule batch of the bill is characterized by comprising the following steps of:
acquiring a product number, wherein the product number corresponds to a plurality of bills;
determining a plurality of overdue rules corresponding to the product numbers;
batch updating is carried out on the overdue rules of the bills corresponding to the product numbers according to the states of the overdue rules;
the batch updating of the overdue rule of the bills corresponding to the product numbers according to the states of the overdue rules comprises the following steps:
acquiring a plurality of outstanding bills corresponding to the current overdue rule;
batch updating is carried out on the overdue rules of the plurality of outstanding bills according to the state of the current overdue rule;
the state of the current overdue rule comprises a failure state and a valid state, when the state of the current overdue rule is the failure state, the current overdue rule is the failure overdue rule, and when the state of the current overdue rule is the valid state, the current overdue rule is the valid overdue rule;
the batch updating of the overdue rules of the plurality of outstanding bills according to the state of the current overdue rule includes:
if the current overdue rule is the invalid overdue rule, determining a change state of the current overdue rule;
if the change state of the current overdue rule is incomplete change, updating the overdue rule of the outstanding bill to be an effective overdue rule corresponding to the product number;
the batch updating of the overdue rules of the plurality of outstanding bills according to the state of the current overdue rule further comprises:
if the current overdue rule is the valid overdue rule, keeping the overdue rule of the outstanding bill unchanged.
2. The method of claim 1, wherein the valid expiration rules include default expiration rules and gray level expiration rules, and wherein batch updating the expiration rules of the plurality of outstanding bills based on the state of the current expiration rules further comprises:
if the outstanding bill meets the condition of the gray level overdue rule, updating the overdue rule of the outstanding bill to the gray level overdue rule;
and if the outstanding bill does not meet the condition of the gray overdue rule, updating the overdue rule of the outstanding bill to a default overdue rule.
3. The method as recited in claim 1, further comprising:
determining the overdue date of the outstanding bill according to the overdue rule of the outstanding bill;
and setting overdue identification for the outstanding account form according to the overdue date.
4. A bill overdue rule batch update apparatus, comprising:
the product number acquisition module is used for acquiring product numbers, and the product numbers correspond to a plurality of bills;
the overdue rule determining module is used for determining a plurality of overdue rules corresponding to the product numbers;
the overdue rule updating module is used for updating overdue rules of a plurality of bills corresponding to the product numbers in batches according to the states of the overdue rules;
the overdue rule updating module comprises:
an unsettled bill obtaining unit, configured to obtain a plurality of unsettled bills corresponding to the current overdue rule;
the overdue rule updating unit is used for updating overdue rules of the plurality of outstanding bills in batches according to the state of the current overdue rule;
the state of the current overdue rule comprises a failure state and a valid state, when the state of the current overdue rule is the failure state, the current overdue rule is the failure overdue rule, and when the state of the current overdue rule is the valid state, the current overdue rule is the valid overdue rule;
the overdue rule updating unit is specifically configured to:
if the current overdue rule is the invalid overdue rule, determining a change state of the current overdue rule;
if the change state of the current overdue rule is incomplete change, updating the overdue rule of the outstanding bill to be an effective overdue rule corresponding to the product number;
the overdue rule updating unit is further configured to:
if the current overdue rule is the valid overdue rule, keeping the overdue rule of the outstanding bill unchanged.
5. A server, comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the bill overdue rule batch update method of any one of claims 1-3.
6. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a bill overdue rule batch updating method according to any one of claims 1-3.
CN202010700293.XA 2020-07-20 2020-07-20 Batch updating method and device for overdue rules of bills, server and storage medium Active CN111882413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010700293.XA CN111882413B (en) 2020-07-20 2020-07-20 Batch updating method and device for overdue rules of bills, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010700293.XA CN111882413B (en) 2020-07-20 2020-07-20 Batch updating method and device for overdue rules of bills, server and storage medium

Publications (2)

Publication Number Publication Date
CN111882413A CN111882413A (en) 2020-11-03
CN111882413B true CN111882413B (en) 2024-02-27

Family

ID=73155046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010700293.XA Active CN111882413B (en) 2020-07-20 2020-07-20 Batch updating method and device for overdue rules of bills, server and storage medium

Country Status (1)

Country Link
CN (1) CN111882413B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113642789A (en) * 2021-08-11 2021-11-12 神州数码融信软件有限公司 Loan repayment grace period parameterization configuration method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921712A (en) * 2018-06-13 2018-11-30 泰康保险集团股份有限公司 Data processing method, device, medium and electronic equipment
CN109284975A (en) * 2018-09-04 2019-01-29 中国平安财产保险股份有限公司 Policy information batch modification method, apparatus, computer equipment and storage medium
CN110717315A (en) * 2019-09-10 2020-01-21 中国平安财产保险股份有限公司 System data batch modification method and device, storage medium and electronic equipment
CN110826977A (en) * 2019-09-18 2020-02-21 平安科技(深圳)有限公司 Data updating method and device, computer equipment and storage medium
CN111028074A (en) * 2019-12-06 2020-04-17 深圳乐信软件技术有限公司 Overdue bill updating and inquiring method, system, server and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921712A (en) * 2018-06-13 2018-11-30 泰康保险集团股份有限公司 Data processing method, device, medium and electronic equipment
CN109284975A (en) * 2018-09-04 2019-01-29 中国平安财产保险股份有限公司 Policy information batch modification method, apparatus, computer equipment and storage medium
CN110717315A (en) * 2019-09-10 2020-01-21 中国平安财产保险股份有限公司 System data batch modification method and device, storage medium and electronic equipment
CN110826977A (en) * 2019-09-18 2020-02-21 平安科技(深圳)有限公司 Data updating method and device, computer equipment and storage medium
CN111028074A (en) * 2019-12-06 2020-04-17 深圳乐信软件技术有限公司 Overdue bill updating and inquiring method, system, server and storage medium

Also Published As

Publication number Publication date
CN111882413A (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN111125106B (en) Batch running task execution method, device, server and storage medium
CN111260465A (en) Business processing method, device, server and storage medium
WO2019148721A1 (en) Electronic device, risk early warning method for internet service system, and storage medium
CN110675249A (en) Matching method, device, server and storage medium for network lending
CN111324441A (en) Operating environment switching method and device, computer equipment and storage medium
CN111028074B (en) Method, system, server and storage medium for updating and inquiring overdue bill
CN111756779A (en) Data serialization processing method, device and computer system
CN111882413B (en) Batch updating method and device for overdue rules of bills, server and storage medium
US20060129520A1 (en) System and method for automatically updating a program in a computer
CN111367813B (en) Automatic testing method and device for decision engine, server and storage medium
CN111681008B (en) Risk control method, apparatus, device and storage medium
CN107169767B (en) Transaction processing method and system
CN110415112B (en) Post-credit business processing method, device, equipment and storage medium
CN111581098A (en) Interface data transfer storage method, device, server and storage medium
CN115237931A (en) Method and system for updating sub-service processing result of service arrangement
CN110969518B (en) Clearing account configuration method and device, server and storage medium
US8826300B2 (en) File system interface for a message service system
CN113407102A (en) Virtual key display method, device, system and storage medium
CN110377269B (en) Service approval system collocation method, device and storage medium
CN111489101A (en) Order auditing method, device, equipment and medium based on big data
CN113760317A (en) Page display method, device, equipment and storage medium
CN110888917A (en) Batch running task execution method, device, server and storage medium
CN112001787A (en) User distribution method, device, server and storage medium
CN111369346B (en) User credit evaluation method, device, server and storage medium
CN112261072A (en) Service calling method, device, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant