A material sharing implementation method for online reporting of government service items

By using custom interface configuration and a unified data service call mode, the problems of large development and testing workload and slow delivery in material sharing in government service systems have been solved, enabling rapid delivery and efficient material sharing.

CN113626398BActive Publication Date: 2024-08-30INSPUR SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110747262.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-01
Publication Date
2024-08-30
Estimated Expiration
2041-07-01

AI Technical Summary

Technical Problem

The existing online application systems in the field of government services require a large amount of development work when integrating shared materials, and system update testing affects service operation, which cannot meet the needs of rapid delivery.

Method used

By adopting a custom interface configuration and a unified data service call mode, the service is encapsulated into a unified interface service, and the user core elements of the real-name authentication system are mapped and configured. Material file data is obtained by using XPath or JSONPath path parsing, and material sharing is achieved by using a trigger notification mode to interact with the business system.

Benefits of technology

This reduced the workload of development and testing, improved work efficiency, enabled rapid delivery, avoided the need for re-integration of new material services, and increased the success rate of service calls.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113626398B
    Figure CN113626398B
Patent Text Reader

Abstract

The present invention discloses a material sharing implementation method for online declaration of government service items, which belongs to the technical field of interface communication API of government service. The method customizes interface configuration and calling mode, encapsulates the service into a unified interface service and sets a unified data service calling mode; abstractly encapsulates the interface service itself, and maps and configures it with the item material; corresponds the request parameter with the element of the user of the real-name authentication system, and associates the service interface return parameter with the material; obtains the data service through the analysis of the parameter when the service is running; and obtains the shared material file data based on the user core element of the real-name authentication system by the parameter defined by the calling mode. The present invention can realize the sharing of all accessed materials, avoid the situation where the new material service is docked again, minimize the workload of development and testing, improve work efficiency, and realize rapid delivery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of interface communication API (Application Programming Interface) for government services, and in particular to a method for implementing material sharing applied to online declaration of government service items. Background Art

[0002] With the increasing national requirements for data sharing in the field of government services, the release of national standards for electronic certificates and the requirements for various electronic certificate applications, online reporting systems, apps, self-service terminals and other applications need to access more and more shared materials. Customers are faced with tight time to go online, the original customized data service access model has a large development workload, and system update testing affects service operations, which can no longer meet the needs of existing applications. Summary of the invention

[0003] The technical task of the present invention is to address the above shortcomings and provide a material sharing implementation method for online declaration of government service matters, which can realize the sharing of all accessed materials, avoid the situation where new material services need to be connected again, minimize the development and testing workload, improve work efficiency, and achieve rapid delivery.

[0004] The technical solution adopted by the present invention to solve the technical problem is:

[0005] A material sharing implementation method for online declaration of government service items, the method customizes interface configuration and call mode, encapsulates the service into a unified interface service and sets a unified data service call mode;

[0006] Abstract and encapsulate the interface service itself, and map and configure it with the event materials; correspond the request parameters to the elements of the real-name authentication system user, and associate the service interface return parameters with the materials; when the service is running, obtain the data service through parameter parsing;

[0007] The parameters defined by the calling mode obtain the shared material file data based on the user core elements of the real-name authentication system.

[0008] The service is encapsulated as a unified interface service and a unified service calling mode. Developers only need to configure the access application service and field mapping relationship to realize the online operation of the new service. This can minimize the workload of development and testing, improve work efficiency, and achieve rapid delivery.

[0009] Preferably, the mapping between matter materials and interface services is associated and configured based on common standard elements of the real-name authentication user system.

[0010] Preferably, the special processing of interface parameters adopts the hot loading method to expand the tool, and the use of this method does not require service interruption.

[0011] Preferably, the parameter parsing obtains the data service through the path parsing method of jsonpath or xpath.

[0012] Furthermore, the provided service automatically obtains the mapping relationship between the material of the matter and the interface of the service after receiving the parameters, and obtains the parameters required by the interface through the mapping relationship;

[0013] Call back the business system to obtain business data;

[0014] Through the service mode of the interface, select the appropriate general tool class, call the interface, obtain the material file, and store it;

[0015] Finally, notify the business system to obtain the material files.

[0016] Preferably, the unified data service calling mode uses a trigger notification mode to interact with the business system, and ensures the success rate of service calling through a unified interface definition, simplified transmission parameters and a three-way handshake.

