CN111600909A - Data processing method, device, protocol conversion equipment and storage medium - Google Patents

Data processing method, device, protocol conversion equipment and storage medium Download PDF

Info

Publication number
CN111600909A
CN111600909A CN202010595990.3A CN202010595990A CN111600909A CN 111600909 A CN111600909 A CN 111600909A CN 202010595990 A CN202010595990 A CN 202010595990A CN 111600909 A CN111600909 A CN 111600909A
Authority
CN
China
Prior art keywords
data
transmission
format
transmission format
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010595990.3A
Other languages
Chinese (zh)
Other versions
CN111600909B (en
Inventor
张文龙
黄若海
于群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010595990.3A priority Critical patent/CN111600909B/en
Publication of CN111600909A publication Critical patent/CN111600909A/en
Application granted granted Critical
Publication of CN111600909B publication Critical patent/CN111600909B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a data processing method, a data processing device, protocol conversion equipment and a storage medium, wherein the method comprises the following steps: acquiring transmission data in a first transmission format from an interface gateway (api gateway), wherein the transmission data in the first transmission format is obtained by converting a data access request of a target application program by the interface gateway according to the first transmission format; carrying out format conversion processing on the transmission data in the first transmission format to obtain transmission data in a second transmission format, and sending the transmission data in the second transmission format to a service server; and receiving the access data indicated by the data access request, which is obtained by the service server executing the transmission data in the second transmission format, and sending the access data to a target application program through an interface gateway, so that conversion of different protocol formats of the transmission data can be realized without changing a background server code.

Description

Data processing method, device, protocol conversion equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method and apparatus, a protocol conversion device, and a storage medium.
Background
With the continuous development of computer technology, a variety of programming languages, such as C language, C + + language, JAVA language, etc., are currently used for programming, and the existing JAVA language is a programming language with reflective capability, that is, program codes implemented by JAVA language can adaptively and dynamically generate types, and objects of classes can be generated through name strings of the classes and instantiated. Based on the stability and the security of the JAVA language, most of the current application programs on the market are developed based on the JAVA language, but the background servers accessed by the application programs are most likely not developed by the JAVA language, for example, may be developed and designed by the C + + language, so that, currently, when the background servers process an access request initiated by an application program developed by the JAVA, the code of the background servers needs to be changed in order to read the transmission data corresponding to the access request, and therefore, how to implement the transmission data corresponding to the access request initiated by the application program developed by the JAVA by using the background servers developed by the non-JAVA language without changing the code of the background servers can be realized, which becomes a current research hotspot.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a data processing device, a protocol conversion device and a storage medium, which can realize conversion of different protocol formats of transmission data under the condition of not changing background server codes.
In one aspect, an embodiment of the present invention provides a data processing method, including:
acquiring transmission data in a first transmission format from an interface gateway, wherein the transmission data in the first transmission format is obtained by converting a data access request of a target application program by the interface gateway according to the first transmission format;
carrying out format conversion processing on the transmission data of the first transmission format to obtain transmission data of a second transmission format, and sending the transmission data of the second transmission format to a service server;
and receiving access data indicated by the data access request, which is obtained by the service server executing the transmission data in the second transmission format, and sending the access data to the target application program through the interface gateway.
In another aspect, an embodiment of the present invention provides a data processing apparatus, including:
an obtaining unit, configured to obtain transmission data in a first transmission format from an interface gateway, where the transmission data in the first transmission format is obtained by converting, by the interface gateway, a data access request of a target application according to the first transmission format;
the conversion unit is used for carrying out format conversion processing on the transmission data of the first transmission format to obtain transmission data of a second transmission format;
a sending unit, configured to send the transmission data in the second transmission format to a service server;
the obtaining unit is further configured to receive access data indicated by the data access request, where the data access request is obtained by the service server executing the transmission data in the second transmission format, and send the access data to the target application program through the interface gateway.
In another aspect, an embodiment of the present invention provides a protocol conversion device, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program that supports a terminal to execute the foregoing method, where the computer program includes program instructions, and the processor is configured to call the program instructions to perform the following steps:
acquiring transmission data in a first transmission format from an interface gateway, wherein the transmission data in the first transmission format is obtained by converting a data access request of a target application program by the interface gateway according to the first transmission format;
carrying out format conversion processing on the transmission data of the first transmission format to obtain transmission data of a second transmission format, and sending the transmission data of the second transmission format to a service server;
and receiving access data indicated by the data access request, which is obtained by the service server executing the transmission data in the second transmission format, and sending the access data to the target application program through the interface gateway.
In still another aspect, an embodiment of the present invention provides a computer-readable storage medium, in which program instructions are stored, and when the program instructions are executed by a processor, the computer-readable storage medium is configured to perform the data processing method according to the first aspect.
In the embodiment of the present invention, the interface gateway may convert a data access request in a target application according to a first transmission format to obtain transmission data in the first transmission format, since a code in the service server does not support execution of the data in the first transmission format, in order to enable the service server to respond to the data access request, after determining the transmission data in the first transmission format, the interface gateway may first send the transmission data in the first transmission format to the protocol conversion device for protocol format conversion (or transmission format) conversion, correspondingly, after obtaining the transmission data in the first transmission format from the interface gateway, the protocol conversion device may perform format conversion processing on the transmission data in the first transmission format to obtain transmission data in a second transmission format executable by the code in the service server, and the service server may parse the transmission data in the second transmission format, and the access data indicated by the data access request is acquired, and after the service server acquires the access data, the access data can be sent to the target application program through the interface gateway, so that the data access request can be processed through the conversion of the protocol format under the condition that the logic code in the service server is not changed, and the development efficiency of the service server can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a data processing system provided by an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram of a data processing method provided by an embodiment of the invention;
FIG. 3a is a schematic diagram of a code provided by an embodiment of the present invention;
FIG. 3b is a diagram of a code provided by an embodiment of the invention;
FIG. 3c is a diagram of a code provided by an embodiment of the invention;
fig. 4 is a schematic diagram of a connection between a protocol conversion device and different service servers according to an embodiment of the present invention;
FIG. 5 is a diagram of a target application provided by an embodiment of the invention;
FIG. 6 is a diagram illustrating a data processing method according to an embodiment of the present invention;
FIG. 7 is a schematic flow chart diagram of a data processing method according to an embodiment of the present invention;
FIG. 8 is a diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 9 is a schematic block diagram of a protocol conversion apparatus according to an embodiment of the present invention.
Detailed Description
The embodiment of the present invention provides a data processing method, which can convert transmission data (for example, transmission data in a first transmission format) in one protocol format (or referred to as a transmission format) in an Interface (API) gateway into transmission data (for example, protocol data in a second transmission format) in another protocol format, because a code in a service server is adapted to the second transmission format, the service server can call the format of the transmission data executed by the code to the second transmission format, and if the service server needs to execute the transmission data in the first transmission format, the code of the service server needs to be modified, in order to implement that the service server code is not modified and the transmission data in the first transmission format is responded, by deploying a protocol conversion device for converting the protocol format of the transmission data in the service server, a developer can perform configuration of protocol format conversion in the protocol conversion device in advance, the protocol conversion device is used for converting transmission data of a first transmission format in an interface gateway to obtain transmission data of a second transmission format executable by a service server, the existence of the protocol conversion device ensures that the protocol format of the transmission data obtained by the service server from the interface gateway is definitely the executable second transmission format, that is, the transmission data in the interface gateway is processed without changing a code of the service server, so that the development efficiency of the service server can be improved, in one embodiment, the protocol conversion device can be deployed in a gateway server corresponding to the interface gateway, can also be deployed in the service server, can also be a server deployed independently, in the embodiment of the present invention, the case that the protocol conversion device is deployed as an independent server is explained in detail, in the case that the protocol conversion device is deployed in a service server or in an interface gateway, reference may be made to the embodiment of the present invention.
In one embodiment, an interface gateway (api gateway) is a protocol conversion interface for connecting a client (or a target application running in the client, where the target application is any application running in the client) and a service server corresponding to the client, and is configured to receive a data access request of the target application and convert the data access request into transmission data for transmission at a network layer according to a specified protocol format (e.g., a first transmission format), where the specified protocol format includes: XML (Extensible Markup Language) and json (JavaScript Object Notation), etc. in the embodiment of the present invention, the first transmission format is referred to as json format for detailed description, and when the first transmission format is XML, the embodiment of the present invention may be referred to. In one embodiment, if the service server directly obtains the transmission data in the first transmission format from the interface gateway, a problem that a code in the service server is not adapted to the transmission data in the first transmission format may occur, it can be understood that, if the code in the service server is not adapted to the first transmission format, when the service server executes the transmission data in the first transmission format, an execution error problem may occur, which causes the service server to be unable to execute the data access request, thereby affecting user experience, and therefore, the interface gateway performs the first transmission format conversion on the data access request of the target application program, after the transmission data in the first transmission format is obtained, the protocol conversion device may firstly perform protocol format conversion on the transmission data in the first transmission format to obtain transmission data in a second transmission format corresponding to the data access request, and the service server may obtain the transmission data in the second transmission format from the protocol conversion device, so as to call a code adapted to the second transmission format, obtain the data access request from the transmission data in the second transmission format, and respond to the data access request to obtain the access data indicated by the data access request.
In an embodiment, if The service server is a backend device implemented by C + + (The C + + Programming Language), The second transmission format adapted to The code of The service server should be a data transmission format supported by C + +, such as a local structure defined by class (class), where in The C + + Language, a global structure and a local structure may be used for data transmission, and The global structure refers to a structure to which no access specifier is added when instantiating a structure parameter, that is, a structure to support all members to access; and the local structure body is a structure body added with an access descriptor before instantiating the structure body parameters, namely, the structure body only supports partial members to access. Referring to the data processing system shown in fig. 1, the data processing system may include a client 10 to which a target application belongs, a processing device 11 for performing data processing on a data access request of the target application, and a service server 12, where the processing device 11 includes an interface gateway 110 and a protocol conversion device 111. In one embodiment, the client 10 to which the target application belongs, upon detecting a data access request for the target application, the data access request may be sent to interface gateway 110, to request access to a service server, after the interface gateway 110 receives the data access request, the interface gateway 110 may first convert the data access request according to the first transmission format to obtain transmission data in the first transmission format corresponding to the data access request, further, the interface gateway 110 may send the transmission data in the first transmission format to the protocol conversion device 111, after receiving the transmission data in the first transmission format, the protocol conversion device 111, the transmission data in the first transmission format may be converted into a transmission format to obtain transmission data in a second transmission format corresponding to the data access request, and the transmission data in the second transmission format may be forwarded to the service server 12.
After the service server 12 receives the transmission data in the second transmission format, it may invoke a code adapted to the second transmission format to execute the transmission data in the second transmission format, the service server 12 may obtain the access data indicated by the data access request based on the analysis of the transmission data in the second transmission format, when the service server 12 feeds back the access data to the client 10, the service server also packages the access data into the feedback data in the second transmission format and sends the feedback data in the second transmission format to the protocol conversion device 111, after receiving the feedback data in the second transmission format, the protocol conversion device 111 may perform format conversion on the feedback data in the second transmission format to obtain the feedback data in the first transmission format and send the feedback data in the first transmission format to the interface gateway 110, and the interface gateway 110 may analyze the feedback data in the first transmission format to obtain the feedback data indicated by the data access request The access data is transmitted back to the client 10 belonging to the target application program, so that the code in the service server is not changed, the service server can respond to the data access request in the target application program, and the development efficiency of the service server can be improved.
Referring to fig. 2, a schematic flowchart of a data processing method according to an embodiment of the present invention is shown, where the data processing method is applicable to the protocol conversion device, and as shown in fig. 2, the method may include:
s201, acquiring transmission data in the first transmission format from the interface gateway.
In an embodiment, after the user logs in and registers in the target application program, the target application program may access the interface gateway based on a designated interface, that is, the target application program may send a data access request of the user for the target application program to the interface gateway through the designated interface, so that the interface gateway converts the data access request of the target application program according to the first transmission format to obtain transmission data of a first transmission format of the data access request, where the first transmission format is a protocol format in which the designated data access request is transmitted in a network. In one embodiment, the user may perform login registration in the target application by using a Single Sign On (SSO) method, which means that after the user completes login registration On the authentication server, login registration rights may be obtained for accessing other associated systems or applications in the single sign-on system, namely, the user can access a plurality of different application programs only by logging in and registering once, thereby improving the efficiency of the user accessing the application programs, correspondingly, because the target application program is a sub-application program in the target client, the user can complete login registration in the target application program in a single-point login mode, the user can adopt the account number used for logging in the target client to realize login and registration in the target application program, so that the efficiency of login and registration of the user in the target application program can be improved.
In one embodiment, after a user logs in and registers in a target application program in a single sign-on manner, after the target application program detects a data access request initiated by the user, an identity authentication information may be bound to the data access request, so that the data access request and the bound identity authentication information may be pushed to an interface gateway through a request push service in the target application program. After the interface gateway receives the data access request and the bound identity authentication information, the interface gateway can check login registration information of a user for logging in a target application program based on the identity authentication information, and according to the check result, the interface gateway can determine whether the target application program has the authority of accessing a service server, in one embodiment, if the interface gateway determines that the target application program has the authority of accessing the service server through checking the identity authentication information, the interface gateway can convert the data access request according to a specified first transmission format to obtain transmission data of the first transmission format, so that the transmission data of the first transmission format can be sent to a protocol conversion device, and the protocol conversion device can convert the transmission format of the transmission data after receiving the transmission data of the first transmission format sent by the interface gateway, the transmission data of the second transmission format is obtained, i.e. step S202 is executed instead. In one embodiment, the first transport format comprises a text data interchange format, JSON format, and the second transport format comprises: local structure, i.e. the structure defined by class.
S202, carrying out format conversion processing on the transmission data of the first transmission format to obtain the transmission data of a second transmission format.
In one embodiment, the transmission data in the first transmission format includes a text data interchange format (JSON format), the transmission data in the JSON format is character string data, such as character strings of "name", "small red", "9", and the like, and the second transmission format is a local structure, that is, a structure defined by a class, or called a class structure, where the class structure includes a structure name (class name), and an object in the structure, such as an age (age), an instance object of the name, and the like, and the protocol conversion device performs format conversion processing on the transmission data in the first transmission format to obtain the transmission data in the second transmission format, that is, a process of converting the character strings in the JSON format into the class structure and instantiating the object in the class structure. In a specific implementation, the protocol conversion device may convert the transmission format of the transmission data in the first transmission format based on a configuration file preset in the protocol conversion device, and in an embodiment, a class structure into which transmission data of different types of json are correspondingly converted is preset in the configuration file. Because the target application program supports multiple service types for the user to perform data access, the user may initiate data access requests of different service types in the target application program, and when the target application program forwards the data access request, the data access request is forwarded to different interface gateways based on the service type corresponding to the data access request, and the types of the transmission data in the json format generated by the different interface gateways are different, so when the protocol conversion device converts the transmission data in the first transmission format (json format) into the transmission data in the second transmission format, it is necessary to determine the interface gateway generating the transmission data in the first transmission format first, and thus the json type in the first transmission format can be determined based on the interface gateway.
In an embodiment, the protocol conversion device may obtain an interface identifier of the interface gateway, so as to determine which interface gateway converts the transmission data in the first transmission format, and further, the protocol conversion device may obtain, based on the interface identifier, a target structure type associated with the interface identifier from the configuration file, so that the character string in the json format may be transmitted to the target structure of the target structure type, so as to obtain the transmission data in the second transmission format. In a specific implementation, the protocol conversion device can introduce a C + + reflection library rttr (a reflective programming database) to realize a reflection mechanism, so that the mutual conversion between a character string of a JSON structure and a structure body of a class structure can be realized, wherein the character string of the JSON structure is stored in a JSON data packet, and the suffix of the JSON structure is a JSON suffix; the class structure is stored in the qza packet with the suffix name being the jce suffix (an encrypted file suffix), and thus can be implemented by the code shown in fig. 3a when performing json and jce conversion. The code shown in fig. 3a is a facility for json and jse conversion in a json 2cpp (a database for reading and writing json files) facility, where two conversion parameters are provided: when a json and rapidjson, a jse 2cpp tool generates a jse head file, one of the two parameters is carried over, so that json corresponding to a jse structure in the generated head file is converted into a packing-unpacking function of the json, and if the corresponding packing-unpacking function is available, format conversion of the json-jse of a corresponding request packet can be realized, specifically, format conversion of the json-jse can be performed by adopting a code shown in fig. 3b, and according to the code shown in fig. 3b, a character string in the json format can be written into a class structure, so that transmission data in a first transmission format can be converted into transmission data in a second transmission format. After the protocol conversion device completes the conversion of the first transmission format into the second transmission format, the transmission data in the second transmission format may be sent to the service access, that is, step S203 and step S204 may be executed instead.
S203, sending the transmission data in the second transmission format to a service server.
And S204, receiving the access data indicated by the data access request, which is obtained by the service server executing the transmission data in the second transmission format, and sending the access data to the target application program through the interface gateway.
In step S203 and step S204, after converting the transmission data in the first transmission format into the transmission data in the second transmission format, the protocol conversion device may send the transmission data in the second transmission format to the service server, and after receiving the transmission data in the second transmission format, the service server may invoke a code adapted to the second transmission format to execute the transmission data in the second transmission format, where the code adapted to the second transmission format includes a C + + code because the second transmission format is a local structural body, and after receiving the transmission data in the second transmission format, the service server may invoke the C + + code to parse the transmission data in the second transmission format, so as to obtain a data access request initiated by the user in the target application program. In one embodiment, the service server may invoke the code shown in fig. 3c to read the transmission data in the second transmission format, where the reading process of the transmission data in the second transmission format by the service server is a process of reading the instantiation object from the local structural body because the transmission data in the second transmission format is data stored in the local structural body. After the service server obtains the access data indicated by the data access request, the access data can be returned to the target application program. Based on the configuration of the configuration file in the protocol conversion device, a developer can instantiate the character string into a corresponding local structural body and an instantiated object in the local structural body, that is, based on the configuration file, the protocol conversion device can complete the serialization and serialization operations from json to jse, and complete the code work in fig. 3 a-3 c, and no matter how many command words (character strings) are added, the complicated code development work such as json instantiation, json deserialization and the like does not need to be done manually, only the configuration file needs to be changed, and the development efficiency can be improved.
In one embodiment, when the protocol conversion device sends the transmission data in the second transmission format to the service server, since the number of the service servers connected to the protocol conversion device is multiple and the different service servers support different access service types, as shown in fig. 4, the service server connected to the protocol conversion device may be a server supporting a makeup type service or a server supporting an album access service, and when the protocol conversion device sends the transmission data in the second transmission format to the service server, the protocol conversion device may send the transmission data in the second transmission format to the service server matching the access service type based on the access service type indicated by the data access request. When the protocol conversion device sends the transmission data in the second transmission format to different service servers, based on the access service type, the transmission data in the second transmission format is encapsulated into different data packets, and header information of the encapsulated different data packets is different, for example, a header of a data packet sent to a service server supporting lovers service is qza _ jce, a header of a data packet sent to a service server supporting masqueryage service is pdu _ jce, and a header of a data packet sent to a service server supporting album service is webapp _ jce. Transmitting transmission data in a second transmission format to a service server by a protocol conversion device, wherein the service server calls a code to execute the transmission data in the second transmission format to obtain access data indicated by the data access request, and then the service server can send the access data back to a target application program, when the service server sends the access data to the target application program, because the protocol format of the transmission data supported by the service server is the second transmission format, when the service server returns the access data to the target application program, the service server can firstly encapsulate the access data into feedback data in the second transmission format and send the feedback data in the second transmission format to the protocol conversion device, and after receiving the feedback data in the second transmission format, the protocol conversion device can perform format conversion on the feedback data in the second transmission format, and obtaining feedback data in a first transmission format, and sending the feedback data in the first transmission format to the interface gateway. After receiving the feedback data in the first transmission format, the interface gateway can read the access data indicated by the data access request from the feedback data in the first transmission format and send the access data to the target application program, thereby realizing the response to the data access request.
In the embodiment of the present invention, the interface gateway may convert a data access request in a target application according to a first transmission format to obtain transmission data in the first transmission format, since a code in the service server does not support execution of the data in the first transmission format, in order to enable the service server to respond to the data access request, after determining the transmission data in the first transmission format, the interface gateway may first send the transmission data in the first transmission format to the protocol conversion device for protocol format conversion (or transmission format) conversion, correspondingly, after obtaining the transmission data in the first transmission format from the interface gateway, the protocol conversion device may perform format conversion processing on the transmission data in the first transmission format to obtain transmission data in a second transmission format executable by the code in the service server, and the service server may parse the transmission data in the second transmission format, and the access data indicated by the data access request is acquired, and after the service server acquires the access data, the access data can be sent to the target application program through the interface gateway, so that the data access request can be processed through the conversion of the protocol format under the condition that the logic code in the service server is not changed, and the development efficiency of the service server can be improved.
In one embodiment, the target application may be any sub-application that runs in the client and that does not require installation, and the user may log in the target application through the client, as will be appreciated, the target application may be an applet in a client, and a user may enter an interface of the applet that the client supports running from the client after starting the client, as shown in fig. 5, the interface of the small program which supports the running of the client comprises one or more target application programs, the client can associate different interface gateways with different target application programs based on the types of the access service supported by each target application program in the small program interface, and a protocol conversion device is added for the target application program, so as to realize the conversion of the protocol format of the transmission data sent by the target application program to the interface gateway. In an embodiment, if the client is qq (an instant messaging software), the target application is an a program in the client, where the a program may be, for example, a couple space as in fig. 5, please refer to a flowchart shown in fig. 6, taking an example that the a program accesses a service server, the process that the a program requests the service server to access data is described in detail, specifically, after logging in qq, a user may complete login and registration of the a program by using a corresponding login service, where the login service may be, for example, a qq login service, such as qq.
The data access request of the a program needs to be sent to a program login platform, the program login platform is an SSO single sign-on Software Development Kit (SDK) platform, the program login platform may add an authentication identifier, such as an a2key identifier, to the data access request after receiving the data request, and may further obtain other authentication identifiers, such as a skey/pskey identifier, cached in qq according to a domain name, the program login platform may generate an authentication sequence (a2key/skey/pskey) associated with the data access request based on the authentication identifier added to the data access request, and after the program login platform generates the authentication sequence, the authentication sequence may be sent to a login channel (or SSO login) through a sending server, such as an SSO _ request service, provided by the SSO platform, the login channel may receive the authentication sequence sent by the program login platform, the identity authentication sequence can be sent to an interface gateway (or called couple node) corresponding to the a program through wns _ dispatch service, the interface gateway can check login and registration of the target application program based on the identity authentication sequence, and when the check is passed, a json packet corresponding to the data access request is obtained, and the json packet is transmission data in the first transmission format.
After acquiring the json packet (transmission data in the first transmission format), the interface gateway may forward the json packet to a protocol conversion device (e.g., protocol conversion svr), where the protocol conversion device may convert a digital identity in the json packet (e.g., openid centered on a user) into an account uin (e.g., qq account) of a login client based on a configuration file, and further may convert the json packet into a qza packet, where a data format in the qza packet is a second transmission format, and send the qza packet (i.e., a transmission packet in the second transmission format) to a service server. After receiving the qza packet, the service server may invoke the code to parse the transmission data in the second transmission format, and send qza return packet to the protocol conversion device, where the qza return packet includes the access data indicated by the data access request, after receiving the qza return packet, the protocol conversion device may convert the uin in the qza return packet into openid according to the configuration file, and convert the qza return packet into a json return packet, and after obtaining the json return packet, the protocol conversion device may forward the json return packet to the a program through the interface gateway, so that the a program receives the access data indicated by the data access request.
Referring to fig. 7, a schematic flowchart of a data processing method according to an embodiment of the present invention is shown, where the data processing method is also applicable to the protocol conversion device, and as shown in fig. 7, the method may include:
s701, acquiring transmission data in a first transmission format from an interface gateway, wherein the transmission data in the first transmission format is obtained by converting a data access request of a target application program by the interface gateway according to the first transmission format.
In an embodiment, the specific real-time manner of step S701 may refer to the specific implementation manner of step S201 in the foregoing embodiment, and is not described herein again.
S702, carrying out format conversion processing on the transmission data of the first transmission format to obtain the transmission data of a second transmission format.
S703, sending the transmission data in the second transmission format to a service server.
In step S702 and step S703, before performing format conversion processing on the transmission data in the first transmission format, the protocol conversion device needs to determine whether the target application program has the right to access the service server, and when determining that the target application program has the right to access the service server, perform transmission format conversion again to avoid performing unnecessary transmission format conversion operation. In a specific implementation, the protocol conversion device may obtain a target user identifier, where the target user identifier is an identifier used for logging in a client corresponding to the target application program, such as the uid, and the target user identifier may be, for example, a login account of the client, and after the protocol conversion device obtains the target user identifier, authorization information may be obtained according to the target user identifier, where the authorization information is generated when the service server determines to respond to a data access request sent by the target application program, it may be understood that the service server may preset access permissions of different user identifiers to the service server and send authorization information to a user identifier having access to the service server, and after obtaining transmission data in the first transmission format, in order to avoid converting the transmission data from the first transmission format into the second transmission format, because the service server does not support the response to the access data, so that the protocol conversion device cannot send the transmission data in the second transmission format to the service server, the protocol conversion device may perform format conversion processing on the transmission data in the first transmission format only when the authorization information is successfully acquired. In an embodiment, when the protocol conversion device obtains the target user identifier, since the digital identifier (such as openid) when the user logs in the target application program is stored in the transmission data in the first transmission format, that is, the protocol conversion device may first obtain the digital identifier logging in the target application program from the transmission data in the first transmission format, so that the digital identifier may be converted into the target user identifier by using the identifier conversion rule indicated by the configuration file. The transmission data of the first transmission format is acquired by the interface gateway after passing the login authentication information of the target application program, and the login authentication information is sent after the target user logs in the target application program.
In one embodiment, the target application program comprises any sub-application which runs in a target client and does not need to be installed, the number of the sub-applications running in the target client is multiple, and any sub-application running in the target client is associated with different interface gateways; the target application program is associated with the interface identifier of the corresponding interface gateway based on the type of the business service supported by the target application program. The first transmission format includes a text data exchange format (e.g., json format), and the transmission data in the json format is a character string, then, when the protocol conversion device performs format conversion processing on the transmission data in the first transmission format to obtain transmission data in the second transmission format, because the target application program has a corresponding interface gateway, the protocol conversion device may first obtain an interface identifier of the interface gateway corresponding to the target application program, and obtain a target structure Type associated with the interface identifier from a conversion configuration file, further, the protocol conversion device may obtain a target structure indicated by the target structure Type by using a Reflection mechanism, and transmit the transmission data in the text data exchange format to the target structure to obtain transmission data in the second transmission format, where the protocol conversion device is based on a Reflection database, such as a Run-Time Type Reflection database (Run Time Reflection, rttr library). In one embodiment, the target structure type includes a local structure, the local structure includes one or more instance object parameters, and when the protocol conversion device transmits transmission data in a text data exchange format into the target structure to obtain transmission data of a second transmission event, the protocol conversion device may first read character string data from the transmission data in the text data exchange format (i.e., json format) and determine a target instance object parameter corresponding to the character string data from the local structure (class structure), so that the character string data may be subjected to a serialization encoding process, and the character string data subjected to the encoding process is used as a value of the target instance object parameter to obtain transmission data in the second transmission format.
In an embodiment, if a json-formatted character string, that is, transmission data in a first transmission format is { "int 9", "name three" }, when the character string in the json format is converted into a class structure for transmission, a class name (that is, a class name) of the class structure may be generated based on a configuration file, where the class name may be, for example, an identity of page three, so that the character string data "int 9" and "name three" may be transmitted into the class structure with the identity of page three based on the configuration file, and transmission data in a second transmission format is obtained:
identity of Zhang III Class
{age=9;
Name is zhang san }.
After the protocol conversion device obtains the transmission data in the second transmission format, the transmission data in the second transmission format may be sent to the service server. Before the protocol conversion device sends the transmission data in the second transmission format to the service server, the access service type indicated by the data access request may be obtained from the target field of the transmission data in the first transmission, so that the transmission data in the second transmission format may be sent to the service server matched with the access service type, so that the service server processes the transmission data in the second transmission format to obtain the access data corresponding to the access data request.
S704, obtaining the feedback data in the second transmission format from the service server, and performing format conversion processing on the feedback data in the second transmission format to obtain the feedback data in the first transmission format.
S705, sending the feedback data in the first transmission format to the interface gateway, so that the interface gateway parses the feedback data in the first transmission format to obtain the access data, and sends the access data to the target application.
In steps S704 and S705, after the service server obtains the transmission data in the second transmission format, the service server may add the access data to the transmission data in the second transmission format according to the second transmission format after obtaining the access data indicated by the data access request, to obtain the feedback data in the second transmission format (i.e. the qza loopback packet mentioned above, i.e. the packet returned by the service server from the transmission data in the second transmission format after obtaining the access data indicated by the data access request, and further may perform format conversion processing on the transmission data in the second transmission format to obtain the feedback data in the first transmission format, in a specific implementation, the second transmission format includes a local structure (i.e. a class structure), and the protocol conversion device performs format conversion processing on the feedback data in the second transmission format, when the feedback data of the first transmission format is obtained, the value of each instance object parameter can be obtained from the local structural body, so that the value of each instance object parameter can be subjected to deserialization decoding processing to obtain corresponding character string data, the character string data is used as the feedback data of the first transmission format, and then the feedback data of the first transmission format is sent to a target application program through an interface gateway, so that the target application program obtains the access data indicated by the access request.
In the embodiment of the present invention, after acquiring the transmission data of the first transmission format corresponding to the data access request from the interface gateway, the protocol conversion device may perform format conversion processing on the transmission data of the first transmission format to obtain the transmission data of the second transmission format, so that the transmission data of the second transmission format may be sent to the service server, so that the service server may read the transmission data of the second transmission format to obtain the access data indicated by the data access request, encapsulate the access data into the feedback data of the second transmission format and send the encapsulated access data to the protocol conversion device, and the protocol conversion device may convert the feedback data of the second transmission format into the feedback data of the first transmission format and send the feedback data of the first transmission format to the interface gateway, so that the target application program may acquire the access data indicated by the data access request from the interface gateway, the conversion of the transmission data protocol format is realized, the conversion of different protocol formats can be realized by changing the mode of the configuration file in the protocol conversion equipment, and the development efficiency of the protocol conversion equipment is improved.
Based on the description of the above data processing method embodiment, an embodiment of the present invention further provides a data processing apparatus, which may be a computer program (including a program code) running in the server. The data processing apparatus may be used to execute the data processing method as shown in fig. 2 and fig. 7, please refer to fig. 8, the data processing apparatus includes: an acquisition unit 801, a conversion unit 802, and a transmission unit 803.
An obtaining unit 801, configured to obtain transmission data in a first transmission format from an interface gateway, where the transmission data in the first transmission format is obtained by converting, by the interface gateway, a data access request of a target application according to the first transmission format;
a converting unit 802, configured to perform format conversion processing on the transmission data in the first transmission format to obtain transmission data in a second transmission format;
a sending unit 803, configured to send the transmission data in the second transmission format to a service server;
the obtaining unit 801 is further configured to receive access data indicated by the data access request, where the data access request is obtained by the service server executing the transmission data in the second transmission format, and send the access data to the target application program through the interface gateway.
In one embodiment, the first transmission format comprises: a text data exchange format; the conversion unit 802 is specifically configured to:
acquiring an interface identifier of the interface gateway, and acquiring a target structure type associated with the interface identifier from a conversion configuration file;
and calling a reflection mechanism to obtain the target structure body indicated by the type of the target structure body, and transmitting the transmission data in the text data exchange format into the target structure body to obtain the transmission data in the second transmission format.
In one embodiment, the target structure type comprises a local structure comprising one or more instance object parameters; the conversion unit 802 is specifically configured to:
reading character string data from the transmission data in the text data exchange format, and determining target instance object parameters corresponding to the character string data from the local structural body;
and carrying out serialization coding processing on the character string data, and taking the coded character string data as the value of the target instance object parameter to obtain transmission data in a second transmission format.
In one embodiment, the target application program comprises any sub-application running in a target client and not required to be installed;
the number of the sub-applications running in the target client is multiple, and any one of the sub-applications running in the target client is associated with different interface gateways;
the target application program is associated with the interface identifier of the corresponding interface gateway based on the type of the business service supported by the target application program.
In one embodiment, the apparatus further comprises: an execution unit 804.
The obtaining unit 801 is further configured to obtain a target user identifier, and obtain authorization information according to the target user identifier, where the authorization information is generated when the service server determines to respond to a data access request sent by the target application program;
an executing unit 804, configured to execute the step of performing format conversion processing on the transmission data in the first transmission format when the authorization information is successfully acquired.
In an embodiment, the obtaining unit 801 is specifically configured to:
acquiring a digital identity when logging in the target application program;
and converting the digital identity into a target user identity by adopting an identity conversion rule indicated by a configuration file, wherein the target user identity is used for logging in a target client to which the target application program belongs.
In one embodiment, the obtaining unit 801 is further configured to obtain, from a target field of transmission data in the first transmission format, an access service type indicated by the data access request;
the sending unit 803 is specifically configured to:
and transmitting the transmission data of the second transmission format to a service server matched with the access service type.
In one embodiment, the service server adds the access data to the transmission data in the second transmission format according to the second transmission format to obtain feedback data in the second transmission format; the sending unit 803 is specifically configured to:
obtaining the feedback data of the second transmission format from the service server, and performing format conversion processing on the feedback data of the second transmission format to obtain the feedback data of the first transmission format;
and sending the feedback data of the first transmission format to the interface gateway, so that the interface gateway analyzes the feedback data of the first transmission format to obtain the access data, and sending the access data to the target application program.
In one embodiment, the second transmission format comprises: a local structure; the conversion unit 802 is specifically configured to:
acquiring the value of each instance object parameter from the local structural body;
and performing deserialization decoding processing on the value of each instance object parameter to obtain corresponding character string data, and using the character string data as feedback data of the first transmission format.
In one embodiment, the transmission data in the first transmission format is obtained by the interface gateway from the target application program to obtain login information, and the login information is authenticated;
and the login information is sent to the interface gateway after the target user logs in the target application program.
In one embodiment, the access data is obtained by the service server calling and executing the transmission data with the second transmission format adapting code.
In the embodiment of the present invention, the interface gateway may convert the data access request in the target application according to the first transmission format to obtain transmission data in the first transmission format, since the code in the service server does not support execution of the data in the first transmission format, in order to enable the service server to respond to the data access request, after determining the transmission data in the first transmission format, the interface gateway may first send the transmission data in the first transmission format to the protocol conversion device for conversion of the protocol format (or transmission format), correspondingly, after obtaining the transmission data in the first transmission format from the interface gateway, the obtaining unit 801 may perform format conversion processing on the transmission data in the first transmission format to obtain transmission data in the second transmission format executable by the code in the service server, the service server analyzes the transmission data in the second transmission format and obtains the access data indicated by the data access request, and after obtaining the access data, the service server can send the access data to the target application program through the interface gateway.
Fig. 9 is a schematic block diagram of a protocol conversion device according to an embodiment of the present invention, where the protocol conversion device may be deployed in a gateway server corresponding to an interface gateway, or may be deployed in a service server, or the protocol conversion device may also be an independent server, and in an embodiment, the server may be an independent physical server, or a server cluster or a distributed system formed by multiple physical servers, or a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform. The protocol conversion apparatus in the present embodiment shown in fig. 9 may include: one or more processors 121; one or more input devices 122, one or more output devices 123, and memory 124. The processor 121, the input device 122, the output device 123, and the memory 124 are connected by a bus 125. The memory 124 is used to store a computer program comprising program instructions and the processor 121 is used to execute the program instructions stored by the memory 124.
The memory 124 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory 124 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), etc.; memory 124 may also comprise a combination of the above types of memory.
The processor 121 may be a Central Processing Unit (CPU). The processor 121 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or the like. The PLD may be a field-programmable gate array (FPGA), a General Array Logic (GAL), or the like. The processor 121 may also be a combination of the above structures.
In an embodiment of the present invention, the memory 124 is configured to store a computer program, the computer program includes program instructions, and the processor 121 is configured to execute the program instructions stored in the memory 124, so as to implement the steps of the corresponding methods as described above in fig. 2 and fig. 7.
In one embodiment, the processor 121 is configured to call the program instructions for performing:
acquiring transmission data in a first transmission format from an interface gateway, wherein the transmission data in the first transmission format is obtained by converting a data access request of a target application program by the interface gateway according to the first transmission format;
carrying out format conversion processing on the transmission data of the first transmission format to obtain transmission data of a second transmission format, and sending the transmission data of the second transmission format to a service server;
and receiving access data indicated by the data access request, which is obtained by the service server executing the transmission data in the second transmission format, and sending the access data to the target application program through the interface gateway.
In one embodiment, the first transmission format comprises: a text data exchange format; the processor 121 is configured to call the program instructions for performing:
acquiring an interface identifier of the interface gateway, and acquiring a target structure type associated with the interface identifier from a conversion configuration file;
and calling a reflection mechanism to obtain the target structure body indicated by the type of the target structure body, and transmitting the transmission data in the text data exchange format into the target structure body to obtain the transmission data in the second transmission format.
In one embodiment, the target structure type comprises a local structure comprising one or more instance object parameters; the processor 121 is configured to call the program instructions for performing:
reading character string data from the transmission data in the text data exchange format, and determining target instance object parameters corresponding to the character string data from the local structural body;
and carrying out serialization coding processing on the character string data, and taking the coded character string data as the value of the target instance object parameter to obtain transmission data in a second transmission format.
In one embodiment, the target application program comprises any sub-application running in a target client and not required to be installed;
the number of the sub-applications running in the target client is multiple, and any one of the sub-applications running in the target client is associated with different interface gateways;
the target application program is associated with the interface identifier of the corresponding interface gateway based on the type of the business service supported by the target application program.
In one embodiment, the processor 121 is configured to call the program instructions for performing:
acquiring a target user identifier, and acquiring authorization information according to the target user identifier, wherein the authorization information is generated when the service server determines to respond to a data access request sent by a target application program;
and when the authorization information is successfully acquired, executing the step of performing format conversion processing on the transmission data in the first transmission format.
In one embodiment, the processor 121 is configured to call the program instructions for performing:
acquiring a digital identity when logging in the target application program;
and converting the digital identity into a target user identity by adopting an identity conversion rule indicated by a configuration file, wherein the target user identity is used for logging in a target client to which the target application program belongs.
In one embodiment, the processor 121 is configured to call the program instructions for performing:
obtaining the access service type indicated by the data access request from a target field of the transmission data in the first transmission format;
the sending the transmission data in the second transmission format to a service server includes:
and transmitting the transmission data of the second transmission format to a service server matched with the access service type.
In one embodiment, the service server adds the access data to the transmission data in the second transmission format according to the second transmission format to obtain feedback data in the second transmission format; the processor 121 is configured to call the program instructions for performing:
obtaining the feedback data of the second transmission format from the service server, and performing format conversion processing on the feedback data of the second transmission format to obtain the feedback data of the first transmission format;
and sending the feedback data of the first transmission format to the interface gateway, so that the interface gateway analyzes the feedback data of the first transmission format to obtain the access data, and sending the access data to the target application program.
In one embodiment, the second transmission format comprises: a local structure; the processor 121 is configured to call the program instructions for performing:
acquiring the value of each instance object parameter from the local structural body;
and performing deserialization decoding processing on the value of each instance object parameter to obtain corresponding character string data, and using the character string data as feedback data of the first transmission format.
In one embodiment, the transmission data in the first transmission format is obtained by the interface gateway from the target application program to obtain login information, and the login information is authenticated;
and the login information is sent to the interface gateway after the target user logs in the target application program.
In one embodiment, the access data is obtained by the service server calling and executing the transmission data with the second transmission format adapting code.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a particular embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A data processing method, comprising:
acquiring transmission data in a first transmission format from an interface gateway, wherein the transmission data in the first transmission format is obtained by converting a data access request of a target application program by the interface gateway according to the first transmission format;
carrying out format conversion processing on the transmission data of the first transmission format to obtain transmission data of a second transmission format, and sending the transmission data of the second transmission format to a service server;
and receiving access data indicated by the data access request, which is obtained by the service server executing the transmission data in the second transmission format, and sending the access data to the target application program through the interface gateway.
2. The method of claim 1, wherein the first transmission format comprises: a text data exchange format; the performing format conversion processing on the transmission data in the first transmission format to obtain transmission data in a second transmission format includes:
acquiring an interface identifier of the interface gateway, and acquiring a target structure type associated with the interface identifier from a conversion configuration file;
and calling a reflection mechanism to obtain the target structure body indicated by the type of the target structure body, and transmitting the transmission data in the text data exchange format into the target structure body to obtain the transmission data in the second transmission format.
3. The method of claim 2, wherein the target structure type comprises a local structure comprising one or more instance object parameters; the transmitting the transmission data in the text data exchange format into the target structure to obtain the transmission data in the second transmission format includes:
reading character string data from the transmission data in the text data exchange format, and determining target instance object parameters corresponding to the character string data from the local structural body;
and carrying out serialization coding processing on the character string data, and taking the coded character string data as the value of the target instance object parameter to obtain transmission data in a second transmission format.
4. The method of claim 1, wherein the target application comprises any sub-application that runs in a target client and does not need to be installed;
the number of the sub-applications running in the target client is multiple, and any one of the sub-applications running in the target client is associated with different interface gateways;
and the target application program is associated with the interface identifier of the corresponding interface gateway based on the type of the business service supported by the target application program.
5. The method according to claim 1, wherein before performing the format conversion process on the transmission data in the first transmission format, the method comprises:
acquiring a target user identifier, and acquiring authorization information according to the target user identifier, wherein the authorization information is generated when the service server determines to respond to a data access request sent by a target application program;
and executing the step of carrying out format conversion processing on the transmission data of the first transmission format when the authorization information is successfully acquired.
6. The method of claim 5, wherein the obtaining the target user identifier comprises:
acquiring a digital identity when logging in the target application program;
and converting the digital identity into a target user identity by adopting an identity conversion rule indicated by a configuration file, wherein the target user identity is used for logging in a target client to which the target application program belongs.
7. The method of claim 1, further comprising:
obtaining the access service type indicated by the data access request from a target field of the transmission data in the first transmission format;
the sending the transmission data in the second transmission format to a service server includes:
and transmitting the transmission data of the second transmission format to a service server matched with the access service type.
8. The method according to claim 1, wherein the service server adds the access data to the transmission data in the second transmission format according to the second transmission format to obtain the feedback data in the second transmission format; the sending the access data to the target application program through the interface gateway includes:
obtaining the feedback data of the second transmission format from the service server, and performing format conversion processing on the feedback data of the second transmission format to obtain the feedback data of the first transmission format;
and sending the feedback data of the first transmission format to the interface gateway, so that the interface gateway analyzes the feedback data of the first transmission format to obtain the access data, and sending the access data to the target application program.
9. The method of claim 8, wherein the second transmission format comprises: a local structure; the performing format conversion processing on the feedback data in the second transmission format to obtain the feedback data in the first transmission format includes:
acquiring the value of each instance object parameter from the local structural body;
and performing deserialization decoding processing on the value of each instance object parameter to obtain corresponding character string data, and using the character string data as feedback data of the first transmission format.
10. The method according to claim 1, wherein the transmission data in the first transmission format is obtained by the interface gateway after obtaining login information from the target application program and authenticating the login information;
and the login information is sent to the interface gateway after the target user logs in the target application program.
11. The method of claim 1, wherein the access data is obtained by the service server invoking the execution of the transmission data with the second transport format adaptation code.
12. A data processing apparatus, comprising:
an obtaining unit, configured to obtain transmission data in a first transmission format from an interface gateway, where the transmission data in the first transmission format is obtained by converting, by the interface gateway, a data access request of a target application according to the first transmission format;
the conversion unit is used for carrying out format conversion processing on the transmission data of the first transmission format to obtain transmission data of a second transmission format;
a sending unit, configured to send the transmission data in the second transmission format to a service server;
the obtaining unit is further configured to receive access data indicated by the data access request, where the data access request is obtained by the service server executing the transmission data in the second transmission format, and send the access data to the target application program through the interface gateway.
13. A protocol conversion device comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of claims 1 to 11.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the method according to any one of claims 1 to 11.
CN202010595990.3A 2020-06-24 2020-06-24 Data processing method, device, protocol conversion equipment and storage medium Active CN111600909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010595990.3A CN111600909B (en) 2020-06-24 2020-06-24 Data processing method, device, protocol conversion equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010595990.3A CN111600909B (en) 2020-06-24 2020-06-24 Data processing method, device, protocol conversion equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111600909A true CN111600909A (en) 2020-08-28
CN111600909B CN111600909B (en) 2023-06-23

Family

ID=72189179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010595990.3A Active CN111600909B (en) 2020-06-24 2020-06-24 Data processing method, device, protocol conversion equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111600909B (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935177A (en) * 2020-09-23 2020-11-13 武汉中科通达高新技术股份有限公司 Service control method and device
CN112055078A (en) * 2020-09-02 2020-12-08 数字广东网络建设有限公司 Data transmission method and device, computer equipment and storage medium
CN112131021A (en) * 2020-09-21 2020-12-25 上海博泰悦臻电子设备制造有限公司 Access request processing method and device
CN112363699A (en) * 2020-11-16 2021-02-12 佳都新太科技股份有限公司 Interaction method and device applied to multi-language development platform
CN112379951A (en) * 2020-11-19 2021-02-19 北京百度网讯科技有限公司 Service interface access method, device, electronic equipment and medium
CN112422565A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Message processing method and device, storage medium and electronic device
CN112565337A (en) * 2020-11-06 2021-03-26 北京奇艺世纪科技有限公司 Request transmission method, server, client, system and electronic equipment
CN112733190A (en) * 2021-01-20 2021-04-30 北京联创信安科技股份有限公司 Data processing method, device, electronic equipment, system and storage medium
CN113032089A (en) * 2021-01-18 2021-06-25 中电普信(北京)科技发展有限公司 Distributed simulation service construction method based on API gateway
CN113132394A (en) * 2021-04-22 2021-07-16 中国建设银行股份有限公司 Request processing system, method and device, storage medium and electronic equipment
CN113132114A (en) * 2021-04-22 2021-07-16 广州市品高软件股份有限公司 Method, device, medium and equipment for realizing multi-cloud-pipe unified interface gateway
CN113170004A (en) * 2021-03-15 2021-07-23 华为技术有限公司 Data transmission method, device and system
CN113676483A (en) * 2021-08-26 2021-11-19 中国联合网络通信集团有限公司 Multi-block chain access management method and system and capacity opening device thereof
CN113867817A (en) * 2021-09-24 2021-12-31 深圳Tcl新技术有限公司 Data processing method and device, electronic equipment and storage medium
CN113961489A (en) * 2021-10-28 2022-01-21 苏州浪潮智能科技有限公司 Data access method, device, equipment and storage medium
CN113992742A (en) * 2021-09-17 2022-01-28 深圳云天励飞技术股份有限公司 Interface access method, device, equipment and storage medium
CN114422377A (en) * 2021-12-30 2022-04-29 北京润科通用技术有限公司 Method and device for generating data forwarding model
CN114499930A (en) * 2021-12-13 2022-05-13 奇安信科技集团股份有限公司 Method and device for processing multi-protocol single sign-on request
CN114615137A (en) * 2022-03-25 2022-06-10 浙江捷创方舟数字技术有限公司 5G data transmission method and device
CN114615332A (en) * 2022-02-24 2022-06-10 阿里巴巴(中国)有限公司 Cloud product access method, device and system, storage medium and computer terminal
CN114706919A (en) * 2022-06-06 2022-07-05 南京安元科技有限公司 Distributed storage data storage compatible method and system
CN114995813A (en) * 2022-06-28 2022-09-02 上海中汇亿达金融信息技术有限公司 Exchange API module and related exchange application platform
CN116132385A (en) * 2022-08-18 2023-05-16 马上消费金融股份有限公司 Data forwarding method, device, computer equipment and storage medium
CN116708579A (en) * 2023-08-04 2023-09-05 浪潮电子信息产业股份有限公司 Data access method, device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022431A (en) * 2007-03-09 2007-08-22 中国移动通信集团福建有限公司 Interface gateway and interface gateway data processing method
CN109194604A (en) * 2018-06-05 2019-01-11 平安科技(深圳)有限公司 Interface automatic method, system, computer equipment and storage medium
CN109902274A (en) * 2019-02-22 2019-06-18 今天东翼科技有限公司 A kind of method and system converting json character string to thrift binary stream
CN111049854A (en) * 2019-12-25 2020-04-21 微民保险代理有限公司 Service request transmission method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022431A (en) * 2007-03-09 2007-08-22 中国移动通信集团福建有限公司 Interface gateway and interface gateway data processing method
CN109194604A (en) * 2018-06-05 2019-01-11 平安科技(深圳)有限公司 Interface automatic method, system, computer equipment and storage medium
CN109902274A (en) * 2019-02-22 2019-06-18 今天东翼科技有限公司 A kind of method and system converting json character string to thrift binary stream
CN111049854A (en) * 2019-12-25 2020-04-21 微民保险代理有限公司 Service request transmission method and device

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112055078A (en) * 2020-09-02 2020-12-08 数字广东网络建设有限公司 Data transmission method and device, computer equipment and storage medium
CN112055078B (en) * 2020-09-02 2023-10-03 数字广东网络建设有限公司 Data transmission method, device, computer equipment and storage medium
CN112131021A (en) * 2020-09-21 2020-12-25 上海博泰悦臻电子设备制造有限公司 Access request processing method and device
CN112131021B (en) * 2020-09-21 2024-01-12 博泰车联网科技(上海)股份有限公司 Access request processing method and device
CN111935177A (en) * 2020-09-23 2020-11-13 武汉中科通达高新技术股份有限公司 Service control method and device
CN112565337A (en) * 2020-11-06 2021-03-26 北京奇艺世纪科技有限公司 Request transmission method, server, client, system and electronic equipment
CN112363699A (en) * 2020-11-16 2021-02-12 佳都新太科技股份有限公司 Interaction method and device applied to multi-language development platform
CN112363699B (en) * 2020-11-16 2022-08-02 佳都科技集团股份有限公司 Interaction method and device applied to multi-language development platform
CN112422565A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Message processing method and device, storage medium and electronic device
CN112379951A (en) * 2020-11-19 2021-02-19 北京百度网讯科技有限公司 Service interface access method, device, electronic equipment and medium
CN113032089A (en) * 2021-01-18 2021-06-25 中电普信(北京)科技发展有限公司 Distributed simulation service construction method based on API gateway
CN113032089B (en) * 2021-01-18 2023-02-28 中电普信(北京)科技发展有限公司 Distributed simulation service construction method based on API gateway
CN112733190A (en) * 2021-01-20 2021-04-30 北京联创信安科技股份有限公司 Data processing method, device, electronic equipment, system and storage medium
CN112733190B (en) * 2021-01-20 2024-03-08 北京联创信安科技股份有限公司 Data processing method, device, electronic equipment, system and storage medium
CN113170004A (en) * 2021-03-15 2021-07-23 华为技术有限公司 Data transmission method, device and system
CN113132114B (en) * 2021-04-22 2023-03-10 广州市品高软件股份有限公司 Method, device, medium and equipment for realizing multi-cloud-pipe unified interface gateway
CN113132394B (en) * 2021-04-22 2023-02-03 中国建设银行股份有限公司 Request processing system, method and device, storage medium and electronic equipment
CN113132394A (en) * 2021-04-22 2021-07-16 中国建设银行股份有限公司 Request processing system, method and device, storage medium and electronic equipment
CN113132114A (en) * 2021-04-22 2021-07-16 广州市品高软件股份有限公司 Method, device, medium and equipment for realizing multi-cloud-pipe unified interface gateway
CN113676483A (en) * 2021-08-26 2021-11-19 中国联合网络通信集团有限公司 Multi-block chain access management method and system and capacity opening device thereof
CN113676483B (en) * 2021-08-26 2023-04-07 中国联合网络通信集团有限公司 Multi-block chain access management method and system and capacity opening device thereof
CN113992742B (en) * 2021-09-17 2023-10-10 深圳云天励飞技术股份有限公司 Interface access method, device, equipment and storage medium
CN113992742A (en) * 2021-09-17 2022-01-28 深圳云天励飞技术股份有限公司 Interface access method, device, equipment and storage medium
CN113867817A (en) * 2021-09-24 2021-12-31 深圳Tcl新技术有限公司 Data processing method and device, electronic equipment and storage medium
CN113961489A (en) * 2021-10-28 2022-01-21 苏州浪潮智能科技有限公司 Data access method, device, equipment and storage medium
CN113961489B (en) * 2021-10-28 2023-07-14 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for data access
CN114499930A (en) * 2021-12-13 2022-05-13 奇安信科技集团股份有限公司 Method and device for processing multi-protocol single sign-on request
CN114422377A (en) * 2021-12-30 2022-04-29 北京润科通用技术有限公司 Method and device for generating data forwarding model
CN114422377B (en) * 2021-12-30 2023-09-22 北京润科通用技术有限公司 Method and device for generating data forwarding model
CN114615332A (en) * 2022-02-24 2022-06-10 阿里巴巴(中国)有限公司 Cloud product access method, device and system, storage medium and computer terminal
CN114615137A (en) * 2022-03-25 2022-06-10 浙江捷创方舟数字技术有限公司 5G data transmission method and device
CN114615137B (en) * 2022-03-25 2024-05-28 浙江捷创方舟数字技术有限公司 5G data transmission method and device
CN114706919A (en) * 2022-06-06 2022-07-05 南京安元科技有限公司 Distributed storage data storage compatible method and system
CN114995813B (en) * 2022-06-28 2023-12-19 上海中汇亿达金融信息技术有限公司 Exchange API module and related exchange application platform
CN114995813A (en) * 2022-06-28 2022-09-02 上海中汇亿达金融信息技术有限公司 Exchange API module and related exchange application platform
CN116132385A (en) * 2022-08-18 2023-05-16 马上消费金融股份有限公司 Data forwarding method, device, computer equipment and storage medium
CN116708579A (en) * 2023-08-04 2023-09-05 浪潮电子信息产业股份有限公司 Data access method, device, electronic equipment and computer readable storage medium
CN116708579B (en) * 2023-08-04 2024-01-12 浪潮电子信息产业股份有限公司 Data access method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111600909B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN111600909B (en) Data processing method, device, protocol conversion equipment and storage medium
JP6912469B2 (en) Access request conversion method and device
US6757899B2 (en) Dynamic CORBA gateway for CORBA and non-CORBA clients and services
US7665094B2 (en) Systems and methods for mobile communication
CN109815025B (en) Service model calling method, device and storage medium
US20140344403A1 (en) Method, system and computer program product for providing composite web application
US10908971B1 (en) Method and system for generating a customizable connector
CN113612686A (en) Traffic scheduling method and device and electronic equipment
CN111988418B (en) Data processing method, device, equipment and computer readable storage medium
JP2006195979A (en) Web application architecture
CN113992755A (en) Request processing method, system, equipment and storage medium based on micro service gateway
CN113660307B (en) Algorithm comprehensive integrated service system
JP5039946B2 (en) Technology for relaying communication between client devices and server devices
CN113360377B (en) Test method and device
US9503351B1 (en) Deployment feedback for system updates to resources in private networks
AU2018390863B2 (en) Computer system and method for extracting dynamic content from websites
Kang et al. Android RMI: a user-level remote method invocation mechanism between Android devices
WO2017166166A1 (en) System and method for providing runtime tracing for web-based client accessing transactional middleware platform using extension interface
CN116668520A (en) Gateway-based service arrangement method, system, equipment and storage medium
CN114285859B (en) Data processing method, device, equipment and storage medium for middle layer block chain service
US11811884B1 (en) Topic subscription provisioning for communication protocol
CN112929453A (en) Method and device for sharing session data
CN104965909A (en) Dynamic web content request handling method
CN112583776A (en) Network resource processing method, device and system, storage medium and electronic equipment
US10044728B1 (en) Endpoint segregation to prevent scripting attacks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant