CN115205003A - Account subject adjusting method and device and electronic equipment - Google Patents

Account subject adjusting method and device and electronic equipment Download PDF

Info

Publication number
CN115205003A
CN115205003A CN202210822387.3A CN202210822387A CN115205003A CN 115205003 A CN115205003 A CN 115205003A CN 202210822387 A CN202210822387 A CN 202210822387A CN 115205003 A CN115205003 A CN 115205003A
Authority
CN
China
Prior art keywords
account
target
template
subject
information
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.)
Pending
Application number
CN202210822387.3A
Other languages
Chinese (zh)
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210822387.3A priority Critical patent/CN115205003A/en
Publication of CN115205003A publication Critical patent/CN115205003A/en
Pending legal-status Critical Current

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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • 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/02Banking, e.g. interest calculation or account maintenance

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 invention discloses an account subject adjusting method and device and electronic equipment. Relating to the field of financial science and technology or other related fields, the method comprises the following steps: acquiring target data in a target storage area; determining at least one target account to be adjusted based on the target data; storing account information of at least one target account into a target storage area, and setting the account state of the account information in the target storage area to be a first state; and adjusting the template corresponding to at least one target account from the first account template to the second account template based on the target data and the account status, so that the subject corresponding to the adjusted at least one target account is the second subject, and updating the account status of the account information to be the second status. The invention solves the technical problem of low adjustment efficiency caused by manually adjusting account subjects in the prior art.

Description

