CN112866351B - Data interaction method, device, server and storage medium - Google Patents

Data interaction method, device, server and storage medium Download PDF

Info

Publication number
CN112866351B
CN112866351B CN202011644015.3A CN202011644015A CN112866351B CN 112866351 B CN112866351 B CN 112866351B CN 202011644015 A CN202011644015 A CN 202011644015A CN 112866351 B CN112866351 B CN 112866351B
Authority
CN
China
Prior art keywords
node
network
service node
interaction data
shared switching
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.)
Active
Application number
CN202011644015.3A
Other languages
Chinese (zh)
Other versions
CN112866351A (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.)
Shandong Rock Jiahua Technology Co.,Ltd.
Original Assignee
Chengdu Jiahua Chain Cloud Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Jiahua Chain Cloud Technology Co ltd filed Critical Chengdu Jiahua Chain Cloud Technology Co ltd
Priority to CN202011644015.3A priority Critical patent/CN112866351B/en
Publication of CN112866351A publication Critical patent/CN112866351A/en
Application granted granted Critical
Publication of CN112866351B publication Critical patent/CN112866351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4541Directories for service discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1061Peer-to-peer [P2P] networks using node-based peer discovery mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a data interaction method, a data interaction device, a server and a storage medium, and relates to the technical field of communication. The method comprises the following steps: receiving interaction data sent by a first target business service node; according to the interaction data, determining a second shared switching node which is in communication connection with the first shared switching node through a preset private line network, wherein the first network and the second network where the second shared switching node are positioned are two networks with network isolation; and transmitting the interaction data to the second shared switching node through the preset private line network, so that the second shared switching node determines a second target business service node in the second network according to the interaction data, and transmits the interaction data to the second target business service node. The data interaction between each first business service node in the first network and each business service node in the second network can be realized, the set number of preset special line networks in the isolated network is reduced, and the maintenance and management of the network are facilitated.

Description

