Service integration sharing-based method, device, terminal and storage medium

文档序号:190358 发布日期:2021-11-02 浏览:21次 中文

阅读说明:本技术 一种基于服务集成共享的方法、装置、终端及存储介质 (Service integration sharing-based method, device, terminal and storage medium ) 是由 霍东阳 曾小辉 李凯 吴沫 赵萌 王雷 梁栋 刘涛 卢海洋 安宝 李双龙 于 2020-12-29 设计创作,主要内容包括:本发明公开了一种基于服务集成共享的方法、装置、终端及存储介质,属于服务器领域,包括:获取业务方发起的公司信息考证请求数据,分别对所述业务方和公司进行参数权限筛选判断得到合格的业务方和公司;通过所述公司信息考证请求数据和合格的业务方和公司确定调用接口类型;通过所述调用接口类型和公司信息考证请求数据获取相应的至少一组分词公司数据信息,将所述公司数据信息发送给业务方。本发明具有共享数据服务能力、统一管理能力、灵活可配的数据缓存能力以及对外部服务能力评估能力。(The invention discloses a method, a device, a terminal and a storage medium based on service integration sharing, belonging to the field of servers and comprising the steps of obtaining company information examination request data initiated by a business party, and respectively screening and judging the parameter authority of the business party and the company to obtain qualified business parties and companies; determining the type of a calling interface through the company information testimony request data and qualified business parties and companies; and acquiring at least one group of corresponding participle company data information through the calling interface type and the company information examination request data, and sending the company data information to a service party. The invention has the capabilities of sharing data service, uniformly managing, flexibly and allocable data caching and evaluating external service capabilities.)

1. A method for service integration sharing, the method comprising:

acquiring company information examination request data initiated by a business party, and respectively screening and judging the parameter authority of the business party and the company to obtain qualified business parties and companies;

determining the type of a calling interface through the company information testimony request data and qualified business parties and companies;

and acquiring at least one group of corresponding participle company data information through the calling interface type and the company information examination request data, and sending the company data information to a service party.

2. The method according to claim 1, wherein the step of obtaining company information testimony request data initiated by the business party and respectively performing parameter authority screening judgment on the business party and the company to obtain qualified business parties and companies comprises:

when a company information examination request initiated by a service party is received, acquiring the company information examination request data;

carrying out parameter verification on the service party to obtain a qualified service party;

and carrying out authority verification on the company to obtain a qualified company party.

3. The method of claim 2, wherein the parameters comprise: and the interface authority for calling inquiry and the designated admission information.

4. The method of claim 1, wherein the interface types comprise: a localization interface and an external interface.

5. The method for sharing service integration according to claim 4, wherein when the interface type is a localized interface, the method comprises the following steps:

acquiring at least one group of participle local company data information corresponding to a local resource database through company information examination request data;

and sending the local company data information to a service party.

6. The service integration sharing-based method of claim 5, wherein when the interface type is a localization interface, the method further comprises:

and updating the local data resource library at regular time, and storing the charging data of the updated content into the system.

7. The method for sharing service integration according to claim 4, wherein when the interface type is external interface, the method comprises the following steps:

judging whether the information examination request data is called recently or not according to the company information examination request data:

if yes, sending company information examination request data to a service party;

if not, entering the next step;

obtaining standard request data through company information examination request data;

acquiring at least one group of participle external company initial data information corresponding to the external big data company through the standard request data;

carrying out data analysis on the initial data information of the external company to obtain final data information of the external company;

and sending the final data information of the external company to a business party.

8. The service integration sharing-based method according to claim 4, further comprising, when the interface type is an external interface:

and storing the charging data of the external big data company into a system.

9. An apparatus for sharing based on service integration, the apparatus comprising:

the acquisition unit is used for acquiring company information examination request data initiated by a business party and respectively carrying out parameter authority screening judgment on the business party and the company to obtain qualified business parties and companies;

the identification unit determines the type of a calling interface through the company information examination request data and qualified business parties and companies;

and the execution unit acquires at least one group of corresponding participle company data information through the calling interface type and the company information examination request data and sends the company data information to the service party.

10. A terminal and computer readable storage medium, wherein the terminal comprises a processor and a memory, the memory or storage medium having stored therein at least one instruction, the at least one instruction being loaded and executed by the processor to implement the method for service integration sharing based on service integration according to any one of claims 1 to 7.

Technical Field

The invention discloses a method, a device, a terminal and a storage medium based on service integration sharing, and belongs to the field of servers.