Account subject adjusting method and device and electronic equipment
Technical Field
The invention relates to the field of financial science and technology or other related fields, in particular to an account subject adjusting method and device and electronic equipment.
Background
With the continuous development of the business of the related financial institutions (such as banks) and the continuous release of new financial products, the accounting criteria will change, so that the internal account subject of the related financial institutions needs to be adjusted. At present, in the prior art, manual adjustment of account subjects is relied on, for example, after an accounting department receives a subject adjustment requirement, all account balances in an old subject are manually transferred out, account subjects are modified, and then the balance is transferred in, so as to achieve adjustment of the account subjects. However, this approach has the problems of high workload, low efficiency, and high operational risk.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an account subject adjusting method, an account subject adjusting device and electronic equipment, and at least solves the technical problem of low adjusting efficiency caused by manual account subject adjustment in the prior art.
According to an aspect of the embodiments of the present invention, there is provided an account subject adjusting method, including: acquiring target data in a target storage area, wherein the target data is used for representing that a first account template is updated to update information of a second account template, the update information at least comprises a first subject corresponding to the first account template and a second subject corresponding to the second account template, the first subject is different from the second subject, each subject corresponds to at least one account template, each subject corresponds to at least one account, and at least one account template represents a recording mode for recording account information corresponding to the subject; determining at least one target account to be adjusted based on the target data, wherein a template corresponding to the target account is a first account template; storing account information of at least one target account into a target storage area, and setting an account state of the account information in the target storage area as a first state, wherein the first state represents that a target account corresponding to the account information is in a state to be adjusted; and adjusting the template corresponding to the at least one target account from the first account template to a second account template based on the target data and the account status, so that the account corresponding to the adjusted at least one target account is a second account, and updating the account status of the account information to be a second status, wherein the second status represents that the target account corresponding to the account information is in the adjusted status.
Further, the method for adjusting account subjects further comprises: and when the current time is within a preset time range, acquiring target data in the target storage area, wherein the preset time range is a time range in which the posting operation is completed later than the current date.
Further, the method for adjusting account subjects further comprises: if all target accounts in the at least one target account are in the adjustment success state, the account state of the updated account information is in a second state; if the abnormal account exists in the at least one target account, the template corresponding to the adjusted at least one target account is restored from the second account template to the first account target template, and the account state of the account information is updated to be a third state, wherein the third state represents that the target account corresponding to the account information is in a failure adjustment state.
Further, the method for adjusting account subjects further comprises: after a template corresponding to at least one target account is adjusted from a first account template to a second account template based on the target data and the account state, determining a balance attribute corresponding to the at least one target account, wherein the balance attribute represents a billing mode of an account balance of the target account; determining balance information of at least one target account based on balance attributes corresponding to the at least one target account, the first subject and the second subject; determining balance transfer-out data corresponding to a first subject and balance transfer-in data corresponding to a second subject based on the account balance and balance information of at least one target account; and generating general ledger information of the current date based on the current balance of the first subject, the current balance of the second subject, the balance roll-out data and the balance roll-in data.
Further, the method for adjusting account subjects further comprises: after the account information of at least one target account is stored in the target storage area, and the account state of the account information is set to be the first state in the target storage area, the template state corresponding to the identifier of the first account template is updated from the fourth state to the fifth state, wherein the identifier of the first account template is stored in the target storage area, the fourth state represents that the first account template is in a to-be-processed state, and the fifth state represents that the first account template is in a processed state.
Further, the method for adjusting account subjects further comprises: when the current time is within a preset time range, determining the current authority of a target platform before acquiring target data in a target storage area; and if the current authority representation allows the target platform to adjust the corresponding relation between the target account and the subject, determining whether the current time is within a preset time range.
According to another aspect of the embodiments of the present invention, there is also provided an account subject adjusting apparatus, including: the acquisition module is used for acquiring target data in the target storage area, wherein the target data is used for representing the update information of the first account template updated to the second account template, the update information at least comprises a first subject corresponding to the first account template and a second subject corresponding to the second account template, the first subject is different from the second subject, each subject corresponds to at least one account template, each subject corresponds to at least one account, and at least one account template represents the recording mode of recording the account information corresponding to the subject; the determining module is used for determining at least one target account to be adjusted based on the target data, wherein a template corresponding to the target account is a first account template; the processing module is used for storing the account information of at least one target account into a target storage area, and setting the account state of the account information in the target storage area to be a first state, wherein the first state represents that the target account corresponding to the account information is in a state to be adjusted; and the adjusting module is used for adjusting the template corresponding to the at least one target account from the first account template to the second account template based on the target data and the account status, so that the account corresponding to the adjusted at least one target account is a second account, and the account status of the account information is updated to be a second status, wherein the second status represents that the target account corresponding to the account information is in an adjusted status.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the above-mentioned account subject adjusting method when the computer program runs.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including one or more processors; a memory for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method for running a program, wherein the program is arranged to perform the method of adjusting account subjects described above when run.
According to another aspect of the embodiments of the present invention, there is also provided a computer program product, which includes a computer program/instruction, and the computer program/instruction when executed by a processor implements the above-mentioned account subject adjustment method.
In the embodiment of the invention, by adopting a mode of recording the updating information of the account template and the account state corresponding to the target account, the account subject is automatically adjusted by acquiring the target data in the target storage area, then determining at least one target account to be adjusted based on the target data, then storing the account information of the at least one target account in the target storage area, and setting the account state of the account information in the target storage area to be the first state, so that the template corresponding to the at least one target account is adjusted from the first account template to the second account template based on the target data and the account state, the subject corresponding to the at least one adjusted target account is the second subject, and the account state of the account information is updated to be the second state. The target data is used for representing that the first account template is updated to update information of the second account template, the update information at least comprises a first subject corresponding to the first account template and a second subject corresponding to the second account template, the first subject is different from the second subject, each subject corresponds to at least one account template, each subject corresponds to at least one account, each account corresponds to at least one account, the at least one account template represents a recording mode for recording account information corresponding to the subject, the template corresponding to the target account is the first account template, the target account corresponding to the first state representation account information is in a state to be adjusted, and the target account corresponding to the second state representation account information is in an adjusted state.
In the process, by recording the template data and the account state, on one hand, effective determination of the target account which is not adjusted is realized based on the account state, and on the other hand, accurate determination of the new account which is required to correspond to the target account is realized based on the target data, so that the template corresponding to at least one target account is adjusted from the first account template to the second account template, automatic adjustment of the account is realized, and the adjustment efficiency is improved. Furthermore, after the adjustment is completed, the account status of the account information is updated to be the second status, so that the adjusted target account and the unadjusted target account can be effectively distinguished, the adjustment efficiency is further improved, and repeated operation or missing operation is avoided. In addition, the target accounts to be adjusted are determined based on the changed account template, so that batch determination of the target accounts to be adjusted is realized, the problem of low working efficiency caused by manual determination when a large number of target accounts to be adjusted exist is solved, and meanwhile, the accuracy of the determined target accounts to be adjusted is difficult to guarantee.
Therefore, according to the scheme provided by the application, the purpose of automatically adjusting account subjects is achieved by recording the update information of the account template and the account state corresponding to the target account, so that the technical effect of improving the adjustment efficiency is achieved, and the technical problem of low adjustment efficiency caused by manual adjustment of the account subjects in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an alternative method of adjusting account subjects according to an embodiment of the invention;
FIG. 2 is a schematic diagram of an alternative method of adjusting account subjects in accordance with an embodiment of the invention;
FIG. 3 is a schematic diagram of an alternative account subject adjustment apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of description, some terms or expressions referred to in the embodiments of the present application are explained below:
an account template: the template parameters of the internal account when opening account define the basic information such as account name, subject, account attribute and the like.
Internal accounts: the method is mainly used for internal accounting accounts of financial institutions (such as banks), and comprises internal accounts, external accounts and financial accounts, and accounts corresponding to the same categories of loss and benefit, owner equity and equity, assets and liabilities, accounts receivable, value-reducing preparation, taxes and the like in banking business.
Subject of the invention: is the category for classifying and accounting the concrete content of the accounting element object.
It should be noted that the method, the device and the electronic device for adjusting account subjects determined by the present disclosure may be used in the field of financial technology, and may also be used in any field other than the field of financial technology.
It should be noted that relevant information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data that are authorized by the user or sufficiently authorized by various parties. For example, an interface is provided between the system and the relevant user or institution, and before obtaining the relevant information, an obtaining request needs to be sent to the user or institution through the interface, and after receiving the consent information fed back by the user or institution, the relevant information needs to be obtained.
Example 1
According to an embodiment of the invention, there is provided an embodiment of a method for adjusting account subjects, it being noted that the steps illustrated in the flowchart of the drawings may be carried out in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be carried out in an order different than here.
Fig. 1 is a schematic diagram of an alternative method for adjusting account subjects according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S101, acquiring target data in a target storage area, wherein the target data is used for representing that a first account template is updated to update information of a second account template, the update information at least comprises a first subject corresponding to the first account template and a second subject corresponding to the second account template, the first subject is different from the second subject, each subject corresponds to at least one account template, each subject corresponds to at least one account, and at least one account template represents a recording mode for recording account information corresponding to the subject.
In step S101, the target data in the target storage area may be acquired by an electronic device, a server, an application system, or the like, and in this embodiment, the target data in the target storage area may be acquired by a subject adjustment system.
Alternatively, when accounting criteria change, as shown in FIG. 2, the relevant staff may prepare to adjust the internal account subject parameters according to the accounting criteria. I.e. determining the parameters of the new subject (i.e. the second subject as described above) and recording the identification of the new subject in the subject table of the current institution (e.g. bank) and the subject comparison table between the general institution and the branch institution (e.g. between the general branches).
Thereafter, the relevant staff member makes adjustments to account template subjects, as shown in FIG. 2. Specifically, the staff member updates the first account template to the second account template based on the parameter adjustment, so that the subjects corresponding to the account templates are changed from the old subjects (i.e. the aforementioned first subjects) to the new subjects. And in the process of updating the account template, the account corresponding to the account template is not adjusted in a linkage manner, and if the account is moved, the balance is recorded in the old account. Optionally, a plurality of account templates may be set in each subject, an account in each subject is recorded by using one of the plurality of account templates in the subject, the account template represents a recording manner for recording account information corresponding to the subject, and the recording manner may include recording content of the account information, recording format, correspondence between the account and the subject, and the like.
As shown in fig. 2, when the account template account is adjusted, the update information of the first account template updated to the second account template is synchronously registered in the target storage area, optionally, the target storage area may be a table, a document or other storage area in the target database, and in this embodiment, the target storage area is an account adjustment register. And in the process of registering the update information, the identifier of the first account template can be synchronously registered to the target storage area.
Further, when the subject adjustment system detects that the contents of the subject adjustment register are updated, the subject adjustment system may acquire the target data from the subject adjustment register. Specifically, in the account adjustment register, a preset field is marked on the identifier or the update information of the first account template, and the account adjustment system can automatically analyze the update information in the account adjustment register according to the preset field. The preset fields may be "MOD _ TYPE" and "STATUS", where the "MOD _ TYPE" is used to characterize the information TYPE corresponding to the information, for example, when MOD _ TYPE =1, the information TYPE corresponding to the information is determined to be an account template, and when MOD _ TYPE =2, the information TYPE corresponding to the information is determined to be an account template; "STATUS" is used to characterize the information state to which the information corresponds, for example, when STATUS =1, it is determined that it is in a pending/to-be-adjusted state, and when STATUS =2, it is determined that it is in a processed/adjusted state. Optionally, the initial fields of the identifier of the registered first account target are MOD _ TYPE =1 and STATUS =1", so that the account adjustment system may obtain the target data from the account adjustment register according to the condition of" MOD _ TYPE =1 and STATUS =1 ".
Step S102, at least one target account to be adjusted is determined based on target data, wherein a template corresponding to the target account is a first account template.
In step S102, the account adjustment system may determine a first account template where adjustment occurs based on the target data, so that all accounts corresponding to the first account template are determined as target accounts to be adjusted.
It should be noted that the target accounts to be adjusted are determined based on the changed account templates, so that batch determination of the target accounts to be adjusted is realized, the problem of low working efficiency caused by manual determination when a large number of target accounts to be adjusted exist is solved, and meanwhile, the accuracy of the determined target accounts to be adjusted is difficult to guarantee.
Step S103, storing account information of at least one target account in the target storage area, and setting an account status of the account information in the target storage area to be a first status, where the first status represents that the target account corresponding to the account information is in a to-be-adjusted status.
In step S103, after determining the target account to be adjusted, the account adjustment system may determine the account details (i.e., the aforementioned account information) of the target account to be adjusted, and insert the account details into the account adjustment register, where the account details correspond to the target account one by one. The account details may be only basic information of the account, for example, the account details only include an account name and an account balance, and other relevant information of the account is not inserted into the account adjustment register. After that, the STATUS field corresponding to the account information may be set to STATUS =1, so that the account STATUS of the account information is the first STATUS. In addition, MOD _ TYPE corresponding to the account information is set to MOD _ TYPE =2.
It should be noted that, by storing the account information of at least one target account and setting the account status of the account information to be the first status, the account adjustment system may subsequently determine whether the account adjustment is completed.
And step S104, based on the target data and the account status, adjusting the template corresponding to the at least one target account from the first account template to a second account template, so that the account corresponding to the adjusted at least one target account is a second account, and updating the account status of the account information to be a second status, wherein the second status represents that the target account corresponding to the account information is in an adjusted status.
In step S104, the subject adjustment system may determine an unadjusted target account according to the conditions of "MOD _ TYPE =2 and STATUS =1", that is, according to the account STATUS, and determine a new template (that is, the aforementioned second account template) corresponding to the target account according to the target data, that is, determine that the template corresponding to the target account should be adjusted to the second account template. Then, as shown in fig. 2, the subject adjustment system may adjust the template corresponding to the target account, so that the subject corresponding to the adjusted target account is the second subject, thereby implementing batch adjustment of the account subjects, and in this process, the value of the account balance does not change.
Further, the subject adjustment system may update the account status of the account information corresponding to the target account whose adjustment is completed to the second status.
It should be noted that, based on the account status, effective determination of the target account that has not been adjusted is achieved, and based on the target data, accurate determination of the new subject that the target account needs to correspond to is achieved, so that automatic adjustment of the subject of the account can be achieved, and adjustment efficiency is improved. In addition, the account state of the account information is updated to be the second state after the adjustment is completed, so that the adjusted target account and the unadjusted target account can be effectively distinguished, the adjustment efficiency is further improved, and repeated operation or missing operation is avoided.
Based on the schemes defined in the above steps S101 to S104, it can be known that, in the embodiment of the present invention, by using the update information of the account template and the account status corresponding to the target account, in a manner of automatically adjusting the account subject, the target data in the target storage area is acquired, then based on the target data, at least one target account to be adjusted is determined, then the account information of the at least one target account is stored in the target storage area, and the account status of the account information is set in the target storage area to be the first status, so that based on the target data and the account status, the template corresponding to the at least one target account is adjusted from the first account template to the second account template, so that the subject corresponding to the adjusted at least one target account is the second subject, and the account status of the account information is updated to be the second status. The target data is used for representing update information of a first account template updated to a second account template, the update information at least comprises a first subject corresponding to the first account template and a second subject corresponding to the second account template, the first subject is different from the second subject, each subject corresponds to at least one account template, each subject corresponds to at least one account, at least one account template represents a recording mode of recording account information corresponding to the subject, the template corresponding to the target account is the first account template, the first state represents that the target account corresponding to the account information is in a to-be-adjusted state, and the second state represents that the target account corresponding to the account information is in an adjusted state.
It is easy to note that, in the above process, by recording the template data and the account status, on one hand, based on the account status, effective determination of a target account that is not yet adjusted is achieved, and on the other hand, based on the target data, accurate determination of a new subject that the target account needs to correspond to is achieved, so that a template corresponding to at least one target account is adjusted from a first account template to a second account template, automatic adjustment of the subject of the account is achieved, and adjustment efficiency is further improved. Furthermore, the account state of the account information is updated to be the second state after the adjustment is completed, so that the adjusted target account and the unadjusted target account can be effectively distinguished, the adjustment efficiency is further improved, and repeated operation or missing operation is avoided. In addition, the target accounts to be adjusted are determined based on the changed account templates, so that batch determination of the target accounts to be adjusted is realized, the problem of low working efficiency caused by manual determination when a large number of target accounts to be adjusted exist is solved, and meanwhile, the accuracy of the determined target accounts to be adjusted is difficult to guarantee.
Therefore, the scheme provided by the application achieves the purposes of recording the updating information of the account template and the account state corresponding to the target account and automatically adjusting the account subject, so that the technical effect of improving the adjusting efficiency is achieved, and the technical problem of low adjusting efficiency caused by manually adjusting the account subject in the prior art is solved.
In an optional embodiment, after the account information of the at least one target account is stored in the target storage area, and the account status of the account information is set in the target storage area to be the first status, the account adjustment system may update the template status corresponding to the identifier of the first account template from a fourth status to a fifth status, where the identifier of the first account template is stored in the target storage area, the fourth status represents that the first account template is in a to-be-processed status, and the fifth status represents that the first account template is in a processed status.
Optionally, in this embodiment, the identifier of the first account template in the account adjustment register is marked with a preset field, and when the field STATUS =1, it indicates that the first account template is in the fourth state, that is, the target account corresponding to the first account template is not determined yet. Therefore, when the account information is successfully determined, the STATUS corresponding to the identifier of the first account template may be adjusted to STATUS =2, that is, to the fourth STATUS.
It should be noted that, after the account information is successfully determined, the template state of the corresponding account template is changed, so that the account adjustment system can distinguish between the account information and the account information, and therefore, the adjustment efficiency can be further improved.
In an alternative embodiment, in the process of acquiring the target data in the target storage area, the account adjustment system may acquire the target data in the target storage area when the current time is within a preset time range, where the preset time range is a time range in which the posting operation is completed later than the current date.
Alternatively, as shown in fig. 2, the account adjustment system may parse the account adjustment register to obtain the target data after the end-of-day batch starts. Specifically, after the financial institution starts the daily end batch, the daily end posting processing is performed first, and after the account adjustment system ensures that all accounts have completed the posting for T days (i.e., the current date), it is determined that the current time is within the preset time range, and at this time, the account adjustment system may acquire the target data in the target storage area. It should be noted that, in day T, that is, the current date, if the account relates to an old account, the old account is still entered.
It should be noted that if the account is updated immediately after the account template is adjusted, that is, after the account adjustment register is updated, if a new transaction occurs to the account after the update, the accounting data will be recorded in the new account, and at this time, if a back transaction of the old account is initiated again, the general account will be uneven at the end of the day, and the aforementioned problem can be solved only by controlling that no back transaction is performed after the account is adjusted, thereby bringing inconvenience to the business development. In the application, because the reverse transaction can be carried out only on the same day, the target data in the target storage area is acquired when the current time is within the preset time range, so that the account adjustment delay is realized. Therefore, all the account operations of the business on the account in the T day are reflected in the old subjects, and the adjustment of the back transaction can be carried out at any time, so that the business convenience is improved.
In an optional embodiment, in the process of updating the account status of the account information to the second status, if all the target accounts in the at least one target account are in the adjustment successful status, the account adjustment system may update the account status of the account information to the second status, and if an abnormal account exists in the at least one target account, the account adjustment system may restore the template corresponding to the adjusted at least one target account from the second account template to the first account target template and update the account status of the account information to the third status, where the third status indicates that the target account corresponding to the account information is in the adjustment failed status.
Optionally, in this embodiment, the subject adjustment system may monitor an adjustment process of the target account. If the account system detects that the adjustment of the target account fails under the first account template, the account is determined to be an abnormal account, and at this time, the account adjustment system may rollback all the updating operations under the account template corresponding to the abnormal account, that is, rollback all the updating operations under the first account template, that is, restore the template corresponding to at least one target account adjusted under the first account template from the second account template to the first account target template, so as to ensure the consistency of the account purposes under the same account template. And meanwhile, updating the STATUS field of the account details of the abnormal account in the account adjustment register to be STATUS =3, or updating the STATUS field corresponding to the account details of all the target accounts in the first account template in the account adjustment register to be STATUS =3, namely, the account STATUS of the updated account information is the third STATUS, and error reasons (ERR NO, ERR MSG) can be registered, so that the account information can be analyzed and checked by service and technicians.
Further, if all target accounts in the first account template are successfully adjusted, the STATUS field of the account details corresponding to each target account in the account adjustment register may be updated to STATUS =2, that is, the account STATUS of the updated account information is the second STATUS.
It should be noted that, when an abnormal account exists in at least one target account, all update operations under the first account template are rolled back, so that consistency of account subjects under the same account template is ensured, and thus, business problems are avoided.
In an optional embodiment, after the template corresponding to the at least one target account is adjusted from the first account template to the second account template based on the target data and the account status, the account adjustment system may determine a balance attribute corresponding to the at least one target account, then determine balance information of the at least one target account based on the balance attribute corresponding to the at least one target account, the first account, and the second account, and then determine balance roll-out data corresponding to the first account and balance roll-in data corresponding to the second account based on the account balance and the balance information of the at least one target account, so that total account information of the current date is generated based on the current balance of the first account, the current balance of the second account, the balance roll-out data, and the balance roll-in data. The balance attribute represents the accounting mode of the account balance of the target account.
Alternatively, as shown in fig. 2, the subject adjustment system may simulate account transfers to generate accounting details for determining whether new and old subjects transfer out of the transferred-in data. Specifically, since the account of the target account changes, but no new or old account is transferred to the account, the general ledger is necessarily discontinuous, and in order to ensure continuity of the general ledger, the account adjustment system may determine the balance information of the target account when adjusting the account, and insert the balance information into the accounting detail log.
Optionally, in the process of determining the balance information of the target account, the subject adjustment system may determine the balance attribute corresponding to at least one target account based on the accounting detail log. Wherein the balance attribute may be at least one of a debit balance reflection, a credit balance reflection, and a netting/couple reflection. Specifically, the debit balance may reflect the corresponding account balance in a billing manner of "Credit (CR): old subject account, debit (DR): account of new subject ", the way the credit balance reflects may be" Debit (DR): old subject account, credit (CR): the new subject account' is characterized in that the accounting mode reflected by the rolling difference/the two parties is determined according to the balance value of the target account, if the balance value of the target account is positive, the accounting mode reflected by the rolling difference/the two parties of the target account is the same as the accounting mode reflected by the balance of the lender, and if the balance value of the target account is negative, the accounting mode reflected by the rolling difference/the two parties of the target account is the same as the accounting mode reflected by the balance of the lender.
Further, after the balance attribute corresponding to the target account is determined, the subject adjustment system may fill the first subject and the second subject according to the corresponding accounting mode, so as to obtain the balance information of the target account.
It should be noted that, in the aforementioned process that if all the target accounts in the at least one target account are in the adjustment successful state, the account state of the updated account information is in the second state, it may also be detected whether the balance information of the at least one target account is successfully generated, and if all the target accounts in the at least one target account are in the adjustment successful state and the balance information of the at least one target account is in the generation successful state, as shown in fig. 2, the account state of the account information in the account adjustment register is updated to be in the second state. Otherwise, error information may be generated or the update operations of all accounts under the first account template may be rolled back by referring to the aforementioned roll-back process. For the relevant staff to analyze afterwards.
Further, after the balance information is determined, as shown in fig. 2, the general ledger can be generated by the account adjustment system or other systems of the platform where the account adjustment system is located according to the accounting details. Specifically, the subject adjustment system may determine, based on the obtained balance information of each target account and the corresponding accounting criteria, balance export data corresponding to the first subject and balance transfer-in data corresponding to the second subject, that is, determine new and old subject export transfer-in data, and complete the loan balance check. Then, the subject adjustment system may combine the beginning data and the end data of the previous first subject (i.e., the current balance of the first subject), the beginning data and the end data of the second subject (i.e., the current balance of the second subject), and the occurrence amount (i.e., the balance roll-out data and the balance roll-in data) to generate the total account information for the T day, i.e., the total account information for the current date.
It should be noted that, during the course of adjusting the subjects. For the business, no actual account transfer transaction of the old and new subjects occurs, namely, no new account details are generated actively. Therefore, in the application, the balance information of at least one target account is determined, so that after account adjustment is completed, generation amount details of transferring out of an old account and transferring in of a new account can be generated according to the balance information, and therefore the balance information can be used for trial balance check and summary account generation amount gathering, and accordingly, borrowing balance and accurate and continuous summary account balance of the whole financial affairs can be guaranteed.
In an optional embodiment, before the target data in the target storage area is acquired when the current time is within the preset time range, the subject adjustment system may determine the current authority of the target platform, and if the current authority represents that the target platform is allowed to adjust the corresponding relationship between the target account and the subject, determine whether the current time is within the preset time range.
Optionally, in this application, the staff may perform an opening or closing operation on the batch adjustment subject function. Specifically, the staff member may set the authority of the account adjustment system to determine whether to allow the account adjustment system to adjust the correspondence between the target account and the subject. The target platform is a platform where the account adjustment system is located.
It should be noted that, by determining the current authority of the target platform and then determining whether to perform batch adjustment, the application better conforms to the actual application scenario, and thus the applicability of the application is improved.
It should be emphasized that, in the present application, relevant staff may adjust all subjects corresponding to multiple account templates, and when adjusting multiple account templates, the method executed in the present application is the same as when adjusting subjects corresponding to a single account template, and therefore is not described again.
Therefore, the scheme provided by the application achieves the purposes of recording the updating information of the account template and the account state corresponding to the target account and automatically adjusting the account subject, so that the technical effect of improving the adjusting efficiency is achieved, and the technical problem of low adjusting efficiency caused by manually adjusting the account subject in the prior art is solved.
Example 2
According to an embodiment of the present invention, an embodiment of an adjustment apparatus for account subjects is provided, where fig. 3 is a schematic diagram of an adjustment apparatus for an account subject according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes:
the obtaining module 301 is configured to obtain target data in a target storage area, where the target data is used to represent update information of a first account template updated to a second account template, the update information at least includes a first subject corresponding to the first account template and a second subject corresponding to the second account template, the first subject is different from the second subject, each subject corresponds to at least one account template, and each subject corresponds to at least one account, and at least one account template represents a record mode of recording account information corresponding to a subject;
a determining module 302, configured to determine, based on the target data, at least one target account to be adjusted, where a template corresponding to the target account is a first account template;
the processing module 303 is configured to store account information of at least one target account in the target storage area, and set an account status of the account information in the target storage area to be a first status, where the first status indicates that a target account corresponding to the account information is in a to-be-adjusted status;
the adjusting module 304 is configured to adjust, based on the target data and the account status, a template corresponding to the at least one target account from a first account template to a second account template, so that the account corresponding to the adjusted at least one target account is a second account, and update the account status of the account information to be a second status, where the second status indicates that the target account corresponding to the account information is in an adjusted status.
It should be noted that the acquiring module 301, the determining module 302, the processing module 303 and the adjusting module 304 correspond to steps S101 to S104 in the foregoing embodiment, and the four modules are the same as the corresponding steps in the implementation example and application scenario, but are not limited to the disclosure in embodiment 1.
Optionally, the obtaining module further includes: the first sub-acquisition module is used for acquiring the target data in the target storage area when the current time is within a preset time range, wherein the preset time range is a time range in which the posting operation is completed later than the current date.
Optionally, the adjusting module further includes: the first sub-processing module is used for updating the account state of the account information to be a second state if all the target accounts in the at least one target account are in the adjustment success state; and if the abnormal account exists in the at least one target account, the second sub-processing module restores the template corresponding to the adjusted at least one target account from the second account template to the first account target template, and updates the account state of the account information to be a third state, wherein the third state represents that the target account corresponding to the account information is in the adjustment failure state.
Optionally, the adjusting device for account subjects further includes: the first sub-determination module is used for determining balance attributes corresponding to at least one target account, wherein the balance attributes represent the accounting mode of the account balance of the target account; the second sub-determination module is used for determining balance information of at least one target account based on the balance attribute corresponding to the at least one target account, the first subject and the second subject; the third sub-determination module is used for determining balance transfer-out data corresponding to the first subject and balance transfer-in data corresponding to the second subject based on the account balance and balance information of at least one target account; and the generation module is used for generating general ledger information of the current date based on the current balance of the first subject, the current balance of the second subject, the balance transfer-out data and the balance transfer-in data.
Optionally, the adjusting device for account subjects further includes: and the updating module is used for updating the template state corresponding to the identifier of the first account template from a fourth state to a fifth state, wherein the identifier of the first account template is stored in the target storage area, the fourth state represents that the first account template is in a to-be-processed state, and the fifth state represents that the first account template is in a processed state.
Optionally, the adjusting device for account subjects further includes: the fourth sub-determination module is used for determining the current authority of the target platform; and the fifth sub-determination module is used for determining whether the current time is within a preset time range or not if the current authority representation allows the target platform to adjust the corresponding relation between the target account and the subject.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the above-mentioned account subject adjusting method when the computer program is run.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, wherein fig. 4 is a schematic diagram of an alternative electronic device according to the embodiments of the present invention, as shown in fig. 4, the electronic device includes one or more processors; a memory for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method for running a program, wherein the program is arranged to run to perform the above-mentioned method of adjusting account subjects.
Example 5
According to another aspect of the embodiments of the present invention, there is also provided a computer program product, which includes a computer program/instruction, and when executed by a processor, the computer program/instruction implements the account subject adjustment method described above.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit may be a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or may not be executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
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 position, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (10)

