Search

CN-122027690-A - Cross-system data transmission processing method and device

CN122027690ACN 122027690 ACN122027690 ACN 122027690ACN-122027690-A

Abstract

The embodiment of the specification provides a cross-system data transmission processing method and device, wherein the cross-system data transmission processing method comprises the steps of reading conversion configuration information corresponding to a gateway interface according to transmission data transmitted to a second system and sent by a first system through the gateway interface, performing conversion admission verification on the transmission data based on conversion conditions contained in the conversion configuration information, matching a conversion strategy in the conversion configuration information according to the data type of the data to be converted in the transmission data under the condition that the verification passes, performing data conversion on the data to be converted based on the conversion strategy, updating the transmission data according to target conversion data obtained by conversion, and transmitting the target transmission data obtained by updating to the second system.

Inventors

  • ZHANG TIANSHUO
  • CHEN YU
  • Hao Birong

Assignees

  • 支付宝(杭州)数字服务技术有限公司

Dates

Publication Date
20260512
Application Date
20230327

Claims (10)

  1. 1. A cross-system data transmission processing method applied to a data conversion gateway deployed by a data processing platform, the method comprising: Acquiring transmission data transmitted to a second system by a first system through a gateway interface, and reading conversion configuration information corresponding to the gateway interface; checking whether the transmission data carries data to be converted or not, if so, checking whether the data to be converted meets a conversion admittance condition or not; And decrypting the data to be converted according to a key contained in the conversion strategy to obtain intermediate data, extracting target conversion data from the intermediate data according to a data extraction mode contained in the conversion strategy, updating the transmission data according to the target conversion data, and transmitting the target transmission data obtained by updating to the second system.
  2. 2. The method for processing data transmission across systems according to claim 1, wherein after the operation of acquiring the transmission data sent by the first system through the gateway interface and transmitted to the second system is performed and before the operation of reading the conversion configuration information corresponding to the gateway interface is performed, further comprising: Reading service configuration information of the first system and/or the second system; Checking whether the service configuration information carries a data conversion label or not; if yes, executing the operation of reading the conversion configuration information corresponding to the gateway interface; And if not, transmitting the transmission data to the second system.
  3. 3. The cross-system data transmission processing method according to claim 1, further comprising: performing data splicing on the data to be converted; and encrypting the spliced data to be converted according to an encryption mode contained in the conversion strategy to obtain the target conversion data.
  4. 4. The cross-system data transmission processing method according to claim 1, further comprising: Converting the conversion parameter identification in the data to be converted based on the identification conversion sub-strategy in the conversion strategy, and converting the conversion parameter value in the data to be converted based on the parameter value conversion sub-strategy in the conversion strategy; and performing splicing processing on the converted conversion parameter identifier and the conversion parameter value to obtain the target conversion data.
  5. 5. The method for processing data transmission across systems according to claim 1, wherein said first system or said second system is composed of at least one service platform, and wherein said second system or said first system is composed of at least one merchant.
  6. 6. The method for processing data transmission across systems according to claim 1, wherein the conversion configuration information is obtained by: acquiring a conversion sub-condition and a condition operator, and generating a condition based on the conversion sub-condition and the condition operator to acquire a conversion admittance condition; and taking the conversion admission condition, the conversion parameter identification and the conversion strategy corresponding to at least one data type as the conversion configuration information.
  7. 7. The method for processing data transmission across systems according to claim 6, wherein a user performs configuration of the conversion sub-conditions, the condition operators, the conversion parameter identifiers, and the conversion policies corresponding to the at least one data type by accessing the data processing platform to generate the conversion configuration information.
  8. 8. A cross-system data transmission processing apparatus operating at a data conversion gateway deployed at a data processing platform, the apparatus comprising: The transmission data acquisition module acquires transmission data transmitted to the second system and sent by the first system through the gateway interface, and reads conversion configuration information corresponding to the gateway interface; The conversion admittance checking module is used for checking whether the transmission data carries data to be converted or not, and if so, checking whether the data to be converted meets the conversion admittance condition or not; And the data conversion module is configured to decrypt the data to be converted according to a key contained in the conversion strategy to obtain intermediate data, extract target conversion data from the intermediate data according to a data extraction mode contained in the conversion strategy, update the transmission data according to the target conversion data and transmit the updated target transmission data to the second system.
  9. 9. A cross-system data transmission processing apparatus, comprising: and a memory configured to store computer-executable instructions that, when executed, cause the processor to: Acquiring transmission data transmitted to a second system by a first system through a gateway interface, and reading conversion configuration information corresponding to the gateway interface; checking whether the transmission data carries data to be converted or not, if so, checking whether the data to be converted meets a conversion admittance condition or not; And decrypting the data to be converted according to a key contained in the conversion strategy to obtain intermediate data, extracting target conversion data from the intermediate data according to a data extraction mode contained in the conversion strategy, updating the transmission data according to the target conversion data, and transmitting the updated target transmission data to the second system.
  10. 10. A storage medium storing computer-executable instructions that when executed by a processor implement the following: Acquiring transmission data transmitted to a second system by a first system through a gateway interface, and reading conversion configuration information corresponding to the gateway interface; checking whether the transmission data carries data to be converted or not, if so, checking whether the data to be converted meets a conversion admittance condition or not; And decrypting the data to be converted according to a key contained in the conversion strategy to obtain intermediate data, extracting target conversion data from the intermediate data according to a data extraction mode contained in the conversion strategy, updating the transmission data according to the target conversion data, and transmitting the updated target transmission data to the second system.