[0017] Furthermore, the unified data service calling mode implementation process is as follows:

[0018] 1) The service call passes in the business number and matter id;

[0019] 2) The mapping relationship between service query items and interfaces is obtained to obtain the required interface parameters;

[0020] 3) Obtain user information and other data required by the interface from business information;

[0021] 4) Obtain interface configuration information;

[0022] 5) Call third-party services to obtain materials and store the material files;

[0023] 6) Notify the business system to call back and obtain the material files.

[0024] Preferably, the materials obtained by the third party are stored in a network disk or OSS cloud storage, and only the storage path is retained.

[0025] The application configured in this method should be shared based on the materials of the service guide. In addition, the user's information should include the mandatory elements required by the national government service platform.

[0026] The present invention also claims a material sharing implementation system for online declaration of government service items, which includes an interface encapsulation and material mapping module, a unified business model setting module,

[0027] The interface encapsulation and material mapping module is used for interface encapsulation and abstraction and material mapping, including interface parsing and parameter configuration, event material mapping configuration and service operation parsing engine;

[0028] The unified business mode setting module uses the trigger notification mode to interact with the business system, and ensures the success rate of service calls through unified interface definition, simplified transmission parameters and three-way handshake.

[0029] The system realizes the above-mentioned material sharing method applied to online declaration of government service items.

[0030] Furthermore, the configuration process of the system to realize the sharing of online application materials for government service items is as follows:

[0031] 1) Configure the interface service, configure the interface address, interface input and return parameters;

[0032] 2) After configuration is completed, input parameters of the verification service and directly test whether the verification file is obtained successfully;

[0033] 3) Add item mapping configuration, select the item, select the application materials for the item, and select the corresponding interface service;

[0034] 4) Configure the request parameter correspondence of the item, select the interface request parameters and user information elements;

[0035] 5) Submit a business application online, share materials, and check the application effect in the back-end business approval system.

[0036] Compared with the prior art, the material sharing implementation method for online declaration of government service items of the present invention has the following beneficial effects:

[0037] The method and system can realize the one-time docking and sharing of all accessed materials in the business system of government service approval, avoiding the situation where new material services are docked again; at the same time, this method encapsulates the general calling methods and common parameter configuration parsing methods of multiple complex interfaces, and supports extensible interface docking standards, which can achieve the effect of adding new configurations to complete the service and then putting the application online. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a diagram showing the structure and relationship of a material sharing implementation method for online declaration of government service items provided by an embodiment of the present invention;

[0039] Figure 2 It is a unified business model process diagram provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0040] With the release of national standards for electronic certificates and the release and application of various electronic certificate engineering standards, the government service field has higher and higher requirements for data sharing. It has become an inevitable requirement for various service applications to promote the application of electronic certificates or electronic materials in government service platforms, realize the sharing and reuse of relevant information such as certificates or materials, facilitate business and public affairs, and improve the efficiency of government services. However, due to the different data providers and developers, the technical routes and implementation methods adopted are also different, resulting in a huge difference in parameters and return results, which results in a lot of repetitive work in accessing data sharing services. However, by comparing various data sharing services, it is found that the overall data sharing service methods are similar, basically Rest API, Webservice and other service models, and most of the return parameters are in JSON format or XML format.

[0041] At the same time, the user system in the field of government services is uniformly built in accordance with the standards of the national real-name authentication user system, and the core elements of natural persons and legal persons are consistent. By utilizing the data characteristics of the field of government services and the service model characteristics of the interface itself, a unified data sharing method can be abstracted. Through new data sharing methods and methods, it is possible to avoid the business system from solidifying personalized code in the code logic, reducing additional maintenance costs and docking costs. However, for service interface access in special formats other than the currently commonly used interface modes, or return data in formats other than XML or JSON, customized upgrades and extensions are required. For example, personalized authorization verification is required before the interface service is called, and the returned data needs to be decrypted. In addition, complex combination interface call modes are not supported.

[0042] An embodiment of the present invention provides a material sharing implementation method for online declaration of government service items. The method customizes interface configuration and calling mode, encapsulates the service into a unified interface service and sets a unified data service calling mode. The mapping of item materials and interface services is configured based on the common standard elements of the real-name authentication user system, and the special processing of interface parameters adopts hot loading to expand the tool without interrupting the service.