1. An account subject adjustment method, comprising:
acquiring target data in a target storage area, wherein the target data is used for representing that a first account template is updated to update information of a second account template, the update information at least comprises a first subject corresponding to the first account template and a second subject corresponding to the second account template, the first subject is different from the second subject, each subject corresponds to at least one account template, each subject corresponds to at least one account, and the at least one account template represents a recording mode for recording account information corresponding to the subject;
determining at least one target account to be adjusted based on the target data, wherein a template corresponding to the target account is the first account template;
storing the account information of the at least one target account into the target storage area, and setting the account state of the account information in the target storage area to be a first state, wherein the first state represents that the target account corresponding to the account information is in a state to be adjusted;
and adjusting the template corresponding to the at least one target account from the first account template to the second account template based on the target data and the account status, so that the account corresponding to the adjusted at least one target account is the second account, and updating the account status of the account information to be the second status, wherein the second status represents that the target account corresponding to the account information is in the adjusted status.
2. The method of claim 1, wherein obtaining target data in a target storage area comprises:
and when the current time is within a preset time range, acquiring the target data in the target storage area, wherein the preset time range is a time range in which the posting operation is completed later than the current date, and the preset time range is a time range in which the posting operation is completed later than the current date.
3. The method of claim 1, wherein updating the account status of the account information to a second status comprises:
if all target accounts in the at least one target account are in the adjustment success state, updating the account state of the account information to be the second state;
if the at least one target account has an abnormal account, restoring the template corresponding to the adjusted at least one target account from the second account template to the first account target template, and updating the account status of the account information to a third status, wherein the third status indicates that the target account corresponding to the account information is in an adjustment failure status.
4. The method of claim 1, wherein after adjusting the template corresponding to the at least one target account from the first account template to the second account template based on the target data and the account status, the method further comprises:
determining a balance attribute corresponding to the at least one target account, wherein the balance attribute represents a billing mode of an account balance of the target account;
determining balance information of the at least one target account based on the balance attribute corresponding to the at least one target account, the first subject and the second subject;
determining balance transfer-out data corresponding to the first subject and balance transfer-in data corresponding to the second subject based on the account balance of the at least one target account and the balance information;
and generating general ledger information of the current date based on the current balance of the first subject, the current balance of the second subject, the balance roll-out data and the balance roll-in data.
5. The method of claim 1, wherein after storing the account information of the at least one target account in the target storage area and setting the account status of the account information in the target storage area to the first status, the method further comprises:
updating a template state corresponding to the identifier of the first account template from a fourth state to a fifth state, wherein the identifier of the first account template is stored in the target storage area, the fourth state represents that the first account template is in a pending state, and the fifth state represents that the first account template is in a processed state.
6. The method according to claim 2, wherein before acquiring the target data in the target storage area when the current time is within a preset time range, the method comprises:
determining the current authority of the target platform;
and if the current authority representation allows the target platform to adjust the corresponding relation between the target account and the subject, determining whether the current time is within the preset time range.
7. An adjustment device for account subjects, comprising:
the system comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring target data in a target storage area, the target data is used for representing update information of a first account template updated to a second account template, the update information at least comprises a first subject corresponding to the first account template and a second subject corresponding to the second account template, the first subject is different from the second subject, each subject corresponds to at least one account template, each subject corresponds to at least one account, and the at least one account template represents a recording mode for recording account information corresponding to the subject;
a determining module, configured to determine, based on the target data, at least one target account to be adjusted, where a template corresponding to the target account is the first account template;
the processing module is used for storing the account information of the at least one target account into the target storage area, and setting the account state of the account information in the target storage area to be a first state, wherein the first state represents that the target account corresponding to the account information is in a state to be adjusted;
and the adjusting module is used for adjusting the template corresponding to the at least one target account from the first account template to the second account template based on the target data and the account status, so that the subject corresponding to the adjusted at least one target account is the second subject, and the account status of the account information is updated to be the second status, wherein the second status represents that the target account corresponding to the account information is in the adjusted status.
8. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to execute the method of adjusting account subjects of any one of claims 1 to 6 when executed.
9. An electronic device, wherein the electronic device comprises one or more processors; memory for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method for running a program, wherein the program is arranged to perform the method of adjusting account subjects of any of claims 1 to 6 when run.
10. A computer program product comprising computer programs/instructions, wherein the computer programs/instructions, when executed by a processor, implement the method of adjusting account subjects of any of claims 1 to 6.
CN202210822387.3A 2022-07-13 2022-07-13 Account subject adjusting method and device and electronic equipment Pending CN115205003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210822387.3A CN115205003A (en) 2022-07-13 2022-07-13 Account subject adjusting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210822387.3A CN115205003A (en) 2022-07-13 2022-07-13 Account subject adjusting method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115205003A true CN115205003A (en) 2022-10-18

