CN110188135A - Document generating method and equipment - Google Patents

Document generating method and equipment Download PDF

Info

Publication number
CN110188135A
CN110188135A CN201910464028.3A CN201910464028A CN110188135A CN 110188135 A CN110188135 A CN 110188135A CN 201910464028 A CN201910464028 A CN 201910464028A CN 110188135 A CN110188135 A CN 110188135A
Authority
CN
China
Prior art keywords
task
business
module
business rule
data
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
CN201910464028.3A
Other languages
Chinese (zh)
Other versions
CN110188135B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201910464028.3A priority Critical patent/CN110188135B/en
Publication of CN110188135A publication Critical patent/CN110188135A/en
Application granted granted Critical
Publication of CN110188135B publication Critical patent/CN110188135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Abstract

The embodiment of the present invention provides a kind of document generating method and equipment, this method comprises: determining business to be processed, and the source of pending data is determined according to the business to be processed;It determines the corresponding business rule of interface document, and loads the business rule;The business rule is parsed, determines that task handles node;If the task processing node is interface document generation, according to the source of the pending data and the business rule, generation interface document.Method provided in this embodiment can be by way of configuring, the processes such as data are determining, regular determination, file generated and processing mode carry out configuration, reduce the degree of coupling of each task code, code change is reduced simultaneously, improve code reuse, the existing task by obtaining Various types of data to database data entity table handling is solved, increases the problem that one kind interface data task development cycle is long, difficulty of test is big newly.

Description

