Multi-protocol data integration control method, device, system, and storage medium
Through the multi-protocol data integration control method and device, the compatibility problem of data transmission between different protocols is solved, the safe and effective transmission and efficient integration of data are realized, and it is suitable for data exchange between various systems.
Patent Information
- Application Number
- CN202410850473.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-28
AI Technical Summary
Different departments and enterprises use different communication protocols, resulting in the inability to interact directly during data transmission, and it is difficult to achieve security and efficiency solutions during the data transmission process.
Provide multi-protocol data integration control methods and devices, receive data from multiple third-party interfaces through the target interface, determine the data conversion protocol of each third-party interface, and convert the data based on the protocol to ensure data consistency between different systems. Safe and efficient transmission.
It achieves safe and effective transmission of data between multiple protocols, improves data transmission efficiency and flexibility, simplifies the data integration process, reduces the need for programming knowledge, and is suitable for data exchange between different systems.
Smart Images

Figure CN118410093B
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the technical field of data conversion, and more specifically, to a multi-protocol data integration control method and device, system, and storage medium. Background Art
[0002] With the rapid development of information technology, data interaction between various departments and enterprises is becoming more and more frequent. However, the problem of different departments and enterprises using different communication protocols and being unable to directly transmit data has also arisen. How to simultaneously meet the data transmission needs between multiple different protocols and achieve a complete and secure data transmission process has become an urgent problem to be solved. Therefore, a multi-protocol data integration solution is needed to solve the above problems. Summary of the invention
[0003] The purpose of the present disclosure is to provide a multi-protocol data integration control method and device, system, and storage medium to achieve a secure and efficient data transmission process between multiple protocols.
[0004] A first aspect of an embodiment of the present disclosure provides a multi-protocol data integration control method, including:
[0005] Receiving target data from multiple third-party interfaces based on a target interface; the target interface is an interface for performing protocol conversion; the multiple third-party interfaces are interfaces that need to perform data interaction with the target interface;
[0006] Determine the data conversion protocol corresponding to each third-party interface;
[0007] The target data corresponding to each third-party interface is converted based on the data conversion protocol corresponding to each third-party interface, so as to convert the target data of each third-party interface into data in a target format.
[0008] A second aspect of the embodiments of the present disclosure provides a multi-protocol data integration control device, including:
[0009] A data receiving module, used for receiving target data from multiple third-party interfaces based on a target interface; the target interface is an interface for performing protocol conversion; the multiple third-party interfaces are interfaces that need to perform data interaction with the target interface;
[0010] A protocol determination module, used to determine the data conversion protocol corresponding to each third-party interface;
[0011] The data conversion module is used to perform data conversion on the target data corresponding to each third-party interface based on the data conversion protocol corresponding to each third-party interface, so as to convert the target data of each third-party interface into data in a target format.
[0012] According to a third aspect of an embodiment of the present disclosure, a multi-protocol data integration control system is provided, comprising: an electronic device, wherein the electronic device comprises a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the above-mentioned multi-protocol data integration control method when executing the computer program.
[0013] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the multi-protocol data integration control method are implemented.
[0014] The multi-protocol data integration control method, device, system, and storage medium provided by the embodiments of the present disclosure have the following beneficial effects:
[0015] First, the disclosed embodiment can uniformly convert target data from multiple third-party interfaces through the target interface, so that the platform applying the method can be integrated with various data sources and systems. Compared with the pure code development method, the method can improve the data transmission efficiency to meet the various needs of data transmission between different systems and improve the response speed and transmission flexibility.
[0016] Second, the disclosed embodiments can obtain data in a unified target format by safely and effectively converting and transmitting target data in a variety of different formats. This not only makes it convenient for business personnel to independently perform data conversion and build applications without the need for in-depth understanding of complex programming knowledge, but also improves data transmission efficiency and security. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A flowchart of a multi-protocol data integration control method provided by an embodiment of the present disclosure;
[0019] Figure 2 A data exchange flow chart provided for an embodiment of the present disclosure;
[0020] Figure 3 A data conversion flow chart provided for an embodiment of the present disclosure;
[0021] Figure 4 A structural block diagram of a multi-protocol data integration control device provided in an embodiment of the present disclosure;
[0022] Figure 5 A schematic block diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it should be clear to those skilled in the art that the present disclosure may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present disclosure with unnecessary details.
[0024] In order to make the purpose, technical solutions and advantages of the present disclosure more clear, specific embodiments will be described below in conjunction with the accompanying drawings.
[0025] Reference Figure 1 , Figure 1 A flow chart of a multi-protocol data integration control method provided in an embodiment of the present disclosure, the method comprising:
[0026] S101: receiving target data from multiple third-party interfaces based on a target interface. The target interface is an interface for performing protocol conversion. The multiple third-party interfaces are interfaces that need to perform data interaction with the target interface.
[0027] In this embodiment, the target interface is a specific interface whose main function is to perform protocol conversion on the received data. The target interface is the central point of data interaction. It is responsible for receiving data from different third-party interfaces and converting these data into a unified format or protocol for subsequent processing or transmission to other systems. The target interface needs to be highly flexible and scalable to cope with the differences in data formats and protocols of different third-party interfaces.
[0028] Multiple third-party interfaces refer to interfaces that need to interact with the target interface for data. They usually belong to different systems or service providers. Since each third-party interface may come from a different supplier or development team, the data formats and communication protocols they use may be quite different.
[0029] Multiple third-party interfaces can transmit data with the target interface through a communication mechanism, such as HTTP, RESTful API, SOAP, WebSocket, etc. Since the data formats and protocols of various third-party interfaces may be different, the target interface needs to perform protocol conversion to ensure data consistency and readability. Protocol conversion can be achieved through programming, using various programming languages and technology stacks to write conversion logic, such as Java, Python, Node.js, etc. Specific conversion strategies may include field mapping, data cleaning, format conversion, etc. In the programming process, it is necessary to fully consider the compatibility between different interfaces, data security, performance optimization and other issues.
[0030] In this embodiment, the target interface can serve as the central point of data interaction, responsible for receiving data from different third-party interfaces and performing necessary conversion processing. In practical applications, the target interface can be encapsulated as an integral system, thereby achieving zero-code configuration. Therefore, this embodiment can support multiple protocols (such as the Internet, the Internet of Things, industrial communication protocols, etc.), provide intuitive low-code tools and powerful data conversion capabilities, simplify the data exchange process, improve the manageability and flexibility of data integration, and enable users to easily respond to different data sources and business needs, and achieve efficient and secure data integration. This design can ensure the accuracy, consistency and security of data transmission.
[0031] S102: Determine the data conversion protocol corresponding to each third-party interface.
[0032] In this embodiment, the data format, data structure and communication protocol transmitted by each third-party interface are often different. For example, the transmission protocols that may be included in multiple third-party interfaces may include: HTTP protocol, TCP protocol, FTP protocol, SOAP protocol, JDBC protocol, WEBSOCKET protocol, etc. Therefore, when the target interface integrates the data transmitted by these interfaces, it is necessary to have an in-depth understanding of the data characteristics of each interface to determine the data conversion protocol corresponding to each third-party interface. According to the data conversion protocol corresponding to each third-party interface, the target data transmitted by it is converted into a corresponding unified format to realize a unified transmission process of target data from different platforms.
[0033] The data conversion protocol refers to the rules or standards followed when converting raw data from one format or structure to another format or structure. These rules may include field mapping (mapping source fields to target fields), data type conversion (such as converting strings to integers), data cleaning (removing invalid or redundant data), data splitting or merging, and other processes.
[0034] In order to ensure that all target data transmitted through the target interface follows a unified format and structure when it reaches the target system, the data conversion protocol can be determined by the following steps:
[0035] It is necessary to clarify the data requirements of the target system, including the required data fields, data types, data formats, etc. Understand the data output format, data structure, communication protocol and other information of each third-party interface. Based on the data requirements of the target system and the characteristics of the third-party interface, select the appropriate data conversion protocol. This process is crucial for subsequent data processing, analysis and storage.
[0036] In summary, determining the data conversion protocol corresponding to each third-party interface is one of the key steps in system integration or middleware design. Through a clear data conversion protocol, the accuracy, consistency and security of the data can be ensured, and the operating efficiency and reliability of the entire system can be improved.
[0037] S103: performing data conversion on the target data corresponding to each third-party interface based on the data conversion protocol corresponding to each third-party interface, so as to convert the target data of each third-party interface into data in a target format.
[0038] In this embodiment, when integrating data into the same system or platform, it is necessary to convert the target data corresponding to each third-party interface according to the data conversion protocol. The data conversion process ensures the uniformity, consistency and processability of the data, so that target data from different sources can be effectively transmitted and used in the same system.
[0039] The data conversion protocol defines the mapping and conversion rules from the source data format to the target data format. It can clarify how to identify the fields in the source data, how to map these fields to the target data structure, and how to handle data type mismatches or missing data. The data conversion protocol is the basis and guide for the data conversion process.
[0040] The process of data conversion can be described as follows: first determine which third-party interface data is being processed, and find the data conversion protocol corresponding to the interface. According to the data conversion protocol, the target data is converted into data that conforms to the target format for storage and transmission. Among them, the data in the target format is the final result of the data conversion, which meets the data requirements of the target system or platform, including data structure, data type, data format, etc. The target interface can convert the target data into data in a unified target format that can be directly used by the target system or platform without further processing.
[0041] During the data conversion process, it is necessary to ensure the integrity and accuracy of the data to avoid data loss or errors. Therefore, data encryption transmission, access control and other means can be used to ensure that the data is transmitted safely and effectively.
[0042] From the above, it can be concluded that this embodiment can realize a unified conversion and transmission process of target data from different third-party interfaces through a clear data conversion protocol and precise data conversion operations, ensure the consistency, security and flexibility of the data transmission process, and provide strong support for subsequent data analysis and application.
[0043] In one embodiment of the present disclosure, after converting the target data of each third-party interface into data in a target format, the control method further includes:
[0044] In response to receiving a first request sent by the first platform, first data is determined from the converted data in the target format based on request information of the first request, and the first data is sent to the first platform.
[0045] In this embodiment, a typical request-response mode is described, wherein the first platform is the target platform that needs to transmit data after the target interface converts the format of the target data. The first platform can issue a request (i.e., the first request), wherein the first request can include some request information, and the request information may include a data identifier, a query condition, a data range, etc., which is essential for determining the first data to be sent. The data format and content required by the first platform can be determined based on the request information of the first request.
[0046] For example, the first platform may be a public security registration platform, and the request information of the first request may be basic information of residents. When the request information of the first request is received, data about the basic information of residents, that is, the first data, may be extracted from the converted data conforming to the target format, and the first data may be sent to the first platform.
[0047] Once the first data is determined, the first data can be sent to the first platform. The sending method may include, for example, API call, HTTP response, file transfer, etc., depending on the data receiving method of the first platform and the technology stack of the system. During the data transmission process, the security of the data needs to be ensured, so the HTTPS protocol can be used for encrypted transmission, request source verification, etc. to ensure the security of data transmission.
[0048] It can be concluded from the above that this embodiment can accurately process request information, extract data from the converted data, and securely send the data to the first platform, thereby achieving efficient and accurate data sharing and exchange.
[0049] Figure 2 For the data exchange process provided in the embodiment of the present disclosure, refer to Figure 2 In one embodiment of the present disclosure, determining first data from converted data in a target format based on request information of a first request includes:
[0050] An identity of the first platform is determined based on the request information of the first request.
[0051] The first data is determined from the converted data in the target format based on the identity identifier.
[0052] In this embodiment, when the first platform issues the first request, the identity of the first platform can be determined by first parsing the request information in the first request, wherein the request information of the first request may include, for example, various parameters, header fields, authentication tokens, and other information, which together constitute the request information.
[0053] In the process of parsing the request information, special attention may be paid to information related to the platform identity to determine the identity of the first platform. The identity may be a unique identifier, such as an API key, user ID, token, or other form of authentication information. This identity may be used to identify whether the first platform that needs to perform data transfer is the correct requesting party.
[0054] Once the identity of the first platform is determined, the identity can be used to find and extract the first data related to the first platform from the converted target format data. This process may involve querying in a database, searching in a data structure in memory, or performing other forms of data retrieval operations. The specific data extraction logic may vary depending on the application scenario, but the core idea is to accurately locate and obtain the required first data based on the identity.
[0055] For example, the first platform may be an application platform corresponding to a bank, and the request information of the first request may be: "deposit information", and its corresponding identity identifier may be a first key. Based on the first key, deposit data matching the first key, i.e., the first data, is extracted from the target data, and the first data is sent to the first platform.
[0056] Security is an important consideration in the process of processing requests and extracting data. Ensuring the confidentiality, integrity, and authenticity of the requested information is key to preventing unauthorized access and data leakage. In addition, since different first platforms may have different data access permissions, the validity of the identity can also be verified before extracting the first data, and whether the requested data can be accessed based on the access control policy.
[0057] It can be concluded from the above that this embodiment can accurately parse the request information of the first request, verify the identity and efficiently extract the first data, thereby providing the first platform with the required first data to achieve safe, reliable and efficient data sharing and exchange.
[0058] Reference Figure 2In one embodiment of the present disclosure, sending the first data to the first platform includes:
[0059] A security level of the first platform is determined based on the request information of the first request.
[0060] In response to the security level being less than the first level, the first data is sent to the first platform.
[0061] In response to the security level being greater than or equal to the first level, encrypting the first data based on the security level, and sending the encrypted first data to the first platform.
[0062] In this embodiment, the security level of the first platform can be determined according to the request information of the first request. This security level can be a numerical value, representing the security capability, authentication level or encryption requirement of the first platform. For example, the platform security level corresponding to different request information can be found according to a preset mapping relationship table, and the first platform can be found in the preset mapping relationship table according to the request information of the first platform, so as to determine its security level.
[0063] If the security level of the first platform is lower than the first level (the first level may be a preset threshold value, indicating a sufficiently high security standard), it can be considered that the security of the first platform is sufficient, and there is no need to encrypt the first data for transmission. The first data is directly sent to the first platform without any encryption processing.
[0064] If the security level of the first platform is greater than or equal to the first level, it can be considered that the security of the first platform is insufficient, and the first data needs to be encrypted for transmission to ensure the security of the data during transmission. The specific encryption transmission method can select the corresponding encryption algorithm and parameters according to the security level, encrypt the first data and send the encrypted data to the first platform.
[0065] It can be concluded from the above that this embodiment can flexibly decide whether to encrypt data according to the security level of the first platform, which can not only ensure the security of the data, but also reduce unnecessary encryption overhead. Different processing strategies can be adopted for first platforms with different security levels to make data transmission more efficient and secure.
[0066] In one embodiment of the present disclosure, before receiving target data from multiple third-party interfaces based on the target interface, the method further includes:
[0067] The confidentiality level of each third-party interface is determined based on the interface identifier corresponding to each third-party interface.
[0068] Accordingly, after receiving target data from multiple third-party interfaces based on the target interface, the control method further includes:
[0069] Based on the confidentiality level of each third-party interface, feature extraction is performed on the target data corresponding to each third-party interface.
[0070] In this embodiment, before receiving target data from multiple third-party interfaces, the confidentiality levels of these third-party interfaces can be determined based on the interface identifiers corresponding to each third-party interface. The interface identifier can be a unique string, number or other identifier for distinguishing different third-party interfaces. The confidentiality level can include different levels, such as "high", "medium", "low", etc., or a specific numerical range to indicate the security and sensitivity of the data.
[0071] After the confidentiality level is determined, target data from multiple third-party interfaces can be received through the target interface. After receiving the target data, the system will perform feature extraction on the target data of the corresponding interface according to the confidentiality level of each third-party interface previously determined. Feature extraction is the process of extracting key information or patterns from data for subsequent data analysis, processing or storage. Since data of different confidentiality levels may require different processing methods, feature extraction based on confidentiality level can ensure the security and accuracy of the data.
[0072] For example, the target data corresponding to a third-party interface with a higher confidentiality level may require more complex encryption and desensitization processing, while the data corresponding to a third-party interface with a lower confidentiality level may only require simple data cleaning and conversion.
[0073] By determining confidentiality levels and performing feature extraction based on confidentiality levels, target data can be managed more effectively to ensure data security and compliance.
[0074] It can be concluded from the above that this embodiment can perform feature extraction on target data based on the confidentiality level of the third-party interface during data reception and processing, aiming to improve the security and efficiency of data management.
[0075] Reference Figure 2 In one embodiment of the present disclosure, feature extraction is performed on target data corresponding to each third-party interface based on the confidentiality level of each third-party interface, including:
[0076] For each third-party interface:
[0077] In response to the confidentiality level of the third-party interface being lower than the second level, data extraction is performed on the target data received by the third-party interface according to the first extraction rule.
[0078] In response to the confidentiality level of the third-party interface being greater than or equal to the second level, data extraction is performed on the target data received by the third-party interface according to the second extraction rule.
[0079] The first extraction rule is different from the second extraction rule.
[0080] In this embodiment, the data extraction rules to be used can be determined according to the confidentiality level of each third-party interface. The specific data extraction process can be described in detail as follows:
[0081] When the confidentiality level of the third-party interface is lower than the second level, the first extraction rule can be used to extract the target data received by the interface. The second level is a preset level, and the first extraction rule can be a relatively loose or basic data extraction method because it is applied to the third-party interface with a lower confidentiality level. For example, the first extraction rule can be to extract data from all target data under the third-party interface.
[0082] When the confidentiality level of the third-party interface is greater than or equal to the second level, the second extraction rule can be used to extract data. Since the confidentiality level of the third-party interface is higher at this time, the second extraction rule may be more stringent and complex. For example, the second extraction rule may be to extract key data from the target data under the third-party interface, and only need to extract part of the target data that needs to be transmitted, and no longer extract data for other confidential data.
[0083] The different designs of the first extraction rule and the second extraction rule can ensure that target data with a high confidentiality level is protected at a higher level, while data with a low confidentiality level can be processed more quickly and efficiently. This data extraction method based on confidentiality level is suitable for scenarios where third-party interface data from different security and sensitivity levels needs to be processed. For example, in industries such as banking, public security, and government affairs, the confidentiality and security of data are of paramount importance, so the second extraction rule can be used to extract data from them to ensure that the data is properly processed and protected. For example, in industries such as the Ministry of Housing and Urban-Rural Development, the Civil Affairs Bureau, and the Social Security Bureau, the confidentiality and security of data are relatively low, so the first extraction rule can be used to extract data from them to speed up data transmission.
[0084] It can be concluded from the above that this embodiment can provide a flexible and secure process for target data feature extraction based on the confidentiality level of the third-party interface, and is suitable for scenarios that require processing data sources from different security and sensitivity levels.
[0085] In one embodiment of the present disclosure, determining the data conversion protocol corresponding to each third-party interface includes:
[0086] A data conversion protocol corresponding to each third-party interface is generated based on the protocol parameters corresponding to the third-party interface.
[0087] In this embodiment, the data conversion protocol generally defines how data is converted from one format or structure to another format or structure to ensure that data can be correctly transmitted and processed between different systems or applications. The determination of the data conversion protocol is not arbitrary, but is based on the specific protocol parameters of each third-party interface. These protocol parameters may include data format, encoding method, field name, field type, transmission method (such as HTTP, HTTPS, FTP, etc.), authentication method (such as API key, OAuth, etc.), etc. Based on these protocol parameters, a data conversion protocol for the third-party interface can be generated. This protocol will detail how to convert the original data into a format and structure that meets the requirements of the target interface so as to successfully communicate and exchange data with the target interface.
[0088] Figure 3 The data conversion flow chart provided in the embodiment of the present disclosure is shown in FIG. Figure 3 In actual applications, the data conversion process may involve multiple processing nodes, such as entry nodes, data processing nodes, data encryption nodes, conditional branch nodes, loop nodes, multi-protocol link nodes, and response nodes. First, the entry node can collect and analyze the target data from the third-party interface to understand its specific protocol parameters. Secondly, the target data can be converted into a protocol through data processing nodes, data encryption nodes, conditional branch nodes, loop nodes, etc., and the conversion process can be looped according to the actual application process. The network protocol is configured through the multi-protocol link node, for example, including the network address and the network protocol related data packet structure. Finally, the data conversion protocol is returned to the HTTP response for unified conversion. Since different third-party interfaces may have different protocol parameters and requirements, a data conversion protocol can be generated separately for each interface.
[0089] It can be concluded from the above that this embodiment can generate a process of a data conversion protocol based on the third-party interface protocol parameters, which is a key step to ensure smooth communication and data exchange between the target interface and the third-party interface.
[0090] A multi-protocol data integration control method corresponding to the above embodiment, Figure 4 The structure block diagram of the multi-protocol data integration control device provided by the embodiment of the present disclosure. For the convenience of explanation, only the part related to the embodiment of the present disclosure is shown. Figure 4 The multi-protocol data integration control device 20 includes: a data receiving module 21, a protocol determination module 22 and a data conversion module 23.
[0091] The data receiving module 21 is used to receive target data from multiple third-party interfaces based on the target interface. The target interface is an interface for performing protocol conversion. The multiple third-party interfaces are interfaces that need to perform data interaction with the target interface.
[0092] The protocol determination module 22 is used to determine the data conversion protocol corresponding to each third-party interface.
[0093] The data conversion module 23 is used to perform data conversion on the target data corresponding to each third-party interface based on the data conversion protocol corresponding to each third-party interface, so as to convert the target data of each third-party interface into data in a target format.
[0094] In one embodiment of the present disclosure, the data conversion module 23 is further used to:
[0095] After converting the target data of each third-party interface into data in a target format, in response to receiving a first request issued by the first platform, first data is determined from the converted data in the target format based on request information of the first request, and the first data is sent to the first platform.
[0096] In one embodiment of the present disclosure, the data conversion module 23 is specifically used to:
[0097] An identity of the first platform is determined based on the request information of the first request.
[0098] The first data is determined from the converted data in the target format based on the identity identifier.
[0099] In one embodiment of the present disclosure, the data conversion module 23 is specifically used to:
[0100] A security level of the first platform is determined based on the request information of the first request.
[0101] In response to the security level being less than the first level, the first data is sent to the first platform.
[0102] In response to the security level being greater than or equal to the first level, encrypting the first data based on the security level, and sending the encrypted first data to the first platform.
[0103] In one embodiment of the present disclosure, the data receiving module 21 is further used for:
[0104] Before receiving target data from multiple third-party interfaces based on the target interface, the confidentiality level of each third-party interface is determined based on the interface identifier corresponding to each third-party interface.
[0105] Correspondingly, after the target data from the plurality of third-party interfaces are received based on the target interface, feature extraction is performed on the target data corresponding to each third-party interface based on the confidentiality level of each third-party interface.
[0106] In one embodiment of the present disclosure, the data receiving module 21 is further used for:
[0107] For each third-party interface:
[0108] In response to the confidentiality level of the third-party interface being lower than the second level, data extraction is performed on the target data received by the third-party interface according to the first extraction rule.
[0109] In response to the confidentiality level of the third-party interface being greater than or equal to the second level, data extraction is performed on the target data received by the third-party interface according to the second extraction rule.
[0110] The first extraction rule is different from the second extraction rule.
[0111] In one embodiment of the present disclosure, the protocol determination module 22 is specifically used to:
[0112] A data conversion protocol corresponding to each third-party interface is generated based on the protocol parameters corresponding to the third-party interface.
[0113] Reference Figure 5 , Figure 5 Schematic block diagram of an electronic device provided by an embodiment of the present disclosure. Figure 5 The electronic device 300 in the embodiment shown may include: one or more processors 301, one or more input devices 302, one or more output devices 303 and one or more memories 304. The processors 301, input devices 302, output devices 303 and memories 304 communicate with each other via a communication bus 305. The memory 304 is used to store computer programs, which include program instructions. The processor 301 is used to execute the program instructions stored in the memory 304. The processor 301 is configured to call the program instructions to execute the functions of the modules in the above-mentioned device embodiments, such as Figure 4 The functions of modules 21 to 23 are shown.
[0114] It should be understood that in the embodiment of the present disclosure, the processor 301 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0115] The input device 302 may include a touch panel, a fingerprint collection sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, etc., and the output device 303 may include a display (LCD, etc.), a speaker, etc.
[0116] The memory 304 may include a read-only memory and a random access memory, and provide instructions and data to the processor 301. A portion of the memory 304 may also include a non-volatile random access memory. For example, the memory 304 may also store information about the device type.
[0117] In a specific implementation, the processor 301, input device 302, and output device 303 described in the embodiments of the present disclosure can execute the implementation methods described in the first and second embodiments of a multi-protocol data integration control method provided in the embodiments of the present disclosure, and can also execute the implementation methods of the electronic device described in the embodiments of the present disclosure, which will not be repeated here.
[0118] In another embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by the processor, all or part of the processes in the above-mentioned embodiment method are implemented, and the computer program can also be completed by instructing the relevant hardware through the computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0119] The computer-readable storage medium may be an internal storage unit of the electronic device of any of the aforementioned embodiments, such as a hard disk or memory of the electronic device. The computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the electronic device and an external storage device. The computer-readable storage medium is used to store computer programs and other programs and data required by the electronic device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
[0120] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0121] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the electronic devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0122] In the several embodiments provided in the present application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces or units, or it can be an electrical, mechanical or other form of connection.
[0123] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present disclosure.
[0124] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0125] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present disclosure, and these modifications or replacements should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A multi-protocol data integration control method, characterized in that: include: receiving target data from a plurality of third-party interfaces based on the target interface; The target interface is an interface for performing protocol conversion; The plurality of third-party interfaces are interfaces that need to perform data interaction with the target interface; Determine the data conversion protocol corresponding to each third-party interface; Performing data conversion on the target data corresponding to each third-party interface based on the data conversion protocol corresponding to each third-party interface, so as to convert the target data of each third-party interface into data in a target format; Before receiving target data from multiple third-party interfaces based on the target interface, the method further includes: Determine the confidentiality level of each third-party interface based on the interface identifier corresponding to each third-party interface; Accordingly, after receiving the target data from the plurality of third-party interfaces based on the target interface, the control method further includes: Extract features of target data corresponding to each third-party interface based on the confidentiality level of each third-party interface; The feature extraction of target data corresponding to each third-party interface based on the confidentiality level of each third-party interface includes: For each third-party interface: In response to the confidentiality level of the third-party interface being lower than the second level, extracting the target data received by the third-party interface according to the first extraction rule; In response to the confidentiality level of the third-party interface being greater than or equal to the second level, extracting the target data received by the third-party interface according to the second extraction rule; wherein the first extraction rule is different from the second extraction rule; The first extraction rule is to extract data from all target data under the third-party interface, and the second extraction rule is to extract key data from the target data under the third-party interface.
2. A multi-protocol data integration control method as claimed in claim 1, characterized in that: After converting the target data of each third-party interface into data in a target format, the control method further includes: In response to receiving a first request sent by the first platform, first data is determined from the converted data in the target format based on request information of the first request, and the first data is sent to the first platform.
3. A multi-protocol data integration control method as claimed in claim 2, characterized in that: The determining the first data from the converted data in the target format based on the request information of the first request includes: Determining an identity of the first platform based on the request information of the first request; The first data is determined from the converted data in the target format based on the identity identifier.
4. A multi-protocol data integration control method as claimed in claim 2, characterized in that: The sending the first data to the first platform includes: determining a security level of the first platform based on the request information of the first request; In response to the security level being lower than the first level, sending the first data to the first platform; In response to the security level being greater than or equal to the first level, the first data is encrypted based on the security level, and the encrypted first data is sent to the first platform.
5. A multi-protocol data integration control method as claimed in claim 1, characterized in that: Determining the data conversion protocol corresponding to each third-party interface includes: A data conversion protocol corresponding to each third-party interface is generated based on the protocol parameters corresponding to the third-party interface.
6. A multi-protocol data integration control device, characterized in that: include: A data receiving module, used for receiving target data from multiple third-party interfaces based on the target interface; The target interface is an interface for performing protocol conversion; The plurality of third-party interfaces are interfaces that need to perform data interaction with the target interface; A protocol determination module, used to determine the data conversion protocol corresponding to each third-party interface; A data conversion module, used to perform data conversion on target data corresponding to each third-party interface based on a data conversion protocol corresponding to each third-party interface, so as to convert the target data of each third-party interface into data in a target format; A data receiving module, specifically used to determine the confidentiality level of each third-party interface based on the interface identifier corresponding to each third-party interface before receiving the target data from multiple third-party interfaces based on the target interface; Correspondingly, after receiving the target data from the plurality of third-party interfaces based on the target interface, feature extraction is performed on the target data corresponding to each third-party interface based on the confidentiality level of each third-party interface; The data receiving module is also used for each third-party interface: In response to the confidentiality level of the third-party interface being lower than the second level, extracting the target data received by the third-party interface according to the first extraction rule; In response to the confidentiality level of the third-party interface being greater than or equal to the second level, extracting the target data received by the third-party interface according to the second extraction rule; wherein the first extraction rule is different from the second extraction rule; The first extraction rule is to extract data from all target data under the third-party interface, and the second extraction rule is to extract key data from the target data under the third-party interface.
7. A multi-protocol data integration control system, comprising: An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
