CN113938515A - Third-party platform based access method, system, electronic equipment and storage medium - Google Patents

Third-party platform based access method, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN113938515A
CN113938515A CN202111111832.7A CN202111111832A CN113938515A CN 113938515 A CN113938515 A CN 113938515A CN 202111111832 A CN202111111832 A CN 202111111832A CN 113938515 A CN113938515 A CN 113938515A
Authority
CN
China
Prior art keywords
data
platform
access
frequency
party platform
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.)
Pending
Application number
CN202111111832.7A
Other languages
Chinese (zh)
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.)
Inspur Cloud Information Technology Co Ltd
Original Assignee
Inspur Cloud Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Cloud Information Technology Co Ltd filed Critical Inspur Cloud Information Technology Co Ltd
Priority to CN202111111832.7A priority Critical patent/CN113938515A/en
Publication of CN113938515A publication Critical patent/CN113938515A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Abstract

The invention discloses an access method, a system, electronic equipment and a storage medium based on a third-party platform, belonging to the field of computers and internet, and solving the technical problems that the development and maintenance cost of the third-party platform is higher due to the diversity of interface modes of the system in the existing large platform industries, so that the disorderly butt joint of the large platforms is influenced, the operation and maintenance interface is fussy and has low efficiency, the development and operation and maintenance cost is high, and the adopted technical scheme is as follows: the method comprises the steps that according to an access protocol preset by an access platform, the access platform establishes communication connection with a third party platform, acquires data sent by the third party platform, performs related data rule definition, filtering, inspection and retention according to the data acquired by a target terminal platform, and controls an inner platform and an outer platform to directly establish communication, data exchange, access control and access management in a unified mode; the method comprises the following specific steps: controlling access; detecting the data quality; caching data; an access frequency; timing detection; and (5) counting queries.

Description