Data interaction method, device, server and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data interaction method, a device, a server, and a storage medium.
Background
In the arrival of the internet age, networks are spread over various industries and fields, and networks are interconnected together, so that some isolated networks exist due to different functions and security requirements. However, data interaction between the isolated networks is also required.
In the related art, when communication is performed between isolated networks, a service node in one network performs data interaction with a different service node in another network through different preset private line networks.
However, in the related art, a plurality of preset private line networks are required to implement data interaction between service nodes in the isolated network, which is inconvenient for network maintenance and difficult for network management.
Disclosure of Invention
The invention aims to provide a data interaction method, a device, a server and a storage medium for solving the problems that in the prior art, a plurality of preset private line networks are needed to realize data interaction between business service nodes in an isolated network, the maintenance of the network is inconvenient and the management of the network is difficult to realize.
In order to achieve the above purpose, the technical scheme adopted by the embodiment of the invention is as follows:
in a first aspect, an embodiment of the present invention provides a data interaction method, which is applied to a first shared switching node of a first network, where the first network includes: at least one first business service node, the first sharing switching node, wherein each first business service node communicates with the first sharing switching node; the method comprises the following steps:
receiving interaction data sent by a first target business service node;
determining a second shared switching node which is in communication connection with the first shared switching node through a preset private line network according to the interaction data, wherein the second networks where the first network and the second shared switching node are located are two networks with network isolation;
and sending the interaction data to the second sharing exchange node through the preset private line network, so that the second sharing exchange node determines a second target service node in the second network according to the interaction data, and sends the interaction data to the second target service node.
Optionally, the receiving the interaction data sent by the first target service node includes:
and receiving the interaction data sent by the first target business service node through the corresponding virtual communication port.
Optionally, before the receiving the interaction data sent by the first target service node through the corresponding virtual communication port, the method further includes:
receiving a virtual communication port of each first service node sent by each first service node;
registering the virtual communication port of each first service node.
Optionally, the sending the interaction data to the second shared switching node through the preset private line network includes:
and sending the interaction data to the second shared switching node through a physical communication port of the preset private line network.
Optionally, the registering the virtual communication port of each first service node includes:
and calling the slave service corresponding to each first service node, and registering the virtual communication port of each first service node in the center service.
Optionally, the receiving the interaction data sent by the first target service node includes:
calling a center service, and receiving interaction data sent by the first target business service node through the slave service corresponding to the first target business service node;
the sending the interaction data to the second shared switching node through the preset private line network includes:
and calling the center service, and sending the interaction data to the second sharing exchange node through the preset private line network.
Optionally, the method further comprises:
invoking the slave service and displaying a management interface of the first business service node corresponding to the slave service;
and responding to configuration operation input for the management interface, and configuring the first business service node.
In a second aspect, an embodiment of the present invention further provides a data interaction device, which is applied to a first shared switching node of a first network, where the first network includes: at least one first business service node and the first sharing switching node, wherein each first business service node is in communication connection with the first sharing switching node; the device comprises:
the receiving module is used for receiving the interaction data sent by the first target business service node;
the determining module is used for determining a second shared switching node which is in communication connection with the first shared switching node through a preset private line network according to the interaction data, wherein the second networks where the first network and the second shared switching node are located are two networks with network isolation;
and the sending module is used for sending the interaction data to the second shared switching node through the preset private line network, so that the second shared switching node determines a second target service node in the second network according to the interaction data and sends the interaction data to the second target service node.
Optionally, the receiving module is further configured to receive the interaction data sent by the first target service node through a corresponding virtual communication port.
Optionally, the apparatus further includes:
the first receiving module is used for receiving the virtual communication port of each first business service node sent by each first business service node;
and the registration module is used for registering the virtual communication port of each first business service node.
Optionally, the sending module is further configured to send the interaction data to the second shared switching node through a physical communication port of the preset private network.
Optionally, the registration module is further configured to invoke the slave service corresponding to each first service node, and register the virtual communication port of each first service node in the central service.
Optionally, the receiving module is further configured to invoke a central service, and receive, through the slave service corresponding to the first target service node, interaction data sent by the first target service node;
the sending module is further configured to invoke the central service, and send the interaction data to the second shared switching node through the preset private line network.
Optionally, the apparatus further includes:
the display module is used for calling the slave service and displaying a management interface of the first business service node corresponding to the slave service;
and the configuration module is used for responding to the configuration operation input for the management interface and configuring the first business service node.
In a third aspect, an embodiment of the present invention further provides a server, including: a memory storing a computer program executable by the processor, and a processor implementing the data interaction method according to any of the above first aspects when the processor executes the computer program.
In a fourth aspect, an embodiment of the present invention further provides a storage medium, where a computer program is stored, where the computer program is read and executed to implement the data interaction method according to any one of the first aspects.
The beneficial effects of the invention are as follows: the embodiment of the invention provides a data interaction method, which comprises the following steps: receiving interaction data sent by a first target business service node; according to the interaction data, determining a second shared switching node which is in communication connection with the first shared switching node through a preset private line network, wherein the first network and the second network where the second shared switching node are positioned are two networks with network isolation; and transmitting the interaction data to the second shared switching node through the preset private line network, so that the second shared switching node determines a second target business service node in the second network according to the interaction data, and transmits the interaction data to the second target business service node. Only one preset private line network is arranged between the first network and the second network which are isolated by the network, and based on the first shared switching node and the second shared switching node, the data interaction between each first business service node in the first network and each business service node in the second network can be realized, so that the number of the preset private line networks in the isolated network is reduced, and the maintenance and the management of the network are facilitated.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a shared switching network according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a data interaction method according to an embodiment of the present invention;
fig. 3 is an interaction schematic diagram of a first network and a second network according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a data interaction method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first network according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of a data interaction method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a data interaction device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention.
Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the description of the present application, it should be noted that, if the terms "upper", "lower", and the like indicate an azimuth or a positional relationship based on the azimuth or the positional relationship shown in the drawings, or an azimuth or the positional relationship that is commonly put when the product of the application is used, it is merely for convenience of description and simplification of the description, and does not indicate or imply that the apparatus or element to be referred to must have a specific azimuth, be configured and operated in a specific azimuth, and therefore should not be construed as limiting the present application.
Furthermore, the terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, without conflict, features in embodiments of the present application may be combined with each other.
Fig. 1 is a schematic structural diagram of a shared switching network according to an embodiment of the present invention, where, as shown in fig. 1, the shared switching network may include: a first network, a second network, at least one other network.
Wherein the first network, the second network, each other network, etc. are each subject to respective network isolation. The first network may include: at least one first traffic service node, a first shared switching node, each first traffic service node in communication with the first shared switching node. In addition, the second network may include: at least one second traffic service node, a second shared switching node, each second traffic service node in communication with the second shared switching node. Similarly, each other network may include: at least one other traffic service node, other shared switching nodes, each other traffic service node in communication with the other shared switching nodes. Each first service node may correspond to a service subsystem.
In addition, the service node and the sharing switching node on the same network can be deployed on the same server or on different servers, so that the service node and the sharing switching node are ensured to be in the same network.
It should be noted that, the first shared switching node is in communication connection with the second shared switching node through a preset private line network; the first shared switching node or the second shared switching node is in communication connection with one other shared switching node through another preset private line network; the two other sharing switching nodes can also be in communication connection through a preset special line network.
In some embodiments, interaction data sent by a first target business service node is received; determining a second shared switching node which is in communication connection with the first shared switching node through a preset private line network according to the interaction data; and transmitting the interaction data to the second shared switching node through the preset private line network, so that the second shared switching node determines a second target business service node in the second network according to the interaction data, and transmits the interaction data to the second target business service node.
In the embodiment of the present application, the shared switching network may be a shared switching network for a government environment. The first network and the at least one other network may be district-level government-proprietary networks and the second network may be municipal-level government-proprietary networks. The shared switching network provided by the embodiment of the application can meet the service requirement that the isolation network in any network environment can be accessed to the shared switching network.
Aiming at the problems that in the related art, a plurality of preset private line networks are needed to realize data interaction between business service nodes in the isolated network, so that the maintenance of the network is inconvenient and the management of the network is difficult to realize. The data interaction method provided by the embodiment of the invention can comprise the steps of receiving interaction data sent by a first target service node; according to the interaction data, determining a second shared switching node which is in communication connection with the first shared switching node through a preset private line network, wherein the first network and the second network where the second shared switching node are positioned are two networks with network isolation; and transmitting the interaction data to the second shared switching node through the preset private line network, so that the second shared switching node determines a second target business service node in the second network according to the interaction data, and transmits the interaction data to the second target business service node. Only one preset private line network is arranged between the first network and the second network which are isolated by the network, and based on the first shared switching node and the second shared switching node, the data interaction between each first business service node in the first network and each business service node in the second network can be realized, so that the number of the preset private line networks in the isolated network is reduced, and the maintenance and the management of the network are facilitated.
Fig. 2 is a flow chart of a data interaction method according to an embodiment of the present invention, which is applied to a first shared switching node of a first network, where the first network includes: at least one first traffic service node, a first shared switching node, wherein each first traffic service node communicates with the first shared switching node. As shown in fig. 2, the method may include:
s201, receiving interaction data sent by a first target business service node.
The first target service node may be a node of the at least one first service node. Each first business service node may correspond to a business service.
In addition, the first target business service may send interaction data to the first shared switching node; accordingly, the first shared switching node may receive the interaction data.
In this embodiment of the present application, when the first network is a regional government special network or a municipal government special network, the first service nodes in the first network may be service nodes corresponding to different departments.
S202, determining a second shared switching node which is in communication connection with the first shared switching node through a preset private line network according to the interaction data.
The first network and the second network where the second shared switching node is located are two networks with network isolation. The network isolation between the first network and the second network may be physical network isolation.
In one possible implementation manner, the interaction data may include second shared switching node identification information, and the second shared switching node may determine the second shared switching node according to the second shared switching node identification information in the interaction data.
It should be noted that, the first shared switching node of the first network may be communicatively connected to the second shared switching node through a preset private line network; the first shared switching node of the first network may also be in communication connection with other shared switching nodes of other networks through another preset private line network, which is not specifically limited in the embodiment of the present application. The preset private line network may also be referred to as a private line, and the preset private line network may be a communication channel.
S203, transmitting the interaction data to the second shared switching node through the preset private line network, so that the second shared switching node determines a second target business service node in the second network according to the interaction data, and transmitting the interaction data to the second target business service node.
Wherein the second network may include at least one second service node, and the at least one second service node may include a second target service node.
In one possible implementation, the first shared switching node may send interaction data to the second shared switching node; the second shared switching node may receive the interaction data and determine a second target service node in the second network according to the second target service node identifier in the interaction data, and then send the interaction data to the second target service node.
Fig. 3 is an interaction schematic diagram of a first network and a second network provided in an embodiment of the present invention, where as shown in fig. 3, each first service node in the first network may perform data interaction with each second service node in the second network based on the first shared switching node, the preset private line network, and the second shared switching node. That is, only one preset private line network is required to be set, so that data interaction between at least one first business service node and at least one second business service node can be realized.
Similarly, in another possible implementation manner, the second shared switching node may acquire the interaction data sent by the second target service node; determining a first shared switching node which is in communication connection with a second shared switching node through a preset private line network according to the interaction data; and transmitting the interaction data to the first shared switching node through a preset private line network, so that the first shared switching node determines a first target business service node in the first network according to the interaction data, and transmits the interaction data to the first target business service node.
In summary, an embodiment of the present invention provides a data interaction method, including: receiving interaction data sent by a first target business service node; according to the interaction data, determining a second shared switching node which is in communication connection with the first shared switching node through a preset private line network, wherein the first network and the second network where the second shared switching node are positioned are two networks with network isolation; and transmitting the interaction data to the second shared switching node through the preset private line network, so that the second shared switching node determines a second target business service node in the second network according to the interaction data, and transmits the interaction data to the second target business service node. Only one preset private line network is arranged between the first network and the second network which are isolated by the network, and based on the first shared switching node and the second shared switching node, the data interaction between each first business service node in the first network and each business service node in the second network can be realized, so that the number of the preset private line networks in the isolated network is reduced, and the maintenance and the management of the network are facilitated.
It should be noted that the first shared switching node and the second shared switching node may be referred to as peer-to-peer communication nodes, which are equivalent to a service layer of the shared switching network, and may be used to provide functions of authorization, management, statistics, and the like of data sharing switching.
Optionally, the process of receiving the interaction data sent by the first target service node in S201 may include:
and receiving the interaction data sent by the first target business service node through the corresponding virtual communication port.
The first target service node sends interactive data to the first sharing switching node through the corresponding virtual communication port, and the first sharing switching node can receive the interactive data.
In this embodiment of the present application, the reverse proxy built in the first shared switching node may be used as a core of the shared switching network, and may forward the interaction data sent by the first target service node through the corresponding virtual communication port to the preset private line network, so that the external network may access, through the reverse proxy, the service corresponding to the first service node in the first network.
Optionally, fig. 4 is a schematic flow chart of a data interaction method according to an embodiment of the present invention, as shown in fig. 4, before the process of receiving interaction data sent by a first target service node through a corresponding virtual communication port, the method may further include:
s401, receiving virtual communication ports of each first service node sent by each first service node.
Wherein each first service node may send a corresponding virtual communication port to the first shared switching node; the first shared switching node may receive a virtual communication port for each first traffic service node.
It should be noted that, each first service node may send a corresponding virtual communication port to the first shared switching node at the same time; the corresponding virtual communication ports can also be sequentially sent to the first shared switching node; other orders may also be used to send the corresponding virtual communication ports to the first shared switching node, which is not particularly limited in the embodiments of the present application.
S402, registering the virtual communication port of each first business service node.
After registering the virtual communication port of each first service node, each first service node can conveniently send interactive data to the first sharing switching node.
In the embodiment of the present application, at the time of first startup, the virtual communication port of each first service node may be registered. In the subsequent starting process, the virtual communication port of each first service node does not need to be registered again.
Optionally, the process of sending the interaction data to the second shared switching node through the preset private line network in S203 may include:
and sending the interactive data to the second shared switching node through a physical communication port of the preset private line network.
Wherein the first shared switching node and the second shared switching node can communicate through a physical communication port.
In addition, the physical communication port may also be called a listening port, and the reverse proxy service of the first shared switching node may start the physical communication port of itself in the preset private line network, so as to implement initialization of the reverse proxy. The registered first service nodes can forward the interactive data through the physical communication ports.
Optionally, registering the virtual communication port of each first service node includes:
and calling the slave service corresponding to each first service node, and registering the virtual communication port of each first service node in the center service.
Wherein the center service may be referred to as a center service and the slave service may be referred to as a peer service. Each first business service node can correspond to at least one slave service, the number of the center services can also be at least one, each center service can correspond to a plurality of slave services, and the center service supports distributed deployment.
In the embodiment of the present application, when the number of the central services is plural, each virtual communication port of each first service node may be registered in each central service. When a first shared switching node calls one center service to perform data interaction and fails, any one of the other center services can be called to perform data interaction, so that the data interaction is more reliable.
It should be noted that the central service may be used to manage, synchronize data for all nodes in the first network, and expose the reverse proxy port to the outside. The two-by-two interactions can be performed through the central services in different isolated networks to infinitely extend the shared switching network.
Fig. 5 is a schematic structural diagram of a first network according to an embodiment of the present invention, as shown in fig. 5, where the first network includes: and the plurality of first business service nodes are corresponding to one slave service, and the plurality of slave services can be corresponding to one central service. For example, the plurality of first service nodes may be nodes corresponding to a district environmental protection bureau, a district big data bureau, a district city supervision bureau, and the like, respectively.
Optionally, the process of receiving the interaction data sent by the first target service node in S201 may include:
and calling the center service, and receiving the interaction data sent by the first target business service node through the slave service corresponding to the first target business service node.
In a possible implementation manner, the first shared switching node may call a slave service corresponding to the first target service node, and receive interaction data sent by the first target service node; and then the first shared switching node can call the center service, and acquire interaction data from the slave service corresponding to the first target business service node.
Optionally, the determining, in S202, the second shared switching node communicatively connected to the first shared switching node through the preset private line network according to the interaction data may include:
and calling a center service, and determining a second shared switching node which is in communication connection with the first shared switching node through a preset private line network according to the interaction data.
In some embodiments, the interaction data may include a second shared switching node identifier, and the first shared switching node may invoke the central service to determine the second shared switching node based on the second shared switching node identifier in the interaction data.
Optionally, in S203, sending the interaction data to the second shared switching node through a preset private line network includes:
and calling the center service, and transmitting the interaction data to the second sharing exchange node through the preset private line network.
Optionally, fig. 6 is a schematic flow chart of a data interaction method according to an embodiment of the present invention, as shown in fig. 6, where the method may further include:
s601, calling the slave service, and displaying a management interface of a first business service node corresponding to the slave service.
The first sharing exchange node can call the slave service and display a management interface of the first business service node corresponding to the slave service, so that a user can know the management interface of the first business service node.
In addition, the management interface of the first business service node may include: and managing control and prompt information of at least one first business service node.
S602, responding to configuration operation input for a management interface, and configuring the first business service node.
In some embodiments, the user may input a configuration operation for the management interface, and the first shared switching node may configure the first traffic service node in response to the configuration operation. The configuration operation may be an operation input by an external device such as a mouse or a keyboard, or may be a touch operation, or may be another type of operation, which is not specifically limited in the embodiment of the present application.
For example, configuring the first service node may include registering a virtual communication port of the first service node and opening a reverse proxy.
In addition, the slave service may be a gateway that proxies need to access the business services of the shared switching network. In practical application, the application system sharing the switching network can be a government system, the minimum unit for providing services in the government system is a department, and at least one slave service can be provided for each department, and the slave service supports horizontal capacity expansion.
It should be noted that, at least one slave service that may be called by the first shared switching node may include a management slave service, and the first shared switching node may configure the central service and other slave services by calling the management slave service. For example, the first shared switching node may alter the cluster name from the service, authorize authentication of the logged-in user, etc. by invoking management.
In this embodiment of the present application, a virtual communication port of a first service node that needs to be proxied is registered in a reverse proxy service of a first shared switching node, and different forwarding rules may be set through a path, a port, a protocol, a specific parameter, and the like. After the reverse proxy starts to provide service, all data entering the physical communication port are subjected to forwarding rule matching, and after the data are matched with the second target service node, the data enter the service layer of the data sharing exchange platform to carry out necessary authority authentication, and when the access is legal, the second target service node is accessed.
In summary, an embodiment of the present invention provides a data interaction method, including: receiving interaction data sent by a first target business service node; according to the interaction data, determining a second shared switching node which is in communication connection with the first shared switching node through a preset private line network, wherein the first network and the second network where the second shared switching node are positioned are two networks with network isolation; and transmitting the interaction data to the second shared switching node through the preset private line network, so that the second shared switching node determines a second target business service node in the second network according to the interaction data, and transmits the interaction data to the second target business service node. Only one preset private line network is arranged between the first network and the second network which are isolated by the network, and based on the first shared switching node and the second shared switching node, the data interaction between each first business service node in the first network and each business service node in the second network can be realized, so that the number of the preset private line networks in the isolated network is reduced, and the maintenance and the management of the network are facilitated. And another preset private line network is arranged on the first shared switching node, so that the other shared switching nodes can be connected in a communication way, and other isolated networks can be conveniently added into the shared switching network.
The following describes a data interaction device, a server, a storage medium, etc. for executing the data interaction method provided in the present application, and specific implementation processes and technical effects of the data interaction device, the server, the storage medium, etc. refer to relevant contents of the data interaction method, and are not described in detail below.
Fig. 7 is a schematic structural diagram of a data interaction device according to an embodiment of the present invention, where, as shown in fig. 7, the data interaction device is applied to a first shared switching node of a first network, and the first network includes: at least one first service node and the first sharing switching node, wherein each first service node is in communication connection with the first sharing switching node. The apparatus may include:
a receiving module 701, configured to receive interaction data sent by a first target service node;
a determining module 702, configured to determine, according to the interaction data, a second shared switching node communicatively connected to the first shared switching node through a preset private line network, where the first network and the second shared switching node are located in a second network that is two networks with network isolation;
the sending module 703 is configured to send the interaction data to the second shared switching node through a preset private line network, so that the second shared switching node determines a second target service node in the second network according to the interaction data, and sends the interaction data to the second target service node.
Optionally, the receiving module is further configured to receive interaction data sent by the first target service node through the corresponding virtual communication port.
Optionally, the apparatus further comprises:
the first receiving module is used for receiving the virtual communication port of each first business service node sent by each first business service node;
and the registration module is used for registering the virtual communication port of each first business service node.
Optionally, the sending module is further configured to send the interaction data to the second shared switching node through a physical communication port of the preset private line network.
Optionally, the registration module is further configured to invoke a slave service corresponding to each first service node, and register, at the central service, a virtual communication port of each first service node.
Optionally, the receiving module is further configured to invoke a central service, and receive, through a slave service corresponding to the first target service node, interaction data sent by the first target service node;
and the sending module is also used for calling the center service and sending the interactive data to the second sharing switching node through the preset private line network.
Optionally, the apparatus further comprises:
the display module is used for calling the slave service and displaying a management interface of a first business service node corresponding to the slave service;
and the configuration module is used for responding to the configuration operation input for the management interface and configuring the first business service node.
The foregoing apparatus is used for executing the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The above modules may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more microprocessors (digital singnal processor, abbreviated as DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), or the like. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention, where the server may be a device with a data processing function.
As shown in fig. 8, the server may include: a processor 801, and a memory 802.
The memory 802 is used for storing a program, and the processor 801 calls the program stored in the memory 802 to execute the above-described method embodiment. The specific implementation manner and the technical effect are similar, and are not repeated here.
Optionally, the present invention also provides a program product, such as a computer readable storage medium, comprising a program for performing the above-described method embodiments when being executed by a processor.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the invention. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A method of data interaction, characterized by a first shared switching node applied to a first network, the first network comprising: at least one first business service node, the first sharing switching node, wherein each first business service node communicates with the first sharing switching node; the method comprises the following steps:
receiving interaction data sent by a first target business service node;
determining a second shared switching node which is in communication connection with the first shared switching node through a preset private line network according to the interaction data, wherein the second networks where the first network and the second shared switching node are located are two networks with network isolation, and the number of the preset private line networks is one;
transmitting the interaction data to the second shared switching node through the preset private line network, so that the second shared switching node determines a second target service node in the second network according to the interaction data, and transmits the interaction data to the second target service node;
the receiving the interaction data sent by the first target service node includes:
receiving the interaction data sent by the first target business service node through a corresponding virtual communication port;
before the interaction data sent by the first target service node through the corresponding virtual communication port is received, the method further includes:
receiving a virtual communication port of each first service node sent by each first service node;
registering the virtual communication port of each first service node;
the number of the central services is a plurality, and the registering the virtual communication port of each first business service node includes:
calling the slave service corresponding to each first business service node, and registering a virtual communication port of each first business service node in a center service;
and if the data interaction is carried out by calling one center service, calling any one center service in other center services to register the virtual communication port of each first business service node.
2. The method according to claim 1, wherein said sending said interaction data to said second shared switching node via said pre-set private line network comprises:
and sending the interaction data to the second shared switching node through a physical communication port of the preset private line network.
3. The method of claim 1, wherein receiving the interaction data sent by the first target business service node comprises:
calling a center service, and receiving interaction data sent by the first target business service node through the slave service corresponding to the first target business service node;
the sending the interaction data to the second shared switching node through the preset private line network includes:
and calling the center service, and sending the interaction data to the second sharing exchange node through the preset private line network.
4. The method according to claim 1, wherein the method further comprises:
invoking the slave service and displaying a management interface of the first business service node corresponding to the slave service;
and responding to configuration operation input for the management interface, and configuring the first business service node.
5. A data interaction device, characterized by a first shared switching node for application to a first network, the first network comprising: at least one first business service node and the first sharing switching node, wherein each first business service node is in communication connection with the first sharing switching node; the device comprises:
the receiving module is used for receiving the interaction data sent by the first target business service node;
the determining module is used for determining a second shared switching node which is in communication connection with the first shared switching node through a preset private line network according to the interaction data, wherein the second networks where the first network and the second shared switching node are located are two networks with network isolation, and the number of the preset private line networks is one;
the sending module is used for sending the interaction data to the second shared switching node through the preset private line network, so that the second shared switching node determines a second target service node in the second network according to the interaction data and sends the interaction data to the second target service node;
the receiving module is further configured to receive the interaction data sent by the first target service node through a corresponding virtual communication port;
the first receiving module is used for receiving the virtual communication port of each first business service node sent by each first business service node;
the registration module is used for registering the virtual communication port of each first business service node;
the registration module is further configured to invoke a slave service corresponding to each first service node, and register, at a central service, a virtual communication port of each first service node;
the registration module is further configured to call any one of the other center services to register the virtual communication port of each first service node if a fault occurs when the one center service is called to perform data interaction.
6. A server, comprising: a memory and a processor, the memory storing a computer program executable by the processor, the processor implementing the data interaction method of any of the preceding claims 1-4 when the computer program is executed.
7. A storage medium having stored thereon a computer program which, when read and executed, implements the data interaction method of any of the preceding claims 1-4.
CN202011644015.3A 2020-12-31 2020-12-31 Data interaction method, device, server and storage medium Active CN112866351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011644015.3A CN112866351B (en) 2020-12-31 2020-12-31 Data interaction method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011644015.3A CN112866351B (en) 2020-12-31 2020-12-31 Data interaction method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN112866351A CN112866351A (en) 2021-05-28
CN112866351B true CN112866351B (en) 2023-08-04

