CN113285997A - Data processing method, device, medium and product based on heterogeneous system - Google Patents

Data processing method, device, medium and product based on heterogeneous system Download PDF

Info

Publication number
CN113285997A
CN113285997A CN202110545610.XA CN202110545610A CN113285997A CN 113285997 A CN113285997 A CN 113285997A CN 202110545610 A CN202110545610 A CN 202110545610A CN 113285997 A CN113285997 A CN 113285997A
Authority
CN
China
Prior art keywords
data processing
application service
service system
processing request
request message
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
CN202110545610.XA
Other languages
Chinese (zh)
Other versions
CN113285997B (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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202110545610.XA priority Critical patent/CN113285997B/en
Publication of CN113285997A publication Critical patent/CN113285997A/en
Application granted granted Critical
Publication of CN113285997B publication Critical patent/CN113285997B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a data processing method, equipment, a medium and a product based on a heterogeneous system, wherein the method comprises the following steps: the access layer receives a data processing request message sent by the terminal equipment, wherein the data processing request message comprises a function type; acquiring system configuration information in an access layer; sending the data processing request message to a corresponding application service system according to the system configuration information; and if the updated application service system tangent plane layer is determined to receive the data processing request message, acquiring a routing configuration table, and determining whether the updated application service system processes the data processing request message or not according to the routing configuration table and the function type. Configuration flexibility is effectively provided, errors in data processing performed by the upgraded application service system are effectively reduced, and the accuracy of data processing is improved.

Description

Data processing method, device, medium and product based on heterogeneous system
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a data processing method, data processing equipment, data processing media and a data processing product based on a heterogeneous system.
Background
With the continuous development of big data technology, each application service system is also continuously upgraded. In the upgrading process of the application service system, it is necessary to guarantee that the application service is continuously and stably provided for the user.
In the prior art, generally, a terminal device configures access domain names of different requests to determine whether the terminal device accesses an upgraded application service system or an original application service system. The configuration mode needs to be configured for each terminal device, the configuration flexibility is low, and when the upgraded application service system fails, the accessed application service system cannot be switched in time, so that the accuracy of data processing is low.
Disclosure of Invention
Embodiments of the present invention provide a data processing method, device, medium, and product based on a heterogeneous system, so as to solve the technical problems in the prior art that configuration flexibility of an accessed application service system is low, and when an upgraded application service system fails, switching of the accessed application service system cannot be performed in time, which results in low accuracy of data processing.
In a first aspect, an embodiment of the present invention provides a data processing method based on a heterogeneous system, where the method is applied to an upgraded application service system, where the upgraded application service system includes an access layer and a slice layer, and the method includes:
receiving a data processing request message sent by terminal equipment through an access layer, wherein the data processing request message comprises a function type;
acquiring system configuration information in an access layer;
sending the data processing request message to a corresponding application service system according to the system configuration information;
if the updated application service system tangent plane layer is determined to receive the data processing request message, a routing configuration table is obtained, and whether the updated application service system processes the data processing request message or not is determined according to the routing configuration table and the function type.
In a second aspect, an embodiment of the present invention provides a data processing device based on a heterogeneous system, where the device is located in an upgraded application service system, the upgraded application service system includes an access layer and a slice layer, and the device includes:
the receiving module is used for receiving a data processing request message sent by the terminal equipment through an access layer, wherein the data processing request message comprises a function type;
the acquisition module is used for acquiring system configuration information in an access layer;
the sending module is used for sending the data processing request message to a corresponding application service system according to the system configuration information;
and the determining module is used for acquiring a routing configuration table if the upgraded application service system tangent plane layer is determined to receive the data processing request message, and determining whether the upgraded application service system processes the data processing request message according to the routing configuration table and the function type.
In a third aspect, an embodiment of the present invention provides a data processing device based on a heterogeneous system, including: at least one processor, a memory, and a transceiver;
the processor, the memory and the transceiver are interconnected through a circuit;
the memory stores computer-executable instructions; the transceiver is used for receiving and transmitting data with the original application service system, the terminal equipment and the upgraded database;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of any one of the first aspects.
In a fourth aspect, the present invention provides a computer-readable storage medium, in which computer-executable instructions are stored, and when executed by a processor, the computer-executable instructions are used to implement the method according to any one of the first aspect.
In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes a computer program that, when executed by a processor, implements the method of any one of the first aspect.
According to the data processing method, the data processing equipment, the data processing medium and the data processing product based on the heterogeneous system, the data processing request message sent by the terminal equipment is received through the access layer, and the data processing request message comprises the function type; acquiring system configuration information in an access layer; sending the data processing request message to a corresponding application service system according to the system configuration information; and if the updated application service system tangent plane layer is determined to receive the data processing request message, acquiring a routing configuration table, and determining whether the updated application service system processes the data processing request message or not according to the routing configuration table and the function type. Since the configuration information of whether the terminal device accesses the upgraded application service system or the original application service system is placed in the upgraded application service system, it is not necessary for each terminal device to perform configuration again. When the configuration information is modified, only the updated application service system needs to be modified, so that the flexibility of configuration is effectively provided. And when the upgraded application service system fails, the corresponding configuration information in the upgraded application service system can be modified in time, so that errors in data processing performed by the upgraded application service system are effectively reduced, and the accuracy of data processing is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a diagram of a network architecture in which a data processing method based on a heterogeneous system according to an embodiment of the present invention can be implemented;
fig. 2 is a schematic flowchart of a data processing method based on a heterogeneous system according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a data processing method based on a heterogeneous system according to another embodiment of the present invention;
fig. 4 is a schematic flowchart of a heterogeneous system in a data processing method based on a heterogeneous system according to another embodiment of the present invention;
fig. 5 is another schematic flow chart of a heterogeneous system in a data processing method based on a heterogeneous system according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data processing device based on a heterogeneous system according to an embodiment of the present invention;
fig. 7 is a block diagram of a data processing apparatus based on a heterogeneous system for implementing a data processing method based on a heterogeneous system according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
For a clear understanding of the technical solutions of the present application, a detailed description of the prior art solutions is first provided.
In the prior art, in the process of upgrading an application service system, in order to ensure that a continuous and stable application service is provided for a user, both an original application service system and an upgraded application service system participate in the application service provided for the user. Specifically, the terminal device of the user configures access domain names of different requests to determine whether the terminal device accesses the upgraded application service system or the original application service system. The configuration mode needs to be configured for each terminal device, and the configuration flexibility is low. And the application service system after upgrading has an unstable problem, so there is a risk of failure, and after the application service system after upgrading has a failure, the application service system that can not be accessed by modifying the domain name of the access to each terminal device quickly. And then the switching of the accessed application service system cannot be performed in time, so that after the application service system fails, the data processing performed by the application service system is wrong, and the accuracy of the data processing is low.
Therefore, in the face of the technical problems in the prior art, the inventor finds, through creative research, that configuration information of whether the terminal device accesses the upgraded application service system or the original application service system can be placed at the back end, and specifically can be placed in an access layer of the upgraded application service system. After the access layer receives the data processing request sent by the terminal equipment at the front end, the access layer determines whether the data processing request is sent to the original application service system or the tangent plane layer of the upgraded application service system according to the system configuration information pre-configured in the access layer. And if the updated application service system tangent plane layer is determined to receive the data processing request message, acquiring a routing configuration table storing mapping relations between various preset function types and the application service system, and determining whether the updated application service system processes the data processing request message according to the routing configuration table and the function type corresponding to the data processing request. Since the configuration information of whether the terminal device accesses the upgraded application service system or the original application service system is placed in the upgraded application service system, it is not necessary for each terminal device to perform configuration again. When the configuration information is modified, only the updated application service system needs to be modified, so that the flexibility of configuration is effectively provided. And when the upgraded application service system fails, the corresponding configuration information in the upgraded application service system can be modified in time, so that errors in data processing performed by the upgraded application service system are effectively reduced, and the accuracy of data processing is improved.
Therefore, the inventor proposes a technical scheme of the embodiment of the invention based on the above creative discovery. The following describes a network architecture of a data acquisition method based on a distributed system according to an embodiment of the present invention.
Fig. 1 is a network architecture diagram that can implement the data processing method based on the heterogeneous system according to the embodiment of the present invention, and as shown in fig. 1, the network architecture of the data processing method based on the heterogeneous system according to the embodiment includes: the terminal equipment 1, the upgraded application service system 2 and the original application service system 3. The upgraded application service system 2 comprises: access layer 21, section layer 22. The upgraded application service system 2 is in communication connection with the terminal device 1 through the access layer 21 and in communication connection with the original application service system 3 through the tangent plane layer 22. The upgraded application service system 2 may access the upgraded database 23. The native application service system 3 may access the native database 31.
The data processing method based on the heterogeneous system provided by the embodiment of the invention can be applied to various application scenes of various industries with an original application service system and an upgraded application service system and providing application services for users.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Example one
Fig. 2 is a schematic flowchart of a data processing method based on a heterogeneous system according to an embodiment of the present invention, and as shown in fig. 2, an execution main body of the data processing method based on the heterogeneous system according to the embodiment is a data processing device based on the heterogeneous system, where the data processing device based on the heterogeneous system is located in an upgraded application service system, and the upgraded application service system includes an access layer and a slice layer. The data processing method based on the heterogeneous system provided by this embodiment includes the following steps:
step 101, receiving a data processing request message sent by a terminal device through an access layer, wherein the data processing request message includes a function type.
In this embodiment, the original application service system may be an application service system built based on a mainframe. The upgraded application service system can be an application service system built by operating systems such as Windows, Linux, Unix and the like. The upgraded application service system comprises an access layer and a tangent plane layer.
The access layer is a proxy layer for receiving the data processing request, and may use techniques such as F5 and nginx to process and forward the data processing request.
In this embodiment, when the terminal device has a data processing requirement, the data processing request packet may be triggered through the corresponding application service client or the corresponding web page. And when the user triggers the data processing request message, the access layer of the upgraded application service system is defaulted to receive the data processing request message.
Wherein, the data processing request message includes the function type. As in the transaction processing request message, the function types may be represented using transaction codes, each transaction code representing a different function type.
Step 102, system configuration information in an access stratum is obtained.
In this embodiment, system configuration information is pre-stored in the access layer, where the system configuration information is identification information of the upgraded application service system or identification information of the original application service system. And if the system configuration information is the identification information of the upgraded application service system under the default condition.
The identification information of the upgraded application service system may be an access domain name of the upgraded application service system, or other information uniquely indicating the upgraded application service system. The representation information of the original application service system is an access domain name of the original application service system or other information which uniquely represents the original application service system.
And 103, sending the data processing request message to a corresponding application service system according to the system configuration information.
In this embodiment, if the system configuration information is identification information of the upgraded application service system, the access domain name and the address of the tangent plane layer of the upgraded application service system are obtained, and the data processing request packet is sent to the tangent plane layer of the upgraded application service system. And if the system configuration information is determined to be the original application service system identification information, acquiring the access domain name of the original application service system, and sending the data processing request message to the original application service system.
The message format of the data processing request message is a message format meeting the requirements of the upgraded application service system. Such as in json format. If the system configuration information is determined to be the original application service system identification information, the message format of the data processing request message needs to be converted before the data processing request message is sent to the original application service system. Optionally, if the message format meeting the requirements of the original application service system is a streaming message format, the data processing request message in the json format is converted into the streaming message format, and then the data processing request message is sent to the original application service system.
And step 104, if the upgraded application service system tangent plane layer is determined to receive the data processing request message, acquiring a routing configuration table, and determining whether the upgraded application service system processes the data processing request message according to the routing configuration table and the function type.
In this embodiment, after the access layer sends the data processing request message to the corresponding application service system according to the system configuration information, it is determined whether the upgraded application service system facet layer receives the data processing request message. And if so, acquiring a routing configuration table. The routing configuration table stores mapping relations between a plurality of preset function types and the application service systems, so that the application service system with the mapping relation with the function type corresponding to the data processing request message is determined to be the upgraded application service system or the original application service system according to the routing configuration table. And if the application service system is determined to be the upgraded application service system, determining that the upgraded application service system processes the data processing request message. Otherwise, if the data processing request message is determined to be the original application service system, the original application service system is determined to process the data processing request message.
In the data processing method based on the heterogeneous system provided by this embodiment, a data processing request message sent by a terminal device is received through an access layer, where the data processing request message includes a function type; acquiring system configuration information in an access layer; sending the data processing request message to a corresponding application service system according to the system configuration information; and if the updated application service system tangent plane layer is determined to receive the data processing request message, acquiring a routing configuration table, and determining whether the updated application service system processes the data processing request message or not according to the routing configuration table and the function type. Since the configuration information of whether the terminal device accesses the upgraded application service system or the original application service system is placed in the upgraded application service system, it is not necessary for each terminal device to perform configuration again. When the configuration information is modified, only the updated application service system needs to be modified, so that the flexibility of configuration is effectively provided. And when the upgraded application service system fails, the corresponding configuration information in the upgraded application service system can be modified in time, so that errors in data processing performed by the upgraded application service system are effectively reduced, and the accuracy of data processing is improved.
Example two
Fig. 3 is a schematic flowchart of a data processing method based on a heterogeneous system according to another embodiment of the present invention, and as shown in fig. 3, the data processing method based on a heterogeneous system according to this embodiment further refines step 102 and step 103 on the basis of the data processing method based on a heterogeneous system according to the first embodiment of the present invention, and further includes other steps, so that the data processing method based on a heterogeneous system according to this embodiment includes the following steps.
Step 201, receiving a data processing request message sent by a terminal device through an access layer, where the data processing request message includes a function type.
In this embodiment, the message format of the data processing request message received by the access layer is json format.
In this embodiment, the implementation manner of step 201 is similar to that of step 101 in the first embodiment of the present invention, and is not described in detail here.
Step 202, system configuration information in the access stratum is obtained.
Optionally, in this embodiment, as shown in fig. 4, the default system configuration information is identification information of the upgraded application service system.
Step 203, sending the data processing request message to the corresponding application service system according to the system configuration information.
Optionally, in this embodiment, step 203 includes the following steps:
step 2031, if it is determined that the system configuration information is the upgraded application service system identification information, sending the data processing request message to the tangent plane layer of the upgraded application service system.
In this embodiment, as shown in fig. 4, if the system configuration information is identification information of the upgraded application service system, the access domain name and the address of the tangent plane layer of the upgraded application service system are obtained, and the data processing request packet is sent to the tangent plane layer of the upgraded application service system.
After the tangent plane layer of the upgraded application service system receives the data processing request message, if the upgraded application service system determines to process the data processing request message according to the configuration table and the function type corresponding to the data processing request message, the data processing request message is distributed to a server in a certain cluster, and one server in the cluster performs corresponding processing on the data processing request message.
Step 2032, if the system configuration information is determined to be the original application service system identification information, sending the data processing request message to the original application service system.
In this embodiment, if it is determined that the system configuration information is the original application service system identification information, first format conversion is performed on the data processing request packet, and the first format conversion is performed to satisfy the format conversion required by the packet in the original application service system. And if the format meeting the message requirement in the original application service system is a streaming message, converting the data processing request message from the json format into the streaming message format. Then, as shown in fig. 5, the access domain name of the original application service system is obtained, and the data processing request packet in the streaming packet format is sent to the original application service system. The original application service system analyzes the data processing request message, determines the data processing type to be a write-in data type or a read data type, and then accesses the original database to perform corresponding data processing.
Step 204, if it is determined that the upgraded tangent plane layer of the application service system receives the data processing request message, a routing configuration table is obtained.
The routing configuration table stores mapping relations between a plurality of preset function types and the application service system. For example, for each preset function type, there is a corresponding configuration state. And if the configuration state value is 1, determining that the preset function type and the upgraded application service system have a mapping relation, and if the configuration state value is 0, determining that the preset function type and the original application service system have a mapping relation.
Step 205, determining whether the upgraded application service system processes the data processing request message according to the routing configuration table and the function type, if so, executing step 206, otherwise, executing step 207.
Optionally, in this embodiment, step 205 includes the following steps:
and step 2051, judging whether the application service system with the mapping relation with the function type is the upgraded application service system according to the routing configuration table.
Step 2052, if the application service system is determined to be the upgraded application service system, it is determined that the data processing request message is processed by the upgraded application service system.
Step 2053, if the data processing request message is determined to be the original application service system, determining that the original application service system processes the data processing request message.
In this embodiment, a function type corresponding to the data processing request packet is queried in the routing configuration table, after the function type is queried in the routing configuration table, a value of a corresponding configuration state is determined, and if the value of the configuration state is 1, it is determined that an application service system having a mapping relationship with the function type is an upgraded application service system, and it is determined that the upgraded application service system processes the data processing request packet. Otherwise, if the value of the configuration state is 0, determining that the application service system having the mapping relation with the function type is the original application service system, and determining that the original application service system processes the data processing request message.
Step 206, analyzing the data processing request message; accessing the upgraded database according to the analysis result to perform reading operation or writing operation of corresponding data; and generating a data processing response message, and sending the data processing response message to the terminal equipment through the access layer.
In this embodiment, the data processing request packet is analyzed to obtain an analysis result, where the analysis result includes a data processing type of the data processing request packet. The data processing type is a write data type or a read data type. As shown in fig. 4, if the data type is a write data type, the corresponding data is written into the upgraded database. And if the data type is the read data type, reading corresponding data from the upgraded database. After the data processing is executed, a data response message is generated, the format of the data response message can be json format, and then the data response message is sent to the terminal equipment through the access layer.
Step 207, performing a first format conversion on the data processing request message at the tangent plane layer; the first format is converted into a format meeting the message requirement in the original application service system.
In this embodiment, if it is determined that the original application service system processes the data processing request packet, first, a first format conversion is performed on the data processing request packet at the tangent layer. For example, the json format data processing request message is converted into a streaming format data processing request message. The data processing request message in the streaming format meets the message requirement in the original application service system.
And step 208, sending the format-converted data processing request message to the original application service system, so that the original application service system analyzes the format-converted data processing request message, and accesses the original database according to the analysis result to perform reading operation or writing operation of corresponding data.
In this embodiment, the original application service system parses the data processing request packet to obtain a parsing result, where the parsing result includes a data processing type of the data processing request packet. As shown in fig. 5, if the data type is a write data type, the corresponding data is written into the original database. And if the data type is the read data type, reading corresponding data from the original database. After the data processing is performed, a data response message is generated, and the format of the data response message may be a streaming format.
Step 209, receive the data processing response message sent by the original application service system.
And step 210, performing second format conversion on the data processing response message, wherein the second format conversion meets the format conversion required by the message in the upgraded application service system.
Step 211. And sending the data processing response message after the format conversion to the terminal equipment through the access layer.
In this embodiment, the second format conversion is performed on the data processing response packet at the tangent plane layer. For example, the data processing response message in the streaming format is converted into the data processing response message in the json format. The data processing response message in the json format meets the message requirement in the upgraded application service system, and is further sent to the terminal equipment through the access layer, so that the terminal equipment can identify the data processing response message.
In the data processing method based on the heterogeneous system provided by this embodiment, after it is determined that the original application service system processes the data processing request packet, a first format conversion is performed on the data processing request packet at a tangent plane layer; converting the first format into a format meeting the message requirement in the original application service system; sending the data processing request message after format conversion to an original application service system so that the original application service system analyzes the data processing request message after format conversion, and accessing an original database according to an analysis result so as to read or write corresponding data; receiving a data processing response message sent by an original application service system; performing second format conversion on the data processing response message, wherein the second format conversion meets the format conversion required by the message in the upgraded application service system; and sending the data processing response message after the format conversion to the terminal equipment through the access layer. When the upgraded application service system and the original application service system interact data, the data format is converted, and smooth interaction can be ensured.
As an optional implementation manner, in this embodiment, on the basis of the data processing method based on the heterogeneous system provided in the first embodiment or the second embodiment, the method further includes the following steps:
step 301, receiving, at the tangent plane layer, update information of the routing configuration table sent by the monitoring system, where the update information includes: the updated function type and the corresponding updated identification information of the application service system.
The updated information of the routing configuration table is generated after the monitoring system monitors that the error rate or response time of data processing corresponding to a certain function type in the upgraded application service system is greater than a corresponding threshold value.
As shown in fig. 4, in this embodiment, the monitoring system monitors the data processing process of the upgraded application service system, and monitors the error rate and response time of data processing corresponding to each function type. And comparing the error rate of the data processing corresponding to each function type with a preset error rate threshold value. And comparing the response time of the data processing corresponding to each function with a preset response time threshold. And if the monitoring system determines that the error rate of data processing corresponding to a certain function type is greater than a preset error rate threshold value or the response time corresponding to the certain function type is greater than a preset response time threshold value, sending the update information of the routing configuration table to the updated section layer of the application service system.
Wherein, the updating information includes: the updated function type and the corresponding updated identification information of the application service system. The updated identification information of the application service system is the identification information of the original application service system.
Step 302, updating the routing configuration table correspondingly according to the updating information of the routing configuration table.
Specifically, in this embodiment, the upgraded application service system updates the application service system corresponding to the function type in the routing configuration table. Specifically, the value of the original configuration state having the mapping relationship with the function type is updated from 1 to 0, that is, the application service system having the mapping relationship with the function type is updated from the upgraded application service system to the original application service system. When the upgraded application service system fails to process the data processing request message corresponding to the function type, the corresponding routing information can be updated in time, so that the original application service system processes the data processing request message after receiving the data processing request message of the function type again, and the accuracy of the data processing of the function type is ensured.
As an optional implementation manner, in this embodiment, on the basis of the data processing method based on the heterogeneous system provided in the first embodiment or the second embodiment, the method further includes the following steps:
step 401, receiving, at the access layer, update information of system configuration information sent by the monitoring system, where the update information includes identification information of the updated application service system.
The updating information of the system configuration information is generated after the monitoring system monitors that the error rate or the response time of data processing corresponding to more than half of the function types in the upgraded application service system is greater than the corresponding threshold value.
And the updated identification information of the application service system is the identification information of the original application service system.
As shown in fig. 4, in this embodiment, the monitoring system constantly monitors the data processing process of the upgraded application service system, and monitors the error rate and response time of data processing corresponding to each function type. And if the error rate of data processing corresponding to more than half of the function types in the upgraded application service system is monitored to be greater than a preset error rate threshold value, or the response time of the data processing corresponding to more than half of the function types in the upgraded application service system is monitored to be greater than a preset response time threshold value, sending update information of system configuration information to an access layer of the upgraded application service system.
Step 402, updating the system configuration information according to the update information of the system configuration information.
Specifically, in this embodiment, the upgraded application service system updates the system configuration information. And updating the system configuration information into the identification information of the original application service system. When the upgraded application service system fails to process the data processing request message corresponding to more than half of the function types, the system configuration information can be updated in time, so that the original application service system can directly process the data processing request message after receiving the data processing request message again, and the accuracy of data processing is ensured.
It should be noted that, after the upgraded application service system is cleared of the fault, the system configuration information in the access layer is updated to the identification information of the upgraded application service system.
EXAMPLE III
Fig. 6 is a schematic structural diagram of a data processing device based on a heterogeneous system according to an embodiment of the present invention, and as shown in fig. 6, the data processing device based on a heterogeneous system according to this embodiment is located in an upgraded application service system. The upgraded application service system comprises an access layer and a tangent layer. The data processing apparatus 50 based on the heterogeneous system provided in this embodiment includes: a receiving module 51, an obtaining module 52, a sending module 53 and a determining module 54.
The receiving module 51 is configured to receive, through the access layer, a data processing request message sent by the terminal device, where the data processing request message includes a function type. An obtaining module 52, configured to obtain system configuration information in the access stratum. And a sending module 53, configured to send the data processing request packet to a corresponding application service system according to the system configuration information. The determining module 54 is configured to, if it is determined that the tangent plane layer of the upgraded application service system receives the data processing request packet, obtain the routing configuration table, and determine whether the upgraded application service system processes the data processing request packet according to the routing configuration table and the function type.
Optionally, the routing configuration table stores mapping relationships between a plurality of preset function types and the application service system.
Correspondingly, when determining whether the application service system having a mapping relationship with the function type is the upgraded application service system according to the routing configuration table, the determining module 54 is specifically configured to:
judging whether the application service system with the mapping relation with the function type is an upgraded application service system or not according to the routing configuration table; if the application service system is determined to be the upgraded application service system, determining that the upgraded application service system processes the data processing request message; and if the data processing request message is determined to be the original application service system, determining that the original application service system processes the data processing request message.
Optionally, the data processing device based on the heterogeneous system provided in this embodiment further includes: and a format conversion module.
The format conversion module is also used for carrying out first format conversion on the data processing request message in the section layer; the first format is converted into a format meeting the message requirement in the original application service system. The sending module 53 is further configured to send the format-converted data processing request message to an original application service system, so that the original application service system analyzes the format-converted data processing request message, and accesses an original database according to an analysis result to perform a reading operation or a writing operation of corresponding data. The receiving module 51 is further configured to receive a data processing response message sent by the original application service system. And the format conversion module is also used for sending the data processing response message after the format conversion to the terminal equipment through the access layer.
Optionally, the data processing device based on the heterogeneous system provided in this embodiment further includes: the device comprises an analysis module, an access module and a generation module.
The analysis module is used for analyzing the data processing request message. And the access module is used for accessing the upgraded database according to the analysis result so as to read or write the corresponding data. And the generating module is used for generating a data processing response message and sending the data processing response message to the terminal equipment through the access layer.
Optionally, the sending module 53, when sending the data processing request packet to the corresponding application service system according to the system configuration information, is specifically configured to: if the system configuration information is determined to be the identification information of the upgraded application service system, sending the data processing request message to the tangent plane layer of the upgraded application service system; and if the system configuration information is determined to be the original application service system identification information, sending the data processing request message to the original application service system.
Optionally, the data processing device based on the heterogeneous system provided in this embodiment further includes: and updating the module.
The sending module 53 is further configured to receive, at the tangent plane layer, update information of the routing configuration table sent by the monitoring system, where the update information includes: the updated function type and the corresponding updated identification information of the application service system. And the updating module is used for correspondingly updating the routing configuration table according to the updating information of the routing configuration table. The updated information of the routing configuration table is generated after the monitoring system monitors that the error rate or response time of data processing corresponding to a certain function type in the upgraded application service system is greater than a corresponding threshold value.
Optionally, the sending module 53 is further configured to receive, at the access layer, update information of the system configuration information sent by the monitoring system, where the update information includes identification information of the updated application service system. And the updating module is also used for updating the system configuration information according to the updating information of the system configuration information. The updating information of the system configuration information is generated after the monitoring system monitors that the error rate or the response time of data processing corresponding to more than half of the function types in the upgraded application service system is greater than the corresponding threshold value.
The data processing device based on the heterogeneous system provided in this embodiment may execute the technical solutions of the method embodiments shown in fig. 2 and fig. 3, and the implementation principle and the technical effect of the data processing device are similar to those of the method embodiments shown in fig. 2 and fig. 3, and are not described in detail here.
Example four
Fig. 7 is a block diagram of a data processing device based on a heterogeneous system for implementing a data processing method based on a heterogeneous system according to an embodiment of the present invention, and as shown in fig. 7, a data processing device 60 based on a heterogeneous system according to the present embodiment includes: at least one processor 61, a memory 62 and a transceiver 63.
The processor 61, the memory 62 and the transceiver 63 are electrically interconnected.
In the present embodiment, memory 62 stores computer-executable instructions; and a transceiver 62 for transceiving data with the original application service system, the terminal device and the upgraded database.
The at least one processor 61 executes the computer-executable instructions stored by the memory 62, so that the at least one processor 61 performs the method of the first or second embodiment.
EXAMPLE five
The fifth embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is used to implement the method provided in the first embodiment or the second embodiment.
In an exemplary embodiment, a computer program product is also provided, which includes a computer program that is executed by a processor to perform the method provided in the first or second embodiment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. A data processing method based on a heterogeneous system is characterized in that the method is applied to an upgraded application service system, the upgraded application service system comprises an access layer and a tangent layer, and the method comprises the following steps:
receiving a data processing request message sent by terminal equipment through an access layer, wherein the data processing request message comprises a function type;
acquiring system configuration information in an access layer;
sending the data processing request message to a corresponding application service system according to the system configuration information;
if the updated application service system tangent plane layer is determined to receive the data processing request message, a routing configuration table is obtained, and whether the updated application service system processes the data processing request message or not is determined according to the routing configuration table and the function type.
2. The method according to claim 1, wherein the routing configuration table stores mapping relationships between a plurality of preset function types and application service systems;
the determining whether the upgraded application service system processes the data processing request message according to the routing configuration table and the function type includes:
judging whether the application service system with the mapping relation with the function type is an upgraded application service system or not according to the routing configuration table;
if the application service system is determined to be the upgraded application service system, determining that the upgraded application service system processes the data processing request message;
and if the data processing request message is determined to be the original application service system, determining that the original application service system processes the data processing request message.
3. The method according to claim 2, wherein after determining that the data processing request packet is processed by the original application service system, the method further comprises:
performing first format conversion on the data processing request message at the tangent layer; the first format is converted into a format meeting the message requirement in the original application service system;
sending the data processing request message after format conversion to an original application service system so that the original application service system analyzes the data processing request message after format conversion, and accessing an original database according to an analysis result so as to read or write corresponding data;
receiving a data processing response message sent by an original application service system;
performing second format conversion on the data processing response message, wherein the second format conversion meets the format conversion required by the message in the upgraded application service system;
and sending the data processing response message after the format conversion to the terminal equipment through the access layer.
4. The method according to claim 2, wherein after determining that the data processing request packet is processed by the upgraded application service system, the method further comprises:
analyzing the data processing request message;
accessing the upgraded database according to the analysis result to perform reading operation or writing operation of corresponding data;
and generating a data processing response message, and sending the data processing response message to the terminal equipment through the access layer.
5. The method according to claim 1, wherein the sending the data processing request packet to the corresponding application service system according to the system configuration information comprises:
if the system configuration information is determined to be the identification information of the upgraded application service system, sending the data processing request message to a tangent plane layer of the upgraded application service system;
and if the system configuration information is determined to be the original application service system identification information, sending the data processing request message to the original application service system.
6. The method of any one of claims 1-5, further comprising:
receiving, at a tangent plane layer, update information of a routing configuration table sent by a monitoring system, where the update information includes: the updated function type and the corresponding updated identification information of the application service system;
correspondingly updating the routing configuration table according to the updating information of the routing configuration table;
and the updating information of the routing configuration table is generated after the monitoring system monitors that the error rate or the response time of data processing corresponding to a certain function type in the upgraded application service system is greater than a corresponding threshold value.
7. The method of any one of claims 1-5, further comprising:
receiving update information of system configuration information sent by a monitoring system at an access layer, wherein the update information comprises identification information of an updated application service system;
updating the system configuration information according to the updating information of the system configuration information;
the updating information of the system configuration information is generated after the monitoring system monitors that the error rate or the response time of data processing corresponding to more than half of the function types in the upgraded application service system is greater than the corresponding threshold value.
8. A data processing device based on a heterogeneous system is characterized in that the device is located in an upgraded application service system, the upgraded application service system comprises an access layer and a tangent layer, and the device comprises:
the receiving module is used for receiving a data processing request message sent by the terminal equipment through an access layer, wherein the data processing request message comprises a function type;
the acquisition module is used for acquiring system configuration information in an access layer;
the sending module is used for sending the data processing request message to a corresponding application service system according to the system configuration information;
and the determining module is used for acquiring a routing configuration table if the upgraded application service system tangent plane layer is determined to receive the data processing request message, and determining whether the upgraded application service system processes the data processing request message according to the routing configuration table and the function type.
9. A data processing apparatus based on a heterogeneous system, comprising: at least one processor, a memory, and a transceiver;
the processor, the memory and the transceiver are interconnected through a circuit;
the memory stores computer-executable instructions; the transceiver is used for receiving and transmitting data with the original application service system, the terminal equipment and the upgraded database;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of any one of claims 1-7.
10. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, perform the method of any one of claims 1-7.
11. A computer program product comprising a computer program, characterized in that the computer program realizes the method of any of claims 1-7 when executed by a processor.
CN202110545610.XA 2021-05-19 2021-05-19 Data processing method, device, medium and product based on heterogeneous system Active CN113285997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110545610.XA CN113285997B (en) 2021-05-19 2021-05-19 Data processing method, device, medium and product based on heterogeneous system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110545610.XA CN113285997B (en) 2021-05-19 2021-05-19 Data processing method, device, medium and product based on heterogeneous system

Publications (2)

Publication Number Publication Date
CN113285997A true CN113285997A (en) 2021-08-20
CN113285997B CN113285997B (en) 2023-05-12

Family

ID=77279812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110545610.XA Active CN113285997B (en) 2021-05-19 2021-05-19 Data processing method, device, medium and product based on heterogeneous system

Country Status (1)

Country Link
CN (1) CN113285997B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060009996A1 (en) * 2004-07-12 2006-01-12 David Lipscomb Phased rollout of version upgrades in web-based business information systems
CN101222374A (en) * 2008-01-30 2008-07-16 华为技术有限公司 System, device and method for implementing service upgrade
US20130159247A1 (en) * 2011-12-14 2013-06-20 Sap Ag Change data capturing during an upgrade
US20140068043A1 (en) * 2012-09-06 2014-03-06 Amazon Technologies, Inc. Risk Aware Domain Name Service
US20140379767A1 (en) * 2013-06-25 2014-12-25 Tonian Inc. Out of band methods and system of acquiring access data in a parallel access network file system and methods of using such access data
CN104426947A (en) * 2013-08-27 2015-03-18 中兴通讯股份有限公司 Terminal intelligent updating method and system, terminal and data updating server
CN106331203A (en) * 2015-07-01 2017-01-11 中兴通讯股份有限公司 User access control method, device, relay device and server
US20170208002A1 (en) * 2016-01-14 2017-07-20 International Business Machines Corporation Data processing
US20170351702A1 (en) * 2016-06-03 2017-12-07 Electronic Arts Inc. Live migration of distributed databases
CN109104368A (en) * 2018-09-12 2018-12-28 网宿科技股份有限公司 A kind of request connection method, device, server and computer readable storage medium
CN109672698A (en) * 2017-10-13 2019-04-23 华为技术有限公司 Content distribution method, equipment and system
CN111917825A (en) * 2020-06-23 2020-11-10 中国建设银行股份有限公司 Heterogeneous system data interaction method and device
CN112055078A (en) * 2020-09-02 2020-12-08 数字广东网络建设有限公司 Data transmission method and device, computer equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060009996A1 (en) * 2004-07-12 2006-01-12 David Lipscomb Phased rollout of version upgrades in web-based business information systems
CN101222374A (en) * 2008-01-30 2008-07-16 华为技术有限公司 System, device and method for implementing service upgrade
US20130159247A1 (en) * 2011-12-14 2013-06-20 Sap Ag Change data capturing during an upgrade
US20140068043A1 (en) * 2012-09-06 2014-03-06 Amazon Technologies, Inc. Risk Aware Domain Name Service
US20140379767A1 (en) * 2013-06-25 2014-12-25 Tonian Inc. Out of band methods and system of acquiring access data in a parallel access network file system and methods of using such access data
CN104426947A (en) * 2013-08-27 2015-03-18 中兴通讯股份有限公司 Terminal intelligent updating method and system, terminal and data updating server
CN106331203A (en) * 2015-07-01 2017-01-11 中兴通讯股份有限公司 User access control method, device, relay device and server
US20170208002A1 (en) * 2016-01-14 2017-07-20 International Business Machines Corporation Data processing
US20170351702A1 (en) * 2016-06-03 2017-12-07 Electronic Arts Inc. Live migration of distributed databases
CN109672698A (en) * 2017-10-13 2019-04-23 华为技术有限公司 Content distribution method, equipment and system
CN109104368A (en) * 2018-09-12 2018-12-28 网宿科技股份有限公司 A kind of request connection method, device, server and computer readable storage medium
CN111917825A (en) * 2020-06-23 2020-11-10 中国建设银行股份有限公司 Heterogeneous system data interaction method and device
CN112055078A (en) * 2020-09-02 2020-12-08 数字广东网络建设有限公司 Data transmission method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113285997B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
CN110032459B (en) Message queue configuration method and device, computer equipment and storage medium
CN111580884A (en) Configuration updating method and device, server and electronic equipment
US7734723B2 (en) Deferred handling of a message
CN109547524B (en) User behavior storage method, device, equipment and storage medium based on Internet of things
CN111064626B (en) Configuration updating method, device, server and readable storage medium
CN109151025B (en) Load balancing method and device based on URL, computer storage medium and equipment
CN111694797A (en) File uploading and analyzing method, device, server and medium
CN105468302A (en) Data processing method, apparatus and system
CN113691635B (en) Method and device for calling microservice, electronic equipment and readable storage medium
CN111984849A (en) Information query method, device, equipment and medium
CN112702441B (en) Container-based access data processing method, device, system and storage medium
CN108111496B (en) Method, device and system for exposing http service for dubbo distributed application
CN111367761B (en) Information management method, system and related components of universal server
CN113791799A (en) System upgrading method and device, computer readable storage medium and electronic equipment
CN113285997B (en) Data processing method, device, medium and product based on heterogeneous system
CN113472850B (en) Link data acquisition method, device, system, electronic equipment and storage medium
CN116341508A (en) Dynamic configuration method and device for message template, computer equipment and storage medium
CN115629909A (en) Service data processing method and device, electronic equipment and storage medium
CN113746851A (en) Agent system and method for supporting real-time analysis of GRPC request
CN112350856A (en) Distributed service sign-off method and equipment
CN112965763B (en) Service processing system, method, device and storage medium
CN114138801A (en) Data synchronization method and device, electronic equipment and storage medium
CN117573080A (en) Game function construction method, game data processing method and related devices
CN115658922A (en) Knowledge graph operation method and device, electronic equipment and storage medium
CN111404979A (en) Method and device for processing service request and computer readable storage medium

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