Third-party platform based access method, system, electronic equipment and storage medium
Technical Field
The invention relates to the field of computers and the Internet, in particular to an access method, a system, electronic equipment and a storage medium based on a third-party platform.
Background
With the development of internet technology, information-oriented construction has been developed from a traditional single application to a distributed, modular, highly integrated and service-isolated plurality of systems. More and more platforms are used for data interaction, interface calling and other services. Such as: payment by a treasure, payment by a federation, payment by a letter, etc. In addition, the existing internet enterprises have a partner relationship, and platforms of various large manufacturers have a relationship with each other, for example, a good health and a good business are in the field of video monitoring, and a tiger manufacturer is in the field of security. Banks, hospitals and the like have different products or systems developed and maintained by different internet manufacturers, and the platforms or systems cooperate with each other to avoid the phenomenon of disordered mutual connection, and are time-consuming, labor-consuming and financial-consuming, as shown in the attached drawing 1.
Due to the diversity of the interface modes of each large platform system, and for the same interface mode, different data structures may be included. In order to meet the access requirements of various platforms, a third-party platform often needs to develop multiple sets of application programs in an interface mode, so that the development cost of the third-party platform is increased, and the platform system is troublesome to call the third-party platform.
The development and maintenance cost of a third-party platform is high due to the diversity of interface modes of the system in the existing large platform industries, and if a bank calls the third-party platform interface, the third-party platform interface is complex, so that the disordered butt joint of the large platforms is influenced, the operation and maintenance interface is complex, the efficiency is low, and the development and operation and maintenance cost is high.
Disclosure of Invention
The invention provides an access method, a system, electronic equipment and a storage medium based on a third-party platform, and aims to solve the problems that the development and maintenance cost of the third-party platform is higher due to the diversity of interface modes of the system in the existing large platform industries, so that the disorderly butt joint of the large platforms is influenced, the operation and maintenance interface is complex, the efficiency is low, and the development and operation and maintenance cost is high.
The technical task of the invention is realized in the following way, a method for accessing based on a third party platform comprises the steps that according to an access protocol preset by an access platform, the access platform establishes communication connection with the third party platform, acquires data sent by the third party platform, performs related data rule definition, filtration, inspection and retention according to the data acquired by a target terminal platform, and controls an inner platform and an outer platform to directly establish communication, data exchange, access control and unified access management; the method comprises the following specific steps:
and (3) access control: establishing access control of each large platform;
and (3) data quality detection: defining rules for accessing each large platform data;
data caching: data utilization is improved by retaining data;
access frequency: accelerating access and improving the priority access right;
timing detection: stably detecting the running state of the system;
and (3) statistical query: and monitoring the running state.
Preferably, the access control is specifically as follows:
accessing each large platform, and performing data communication by a third-party platform through a formulated protocol according to a preset access protocol; the access protocol is a protocol based on TCP based on a TCP/IP layer, and comprises a main stream protocol of http, https, sftp and pop 3;
configuring third party platform information required by a platform, and communicating a protocol, an address IP, a port number, a request head, a request body, a request message and a request encryption and decryption mode required by the third party platform; the third-party platform provides a webpage access platform or an application program access platform for a third party;
each large platform is connected with a third-party platform, the third-party platform is required to be alerted to hold hands for three times when access is made, data communication is carried out after the hand shaking is successful, a communication protocol is encrypted by adopting a symmetric or asymmetric protocol, and each platform is provided with a public key and a private key maintained by the platform, so that different platforms can communicate with each other and accurate data interaction can be realized;
obtaining target data in a third party access request through accessing a third party platform and through a unified data structure and a communication protocol of a unified interface package, and controlling forwarding of the access data according to the searched access data amount; the unified interface package supports different types and different encryption mechanisms.
Preferably, the data quality detection is specifically as follows:
setting definitions of data types, data structures and data formats which need to be accessed and correspond to different platforms and different interfaces, and setting standard operation for encryption processing and decryption processing of communication data; the data structure comprises json and xml; the data format comprises txt, csv, excel, word and pdf;
filtering and setting the acquired communication data, and judging whether the difference value of the performance data of the plurality of platforms exceeds a preset threshold value or not;
sending the successfully filtered data to each required data platform by using different protocols and different encryption types; meanwhile, the data which fails to be filtered needs to send an alarm notification to the corresponding platform.
Preferably, the data cache is specifically as follows:
configuring a retention mechanism of the acquired data, and retaining the available data according to a series of defined data retention mechanisms of the size of the acquired data, the timeliness of the data, the historical value of the data and the reference value of the data;
setting an updating mechanism or a deleting mechanism for the reserved data, reserving useful data, deleting useless data, and updating or requesting for overdue data;
only part of the retained data is valid, and the connection with the third-party platform needs to be established again for data communication; or the like, or, alternatively,
for the retained data, the existing data is returned to the response request platform without communicating with the third-party platform again, and the efficiency of the platform data is greatly improved.
Preferably, the access frequency is specifically as follows:
for each large platform for access control, limiting the frequency of each large platform for accessing a third-party platform, and uniformly setting the frequency for accessing the third-party platform; when a plurality of platforms simultaneously access the same or different interface request data, preferentially calling a third-party platform to acquire data for an interface with high frequency; the access frequency is greater than or equal to a set threshold value, and an interface needing to call a third-party platform to acquire communication data is subjected to priority level increase; otherwise, the priority is reduced;
monitoring the daily frequency, the weekly frequency, the monthly frequency and the annual frequency of the access frequency, and adjusting the control of the access frequency in real time; the platform automatically adjusts the control of the platform access frequency, improves the access priority for frequent accesses, and reduces the access priority for infrequent accesses.
Preferably, the timing detection is specifically as follows:
setting a timing detection rule for each large platform under access control, setting high-frequency detection communication detection for a platform with a high-frequency calling third-party platform interface, and setting low-frequency communication detection for a platform with a low-frequency calling third-party platform interface, so that the access stability of the third-party platform is improved; wherein, the high frequency means that the frequency is greater than or equal to a set threshold; low frequency means that the frequency is less than a set threshold;
judging whether the communication interface is normally used:
if the communication interface can not be used, sending a timing alarm, informing operation and maintenance personnel by a short message and an instant message of a mail, and simultaneously stopping the data caching of the interface required by the corresponding platform.
Preferably, the statistical query is specifically as follows:
the operation state of each accessed large platform is counted respectively, the stability of any platform is reflected, and the method has very important reference significance for adjusting and calling a third-party platform to carry out data communication;
by counting cache data required by different platforms and carrying out macroscopic evaluation on data quantity, format, frequency and practicability, different use ways are provided for different data;
by monitoring the access frequency, the real-time performance of different platforms for data access is effectively counted, and the access mechanism is effectively scheduled by the platforms;
through the alarm information, system maintenance personnel can timely know the access system for the third-party platform or each large platform, and convenience is provided for maintaining each large platform interface.
A third-party platform-based access system comprises the following specific steps:
the access module is used for controlling access to each large platform interface, establishing communication connection between the access platform and a third party platform according to a unified data structure and a communication protocol preset by the access platform, configuring access interfaces provided by each large platform, and analyzing a third party access request so as to acquire preset data sent by the third party platform;
the detection module I is used for accessing a third-party platform interface data structure through an access control definition, analyzing the acquired preset data, filtering and screening the data meeting the definition, and requesting the data meeting the condition to interface data of an internal platform or an external platform;
the cache module is used for configuring a retention mechanism of the acquired data and retaining the available data according to a series of defined data retention mechanisms of the acquired data size, the data timeliness, the data history value and the data reference value;
the access module is used for limiting the access frequency of a third-party platform interface accessed by access control, recording the access frequency of each large platform interface, properly improving the access priority for the high access frequency and properly reducing the access priority for the low access frequency platform interface; and controlling the access frequency control of any platform to access the third party platform interface day, week, month and year;
the detection module II is used for configuring a connection state and an operation state for detecting the communication between the interfaces of each large platform and a third-party platform at intervals, if any one platform interface is offline, the third-party platform to be accessed is informed that the interface state is offline, the interface to be subjected to data caching stops caching, and an offline alarm is provided for the system, so that operation and maintenance personnel can know the interface state in time conveniently, and the coordination processing with each large manufacturer can be conveniently carried out;
and the query module is used for counting the large platform interfaces establishing communication configuration with the third-party platform, controlling the access frequency and the operation state of each platform, and counting the cached data and the sent alarm quantity.
An electronic device, comprising: a memory and at least one processor;
wherein the memory stores computer-executable instructions;
the at least one processor executes the memory-stored computer-executable instructions to cause the at least one processor to perform a third party platform based access method as described above.
A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer, the third-party platform-based access method is implemented.
The access method, the system, the electronic equipment and the storage medium based on the third-party platform have the following advantages that:
the invention solves the problem of uniformly managing service call of each large platform system on the Internet, ensures uniform and standard data acquisition, establishes a third-party data access platform for uniformly managing data access of each system and a peripheral third-party system, and is used for uniformly managing service call between an in-line system and other systems on the external Internet. The network topology safety is enhanced, the uniform data acquisition standard is ensured, the data acquisition standard is used for uniformly managing an intranet system to acquire peripheral third-party system data, and the cost consumed by a third-party platform in developing, operating and maintaining various interfaces is reduced;
the invention can effectively solve the problems of data interaction, access control and safety filtration among different platforms, and data detection can be managed and configured in a unified way; meanwhile, a feasible technical scheme is provided for the fields of the Internet and computers, so that all large manufacturers are mutually butted and mutually interact data, and the operation cost is reduced for an enterprise or a certain industry;
the method can reduce the development cost consumed by a third-party platform in developing various interfaces, and the extranet platform can be called with the access server according to a preset simple interface accessed into the intranet platform, thereby being beneficial to improving the stability of the extranet platform and the extranet platform;
the invention controls the access of each large platform, standardizes and verifies the data to be accessed, filters, clarifies and inspects the data, prevents malicious data from being accessed and transmitted, and intercepts the malicious transmitted data;
after the data is subjected to safety protection, useful data is preserved and managed, the frequency of mutual calling among platforms can be reduced, the data can be used persistently, the mutual calling among the platforms can be ensured to be controlled, and otherwise, the waste of network or platform resources is easily caused;
the invention realizes the mutual communication among all the large platforms, can not guarantee the mutual communication to be free from problems all the time, and the running state among the platforms can be monitored regularly when the access platform is required to be accessed; meanwhile, the access platform itself also needs to be subjected to statistics on management, access frequency and the like of the platform on the interface, so that operation and maintenance personnel can know the access system in time conveniently.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a schematic diagram of the background art;
FIG. 2 is a schematic diagram of a third party platform based access method;
FIG. 3 is a flow diagram of access control;
FIG. 4 is a block flow diagram of data quality detection;
FIG. 5 is a block flow diagram of data caching;
FIG. 6 is a block flow diagram of access frequency;
FIG. 7 is a block flow diagram of timing detection;
FIG. 8 is a block flow diagram of a statistical query.
Detailed Description
The third-party platform-based access method, system, electronic device and storage medium according to the present invention are described in detail below with reference to the drawings and specific embodiments of the specification.
Example 1:
as shown in fig. 2, the access method based on the third party platform of the present invention is that according to the access protocol preset by the access platform, the access platform establishes communication connection with the third party platform to obtain the data sent by the third party platform, and according to the data obtained by the target terminal platform, defines, filters, checks and retains the relevant data rules, and controls the inner and outer platforms to directly establish communication, data exchange, access control and access management in a unified manner; the method comprises the following specific steps:
s1, access control: establishing access control of each large platform;
s2, detecting data quality: defining rules for accessing each large platform data;
s3, data caching: data utilization is improved by retaining data;
s4, access frequency: accelerating access and improving the priority access right;
s5, timing detection: stably detecting the running state of the system;
s6, statistical query: and monitoring the running state.
As shown in fig. 3, the access control of step S1 in this embodiment is specifically as follows:
s101, accessing each large platform, and performing data communication on a third-party platform through a formulated protocol according to a preset access protocol, so that the third-party platform can reduce the adaptive development workload of an interface mode and a data structure, and the development cost of the third-party platform is reduced; the access protocol is a protocol based on TCP based on a TCP/IP layer, and comprises a main stream protocol of http, https, sftp and pop 3;
s102, configuring third-party platform information required by a platform, and communicating a protocol, an address IP, a port number, a request head, a request body, a request message and a request encryption and decryption mode required by the third-party platform; a third-party platform is a webpage access platform or an application access platform provided by a third party, for example, with the rise of smart phones, more and more users tend to access the internet by using mobile phones, and the third-party platform can be a mobile phone application APP;
s103, each large platform is connected with a third-party platform, the third-party platform is accessed to warn to hold hands for three times, data communication is carried out after the hand shaking is successful, a communication protocol is encrypted by adopting a symmetric or asymmetric protocol, and each platform is provided with a public key and a private key maintained by the platform, so that different platforms can communicate with each other and accurate data interaction can be realized;
s104, accessing a third party platform, obtaining target data in a third party access request through a unified data structure and a communication protocol of a unified interface package, and controlling forwarding of access data according to the searched access data amount; the unified interface package supports different types and different encryption mechanisms.
As shown in fig. 4, the data quality detection in step S2 in this embodiment is as follows:
s201, setting definitions of data types, data structures and data formats which need to be accessed and correspond to different platforms and different interfaces, and setting standard operation for encryption processing and decryption processing of communication data; the data structure comprises json and xml; the data format comprises txt, csv, excel, word and pdf;
s202, filtering and setting the acquired communication data, and judging whether the difference value of the performance data of the multiple platforms exceeds a preset threshold value or not; the data has the characteristics of timeliness and real-time performance, and the filtering setting of different platform data can be conveniently and efficiently used aiming at different platform data;
s203, sending the successfully filtered data to each required data platform by using different protocols and different encryption types; meanwhile, the data which fails to be filtered needs to send an alarm notice to the corresponding platform, and the normal operation of each large platform is not influenced.
As shown in fig. 5, the data cache of step S3 in this embodiment is specifically as follows:
s301, configuring a retention mechanism of the acquired data, and retaining the available data according to a series of defined data retention mechanisms of the acquired data size, the data timeliness, the data history value and the data reference value; therefore, the mutual frequent calling among all the large platforms can be reduced, the time is saved, and the data utilization value is improved;
s302, setting an updating mechanism or a deleting mechanism for the retained data, retaining useful data, deleting useless data, and updating or requesting the expired data again, so that the timeliness utilization of the data can be improved;
s303, establishing connection with a third-party platform again to carry out data communication when only part of the reserved data is valid; or the like, or, alternatively,
for the retained data, the existing data is returned to the response request platform without communicating with the third-party platform again, and the efficiency of the platform data is greatly improved.
As shown in fig. 6, the access frequency of step S4 in this embodiment is specifically as follows:
s401, limiting the frequency of each large platform accessing a third party platform for each large platform for access control, and uniformly setting the frequency of accessing the third party platform; when a plurality of platforms simultaneously access the same or different interface request data, preferentially calling a third-party platform to acquire data for an interface with high frequency; the access frequency is greater than or equal to a set threshold value, and an interface needing to call a third-party platform to acquire communication data is subjected to priority level increase; otherwise, the priority is reduced;
s402, monitoring the daily, weekly, monthly and annual frequency of the access frequency, and adjusting the control of the access frequency in real time; the platform automatically adjusts the control of the platform access frequency, improves the access priority for frequent accesses, and reduces the access priority for infrequent accesses. By presetting the access frequency, the operating efficiency of the system for accessing the third-party interface can be effectively improved.
As shown in fig. 7, the timing detection in step S5 in this embodiment is specifically as follows:
s501, setting a timing detection rule for each large platform under access control, setting high-frequency detection communication detection for a platform with a high-frequency calling third-party platform interface, and setting low-frequency communication detection for a platform with a low-frequency calling third-party platform interface, so that the access stability of the third-party platform is improved; wherein, the high frequency means that the frequency is greater than or equal to a set threshold; low frequency means that the frequency is less than a set threshold;
s502, judging whether the communication interface is normally used:
if the communication interface can not be used, sending a timing alarm, informing operation and maintenance personnel by a short message and an instant message of a mail, and simultaneously stopping the data caching of the interface required by the corresponding platform.
As shown in fig. 8, the statistical query in step S6 in this embodiment is as follows:
s601, respectively counting the running states of the accessed large platforms, reflecting the stability of any platform and having very important reference significance for adjusting and calling a third-party platform to carry out data communication;
s602, counting cache data needed by different platforms, and carrying out macroscopic evaluation on data quantity, format, frequency and practicability, wherein different use ways are provided for different data;
s603, by monitoring the access frequency, the real-time performance of different platforms on data access is effectively counted, and the platform effectively schedules an access mechanism, so that the method has important index significance on how to improve the data acquisition;
s604, through the alarm information, system maintenance personnel can timely know the access system for the third-party platform or each large platform, convenience is provided for maintaining each large platform interface, the problems of data communication can be rapidly solved, and the data acquisition efficiency of different platforms is improved.
Example 2:
the invention discloses an access system based on a third-party platform, which comprises the following specific steps:
the access module is used for controlling access to each large platform interface, establishing communication connection between the access platform and a third party platform according to a unified data structure and a communication protocol preset by the access platform, configuring access interfaces provided by each large platform, and analyzing a third party access request so as to acquire preset data sent by the third party platform;
the detection module I is used for accessing a third-party platform interface data structure through an access control definition, analyzing the acquired preset data, filtering and screening the data meeting the definition, and requesting the data meeting the condition to interface data of an internal platform or an external platform;
the cache module is used for configuring a retention mechanism of the acquired data and retaining the available data according to a series of defined data retention mechanisms of the acquired data size, the data timeliness, the data history value and the data reference value; the method specifically comprises the following steps: some data have effectiveness in the received third-party platform data, for example, historical data of some industries have reference values, and the data can be stored in the access system, so that the data of the external manufacturer interface is not required to be requested next time. If a certain platform needs to access the data, the data can be directly acquired from the access system without calling a third-party platform interface. The cached data can also be set with timeliness, and how long the local data is reacquired or refreshed is set according to timeliness and is used by the intranet platform, so that the system stability and the data instantaneity of calling each large peripheral interface by the intranet platform are improved.
The access module is used for limiting the access frequency of a third-party platform interface accessed by access control, recording the access frequency of each large platform interface, properly improving the access priority for the high access frequency and properly reducing the access priority for the low access frequency platform interface; the access frequency control of any platform to access the third party platform interface day, week, month and year is controlled, the access frequency is improved when a certain platform is frequently used, the access frequency is reduced when the platform is not used, and the internal utilization rate of the system is reasonably improved;
the detection module II is used for configuring a connection state and an operation state for detecting the communication between the interfaces of each large platform and a third-party platform at intervals, if any one platform interface is offline, the third-party platform to be accessed is informed that the interface state is offline, the interface to be subjected to data caching stops caching, and an offline alarm is provided for the system, so that operation and maintenance personnel can know the interface state in time conveniently, and the coordination processing with each large manufacturer can be conveniently carried out;
and the query module is used for counting the large platform interfaces establishing communication configuration with the third-party platform, controlling the access frequency and the operation state of each platform, counting the cached data and the sent alarm quantity, facilitating operation and maintenance personnel to know the access system in time and providing convenience for maintaining the large platform interfaces.
Example 3:
an embodiment of the present invention further provides an electronic device, including: a memory and a processor;
wherein the memory stores computer-executable instructions;
a processor executes computer-executable instructions stored in the memory to cause the processor to perform any third party platform based access method of the present invention.
Example 4:
the embodiment of the invention also provides a computer-readable storage medium, wherein a plurality of instructions are stored, and the instructions are loaded by the processor, so that the processor executes the third-party platform-based access method in any embodiment of the invention. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A is based on the access method of the third party platform, characterized by that, the said method is according to the preset access protocol of the access platform, enter the platform and establish the communication connection with the third party platform, obtain the data that the third party platform sends, according to the data that the target terminal platform obtains, define, filter, check and keep the relevant data rule, and control the inner and outer platforms to set up communication, data exchange, access control and unify and carry on the access management each other directly; the method comprises the following specific steps:
and (3) access control: establishing access control of each large platform;
and (3) data quality detection: defining rules for accessing each large platform data;
data caching: data utilization is improved by retaining data;
access frequency: accelerating access and improving the priority access right;
timing detection: stably detecting the running state of the system;
and (3) statistical query: and monitoring the running state.
2. The third-party platform-based access method according to claim 1, wherein the access control is specifically as follows:
accessing each large platform, and performing data communication by a third-party platform through a formulated protocol according to a preset access protocol; the access protocol is a protocol based on TCP based on a TCP/IP layer, and comprises a main stream protocol of http, https, sftp and pop 3;
configuring third party platform information required by a platform, and communicating a protocol, an address IP, a port number, a request head, a request body, a request message and a request encryption and decryption mode required by the third party platform; the third-party platform provides a webpage access platform or an application program access platform for a third party;
each large platform is connected with a third-party platform, the third-party platform is required to be alerted to hold hands for three times when access is made, data communication is carried out after the hand shaking is successful, a communication protocol is encrypted by adopting a symmetric or asymmetric protocol, and each platform is provided with a public key and a private key maintained by the platform, so that different platforms can communicate with each other and accurate data interaction can be realized;
obtaining target data in a third party access request through accessing a third party platform and through a unified data structure and a communication protocol of a unified interface package, and controlling forwarding of the access data according to the searched access data amount; the unified interface package supports different types and different encryption mechanisms.
3. The third-party platform-based access method according to claim 1, wherein the data quality detection is specifically as follows:
setting definitions of data types, data structures and data formats which need to be accessed and correspond to different platforms and different interfaces, and setting standard operation for encryption processing and decryption processing of communication data; the data structure comprises json and xml; the data format comprises txt, csv, excel, word and pdf;
filtering and setting the acquired communication data, and judging whether the difference value of the performance data of the plurality of platforms exceeds a preset threshold value or not;
sending the successfully filtered data to each required data platform by using different protocols and different encryption types; meanwhile, the data which fails to be filtered needs to send an alarm notification to the corresponding platform.
4. The third-party platform-based access method according to claim 1, wherein the data cache is specifically as follows:
configuring a retention mechanism of the acquired data, and retaining the available data according to a series of defined data retention mechanisms of the size of the acquired data, the timeliness of the data, the historical value of the data and the reference value of the data;
setting an updating mechanism or a deleting mechanism for the reserved data, reserving useful data, deleting useless data, and updating or requesting for overdue data;
only part of the retained data is valid, and the connection with the third-party platform needs to be established again for data communication; or the like, or, alternatively,
and returning the existing data to the response request platform without communicating with the third-party platform again for the reserved data.
5. The third-party platform-based access method according to claim 1, wherein the access frequency is as follows:
for each large platform for access control, limiting the frequency of each large platform for accessing a third-party platform, and uniformly setting the frequency for accessing the third-party platform; when a plurality of platforms simultaneously access the same or different interface request data, preferentially calling a third-party platform to acquire data for an interface with high frequency; the access frequency is greater than or equal to a set threshold value, and an interface needing to call a third-party platform to acquire communication data is subjected to priority level increase; otherwise, the priority is reduced;
monitoring the daily frequency, the weekly frequency, the monthly frequency and the annual frequency of the access frequency, and adjusting the control of the access frequency in real time; the platform automatically adjusts the control of the platform access frequency, improves the access priority for frequent accesses, and reduces the access priority for infrequent accesses.
6. The third-party platform-based access method according to claim 1, wherein the timing detection specifically comprises:
setting a timing detection rule for each large platform under access control, setting high-frequency detection communication detection for a platform with a high-frequency calling third-party platform interface, and setting low-frequency communication detection for a platform with a low-frequency calling third-party platform interface, so that the access stability of the third-party platform is improved; wherein, the high frequency means that the frequency is greater than or equal to a set threshold; low frequency means that the frequency is less than a set threshold;
judging whether the communication interface is normally used:
if the communication interface can not be used, sending a timing alarm, informing operation and maintenance personnel by a short message and an instant message of a mail, and simultaneously stopping the data caching of the interface required by the corresponding platform.
7. The third-party platform based access method according to any one of claims 1-6, wherein the statistical query is specifically as follows:
the slave large platforms are respectively used for counting the running state, reflecting the stability of any platform and having reference significance for adjusting and calling a third-party platform to carry out data communication;
by counting cache data required by different platforms and carrying out macroscopic evaluation on data quantity, format, frequency and practicability, different use ways are provided for different data;
by monitoring the access frequency, the real-time performance of different platforms for data access is effectively counted, and the access mechanism is effectively scheduled by the platforms;
through the alarm information, system maintenance personnel can timely know the access system for the third-party platform or each large platform, and convenience is provided for maintaining each large platform interface.
8. A third-party platform-based access system is characterized by comprising the following specific components:
the access module is used for controlling access to each large platform interface, establishing communication connection between the access platform and a third party platform according to a unified data structure and a communication protocol preset by the access platform, configuring access interfaces provided by each large platform, and analyzing a third party access request so as to acquire preset data sent by the third party platform;
the detection module I is used for accessing a third-party platform interface data structure through an access control definition, analyzing the acquired preset data, filtering and screening the data meeting the definition, and requesting the data meeting the condition to interface data of an internal platform or an external platform;
the cache module is used for configuring a retention mechanism of the acquired data and retaining the available data according to a series of defined data retention mechanisms of the acquired data size, the data timeliness, the data history value and the data reference value;
the access module is used for limiting the access frequency of a third-party platform interface accessed by access control, recording the access frequency of each large platform interface, properly improving the access priority for the high access frequency and properly reducing the access priority for the low access frequency platform interface; and controlling the access frequency control of any platform to access the third party platform interface day, week, month and year;
the second detection module is used for configuring a connection state and a running state for detecting the communication between the interfaces of each large platform and the third party platform at intervals, if any one platform interface is offline, informing the third party platform to be accessed that the interface state is offline, stopping caching the data for the interface to be cached, and providing an offline alarm for the system;
and the query module is used for counting the large platform interfaces establishing communication configuration with the third-party platform, controlling the access frequency and the operation state of each platform, and counting the cached data and the sent alarm quantity.
9. An electronic device, comprising: a memory and at least one processor;
wherein the memory stores computer-executable instructions;
the at least one processor executing the memory-stored computer-executable instructions to cause the at least one processor to perform the third party platform based access method of any of claims 1 to 7.
10. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor implement the third party platform based access method according to any one of claims 1 to 7.
CN202111111832.7A 2021-09-23 2021-09-23 Third-party platform based access method, system, electronic equipment and storage medium Pending CN113938515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111111832.7A CN113938515A (en) 2021-09-23 2021-09-23 Third-party platform based access method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111111832.7A CN113938515A (en) 2021-09-23 2021-09-23 Third-party platform based access method, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113938515A true CN113938515A (en) 2022-01-14