Family

ID=76000945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011644015.3A Active CN112866351B (en) 2020-12-31 2020-12-31 Data interaction method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN112866351B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277818A (en) * 2022-07-29 2022-11-01 中银金融科技有限公司 Communication method, system and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571398A (en) * 2004-04-29 2005-01-26 上海交通大学 Network safety isolating and information exchanging system and method based on proxy mapping
CN104363221A (en) * 2014-11-10 2015-02-18 青岛微智慧信息有限公司 Network safety isolation file transmission control method
CN108092971A (en) * 2017-12-13 2018-05-29 新华三信息安全技术有限公司 A kind of method and device of processing business message
CN110557251A (en) * 2019-09-27 2019-12-10 武汉控安融科技有限公司 Industrial data safety isolation acquisition system and internal and external network data one-way transmission method
CN111818100A (en) * 2020-09-04 2020-10-23 腾讯科技(深圳)有限公司 Method for configuring channel across networks, related equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377633B (en) * 2010-08-06 2014-10-08 北京乾唐视联网络科技有限公司 Communication connection method and system of access network device
CN102916963B (en) * 2012-10-26 2014-12-31 中国人民解放军信息工程大学 Safe data exchange method, device, nodes and safe data exchange system
CN104125243B (en) * 2013-04-23 2018-01-02 浙江大学 A kind of method for penetrating Intranet and remotely connecting large-scale virtual machine
CN107342895B (en) * 2017-06-26 2019-12-10 网宿科技股份有限公司 Multi-tenant network optimization method, system, computing device and storage medium
CN107454094A (en) * 2017-08-23 2017-12-08 北京明朝万达科技股份有限公司 A kind of data interactive method and system
CN110138707B (en) * 2018-02-02 2022-08-02 阿里巴巴集团控股有限公司 Data interaction method, client, application and electronic equipment
CN108881158A (en) * 2018-05-04 2018-11-23 北京明朝万达科技股份有限公司 Data interaction system and method
CN110830527A (en) * 2018-08-07 2020-02-21 阿里巴巴集团控股有限公司 Method and device for data communication between networks and data communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571398A (en) * 2004-04-29 2005-01-26 上海交通大学 Network safety isolating and information exchanging system and method based on proxy mapping
CN104363221A (en) * 2014-11-10 2015-02-18 青岛微智慧信息有限公司 Network safety isolation file transmission control method
CN108092971A (en) * 2017-12-13 2018-05-29 新华三信息安全技术有限公司 A kind of method and device of processing business message
CN110557251A (en) * 2019-09-27 2019-12-10 武汉控安融科技有限公司 Industrial data safety isolation acquisition system and internal and external network data one-way transmission method
CN111818100A (en) * 2020-09-04 2020-10-23 腾讯科技(深圳)有限公司 Method for configuring channel across networks, related equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"多网安全隔离交换系统的设计与实现";丁烽祥;张怡;王勇军;;《厦门大学学报(自然科学版)》(S2);全文 *
"A scheme for MAC isolation to realize effective management in public wireless LAN";ChenLiquan;《IEEE》;全文 *