[0043] 1. Abstract and encapsulate the interface service itself, and map it with the event material; the interface value parsing is implemented based on the xpath or jsonpath configuration. The encapsulation and abstraction of the interface and the material mapping include the following three steps:

[0044] 1) Interface analysis and parameter configuration.

[0045] Common interface services include RESTful API, Web Service, RPC interface, etc. Specific URL requests include GET, POST, PUT, PATCH, COPY, etc. The network protocols of the service are divided into http and https. Taking the common POST interface as an example, the interface request methods include application / json and application / x-www-form-urlencoded, and the interface request parameter types include Headers parameter and Body parameter, etc. A common structure can be sorted out for each type of interface request method. Sort out unified and commonly used interface configurations, such as special processing of the parameters returned by the interface or the parameters passed in, such as encryption, decryption, and obtaining token interfaces, and define extensions by yourself.

[0046] 2) Matter material mapping configuration.

[0047] The application materials for the items in the government service field are defined in the item elements. By selecting the item, the materials of the item correspond to the configured interface service, and the request parameters are matched with the elements of the real-name authentication system user. The service interface returns the parameters associated with the materials. When the service is running, the data service is obtained through the path parsing method of xpath or jsonpath through the parsing of the parameters.

[0048] 3) The service runs the parsing engine.

[0049] The service provided, after receiving the parameters, automatically obtains the interface mapping relationship between the material of the matter and the service, obtains the parameters required by the interface through the mapping relationship, calls back the business system to obtain the business data, and finally selects the appropriate general tool class through the service mode of the interface, calls the interface, obtains the material file, and stores it in the network disk or cloud storage, and finally notifies the business system to obtain the material file.

[0050] 2. The unified data service calling mode, the parameters defined by the calling mode are based on the user core elements of the real-name authentication system to obtain shared material file data.

[0051] It uses a trigger notification mode to interact with the business system, and ensures the success rate of service calls through unified interface definition, simplified transmission parameters and three-way handshake.

[0052] refer to Figure 2 As shown, the unified data service calling mode implementation process is as follows:

[0053] 1) The service calls the business system and passes in the business number and matter ID;

[0054] 2) The mapping relationship between service query items and interfaces is obtained to obtain the required interface parameters;

[0055] 3) Obtain user information and other data required by the interface from business information;

[0056] 4) Obtain interface configuration information;

[0057] 5) Call third-party services to obtain materials, and store the material files to the network disk or OSS cloud storage, and only retain the storage path;

[0058] 6) Notify the business system to call back and obtain the material files.

[0059] The overall composition and relationship reference of this method Figure 1 As shown, through this method, the service is encapsulated into a unified interface service and a unified service calling mode. Developers only need to configure the access application service and field mapping relationship to realize the online operation of the new service. This can minimize the workload of development and testing, improve work efficiency, and achieve rapid delivery.

[0060] Taking a provincial government service business system application as an example, the steps for configuring and implementing this method are as follows:

[0061] 1) Configure the interface service, configure the interface address, interface input and return parameters;

[0062] 2) After configuration is completed, input parameters of the verification service and directly test whether the verification file is obtained successfully;

[0063] 3) Add item mapping configuration, select the item, select the application materials for the item, and select the corresponding interface service;

[0064] 4) Configure the request parameter correspondence of the item, select the interface request parameters and user information elements;

[0065] 5) Submit a business application online, share materials, and check the application effect in the back-end business approval system.

[0066] The application configured in this method should be shared based on the materials of the service guide. In addition, the user's information should include the mandatory elements required by the national government service platform.

[0067] As a data sharing application mode of the real-name authentication user system based on the government service field, this method can be integrated into any online reporting system or APP, self-service terminal service based on the real-name authentication user system based on the government service field.

[0068] The present invention also claims protection for a material sharing implementation system applied to online declaration of government service items, the system comprising an interface encapsulation and material mapping module, and a unified business model setting module.

[0069] The interface encapsulation and material mapping module is used for interface encapsulation and abstraction and material mapping, including interface parsing and parameter configuration, event material mapping configuration and service operation parsing engine;

[0070] The unified business mode setting module uses the trigger notification mode to interact with the business system, and ensures the success rate of service calls through unified interface definition, simplified transmission parameters and three-way handshake.

[0071] The system implements the material sharing method described in the above-mentioned embodiment for online reporting of government service items.