Document generating method and equipment
Technical field
The present embodiments relate to technical field of data processing more particularly to a kind of document generating method and equipment.
Background technique
With the gradually development of informatization, widely applies before system and more and more frequent data communication friendship occur Mutually, and the data interaction of internal system is also more and more.
Currently, in order to meet the Various types of data of particular demands in the transmission requirement or realization system between multisystem The data sharing in portion, quickly and effectively to adapt to continually changing data interaction demand, by database data entity table The technology that operation carries out file generated is come into being.
However, being defined in specific program, often by the obtaining Various types of data to database data entity table handling of the task Secondary newly-increased a kind of interface data task just needs to modify program, and each task code degree of coupling is high, and the development cycle is long, it is difficult to test Degree is big.
Summary of the invention
The embodiment of the present invention provides a kind of document generating method and equipment, existing by database data entity to solve Table handling obtains the task of Various types of data, increases the problem that one kind interface data task development cycle is long, difficulty of test is big newly.
In a first aspect, the embodiment of the present invention provides a kind of document generating method, comprising:
It determines business to be processed, and determines the source of pending data according to the business to be processed;
It determines the corresponding business rule of interface document, and loads the business rule;
The business rule is parsed, determines that task handles node;
If the task processing node is interface document generation, according to the source of the pending data and the business Rule generates interface document.
In a kind of possible design, above-mentioned method, further includes:
It determines task execution time, and task is sent according to the task execution time and initiates instruction, the task is initiated Instruction carries task identification;
The determination business to be processed, and determine according to the business to be processed the source of pending data, comprising:
Determine business to be processed according to the task identification, according to the business to be processed determine pending data come Source, and feed back corresponding information;
The method also includes:
According to the information transmission prompting information of feedback to the first default personnel.
In a kind of possible design, above-mentioned method, further includes:
If the task processing node is file upload, the interface document is uploaded.
In a kind of possible design, above-mentioned method, further includes:
If the task processing node is public service, advised according to the source of the pending data and the business Then, public service is provided.
In a kind of possible design, above-mentioned method, further includes:
Check that the corresponding each data file of the task identification whether there is;
Inspection result is sent to the second default personnel.
Second aspect, the embodiment of the present invention provide a kind of file generation device, comprising:
Data Analysis Services module determines number to be processed for determining business to be processed, and according to the business to be processed According to source;
Business rule configuration management module, for determining the corresponding business rule of interface document;
Business rule loading module, for loading the business rule;
Task parsing module determines that task handles node for parsing to the business rule;
Interface document generation module, if being interface document generation for task processing node, according to described wait locate The source of reason data and the business rule, generate interface document.
In a kind of possible design, above-mentioned equipment further includes task timing module and Communications service module;
The task timing module sends task for determining task execution time, and according to the task execution time Instruction is initiated to the Data Analysis Services module, the task initiates instruction and carries task identification;
The Data Analysis Services module, for determining business to be processed according to the task identification, according to described wait locate Reason business determines the source of pending data, and feeds back corresponding information to the task timing module;
The Communications service module, for according to the information transmission prompting information of the Data Analysis Services module feedback extremely First default personnel.
In a kind of possible design, above-mentioned equipment further includes file uploading module;
The file uploading module uploads the interface document if being file upload for task processing node.
In a kind of possible design, above-mentioned equipment further includes public service module;
The public service module, if being public service for task processing node, according to the number to be processed According to source and the business rule, public service is provided.
In a kind of possible design, above-mentioned equipment further includes data review module;
The data review module, for checking that the corresponding each data file of the task identification whether there is;
The Communications service module is also used to for the inspection result of the data review module to be sent to the second default people Member.
In a kind of possible design, the public service module includes:
Log services unit, for according to the pending data source and the business rule, log services are provided;
Database Connection Service unit, for according to the pending data source and the business rule, number is provided It connects and services according to library;
Mission Monitor service unit, for according to the pending data source and the business rule, task is provided Monitoring service;
Abnormality processing service unit, for according to the pending data source and the business rule, exception is provided Processing service;
Task string parsing, converting unit, for according to the pending data source and the business rule, will be corresponding Information processing is at key-value pair.
The third aspect, the embodiment of the present invention provide a kind of file generation device, comprising: at least one processor and storage Device;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of memory storage so that it is described at least one Processor executes document generating method described in the various possible designs of first aspect and first aspect as above.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Computer executed instructions are stored in matter, when processor execute the computer executed instructions when, realize first aspect as above with And document generating method described in the various possible designs of first aspect.
Document generating method provided in this embodiment and equipment, this method, which passes through, determines business to be processed, and according to described Business to be processed determines the source of pending data;It determines the corresponding business rule of interface document, and loads the business rule; The business rule is parsed, determines that task handles node;If the task processing node is interface document generation, root Source and the business rule according to the pending data generate interface document, can be true by data by way of configuring The processes such as fixed, regular determination, file generated and processing mode carry out configuration, reduce the degree of coupling of each task code, simultaneously Code change is reduced, code reuse is improved, is solved existing by obtaining Various types of data to database data entity table handling Task increases the problem that one kind interface data task development cycle is long, difficulty of test is big newly.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the application scenario diagram of document generating method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram one of document generating method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram two of document generating method provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram one of file generation device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram two of file generation device provided in an embodiment of the present invention;
Fig. 6 is the hardware structural diagram of file generation device provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any Deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, production Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this A little process, methods, the other step or units of product or equipment inherently.
With the gradually development of informatization, widely applies before system and more and more frequent data communication friendship occur Mutually, and the data interaction of internal system is also more and more.Currently, in order to meet the Various types of data of particular demands in multisystem Between transmission require or realize the data sharing of internal system, needed quickly and effectively to adapt to continually changing data interaction It asks, is come into being by the technology for carrying out file generated to database data entity table handling.However, by database data Entity table handling obtains the task of Various types of data, is defined in specific program, and newly-increased a kind of interface data task just needs every time Program is modified, each task code degree of coupling is high, and development cycle length, difficulty of test are big.
Accordingly, it is considered to arrive the above problem, the present invention provides a kind of document generating method, by determination business to be processed, and The source of pending data is determined according to the business to be processed;Determine the corresponding business rule of interface document, and described in load Business rule;The business rule is parsed, determines that task handles node;If the task processing node is interface document It generates, then according to the source of the pending data and the business rule, generates interface document, it, will by way of configuring The processes such as data determination, regular determination, file generated and processing mode carry out configuration, reduce the coupling of each task code Degree, while code change is reduced, code reuse is improved, is solved existing all kinds of by being obtained to database data entity table handling The task of data increases the problem that one kind interface data task development cycle is long, difficulty of test is big newly.
Fig. 1 is a kind of application scenario diagram of document generating method provided by the invention.As shown in Figure 1, processor 101 can be with It determines business to be processed, and determines the source of pending data according to the business to be processed, can determine that interface document is corresponding Business rule, and load the business rule, the business rule can also be parsed, determine that task handles node, If the task processing node is interface document generation, raw according to the source of the pending data and the business rule At interface document 102.
Wherein, processor 101 can be configured by simple process, and cumbersome unordered work just can be organized to form specification Job task, using job task as core, business datum needed for parsing according to node sequence makes business demand data and software side Method coupling reduces, data information needed for quickly being formed.
Fig. 2 is the flow diagram one of document generating method provided in an embodiment of the present invention, the executing subject of the present embodiment It can be the processor in embodiment illustrated in fig. 1, or other equipment, such as server, the present embodiment are not spy herein It does not limit.As shown in Fig. 2, this method may include:
S201, it determines business to be processed, and determines the source of pending data according to the business to be processed.
Here it is possible to which business to be processed determines according to actual conditions, further determines that corresponding data from which data Which library save grading information from.
S202, it determines the corresponding business rule of interface document, and loads the business rule.
Wherein, above-mentioned business rule can be customized, after customized corresponding service rule, can load customized Rule Information supplies information to other services.
Specifically, the parameter information that the business rule may include the prepared rule of user and user specifies, rule Then information and parameter information organically combine.After loading the business rule, the business rule can also be shown, it is intuitive to open up Existing rule and parameter realize that user task independently customizes, user customized information visualizes in user.
S203, the business rule is parsed, determines that task handles node.
Here, carrying out parsing to the business rule may include: to utilize SERVICE, RSET-INDB, FUNC, RSHELL The business rule is parsed with one of SQL-RSET or a variety of, i.e. key-value pair information of the task parsing according to definition Parsed, be linked to specific information on services, such information on services meet it is expansible, if can add according to the demand of user Do different analysis services, specifically, it is above-mentioned to the business rule carry out parsing include: offer structured query language (Structured Query Language, abbreviation SQL) parsing, generates result set data;Storage can be directly realized by;It can adjust With external executable or shell etc..
If S204, the task handle node for interface document generation, according to the source of the pending data and institute Business rule is stated, interface document is generated.
It is above-mentioned to form INSERT type SQL statement after generating interface document and be transferred to internal system database, Interface document can be provided for peripheral system, file warehousing can also be completed according to customized Rule Information, realize number According to persistence.
Document generating method provided in this embodiment, by determination business to be processed, and it is true according to the business to be processed Determine the source of pending data;It determines the corresponding business rule of interface document, and loads the business rule;The business is advised It is then parsed, determines that task handles node;If the task processing node is interface document generation, according to described to be processed The source of data and the business rule generate interface document, by way of configuring, data are determining, regular determination, file The processes such as generation and processing mode carry out configuration, reduce the degree of coupling of each task code, while reducing code change, improve Code reuse solves the existing task by obtaining Various types of data to database data entity table handling, increases one kind interface newly The problem that the data task development cycle is long, difficulty of test is big.
Fig. 3 is the flow diagram two of document generating method provided in an embodiment of the present invention, and the present embodiment is in Fig. 2 embodiment On the basis of, the specific implementation process of the present embodiment is described in detail.As shown in figure 3, this method comprises:
S301, it determines task execution time, and task is sent according to the task execution time and initiates instruction, the task It initiates instruction and carries task identification.
Here it is possible to be defined very in python engineering according to time point using crontab timing scan python engineering Multitask string, when scanning will initiate the task string to needing to be implemented for task.Wherein, crontab order be common in Unix and Among the operating system of class Unix, for the instruction being periodically performed to be arranged.Python is a kind of computer program design language Speech is a kind of dynamic, object-oriented scripting language, is originally designed for writing automatized script (shell), with version The addition of continuous renewal originally and language new function, it is more and more to be used for independent, mega project exploitation.
S302, business to be processed is determined according to the task identification, pending data is determined according to the business to be processed Source, and feed back corresponding information.
S303, according to the information transmission prompting information of feedback to the first default personnel.
Message can be returned after task is initiated, and corresponding message is sent to by corresponding personnel according to configuration.
S304, check that the corresponding each data file of the task identification whether there is.
S305, inspection result is sent to the second default personnel.
In addition, also checking for corresponding data file after task is initiated whether there is, will accordingly disappear also according to configuration Breath is sent to corresponding personnel.
S306, it determines the corresponding business rule of interface document, and loads the business rule.
Wherein, Mission Rules Guidelines load can load custom rule information, supply information to other services.The business rule It then may include the prepared rule of user and the parameter information that user specifies.After loading the business rule, may be used also To show the business rule.
S307, the business rule is parsed, determines that task handles node.
Task parsing is parsed according to the key-value pair information of definition, is linked to specific information on services, such service letter Breath meets expansible, several different analysis services can be added according to the demand of user, specifically, above-mentioned to the business rule It may include: right using one of SERVICE, RSET-INDB, FUNC, RSHELL and SQL-RSET or a variety of for carrying out parsing The business rule is parsed.
If S308, the task handle node for interface document generation, according to the source of the pending data and institute Business rule is stated, interface document is generated.
It is above-mentioned after generating interface document, INSERT type SQL statement can also be formed and be transferred to internal system database.
If S309, the task handle node as file upload, the interface document is uploaded.
If it is public service that S310, the task, which handle node, according to the source of the pending data and the industry Business rule, provides public service.
Wherein, public service may include: log services, database Connection Service, Mission Monitor service, abnormality processing clothes Business and the parsing of task string, conversion function etc..Specifically, log services: being capable of providing user and print related service processing letter Breath provides information record, and journal file can be unique in process across linux, windows platform, and log can be classified and beat Print has process, thread mark;Database Connection Service: the connection string service of database relevant information is provided, can be managed according to configuration The information that reason service provides returns to corresponding database linkage information;Mission Monitor service: according to task execution situation, at implementation Task status information is managed, and is capable of providing corresponding task processing information figure;Abnormality processing service: database is connected and is taken Business, Mission Rules Guidelines analysis service, task analysis service etc. provide abnormality processing service, the parsing of task string, Transformation Service: offer A succession of mission bit stream working process is at key assignments peer-to-peer information.
Document generating method provided in this embodiment can be such that business related development in task couples with system function exploitation Property reduce, task exploitation efficiently, scheduling implementation procedure it is apparent be illustrated, solve it is existing by being obtained to database data entity table handling The task of Various types of data is taken, increases the problem that one kind interface data task development cycle is long, difficulty of test is big newly, it being capable of more energy Be absorbed in business demand exploitation, realize the customized of task, data transmission fast implements, provide conveniently experience with it is intuitive Impression, processing task is more convenient, and data processing is efficient.
Fig. 4 is the structural schematic diagram one of file generation device provided in an embodiment of the present invention.As shown in figure 4, this document is raw Forming apparatus 40 include: Data Analysis Services module 401, business rule configuration management module 402, business rule loading module 403, Task parsing module 404 and interface document generation module 405.
Wherein, Data Analysis Services module 401 is determined for determining business to be processed, and according to the business to be processed The source of pending data.
Business rule configuration management module 402, for determining the corresponding business rule of interface document.
Business rule loading module 403, for loading the business rule.
Task parsing module 404 determines that task handles node for parsing to the business rule.
Interface document generation module 405, if for the task processing node be interface document generate, according to described in The source of processing data and the business rule, generate interface document.
Equipment provided in this embodiment can be used for executing the technical solution of above method embodiment, realization principle and skill Art effect is similar, and details are not described herein again for the present embodiment.
Fig. 5 is the structural schematic diagram two of file generation device provided in an embodiment of the present invention.As shown in figure 5, the present embodiment On the basis of Fig. 4 embodiment, further includes: task timing module 406, Communications service module 407, file uploading module 408, public affairs Service module 409 and data review module 410 altogether.
In a kind of possible design, the task timing module 406, for determining task execution time, and according to institute It states task execution time and sends task initiation instruction to the Data Analysis Services module, the task initiates instruction carrying task Mark.
The Data Analysis Services module 401, for determining business to be processed according to the task identification, according to it is described to Processing business determines the source of pending data, and feeds back corresponding information to the task timing module.
The Communications service module 407, for being believed according to the information transmission prompting of the Data Analysis Services module feedback It ceases to the first default personnel.
In a kind of possible design, the file uploading module 408, if being file for task processing node It passes, then uploads the interface document.
In a kind of possible design, the public service module 409, if being public clothes for task processing node Business, then according to the source of the pending data and the business rule, provide public service.
In a kind of possible design, the data review module 410, for checking that the task identification is corresponding each Data file whether there is.
The Communications service module 407 is also used to the inspection result of the data review module being sent to second and preset Personnel.
In a kind of possible design, the public service module 409 includes:
Log services unit 4091, for according to the pending data source and the business rule, log is provided Service.
Database Connection Service unit 4092, for according to the pending data source and the business rule, mention For database Connection Service.
Mission Monitor service unit 4093, for according to the pending data source and the business rule, provide Mission Monitor service.
Abnormality processing service unit 4094, for according to the pending data source and the business rule, provide Abnormality processing service.
Task string parsing, converting unit 4095, for according to the pending data source and the business rule, will Corresponding information working process is at key-value pair.
Equipment provided in this embodiment can be used for executing the technical solution of above method embodiment, realization principle and skill Art effect is similar, and details are not described herein again for the present embodiment.
Fig. 6 is the hardware structural diagram of file generation device provided in an embodiment of the present invention.As shown in fig. 6, this implementation The file generation device 60 of example includes: processor 601 and memory 602;Wherein
Memory 602, for storing computer executed instructions;
Processor 601, for executing the computer executed instructions of memory storage, to realize, file is raw in above-described embodiment At each step performed by method.It specifically may refer to the associated description in preceding method embodiment.
Optionally, memory 602 can also be integrated with processor 601 either independent.
When memory 602 is independently arranged, this document generating device further includes bus 603, for connecting the memory 602 and processor 601.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores in the computer readable storage medium There are computer executed instructions, when processor executes the computer executed instructions, realizes document generating method as described above.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, apparatus embodiments described above are merely indicative, for example, the division of the module, only Only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple modules can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or module It connects, can be electrical property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that modules physically exist alone, can also be integrated in one unit with two or more modules.Above-mentioned module at Unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated module realized in the form of software function module, can store and computer-readable deposit at one In storage media.Above-mentioned software function module is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this Shen Please each embodiment the method part steps.
It should be understood that above-mentioned processor can be central processing unit (Central Processing Unit, abbreviation CPU), It can also be other general processors, digital signal processor (Digital Signal Processor, abbreviation DSP), dedicated Integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC) etc..General processor can be Microprocessor or the processor are also possible to any conventional processor etc..It can be in conjunction with the step of invention disclosed method Be embodied directly in hardware processor and execute completion, or in processor hardware and software module combination execute completion.
Memory may include high speed RAM memory, it is also possible to and it further include non-volatile memories NVM, for example, at least one Magnetic disk storage can also be USB flash disk, mobile hard disk, read-only memory, disk or CD etc..
It is total that bus can be industry standard architecture (Industry Standard Architecture, abbreviation ISA) Line, external equipment interconnection (Peripheral Component, abbreviation PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, abbreviation EISA) bus etc..It is total that bus can be divided into address Line, data/address bus, control bus etc..For convenient for indicating, the bus in illustrations does not limit an only bus or one The bus of seed type.
Above-mentioned storage medium can be by any kind of volatibility or non-volatile memory device or their combination It realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable Read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, Disk or CD.Storage medium can be any usable medium that general or specialized computer can access.
A kind of illustrative storage medium is coupled to processor, believes to enable a processor to read from the storage medium Breath, and information can be written to the storage medium.Certainly, storage medium is also possible to the component part of processor.It processor and deposits Storage media can be located at specific integrated circuit (Application Specific Integrated Circuits, abbreviation ASIC) In.Certainly, pocessor and storage media can also be used as discrete assembly and be present in electronic equipment or main control device.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (13)

