CN103678591A - Device and method for automatically executing multi-service receipt statistical treatment - Google Patents

Device and method for automatically executing multi-service receipt statistical treatment Download PDF

Info

Publication number
CN103678591A
CN103678591A CN201310682489.0A CN201310682489A CN103678591A CN 103678591 A CN103678591 A CN 103678591A CN 201310682489 A CN201310682489 A CN 201310682489A CN 103678591 A CN103678591 A CN 103678591A
Authority
CN
China
Prior art keywords
scheme
data
module
source
processing
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.)
Granted
Application number
CN201310682489.0A
Other languages
Chinese (zh)
Other versions
CN103678591B (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.)
Yonyou Software Co Ltd
Original Assignee
Yonyou Software 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 Yonyou Software Co Ltd filed Critical Yonyou Software Co Ltd
Priority to CN201310682489.0A priority Critical patent/CN103678591B/en
Publication of CN103678591A publication Critical patent/CN103678591A/en
Application granted granted Critical
Publication of CN103678591B publication Critical patent/CN103678591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying

Abstract

The invention provides a device for automatically executing multi-service receipt statistical treatment. The device comprises an inquiry module, a processing module, an operation scheme setting module and a core operation module. The inquiry module is used for reading data from a service data source and/or an intermediate result through a set inquiry scheme. The processing module is used for processing the data and outputting the data to corresponding data sources through a set processing scheme. Operation schemes are registered and stored in the operation scheme setting module. The core operation module is used for inquiring registered operation schemes based on the service data sources, calling the inquiry scheme and the processing scheme to sequentially run service processing operation schemes and result processing schemes, and then outputting data sources. The invention further provides a method for automatically executing multi-service receipt statistical treatment. By means of the method and device, based on an existing service receipt statistical treatment mode, the multi-service receipt statistical treatment is completed by fully utilizing single-service receipt statistical treatment types, and a universal and uniform statistical treatment thought facing multi-source service receipt statistical treatment with multi-service receipt involved in is built.

Description