[0072] Taking a provincial government service business system application as an example, the configuration process of the system to realize the sharing of online application materials for government service matters is as follows:

[0073] 1) Configure the interface service, configure the interface address, interface input and return parameters;

[0074] 2) After configuration is completed, input parameters of the verification service and directly test whether the verification file is obtained successfully;

[0075] 3) Add item mapping configuration, select the item, select the application materials for the item, and select the corresponding interface service;

[0076] 4) Configure the request parameter correspondence of the item, select the interface request parameters and user information elements;

[0077] 5) Submit a business application online, share materials, and check the application effect in the back-end business approval system.

[0078] Through the above specific implementations, those skilled in the art can easily implement the present invention. However, it should be understood that the present invention is not limited to the above specific implementations. On the basis of the disclosed implementations, those skilled in the art can arbitrarily combine different technical features to achieve different technical solutions.

[0079] Except for the technical features described in the specification, all other technical features are known technologies to those skilled in the art.

Claims

1. A material sharing implementation method for online reporting of government service items, Features Customize the interface configuration and calling mode, encapsulate the service into a unified interface service and set a unified data service calling mode: The service provided automatically obtains the mapping relationship between the material of the matter and the interface of the service after receiving the parameters, and obtains the parameters required by the interface through the mapping relationship; Call back the business system to obtain business data; Through the service mode of the interface, select the appropriate general tool class, call the interface, obtain the material file, and store it; Finally, notify the business system to obtain material files; The unified data service calling mode implementation process is as follows: 1) The service call passes in the business number and matter id; 2) The mapping relationship between service query items and interfaces is obtained to obtain the required interface parameters; 3) Obtain user information and other data required by the interface from business information; 4) Get interface configuration information; 5) Call third-party services to obtain materials and store the material files; 6) Notify the business system to call back and obtain material files; Abstract and encapsulate the interface service itself, and map and configure it with the event materials; Match the request parameters with the elements of the real-name authentication system user, and associate the service interface return parameters with materials; when the service is running, obtain data services through parameter parsing; The parameters defined by the calling mode obtain the shared material file data based on the user core elements of the real-name authentication system.

2. According to the method for realizing material sharing applied to online declaration of government service items as described in claim 1, It is characterized in that The mapping between matter materials and interface services is configured based on the common standard elements of the real-name authentication user system.

3. According to the method for realizing material sharing applied to online declaration of government service items in claim 1, Features Special processing of interface parameters uses hot loading to expand the tool.

4. According to claim 1, a material sharing implementation method for online reporting of government service items, Features Parameter parsing is done through the path parsing method of jsonpath or xpath.

5. According to claim 1, a material sharing implementation method for online reporting of government service items, Features The unified data service calling mode adopts a trigger notification mode to interact with the business system, and ensures the success rate of service calling through a unified interface definition, simplified transmission parameters and a three-way handshake.

6. According to claim 1, a material sharing implementation method for online reporting of government service items, Features The materials obtained from the third party are stored in a network disk or OSS cloud storage, and only the storage path is retained.

7. A material sharing implementation system for online reporting of government service items, Features Including interface encapsulation and material mapping module, unified business model setting module, The interface encapsulation and material mapping module is used for interface encapsulation and abstraction and material mapping, including interface parsing and parameter configuration, event material mapping configuration and service operation parsing engine; The unified business mode setting module uses the trigger notification mode to interact with the business system, and ensures the success rate of service calls through unified interface definition, simplified transmission parameters and three-way handshake. The system implements the material sharing method for online reporting of government service items as described in any of claims 1-6.

8. A material sharing implementation system for online reporting of government service items according to claim 7, Features The configuration process of the system to realize the sharing of online application materials for government service items is as follows: 1) Configure the interface service, configure the interface address, interface input and return parameters; 2) After configuration is completed, input parameters of the verification service and directly test whether the verification file is obtained successfully; 3) Add item mapping configuration, select the item, select the application materials for the item, and select the corresponding interface service; 4) Configure the request parameter correspondence of the item, select the interface request parameters and user information elements; 5) Submit a business application online, share materials, and check the application effect in the back-end business approval system.

Citation Information

Patent Citations

  • Data sharing method for realizing set protocol conversion in API mode

    CN111064722A

  • Electronic certificate data information sharing system based on block chain

    CN111444263A