Description

Cross-system data transmission processing method and device The patent application is a divisional application of Chinese patent application with the application number of 202310344334.X, the application date of 2023, 03 and 27, and the name of 'cross-system data transmission processing method and device'. Technical Field The present document relates to the field of data processing technologies, and in particular, to a method and an apparatus for cross-system data transmission processing. Background Along with the development of science and technology and the continuous improvement of the living standard of users, more and more participating users of online service are provided, more and more merchants are provided with service or commodity in an online mode, the number of online service and the number of corresponding participating users are increased, data on a network are greatly increased, the users participating in different services are different due to the fact that different service providers are different, the data on the network are distributed in different data parties, the processable data forms of different data parties are different, and how to improve the perception degree of the data of different data parties while guaranteeing the data security in the data transmission process is an important point of the data party in the data transmission aspect. Disclosure of Invention One or more embodiments of the present specification provide a data transmission processing method across systems. The cross-system data transmission processing method comprises the steps of obtaining transmission data transmitted to a second system and sent by a first system through a gateway interface, and reading conversion configuration information corresponding to the gateway interface. And performing conversion admission verification on the transmission data based on the conversion conditions contained in the conversion configuration information. And if the verification is passed, matching a conversion strategy in the conversion configuration information according to the data type of the data to be converted in the transmission data. And carrying out data conversion on the data to be converted based on the conversion strategy, updating the transmission data according to the target conversion data obtained by conversion, and transmitting the target transmission data obtained by updating to the second system. One or more embodiments of the present disclosure provide a cross-system data transmission processing apparatus, which includes a transmission data acquisition module configured to acquire transmission data sent by a first system through a gateway interface and transmitted to a second system, and read conversion configuration information corresponding to the gateway interface. And the conversion admission verification module is configured to perform conversion admission verification on the transmission data based on the conversion conditions contained in the conversion configuration information. And if the verification passes, a conversion strategy matching module is operated, and the conversion strategy matching module is configured to match a conversion strategy in the conversion configuration information according to the data type of the data to be converted in the transmission data. And the data conversion module is configured to perform data conversion on the data to be converted based on the conversion strategy, update the transmission data according to the target conversion data obtained by conversion, and transmit the target transmission data obtained by update to the second system. One or more embodiments of the present disclosure provide a cross-system data transmission processing apparatus, including a processor, and a memory configured to store computer-executable instructions that, when executed, cause the processor to acquire transmission data sent by a first system through a gateway interface and transmitted to a second system, and read conversion configuration information corresponding to the gateway interface. And performing conversion admission verification on the transmission data based on the conversion conditions contained in the conversion configuration information. And if the verification is passed, matching a conversion strategy in the conversion configuration information according to the data type of the data to be converted in the transmission data. And carrying out data conversion on the data to be converted based on the conversion strategy, updating the transmission data according to the target conversion data obtained by conversion, and transmitting the target transmission data obtained by updating to the second system. One or more embodiments of the present disclosure provide a storage medium storing computer-executable instructions that, when executed by a processor, implement a process of obtaining transmission data sent by a first system through a gateway interface and transmitted