Family

ID=79276462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111111832.7A Pending CN113938515A (en) 2021-09-23 2021-09-23 Third-party platform based access method, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113938515A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599980A (en) * 2007-07-25 2009-12-09 中国移动通信集团福建有限公司 Palm assistant system device for customer manager
WO2014176991A1 (en) * 2013-11-27 2014-11-06 中兴通讯股份有限公司 Multimedia service processing apparatus, method and system
CN106647560A (en) * 2016-11-23 2017-05-10 中国南方电网有限责任公司 Mobile application unified management method
CN108023921A (en) * 2016-11-03 2018-05-11 平安科技(深圳)有限公司 The cut-in method and device of a kind of third-party platform
WO2018209554A1 (en) * 2017-05-16 2018-11-22 深圳中兴力维技术有限公司 Apparatus for accessing third-party platform protocol
CN110674420A (en) * 2019-08-28 2020-01-10 紫光云(南京)数字技术有限公司 Method for displaying items by map
CN111202980A (en) * 2019-12-31 2020-05-29 咪咕互动娱乐有限公司 Information transmission method, streaming media cloud platform and computer readable storage medium
CN111343159A (en) * 2020-02-12 2020-06-26 杭州涂鸦信息技术有限公司 Protocol adaptation method and system, storage medium and computer equipment
CN112039969A (en) * 2020-08-26 2020-12-04 浪潮云信息技术股份公司 AWS 3 URL uploading method based on Redis distributed lock development
CN112995939A (en) * 2021-02-05 2021-06-18 浙江工贸职业技术学院 Wireless sensor network transmission and cloud service access control system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599980A (en) * 2007-07-25 2009-12-09 中国移动通信集团福建有限公司 Palm assistant system device for customer manager
WO2014176991A1 (en) * 2013-11-27 2014-11-06 中兴通讯股份有限公司 Multimedia service processing apparatus, method and system
CN108023921A (en) * 2016-11-03 2018-05-11 平安科技(深圳)有限公司 The cut-in method and device of a kind of third-party platform
CN106647560A (en) * 2016-11-23 2017-05-10 中国南方电网有限责任公司 Mobile application unified management method
WO2018209554A1 (en) * 2017-05-16 2018-11-22 深圳中兴力维技术有限公司 Apparatus for accessing third-party platform protocol
CN110674420A (en) * 2019-08-28 2020-01-10 紫光云(南京)数字技术有限公司 Method for displaying items by map
CN111202980A (en) * 2019-12-31 2020-05-29 咪咕互动娱乐有限公司 Information transmission method, streaming media cloud platform and computer readable storage medium
CN111343159A (en) * 2020-02-12 2020-06-26 杭州涂鸦信息技术有限公司 Protocol adaptation method and system, storage medium and computer equipment
CN112039969A (en) * 2020-08-26 2020-12-04 浪潮云信息技术股份公司 AWS 3 URL uploading method based on Redis distributed lock development
CN112995939A (en) * 2021-02-05 2021-06-18 浙江工贸职业技术学院 Wireless sensor network transmission and cloud service access control system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冯光: "面向手机应用的推荐系统的设计与实现", 《硕士电子期刊2015年第04期》 *
谢得麟, 严跃宁, 林亚忠: "基于微服务架构的医院统一接入平台设计与应用", 中国医疗设备, vol. 36, no. 02, pages 89 - 91 *