Background

At present, before no external service sharing management platform exists, the pain points of the external services connected by each service system are as follows:

(1) and (3) repeatedly developing external services in multi-liquid-state service docking: in the face of different business scenes of different companies, external data butt joint is dispersed to respective business systems for self butt joint, and the phenomenon of twice development of the same service exists

(2) The security of the direct docking of the core business system to the external service is low: the core service system is directly connected with the outside, the interface security design is lost, and the risk exists when the core service system penetrates through the network layer to be directly connected

(3) The core service systems are respectively connected and cannot be managed: certain risks are caused by the lack of unified architectural design management, security management, accounting management, and rights management.

Disclosure of Invention

The invention aims to solve the problems of low efficiency, poor safety and poor stability of the traditional method for connecting each business system with an external service system, and provides a method, a device, a terminal and a storage medium based on service integration and sharing.

The invention aims to solve the problems and is realized by the following technical scheme:

according to a first aspect of the embodiments of the present disclosure, there is provided a method for sharing based on service integration, the method including:

acquiring company information examination request data initiated by a business party, and respectively screening and judging the parameter authority of the business party and the company to obtain qualified business parties and companies;

determining the type of a calling interface through the company information testimony request data and qualified business parties and companies;

and acquiring at least one group of corresponding participle company data information through the calling interface type and the company information examination request data, and sending the company data information to a service party.

Preferably, the obtaining of the company information testimony request data initiated by the service party and the parameter authority screening and judgment of the service party and the company to obtain the qualified service party and the qualified company include:

when a company information examination request initiated by a service party is received, acquiring the company information examination request data;

carrying out parameter verification on the service party to obtain a qualified service party;

and carrying out authority verification on the company to obtain a qualified company party.

Preferably, the parameters include: and the interface authority for calling inquiry and the designated admission information.

Preferably, the interface types include: a localization interface and an external interface.

Preferably, when the interface type is a localized interface, the method includes the following steps:

acquiring at least one group of participle local company data information corresponding to a local resource database through company information examination request data;

and sending the local company data information to a service party.

Preferably, when the interface type is a localized interface, the method further includes:

and updating the local data resource library at regular time, and storing the charging data of the updated content into the system.

Preferably, when the interface type is an external interface, the method includes the following steps:

judging whether the information examination request data is called recently or not according to the company information examination request data:

if yes, sending company information examination request data to a service party;

if not, entering the next step;

obtaining standard request data through company information examination request data;

acquiring at least one group of participle external company initial data information corresponding to the external big data company through the standard request data;

carrying out data analysis on the initial data information of the external company to obtain final data information of the external company;

and sending the final data information of the external company to a business party.

Preferably, when the interface type is an external interface, the method further includes:

and storing the charging data of the external big data company into a system.

According to a second aspect of the embodiments of the present disclosure, there is provided a service integration-based sharing apparatus, the apparatus including:

the acquisition unit is used for acquiring company information examination request data initiated by a business party and respectively carrying out parameter authority screening judgment on the business party and the company to obtain qualified business parties and companies;

the identification unit determines the type of a calling interface through the company information examination request data and qualified business parties and companies;

and the execution unit acquires at least one group of corresponding participle company data information through the calling interface type and the company information examination request data and sends the company data information to the service party.

In a third aspect, a terminal and a computer-readable storage medium are provided, where the terminal includes a processor and a memory, and the memory or the storage medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the method based on service integration sharing according to the first aspect.

The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:

the invention provides a method, a device, a terminal and a storage medium based on service integration sharing, which have the following advantages:

(1) shared data service capability, unified management capability

And a unified architecture design is adopted, all external service requirements are met externally, a unified data interface is provided internally, and authority management, bill management and safety management are realized.

(2) Flexibly configurable data caching capability

The data are individually cached by combining services provided by the outside according to different service scenes and utilizing a data caching technology, so that the repeated query quantity is reduced, the cost is greatly reduced, and the query efficiency is improved.

(3) Assessing capabilities for external service capabilities

And analyzing and evaluating the stability, data accuracy and other aspects of different external services by using the self-built model, and providing data support for a service scene.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

Fig. 1 is a flowchart of a sharing method based on service integration according to an embodiment of the present application;

FIG. 2 is a flowchart of a sharing method based on service integration according to an embodiment of the present disclosure;

fig. 3 is a schematic structural diagram of a sharing device based on service integration according to an embodiment of the present application;

fig. 4 is a schematic structural diagram of a sharing device based on service integration according to an embodiment of the present disclosure.