1. a kind of document generating method characterized by comprising
It determines business to be processed, and determines the source of pending data according to the business to be processed;
It determines the corresponding business rule of interface document, and loads the business rule;
The business rule is parsed, determines that task handles node;
If the task processing node is interface document generation, advised according to the source of the pending data and the business Then, interface document is generated.
2. the method according to claim 1, wherein further include:
It determines task execution time, and task is sent according to the task execution time and initiates instruction, the task initiates instruction Carry task identification;
The determination business to be processed, and determine according to the business to be processed the source of pending data, comprising:
Business to be processed is determined according to the task identification, and the source of pending data is determined according to the business to be processed, and Feed back corresponding information;
The method also includes:
According to the information transmission prompting information of feedback to the first default personnel.
3. the method according to claim 1, wherein further include:
If the task processing node is file upload, the interface document is uploaded.
4. the method according to claim 1, wherein further include:
If the task processing node is that public service is mentioned according to the source of the pending data and the business rule For public service.
5. according to the method described in claim 2, it is characterized by further comprising:
Check that the corresponding each data file of the task identification whether there is;
Inspection result is sent to the second default personnel.
6. a kind of file generation device characterized by comprising
Data Analysis Services module determines pending data for determining business to be processed, and according to the business to be processed Source;
Business rule configuration management module, for determining the corresponding business rule of interface document;
Business rule loading module, for loading the business rule;
Task parsing module determines that task handles node for parsing to the business rule;
Interface document generation module, if being interface document generation for task processing node, according to the number to be processed According to source and the business rule, generate interface document.
7. equipment according to claim 6, which is characterized in that further include task timing module and Communications service module;
The task timing module for determining task execution time, and sends task according to the task execution time and initiates Instruction to the Data Analysis Services module, the task initiates instruction and carries task identification;
The Data Analysis Services module, for determining business to be processed according to the task identification, according to the industry to be processed It is engaged in determining the source of pending data, and feeds back corresponding information to the task timing module;
The Communications service module, for according to the information transmission prompting information of the Data Analysis Services module feedback to first Default personnel.
8. equipment according to claim 6, which is characterized in that further include file uploading module;
The file uploading module uploads the interface document if being file upload for task processing node.
9. equipment according to claim 6, which is characterized in that further include public service module;
The public service module, if being public service for task processing node, according to the pending data Source and the business rule, provide public service.
10. equipment according to claim 7, which is characterized in that further include data review module;
The data review module, for checking that the corresponding each data file of the task identification whether there is;
The Communications service module is also used to for the inspection result of the data review module to be sent to the second default personnel.
11. equipment according to claim 9, which is characterized in that the public service module includes:
Log services unit, for according to the pending data source and the business rule, log services are provided;
Database Connection Service unit, for according to the pending data source and the business rule, database is provided Connection service;
Mission Monitor service unit, for according to the pending data source and the business rule, Mission Monitor is provided Service;
Abnormality processing service unit, for according to the pending data source and the business rule, abnormality processing is provided Service;
Task string parsing, converting unit, for according to the pending data source and the business rule, by corresponding information Working process is at key-value pair.
12. a kind of file generation device characterized by comprising at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that at least one described processing Device executes such as document generating method described in any one of claim 1 to 5.
13. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium It executes instruction, when processor executes the computer executed instructions, realizes such as file described in any one of claim 1 to 5 Generation method.
CN201910464028.3A 2019-05-30 2019-05-30 File generation method and equipment Active CN110188135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910464028.3A CN110188135B (en) 2019-05-30 2019-05-30 File generation method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910464028.3A CN110188135B (en) 2019-05-30 2019-05-30 File generation method and equipment