Similar Documents

Publication Publication Date Title
US11689899B2 (en) System and method for triggering on platform usage
US20220300354A1 (en) System and method for tagging and tracking events of an application
US10057296B2 (en) Detecting and managing abnormal data behavior
JP3886362B2 (en) Content filtering method, content filtering apparatus, and content filtering program
CN102090019B (en) Automatically distributed network protection
US9473413B1 (en) Dynamic throttle of network traffic
US10148698B2 (en) Selective enforcement of event record purging in a high volume log system
US20080183603A1 (en) Policy enforcement over heterogeneous assets
CN110830548B (en) Internet of things card operation platform, data updating method and device and storage medium
CN110554927A (en) Micro-service calling method based on block chain
US20120215873A1 (en) Failure-controlled message publication and feedback in a publish/subscribe messaging environment
CN110457612B (en) Terminal page access method and system
US10673905B1 (en) Service-level authorization policy management
US10616281B1 (en) Service-level authorization policy management
CN113938515A (en) Third-party platform based access method, system, electronic equipment and storage medium
US11720507B2 (en) Event-level granular control in an event bus using event-level policies
EA042229B1 (en) SYSTEMS AND METHODS FOR DETECTING AND REGISTRATION OF DEVICES
CN117932576A (en) Control method and device based on function permission and data permission
CN117579473A (en) Automatic management method and device for internet of things card, computer equipment and storage medium
CN116932077A (en) Event processing method, device and storage medium
CN114760636A (en) Dynamic spectrum sharing method based on Ether house block chain
CN114363023A (en) Method and system for implementing Web safety protection system and adjusting and optimizing strategy
JP2003273933A (en) System and method for distributing mail

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