Detailed Description

Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of systems and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

Example one

Fig. 1 is a method for sharing based on service integration, which is provided according to an embodiment of the present application and is used in a terminal, and as shown in fig. 1, the method includes the following steps:

step 101, acquiring company information examination request data initiated by a business party, and respectively screening and judging parameter permissions of the business party and the company to obtain qualified business parties and companies;

step 102, determining a calling interface type through the company information testimony request data and qualified business parties and companies;

and 103, acquiring corresponding at least one group of participle company data information through the calling interface type and the company information examination request data, and sending the company data information to a service party.

Preferably, the obtaining of the company information testimony request data initiated by the service party and the parameter authority screening and judgment of the service party and the company to obtain the qualified service party and the qualified company include:

when a company information examination request initiated by a service party is received, acquiring the company information examination request data;

carrying out parameter verification on the service party to obtain a qualified service party;

and carrying out authority verification on the company to obtain a qualified company party.

Preferably, the parameters include: and the interface authority for calling inquiry and the designated admission information.

Preferably, the interface types include: a localization interface and an external interface.

Preferably, when the interface type is a localized interface, the method includes the following steps:

acquiring at least one group of participle local company data information corresponding to a local resource database through company information examination request data;

and sending the local company data information to a service party.

Preferably, when the interface type is a localized interface, the method further includes:

and updating the local data resource library at regular time, and storing the charging data of the updated content into the system.

Preferably, when the interface type is an external interface, the method includes the following steps:

judging whether the information examination request data is called recently or not according to the company information examination request data:

if yes, sending company information examination request data to a service party;

if not, entering the next step;

obtaining standard request data through company information examination request data;

acquiring at least one group of participle external company initial data information corresponding to the external big data company through the standard request data;

carrying out data analysis on the initial data information of the external company to obtain final data information of the external company;

and sending the final data information of the external company to a business party.

Preferably, when the interface type is an external interface, the method further includes:

and storing the charging data of the external big data company into a system.

In the embodiment of the application, a unified architecture design is adopted, all external service requirements are externally connected, a unified data interface is internally provided, and authority management, bill management and safety management are realized. The data are individually cached by combining services provided by the outside according to different service scenes and utilizing a data caching technology, so that the repeated query quantity is reduced, the cost is greatly reduced, and the query efficiency is improved. And analyzing and evaluating the stability, data accuracy and other aspects of different external services by using the self-built model, and providing data support for a service scene.

Fig. 2 is a flowchart illustrating a method for sharing based on service integration, as shown in fig. 2, for use in a terminal, according to an exemplary embodiment, the method including the steps of:

step 201, obtaining company information examination request data initiated by a service party.

When a company information examination request initiated by a service party is received, company information examination request data is obtained, and the three-party data platform stores the request information into the database for retention so as to track the content of the corresponding returned result information and the historical request data.

Step 202, performing parameter screening and judgment on the service party to obtain a qualified service party.

After receiving the request, the internal access and information verification are carried out on the requested company and the system to which the requested company belongs, and the module mainly verifies two parts: the first part is whether the affiliated company and the interface of the business system under the affiliated company have the calling inquiry authority or not; the second part is whether the information to be recorded in the platform is transmitted into the appointed access information when the interface is called, and the information comprises the company, the service line, the system verification token, the service number and the serial number; if one part of the service dictionary is not verified and is returned to the designated service dictionary, the content feedback call is failed, and the service party is subjected to parameter verification to obtain a qualified service party.

And step 203, carrying out authority screening judgment on the company to obtain a qualified company.

As the purchase problem of the external big data company corresponding to each company is involved, the company authority is verified, an external big data company interface is selected and called according to the interface requirement, whether the company of the request has the interface calling authority is verified, and a qualified company is obtained.

And step 204, determining the type of the calling interface through the company information testimony request data and qualified business parties and companies.

Determining calling interface types through company information examination request data and qualified business parties and companies, wherein the calling interface types comprise two types which are mainly divided into a local interface and an external interface,

localization interface: the method mainly means that data information is stored locally, data resources are updated regularly, namely, a service system side only needs to call internally when in use, and the method is mainly suitable for updating slow information content or updating data content at regular time intervals.