Automatically perform the apparatus and method of multiple services bills statistical treatment
Technical field
The present invention relates to technical field of data processing, particularly, relate to a kind of a kind of device and method that automatically performs multiple services bills statistical treatment that automatically performs multiple services bills statistical treatment.
Background technology
In as the application of the data processings such as ERP system, can there is various business, as required simultaneously, finally may need these business datums to carry out calculation process according to certain computation rule, produce a result of calculation and carry out subsequent processes, there is following common characteristic the general aspect that realizes at present:
(1) in design state, determine the possible range in the several data source that may participate in computing, and the whether available method in several data source that arranges is provided; (2) designing state for every kind of source, requiring respectively originates oneself provides the method that can be called by main computing module; (3) design the calling sequentially by main computing module that state defines various sources; (4) design state and clearly define the input data attribute of specifying the method call certain class source, solidify input attributes, and in design state code, solidify the code that main computing module calls the method that can be called by main computing module that source provides; (5) design state and clearly define data that each method that can be called by main computing module of providing of source of conversion returns to the conversion code of the data that can be used by main computing module identification; (6) design state clearly define each source participate in main computing mould order of operation code and specify and whether according to multithreading, carry out the code of obtaining source data; (7) designing state clearly defines and judges whether available code of predefined each source; (8) whether run mode arranges several data source available, and carries out the operation method of main computing, obtains the several data that participates in computing, carries out the computing of definition.
Generally, often there is such a case in management software, needs a functional node to carry out analyzing and processing to the business datum of other a lot of nodes, finally produces one and gather or detailed data.And for this business demand, more common processing mode as shown in Figure 5.
Generally, first can according to certain filtercondition, go respectively to inquire about the business datum of a plurality of nodes according to input data, the filtercondition of each node traffic data may be different, but condition is all come according to input data.After data read, the business datum of each node need to be processed, between the processing of each business datum, may need to limit sequencing, also likely have no association, can concurrently carry out.After business processing, generally all can produce a similar intermediate result, finally intermediate result carried out to relevant treatment, produce final Output rusults.
Above technology has realized the separated of Data Source and arithmetic logic to a certain extent, has realized predetermined function.But still come with some shortcomings, for example:
(1) the standards and norms of unified participation computing are not provided, unified grouting socket and parameter agreement is not namely provided.(2) the Registering modules of new source business when operation is not provided.(3) cost of development is high, and it is numerous that multi-service data processing relates to source, and standard differs, interface is different, uses prior art and device, and developer oneself goes design to realize in design state for each source, to cause the difficulty of exploitation greatly to improve, the efficiency of exploitation be also lower.(4) use the device of prior art exploitation may have efficiency and potential safety hazard; the processing of multi-service data can be the processing of large data conventionally; use prior art and device; the efficiency of system and device and safety are determined by developer's development level; and software developer's level varies with each individual and cannot determine; developer's processing scheme is likely poor efficiency; simultaneously developer does not likely consider that the internal memory producing when data volume is large overflows situation, causes the software poor efficiency that becomes to have potential safety hazard simultaneously.(5) use system and the device of prior art exploitation, do not support the extensible mechanism of run mode, its business expansion difficulty is large; When multi-service data is processed, because the source that device is supported is all design state agreement, can not be supported in run mode dynamic expansion, if need to expand new source, or revise the processing logic in existing source, can only process by revising source code, its cost, efficiency and risk are all very high.(6) the system and the device that use prior art exploitation, its later stage maintenance difficulties is large.Owing to there is no unified processing module, and the guardian of software can produce change, design before the guardian in later stage is appreciated that can spend the long time, simultaneously very careful for the change of software, has so just greatly promoted the maintenance cost of software; And owing to there is no extendible mechanism, the source that device is supported is all that design state is arranged, and can not be supported in run mode dynamic expansion, if need to expand new source, or revise processing and the interface in existing source, can only process by revising source code, its cost, efficiency and risk are all very high.(7) use system and the device of prior art exploitation, owing to being that whether determine in design state can multithreading, at run mode, can not revise the dimension that thread is cut apart, so can not make full use of the machine-processed raising efficiency of multithreading or not support multithreading.(8) use system and the device of prior art exploitation, obtain source data and its main operational logic close-coupled, cause the variation in arbitrary source all may produce unpredictable interference and modification to the core algorithm of core apparatus, cause system operation result, efficiency and security produce unpredictable problem, and extremely difficult debugging.
Use system and the device of prior art exploitation, obtain source data and its main operational logic close-coupled, cause the variation in arbitrary source all may produce unpredictable interference and modification to the core algorithm of core apparatus, cause system operation result, efficiency and security produce unpredictable problem, and extremely difficult debugging.
Therefore, need a kind of new technology that automatically performs multiple services bills statistical treatment, can be on existing business paper statistical treatment mode basis, make full use of the statistical treatment that single business paper statistical treatment type completes multiple services bills, set up general, the unified statistical treatment thinking towards the statistical treatment of multi-source business paper that multiple services bills participates in.
Summary of the invention
The present invention is just based on the problems referred to above, a kind of new technology that automatically performs multiple services bills statistical treatment has been proposed, can be on existing business paper statistical treatment mode basis, make full use of the statistical treatment that single business paper statistical treatment type completes multiple services bills, set up general, the unified statistical treatment thinking towards the statistical treatment of multi-source business paper that multiple services bills participates in.
In view of this, the present invention proposes a kind of device that automatically performs multiple services bills statistical treatment, comprising: enquiry module, for query scheme is set, is used the query scheme arranging, from business data source and/or intermediate result reading out data; Processing module, for set handling scheme, is used the processing scheme arranging, and data are processed and outputed in corresponding data source; Operating scheme arranges module, for registering the operating scheme of core operation module, the operating scheme of registration is persisted in storage medium; Calling of response core operation module, inquires about corresponding operating scheme; Core operation module, for when having the input of business datum source, inquire about the operating scheme that described operating scheme arranges all registrations of module, call the query scheme of described enquiry module setting and the processing scheme that described processing module arranges, move successively business processing class operating scheme and result treatment class scheme in corresponding scheme, output data source.In this technical scheme, can be responsible for operation and the scheduling of whole technical scheme; By query scheme setting and processing scheme arrange by operation with design separated, by operating scheme, register, can on-the-fly modify operation processing procedure, greatly reduce design difficulty, improved extensibility.
In this technical scheme, newly-increased, modification, deletion and look facility to query scheme can also be provided, can move query scheme simultaneously, from the information source of appointment, obtain data message; Support is carried out additions and deletions and is changed and look into realizing the query scheme of unified standard and standard, and whether the requestor in verification query scheme provides the method realizing according to unified standard: if do not had, do not allow this query scheme to participate in its main operational of technical solution of the present invention; By query scheme is set, data query during by operation separates with data processing, support technical scheme of the present invention to there is higher extendability, permission is at run mode, by according to standard implementation the query scheme of access method be registered in technical scheme of the present invention, and participate in computing, reduced the difficulty of later development, maintenance and expansion.
In this technical scheme, newly-increased, modification, deletion and look facility to processing scheme can also be provided, can move processing scheme, to coming source data to process and export simultaneously; Support the legitimacy verification to processing scheme, whether verification it realize according to unified standards and norms simultaneously.By set handling scheme, the data processing during by operation is independent, makes to support that technical scheme of the present invention possesses higher extensibility, has reduced exploitation and maintenance difficulties simultaneously.
In this technical scheme, newly-increased, modification, deletion and look facility to operating scheme can also be provided, can carry out verification to the legitimacy of operating scheme simultaneously; Operating scheme polymerization a query scheme and a processing scheme, in technical scheme of the present invention, as a minimum unit, by core operation module, moved; By configurable operating scheme, specific data is originated and processing procedure arbitrarily, has greatly improved the extensibility of technical solution of the present invention, has reduced use difficulty, the difficulty that has reduced exploitation simultaneously and safeguarded.
In technique scheme, preferably, described core operation module, also for: operation corresponding scheme before, according to the log-on message of operating scheme, operating scheme is carried out to packet sequencing, each grouping is as a separate threads operation, the single-threaded execution of single grouping, multithreading operation is carried out in a plurality of groupings; In a grouping, operating scheme is carried out successively according to log-on message.In this technical scheme, can support the various ways such as single-threaded, thread grouping, the dirigibility that has improved technical solution of the present invention when improving data-handling efficiency.
In technique scheme, preferably, the described device that automatically performs multiple services bills statistical treatment, also comprise: intermediate result cache module, for using the data memory module that comprises database and/or internal memory, data-processing interface is externally provided, and core operation module is moved the intermediate result of the processing scheme that described processing module arranges described in buffer memory; And, described core operation module, also for: by the intermediate result of the business processing class operating scheme of operation corresponding scheme, at described intermediate result cache module, carry out buffer memory.In this technical scheme, intermediate result in data handling procedure buffer memory can be provided, use present existing data storage method to realize, by the mode of buffer memory, both improved technical solution of the present invention to the processing power of large data and efficiency, the risk that may cause internal memory to overflow while having reduced again large data processing.
In technique scheme, preferably, described in automatically perform the device of multiple services bills statistical treatment, also comprise: operation standard and normalized definition module, the standards and norms that participate in computing for defining described core operation module, require described enquiry module and processing module all to follow this standard; Participate in the standards and norms of computing, with the form issue of interface, each business source must provide the class that realizes this interface; And described enquiry module, specifically for the standard based on described operation standard and normalized definition module definition, arranges query scheme, use the query scheme arranging, from business data source and/or intermediate result reading out data; And/or processing module is specifically for the standard based on described operation standard and normalized definition module definition, set handling scheme, is used the processing scheme arranging, and data are processed and outputed in corresponding data source; And/or, core operation module, for when having the input of business datum source, standards and norms based on described operation standard and normalized definition module definition, inquire about the operating scheme that described operating scheme arranges all registrations of module, call the query scheme of described enquiry module setting and the processing scheme that described processing module arranges, move successively business processing class operating scheme and result treatment class scheme in corresponding scheme, output data source.In this technical scheme, the standards and norms of unified participation computing can be provided, requirement must follow unified grouting socket as the operation system in source and parameter agreement realizes the method that offers core algorithm, and the origin system that comes only with the method realizing according to the standards and norms of unified participation computing could participate in the computing of core algorithm; Pass through unified interface, the difference of isolating each business source, in unified mode, process multiple source, distinguish responsibility, only be responsible for according to the Processing Algorithm of standard implementation oneself in each business source, its main operational only need to be considered to receive unified data and realize core algorithm logic, thereby reduces cost of development, improves development efficiency and security.
In technique scheme, preferably, described enquiry module or processing module or operating scheme arrange the basic composition structure of module, specifically comprise: corresponding scheme arranges module, for based on corresponding querying condition, to corresponding data inquire about, demonstration and editing and processing; Corresponding scheme editor module, for based on corresponding query argument, to business datum source inquire about one by one, insert, change, deletion and checking treatment; Further, described corresponding scheme arranges module, further comprises: terminal inquiry module, querying condition for receiving terminal appointment, executing data query manipulation, from the log-on data of persistence, inquiry meets the data of terminal specified requirements, and is shown to terminal; Display module, the data of returning for receiving terminal enquiry module are also shown to terminal, the processing that allows terminal user that data are inquired about, increase newly, revised and delete; Editor module, the data of returning for display terminal enquiry module, the processing that allows user that data are increased newly, revise, deleted and preserve; And/or described corresponding scheme editor module, further comprises: inquiry comes source record to return to module, for receiving query argument, according to querying condition, returns to source system log (SYSLOG); Source data entity insert module, for receiving a plurality of sources, processes one by one, and source data entity inserts corresponding source business in the future; Source data entity change module, for receiving a plurality of sources, processes one by one, changes the source data entity of corresponding source business; Source data entity removing module, for receiving a plurality of sources, processes one by one, deletes the source data entity of corresponding source business; Source data entity correction verification module, for receiving a plurality of sources, processes one by one, and source business is checked, determines and comes origin system whether to follow unified standard.
According to a further aspect of the invention, also proposed a kind of method that automatically performs multiple services bills statistical treatment, having comprised: step 304: query scheme has been set, uses the query scheme arranging, from business data source and/or intermediate result reading out data; Step 306: set handling scheme, use the processing scheme arranging, data are processed and outputed in corresponding data source; Step 310: the operating scheme of registration core operation module, is persisted to the operating scheme of registration in storage medium; Calling of response core operation module, inquires about corresponding operating scheme; Step 312: when having the input of business datum source, inquire about the operating scheme of all registrations of described step 310, call the query scheme of described step 304 setting and the processing scheme that described step 306 arranges, move successively business processing class operating scheme and result treatment class scheme in corresponding scheme, output data source.In this technical scheme, can be responsible for operation and the scheduling of whole technical scheme; By query scheme setting and processing scheme arrange by operation with design separated, by operating scheme, register, can on-the-fly modify operation processing procedure, greatly reduce design difficulty, improved extensibility.
In this technical scheme, newly-increased, modification, deletion and look facility to query scheme can also be provided, can move query scheme simultaneously, from the information source of appointment, obtain data message; Support is carried out additions and deletions and is changed and look into realizing the query scheme of unified standard and standard, and whether the requestor in verification query scheme provides the method realizing according to unified standard: if do not had, do not allow this query scheme to participate in its main operational of technical solution of the present invention; By query scheme is set, data query during by operation separates with data processing, support technical scheme of the present invention to there is higher extendability, permission is at run mode, by according to standard implementation the query scheme of access method be registered in technical scheme of the present invention, and participate in computing, reduced the difficulty of later development, maintenance and expansion.
In this technical scheme, newly-increased, modification, deletion and look facility to processing scheme can also be provided, can move processing scheme, to coming source data to process and export simultaneously; Support the legitimacy verification to processing scheme, whether verification it realize according to unified standards and norms simultaneously.By set handling scheme, the data processing during by operation is independent, makes to support that technical scheme of the present invention possesses higher extensibility, has reduced exploitation and maintenance difficulties simultaneously.
In this technical scheme, newly-increased, modification, deletion and look facility to operating scheme can also be provided, can carry out verification to the legitimacy of operating scheme simultaneously; Operating scheme polymerization a query scheme and a processing scheme, in technical scheme of the present invention, as a minimum unit, by core operation module, moved; By configurable operating scheme, specific data is originated and processing procedure arbitrarily, has greatly improved the extensibility of technical solution of the present invention, has reduced use difficulty, the difficulty that has reduced exploitation simultaneously and safeguarded.
In technique scheme, preferably, described step 312 also comprises: before operation corresponding scheme, according to the log-on message of operating scheme, operating scheme is carried out to packet sequencing, each grouping is as a separate threads operation, the single-threaded execution of single grouping, multithreading operation is carried out in a plurality of groupings; In a grouping, operating scheme is carried out successively according to log-on message.In this technical scheme, can support the various ways such as single-threaded, thread grouping, the dirigibility that has improved technical solution of the present invention when improving data-handling efficiency.
In technique scheme, preferably, between described step 306 and step 310, also comprise: step 308: use the data memory module that comprises database and/or internal memory, externally provide data-processing interface, the intermediate result of the processing scheme that the described step 306 of step 312 operation arranges described in buffer memory; And described step 312 also comprises: by the intermediate result of the business processing class operating scheme in operation corresponding scheme, carry out buffer memory in described step 308.In this technical scheme, intermediate result in data handling procedure buffer memory can be provided, use present existing data storage method to realize, by the mode of buffer memory, both improved technical solution of the present invention to the processing power of large data and efficiency, the risk that may cause internal memory to overflow while having reduced again large data processing.
In technique scheme, preferably, before described step 304, also comprise: step 302: define the standards and norms that described step 312 participates in computing, require described step 304 and step 306 all to follow this standard; Participate in the standards and norms of computing, with the form issue of interface, each business source must provide the class that realizes this interface; And described step 304 is specially: the standard based on described step 302 definition, query scheme is set, use the query scheme arranging, from business data source and/or intermediate result reading out data; And/or described step 306 is specially: the standard based on described step 302 definition, set handling scheme, is used the processing scheme arranging, and data are processed and outputed in corresponding data source; And/or, described step 312 is specially: when having the input of business datum source, standards and norms based on described step 302 definition, inquire about the operating scheme of all registrations of described step 310, call the query scheme of described step 304 setting and the processing scheme that described step 306 arranges, move successively business processing class operating scheme and result treatment class scheme in corresponding scheme, output data source.In this technical scheme, the standards and norms of unified participation computing can be provided, requirement must follow unified grouting socket as the operation system in source and parameter agreement realizes the method that offers core algorithm, and the origin system that comes only with the method realizing according to the standards and norms of unified participation computing could participate in the computing of core algorithm; Pass through unified interface, the difference of isolating each business source, in unified mode, process multiple source, distinguish responsibility, only be responsible for according to the Processing Algorithm of standard implementation oneself in each business source, its main operational only need to be considered to receive unified data and realize core algorithm logic, thereby reduces cost of development, improves development efficiency and security.
In technique scheme, preferably, the basic operational scheme of described step 302 or step 304 or step 310, specifically comprises: step 400: based on corresponding querying condition, to corresponding data inquire about, demonstration and editing and processing; Step 500: based on corresponding query argument, to business datum source inquire about one by one, insert, change, deletion and checking treatment; Further, described step 400, further comprises: step 402: the querying condition of receiving terminal appointment, and executing data query manipulation, from the log-on data of persistence, inquiry meets the data of terminal specified requirements, and is shown to terminal; Step 404: the data that receiving terminal enquiry module returns are also shown to terminal, the processing that allows terminal user that data are inquired about, increase newly, revised and delete; Step 406: the data that display terminal enquiry module returns, the processing that allows user that data are increased newly, revise, deleted and preserve; And/or described step 500, further comprises: step 502: receive query argument, according to querying condition, return to source system log (SYSLOG); Step 504: receive a plurality of sources, process one by one, source data entity inserts corresponding source business in the future; Step 506: receive a plurality of sources, process one by one, change the source data entity of corresponding source business; Step 508: receive a plurality of sources, process one by one, delete the source data entity of corresponding source business; Step 510: receive a plurality of sources, process one by one, source business is checked, determine and come origin system whether to follow unified standard.
By above technical scheme, can be on existing business paper statistical treatment mode basis, make full use of the statistical treatment that single business paper statistical treatment type completes multiple services bills, set up general, the unified statistical treatment thinking towards the statistical treatment of multi-source business paper that multiple services bills participates in.
Accompanying drawing explanation
Fig. 1 shows the block diagram of the device that automatically performs according to an embodiment of the invention multiple services bills statistical treatment;
Fig. 2 shows the basic composition block diagram that enquiry module according to an embodiment of the invention or processing module or operating scheme arrange module;
Fig. 3 shows the process flow diagram of the method that automatically performs according to an embodiment of the invention multiple services bills statistical treatment;
Fig. 4 a shows the workflow diagram that scheme in the basic composition that enquiry module according to an embodiment of the invention or processing module or operating scheme arrange module arranges module;
Fig. 4 b shows the workflow diagram of project edit module in the basic composition that enquiry module according to an embodiment of the invention or processing module or operating scheme arrange module;
Fig. 5 shows the process flow diagram of common multiple services bills data processing procedure;
Fig. 6 shows according to an embodiment of the invention business datum source, automatically performs the process flow diagram cooperating between multiple services bills statistical processing device and output data source;
Fig. 7 shows the operation logic schematic diagram of enquiry module according to an embodiment of the invention;
Fig. 8 shows the operation logic schematic diagram of processing module according to an embodiment of the invention;
Fig. 9 shows the block diagram that operating scheme according to an embodiment of the invention arranges module;
Figure 10 shows the process flow diagram of core operation module operation according to an embodiment of the invention;
Figure 11 shows the process flow diagram that rent is according to an embodiment of the invention calculated single processing procedure;
Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, in the situation that not conflicting, the application's embodiment and the feature in embodiment can combine mutually.
A lot of details have been set forth in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not subject to the restriction of following public specific embodiment.
Fig. 1 shows the block diagram of the device that automatically performs according to an embodiment of the invention multiple services bills statistical treatment.
As shown in Figure 1, automatically perform according to an embodiment of the invention the device 100 of multiple services bills statistical treatment, comprising: enquiry module 104, for query scheme is set, is used the query scheme arranging, from business data source and/or intermediate result reading out data; Processing module 106, for set handling scheme, is used the processing scheme arranging, and data are processed and outputed in corresponding data source; Operating scheme arranges module 110, for registering the operating scheme of core operation module, the operating scheme of registration is persisted in storage medium; Calling of response core operation module, inquires about corresponding operating scheme; Core operation module 112, for when having the input of business datum source, inquiry operating scheme arranges the operating scheme of all registrations of module 110, call the query scheme of enquiry module 104 settings and the processing scheme that processing module 106 arranges, move successively business processing class operating scheme and result treatment class scheme in corresponding scheme, output data source.In this technical scheme, can be responsible for operation and the scheduling of whole technical scheme; By query scheme setting and processing scheme arrange by operation with design separated, by operating scheme, register, can on-the-fly modify operation processing procedure, greatly reduce design difficulty, improved extensibility.In this technical scheme, newly-increased, modification, deletion and look facility to query scheme can also be provided, can move query scheme simultaneously, from the information source of appointment, obtain data message; Support is carried out additions and deletions and is changed and look into realizing the query scheme of unified standard and standard, and whether the requestor in verification query scheme provides the method realizing according to unified standard: if do not had, do not allow this query scheme to participate in its main operational of technical solution of the present invention; By query scheme is set, data query during by operation separates with data processing, support technical scheme of the present invention to there is higher extendability, permission is at run mode, by according to standard implementation the query scheme of access method be registered in technical scheme of the present invention, and participate in computing, reduced the difficulty of later development, maintenance and expansion.
In this technical scheme, newly-increased, modification, deletion and look facility to processing scheme can also be provided, can move processing scheme, to coming source data to process and export simultaneously; Support the legitimacy verification to processing scheme, whether verification it realize according to unified standards and norms simultaneously.By set handling scheme, the data processing during by operation is independent, makes to support that technical scheme of the present invention possesses higher extensibility, has reduced exploitation and maintenance difficulties simultaneously.
In this technical scheme, newly-increased, modification, deletion and look facility to operating scheme can also be provided, can carry out verification to the legitimacy of operating scheme simultaneously; Operating scheme polymerization a query scheme and a processing scheme, in technical scheme of the present invention, as a minimum unit, by core operation module, moved; By configurable operating scheme, specific data is originated and processing procedure arbitrarily, has greatly improved the extensibility of technical solution of the present invention, has reduced use difficulty, the difficulty that has reduced exploitation simultaneously and safeguarded.
In technique scheme, preferably, core operation module 112, also for: operation corresponding scheme before, according to the log-on message of operating scheme, operating scheme is carried out to packet sequencing, each grouping is as a separate threads operation, the single-threaded execution of single grouping, multithreading operation is carried out in a plurality of groupings; In a grouping, operating scheme is carried out successively according to log-on message.In this technical scheme, can support the various ways such as single-threaded, thread grouping, the dirigibility that has improved technical solution of the present invention when improving data-handling efficiency.
In technique scheme, preferably, automatically perform the device of multiple services bills statistical treatment, also comprise: intermediate result cache module 108, for using the data memory module that comprises database and/or internal memory, externally provide data-processing interface, the intermediate result of the processing scheme that buffer memory core operation module 112 operation processing modules arrange; And, core operation module 112, also for: by the intermediate result of the business processing class operating scheme of operation corresponding scheme, at intermediate result cache module 108, carry out buffer memory.In this technical scheme, intermediate result in data handling procedure buffer memory can be provided, use present existing data storage method to realize, by the mode of buffer memory, both improved technical solution of the present invention to the processing power of large data and efficiency, the risk that may cause internal memory to overflow while having reduced again large data processing.
In technique scheme, preferably, automatically perform the device of multiple services bills statistical treatment, also comprise: operation standard and normalized definition module 102, the standards and norms that participate in computing for defining core operation module 112, require enquiry module 104 and processing module 106 all to follow this standard; Participate in the standards and norms of computing, with the form issue of interface, each business source must provide the class that realizes this interface; And enquiry module 104, specifically for the standard based on 102 definition of operation standard and normalized definition module, arranges query scheme, uses the query scheme arranging, from business data source and/or intermediate result reading out data; And/or processing module 106 is specifically for the standard based on 102 definition of operation standard and normalized definition module, set handling scheme, is used the processing scheme arranging, data are processed and outputed in corresponding data source; And/or, core operation module 112, for when having the input of business datum source, standards and norms based on operation standard and 102 definition of normalized definition module, inquiry operating scheme arranges the operating scheme of all registrations of module 110, call the query scheme of enquiry module 104 settings and the processing scheme that processing module 106 arranges, move successively business processing class operating scheme and result treatment class scheme in corresponding scheme, output data source.In this technical scheme, the standards and norms of unified participation computing can be provided, requirement must follow unified grouting socket as the operation system in source and parameter agreement realizes the method that offers core algorithm, and the origin system that comes only with the method realizing according to the standards and norms of unified participation computing could participate in the computing of core algorithm; Pass through unified interface, the difference of isolating each business source, in unified mode, process multiple source, distinguish responsibility, only be responsible for according to the Processing Algorithm of standard implementation oneself in each business source, its main operational only need to be considered to receive unified data and realize core algorithm logic, thereby reduces cost of development, improves development efficiency and security.
In technique scheme, preferably, as shown in Figure 2, enquiry module 104 or processing module 106 or operating scheme arrange the basic composition structure of module 110, specifically comprise: corresponding scheme arranges module 202, for based on corresponding querying condition, to corresponding data inquire about, demonstration and editing and processing; Corresponding scheme editor module 204, for based on corresponding query argument, to business datum source inquire about one by one, insert, change, deletion and checking treatment; Further, corresponding scheme arranges module 202, further comprises: terminal inquiry module, and for the querying condition of receiving terminal appointment, executing data query manipulation, from the log-on data of persistence, inquiry meets the data of terminal specified requirements, and is shown to terminal; Display module, the data of returning for receiving terminal enquiry module are also shown to terminal, the processing that allows terminal user that data are inquired about, increase newly, revised and delete; Editor module, the data of returning for display terminal enquiry module, the processing that allows user that data are increased newly, revise, deleted and preserve; And/or corresponding scheme editor module 204, further comprises: inquiry comes source record to return to module, for receiving query argument, according to querying condition, returns to source system log (SYSLOG); Source data entity insert module, for receiving a plurality of sources, processes one by one, and source data entity inserts corresponding source business in the future; Source data entity change module, for receiving a plurality of sources, processes one by one, changes the source data entity of corresponding source business; Source data entity removing module, for receiving a plurality of sources, processes one by one, deletes the source data entity of corresponding source business; Source data entity correction verification module, for receiving a plurality of sources, processes one by one, and source business is checked, determines and comes origin system whether to follow unified standard.
Fig. 3 shows the process flow diagram of the method that automatically performs according to an embodiment of the invention multiple services bills statistical treatment.
As shown in Figure 3, automatically perform according to an embodiment of the invention the method for multiple services bills statistical treatment, comprising: step 304: query scheme is set, uses the query scheme arranging, from business data source and/or intermediate result reading out data; Step 306: set handling scheme, use the processing scheme arranging, data are processed and outputed in corresponding data source; Step 310: the operating scheme of registration core operation module, is persisted to the operating scheme of registration in storage medium; Calling of response core operation module, inquires about corresponding operating scheme; Step 312: when having the input of business datum source, the operating scheme of all registrations of query steps 310, the processing scheme that the query scheme that invocation step 304 arranges and step 306 arrange, moves business processing class operating scheme and result treatment class scheme in corresponding scheme, output data source successively.In this technical scheme, can be responsible for operation and the scheduling of whole technical scheme; By query scheme setting and processing scheme arrange by operation with design separated, by operating scheme, register, can on-the-fly modify operation processing procedure, greatly reduce design difficulty, improved extensibility.
In this technical scheme, newly-increased, modification, deletion and look facility to query scheme can also be provided, can move query scheme simultaneously, from the information source of appointment, obtain data message; Support is carried out additions and deletions and is changed and look into realizing the query scheme of unified standard and standard, and whether the requestor in verification query scheme provides the method realizing according to unified standard: if do not had, do not allow this query scheme to participate in its main operational of technical solution of the present invention; By query scheme is set, data query during by operation separates with data processing, support technical scheme of the present invention to there is higher extendability, permission is at run mode, by according to standard implementation the query scheme of access method be registered in technical scheme of the present invention, and participate in computing, reduced the difficulty of later development, maintenance and expansion.
In this technical scheme, newly-increased, modification, deletion and look facility to processing scheme can also be provided, can move processing scheme, to coming source data to process and export simultaneously; Support the legitimacy verification to processing scheme, whether verification it realize according to unified standards and norms simultaneously.By set handling scheme, the data processing during by operation is independent, makes to support that technical scheme of the present invention possesses higher extensibility, has reduced exploitation and maintenance difficulties simultaneously.
In this technical scheme, newly-increased, modification, deletion and look facility to operating scheme can also be provided, can carry out verification to the legitimacy of operating scheme simultaneously; Operating scheme polymerization a query scheme and a processing scheme, in technical scheme of the present invention, as a minimum unit, by core operation module, moved; By configurable operating scheme, specific data is originated and processing procedure arbitrarily, has greatly improved the extensibility of technical solution of the present invention, has reduced use difficulty, the difficulty that has reduced exploitation simultaneously and safeguarded.
In technique scheme, preferably, step 312 also comprises: before operation corresponding scheme, according to the log-on message of operating scheme, operating scheme is carried out to packet sequencing, each grouping is as a separate threads operation, the single-threaded execution of single grouping, multithreading operation is carried out in a plurality of groupings; In a grouping, operating scheme is carried out successively according to log-on message.In this technical scheme, can support the various ways such as single-threaded, thread grouping, the dirigibility that has improved technical solution of the present invention when improving data-handling efficiency.
In technique scheme, preferably, between step 306 and step 310, also comprise: step 308: use the data memory module that comprises database and/or internal memory, data-processing interface is externally provided, the intermediate result of the processing scheme that buffer memory step 312 operating procedure 306 arranges; And step 312 also comprises: by the intermediate result of the business processing class operating scheme in operation corresponding scheme, carry out buffer memory in step 308.In this technical scheme, intermediate result in data handling procedure buffer memory can be provided, use present existing data storage method to realize, by the mode of buffer memory, both improved technical solution of the present invention to the processing power of large data and efficiency, the risk that may cause internal memory to overflow while having reduced again large data processing.
In technique scheme, preferably, before step 304, also comprise: step 302: definition step 312 participates in the standards and norms of computing, requires step 304 and step 306 all to follow this standard; Participate in the standards and norms of computing, with the form issue of interface, each business source must provide the class that realizes this interface; And step 304 is specially: the standard based on step 302 definition, query scheme is set, use the query scheme arranging, from business data source and/or intermediate result reading out data; And/or step 306 is specially: the standard based on step 302 definition, set handling scheme, is used the processing scheme arranging, and data are processed and outputed in corresponding data source; And/or, step 312 is specially: when having the input of business datum source, standards and norms based on step 302 definition, the operating scheme of all registrations of query steps 310, the processing scheme that the query scheme that invocation step 304 arranges and step 306 arrange, move successively business processing class operating scheme and result treatment class scheme in corresponding scheme, output data source.In this technical scheme, the standards and norms of unified participation computing can be provided, requirement must follow unified grouting socket as the operation system in source and parameter agreement realizes the method that offers core algorithm, and the origin system that comes only with the method realizing according to the standards and norms of unified participation computing could participate in the computing of core algorithm; Pass through unified interface, the difference of isolating each business source, in unified mode, process multiple source, distinguish responsibility, only be responsible for according to the Processing Algorithm of standard implementation oneself in each business source, its main operational only need to be considered to receive unified data and realize core algorithm logic, thereby reduces cost of development, improves development efficiency and security.
In technique scheme, preferably, the basic operational scheme of step 302 or step 304 or step 310, specifically comprises: step 400: based on corresponding querying condition, to corresponding data inquire about, demonstration and editing and processing; Step 500: based on corresponding query argument, to business datum source inquire about one by one, insert, change, deletion and checking treatment; Further, as shown in Fig. 4 a, step 400, further comprises: step 402: the querying condition of receiving terminal appointment, and executing data query manipulation, from the log-on data of persistence, inquiry meets the data of terminal specified requirements, and is shown to terminal; Step 404: the data that receiving terminal enquiry module returns are also shown to terminal, the processing that allows terminal user that data are inquired about, increase newly, revised and delete; Step 406: the data that display terminal enquiry module returns, the processing that allows user that data are increased newly, revise, deleted and preserve; And/or as shown in Figure 4 b, step 500, further comprises: step 502: receive query argument, according to querying condition, return to source system log (SYSLOG); Step 504: receive a plurality of sources, process one by one, source data entity inserts corresponding source business in the future; Step 506: receive a plurality of sources, process one by one, change the source data entity of corresponding source business; Step 508: receive a plurality of sources, process one by one, delete the source data entity of corresponding source business; Step 510: receive a plurality of sources, process one by one, source business is checked, determine and come origin system whether to follow unified standard.
For example, in technical solution of the present invention, the collaboration process between each module is as shown in Figure 6.After technical scheme of the present invention starts, by core operation module, be responsible for whole scheduling, first start business datum enquiry module, from different data sources, read business datum, then giving processing module business data processing module processes, after finishing dealing with, by result cache in intermediate result cache module, then intermediate result enquiry module reading out data from middle result cache module again, give result-generation module and carry out result treatment, data output in the data source of appointment the most at last.Technical scheme of the present invention, does not need human intervention after startup, technical solution of the present invention will be moved automatically according to the information of having registered, and carries out data processing, is described in detail as follows:
(i) the standards and norms of unified participation computing
According to the needs of core algorithm, definition core operation module participates in the standards and norms of computing, requestor in requirement enquiry module and the processor in processing module etc. all must be followed this standard, take Object-Oriented Systems as example, participate in the standards and norms of computing with the form issue of interface, each business source must provide the class that realizes this interface.
For example, in the rent computing of assets, calculating rent is its main operational device, calculates rent and need to give back list from leasing list, off-hires single and compensates and singly obtain basis, so definition rent is calculated interface, input parameter is: client, and material, between date field; Return parameters is: material, client, date; And requirement participates in the list of leasing of rent calculating, give back list, off-hiring single and reparation singly provides and realizes the method that rent is calculated interface, is respectively to lease single rent detail and obtain service, give back single rent detail and obtain service, off-hire the service of obtaining of single rent detail and compensate single rent detail and obtain service.
(ii) enquiry module
The effect of enquiry module arranges some query schemes, then use these query schemes from a data source reading out data, in technical scheme of the present invention, enquiry module is divided into two kinds of business datum enquiry module and intermediate result enquiry modules, business datum enquiry module is used for reading business datum from specific data source, and intermediate result enquiry module is used for from middle result cache module reading out data.Enquiry module mainly comprises following components: query scheme arranges module [comprise (1) terminal inquiry module, (2) display module, (3) editor module], query scheme related edit method [comprise (4) querying method, (5) newly-increased method, (6) variation, (7) delet method, (8) method of calibration etc.].
The operation logic of enquiry module as shown in Figure 7.Enquiry module can trade mark enquiries scheme, and query scheme is persisted in storage medium, can move query scheme, from the data source reading out data of appointment simultaneously.Wherein, query scheme comprises following data item:
Name type Rule
Coded character Do not allow repetition
Name character Query scheme title
Type enumerated value Allow expansion
Data source character The data of appointment read source
Requestor character The complete trails of the requestor of realizing according to unified standard and standard
Categorical data comprises following data item:
Figure BDA0000436548120000151
Be described as follows:
(1) terminal inquiry module, the querying condition of receiving terminal appointment, executing data query manipulation, from the log-on data of persistence, inquiry meets the data of terminal specified requirements, and is shown to terminal.
(2) display module, is responsible for receiving the data that querying method returns the function that is shown to terminal, and query function, what's new, modify feature and delete function is provided; The what's new of display module, shows the picture that increases log-on data newly, the newly-increased data of receiving terminal, and call the newly-increased method of query scheme and realize save data function.The treatment step of display module what's new is as follows:
10, terminal data is assembled into the reception parameter of newly-increased method;
20, call newly-increased method, import the newly-increased data of terminal into;
30, if newly-increased method is returned to preservation failed message;
30.10 return to newly-increased failure information;
30.20 method ends;
40, return to newly-increased successful information;
50 refresh picture, method ends.
The modify feature of display module, shows that editor module is to terminal; The query function of display module: the querying condition importing into according to display module loads data, and display frame is to terminal.The treatment step of display module query function is as follows:
10, receive querying condition, call querying method, data query;
20, receive the return data of inquiring about;
30, if there is no return data;
30.10 return to that do not have can editing data information;
30.20 return to display frame;
30.30 method ends;
40, there is return data;
40.10 are shown to terminal by return data;
40.20 will preserve, and abort function is shown as terminal button;
40.30 method ends.
The delet method of display module, processing terminal requires to delete the function of selected data.The treatment step of display module delet method is as follows:
10, terminal data is assembled into the reception parameter of delet method
20, call delet method, import the data that terminal need to be deleted into;
30, if delet method returns to deletion failed message
30.10 return to deletion failure information;
30.20 method ends
40, return to deletion successful information
50 refresh picture, method ends.
(3) editor module, is responsible for the data that show that querying method returns, allows user to carry out newly-increased, modification, deletion and the hold function to data at editor module.This editor module provides demonstration, preservation, abort function.Hold function is carried out different functions according to terminal data, and again loaded and displayed picture to terminal; Every circular treatment, wall scroll treatment step is as follows:
10, receiving terminal data;
20, if data increase newly;
20.10 are assembled into the reception parameter of newly-increased method by terminal data;
20.20, call newly-increased method, import the newly-increased data of terminal into;
20.30, if newly-increased method is returned to preservation failed message;
20.30.10 return to newly-increased failure information;
20.30.20 method ends;
20.40, return to newly-increased successful information;
20.50 refresh picture, method ends;
30, if data are revised;
30.10 are assembled into the reception parameter of amending method by terminal data;
30.20, call amending method, import the data of terminal modifications into;
30.30, if amending method returns to preservation failed message;
30.30.10 return to modification failure information;
30.30.20 method ends;
30.40, return to successfully modified information;
30.50 refresh picture, method ends.;
40, if data are deleted;
40.10 are assembled into the reception parameter of delet method by terminal data;
40.20, call delet method, import the data of terminal deletion into;
40.30, if delet method returns to deletion failed message;
40.30.10 return to deletion failure information;
40.30.20 method ends;
40.40, return to deletion successful information;
40.50 refresh picture, method ends.
(4) querying method, realizes according to querying condition, returns to the function of source system log (SYSLOG).Receive query argument, treatment step is as follows:
10, assembled querying condition;
20, use and had inquiring technology inquiry source business datum entity;
30 receive the matched data inquiring;
40 return to source array;
50 method ends.
(5) newly-increased method, realizes the function of source business being inserted to source data entity.Receive a plurality of sources, process one by one, wall scroll treatment step is as follows:
10, read newly-increased source business and method;
20, the method for calibration using this source business and method as parameter call Registering modules;
30 receive not in accordance with standard, do not allow to add message;
30.10 return not in accordance with standard, do not allow to add message;
30.20 method ends;
40 receive that this source has existed message;
40.10 return to this source, there is message;
40.20 method ends;
50 insert source data entity by newly-increased source business and method.
(6) variation, realizes the function of the source data entity of change source business.Receive a plurality of sources, process one by one, wall scroll treatment step is as follows:
10, read source business and the method for change;
20, come source data as parameter call method of calibration this;
30 receive not in accordance with standard, do not allow to add message;
30.10 return not in accordance with standard, do not allow to add message;
30.20 method ends;
40 receive that this source has existed message;
40.10 return to this source, there is message;
40.20 method ends;
50 call the former record that querying method loads pre-change;
60 judge whether former record changes (generally adopt timestamp comparison, can also adopt multikey value relatively to realize);
70 change;
70.10 return to former record has changed message;
70.20 method ends;
80 change former record data according to new data after changing;
90 preserve this record;
100 method ends.
(7) delet method, realizes the function of the source data entity of deleting source business.Receive a plurality of sources, process one by one, wall scroll treatment step is as follows:
10, read source business and method that wish is deleted;
20, source business and method that always source data object query wish is deleted;
30 do not exist;
30.10 return to this source, deleted message;
30.20 method ends;
40 these sources exist;
40.10 always source entity is deleted this source;
40.20 delete unsuccessful;
40.30 return to delete, make mistakes, ask retry message;
50 method ends.
(8) method of calibration, realizes source business is checked, determines and comes origin system whether to follow unified standard.Receive a plurality of sources, process one by one, wall scroll treatment step is as follows:
10, read the method for the source business of registration;
20, judge whether the affiliated type of the method has realized the unified standard of this device;
30 do not realize;
30.10 return not in accordance with standard, do not allow to add;
30.20 method ends;
40 check whether newly-increased source business and method exists;
50 have existed;
50.10 return to this source, there is message;
50.20 method ends;
60 return to true.
For example, can realize querying method with requestor, realize and from specific data source, obtain the function of data.Receive querying condition, returning an object value set, treatment step is as follows:
10, read requestor querying condition;
20, the querying method using this querying condition as parameter call requestor;
30 receive return data;
If 40 return datas do not have data;
40.10 return to sky array;
50 reading out datas one by one;
50.10 use the object of reflex mechanism structure current data;
50.20 receive that object type does not exist message;
50.20.10 there is not message in returning an object value type;
50.20.20 method ends;
50.30 add rreturn value array by this object according to the key assignments of title and object;
50.40 read next;
60 method ends.
(iii) processing module
The effect of processing module arranges some processing schemes, then use these processing schemes data to be processed and outputed in corresponding data source, in technical scheme of the present invention, processing module is divided into two kinds of Service Processing Module and result treatment modules, Service Processing Module is used for processing the business datum of importing into, and result treatment module is for generating final Output rusults by data processing.Processing module mainly comprises following components: processing scheme arranges module [comprise (1) enquiry module, (2) display module, (3) editor module], processing scheme related edit method [comprise (4) querying method, (5) newly-increased method, (6) variation, (7) delet method, (8) method of calibration etc.].Specific as follows:
The operation logic of processing module as shown in Figure 8.Processing module can location registration process scheme, and processing scheme is persisted in storage medium, and processing module can also be moved processing scheme simultaneously, and reading out data from enquiry module, processes, and finally outputs in the data source of appointment.Wherein, processing scheme comprises following data item:
Title Type Rule
Coding Character Do not allow repetition
Title Character Processing scheme title
Type Enumerated value Allow expansion
Data source Character Result is specified output data source
Processor Character The complete trails of the processor of realizing according to unified standard and standard
Categorical data comprises following data item:
Figure BDA0000436548120000201
Wherein, it is the same with enquiry module above that processing scheme arranges module and processing scheme related edit method, and the data object of only processing is processing scheme, does not repeat them here.
For example, can realize disposal route by processor, carry out data processing and output, realize deal with data and output to the function in specific data source.The data that reception is imported into, process, and treatment step is as follows:
10 read the data of importing into;
If 20 data are empty;
20.10 method ends;
30 reading out datas one by one;
30.10 data processing methods that call processor carry out data processing;
30.20 call the output intent of processor, and result is outputed to specific data source;
30.30 read next;
40 method ends.
(iv) intermediate result cache module
The effect of intermediate result cache module is exactly the intermediate result of buffer memory business processing, can realize like this and become consolidation form for follow-up use business data processing, can carry out again data buffer storage and improve treatment effeciency.Intermediate result cache module can be used more existing data memory modules (for example database, internal memory etc.) to realize, and the interface of some data processings is externally provided.The interface that intermediate result cache module externally provides has: newly-increased method, amending method, querying method and delet method.
Newly-increased method: the newly-increased method of calling data memory module, carry out the newly-increased of data.
Amending method: the amending method of calling data memory module, revise corresponding data.
Querying method: the querying method of calling data memory module, data query.
Delet method: the delet method of calling data memory module, delete corresponding data.
(v) operating scheme arranges module
The effect that operating scheme arranges module arranges some operating schemes, and these operating schemes are moved by core operation module the most at last, carry out inquiry, processing, the produce output result of data.In technical scheme of the present invention, operating scheme is divided into two kinds of business processing scheme and result treatment schemes, business processing scheme is used for query traffic data process business datum, result cache is in intermediate result cache module the most at last, and result treatment scheme is used for from middle result cache module reading out data, and generate final Output rusults.Operating scheme arranges module and mainly comprises following components: operating scheme arranges module (comprising enquiry module, display module, editor module), operating scheme related edit method (comprises querying method, newly-increased method, variation, delet method, method of calibration etc.).
The structure that operating scheme arranges module as shown in Figure 9.Operating scheme arranges module and is mainly used in registering operating scheme, and operating scheme is persisted in storage medium, and simultaneously operating scheme arranges module and also can be moved module by core and call, and carries out the inquiry of operating scheme.Wherein, operating scheme comprises following data item:
Figure BDA0000436548120000211
Categorical data comprises following data item:
Wherein, the type of its query scheme of the type decided of operating scheme and processing scheme, if operating scheme is business processing type, its query scheme and processing scheme are also necessary for business processing type.It is the same with enquiry module above that operating scheme arranges module and operating scheme related edit method, and the data object of only processing is operating scheme, does not repeat them here.
For example, can realize operation method by performer, then performer can pass to data the processor of processing scheme according to the requestor data query of query scheme, and result outputs in the data source of processor appointment the most at last.The step of performer operation is as follows:
10 according to the information of operating scheme, obtains corresponding query scheme and processing scheme;
The querying method of 20 operation query scheme requestors, data query;
30 pass to the processor of processing scheme by Query Result;
The disposal route of 40 operation processing scheme processors, carries out data processing and outputs results to specific data source;
50 method ends.
(vi) core is moved module
Core operation module is the core of technical solution of the present invention, and it is responsible for the operation of operating scheme.After technical solution of the present invention starts, core operation module, by the operating scheme of all registrations of inquiry, is then first moved business processing class operating scheme, after business processing type scheme is finished, then goes operation result to process type operating scheme.Before operation, can to scheme, carry out packet sequencing according to the log-on message of scheme, a grouping is moved as a separate threads, in a grouping, scheme will be carried out successively according to log-on message, if only have a grouping, single-threaded execution.The flow process of core operation module operation as shown in figure 10.The treatment step of core operation module is as follows:
10. inquire about the operating scheme of all registrations;
20. operation business processing type operating schemes;
30. divide into groups scheme according to certain rule, each grouping is as a separate threads operation;
40. multithreadings are carried out each grouping;
In 50.10 grouping threads, according to the execution sequence of scheme, carry into execution a plan one by one;
50.10.10 the operation method of performer carries into execution a plan;
50.10.20 carrying out, scheme finishes;
50.10.30 reading the next one carries into execution a plan;
50.20 carrying out, grouping finishes;
60. all groupings are carried out and are finished;
70. operation results are processed type operating scheme;
80. divide into groups scheme according to certain rule, each grouping is as a separate threads operation;
90. multithreadings are carried out each grouping;
In 100.10 grouping threads, according to the execution sequence of scheme, carry into execution a plan one by one;
The operation method of performer 100.10.10 carry into execution a plan;
100.10.20 carrying out, scheme finishes;
100.10.30 reading the next one carries into execution a plan;
100.20 carrying out, grouping finishes;
110. carrying out, all groupings finish;
120. end of run.
For example: the rent of turnover is calculated list and just successfully used the present invention, and the data of multiple services bills are processed.
The rent calculating list of turnover is mainly that the business datum to producing in turnover lease process is carried out analytic statistics, produces lease detail, will gather data simultaneously.Rent calculate be singly by drawing with generating, it can go inquiry contract from last time rental date to the list of leasing this rental date, give back list, off-hire single and reparation list, then these data are carried out to the fractionation between date field, generate detailed data, finally add up again this interval interior rent producing.Rent is calculated single treatment scheme as shown in figure 11.
Rent is calculated the single operating scheme of registering altogether four business processing types, the operating scheme of three result treatment types, these business processing type scheme are respectively from leasing list, give back list, off-hire list, compensate single reading out data, and then these data are processed respectively, generate intermediate result and calculate VO, three processing schemes are reading out data from calculate VO cache pool again, generates final rent and calculates detailed.
Empirical tests, use after technical scheme of the present invention, the efficiency that rent is calculated is than using traditional approach to be greatly improved, the difficulty of performance history and later maintenance has greatly reduced simultaneously, in addition, later stage is split as reparation business to lose reparation business and indemnity for damage business, increase maintenance business simultaneously, only need to delete the single processing scheme of original reparation, increase new processing scheme, service expansion capability improves greatly, can not affect former processing mode again simultaneously, and extensibility and dirigibility are very strong.
The application's technical scheme, by provide unified participation computing standards and norms, provide enquiry module, processing module, intermediate result cache module, operating scheme that module, core operation module etc. are set, in conjunction with development technique such as existing object based programming method and language, reflex mechanisms, finally realize one and automatically to deriving from multi-field multiple services bills, carry out analyzing and processing, and finally produce a kind of technical scheme of arranging the disposal system of output.
Technical scheme of the present invention, can be applicable to realize as required and specify the concrete multiple source business paper that participates in calculating in different scenes in software development activity, and realize computing source and seek unity of standard, realize source separated with computing design itself, support dynamic expansion and definition, be applicable in software systems, according to dimension parallel computations such as sources, to support efficiently simultaneously, standard definable, many adaptive application scenarioss.
Technical scheme of the present invention, has solved the problems such as the low and extendability of traditional approach efficiency is poor, proposed a kind of simple and easy, mode is processed multiple services bills data efficiently, flexibly, at least can reach following beneficial effect:
(1) pass through unified interface, the difference of isolating each business source, in unified mode, process multiple source, distinguish responsibility, only be responsible for according to the Processing Algorithm of standard implementation oneself in each business source, its main operational module only need to be considered to receive unified data and realize core algorithm logic, thereby reduces cost of development, improves development efficiency and security.
(2) by the Registering modules of the source business in when operation is provided, support technical scheme of the present invention to there is higher extendability, permission is at run mode, by according to standard implementation the source service log-on of access method in technical scheme of the present invention, and participate in computing, reduced later development, the difficulty of maintenance and expansion.
(3) solve its main operational and come origin system isolated, its main operational multithreading, dynamically decision participates in the problem of the source business of computing.
More than be described with reference to the accompanying drawings technical scheme of the present invention, considered and in correlation technique, there is no easy, the unified solution for multiple services bills statistical treatment.Existing business paper statistical treatment cannot complete the statistical treatment process that multi-source business paper participates in.Therefore, the present invention proposes a kind of a kind of device and method that automatically performs multiple services bills statistical treatment that automatically performs multiple services bills statistical treatment, can be on existing business paper statistical treatment mode basis, make full use of the statistical treatment that single business paper statistical treatment type completes multiple services bills, set up general, the unified statistical treatment thinking towards the statistical treatment of multi-source business paper that multiple services bills participates in.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a device that automatically performs multiple services bills statistical treatment, is characterized in that, comprising:
Enquiry module, for query scheme is set, is used the query scheme arranging, from business data source and/or intermediate result reading out data;
Processing module, for set handling scheme, is used the processing scheme arranging, and data are processed and outputed in corresponding data source;
Operating scheme arranges module, for registering the operating scheme of core operation module, the operating scheme of registration is persisted in storage medium; Calling of response core operation module, inquires about corresponding operating scheme;
Core operation module, for when having the input of business datum source, inquire about the operating scheme that described operating scheme arranges all registrations of module, call the query scheme of described enquiry module setting and the processing scheme that described processing module arranges, move successively business processing class operating scheme and result treatment class scheme in corresponding scheme, output data source.
2. the device that automatically performs multiple services bills statistical treatment according to claim 1, it is characterized in that, described core operation module, also for: operation corresponding scheme before, according to the log-on message of operating scheme, operating scheme is carried out to packet sequencing, each grouping is as a separate threads operation, the single-threaded execution of single grouping, multithreading operation is carried out in a plurality of groupings; In a grouping, operating scheme is carried out successively according to log-on message.
3. the device that automatically performs multiple services bills statistical treatment according to claim 1 and 2, is characterized in that, also comprises:
Intermediate result cache module, for using the data memory module that comprises database and/or internal memory, externally provides data-processing interface, and core operation module is moved the intermediate result of the processing scheme that described processing module arranges described in buffer memory; And,
Described core operation module, also for: by the intermediate result of the business processing class operating scheme of operation corresponding scheme, at described intermediate result cache module, carry out buffer memory.
4. the device that automatically performs multiple services bills statistical treatment according to claim 1 and 2, is characterized in that, also comprises:
Operation standard and normalized definition module, for defining the standards and norms of described core operation module participation computing, require described enquiry module and processing module all to follow this standard; Participate in the standards and norms of computing, with the form issue of interface, each business source must provide the class that realizes this interface; And,
Described enquiry module, specifically for the standard based on described operation standard and normalized definition module definition, arranges query scheme, uses the query scheme arranging, from business data source and/or intermediate result reading out data; And/or,
Processing module is specifically for the standard based on described operation standard and normalized definition module definition, and set handling scheme, is used the processing scheme arranging, and data are processed and outputed in corresponding data source; And/or,
Core operation module, for when having the input of business datum source, standards and norms based on described operation standard and normalized definition module definition, inquire about the operating scheme that described operating scheme arranges all registrations of module, call the query scheme of described enquiry module setting and the processing scheme that described processing module arranges, move successively business processing class operating scheme and result treatment class scheme in corresponding scheme, output data source.
5. the device that automatically performs multiple services bills statistical treatment according to claim 1 and 2, is characterized in that, described enquiry module or processing module or operating scheme arrange the basic composition structure of module, specifically comprise:
Corresponding scheme arranges module, for based on corresponding querying condition, to corresponding data inquire about, demonstration and editing and processing;
Corresponding scheme editor module, for based on corresponding query argument, to business datum source inquire about one by one, insert, change, deletion and checking treatment; Further,
Described corresponding scheme arranges module, further comprises:
Terminal inquiry module, for the querying condition of receiving terminal appointment, executing data query manipulation, from the log-on data of persistence, inquiry meets the data of terminal specified requirements, and is shown to terminal;
Display module, the data of returning for receiving terminal enquiry module are also shown to terminal, the processing that allows terminal user that data are inquired about, increase newly, revised and delete;
Editor module, the data of returning for display terminal enquiry module, the processing that allows user that data are increased newly, revise, deleted and preserve; And/or,
Described corresponding scheme editor module, further comprises:
Inquiry comes source record to return to module, for receiving query argument, according to querying condition, returns to source system log (SYSLOG);
Source data entity insert module, for receiving a plurality of sources, processes one by one, and source data entity inserts corresponding source business in the future;
Source data entity change module, for receiving a plurality of sources, processes one by one, changes the source data entity of corresponding source business;
Source data entity removing module, for receiving a plurality of sources, processes one by one, deletes the source data entity of corresponding source business;
Source data entity correction verification module, for receiving a plurality of sources, processes one by one, and source business is checked, determines and comes origin system whether to follow unified standard.
6. a method that automatically performs multiple services bills statistical treatment, is characterized in that, comprising:
Step 304: query scheme is set, uses the query scheme arranging, from business data source and/or intermediate result reading out data;
Step 306: set handling scheme, use the processing scheme arranging, data are processed and outputed in corresponding data source;
Step 310: the operating scheme of registration core operation module, is persisted to the operating scheme of registration in storage medium; Calling of response core operation module, inquires about corresponding operating scheme;
Step 312: when having the input of business datum source, inquire about the operating scheme of all registrations of described step 310, call the query scheme of described step 304 setting and the processing scheme that described step 306 arranges, move successively business processing class operating scheme and result treatment class scheme in corresponding scheme, output data source.
7. the method that automatically performs multiple services bills statistical treatment according to claim 6, it is characterized in that, described step 312 also comprises: before operation corresponding scheme, according to the log-on message of operating scheme, operating scheme is carried out to packet sequencing, each grouping moves as a separate threads, the single-threaded execution of single grouping, and multithreading operation is carried out in a plurality of groupings; In a grouping, operating scheme is carried out successively according to log-on message.
8. according to the method that automatically performs multiple services bills statistical treatment described in claim 6 or 7, it is characterized in that, between described step 306 and step 310, also comprise:
Step 308: use the data memory module comprise database and/or internal memory, data-processing interface is externally provided, the intermediate result of the processing scheme that the described step 306 of step 312 operation arranges described in buffer memory; And,
Described step 312 also comprises: by the intermediate result of the business processing class operating scheme in operation corresponding scheme, in described step 308, carry out buffer memory.
9. according to the method that automatically performs multiple services bills statistical treatment described in claim 6 or 7, it is characterized in that, before described step 304, also comprise:
Step 302: define the standards and norms that described step 312 participates in computing, require described step 304 and step 306 all to follow this standard; Participate in the standards and norms of computing, with the form issue of interface, each business source must provide the class that realizes this interface; And,
Described step 304 is specially: the standard based on described step 302 definition, query scheme is set, and use the query scheme arranging, from business data source and/or intermediate result reading out data; And/or,
Described step 306 is specially: the standard based on described step 302 definition, and set handling scheme, is used the processing scheme arranging, and data are processed and outputed in corresponding data source; And/or,
Described step 312 is specially: when having the input of business datum source, standards and norms based on described step 302 definition, inquire about the operating scheme of all registrations of described step 310, call the query scheme of described step 304 setting and the processing scheme that described step 306 arranges, move successively business processing class operating scheme and result treatment class scheme in corresponding scheme, output data source.
10. according to the method that automatically performs multiple services bills statistical treatment described in claim 6 or 7, it is characterized in that, the basic operational scheme of described step 302 or step 304 or step 310, specifically comprises:
Step 400: based on corresponding querying condition, to corresponding data inquire about, demonstration and editing and processing;
Step 500: based on corresponding query argument, to business datum source inquire about one by one, insert, change, deletion and checking treatment; Further,
Described step 400, further comprises:
Step 402: the querying condition of receiving terminal appointment, executing data query manipulation, from the log-on data of persistence, inquiry meets the data of terminal specified requirements, and is shown to terminal;
Step 404: the data that receiving terminal enquiry module returns are also shown to terminal, the processing that allows terminal user that data are inquired about, increase newly, revised and delete;
Step 406: the data that display terminal enquiry module returns, the processing that allows user that data are increased newly, revise, deleted and preserve; And/or,
Described step 500, further comprises:
Step 502: receive query argument, according to querying condition, return to source system log (SYSLOG);
Step 504: receive a plurality of sources, process one by one, source data entity inserts corresponding source business in the future;
Step 506: receive a plurality of sources, process one by one, change the source data entity of corresponding source business;
Step 508: receive a plurality of sources, process one by one, delete the source data entity of corresponding source business;
Step 510: receive a plurality of sources, process one by one, source business is checked, determine and come origin system whether to follow unified standard.
CN201310682489.0A 2013-12-12 2013-12-12 The automatic apparatus and method for performing multiple services bills statistical disposition Active CN103678591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310682489.0A CN103678591B (en) 2013-12-12 2013-12-12 The automatic apparatus and method for performing multiple services bills statistical disposition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310682489.0A CN103678591B (en) 2013-12-12 2013-12-12 The automatic apparatus and method for performing multiple services bills statistical disposition