Publications (2)

Publication Number Publication Date
CN110188135A true CN110188135A (en) 2019-08-30
CN110188135B CN110188135B (en) 2021-07-27

Family

ID=67719015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910464028.3A Active CN110188135B (en) 2019-05-30 2019-05-30 File generation method and equipment

Country Status (1)

Country Link
CN (1) CN110188135B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753106A (en) * 2019-10-17 2020-02-04 杭州涂鸦信息技术有限公司 File uploading method and device and electronic equipment
CN111680967A (en) * 2020-05-22 2020-09-18 北京中兴恒工程咨询有限公司 PIMS intelligent management method and system
CN111930690A (en) * 2020-08-13 2020-11-13 中国工商银行股份有限公司 File generation method and device
CN112415913A (en) * 2020-11-06 2021-02-26 北京航天自动控制研究所 Simulation software management method, device and storage medium
CN112492000A (en) * 2020-11-18 2021-03-12 中盈优创资讯科技有限公司 Method and device for loading Internet of things access network rules
CN115065736A (en) * 2022-03-29 2022-09-16 兰州乐智教育科技有限责任公司 Message processing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055275A1 (en) * 2009-08-27 2011-03-03 International Business Machines Corporation Unified user identification with automatic mapping and database absence handling
US20120239680A1 (en) * 2011-03-18 2012-09-20 Rahul Gudla Generating database scripts for executing business rules related to enterprise software in a database runtime environment
US20130031566A1 (en) * 2011-07-28 2013-01-31 Sap Ag Managing Consistent Interfaces For Business Rule Business Object Across Heterogeneous Systems
CN102929608A (en) * 2012-10-09 2013-02-13 大唐移动通信设备有限公司 Interface encoding/decoding method and system
CN103336694A (en) * 2013-07-08 2013-10-02 北京航空航天大学 Entity behavioral modeling assembling method and system
CN108132969A (en) * 2017-12-01 2018-06-08 广东电网有限责任公司佛山供电局 Quality of data big data administers implementation method, electronic equipment and storage medium
CN108491489A (en) * 2018-03-14 2018-09-04 北京思特奇信息技术股份有限公司 A kind of data processing method and system based on multi-data source

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055275A1 (en) * 2009-08-27 2011-03-03 International Business Machines Corporation Unified user identification with automatic mapping and database absence handling
US20120239680A1 (en) * 2011-03-18 2012-09-20 Rahul Gudla Generating database scripts for executing business rules related to enterprise software in a database runtime environment
US20130031566A1 (en) * 2011-07-28 2013-01-31 Sap Ag Managing Consistent Interfaces For Business Rule Business Object Across Heterogeneous Systems
CN102929608A (en) * 2012-10-09 2013-02-13 大唐移动通信设备有限公司 Interface encoding/decoding method and system
CN103336694A (en) * 2013-07-08 2013-10-02 北京航空航天大学 Entity behavioral modeling assembling method and system
CN108132969A (en) * 2017-12-01 2018-06-08 广东电网有限责任公司佛山供电局 Quality of data big data administers implementation method, electronic equipment and storage medium
CN108491489A (en) * 2018-03-14 2018-09-04 北京思特奇信息技术股份有限公司 A kind of data processing method and system based on multi-data source

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高雄 等: ""软件体系结构评价平台设计与实现"", 《软件学报》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753106A (en) * 2019-10-17 2020-02-04 杭州涂鸦信息技术有限公司 File uploading method and device and electronic equipment
CN111680967A (en) * 2020-05-22 2020-09-18 北京中兴恒工程咨询有限公司 PIMS intelligent management method and system
CN111930690A (en) * 2020-08-13 2020-11-13 中国工商银行股份有限公司 File generation method and device
CN111930690B (en) * 2020-08-13 2024-03-01 中国工商银行股份有限公司 File generation method and device
CN112415913A (en) * 2020-11-06 2021-02-26 北京航天自动控制研究所 Simulation software management method, device and storage medium
CN112492000A (en) * 2020-11-18 2021-03-12 中盈优创资讯科技有限公司 Method and device for loading Internet of things access network rules
CN115065736A (en) * 2022-03-29 2022-09-16 兰州乐智教育科技有限责任公司 Message processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110188135B (en) 2021-07-27