External interface: the method mainly refers to the fact that an interface called by a service initiator needs to acquire data information to an external big data company so as to complete a service process, and is mainly suitable for inquiring the data information content needing to be updated in real time to enhance service judgment; the external interface also comprises a common interface and a personalized interface, wherein the personalized interface refers to the existence of a service flow customization interface created by a service system in the platform, the interfaces have the common points that a main interface and a standby interface exist after a single interface request is initiated, the main interface and the standby interface can be switched or closed at any time to selectively call, and the personalized interface has stronger use flexibility or can continuously support services when an emergency occurs.

Step 205, obtaining at least one group of corresponding participle company data information through the calling interface type and the company information testimony request data, and sending the company data information to a service party.

When the interface type is a localization interface, the method comprises the following steps:

acquiring at least one group of participle local company data information corresponding to a local resource database through company information examination request data;

and sending the local company data information to the service party.

And initiating a request task at regular time aiming at a localized interface, updating and analyzing data information content to localized data, recording a data regular updating period, and storing the charging condition record of the updated content into a system database.

When the interface type is an external interface, the method comprises the following steps:

judging whether the information examination request data is called recently or not according to the company information examination request data:

if yes, sending company information examination request data to a service party;

and if not, entering the next step, calling an external big data company to continue inquiring/verifying, releasing the default setting of the cache data content at regular intervals, and performing independent configuration processing on the cache time according to the company or a specified calling interface. In addition, the whole interface requests content from the service initiator to return data and updates the content into the Redis cache service, so that the problem that cost is not generated for many times when the same interface/client information is required for many times in a certain time period under individual service conditions is solved well, namely, whether a data basis is made for a data cache judgment process of information examination evidence request called recently is judged in a matching manner.

The method comprises the steps of converting company information examination request data transmitted by a service initiator into standard request data meeting the request format and identification requirement standards for calling various external big data companies so as to facilitate subsequent data interaction processes, and converting outgoing addresses when the request is initiated to the outside.

And acquiring at least one group of participle external company initial data information corresponding to an external big data company through the standard request data, performing data analysis on the external company initial data information to obtain final data information of the external company by adding a fixed service dictionary in a unified format in a system, and sending the final data information of the external company to a service party so as to visually confirm the data interaction and information search conditions. And analyzing the charging identification content of the interface for calling the charging of the big data company and recording the calling charging condition in a system database.

In the embodiment of the application, a unified architecture design is adopted, all external service requirements are externally connected, a unified data interface is internally provided, and authority management, bill management and safety management are realized. The data are individually cached by combining services provided by the outside according to different service scenes and utilizing a data caching technology, so that the repeated query quantity is reduced, the cost is greatly reduced, and the query efficiency is improved. And analyzing and evaluating the stability, data accuracy and other aspects of different external services by using the self-built model, and providing data support for a service scene.

Based on the same technical concept, an embodiment of the present application further provides a service-based integrated sharing apparatus, as shown in fig. 3, the apparatus includes:

310, an obtaining unit, configured to obtain company information testimony request data initiated by a business party, and perform parameter authority screening and judgment on the business party and the company respectively to obtain qualified business parties and companies;

320 identification unit, which determines the calling interface type through the company information examination request data and the qualified business party and company;

and the execution unit 330 is used for acquiring at least one group of corresponding participle company data information through the calling interface type and the company information testimony request data, and sending the company data information to the service party.

In the embodiment of the application, a unified architecture design is adopted, all external service requirements are externally connected, a unified data interface is internally provided, and authority management, bill management and safety management are realized. The data are individually cached by combining services provided by the outside according to different service scenes and utilizing a data caching technology, so that the repeated query quantity is reduced, the cost is greatly reduced, and the query efficiency is improved. And analyzing and evaluating the stability, data accuracy and other aspects of different external services by using the self-built model, and providing data support for a service scene.

In an exemplary embodiment, there is also provided a terminal including: one or more processors 401, a memory 402 for storing instructions executable by the one or more processors 401, as shown in FIG. 4, the one or more processors configured to: the method based on the service integration sharing is implemented.

In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by the processor 401 of the terminal, enable the terminal to perform the above-mentioned service integration sharing-based method of the present invention.

In an exemplary embodiment, an application program product is also provided, which includes one or more instructions executable by the processor 401 of the apparatus to perform the method for service-based integration sharing described above.

While embodiments of the invention have been disclosed above, it is not intended to be limited to the uses set forth in the specification and examples. It can be applied to all kinds of fields suitable for the present invention. Additional modifications will readily occur to those skilled in the art. It is therefore intended that the invention not be limited to the exact details and illustrations described and illustrated herein, but fall within the scope of the appended claims and equivalents thereof.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:数据库参数调整方法、装置、存储介质以及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!