Publications (2)

Publication Number Publication Date
CN103678591A true CN103678591A (en) 2014-03-26
CN103678591B CN103678591B (en) 2017-07-11

Family

ID=50316136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310682489.0A Active CN103678591B (en) 2013-12-12 2013-12-12 The automatic apparatus and method for performing multiple services bills statistical disposition

Country Status (1)

Country Link
CN (1) CN103678591B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866581A (en) * 2015-05-26 2015-08-26 北京奇虎科技有限公司 Database management method and apparatus
CN105447680A (en) * 2015-11-20 2016-03-30 上海携程商务有限公司 Order processing method and system based on workflow
CN108959307A (en) * 2017-05-22 2018-12-07 平安科技(深圳)有限公司 Expansible data reporting method, system and storage medium
CN109993642A (en) * 2017-12-28 2019-07-09 航天信息股份有限公司 Financial bill analysis method and system
CN113177826A (en) * 2021-05-20 2021-07-27 青岛海信智慧生活科技股份有限公司 Method and device for configuring commodities and cells in batch
CN114611476A (en) * 2022-01-26 2022-06-10 博思数采科技发展有限公司 Form content structured processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588369A (en) * 2004-09-06 2005-03-02 杭州恒生电子股份有限公司 Relation type data base system and its search and report method
CN102546247A (en) * 2011-12-29 2012-07-04 华中科技大学 Massive data continuous analysis system suitable for stream processing
CN102567493A (en) * 2011-12-22 2012-07-11 深圳市同洲视讯传媒有限公司 Data report system and report generation method with dynamic data source
CN102819557A (en) * 2012-06-28 2012-12-12 用友软件股份有限公司 Data inquiry processing device and data inquiry processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588369A (en) * 2004-09-06 2005-03-02 杭州恒生电子股份有限公司 Relation type data base system and its search and report method
CN102567493A (en) * 2011-12-22 2012-07-11 深圳市同洲视讯传媒有限公司 Data report system and report generation method with dynamic data source
CN102546247A (en) * 2011-12-29 2012-07-04 华中科技大学 Massive data continuous analysis system suitable for stream processing
CN102819557A (en) * 2012-06-28 2012-12-12 用友软件股份有限公司 Data inquiry processing device and data inquiry processing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866581A (en) * 2015-05-26 2015-08-26 北京奇虎科技有限公司 Database management method and apparatus
CN105447680A (en) * 2015-11-20 2016-03-30 上海携程商务有限公司 Order processing method and system based on workflow
CN108959307A (en) * 2017-05-22 2018-12-07 平安科技(深圳)有限公司 Expansible data reporting method, system and storage medium
CN109993642A (en) * 2017-12-28 2019-07-09 航天信息股份有限公司 Financial bill analysis method and system
CN113177826A (en) * 2021-05-20 2021-07-27 青岛海信智慧生活科技股份有限公司 Method and device for configuring commodities and cells in batch
CN114611476A (en) * 2022-01-26 2022-06-10 博思数采科技发展有限公司 Form content structured processing method and device

