Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a unified processing method and device for multi-type government affair matters, electronic equipment and a computer readable storage medium, which can at least partially solve the problems in the prior art.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
In a first aspect, a method for uniformly processing multiple types of government matters is provided, including:
Acquiring a government affair service request, wherein the government affair service request comprises a government affair identifier and request data;
searching a processing flow of the government affair item of the corresponding type and outbound configuration in the item scheduling node according to the government affair item identification;
And processing the request data according to the processing flow and carrying out outbound routing through outbound configuration in the event scheduling node.
Further, the unified processing method for the multi-type government affair items further comprises the following steps:
And dynamically pre-configuring the processing flow of each type of government affair by a dynamic form technology.
Further, the processing flow of each type of government affair is dynamically preconfigured through a dynamic form technology, which comprises the following steps:
judging whether the government affair items to be configured are inquiry type items or not;
if not, judging whether the government affairs to be configured are configured by adopting a universal form;
If the government affair items to be configured are configured by adopting the universal form, performing government affair item processing flow configuration through the configuration form;
And if the government affair items to be configured are not configured by adopting the universal form, performing government affair item processing flow configuration through the APP page.
Further, the unified processing method for the multi-type government affair items further comprises the following steps:
and carrying out outbound configuration on each item scheduling node.
In a second aspect, a unified processing device for multiple types of government matters is provided, including:
The service request acquisition module acquires a government affair service request which comprises a government affair identifier and request data;
the matching module searches the processing flow of the government affair item of the corresponding type and outbound configuration in the item scheduling node according to the government affair item identification;
and the outbound processing module processes the request data according to the processing flow and performs outbound routing through outbound configuration in the event scheduling node.
Further, the unified processing device for the multi-type government affair matters further comprises:
And the dynamic configuration module dynamically configures the processing flow of each type of government affair item in advance through a dynamic form technology.
Further, the dynamic configuration module includes:
The first judging unit judges whether the government affair items to be configured are inquiry type items or not;
the second judging unit is used for judging whether the government affair to be configured is configured by adopting the universal form if the government affair to be configured is not the inquiry class item;
The form configuration module is used for carrying out government affair item processing flow configuration through the configuration form if the government affair items to be configured are configured by adopting the universal form;
And the APP page configuration module is used for carrying out government affair item processing flow configuration through the APP page if the government affair item to be configured is not configured by adopting the universal form.
Further, the unified processing device for the multi-type government affair matters further comprises:
and the outbound configuration module is used for carrying out outbound configuration on each item scheduling node.
In a third aspect, an electronic device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above-described method for unified processing of multiple types of government matters when the program is executed by the processor.
In a fourth aspect, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of the above-described method for unified processing of multiple types of government matters.
The method comprises the steps of obtaining a government affair service request, searching a processing flow of a government affair of a corresponding type and outbound configuration in a business scheduling node according to the government affair identifier, processing the request data according to the processing flow, and carrying out outbound routing through the outbound configuration in the business scheduling node.
In addition, the method for uniformly processing the multi-type government affairs also comprises the steps of dynamically pre-configuring the processing flow of each type of government affairs through a dynamic form technology, adjusting the related attributes of the business and the flow at any time according to business changes, meeting the development of user business changes, rapidly generating a business model and application based on a development framework of the system, realizing uniform processing of flow reconstruction and business, and promoting comprehensive integration of government affairs.
The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of preferred embodiments, as illustrated in the accompanying drawings.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It is noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present application and in the foregoing figures, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
Fig. 1 is a flow chart of a method for uniformly processing multiple types of government affairs in an embodiment of the present invention, as shown in fig. 1, the method for uniformly processing multiple types of government affairs may further include the following contents:
Step S100, acquiring a government affair service request, wherein the government affair service request comprises a government affair identifier and request data;
the user uploads the government affair item service request through the APP page.
Step 200, searching a processing flow of the government affairs items of the corresponding type and outbound configuration in the item scheduling node according to the government affair item identification;
specifically, the requirements of each office commission are integrated in advance as needed to perform corresponding processing.
And step S300, processing the request data according to the processing flow and carrying out outbound routing through outbound configuration in the event scheduling node.
Specifically, various matters are uniformly processed according to a pre-configured flow and an outbound node aiming at the matters type.
The method for uniformly processing the multi-type government affair matters realizes a unified processing mechanism of matters, and solves the technical problems that the transaction flow is not standard, a uniform standard interface cannot be provided and the like.
In an alternative embodiment, referring to fig. 2, the method for uniformly processing the multiple types of government matters may further include:
Step 400, dynamically pre-configuring the processing flow of each type of government affair item through a dynamic form technology.
Specifically, referring to fig. 3, this step S400 may include the following:
Step S410, judging whether the government affair item to be configured is a query type item;
If yes, go to step S450, otherwise go to step S420.
Step S420, judging whether the government affairs to be configured are configured by adopting a universal form;
If yes, go to step S430, otherwise go to step S440;
step S430, performing government affair item processing flow configuration through a configuration form;
and step S440, performing government affair item processing flow configuration through the APP page.
And S450, providing inquiry service by item customization.
In an alternative embodiment, referring to fig. 4, the method for uniformly processing the multiple types of government matters may further include:
and S500, performing outbound configuration on each item scheduling node.
The unified processing system of the multi-type government affairs is characterized in that the unified processing system of the multi-type government affairs is based on a Spring group framework, an Oracle enterprise database provides data support such as business rules, service management and the like for a platform, unified message formats are adopted in the processing process, unified message contents are provided by adopting standard Rest Api formats, in addition, dynamic configuration of item flow nodes is adopted, the configuration is combined with form configuration, the effect that the configuration is available is achieved, unified outbound routing is achieved, a unified access server (Nginx) is provided, a configuration center client provided by a headquarter is integrated, routing addressing is carried out to a unified configuration center (ZooKeeper) by calling a client Api, and relevant services of a corresponding government affair service system are called by branch interfaces and logic processing, and result feedback is carried out by a result callback system.
In order to enable those skilled in the art to better understand the present application, the following specific descriptions of each flow are provided in connection with the actual application scenario:
for query class matters and non-query class matters:
The inquiry items adopt APP to directly develop pages, and the service end provides inquiry service and interfaces with the office delegation service system adapting to the branch lines;
The non-inquiry items are subjected to page filling configuration by configuring a universal form or an APP customized page, and outbound routing is performed by scheduling outbound configuration in a node, so that the item interface outbound branch service is dynamically invoked.
The configuration of the filling page is carried out through the configuration form or the front-end APP page, the outbound routing is carried out through the outbound configuration in the item scheduling node, the service of the outbound branch p5 of the item interface is dynamically called, the unified processing mechanism of the multi-type government affair item is realized, and the specific flow is shown in fig. 5.
The office configuration needs to configure the existing node links such as the office basic elements, the office guide, the office flow, the office materials, the office mailing, the reservation, the approval and the like. The existing links are not separately introduced, and the modification of the form nodes and the addition of the scheduling node configuration are specifically introduced.
The prototype graph (selecting universal form unilateral configuration form, adopting two existing APP page configuration forms) node configuration, opening the 'application form' has 3 selection modes, and the APP page configuration form, the universal form mode and the external link are connected to the existing office system, see fig. 6. After selecting the universal form mode, turning to the page of the design form, see fig. 7.
It is worth to say that channels are unified through the government service platform, the service requests of portals pass through the unified channel service layer, the layer is mainly responsible for functions such as page generation, service forwarding, tenant information management, safety management and the like, and is used as a unified channel processing layer accessed by a back-end system, and customization of transaction pages is realized through a dynamic form technology in the layer.
The interface of the form designer is shown in fig. 8, and form components are configured in a drag mode, where the name attribute of each component needs to be selected, and a fixed value (from_item table) is provided in the database for selection, so as to correspond to a field of form_save when the form is saved.
Specifically, when the name attribute is selected, the method can not be repeated with the existing component, and after the name is selected, the name Chinese name is directly used as a form lable.
Form component name table from_item
Id primary key
Item_name name (Chinese)
Item_ enname name (English)
Item_ remark comment describing
Regarding select, redio, several components of the lockbox require a configuration data source, and attribute configuration requires a configuration data source:
(
form data Source Table from_Source
Id primary key
Source_name (Chinese)
Source_url URL Address
Source_ remark notes, description
)
All the form data are stored in the form_save table, and the data are not stored in the service table.
Aiming at the form release interface, after the form configuration is completed, the interface of the APP needs to be called, and configuration information (the configuration information is converted into a JSON format) is sent to the APP.
In addition, the embodiment of the invention also provides a public data storage service interface, wherein the storage and the modification are designed into the same interface, and the storage/modification is judged according to workid (transaction part ID) of transaction, and the storage/modification is workid modified and workid is not stored.
The data will be more and more after the project is online, and the database and table division design is carried out on the data table;
After the APP terminal form is filled, calling a rear-end interface, storing the rear-end interface into a rear-end database, and providing a storage interface, wherein parameters are 1 String type;
Enter ginseng demo:
And (3) ginseng:
in addition, the returned message format is encapsulated according to the requirements of the coding specification.
In addition, the embodiment of the invention also provides a data preview interface for inquiring the information of the handling form according to the handling id. Enter ginseng demo:
3f7a9b60-84c9-42f1-87d9-e5cccd9a0981
And (3) ginseng:
It should be noted that after selecting the configuration of the APP page, the APP page is opened and selected, see fig. 9, where the page is directly the APP template corresponding to the list selection, and the data is read from the os_data_ appurl table. Saving the data to os_matter_dispatch;
The data design is shown in table 1:
TABLE 1
In addition, a new dispatching node is configured in the transaction item setting, and the business operation after the data is filled is selected according to the type of the office, which mainly comprises office delegation processing, offline transaction and internal approval.
1. The office delegates processing. If the office delegation is selected, the abutted office delegation (such as a civil office or a public security office) is checked, and the abutted business type (such as inquiring identity information and handling identity card) is selected, and the business type is stored in the background as a transaction code, wherein the data structure is shown in the table 2:
TABLE 2
The schedule association table is shown in table 3:
TABLE 3 Table 3
Adding a dispatch configuration node under the declaration form, see fig. 10, clicking the dispatch configuration, starting the dispatch, see fig. 11, selecting an execution mode, see fig. 12, clicking the delegate of the pair, entering the delegate service of the selection, see fig. 13, selecting a delegation service popup window, and reading data from os_matter_ outser by the popup window content, see fig. 14;
2. the method does not need to configure the delegate of the office and the corresponding service types during offline handling;
3. When internal approval is performed, flow design is performed, a workflow engine is started according to parameters when a scheduling node is executed, and a workflow module refers to the prior art, see fig. 15. Scheduling node scenario execution process see fig. 16.
Outbound route setup:
First, all form data fields must be unified, for example, all the offices are name gender sex;
secondly, parameters of the p5 outbound call of the branch are required to be consistent with the field names of the forms;
when the call-out is transmitted, the name of the form field and the parameter name of the p5 interface are always used, and the value of the form field is directly transmitted to the p5 interface;
And calling the outbound call, namely searching corresponding service data according to the work id, the event id (material id), searching corresponding records from the os_matter_ outser to obtain parameters required by the outbound call P5, assigning corresponding fields, and calling the service of the outbound call P5.
The outsourcing bureau delegates the transaction message to store:
in the scenario of outsourcing bureau commission in the backlog process, the public module provides api to the application, and the request message and the response message of inquiry and backlog class matters are reserved, and the table structure is shown in table 4:
TABLE 4 Table 4
And (5) feedback of transaction results:
An interface (modified transaction state) for providing a branch p5 recall;
When the transaction outbound branch p5 is served, the transaction handling part (workid) needs to be transmitted to the branch, the handling part (workid) needs to be returned to the system at last, and correct handling states and handling results are revised according to the handling part (workid);
In summary, the embodiment of the invention realizes the government affair service platform, completes the unified processing of multiple types of government affair matters, and supports the flow configuration and the automatic address recording based on the handling nodes. The government service platform supports customization of forms and the like, so that interface customization is realized rapidly. The government service platform provides a standard interface, and unification of door displays is achieved. The process reconstruction is realized on the business, the configuration can be dynamically changed as required, the system integration efficiency is improved, the repeated development workload is reduced, and the high customization of the interface is supported. The platform is used for comprehensively pushing the integrated service, so that government affair platform construction is completed rapidly.
Based on the same inventive concept, the embodiment of the application also provides a device for uniformly processing the multi-type government affairs, which can be used for realizing the method described in the embodiment, as described in the following embodiment. The principle of solving the problem by the multi-type government affair unified processing device is similar to that of the method, so that the implementation of the multi-type government affair unified processing device can be referred to the implementation of the method, and the repetition is omitted. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 17 is a block diagram of a unified processing device for multiple types of government matters in an embodiment of the present invention. As shown in fig. 17, the unified processing device for multi-type government affairs comprises a service request acquisition module 10, a matching module 20 and an outbound processing module 30.
The service request acquisition module 10 acquires a government affair service request, wherein the government affair service request comprises a government affair identifier and request data;
The matching module 20 searches the processing flow of the corresponding type of government affair item and outbound configuration in the item scheduling node according to the government affair item identification;
The outbound processing module 30 processes the request data according to the processing flow and performs outbound routing through outbound configuration in the event scheduling node.
The multi-type government affair item unified processing device provided by the invention realizes an item unified processing mechanism and solves the technical problems that the item handling flow is not standard, a unified standard interface cannot be provided and the like.
In an alternative embodiment, the multi-type government affair unified processing device further comprises a dynamic configuration module, wherein the processing flow of each type of government affair is dynamically and pre-configured through a dynamic form technology.
The dynamic configuration module comprises a first judgment unit, a second judgment unit, a form configuration module and an APP page configuration module.
The first judging unit judges whether the government affair items to be configured are inquiry type items or not;
the second judging unit is used for judging whether the government affair to be configured is configured by adopting the universal form if the government affair to be configured is not the inquiry class item;
The form configuration module is used for carrying out government affair item processing flow configuration through the configuration form if the government affair items to be configured are configured by adopting the universal form;
And the APP page configuration module is used for carrying out government affair item processing flow configuration through the APP page if the government affair item to be configured is not configured by adopting the universal form.
In an alternative embodiment, the multi-type government affair unified processing device further comprises an outbound configuration module for performing outbound configuration on each item scheduling node.
The apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is an electronic device, which may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
In a typical example, the electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the above-described method for uniformly processing multiple types of government matters when the program is executed.
Referring now to fig. 18, a schematic diagram of an electronic device 600 suitable for use in implementing embodiments of the present application is shown.
As shown in fig. 18, the electronic apparatus 600 includes a Central Processing Unit (CPU) 601, which can execute various appropriate works and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM)) 603. In the RAM603, various programs and data required for the operation of the system 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Connected to the I/O interface 605 are an input section 606 including a keyboard, a mouse, and the like, an output section 607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like, a storage section 608 including a hard disk, and the like, and a communication section 609 including a network interface card such as a LAN card, a modem, and the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on drive 610 as needed, so that a computer program read therefrom is mounted as needed as storage section 608.
In particular, according to embodiments of the present invention, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, an embodiment of the present invention includes a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above-described multi-type government affair item unified processing method.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.