Family

ID=83580185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210822387.3A Pending CN115205003A (en) 2022-07-13 2022-07-13 Account subject adjusting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115205003A (en)

Similar Documents

Publication Publication Date Title
CN110263024B (en) Data processing method, terminal device and computer storage medium
JP2003526823A (en) Enhanced matching apparatus and method for post-trading and settlement of securities transactions
CN110276614A (en) The update method and device of ledger
CN103971197A (en) Cross-border e-commerce reconciliation method and cross-border e-commerce reconciliation
CN109961359A (en) A kind of fund management method and capital management platform
CN110597919A (en) Data management method, device and equipment based on block chain and storage medium
CN111382081A (en) Entry verification test method and device
CN111444213B (en) Ledger clearing system and method based on credit business
CN110889687A (en) Method and device for processing account balance under distributed architecture
CN112907346A (en) Account checking data processing method and device
AU2016361449A1 (en) An electronic security system and method for investment transaction
CN115439191A (en) Order refund application processing method and system
CN117611371A (en) Commission returning method, apparatus, computer-readable storage medium, and electronic device
AU2016101535A4 (en) Computer-implemented methods and management systems for managing membership of a group
CN110135190B (en) Data management method, server and computer storage medium
US8478666B2 (en) System and method for processing data related to management of financial assets
CN115205003A (en) Account subject adjusting method and device and electronic equipment
CN109087201B (en) Data processing method, server and storage medium for virtual resources
CN113064837B (en) Database benchmark test method and device based on transaction scene
CN111797590A (en) Data checking method, device and equipment
CN103310372A (en) Method and system of extracting finance system data for taxation adjusting data processing
CN110930206A (en) Invoice matching method and device and storage medium
CN111127023A (en) Asset information processing method, device and equipment
CN110728571A (en) Loan amount allocation method and device
JP7013558B1 (en) Credit management system, credit management method and credit management program

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