Also Published As

Publication number Publication date
CN112866351A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
US10609088B2 (en) Location services on a data exchange layer
CN112995247B (en) Method, device and system for transmitting or processing data
CN101931619B (en) Pluggable contact resolution
CN109391592A (en) The discovery method and apparatus of network function service
CN110647559A (en) Data processing method, related node and system
CN114501593B (en) Network slice access method, device, system and storage medium
Zeng et al. Intelligent blockchain‐based secure routing for multidomain SDN‐enabled IoT networks
Casellas et al. Virtualization of disaggregated optical networks with open data models in support of network slicing
CN113746928A (en) Cross-cloud service calling method, device and system
CN115562757A (en) Data processing method, configuration center system, electronic device, and storage medium
CN112866351B (en) Data interaction method, device, server and storage medium
EP2557823A1 (en) Authentication authorization and accounting server and message processing method thereof
CN114125812B (en) Data synchronization method, device, server and storage medium
CN114124714B (en) Multi-level network deployment method, device, equipment and storage medium
US11570096B2 (en) Isolating time synchronization traffic using virtualization
CN103634298A (en) Database connection processing method and device
CN113765801B (en) Message processing method and device applied to data center, electronic equipment and medium
CN110224942A (en) A kind of message processing method, device and storage medium
CN109981437B (en) Multi-data center intercommunication method based on VPC and related equipment
US11595471B1 (en) Method and system for electing a master in a cloud based distributed system using a serverless framework
EP2845374B1 (en) Address system
CN113612732B (en) Resource calling method and device and multiparty secure computing system
US20040199643A1 (en) Distributed service component systems
CN113515392B (en) RPC calling method, device, equipment and storage medium
EP3547231A1 (en) Electronic device management

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
TR01 Transfer of patent right

Effective date of registration: 20231012

Address after: Room B503, 5th Floor, Kyoto Mall, No. 15 Limin West Road, Liuyuan Office, Dongchangfu District, Liaocheng City, Shandong Province, 252000

Patentee after: Shandong Rock Jiahua Technology Co.,Ltd.

Address before: No.06-08, 23a, building 1, No.1, Section 1, Huafu Avenue, Huayang street, Tianfu New District, Chengdu, Sichuan 610000

Patentee before: Chengdu Jiahua Chain Cloud Technology Co.,Ltd.

TR01 Transfer of patent right