CN111800382A - Cooperative system docking method, apparatus, system and computer readable storage medium - Google Patents

Cooperative system docking method, apparatus, system and computer readable storage medium Download PDF

Info

Publication number
CN111800382A
CN111800382A CN202010471156.3A CN202010471156A CN111800382A CN 111800382 A CN111800382 A CN 111800382A CN 202010471156 A CN202010471156 A CN 202010471156A CN 111800382 A CN111800382 A CN 111800382A
Authority
CN
China
Prior art keywords
docking
request
template
cooperation
determining
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
CN202010471156.3A
Other languages
Chinese (zh)
Other versions
CN111800382B (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.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202010471156.3A priority Critical patent/CN111800382B/en
Publication of CN111800382A publication Critical patent/CN111800382A/en
Application granted granted Critical
Publication of CN111800382B publication Critical patent/CN111800382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to the technical field of safety protection, and provides a method, a device and a system for docking a cooperative system and a computer readable storage medium, wherein the method comprises the following steps: if the docking request of the cooperation system is detected, verifying whether the docking request is valid; if the information is valid, acquiring qualification materials of the cooperation system, and determining a docking template corresponding to the cooperation system based on the qualification materials; determining a configuration table corresponding to the cooperation system based on the docking template; and responding to the calling request of the cooperation system based on the configuration table. When the docking request of the cooperation system is detected, the docking templates of different cooperation systems are determined, the corresponding configuration table is determined, and the docking configuration is completed based on the configuration table so as to respond to the calling requests of different cooperation systems, so that a corresponding docking scheme does not need to be developed for each cooperation system, the applicability is high, and the universal docking of the cooperation systems can be realized.

Description

Cooperative system docking method, apparatus, system and computer readable storage medium
Technical Field
The present invention relates to the field of security technologies, and in particular, to a method, an apparatus, a system, and a computer-readable storage medium for docking a collaboration system.
Background
With the rapid development of the internet, various industries establish own ecology of the internet +, the requirements of various internet system docking are more and more, the association between the industries is more and more compact, but with more and more docking services, the availability and the security of the system are also followed, and particularly the problem of data leakage is increased, so that the docking security authentication and the system stability of partners are more and more important.
At present, when a system of a partner is docked, safety certification and docking need to be performed separately for the docked system, and due to the fact that different partners and different systems of the partners are used, each pair of the partners is docked and a docking scheme needs to be designed separately, time and labor are consumed in the docking process, and the existing docking scheme is not universal.
Disclosure of Invention
The invention mainly aims to provide a cooperative system docking method, a cooperative system docking device, a cooperative system docking system and a computer-readable storage medium, and aims to realize universal docking with a cooperative system.
In order to achieve the above object, the present invention provides a collaboration system docking method, including the steps of:
if the docking request of the cooperation system is detected, verifying whether the docking request is valid;
if the information is valid, acquiring qualification materials of the cooperation system, and determining a docking template corresponding to the cooperation system based on the qualification materials;
determining a configuration table corresponding to the cooperation system based on the docking template;
and responding to the calling request of the cooperation system based on the configuration table.
Optionally, the step of determining a configuration table corresponding to the collaboration system based on the docking template includes:
determining a template type of the docking template;
and if the butt joint template of the cooperation system is a standardized template, acquiring a configuration table corresponding to the standardized template.
Optionally, after the step of determining the template type of the docking template, the collaboration system docking method further includes:
if the docking template of the cooperation system is an individualized template, acquiring configuration information of the individualized template;
and filling the configuration information into the personalized template to obtain a configuration table corresponding to the cooperation system.
Optionally, after the step of responding to the invocation request of the collaboration system based on the configuration table, the collaboration system docking method further includes:
monitoring the access amount of a docking interface corresponding to the cooperation system;
if the access quantity is lower than a first threshold value, caching a call request triggered based on the docking interface into a preset queue;
and when the docking interface is determined to meet the preset condition, obtaining the cached calling request from the preset queue, and responding to the cached calling request.
Optionally, after the step of monitoring the access amount of the docking interface corresponding to the cooperation system, the cooperation system docking method further includes:
and if the access amount is higher than a second threshold value, determining a target interface with the access amount lower than the first threshold value, and caching a calling request triggered based on the target interface into a preset queue so as to respond to the calling request of the docking interface.
Optionally, the step of responding to the invocation request of the collaboration system based on the configuration table includes:
if the call request of the cooperation system is detected, determining a docking interface corresponding to the call request, and determining an annotation corresponding to the docking interface;
responding to the call request based on the annotation and the configuration table.
Optionally, if a docking request of the cooperative system is detected, the step of verifying whether the docking request is valid includes:
if a docking request of a cooperation system is detected, determining the corresponding locker time of the cooperation system;
and if the current time is not in the lock library time, acquiring the signature of the cooperation system, and verifying whether the docking request is valid or not based on the signature.
Further, to achieve the above object, the present invention provides a collaboration system docking apparatus, including:
the verification module is used for verifying whether the docking request is valid or not if the docking request of the cooperation system is detected;
the acquisition module is used for acquiring qualification materials of the cooperation system if the qualification materials are valid, and determining a docking template corresponding to the cooperation system based on the qualification materials;
the determining module is used for determining a configuration table corresponding to the cooperation system based on the docking template;
and the response module is used for responding to the calling request of the cooperation system based on the configuration table.
Optionally, the determining module is further configured to:
determining a template type of the docking template;
and if the butt joint template of the cooperation system is a standardized template, acquiring a configuration table corresponding to the standardized template.
Optionally, the determining module is further configured to:
if the docking template of the cooperation system is an individualized template, acquiring configuration information of the individualized template;
and filling the configuration information into the personalized template to obtain a configuration table corresponding to the cooperation system.
Optionally, the response module is further configured to:
monitoring the access amount of a docking interface corresponding to the cooperation system;
if the access quantity is lower than a first threshold value, caching a call request triggered based on the docking interface into a preset queue;
and when the docking interface is determined to meet the preset condition, obtaining the cached calling request from the preset queue, and responding to the cached calling request.
Optionally, the response module is further configured to:
and if the access amount is higher than a second threshold value, determining a target interface with the access amount lower than the first threshold value, and caching a calling request triggered based on the target interface into a preset queue so as to respond to the calling request of the docking interface.
Optionally, the response module is further configured to:
if the call request of the cooperation system is detected, determining a docking interface corresponding to the call request, and determining an annotation corresponding to the docking interface;
responding to the call request based on the annotation and the configuration table.
Optionally, the verification module is further configured to:
if a docking request of a cooperation system is detected, determining the corresponding locker time of the cooperation system;
and if the current time is not in the lock library time, acquiring the signature of the cooperation system, and verifying whether the docking request is valid or not based on the signature.
In addition, to achieve the above object, the present invention further provides a collaboration system docking system, which includes a processor, a memory, and a collaboration system docking program stored on the memory and executable by the processor, wherein the collaboration system docking program, when executed by the processor, implements the steps of the collaboration system docking method as described above.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having a collaboration system docking program stored thereon, wherein the collaboration system docking program, when executed by a processor, implements the steps of the collaboration system docking method as described above.
The invention provides a docking method of a cooperation system, which is characterized in that if a docking request of the cooperation system is detected, whether the docking request is valid is verified; if the information is valid, acquiring qualification materials of the cooperation system, and determining a docking template corresponding to the cooperation system based on the qualification materials; determining a configuration table corresponding to the cooperation system based on the docking template; and responding to the calling request of the cooperation system based on the configuration table. When the docking request of the cooperation system is detected, the docking templates of different cooperation systems are determined, the corresponding configuration table is determined, and the docking configuration is completed based on the configuration table so as to respond to the calling requests of different cooperation systems, so that a corresponding docking scheme does not need to be developed for each cooperation system, the applicability is high, and the universal docking of the cooperation systems can be realized.
Drawings
Fig. 1 is a schematic hardware configuration diagram of a collaboration system docking system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first exemplary embodiment of a collaboration system docking method;
fig. 3 is a functional block diagram of a docking device of a collaboration system according to a first embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The cooperative system docking method related in the embodiment of the invention is mainly applied to a cooperative system docking system, and the cooperative system docking system can comprise equipment with display and processing functions, such as a PC, a portable computer, a mobile terminal and the like.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a collaboration system docking system according to an embodiment of the present invention. In the embodiment of the present invention, the cooperative system interfacing system may include a processor 1001 (e.g., CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory, or may be a non-volatile memory (e.g., a magnetic disk memory), and optionally, the memory 1005 may be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation of the cooperative system docking system, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005 of fig. 1, which is one type of computer-readable storage medium, may include an operating system, a network communication module, and a collaboration system interfacing program.
In fig. 1, the network communication module is mainly used for connecting to a server and performing data communication with the server; and the processor 1001 may call the cooperative system docking program stored in the memory 1005 and perform the cooperative system docking method provided by the embodiment of the present invention.
The embodiment of the invention provides a cooperative system docking method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a collaboration system docking method according to the present invention.
In this embodiment, the cooperation system docking method includes the following steps:
step S10, if the docking request of the cooperation system is detected, verifying whether the docking request is valid;
step S20, if the result is valid, acquiring qualification materials of the cooperation system, and determining a docking template corresponding to the cooperation system based on the qualification materials;
step S30, determining a configuration table corresponding to the cooperation system based on the docking template;
and step S40, responding to the calling request of the cooperation system based on the configuration table.
The docking method of the collaboration system of the embodiment is applied to a docking system of the collaboration system, and for convenience of description, the docking system is referred to as a docking system, the docking system exposes a docking interface to the outside, the collaboration system can dock with the docking system through the docking interface, and after the docking is completed, the docking system responds to a call request of the collaboration system if the docking system detects the call request.
In this embodiment, when the docking request of the cooperation system is detected, a docking scheme does not need to be separately developed for the cooperation system, but the docking template of the cooperation system is determined through qualification materials of the cooperation system, and the configuration required for docking is completed in a configuration table corresponding to the docking template, so as to respond to the call request of the cooperation system and implement universal docking of the cooperation system.
The respective steps will be described in detail below:
step S10, if the docking request of the cooperation system is detected, it is verified whether the docking request is valid.
In this embodiment, if the docking system detects a docking request of the cooperative system, it is verified whether the docking request is valid, that is, if there is a data interaction between the docking system and the cooperative system or a function of two systems of each other is called, the docking system needs to verify the validity of the cooperative system, that is, verify whether the docking request is valid, in order to avoid the occurrence of a situation that the docking system is damaged by data leakage or virus intrusion.
In an embodiment, if a docking request of a collaboration system is detected, a signature of the collaboration system is obtained, and whether the docking request is valid is verified according to the signature of the collaboration system, wherein the signature is generated by a system identifier of the collaboration system and a key corresponding to the system identifier.
In the specific implementation, related service personnel of the docking system need to carry out due diligence on the cooperation system, the matters of the due diligence can be set according to the actual situation, thereby obtaining the qualification material of the cooperative system, i.e. the qualification material of the cooperative partner, based on the qualification material, the cooperation system is qualified, after the examination is passed, the related business personnel initiates an EOA (electronic office automation) signature, the docking system, upon detecting the approval of the endorsement, generates a system identifier for the collaboration system, and corresponding keys and the validity periods of the keys are distributed, when the cooperation system initiates a docking request, a signature needs to be generated according to the system identifier and the keys to prevent tampering, it needs to be stated that the keys have the validity periods, if the validity period of the key is one month, after one month, the cooperative system needs to call the key interface of the docking system again to obtain a new key and a new validity period of the key. That is, in an embodiment, when the cooperation system initiates the docking request, the cooperation system also carries the signature of the cooperation system, and when the docking system receives the docking request, the docking system determines whether the current docking request is valid by verifying whether the signature is valid.
Further, in another embodiment, if a docking request of the cooperative system is detected, determining the number of times of continuous failures of authentication or signature verification of the cooperative system, and if the number of times of continuous failures of authentication or signature verification reaches a preset threshold, determining that the docking request is invalid; if the times of authentication or continuous signature verification failures do not reach a preset threshold value, acquiring a signature of the cooperation system, verifying whether the signature is correct or not, and if so, enabling the docking request to be effective; if not, the docking request is invalid.
That is, in another embodiment, the docking system is further configured with an authentication or signature verification continuous failure stop access threshold, and if the collaboration system has previously failed to authenticate or verify for a preset threshold number of times, it is not allowed to dock without re-verifying its signature.
Further, step S10 includes:
step a1, if a docking request of a cooperation system is detected, determining the corresponding lock library time of the cooperation system;
step a2, if the current time is not in the lock library time, acquiring the signature of the cooperation system, and verifying whether the docking request is valid based on the signature.
In another embodiment, if a docking request of a cooperative system is detected, determining the corresponding locker time of the cooperative system, and if the current time is in the locker time, determining that the docking request is invalid; and if the current time is not in the lock library time, acquiring the signature of the cooperation system, and verifying whether the docking request is valid or not based on the signature. That is, in another embodiment, the docking system is further provided with a lock time, and the cooperation system is not allowed to access the docking system within the lock time, wherein the lock time refers to a time for which the access of the cooperation system is limited due to authentication or signature verification failure.
And step S20, if the result is valid, acquiring qualification materials of the cooperation system, and determining a docking template corresponding to the cooperation system based on the qualification materials.
In this embodiment, if it is determined that the current docking request is valid, the access of the cooperation system is allowed, and qualification materials of the cooperation system are obtained, where the qualification materials include qualification information such as a system name, enterprise information, credit information, copyright information, and security information of the cooperation system, and the copyright information is used to characterize the right affiliation of the cooperation system; the safety information is used for representing the safety protection level of the cooperation system and comprises a vulnerability protection strategy, an exception handling strategy and the like. And then, determining a docking template corresponding to the cooperation system according to the qualification materials.
Specifically, the cooperation level of the cooperation system is determined based on qualification materials, so that the docking template corresponding to the cooperation system is determined according to a preset cooperation level-docking template mapping table, wherein the docking template comprises a personalized template and a standardized template.
In specific implementation, the determination of the cooperation grade is comprehensively evaluated according to the score of each qualification information in the qualification material, such as the score of enterprise information, and the evaluation can be carried out according to the scale of the enterprise information, the registered fund and the like as parameters; and finally, the scores of all the qualification information are added to obtain a total score, and the cooperation grade of the cooperation system is determined according to the total score.
Further, the collaboration system docking method further comprises the following steps:
if the information is invalid, the cooperative system is refused to access;
in this embodiment, if it is determined that the current docking request is invalid, it indicates that the currently docked cooperative system is not already in the docking system, and the signature used by the currently docked cooperative system is not generated by the system identifier and the secret key allocated by the docking system, access to the currently docked system is denied, thereby avoiding system failure and the like caused by a system with an unknown access.
Step S30, determining a configuration table corresponding to the cooperation system based on the docking template.
In this embodiment, after the docking system determines the docking template, the configuration table corresponding to the cooperation system is determined according to the docking template.
Specifically, step S30 includes:
step b1, determining the template type of the butt joint template;
that is, in the present embodiment, after determining the docking template of the collaboration system, the template type of the docking template is determined, wherein the docking template includes a personalized template and a standardized template.
Step b2, if the docking template of the cooperation system is a standardized template, acquiring a configuration table corresponding to the standardized template.
In this embodiment, if it is determined that the docking template of the collaboration system is the standardized template, the configuration table corresponding to the standardized template is directly obtained from the preset database, that is, the configuration table of the standardized template is stored in the docking system in advance, and the configuration table is a universal template and is suitable for the collaboration system in which all the docking templates are the standardized templates.
Further, the collaboration system docking method further comprises the following steps:
b3, if the docking template of the cooperation system is a personalized template, acquiring the configuration information of the personalized template;
step b4, filling the configuration information into the personalized template to obtain the configuration table corresponding to the cooperation system.
In this embodiment, if it is determined that the docking template of the collaboration system is the personalized template, obtaining configuration information of the personalized template, and then filling the configuration information into the personalized template, thereby obtaining a configuration table of the collaboration system, when the docking system is specifically implemented, when it is determined that the docking template of the current collaboration system to be docked is the personalized template, displaying an interface of the personalized template, and configuring configuration information of the collaboration system on the interface by a relevant service person according to qualification materials of the collaboration system, wherein the configuration information includes a daily call amount, that is, a daily call number; IP whitelists, i.e., which devices in the collaboration system are allowed to invoke which devices of the docking system; and E, mail setting, namely sending corresponding failure information or abnormal information to a corresponding development terminal when the butt joint fails or is abnormal, so that developers of the opposite party can know the information in time, and the like. The docking system receives configuration information input by related business personnel based on the interface of the personalized template, and fills the configuration information into the personalized template, so that a configuration table of the cooperation system is obtained.
In another embodiment, after collecting qualification materials of the cooperation system and determining a docking template of the cooperation system, relevant business personnel need to configure the daily calling amount of the current cooperation system, namely the calling times of each day, for each cooperation system; the IP white list, i.e., which devices in the collaboration system are allowed to invoke which devices in the docking system; and E-mail setting, namely when the butt joint fails or is abnormal, sending corresponding failure information or abnormal information to a corresponding development terminal so that the opposite side developer can timely know the configuration information and store the configuration information, and when the butt joint of the cooperation system is detected, directly acquiring the pre-configured configuration information by the butt joint system according to the system identification and filling the pre-configured configuration information into the personalized template so as to obtain a configuration table of the cooperation system.
And step S40, responding to the calling request of the cooperation system based on the configuration table.
In this embodiment, the docking system responds to a call request of the cooperative system based on the configuration table, that is, the docking system responds according to the configuration table when detecting the call request of the cooperative system, it should be noted that the cooperative system needs to generate a sign value of sha-256, that is, a signature, according to a system identifier generated by the docking system and a distributed key, and the signature needs to be carried each time the call request is initiated, so that the docking system authenticates or verifies the signature; and if the continuous times of authentication or signature verification failure reach the threshold value, the cooperative system is limited to continue calling, and the limiting time can be set according to the actual condition, such as setting and limiting for half an hour, and then automatically unlocking and the like.
Further, in an embodiment, if a call request of the cooperative system is detected, an IP address of a calling device corresponding to the call request is determined, whether the IP address is in a preset IP white list is determined, if yes, the cooperative system is allowed to be called, and if not, the cooperative system is not allowed to be called.
Further, in an embodiment, if a call request of the collaboration system is detected, determining a number of times that the collaboration system has been called currently, that is, determining how many times the collaboration system has been called currently, and determining whether the number of times that has been called reaches a call amount per day in the configuration table, if so, not allowing the collaboration system to continue calling, and if not, allowing the collaboration system to continue calling, and the like.
It should be noted that, in the process of responding to the invocation request, if data transmission is involved, data is encrypted, and after the corresponding client acquires the data, the corresponding client needs to decrypt the data by using a corresponding key.
The embodiment provides a docking method for a collaboration system, wherein if a docking request of the collaboration system is detected, whether the docking request is valid is verified; if the information is valid, acquiring qualification materials of the cooperation system, and determining a docking template corresponding to the cooperation system based on the qualification materials; determining a configuration table corresponding to the cooperation system based on the docking template; and responding to the calling request of the cooperation system based on the configuration table. When the docking request of the cooperation system is detected, the docking templates of different cooperation systems are determined, the corresponding configuration table is determined, and the docking configuration is completed based on the configuration table so as to respond to the calling requests of different cooperation systems, so that a corresponding docking scheme does not need to be developed for each cooperation system, the applicability is high, and the universal docking of the cooperation systems can be realized.
Further, a second embodiment of the collaboration system docking method of the present invention is proposed based on the first embodiment.
The second embodiment of the collaboration system docking method differs from the first embodiment of the collaboration system docking method in that the collaboration system docking method further comprises:
step c, monitoring the access amount of the docking interface corresponding to the cooperation system;
step d, if the access quantity is lower than a first threshold value, caching a call request triggered based on the docking interface into a preset queue;
and e, when the docking interface meets the preset condition, obtaining the cached calling request from the preset queue, and responding to the cached calling request.
In this embodiment, after the docking with the cooperation system is completed, the docking system monitors the access amount of the docking interface corresponding to the cooperation system, and adjusts the response policy according to the access amount, so as to meet the call requirements of different docking interfaces.
The respective steps will be described in detail below:
and c, monitoring the access quantity of the docking interface corresponding to the cooperation system.
In this embodiment, when the docking system is in a peak period of service, degradation processing may be performed on some functions, specifically, access amounts of the exposed docking interfaces are monitored based on redis (an open source database), that is, the access amounts of the docking interfaces are counted in real time or at regular time based on redis, where each docking interface includes a docking interface corresponding to the cooperation system.
And d, if the access quantity is lower than a first threshold value, caching the call request triggered based on the docking interface into a preset queue.
In this embodiment, if it is determined that the access amount of the docking interface corresponding to the cooperative system is lower than the first threshold, the call request triggered based on the docking interface is cached in the preset queue, that is, for the docking interface with a smaller access amount, the docking system stores the call request of the docking interface in the queue first, and the service limit of the docking interface call back end is 0, that is, the service of the docking interface is stopped, and the resource is freed to respond to the call pressure of the other docking interfaces with a larger access amount.
And e, when the docking interface meets the preset condition, obtaining the cached calling request from the preset queue, and responding to the cached calling request.
In this embodiment, when it is determined that the docking interface meets the preset condition, the previously cached call request is obtained from the queue, and is continuously processed, and the cached call request is responded, wherein the preset condition may be preset time, that is, after the service is stopped for the preset time, the docking interface continues to serve the cooperative system; the preset condition may also be that the number of the call requests in the queue reaches a preset number, that is, when the call requests in the preset queue reach the preset number, the docking interface continues to serve the cooperative system; the preset condition may also be that the docking interface continues to serve the docking system when the total access amount of the docking system is lower than the preset total access amount, that is, when it is detected that the docking system is not in the service peak period.
It should be noted that the basis for determining whether the docking system is in the service peak period is as follows: and determining whether the current total access amount is higher than the preset total access amount, if so, determining the current total access amount to be the service peak period, and if not, determining the current total access amount not to be the service peak period.
Further, the collaboration system docking method further comprises the following steps:
and f, if the access amount is higher than a second threshold value, determining a target interface with the access amount lower than the first threshold value, and caching a calling request triggered based on the target interface into a preset queue so as to respond to the calling request of the docking interface.
In this embodiment, if it is determined that the access amount of the docking interface corresponding to the cooperative system is higher than the second threshold, which indicates that the docking interface has a large call pressure, the call request of the target interface whose access amount is lower than the first threshold is cached in the preset queue to release the resource of the target interface, so that more resources are served to the docking interface of the cooperative system, where the second threshold is higher than the first threshold, and the specific numerical value may be set according to an actual situation.
After the docking with the cooperation system is completed, the docking system monitors the access amount of the docking interface corresponding to the cooperation system, and adjusts the response strategy according to the access amount, so as to meet the calling requirements of different docking interfaces, improve the flexibility of the docking system, and realize intelligent docking.
Further, a third embodiment of the collaboration system docking method of the present invention is provided based on the first and second embodiments.
The third embodiment of the cooperative system docking method differs from the first and second embodiments of the cooperative system docking method in that step S40 includes:
step g1, if detecting the call request of the cooperation system, determining the docking interface corresponding to the call request, and determining the annotation corresponding to the docking interface;
step g2, responding to the call request based on the annotation and the configuration table.
In this embodiment, a comment is added to an externally exposed docking interface in advance, and when a call request of the collaboration system is responded, the call request needs to satisfy the stipulations in addition to the response according to the configuration table, so that the call of the collaboration system conforms to the stipulations of the configuration table and the notes, and the security of the call is further improved.
The respective steps will be described in detail below:
step g1, if the call request of the cooperation system is detected, determining the docking interface corresponding to the call request, and determining the annotation corresponding to the docking interface.
In this embodiment, after the docking system completes the docking with the collaboration system, if a call request of the collaboration system is detected, the docking interface corresponding to the call request is determined first, and an annotation corresponding to the docking interface is determined, where the annotation refers to a place where the collaboration system needs to follow the configuration table, that is, the docking system only responds to the annotated place according to the configuration information of the configuration table, and no limitation is imposed on other places.
The method takes the consideration that some frames of the existing docking system can not meet the execution requirement of the docking method of the cooperation system, and more manpower and financial resources are consumed if the frames are reworked, so that the method of adding annotations is adopted, and the existing codes are slightly changed to adapt to different docking requirements.
Step g2, responding to the call request based on the annotation and the configuration table.
In this embodiment, which configuration information in the configuration table is valid is determined according to the annotation, and the valid configuration information is used to respond to the call request of the cooperative system, and the specific response manner is similar to that in the above embodiment, and is not described herein again.
In this embodiment, a comment is added to an externally exposed docking interface in advance, and when a call request of the collaboration system is responded, the call request needs to satisfy the stipulations in addition to the response according to the configuration table, so that the call of the collaboration system conforms to the stipulations of the configuration table and the notes, and the security of the call is further improved.
In addition, the embodiment of the invention also provides a cooperative system docking device.
Referring to fig. 3, fig. 3 is a functional block diagram of a docking device of a collaboration system according to a first embodiment of the present invention.
In this embodiment, the cooperation system docking apparatus includes:
a verification module 10, configured to verify whether a docking request of the collaboration system is valid if the docking request is detected;
an obtaining module 20, configured to obtain a qualification material of the cooperation system if the condition is valid, and determine a docking template corresponding to the cooperation system based on the qualification material;
a determining module 30, configured to determine a configuration table corresponding to the collaboration system based on the docking template;
and the response module 40 is used for responding to the calling request of the cooperation system based on the configuration table.
Optionally, the determining module is further configured to:
determining a template type of the docking template;
and if the butt joint template of the cooperation system is a standardized template, acquiring a configuration table corresponding to the standardized template.
Optionally, the determining module is further configured to:
if the docking template of the cooperation system is an individualized template, acquiring configuration information of the individualized template;
and filling the configuration information into the personalized template to obtain a configuration table corresponding to the cooperation system.
Optionally, the response module is further configured to:
monitoring the access amount of a docking interface corresponding to the cooperation system;
if the access quantity is lower than a first threshold value, caching a call request triggered based on the docking interface into a preset queue;
and when the docking interface is determined to meet the preset condition, obtaining the cached calling request from the preset queue, and responding to the cached calling request.
Optionally, the response module is further configured to:
and if the access amount is higher than a second threshold value, determining a target interface with the access amount lower than the first threshold value, and caching a calling request triggered based on the target interface into a preset queue so as to respond to the calling request of the docking interface.
Optionally, the response module is further configured to:
if the call request of the cooperation system is detected, determining a docking interface corresponding to the call request, and determining an annotation corresponding to the docking interface;
responding to the call request based on the annotation and the configuration table.
Optionally, the verification module is further configured to:
if a docking request of a cooperation system is detected, determining the corresponding locker time of the cooperation system;
and if the current time is not in the lock library time, acquiring the signature of the cooperation system, and verifying whether the docking request is valid or not based on the signature.
Each module and unit in the cooperative system docking apparatus correspond to each step in the cooperative system docking method embodiment, and the functions and implementation processes thereof are not described in detail herein.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores thereon a collaboration system docking program, wherein the collaboration system docking program, when executed by a processor, implements the steps of the collaboration system docking method as described above.
The method implemented when the cooperative system docking program is executed may refer to each embodiment of the cooperative system docking method of the present invention, and details are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A collaboration system docking method, the collaboration system docking method comprising:
if the docking request of the cooperation system is detected, verifying whether the docking request is valid;
if the information is valid, acquiring qualification materials of the cooperation system, and determining a docking template corresponding to the cooperation system based on the qualification materials;
determining a configuration table corresponding to the cooperation system based on the docking template;
and responding to the calling request of the cooperation system based on the configuration table.
2. The collaboration system docking method as claimed in claim 1, wherein the step of determining a configuration table corresponding to the collaboration system based on the docking template comprises:
determining a template type of the docking template;
and if the butt joint template of the cooperation system is a standardized template, acquiring a configuration table corresponding to the standardized template.
3. The collaboration system docking method as recited in claim 1, wherein after the step of determining a template type of the docking template, the collaboration system docking method further comprises:
if the docking template of the cooperation system is an individualized template, acquiring configuration information of the individualized template;
and filling the configuration information into the personalized template to obtain a configuration table corresponding to the cooperation system.
4. The collaboration system docking method as recited in claim 1, wherein after the step of responding to the collaboration system invocation request based on the configuration table, the collaboration system docking method further comprises:
monitoring the access amount of a docking interface corresponding to the cooperation system;
if the access quantity is lower than a first threshold value, caching a call request triggered based on the docking interface into a preset queue;
and when the docking interface is determined to meet the preset condition, obtaining the cached calling request from the preset queue, and responding to the cached calling request.
5. The collaboration system docking method as claimed in claim 4, wherein after the step of monitoring the access amount of the docking interface corresponding to the collaboration system, the collaboration system docking method further comprises:
and if the access amount is higher than a second threshold value, determining a target interface with the access amount lower than the first threshold value, and caching a calling request triggered based on the target interface into a preset queue so as to respond to the calling request of the docking interface.
6. The collaboration system docking method as recited in claim 1, wherein the step of responding to the collaboration system invocation request based on the configuration table comprises:
if the call request of the cooperation system is detected, determining a docking interface corresponding to the call request, and determining an annotation corresponding to the docking interface;
responding to the call request based on the annotation and the configuration table.
7. The collaboration system docking method of any one of claims 1 to 6, wherein, if a docking request of a collaboration system is detected, the step of verifying whether the docking request is valid comprises:
if a docking request of a cooperation system is detected, determining the corresponding locker time of the cooperation system;
and if the current time is not in the lock library time, acquiring the signature of the cooperation system, and verifying whether the docking request is valid or not based on the signature.
8. A collaboration system docking apparatus, comprising:
the verification module is used for verifying whether the docking request is valid or not if the docking request of the cooperation system is detected;
the acquisition module is used for acquiring qualification materials of the cooperation system if the qualification materials are valid, and determining a docking template corresponding to the cooperation system based on the qualification materials;
the determining module is used for determining a configuration table corresponding to the cooperation system based on the docking template;
and the response module is used for responding to the calling request of the cooperation system based on the configuration table.
9. A collaboration system docking system comprising a processor, a memory, and a collaboration system docking program stored on the memory and executable by the processor, wherein the collaboration system docking program, when executed by the processor, implements the steps of the collaboration system docking method as recited in any one of claims 1 to 7.
10. A computer-readable storage medium, having a collaboration system docking program stored thereon, wherein the collaboration system docking program, when executed by a processor, implements the steps of the collaboration system docking method as recited in any one of claims 1 to 7.
CN202010471156.3A 2020-05-28 2020-05-28 Cooperative system docking method, apparatus, system and computer readable storage medium Active CN111800382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010471156.3A CN111800382B (en) 2020-05-28 2020-05-28 Cooperative system docking method, apparatus, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010471156.3A CN111800382B (en) 2020-05-28 2020-05-28 Cooperative system docking method, apparatus, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111800382A true CN111800382A (en) 2020-10-20
CN111800382B CN111800382B (en) 2024-04-05

Family

ID=72806209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010471156.3A Active CN111800382B (en) 2020-05-28 2020-05-28 Cooperative system docking method, apparatus, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111800382B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769229A (en) * 2018-06-06 2018-11-06 平安科技(深圳)有限公司 Information customizes sending method, device, computer equipment and storage medium
US20190182252A1 (en) * 2016-07-22 2019-06-13 Tirupati Raju Dandu Web based background check system and method for access and verification of credentials
CN110162524A (en) * 2019-04-15 2019-08-23 中国平安财产保险股份有限公司 Management method, device, computer equipment and the storage medium of configuration data
CN110175466A (en) * 2019-04-16 2019-08-27 平安科技(深圳)有限公司 Method for managing security, device, computer equipment and the storage medium of open platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190182252A1 (en) * 2016-07-22 2019-06-13 Tirupati Raju Dandu Web based background check system and method for access and verification of credentials
CN108769229A (en) * 2018-06-06 2018-11-06 平安科技(深圳)有限公司 Information customizes sending method, device, computer equipment and storage medium
CN110162524A (en) * 2019-04-15 2019-08-23 中国平安财产保险股份有限公司 Management method, device, computer equipment and the storage medium of configuration data
CN110175466A (en) * 2019-04-16 2019-08-27 平安科技(深圳)有限公司 Method for managing security, device, computer equipment and the storage medium of open platform

Also Published As

Publication number Publication date
CN111800382B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN108200050B (en) Single sign-on server, method and computer readable storage medium
CN107135073B (en) Interface calling method and device
US9621584B1 (en) Standards compliance for computing data
US20040122962A1 (en) Service environment integrity based service selection
US7509498B2 (en) Digital signature validation
US8479006B2 (en) Digitally signing documents using identity context information
US7877614B2 (en) Process for securing the access to the resources of an information handling system (I.H.S.)
JPWO2008099739A1 (en) Personal information management apparatus, service providing apparatus, program, personal information management method, verification method, and personal information verification system for preventing falsification of personal information and denial of distribution of personal information
CN111343168A (en) Identity authentication method and device, computer equipment and readable storage medium
CN110708335A (en) Access authentication method and device and terminal equipment
CN113239397A (en) Information access method, device, computer equipment and medium
CN111880919A (en) Data scheduling method, system and computer equipment
CN114422139A (en) API gateway request security verification method and device, electronic equipment and computer readable medium
CN112560006B (en) Single sign-on method and system under multi-application system
WO2023241366A1 (en) Data processing method and system, and electronic device and computer-readable storage medium
CN109992298B (en) Examination and approval platform expansion method and device, examination and approval platform and readable storage medium
CN111800382A (en) Cooperative system docking method, apparatus, system and computer readable storage medium
CN112367339B (en) System security login management method and device
CN115221562A (en) Browser file signature method and device and computer readable storage medium
CN112583890B (en) Message pushing method and device based on enterprise office system and computer equipment
CN115567218A (en) Data processing method and device of security certificate based on block chain and server
JP2022120314A (en) Personal information management device, terminal and terminal program
CN113127845A (en) Method, device, equipment and storage medium for verifying application permission
JP2008217712A (en) Mail server access method and electronic mail system
CN114430428B (en) Client interface unifying method, service system, storage medium and electronic equipment

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