Similar Documents

Publication Publication Date Title
CN110188135A (en) Document generating method and equipment
CN109376867B (en) Processing method and device of two-quantum-bit logic gate
US7774404B2 (en) Managing software component versions within a service oriented architecture
US8799230B2 (en) Method and system for centralized issue tracking
CN113946321B (en) Processing method of computing logic, electronic device and readable storage medium
CA3089911A1 (en) Method and system for flexible pipeline generation
US20210149723A1 (en) Method and apparatus for microservice architecture reconfiguration
CN111158800B (en) Method and device for constructing task DAG based on mapping relation
US20150317336A1 (en) Data reconstruction
EP3457274A1 (en) System and method for creating domain specific language
CN112559143A (en) Task scheduling method and system and computing device
US20090158263A1 (en) Device and method for automatically optimizing composite applications having orchestrated activities
CN113094125B (en) Business process processing method, device, server and storage medium
Cole (Infra) structural discontinuity: Capital, labour, and technological change
CN114089889A (en) Model training method, device and storage medium
CN114510317A (en) Virtual machine management method, device, equipment and storage medium
CN103617513A (en) Computation flow engine method for supporting rule evolution
CN1783121B (en) Method and system for executing design automation
US8036921B2 (en) System and method for optimization process repeatability in an on-demand computing environment
CN110187936A (en) Data backflow platform, system and method
CN113254385A (en) Network structure, compiling and loading method of parallel inference model and chip system
CN108062224A (en) Data read-write method, device and computing device based on file handle
CN113127359A (en) Method and device for obtaining test data
EP4081911A1 (en) Edge table representation of processes
CN111353766A (en) Service process processing system and method of distributed service system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant