CN116402571B - Budget data processing method, device, equipment and storage medium - Google Patents

Budget data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN116402571B
CN116402571B CN202310246229.2A CN202310246229A CN116402571B CN 116402571 B CN116402571 B CN 116402571B CN 202310246229 A CN202310246229 A CN 202310246229A CN 116402571 B CN116402571 B CN 116402571B
Authority
CN
China
Prior art keywords
item information
historical
service item
bar graph
piece
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
CN202310246229.2A
Other languages
Chinese (zh)
Other versions
CN116402571A (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.)
Shanghai Fengyun Network Technology Co ltd
Original Assignee
Shanghai Fengyun Network 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 Shanghai Fengyun Network Technology Co ltd filed Critical Shanghai Fengyun Network Technology Co ltd
Priority to CN202310246229.2A priority Critical patent/CN116402571B/en
Publication of CN116402571A publication Critical patent/CN116402571A/en
Application granted granted Critical
Publication of CN116402571B publication Critical patent/CN116402571B/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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/413Classification of content, e.g. text, photographs or tables
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Multimedia (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Artificial Intelligence (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of logistics, and discloses a method, a device, equipment and a storage medium for processing budget data, which are used for improving the accuracy of the budget data and realizing visual comparison of the budget data. The budget data processing method comprises the following steps: identifying the bill image to be processed to obtain the historical payment amount of each piece of historical service item information; determining corresponding initial budget data based on each history service item information; converting each historical payment amount and corresponding initial budget data to obtain a first bar chart and a second bar chart of each historical service item information respectively; if the first bar graph meets the preset condition, the corresponding second bar graph is adjusted to obtain a history bar graph of the history service item information; identifying the service item image to be processed to obtain current service item information; and inquiring through the historical bar graph to obtain a current bar graph of the current business item information, wherein the current bar graph is used for representing target budget data.

Description

Budget data processing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of logistics technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing budget data.
Background
With the development of economy, the more and more huge budget data, the more trend the budget management is towards electronic informatization, and the electronic informatization of the budget system has the advantages that a large amount of budget data can be rapidly and conveniently processed, and the conventional budget system provides a large amount of statistical reports, so that the business operation condition of enterprises is reflected more accurately, and decision making is facilitated.
However, the existing budget system requires a user to manually input budget data, and the budget data is represented by simple numbers, so that the operation process is complicated, and when a large amount of budget data exists, the complicated manual input process easily causes input errors of the budget data, thereby causing lower accuracy of the budget data.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for processing budget data, which are used for improving the accuracy of the budget data and realizing visual comparison of the budget data.
The first aspect of the present invention provides a method for processing budget data, including: acquiring a bill image to be processed, identifying and extracting the bill image to be processed to obtain historical bill data, wherein the historical bill data comprises at least one piece of historical business item information and historical payment amount corresponding to each piece of historical business item information; determining initial budget data corresponding to each piece of historical business item information based on each piece of historical business item information; converting the historical payment amount of each piece of historical business item information to obtain a first bar chart of each piece of historical business item information, and converting the initial budget data of each piece of historical business item information to obtain a second bar chart of each piece of historical business item information; judging the corresponding first bar graph through the second bar graph of each history service item information to obtain a first judging result; if the first judging result indicates that the first bar graph of the historical service item information meets the preset condition, the corresponding second bar graph is adjusted to obtain a historical bar graph of the historical service item information; acquiring a service item image to be processed, identifying and extracting the service item image to be processed to obtain current service item information; and carrying out bar chart query through the historical bar chart and the current business item information to obtain a current bar chart corresponding to the current business item information, wherein the current bar chart is used for representing target budget data corresponding to the current business item information.
In a possible implementation manner, the converting the historical payment amount of each piece of historical service item information to obtain a first bar chart of each piece of historical service item information, and converting the initial budget data of each piece of historical service item information to obtain a second bar chart of each piece of historical service item information includes: carrying out graphic conversion on the historical payment amount of each piece of historical business item information through a preset data visualization model to obtain a first rectangular area of each piece of historical business item information; carrying out data annotation on the first rectangular area of each piece of history business item information to obtain a first bar chart of each piece of history business item information; performing graphic conversion on the initial budget data of each piece of history service item information through the preset data visualization model to obtain a second rectangular area of each piece of history service item information; and marking the data of the second rectangular area of each piece of history business item information to obtain a second bar chart of each piece of history business item information.
In a possible implementation manner, the determining, by using the second bar graph of each historical service item information, the corresponding first bar graph to obtain a first determination result includes: performing area operation on the first bar graph of each piece of history service item information to obtain a first area of each piece of history service item information; performing area operation on the second bar graph of each piece of history service item information to obtain a second area of each piece of history service item information; calculating the first area and the second area of each historical service item information to obtain the area ratio between the first area and the second area of each historical service item information; if the area ratio corresponding to the historical service item information is larger than the preset ratio, determining the first judging result as that the first bar graph of the historical service item information meets the preset condition, wherein the preset condition is used for indicating that the area of a first area corresponding to the first bar graph of the historical service item information is larger than the area of a second area corresponding to the second bar graph; and if the area ratio corresponding to the historical service item information is smaller than or equal to the preset ratio, determining the first judgment result as that the first bar graph of the historical service item information does not meet the preset condition.
In a possible implementation manner, if the first judging result indicates that the first bar graph of the historical service item information meets a preset condition, the adjusting the corresponding second bar graph to obtain the historical bar graph of the historical service item information includes: if the first judging result indicates that the first bar graph of the historical service item information meets the preset condition, acquiring the service item number of the at least one piece of historical service item information; and adjusting the second bar graph corresponding to the historical service item information meeting the preset condition based on the service item quantity to obtain a historical bar graph corresponding to the historical service item information meeting the preset condition.
In a possible implementation manner, the adjusting, based on the number of service items, the second bar graph corresponding to the historical service item information meeting the preset condition to obtain the historical bar graph corresponding to the historical service item information meeting the preset condition includes: judging whether the number of the service items is equal to one or not to obtain a second judging result; if the second judging result indicates that the number of the service items is equal to one, performing area amplification of a first preset proportion on a second bar graph corresponding to the history service item information meeting the preset conditions to obtain a history bar graph corresponding to the history service item information meeting the preset conditions; if the second judging result indicates that the number of the service items is at least two, dividing a second bar graph corresponding to the history service item information which does not meet the preset condition in the at least two history service item information by a second preset proportion, and moving the second bar graph to the second bar graph corresponding to the history service item information which meets the preset condition, so as to obtain a history bar graph corresponding to the history service item information which meets the preset condition.
In a possible implementation manner, the performing the bar graph query through the historical bar graph and the current service item information to obtain a current bar graph corresponding to the current service item information includes: extracting the current service item information to obtain identification information corresponding to the current service item information; performing data query in a plurality of historical bar graphs according to the identification information to obtain a query result; and if the query result indicates that the identification information is matched with the preset identification of the target historical bar graph in the plurality of historical bar graphs, determining the target historical bar graph as the current bar graph corresponding to the current service item information.
In a possible implementation manner, the first bar graph and the second bar graph of each history service item information are arranged on a preset line segment with the same horizontal axis or the same vertical axis; and the line segments occupied by the first bar graph and the second bar graph of each historical service item information on the same horizontal axis or the same vertical axis are half of the preset line segments.
A second aspect of the present invention provides a budget data processing apparatus, comprising: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a bill image to be processed, identifying and extracting the bill image to be processed to obtain historical bill data, and the historical bill data comprises at least one piece of historical business item information and historical payment amount corresponding to each piece of historical business item information; the determining module is used for determining initial budget data corresponding to each piece of history business item information based on each piece of history business item information; the conversion module is used for converting the historical payment amount of each piece of historical business item information to obtain a first bar chart of each piece of historical business item information, and converting the initial budget data of each piece of historical business item information to obtain a second bar chart of each piece of historical business item information; the judging module is used for judging the corresponding first bar graph through the second bar graph of each history service item information to obtain a first judging result; the adjustment module is used for adjusting the corresponding second bar graph to obtain a history bar graph of the history business item information if the first judgment result indicates that the first bar graph of the history business item information meets the preset condition; the extraction module is used for acquiring a service item image to be processed, identifying and extracting the service item image to be processed to obtain current service item information; and the query module is used for carrying out bar graph query through the historical bar graph and the current service item information to obtain a current bar graph corresponding to the current service item information, wherein the current bar graph is used for representing target budget data corresponding to the current service item information.
In a possible embodiment, the conversion module is specifically configured to: carrying out graphic conversion on the historical payment amount of each piece of historical business item information through a preset data visualization model to obtain a first rectangular area of each piece of historical business item information; carrying out data annotation on the first rectangular area of each piece of history business item information to obtain a first bar chart of each piece of history business item information; performing graphic conversion on the initial budget data of each piece of history service item information through the preset data visualization model to obtain a second rectangular area of each piece of history service item information; and marking the data of the second rectangular area of each piece of history business item information to obtain a second bar chart of each piece of history business item information.
In a possible implementation manner, the judging module is specifically configured to: performing area operation on the first bar graph of each piece of history service item information to obtain a first area of each piece of history service item information; performing area operation on the second bar graph of each piece of history service item information to obtain a second area of each piece of history service item information; calculating the first area and the second area of each historical service item information to obtain the area ratio between the first area and the second area of each historical service item information; if the area ratio corresponding to the historical service item information is larger than the preset ratio, determining the first judging result as that the first bar graph of the historical service item information meets the preset condition, wherein the preset condition is used for indicating that the area of a first area corresponding to the first bar graph of the historical service item information is larger than the area of a second area corresponding to the second bar graph; and if the area ratio corresponding to the historical service item information is smaller than or equal to the preset ratio, determining the first judgment result as that the first bar graph of the historical service item information does not meet the preset condition.
In a possible embodiment, the adjustment module includes: the acquiring unit is used for acquiring the service item number of the at least one piece of history service item information if the first judging result indicates that the first bar graph of the history service item information meets the preset condition; and the adjusting unit is used for adjusting the second bar graph corresponding to the historical service item information meeting the preset condition based on the service item quantity to obtain a historical bar graph corresponding to the historical service item information meeting the preset condition.
In a possible embodiment, the adjusting unit is specifically configured to: judging whether the number of the service items is equal to one or not to obtain a second judging result; if the second judging result indicates that the number of the service items is equal to one, performing area amplification of a first preset proportion on a second bar graph corresponding to the history service item information meeting the preset conditions to obtain a history bar graph corresponding to the history service item information meeting the preset conditions; if the second judging result indicates that the number of the service items is at least two, dividing a second bar graph corresponding to the history service item information which does not meet the preset condition in the at least two history service item information by a second preset proportion, and moving the second bar graph to the second bar graph corresponding to the history service item information which meets the preset condition, so as to obtain a history bar graph corresponding to the history service item information which meets the preset condition.
In a possible implementation, the query module is specifically configured to: extracting the current service item information to obtain identification information corresponding to the current service item information; performing data query in a plurality of historical bar graphs according to the identification information to obtain a query result; and if the query result indicates that the identification information is matched with the preset identification of the target historical bar graph in the plurality of historical bar graphs, determining the target historical bar graph as the current bar graph corresponding to the current service item information.
In a possible implementation manner, the first bar graph and the second bar graph of each history service item information are arranged on a preset line segment with the same horizontal axis or the same vertical axis; and the line segments occupied by the first bar graph and the second bar graph of each historical service item information on the same horizontal axis or the same vertical axis are half of the preset line segments.
A third aspect of the present invention provides a budget data processing apparatus, comprising: a memory and at least one processor, the memory having instructions stored therein; the at least one processor invokes the instructions in the memory to cause the budget data processing device to perform the budget data processing method described above.
A fourth aspect of the present invention provides a computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the above-described method of processing budget data.
In the technical scheme provided by the invention, a bill image to be processed is obtained, the bill image to be processed is identified and extracted to obtain historical bill data, and the historical bill data comprises at least one piece of historical service item information and historical payment amount corresponding to each piece of historical service item information; determining initial budget data corresponding to each piece of historical business item information based on each piece of historical business item information; converting the historical payment amount of each piece of historical business item information to obtain a first bar chart of each piece of historical business item information, and converting the initial budget data of each piece of historical business item information to obtain a second bar chart of each piece of historical business item information; judging the corresponding first bar graph through the second bar graph of each history service item information to obtain a first judging result; if the first judging result indicates that the first bar graph of the historical service item information meets the preset condition, the corresponding second bar graph is adjusted to obtain a historical bar graph of the historical service item information; acquiring a service item image to be processed, identifying and extracting the service item image to be processed to obtain current service item information; and carrying out bar chart query through the historical bar chart and the current business item information to obtain a current bar chart corresponding to the current business item information, wherein the current bar chart is used for representing target budget data corresponding to the current business item information. In the embodiment of the invention, the to-be-processed bill image is identified and extracted to obtain the historical payment amount of each historical business item information, the corresponding initial budget data is determined based on each historical business item information, each historical payment amount and the corresponding initial budget data are converted to respectively obtain the first bar chart and the second bar chart of each historical business item information, if the first bar chart meets the preset condition, the corresponding second bar chart is adjusted to obtain the historical bar chart of the historical business item information, the to-be-processed business item image is identified and extracted to obtain the current business item information, the current bar chart of the current business item information is obtained by inquiring the historical bar chart and the current business item information, the current bar chart is used for representing target budget data, the problem of errors caused by manually inputting the budget data is avoided, the accuracy of the budget data is improved, the visual comparison of the historical payment amount of the historical business item information and the initial budget data is realized, and the visual display of the current business item information and the visual comparison of the current business item information and other current business item information are realized.
Drawings
FIG. 1 is a schematic diagram of an embodiment of a method for processing budget data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of one embodiment of a target bar chart of historical business item information in an embodiment of the invention;
FIG. 3 is a schematic diagram of another embodiment of a method for processing budget data according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an embodiment of a preset line segment in which a first bar chart and a second bar chart of historical service item information are set on the same horizontal axis in an embodiment of the present invention;
FIG. 5 is a schematic diagram of one embodiment of a current bar chart of current business item information according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an embodiment of a budget data processing apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another embodiment of a budget data processing apparatus according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an embodiment of a budget data processing apparatus according to an embodiment of the present invention.
Detailed Description
The invention provides a method, a device, equipment and a storage medium for processing budget data, which are used for improving the accuracy of the budget data and realizing visual comparison of the budget data.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," or any other variation 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 or inherent to such process, method, article, or apparatus.
For easy understanding, the following describes a specific flow of an embodiment of the present invention, referring to fig. 1, and one embodiment of a method for processing budget data in an embodiment of the present invention includes:
101. Acquiring a bill image to be processed, identifying and extracting the bill image to be processed to obtain historical bill data, wherein the historical bill data comprises at least one historical service item information and a historical payment amount corresponding to each historical service item information;
It is to be understood that the execution body of the present invention may be a budget data processing device, and may also be a terminal, which is not limited herein. The embodiment of the invention is described by taking the terminal as an execution main body as an example.
In this embodiment, the terminal obtains the image of the bill to be processed, invokes the character recognition module to recognize and extract the image of the bill to be processed, and obtains the historical bill data, where the character recognition module is a module that adopts character recognition (Optical Character Recognise, OCR).
The historical business item information is used for representing past business items of an enterprise, such as a human business item, a social security business item and a leasing business item, and the historical payment limit of the historical business item information is used for representing assets spent in the corresponding business item.
102. Determining initial budget data corresponding to each piece of historical business item information based on each piece of historical business item information;
In this embodiment, the terminal extracts each piece of history service item information to obtain a keyword of each piece of history service item information, performs data query in multiple sets of initial budget data according to the keyword of each piece of history service item information, and if the keyword of the history service item information matches with a preset keyword of target initial budget data in multiple sets of initial budget data, determines the target initial budget data as initial budget data corresponding to the history service item information.
103. Converting the historical payment amount of each piece of historical business item information to obtain a first bar chart of each piece of historical business item information, and converting the initial budget data of each piece of historical business item information to obtain a second bar chart of each piece of historical business item information;
in this embodiment, the terminal converts the historical payment amount of each piece of historical service item information through a preset data visualization model to obtain a first bar chart of each piece of historical service item information, and converts the initial budget data of each piece of historical service item information through the preset data visualization model to obtain a second bar chart of each piece of historical service item information. By way of example and not limitation, the preset data visualization model may be an existing data visualization tool, not limited herein.
104. Judging the corresponding first bar graph through the second bar graph of each history service item information to obtain a first judging result;
In this embodiment, the terminal performs an area operation on the first bar graph and the second bar graph of each history service item information to obtain a first area corresponding to the first bar graph of each history service item information and a second area corresponding to the second bar graph of each history service item information, and determines the first bar graph of each history service item information according to the first area and the second area of each history service item information to obtain a first determination result.
In a possible implementation manner, the judging of the corresponding first bar graph through the second bar graph of each historical service item information to obtain the first judging result includes: (1) The terminal fills the first bar graph of each history service item information to obtain a filled bar graph of each history service item information; (2) The terminal carries out superposition processing on the filled bar graph of each history service item information and a corresponding second bar graph, and sets a corresponding superposition area as an unfilled blank area to obtain a target bar graph of each history service item information, wherein the second bar graph is the unfilled blank bar graph; (3) If a filling area exists in the target bar graph of the historical service item information, the terminal determines a first judging result as that the first bar graph of the historical service item information meets a preset condition; (4) If the filling area does not exist in the target bar graph of the historical service item information, the terminal determines that the first bar graph of the historical service item information does not meet the preset condition according to the first judging result.
For example, the number of the history service item information is 1, the terminal performs filling processing on the first bar graph of the history service item information to obtain a filled bar graph 201 of the history service item information, the terminal performs superposition processing on the filled bar graph 201 of the history service item information and a corresponding second bar graph 202, and sets a corresponding superposition area as an unfilled blank area to obtain a target bar graph 203 of the history service item information, the second bar graph is an unfilled blank bar graph, if the filled area exists in the target bar graph 203 of the history service item information, the terminal determines that the first judgment result is that the first bar graph of the history service item information meets a preset condition, as shown in fig. 2, fig. 2 is a schematic diagram of the target bar graph 203 of the history service item information, and it should be noted that fig. 2 is only a schematic diagram, and a specific graphic display area can be set according to an actual application scene.
105. If the first judging result indicates that the first bar graph of the historical service item information meets the preset condition, the corresponding second bar graph is adjusted to obtain a historical bar graph of the historical service item information;
In this embodiment, if the first judgment result indicates that the first bar graph of the historical service item information meets the preset condition, the terminal amplifies the second bar graph corresponding to the historical service item information meeting the preset condition according to at least one of the historical service item information, and obtains the historical bar graph corresponding to the historical service item information meeting the preset condition.
106. Acquiring a service item image to be processed, identifying and extracting the service item image to be processed to obtain current service item information;
In this embodiment, the terminal obtains the service item image to be processed, invokes the character recognition module to recognize and extract the service item image to be processed to obtain the current service item information, where the character recognition module is a module that adopts character recognition (Optical Character Recognise, OCR).
The current business item information is used for representing current business items of an enterprise, such as a human business item, a social security business item and a leasing business item.
107. And carrying out bar chart query through the historical bar chart and the current business item information to obtain a current bar chart corresponding to the current business item information, wherein the current bar chart is used for representing target budget data corresponding to the current business item information.
In this embodiment, the terminal obtains the history bar graph of each history service item information in the at least one history service item information by adjusting the second bar graph corresponding to the history service item information meeting the preset condition, so that the terminal can determine, according to the history bar graph, that the current bar graph corresponding to the current service item information, that is, that any history service item information in the current service item information and the at least one history service item information is the same.
In the embodiment of the invention, the to-be-processed bill image is identified and extracted to obtain the historical payment amount of each historical business item information, the corresponding initial budget data is determined based on each historical business item information, each historical payment amount and the corresponding initial budget data are converted to respectively obtain the first bar chart and the second bar chart of each historical business item information, if the first bar chart meets the preset condition, the corresponding second bar chart is adjusted to obtain the historical bar chart of the historical business item information, the to-be-processed business item image is identified and extracted to obtain the current business item information, the current bar chart of the current business item information is obtained by inquiring the historical bar chart and the current business item information, the current bar chart is used for representing target budget data, the problem of errors caused by manually inputting the budget data is avoided, the accuracy of the budget data is improved, the visual comparison of the historical payment amount of the historical business item information and the initial budget data is realized, and the visual display of the current business item information and the visual comparison of the current business item information and other current business item information are realized.
Referring to fig. 3, another embodiment of a method for processing budget data according to an embodiment of the present invention includes:
301. Acquiring a bill image to be processed, identifying and extracting the bill image to be processed to obtain historical bill data, wherein the historical bill data comprises at least one historical service item information and a historical payment amount corresponding to each historical service item information;
The execution steps of step 301 are the same as those of step 101, and will not be described in detail here.
302. Determining initial budget data corresponding to each piece of historical business item information based on each piece of historical business item information;
The steps of step 302 are the same as the steps of step 102, and are not described in detail herein.
In the embodiment, at least one historical service item information is obtained by identifying and extracting the bill image to be processed, and initial budget data corresponding to each historical service item information is determined according to each historical service item information, so that the problem of errors caused by manual input of budget data is avoided, and the accuracy of the budget data is improved.
303. Converting the historical payment amount of each piece of historical business item information to obtain a first bar chart of each piece of historical business item information, and converting the initial budget data of each piece of historical business item information to obtain a second bar chart of each piece of historical business item information;
It should be noted that, the first bar graph and the second bar graph of each history service item information are set in the same horizontal axis or the same vertical axis of the preset line segment; the line segments occupied by the first bar graph and the second bar graph of each historical service item information on the same horizontal axis or the same vertical axis are half of the preset line segments. For example, as shown in fig. 4, fig. 4 is a schematic diagram of a preset line segment 403 of the first bar chart 401 and the second bar chart 402 of the historical service item information, where the line segments occupied by the first bar chart 401 and the second bar chart 402 on the same horizontal axis are half of the preset line segment 403, it can be understood that fig. 4 is only a schematic diagram, and a specific graphic display area can be set according to an actual application scenario.
Specifically, (1) the terminal graphically converts the historical payment amount of each piece of historical service item information through a preset data visualization model to obtain a first rectangular area of each piece of historical service item information; (2) The terminal marks the first rectangular area of each piece of history service item information to obtain a first bar chart of each piece of history service item information; (3) The terminal graphically converts the initial budget data of each piece of history service item information through a preset data visualization model to obtain a second rectangular area of each piece of history service item information; (4) And the terminal performs data annotation on the second rectangular area of each piece of history service item information to obtain a second bar graph of each piece of history service item information.
For example, the terminal graphically converts the historical payment amount of each piece of historical service item information through a preset data visualization model to obtain a first rectangular area of each piece of historical service item information, and the terminal performs data labeling on the first rectangular area of each piece of historical service item information to obtain a first bar graph of each piece of historical service item information, wherein the data labeling can be to label the numerical value of the historical payment amount above or inside the first rectangular area, or label the name corresponding to the historical service item information above or inside the first rectangular area, the terminal graphically converts the initial budget data of each piece of historical service item information through the preset data visualization model to obtain a second rectangular area of each piece of historical service item information, and the terminal performs data labeling on the second rectangular area of each piece of historical service item information to obtain a second bar graph of each piece of historical service item information, and the data labeling can be to label the numerical value of the initial budget data above or inside the second rectangular area, or label the name corresponding to the historical service item information above or inside the second rectangular area.
304. Judging the corresponding first bar graph through the second bar graph of each history service item information to obtain a first judging result;
Specifically, (1) the terminal performs area operation on the first bar graph of each piece of history service item information to obtain a first area of each piece of history service item information; (2) The terminal performs area operation on the second bar graph of each piece of history service item information to obtain a second area of each piece of history service item information; (3) The terminal calculates the first area and the second area of each historical service item information to obtain the area ratio between the first area and the second area of each historical service item information; (4) If the area ratio corresponding to the historical service item information is larger than the preset ratio, the terminal determines that the first bar graph of the historical service item information meets the preset condition according to the first judging result, wherein the preset condition is used for indicating that the area of a first area corresponding to the first bar graph of the historical service item information is larger than the area of a second area corresponding to the second bar graph; (5) If the area ratio corresponding to the historical service item information is smaller than or equal to the preset ratio, the terminal determines that the first bar graph of the historical service item information does not meet the preset condition according to the first judging result.
The preset ratio is 1. For example, the number of history service item information is2, respectively: the terminal carries out area operation on the first bar graph of each history service item information to obtain the first area of the first history service item information as 12, the first area of the second history service item information as 8, the terminal carries out area operation on the second bar graph of each history service item information to obtain the second area of the first history service item information as 10, the second area of the second history service item information as 10, the terminal carries out operation on the first area of each history service item information and the second area to obtain the area ratio of the first history service item information as 1.2, the area ratio of the second history service item information as 0.8, namely the area ratio of the first history service item information as 1.2 is larger than the preset ratio of 1, the terminal determines that the first bar graph of the first history service item information meets the preset condition, the area ratio of the second history service item information as 0.8 is smaller than the preset ratio of 1, and the terminal determines that the first judgment result as the first bar graph of the second history service item information does not meet the preset condition.
In this embodiment, the terminal converts each historical payment amount and corresponding initial budget data to obtain a first bar chart and a second bar chart of each historical service item information, and visual comparison of the historical payment amount and the initial budget data is achieved through the first bar chart and the second bar chart.
305. If the first judging result indicates that the first bar graph of the historical service item information meets the preset condition, acquiring the service item number of at least one piece of historical service item information;
The preset condition is used for indicating that the area of a first area corresponding to the first bar graph of the historical service item information is larger than the area of a second area corresponding to the second bar graph.
306. Adjusting the second bar graph corresponding to the historical service item information meeting the preset conditions based on the service item quantity to obtain a historical bar graph corresponding to the historical service item information meeting the preset conditions;
Specifically, (1) the terminal judges whether the number of service items is equal to one, and a second judgment result is obtained; (2) If the second judging result indicates that the number of the service items is equal to one, the terminal performs region amplification of a first preset proportion on a second bar graph corresponding to the history service item information meeting the preset condition to obtain a history bar graph corresponding to the history service item information meeting the preset condition; (3) If the second judging result indicates that the number of the service items is at least two, the terminal divides the second bar graph corresponding to the history service item information which does not meet the preset condition in the at least two history service item information by a second preset proportion and moves the second bar graph to the second bar graph corresponding to the history service item information which meets the preset condition, and the history bar graph corresponding to the history service item information which meets the preset condition is obtained.
For example, the terminal judges whether the number of service items is equal to one, a second judging result is obtained, if the second judging result indicates that the number of service items is equal to one, the terminal performs area amplification of a first preset proportion on a second bar graph corresponding to the history service item information meeting the preset condition, so as to obtain a history bar graph corresponding to the history service item information meeting the preset condition, wherein, as an example but not by limitation, the first preset proportion may be 10%, or may be 20%, a specific first preset proportion may be set according to an actual application scene, that is, the terminal performs area amplification of 10% on the second bar graph corresponding to the history service item information meeting the preset condition, for example, the terminal amplifies the area of 10% on the second bar graph to 11, if the second judging result indicates that the number of service items is at least two, the terminal performs segmentation of a second preset proportion on the second bar graph corresponding to the history service item information not meeting the preset condition in the at least two history service item information, and moves to the second bar graph corresponding to the history service item information meeting the preset condition, so as an example but not to obtain the specific preset condition, the second bar graph corresponding to the history service item information meeting the preset condition, wherein, the specific first preset proportion may be 20% is obtained, and the specific service item information corresponding to the history item information is not meeting the preset condition is set.
In this embodiment, the terminal adjusts the second bar graph corresponding to the history service item information meeting the preset condition based on the number of service items, so as to obtain a history bar graph corresponding to the history service item information meeting the preset condition, so that the area of the history bar graph corresponding to the history service item information meeting the preset condition is larger than that of the first bar graph, thereby implementing adjustment of initial budget data of the history service item information, and intuitively displaying the initial budget data of the history service item information.
307. Acquiring a service item image to be processed, identifying and extracting the service item image to be processed to obtain current service item information;
the step 307 is performed in the same manner as the step 106, and will not be described in detail here.
308. And carrying out bar chart query through the historical bar chart and the current business item information to obtain a current bar chart corresponding to the current business item information, wherein the current bar chart is used for representing target budget data corresponding to the current business item information.
Specifically, (1) the terminal extracts the current service item information to obtain the identification information corresponding to the current service item information; (2) The terminal performs data query in the plurality of historical bar graphs according to the identification information to obtain a query result; (3) If the query result indicates that the identification information is matched with the preset identification of the target historical bar graph in the plurality of historical bar graphs, the terminal determines the target historical bar graph as the current bar graph corresponding to the current service item information.
For example, the terminal extracts the current service item information, and the obtained identification information corresponding to the current service item information is: and a, the terminal performs data query in the plurality of historical bar graphs according to the identification information to obtain a query result, and if the query result indicates that the identification information a is matched with a preset identification A of a target historical bar graph in the plurality of historical bar graphs, the terminal determines the target historical bar graph as a current bar graph corresponding to the current service item information.
It may be understood that in this embodiment, the terminal may perform a bar chart query on one or more pieces of current service item information to obtain a current bar chart corresponding to each piece of current service item information, and display the current bar chart corresponding to each piece of current service item information on the same screen. For example, as shown in fig. 5, fig. 5 is a schematic diagram of a current bar chart of each current service item information, it can be understood that fig. 5 is only a schematic diagram, and a specific graphic display area can be set according to an actual application scenario, and it is assumed that the number of one or more current service item information is 3, and the number is respectively: the method comprises the steps of first current business item information, second current business item information and third current business item information, wherein the first current business item information corresponds to a first current bar chart 501, the second current business item information corresponds to a second current bar chart 502, the third current business item information corresponds to a third current bar chart 503, visual comparison of budget data corresponding to each piece of current business item information is achieved, and the problem of errors caused by manual budget data input is avoided through image recognition and bar chart query modes, so that accuracy of budget data is improved.
In the embodiment of the invention, the to-be-processed bill image is identified and extracted to obtain the historical payment amount of each historical business item information, the corresponding initial budget data is determined based on each historical business item information, each historical payment amount and the corresponding initial budget data are converted to respectively obtain the first bar chart and the second bar chart of each historical business item information, if the first bar chart meets the preset condition, the corresponding second bar chart is adjusted to obtain the historical bar chart of the historical business item information, the to-be-processed business item image is identified and extracted to obtain the current business item information, the current bar chart of the current business item information is obtained by inquiring the historical bar chart and the current business item information, the current bar chart is used for representing target budget data, the problem of errors caused by manually inputting the budget data is avoided, the accuracy of the budget data is improved, the visual comparison of the historical payment amount of the historical business item information and the initial budget data is realized, and the visual display of the current business item information and the visual comparison of the current business item information and other current business item information are realized.
The foregoing describes a method for processing budget data in an embodiment of the present invention, and the following describes a device for processing budget data in an embodiment of the present invention, referring to fig. 6, one embodiment of the device for processing budget data in an embodiment of the present invention includes:
the obtaining module 601 is configured to obtain a bill image to be processed, identify and extract the bill image to be processed, and obtain historical bill data, where the historical bill data includes at least one historical service item information and a historical payment amount corresponding to each historical service item information;
A determining module 602, configured to determine initial budget data corresponding to each piece of historical service item information based on each piece of historical service item information;
The conversion module 603 is configured to convert the historical payment amount of each piece of historical service item information to obtain a first bar chart of each piece of historical service item information, and convert the initial budget data of each piece of historical service item information to obtain a second bar chart of each piece of historical service item information;
The judging module 604 is configured to judge the corresponding first bar graph according to the second bar graph of each historical service item information, so as to obtain a first judging result;
The adjustment module 605 is configured to adjust the corresponding second bar graph to obtain a history bar graph of the history service item information if the first judgment result indicates that the first bar graph of the history service item information meets a preset condition;
The extracting module 606 is configured to obtain a service item image to be processed, identify and extract the service item image to be processed, and obtain current service item information;
the query module 607 is configured to query a bar graph according to the historical bar graph and the current service item information, to obtain a current bar graph corresponding to the current service item information, where the current bar graph is used to represent target budget data corresponding to the current service item information.
In the embodiment of the invention, the to-be-processed bill image is identified and extracted to obtain the historical payment amount of each historical business item information, the corresponding initial budget data is determined based on each historical business item information, each historical payment amount and the corresponding initial budget data are converted to respectively obtain the first bar chart and the second bar chart of each historical business item information, if the first bar chart meets the preset condition, the corresponding second bar chart is adjusted to obtain the historical bar chart of the historical business item information, the to-be-processed business item image is identified and extracted to obtain the current business item information, the current bar chart of the current business item information is obtained by inquiring the historical bar chart and the current business item information, the current bar chart is used for representing target budget data, the problem of errors caused by manually inputting the budget data is avoided, the accuracy of the budget data is improved, the visual comparison of the historical payment amount of the historical business item information and the initial budget data is realized, and the visual display of the current business item information and the visual comparison of the current business item information and other current business item information are realized.
Referring to fig. 7, another embodiment of a budget data processing apparatus according to an embodiment of the present invention includes:
the obtaining module 601 is configured to obtain a bill image to be processed, identify and extract the bill image to be processed, and obtain historical bill data, where the historical bill data includes at least one historical service item information and a historical payment amount corresponding to each historical service item information;
A determining module 602, configured to determine initial budget data corresponding to each piece of historical service item information based on each piece of historical service item information;
The conversion module 603 is configured to convert the historical payment amount of each piece of historical service item information to obtain a first bar chart of each piece of historical service item information, and convert the initial budget data of each piece of historical service item information to obtain a second bar chart of each piece of historical service item information;
The judging module 604 is configured to judge the corresponding first bar graph according to the second bar graph of each historical service item information, so as to obtain a first judging result;
The adjustment module 605 is configured to adjust the corresponding second bar graph to obtain a history bar graph of the history service item information if the first judgment result indicates that the first bar graph of the history service item information meets a preset condition;
The extracting module 606 is configured to obtain a service item image to be processed, identify and extract the service item image to be processed, and obtain current service item information;
the query module 607 is configured to query a bar graph according to the historical bar graph and the current service item information, to obtain a current bar graph corresponding to the current service item information, where the current bar graph is used to represent target budget data corresponding to the current service item information.
Optionally, the conversion module 603 is specifically configured to:
Carrying out graphic conversion on the historical payment amount of each piece of historical business item information through a preset data visualization model to obtain a first rectangular area of each piece of historical business item information;
Carrying out data annotation on the first rectangular area of each piece of history business item information to obtain a first bar chart of each piece of history business item information;
Graphically converting initial budget data of each piece of historical service item information through a preset data visualization model to obtain a second rectangular area of each piece of historical service item information;
and marking the data of the second rectangular area of each piece of history business item information to obtain a second bar chart of each piece of history business item information.
Optionally, the judging module 604 is specifically configured to:
performing area operation on the first bar graph of each piece of history service item information to obtain a first area of each piece of history service item information;
Performing area operation on the second bar graph of each piece of history service item information to obtain a second area of each piece of history service item information;
calculating the first area and the second area of each historical service item information to obtain the area ratio between the first area and the second area of each historical service item information;
if the area ratio corresponding to the historical service item information is larger than the preset ratio, determining that the first bar graph of the historical service item information meets a preset condition according to the first judging result, wherein the preset condition is used for indicating that the area of a first area corresponding to the first bar graph of the historical service item information is larger than the area of a second area corresponding to the second bar graph;
if the area ratio corresponding to the historical service item information is smaller than or equal to the preset ratio, determining the first judging result as that the first bar graph of the historical service item information does not meet the preset condition.
Optionally, the adjusting module 605 includes:
An obtaining unit 6051, configured to obtain the number of service items of the at least one piece of history service item information if the first judgment result indicates that the first bar graph of the history service item information meets a preset condition;
and an adjusting unit 6052, configured to adjust, based on the number of service items, the second bar graph corresponding to the history service item information that satisfies the preset condition, to obtain a history bar graph corresponding to the history service item information that satisfies the preset condition.
Optionally, the adjusting unit 6052 specifically is configured to:
judging whether the number of the service items is equal to one or not to obtain a second judging result;
If the second judging result indicates that the number of the service items is equal to one, performing region amplification of a first preset proportion on a second bar graph corresponding to the history service item information meeting the preset conditions to obtain a history bar graph corresponding to the history service item information meeting the preset conditions;
If the second judging result indicates that the number of the service items is at least two, dividing a second bar graph corresponding to the history service item information which does not meet the preset condition in the at least two history service item information by a second preset proportion and moving the second bar graph to a second bar graph corresponding to the history service item information which meets the preset condition, so as to obtain a history bar graph corresponding to the history service item information which meets the preset condition.
Optionally, the query module 607 is specifically configured to:
extracting the current service item information to obtain identification information corresponding to the current service item information;
performing data query in a plurality of historical bar graphs according to the identification information to obtain a query result;
and if the query result indicates that the identification information is matched with the preset identification of the target historical bar graph in the plurality of historical bar graphs, determining the target historical bar graph as the current bar graph corresponding to the current service item information.
Optionally, the first bar graph and the second bar graph of each history service item information are set on a preset line segment of the same horizontal axis or the same vertical axis;
The line segments occupied by the first bar graph and the second bar graph of each historical service item information on the same horizontal axis or the same vertical axis are half of the preset line segments.
In the embodiment of the invention, the to-be-processed bill image is identified and extracted to obtain the historical payment amount of each historical business item information, the corresponding initial budget data is determined based on each historical business item information, each historical payment amount and the corresponding initial budget data are converted to respectively obtain the first bar chart and the second bar chart of each historical business item information, if the first bar chart meets the preset condition, the corresponding second bar chart is adjusted to obtain the historical bar chart of the historical business item information, the to-be-processed business item image is identified and extracted to obtain the current business item information, the current bar chart of the current business item information is obtained by inquiring the historical bar chart and the current business item information, the current bar chart is used for representing target budget data, the problem of errors caused by manually inputting the budget data is avoided, the accuracy of the budget data is improved, the visual comparison of the historical payment amount of the historical business item information and the initial budget data is realized, and the visual display of the current business item information and the visual comparison of the current business item information and other current business item information are realized.
The budget data processing apparatus in the embodiment of the present invention is described in detail above in fig. 6 and fig. 7 from the point of view of modularized functional entities, and the budget data processing device in the embodiment of the present invention is described in detail below from the point of view of hardware processing.
Fig. 8 is a schematic structural diagram of a budget data processing device provided in an embodiment of the present invention, where the budget data processing device 800 may have a relatively large difference due to different configurations or performances, and may include one or more processors (central processing units, CPU) 810 (e.g., one or more processors) and a memory 820, one or more storage mediums 830 (e.g., one or more mass storage devices) storing application programs 833 or data 832. Wherein memory 820 and storage medium 830 can be transitory or persistent. The program stored on the storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations in the processing device 800 for budget data. Still further, the processor 810 may be arranged to communicate with a storage medium 830, executing a series of instruction operations in the storage medium 830 on the budget data processing device 800.
The budget data processing device 800 also can include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input/output interfaces 860, and/or one or more operating systems 831, such as Windows Serve, mac OS X, unix, linux, freeBSD, and the like. It will be appreciated by those skilled in the art that the budget data processing device structure shown in FIG. 8 does not constitute a limitation of the budget data processing device, and may include more or fewer components than shown, or may combine certain components, or may be a different arrangement of components.
The present invention also provides a budget data processing apparatus, including a memory and a processor, wherein the memory stores computer readable instructions, which when executed by the processor, cause the processor to execute the steps of the budget data processing method in the above embodiments.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, or a volatile computer readable storage medium, having stored therein instructions that, when executed on a computer, cause the computer to perform the steps of the method for processing budget data.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform 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 removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for processing budget data, the method comprising:
Acquiring a bill image to be processed, identifying and extracting the bill image to be processed to obtain historical bill data, wherein the historical bill data comprises at least one piece of historical business item information and historical payment amount corresponding to each piece of historical business item information;
Determining initial budget data corresponding to each piece of historical business item information based on each piece of historical business item information;
Converting the historical payment amount of each piece of historical business item information to obtain a first bar chart of each piece of historical business item information, and converting the initial budget data of each piece of historical business item information to obtain a second bar chart of each piece of historical business item information;
Judging the corresponding first bar graph through the second bar graph of each history service item information to obtain a first judging result;
If the first judging result indicates that the first bar graph of the historical service item information meets the preset condition, the corresponding second bar graph is adjusted to obtain the historical bar graph of the historical service item information, and the preset condition is used for indicating that the area of a first area corresponding to the first bar graph of the historical service item information is larger than the area of a second area corresponding to the second bar graph;
Acquiring a service item image to be processed, identifying and extracting the service item image to be processed to obtain current service item information;
and carrying out bar chart query through the historical bar chart and the current business item information to obtain a current bar chart corresponding to the current business item information, wherein the current bar chart is used for representing target budget data corresponding to the current business item information.
2. The method for processing budget data according to claim 1, wherein said converting the historical payment amount of each historical service item information to obtain a first bar chart of each historical service item information, and converting the initial budget data of each historical service item information to obtain a second bar chart of each historical service item information, comprises:
Carrying out graphic conversion on the historical payment amount of each piece of historical business item information through a preset data visualization model to obtain a first rectangular area of each piece of historical business item information;
Carrying out data annotation on the first rectangular area of each piece of history business item information to obtain a first bar chart of each piece of history business item information;
performing graphic conversion on the initial budget data of each piece of history service item information through the preset data visualization model to obtain a second rectangular area of each piece of history service item information;
and marking the data of the second rectangular area of each piece of history business item information to obtain a second bar chart of each piece of history business item information.
3. The method for processing budget data according to claim 1, wherein said determining the corresponding first bar graph by the second bar graph of each history service item information to obtain the first determination result includes:
performing area operation on the first bar graph of each piece of history service item information to obtain a first area of each piece of history service item information;
Performing area operation on the second bar graph of each piece of history service item information to obtain a second area of each piece of history service item information;
calculating the first area and the second area of each historical service item information to obtain the area ratio between the first area and the second area of each historical service item information;
If the area ratio corresponding to the historical service item information is larger than the preset ratio, determining the first judging result as that the first bar graph of the historical service item information meets the preset condition, wherein the preset condition is used for indicating that the area of a first area corresponding to the first bar graph of the historical service item information is larger than the area of a second area corresponding to the second bar graph;
and if the area ratio corresponding to the historical service item information is smaller than or equal to the preset ratio, determining the first judgment result as that the first bar graph of the historical service item information does not meet the preset condition.
4. The method for processing budget data according to claim 1, wherein if the first judgment result indicates that the first bar graph of the historical service item information meets a preset condition, adjusting the corresponding second bar graph to obtain the historical bar graph of the historical service item information, includes:
If the first judging result indicates that the first bar graph of the historical service item information meets the preset condition, acquiring the service item number of the at least one piece of historical service item information;
And adjusting the second bar graph corresponding to the historical service item information meeting the preset condition based on the service item quantity to obtain a historical bar graph corresponding to the historical service item information meeting the preset condition.
5. The method for processing budget data according to claim 4, wherein said adjusting the second bar graph corresponding to the history service item information satisfying the preset condition based on the service item number to obtain the history bar graph corresponding to the history service item information satisfying the preset condition includes:
judging whether the number of the service items is equal to one or not to obtain a second judging result;
If the second judging result indicates that the number of the service items is equal to one, performing area amplification of a first preset proportion on a second bar graph corresponding to the history service item information meeting the preset conditions to obtain a history bar graph corresponding to the history service item information meeting the preset conditions;
If the second judging result indicates that the number of the service items is at least two, dividing a second bar graph corresponding to the history service item information which does not meet the preset condition in the at least two history service item information by a second preset proportion, and moving the second bar graph to the second bar graph corresponding to the history service item information which meets the preset condition, so as to obtain a history bar graph corresponding to the history service item information which meets the preset condition.
6. The method for processing budget data according to any one of claims 1-5, wherein said performing a bar chart query through the historical bar chart and the current service item information to obtain a current bar chart corresponding to the current service item information includes:
Extracting the current service item information to obtain identification information corresponding to the current service item information;
performing data query in a plurality of historical bar graphs according to the identification information to obtain a query result;
And if the query result indicates that the identification information is matched with the preset identification of the target historical bar graph in the plurality of historical bar graphs, determining the target historical bar graph as the current bar graph corresponding to the current service item information.
7. A method of processing budget data according to claim 1, wherein,
The first bar graph and the second bar graph of each history service item information are arranged on a preset line segment with the same horizontal axis or the same vertical axis;
And the line segments occupied by the first bar graph and the second bar graph of each historical service item information on the same horizontal axis or the same vertical axis are half of the preset line segments.
8. A budget data processing device, characterized in that the budget data processing device comprises:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a bill image to be processed, identifying and extracting the bill image to be processed to obtain historical bill data, and the historical bill data comprises at least one piece of historical business item information and historical payment amount corresponding to each piece of historical business item information;
The determining module is used for determining initial budget data corresponding to each piece of history business item information based on each piece of history business item information;
The conversion module is used for converting the historical payment amount of each piece of historical business item information to obtain a first bar chart of each piece of historical business item information, and converting the initial budget data of each piece of historical business item information to obtain a second bar chart of each piece of historical business item information;
the judging module is used for judging the corresponding first bar graph through the second bar graph of each history service item information to obtain a first judging result;
The adjustment module is used for adjusting the corresponding second bar graph to obtain the historical bar graph of the historical business item information if the first judgment result indicates that the first bar graph of the historical business item information meets the preset condition, wherein the preset condition is used for indicating that the area of a first area corresponding to the first bar graph of the historical business item information is larger than the area of a second area corresponding to the second bar graph;
The extraction module is used for acquiring a service item image to be processed, identifying and extracting the service item image to be processed to obtain current service item information;
And the query module is used for carrying out bar graph query through the historical bar graph and the current service item information to obtain a current bar graph corresponding to the current service item information, wherein the current bar graph is used for representing target budget data corresponding to the current service item information.
9. A budget data processing device, characterized in that said budget data processing device comprises: a memory and at least one processor, the memory having instructions stored therein;
The at least one processor invoking the instructions in the memory to cause the budget data processing device to perform the budget data processing method according to any of the claims 1-7.
10. A computer readable storage medium having instructions stored thereon, which when executed by a processor, implement a method of processing budget data according to any of claims 1 to 7.
CN202310246229.2A 2023-03-14 2023-03-14 Budget data processing method, device, equipment and storage medium Active CN116402571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310246229.2A CN116402571B (en) 2023-03-14 2023-03-14 Budget data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310246229.2A CN116402571B (en) 2023-03-14 2023-03-14 Budget data processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116402571A CN116402571A (en) 2023-07-07
CN116402571B true CN116402571B (en) 2024-04-26

Family

ID=87011458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310246229.2A Active CN116402571B (en) 2023-03-14 2023-03-14 Budget data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116402571B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003228665A (en) * 2001-11-09 2003-08-15 We'll Corporation:Kk Merchandise ordering/order-receiving system
US7606750B1 (en) * 2006-03-30 2009-10-20 Intuit Inc. Method and system for displaying a spending comparison report
CN102396219A (en) * 2009-06-09 2012-03-28 索尼公司 Embedded graphics coding for images with sparse histograms
CN105302804A (en) * 2014-05-29 2016-02-03 腾讯科技(深圳)有限公司 Service bill display method, terminal, and server
CN110263307A (en) * 2019-04-15 2019-09-20 重庆金融资产交易所有限责任公司 Report form generation method, server and computer readable storage medium
CN111008892A (en) * 2019-11-13 2020-04-14 深圳市融壹买信息科技有限公司 Business limit adjusting method and device and computer readable storage medium
CN111210341A (en) * 2020-01-14 2020-05-29 中国建设银行股份有限公司 Method and device for determining service quota
CN111433434A (en) * 2014-07-14 2020-07-17 沙特阿拉伯石油公司 Method, system and computer medium having computer program stored thereon for optimizing reservoir management decisions based on reservoir attributes
CN113011863A (en) * 2021-03-19 2021-06-22 维沃移动通信有限公司 Bill management method and device
CN114092223A (en) * 2021-11-17 2022-02-25 中国建设银行股份有限公司 Quota determining method, device, equipment and storage medium
CN114186989A (en) * 2021-12-06 2022-03-15 深圳乐信软件技术有限公司 Capital allocation decision method, device, server and storage medium
CN114463065A (en) * 2022-02-08 2022-05-10 中国农业银行股份有限公司 Pricing method, pricing device, computer equipment and storage medium
CN114817288A (en) * 2022-05-10 2022-07-29 中国平安财产保险股份有限公司 Data processing method and device, electronic equipment and storage medium
CN115081695A (en) * 2022-06-08 2022-09-20 深圳市栋森工程项目管理有限公司 BIM model-based engineering budget method, system and terminal equipment
WO2022237477A1 (en) * 2021-05-11 2022-11-17 腾讯科技(深圳)有限公司 Data calibration method and apparatus, and computer device and readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130041819A1 (en) * 2011-08-12 2013-02-14 Joseph Khasho Systems, devices and methods for managing cash flow
US20140101024A1 (en) * 2012-10-04 2014-04-10 Sap Ag Predicting financial outcome
US20210150624A1 (en) * 2019-11-18 2021-05-20 Paypal, Inc. Intelligent population of interface elements for converting transactions

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003228665A (en) * 2001-11-09 2003-08-15 We'll Corporation:Kk Merchandise ordering/order-receiving system
US7606750B1 (en) * 2006-03-30 2009-10-20 Intuit Inc. Method and system for displaying a spending comparison report
CN102396219A (en) * 2009-06-09 2012-03-28 索尼公司 Embedded graphics coding for images with sparse histograms
CN105302804A (en) * 2014-05-29 2016-02-03 腾讯科技(深圳)有限公司 Service bill display method, terminal, and server
CN111433434A (en) * 2014-07-14 2020-07-17 沙特阿拉伯石油公司 Method, system and computer medium having computer program stored thereon for optimizing reservoir management decisions based on reservoir attributes
CN110263307A (en) * 2019-04-15 2019-09-20 重庆金融资产交易所有限责任公司 Report form generation method, server and computer readable storage medium
CN111008892A (en) * 2019-11-13 2020-04-14 深圳市融壹买信息科技有限公司 Business limit adjusting method and device and computer readable storage medium
CN111210341A (en) * 2020-01-14 2020-05-29 中国建设银行股份有限公司 Method and device for determining service quota
CN113011863A (en) * 2021-03-19 2021-06-22 维沃移动通信有限公司 Bill management method and device
WO2022237477A1 (en) * 2021-05-11 2022-11-17 腾讯科技(深圳)有限公司 Data calibration method and apparatus, and computer device and readable storage medium
CN114092223A (en) * 2021-11-17 2022-02-25 中国建设银行股份有限公司 Quota determining method, device, equipment and storage medium
CN114186989A (en) * 2021-12-06 2022-03-15 深圳乐信软件技术有限公司 Capital allocation decision method, device, server and storage medium
CN114463065A (en) * 2022-02-08 2022-05-10 中国农业银行股份有限公司 Pricing method, pricing device, computer equipment and storage medium
CN114817288A (en) * 2022-05-10 2022-07-29 中国平安财产保险股份有限公司 Data processing method and device, electronic equipment and storage medium
CN115081695A (en) * 2022-06-08 2022-09-20 深圳市栋森工程项目管理有限公司 BIM model-based engineering budget method, system and terminal equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于ERP系统的预算控制研究;殷建红;张瑞君;财务与会计(第11期);47-49 *
基于Hyperion构建石油企业全面预算管理信息系统的方法;王滨;计算机产品与流通(第12期);253 *

Also Published As

Publication number Publication date
CN116402571A (en) 2023-07-07

Similar Documents

Publication Publication Date Title
US11640707B2 (en) Reducing scale estimate errors in shelf images
WO2020155757A1 (en) Bar chart data conversion control method and apparatus, computer device and storage medium
CN110162754B (en) Method and equipment for generating post description document
CN109191133B (en) Payment channel selection method and terminal equipment
CN109933502B (en) Electronic device, user operation record processing method and storage medium
CN111090685A (en) Method and device for detecting data abnormal characteristics
US10877989B2 (en) Data conversion system and method of converting data
CN113627508A (en) Display scene recognition method, device, equipment and storage medium
CN116402571B (en) Budget data processing method, device, equipment and storage medium
CN116309963B (en) Batch labeling method and device for images, electronic equipment and storage medium
Schreck et al. A new metaphor for projection-based visual analysis and data exploration
CN115761049A (en) Automatic picture marking method, device, equipment and storage medium
CN111209397B (en) Method for determining enterprise industry category
CN109977992B (en) Electronic device, method for identifying batch registration behaviors and storage medium
CN113504865A (en) Work order label adding method, device, equipment and storage medium
US11966435B2 (en) Information processing apparatus, control method, and program
CN113159118A (en) Logistics data index processing method, device, equipment and storage medium
CN112733518A (en) Table template generation method, device, equipment and storage medium
CN117556853B (en) Material tag information generation method and device
CN111475719B (en) Information pushing method and device based on data mining and storage medium
CN117112846B (en) Multi-information source license information management method, system and medium
CN115271889B (en) Intelligent label automatic linkage generation method, device, equipment and storage medium
US11556729B2 (en) Information processing apparatus, control method, and program
CN117057332A (en) Report generation method, device, equipment and storage medium
CN115828872A (en) Method and system for dynamically generating visual form through business description language

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