Also Published As

Publication number Publication date
CN103678591B (en) 2017-07-11

Similar Documents

Publication Publication Date Title
CN110704398B (en) Database migration method and device from MySQL to Oracle and computer equipment
CN103678591A (en) Device and method for automatically executing multi-service receipt statistical treatment
CN108319656A (en) Realize the method, apparatus and calculate node and system that gray scale is issued
RU2557761C2 (en) Bottom-up optimised search system and method
JP2010524060A (en) Data merging in distributed computing
CN103514223A (en) Data synchronism method and system of database
CN111427971B (en) Business modeling method, device, system and medium for computer system
US20170371922A1 (en) Database Management for Mobile Devices
CN106557307B (en) Service data processing method and system
CN111858615A (en) Database table generation method, system, computer system and readable storage medium
CN115374102A (en) Data processing method and system
CN110852559A (en) Resource allocation method and device, storage medium and electronic device
CN114443015A (en) Method for generating adding, deleting, modifying and checking service interface based on database metadata
CN112395339B (en) Intersystem data admission verification method, device, computer equipment and storage medium
CN100395752C (en) Report data collection system and method
CN109582476B (en) Data processing method, device and system
CN115543428A (en) Simulated data generation method and device based on strategy template
CN114238390A (en) Data warehouse optimization method, device, equipment and storage medium
CN112102099B (en) Policy data processing method and device, electronic equipment and storage medium
CN114282895A (en) Data processing method and device, electronic equipment and storage medium
CN114490865A (en) Database synchronization method, device, equipment and computer storage medium
CN115017185A (en) Data processing method, device and storage medium
CN112130849A (en) Automatic code generation method and device
CN108595552A (en) Data cube dissemination method, device, electronic equipment and storage medium
CN114238292B (en) Data cleaning method, device, computer equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park

Applicant after: Yonyou Network Technology Co., Ltd.

Address before: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park

Applicant before: UFIDA Software Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant