WO2020168961A1 - 一种数据处理方法及装置 - Google Patents

一种数据处理方法及装置 Download PDF

Info

Publication number
WO2020168961A1
WO2020168961A1 PCT/CN2020/074961 CN2020074961W WO2020168961A1 WO 2020168961 A1 WO2020168961 A1 WO 2020168961A1 CN 2020074961 W CN2020074961 W CN 2020074961W WO 2020168961 A1 WO2020168961 A1 WO 2020168961A1
Authority
WO
WIPO (PCT)
Prior art keywords
source
address
data packet
addresses
edge device
Prior art date
Application number
PCT/CN2020/074961
Other languages
English (en)
French (fr)
Inventor
谢文伟
Original Assignee
网宿科技股份有限公司
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 网宿科技股份有限公司 filed Critical 网宿科技股份有限公司
Priority to EP20728378.9A priority Critical patent/EP3720089A4/en
Priority to US16/898,210 priority patent/US11206240B2/en
Publication of WO2020168961A1 publication Critical patent/WO2020168961A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • H04L61/2567NAT traversal for reachability, e.g. inquiring the address of a correspondent behind a NAT server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/56Routing software
    • H04L45/566Routing instructions carried by the data packet, e.g. active networks
    • 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
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • 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/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • 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/4552Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2514Translation of Internet protocol [IP] addresses between local and global IP addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2517Translation of Internet protocol [IP] addresses using port numbers

Definitions

  • This application relates to the field of data processing technology, and in particular to a data processing method and device.
  • an edge device In the process of data information transmission, in order to relieve the pressure on the source station, an edge device can usually be set up between the client device and the source station.
  • the edge device can receive the data information sent by the client device and process the data information (such as , Acceleration processing, filtering processing, compression processing, etc.), and sending the processed data information to the target source station.
  • This process is the process of scheduling data information.
  • Domain Name System (DNS) is a common application scenario for scheduling data information. Specifically, after obtaining the domain name information of the target source station, the edge device can determine the target according to the domain name information of the target source station The IP address and destination port of the source station, so as to send the processed data information to the target source station. If it is determined that any one of the obtained information of the IP address and the destination port of the target source station is incorrect, the data information sent by the client device cannot be successfully forwarded to the target source station, which will make the user experience worse.
  • DNS Domain Name System
  • the prior art usually adopts the following method: manually obtain the information of the source station connected to the edge device in advance, such as the number of source stations, the IP address of the source station, and the port of the source station. And so on, and then set the virtual IP address and port corresponding to the information of the source station on the edge device.
  • the edge device can determine the IP address and destination port of the target source station through the virtual IP address and port that the data information sent by the client device reaches.
  • the virtual IP address and port are set according to the information of the source station obtained manually, if the information of the source station changes, you need to manually reacquire the information of the changed source station and reset it Virtual IP address and port, the operation is more complicated; and the destination port in the data information sent by the client device can be determined through real-time negotiation.
  • the preset port may be Does not include the destination port, which makes scheduling errors. Therefore, the use of the existing technology may make scheduling of data information less flexible.
  • the embodiments of the present application provide a data processing method and device to improve the flexibility of data information scheduling.
  • An embodiment of the present application provides a data processing method, the method includes: after an edge device determines that a first data packet sent by a client device is received, it may parse the first data packet to obtain the first data The virtual IP address corresponding to the packet; and the edge device can query the IP address mapping table according to the virtual IP address to obtain the destination IP address corresponding to the virtual IP address; for example, the edge device can Destination IP address, sending the first data packet.
  • the edge device may be provided with an IP address mapping table.
  • the edge device By querying the IP address mapping table to obtain the destination IP address, the edge device does not need to synchronize the source station information with the client device, so that the destination IP can be determined
  • the address process is more flexible, thereby increasing the flexibility of data information scheduling.
  • the IP address mapping table may be determined in the following manner: after the edge device receives the IP addresses of the multiple source stations sent by the multiple source stations, it may The IP address of the source station generates multiple virtual IP addresses corresponding to the IP addresses of the multiple source stations one-to-one; for example, the edge device may be based on the IP addresses of the multiple source stations and the multiple virtual IP addresses. Address, generating the IP address mapping table.
  • the edge device can automatically generate multiple virtual IP addresses and IP address mapping tables based on the IP addresses of multiple source stations, without manually setting multiple virtual IP addresses and IP address mapping tables, thereby reducing manpower Cost, and easy to implement; and, by adopting the source station to send the IP address of the source station to the edge device, the edge device can update the IP address mapping table in real time, for example, if the edge device receives the source station sent by the source station The new IP address of the source station can be used to update the edge device; that is, compared with the method of determining the IP address mapping table in the prior art, the IP address mapping determined in the embodiment of this application
  • the table can have better real-time performance and meet actual requirements more.
  • the IP address mapping table may be determined in the following manner: after the edge device receives the information sent by multiple back-to-source devices, it parses the information sent by the multiple back-to-source devices to obtain The IP address of each back-to-source device and the IP address of the source station corresponding to each back-to-source device included in the information sent by each back-to-source device; meanwhile, the edge device may The IP address of the source station corresponding to the back-to-source device generates multiple virtual IP addresses corresponding to the IP addresses of the source station corresponding to the multiple back-to-source devices; for example, the edge device may be based on the multiple back-to-source devices. The IP address of the source device, the IP addresses of the source stations corresponding to the multiple return-to-source devices, and the multiple virtual IP addresses are used to generate an IP address mapping table.
  • the client device can obtain the required resources by accessing the back-to-source device corresponding to the source station, thereby avoiding multiple clients
  • the technical problem of high pressure on the source station caused by the equipment accessing the source station at the same time; and, the edge device can establish an IP address mapping table according to the IP address of the source station sent by the back-to-source equipment, which can save labor costs and improve data information scheduling flexibility.
  • the method may further include: the edge device receives a request message sent by the client device, and parses the request message, Obtain the domain name information of the target source station included in the request message; for example, the edge device may query the IP address mapping table according to the domain name information of the target source station to obtain the virtual IP address corresponding to the domain name information , And can send the virtual IP address to the client device.
  • the first data packet sent by the client device may include the virtual IP address corresponding to the IP address of the target source station, and the virtual IP address corresponding to the IP address of the target source station may be obtained by the client device in advance from the edge device That is to say, in the embodiment of this application, the client device and the edge device are used to communicate to obtain the virtual IP address corresponding to the IP address of the target source station, compared to the prior art by artificially determining the IP address of the target source station In terms of the corresponding virtual IP address, the edge device does not need to synchronize the correspondence between the IP addresses of multiple source stations and multiple virtual IP addresses with the client device, and it can determine the IP address correspondence of the target source station without human interaction.
  • the virtual IP address can improve the flexibility of data processing and improve the user experience.
  • the IP address mapping table may be determined in the following manner: the edge device receives the domain name information of the multiple source stations and the IP addresses of the multiple source stations sent by the multiple source stations , And can generate multiple virtual IP addresses one-to-one corresponding to the IP addresses of the multiple source stations according to the IP addresses of the multiple source stations; for example, the edge device can generate multiple virtual IP addresses according to the IP addresses of the multiple source stations.
  • the domain name information, the IP addresses of the multiple source stations, and the multiple virtual IP addresses are used to generate the IP address mapping table.
  • the IP address mapping table may store the domain name information of multiple source sites, the IP addresses of multiple source sites, and the mapping relationship of multiple virtual IP addresses, so that the edge device can be based on the domain name of the target source site.
  • the information obtains the IP address of the target source station without artificially determining the correspondence between the domain name information of the target source station and the IP address of the target source station, and the operation is simple and easy to implement.
  • the IP address mapping table may be determined in the following manner: after the edge device receives the information sent by multiple back-to-source devices, it parses the information sent by the multiple back-to-source devices, Obtain the IP address of each back-to-source device, the domain name information of the source station corresponding to each back-to-source device, and the source corresponding to each back-to-source device included in the information sent by each back-to-source device The IP address of the station; and, the edge device may generate, according to the IP addresses of the source stations corresponding to the multiple back-to-source devices, a number of one-to-one correspondence with the IP addresses of the source stations corresponding to the multiple back-to-source devices Virtual IP address; for example, the edge device may be based on the IP addresses of the multiple back-to-source devices, the domain name information of the source station corresponding to the multiple back-to-source devices, and the source station information corresponding to the multiple back-to-source devices The IP address and the multiple virtual IP addresses generate an IP address mapping table.
  • the edge device when the edge device parses the first data packet, it can also obtain data information corresponding to the first data packet; at this time, the edge device sends data according to the destination IP address
  • the first data packet may further include: the edge device processes the data information corresponding to the first data packet to obtain processed data information; for example, the edge device may perform processing based on the processed data Information and the destination IP address, obtain a second data packet, and send the second data packet.
  • the process of scheduling data information by processing the data information corresponding to the first data packet (such as compression, encryption, etc.), and sending the processed data information, the data transmission speed can be improved , Improve the flexibility of data information scheduling, and can meet user requirements and improve user experience.
  • An embodiment of the present application provides a data processing method, the method includes: after an edge device determines that a first data packet sent by a client device is received, it may parse the first data packet to obtain the first data The destination port corresponding to the packet; for example, the edge device may send the first data packet according to the destination port.
  • the edge device obtains the destination port by parsing the first data packet, where the destination port obtained by parsing the first data packet is the destination port of the source station, which is compared with the prior art method of statically specifying the destination port In other words, there is no need to set a destination port on the edge device, which can support the protocol that the port needs to negotiate dynamically, and improve the flexibility of data information scheduling.
  • the edge device when the edge device parses the first data packet, it can also obtain the data information corresponding to the first data packet; accordingly, the edge device obtains the first data packet.
  • the process of sending the first data packet may include: the edge device diverts the data information to the first port, where the first port may be from The port used to receive data information determined among the one or more ports; for example, the edge device may obtain the destination corresponding to the first data packet after determining that the data information arrives at the first port And send the first data packet according to the data information corresponding to the first data packet and the destination port.
  • the edge device obtains the destination port by parsing the first data packet, where the destination port obtained by parsing the first data packet is the destination port of the source station, which is compared with the prior art method of statically specifying the destination port In other words, there is no need to set a destination port on the edge device, which can support the protocol that the port needs to negotiate dynamically, and improve the flexibility of data information scheduling.
  • the edge device sending the first data packet according to the data information corresponding to the first data packet and the destination port may include: the edge device corresponding to the first data packet
  • the processed data information is processed to obtain the processed data information; for example, the edge device may obtain a second data packet according to the processed data information and the destination port, and send the second data packet.
  • the edge device includes:
  • the processing module is configured to determine that after receiving the first data packet sent by the client device, analyze the first data packet to obtain the virtual IP address corresponding to the first data packet; and, according to the virtual IP address Query the IP address mapping table to obtain the destination IP address corresponding to the virtual IP address;
  • the transceiver module is configured to send the first data packet according to the destination IP address.
  • the IP address mapping table is determined in the following manner: receiving the IP addresses of the multiple source stations sent by the multiple source stations, and generating and according to the IP addresses of the multiple source stations Multiple virtual IP addresses corresponding to the IP addresses of the multiple source stations one-to-one;
  • the IP address mapping table is generated according to the IP addresses of the multiple source stations and the multiple virtual IP addresses.
  • the IP address mapping table is determined in the following manner: receiving multiple pieces of information sent by back-to-source devices, and the information sent by each back-to-source device includes the IP address of each back-to-source device The IP address of the source station corresponding to each back-to-source device;
  • an IP address mapping table is generated.
  • the processing module is further configured to: receive a request message sent by the client device, the request message including the domain name information of the target source station;
  • the target source station According to the domain name information of the target source station, query the IP address mapping table to obtain the virtual IP address corresponding to the domain name information, and send the virtual IP address to the client device.
  • the IP address mapping table is determined in the following manner: receiving the domain name information of the multiple source stations and the IP addresses of the multiple source stations sent by multiple source stations, and according to the Multiple source stations’ IP addresses, generating multiple virtual IP addresses corresponding to the multiple source stations’ IP addresses one-to-one;
  • the IP address mapping table is generated according to the domain name information of the multiple source stations, the IP addresses of the multiple source stations, and the multiple virtual IP addresses.
  • the IP address mapping table is determined in the following manner: receiving multiple pieces of information sent by back-to-source devices, and the information sent by each back-to-source device includes the IP address of each back-to-source device , The domain name information of the source station corresponding to each back-to-source device and the IP address of the source station corresponding to each back-to-source device;
  • the IP addresses of the multiple back-to-source devices According to the IP addresses of the multiple back-to-source devices, the domain name information of the source stations corresponding to the multiple back-to-source devices, the IP addresses of the source stations corresponding to the multiple back-to-source devices, and the multiple virtual IP addresses, Generate an IP address mapping table.
  • the processing module parses the first data packet, and also obtains data information corresponding to the first data packet;
  • the processing module is further configured to process the data information to obtain processed data information;
  • the transceiver module is further configured to obtain a second data packet according to the processed data information and the destination IP address, and send the second data packet.
  • the edge device includes:
  • a processing module configured to determine that after receiving the first data packet sent by the client device, analyze the first data packet to obtain a destination port corresponding to the first data packet;
  • the transceiver module is configured to send the first data packet according to the destination port.
  • the processing module parses the first data packet, and also obtains data information corresponding to the first data packet;
  • the processing module is further configured to divert the data information to a first port, where the first port is from the one or A port for receiving data information determined from the plurality of ports; and, after determining that the data information arrives at the first port, acquiring the destination port corresponding to the first data packet;
  • the transceiver module is further configured to send the first data packet according to the data information corresponding to the first data packet and the destination port.
  • the transceiver module is further used to process the data information to obtain processed data information
  • a computer-readable storage medium provided by an embodiment of the present application includes instructions, which when run on a computer, cause the computer to execute the method described in the embodiment of the present application.
  • a computer program product provided by an embodiment of the present application when it runs on a computer, causes the computer to execute the method described in the embodiment of the present application.
  • Figure 1a is a diagram of an applicable system architecture provided by an embodiment of the application.
  • FIG. 1b is a diagram of another applicable system architecture provided by an embodiment of the application.
  • FIG. 2 is a schematic flowchart corresponding to a data processing method provided in an embodiment of the application
  • FIG. 3 is a schematic diagram of interaction corresponding to a data processing method provided in an embodiment of the application.
  • FIG. 4 is a schematic diagram of interaction corresponding to another data processing method provided in an embodiment of the application.
  • FIG. 5 is a schematic structural diagram of an edge device provided in an embodiment of this application.
  • FIG. 6 is a schematic structural diagram of another edge device provided in an embodiment of this application.
  • Figure 1a is a schematic diagram of a system architecture applicable to the embodiments of this application.
  • the system architecture can be used to schedule data information sent by client devices.
  • the system architecture shown in Figure 1a can have many possibilities, such as a DNS system. , Or it can be a content delivery network (Content Delivery Network, CDN) system, which is not specifically limited.
  • CDN Content Delivery Network
  • the system architecture may include at least one client device (such as the client device 101, the client device 102, the client device 103, and the client device 104 shown in FIG. 1a), the edge device 200, and Multiple source stations (such as source station 301, source station 302, and source station 303 illustrated in FIG. 1a).
  • client device 101 to the client device 104 may be located in the same area
  • the edge device 200 may be responsible for managing the client device 101 to the client device 104 located in the area.
  • the edge device 200 can communicate with each client device in the area by accessing the network.
  • the edge device 200 can communicate with the client devices 101 to 104 through a wired manner (network cable, optical fiber, etc.) Or, it is also possible to communicate with the client device 101 to the client device 104 in a wireless manner (Bluetooth, wireless network communication technology (Wireless Fidelity, WIFI, etc.)).
  • a wired manner network cable, optical fiber, etc.
  • a wireless manner Bluetooth, wireless network communication technology (Wireless Fidelity, WIFI, etc.)
  • the client device may be a terminal device, such as a mobile phone, a notebook computer, a desktop computer, and the like.
  • the client device may have multiple functions, such as routing function, recording function, and consensus function.
  • the client device can transmit data information or request messages to the edge device, and can receive information fed back by the edge device; or, the client device can record all data information transmission processes in the history, such as the time of data information transmission , The amount of data to transmit data information, etc.; or, the client device can communicate with client devices in the same area or different areas to share data information.
  • the routing function is a function that each client device in at least one client device must have, and other functions can be set by those skilled in the art according to actual needs.
  • the edge device 200 can process the data information and send the processed data information to the source station 301. So as to realize the scheduling process of data information.
  • there can be many ways to process data information For example, if the edge device 200 detects that the amount of data information is large, the data information can be compressed, and the compressed data information can be sent to the source station 301. , Can increase the speed of data information transmission; or, if the edge device 200 detects that the data information contains sensitive information, it can encrypt the data information, and by sending the encrypted data information to the source station 301, the data information can be improved Safety.
  • the edge device processes the data information, and it is not limited to this way.
  • the data information can also be processed according to actual needs, which is not specifically limited.
  • FIG. 1a is only an example of a system architecture applicable to the embodiment of the present application. It is understandable that in other possible examples, the system applicable to the data processing method provided in the embodiment of the present application may be The solution in the embodiment of this application.
  • the system architecture may further include multiple edge devices, and any one of the multiple edge devices can manage multiple client devices.
  • the system architecture may include a first edge device to a third edge device, the first edge device may be responsible for managing the first to fourth client devices located in area A1, and the second edge device may be responsible for managing For the fifth client device to the sixth client device located in the area A2, the third edge device may be responsible for managing the seventh client device to the tenth client device located in the area A3.
  • Figure 1b is a schematic diagram of another system architecture to which the embodiments of this application are applicable.
  • the system architecture shown in Figure 1b may also include at least one back-to-source device, such as the one shown in Figure 1b Back-to-source device 401, back-to-source device 402, and back-to-source device 403.
  • at least one back-to-source device may be provided between the edge device and multiple source stations, and the edge device, the back-to-source device, and the source station may realize a communication connection in a wired or wireless manner.
  • the edge device and the back-to-source device are connected through a network cable (or optical fiber), and the back-to-source device and the source station are connected through WIFI (or Bluetooth); or the edge device and the back-to-source device are connected through WIFI (or Bluetooth) Connection, and the return-to-source device and the source station are connected through a network cable (or optical fiber); or the edge device, the return-to-source device and the source station are all connected through a network cable (or optical fiber, WIFI, Bluetooth), which is not specifically limited.
  • each back-to-source device in the at least one back-to-source device can correspond to each of the multiple source stations one-to-one.
  • each of the at least one back-to-source device can manage multiple source stations located in the same area.
  • the system architecture may include the first back-to-source device to the third back-to-source device,
  • the first back-to-origin device can manage the first to third source stations located in area B1, the second back-to-origin device can manage the fourth source station in area B2, and the third back-to-origin device can manage the area B3
  • the fifth source station ⁇ the seventh source station.
  • the realization process of the client device 101 sending data information to the source station 301 can be as follows: after receiving the data information sent by the client device 101, the edge device 200 can The data information is processed, and the processed data information is sent to the back-to-source device 401 corresponding to the source station 301; accordingly, the back-to-source device 401, after receiving the processed data information, can analyze the processed data information Perform inverse processing, and then send the data information obtained by the inverse processing to the source station 301.
  • the back-to-source device 401 can decompress the compressed data information; if the edge device 200 encrypts the data information, the back-to-source device 401 can decompress the encrypted data information. Data information is decrypted.
  • the return-to-source device corresponding to the source station can be set closer to the source station, and the return-to-source device performs inverse processing on the processed data information, so that the source station can directly perform the processing after receiving the data information.
  • follow-up processing without additional work such as decompression or decryption, which can reduce the pressure on the source station.
  • the data information sent by the client device can include two types (for ease of description, called the first type and the second type), the first type of data information can be encapsulated with the domain name information of the target source station , Such as data information based on HyperText Transfer Protocol (HTTP); the second type of data information cannot encapsulate the domain name information of the target source station, such as data information based on Transmission Control Protocol (TCP), Data information based on User Datagram Protocol (User Datagram Protocol, UDP), etc.
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • the client device can parse the data information to obtain the domain name information of the source station after receiving the data information, so as to determine the IP address and destination port of the source station through the domain name information of the source station.
  • the edge device since it does not encapsulate the domain name information of the source station, in actual operation, if the client device only sends data information to the edge device, the edge device cannot obtain the target source station’s information based on the data information. IP address and destination port, resulting in errors in the scheduling of data information.
  • the prior art manually sets multiple virtual IP addresses and multiple ports in the edge device in advance, where multiple virtual IP addresses can correspond to multiple source stations one-to-one, and multiple ports can correspond to multiple sources.
  • the port of the source station is the same.
  • the edge device can synchronize the correspondence between multiple virtual IP addresses and multiple source stations with the client device.
  • the client device can determine the virtual IP address corresponding to the target source station according to the information synchronized by the edge device, thereby Send the data information to the virtual IP address corresponding to the target source station; for example, after the edge device receives the data information sent by the client device, it can determine the destination port (such as port 5) encapsulated in the data information, and send the data information Drain to port 5 set on the edge device.
  • the edge device in the prior art can determine the IP address and destination port of the target source station according to the virtual IP address and port where the data information arrives, so that the data information can be forwarded to the target source station.
  • the same port as the port of multiple source stations needs to be set on the edge device. If a certain port of the source station is the same as the original port of the edge device, the edge The function performed by the original port of the device is abandoned, which limits the function of the edge device; or, the virtual IP address and port set on the edge device are set according to the manually obtained IP address and port of the source station , If the IP address or port of the source station changes at a certain moment, the virtual IP address and port set on the edge device may not be updated in real time, resulting in errors in the scheduling of data information. It can be seen that the use of the prior art solution will make scheduling of data information less flexible.
  • the following specifically describes the data processing method in the embodiment of the present application, which can implement the scheduling process of data information between the client device and the target source station.
  • the client device when the client device determines to perform data scheduling with the target source station, the client device may send a first data packet to the edge device.
  • the first data packet may include the virtual IP address or may include the target port , Or can also include the virtual IP address and destination port.
  • the edge device can parse the first data packet to obtain the virtual IP address corresponding to the first data packet , And perform data processing according to the virtual IP address; if the first data packet includes a destination port, the edge device can parse the first data packet to obtain the destination port corresponding to the first data packet, and perform data processing according to the destination port; If a data packet includes a virtual IP address and a destination port, the edge device can parse the first data packet to obtain the virtual IP address and destination port corresponding to the first data packet, and perform data processing according to the virtual IP address and destination port.
  • Example 1 corresponds to the aspect that includes the virtual IP address in the first data packet
  • Example 2 corresponds to the aspect that includes the destination port in the first data packet
  • Example 3 corresponds to the first data packet. It includes aspects of virtual IP address and destination port.
  • the edge device can query the IP address mapping table according to the virtual IP address corresponding to the first data packet to obtain the virtual IP address The corresponding destination IP address; for example, the edge device may send the first data packet according to the destination IP address.
  • an IP address mapping table can be set in the edge device. By querying the IP address mapping table to obtain the destination IP address, the edge device does not need to synchronize the source station information with the client device, thereby making sure The process of the destination IP address is more flexible, thereby increasing the flexibility of data information scheduling.
  • the destination port corresponding to the first data packet may be determined by the prior art. Take an example of the prior art to illustrate: before the edge device receives the first data packet, multiple ports can be manually set on the edge device, and the multiple ports are the same as the ports of multiple source stations; After the edge device receives the first data packet, it can use the existing technology to divert the first data packet to the same port set on the edge device as the port of the destination source station; at this time, the edge device detects the first data packet The arriving port determines the destination port corresponding to the first data packet (for example, if the first data packet is diverted to port 5, the destination port is port 5).
  • the edge device can query the IP address mapping table after parsing the virtual IP address obtained by the first data packet to obtain the destination IP address, and can determine the port where the first data packet arrives as the destination port , So that the edge device can send the first data packet according to the destination IP address and destination port.
  • Example 2 if the edge device parses the first data packet and obtains the destination port corresponding to the first data packet, the edge device can send the first data packet according to the destination port.
  • the destination port obtained by parsing the first data packet is the destination port of the source station.
  • the method in Example 2 is adopted. Compared with the method of statically specifying the destination port in the prior art, there is no need to set the destination port on the edge device.
  • the port can support the protocol that the port needs to negotiate dynamically, and improve the flexibility of data information scheduling.
  • the virtual IP address corresponding to the first data packet may be determined by the prior art. Take an example of the prior art to illustrate: before the edge device receives the first data packet, it can manually obtain the IP addresses of multiple source stations, and set multiple virtual IP addresses in the device edge device. The IP address has a one-to-one correspondence with the IP addresses of multiple source stations; and the edge device can send the corresponding relationship to the client device, so that the client device can determine with the target source station before sending the first data packet. The virtual IP address corresponding to the IP address of the station. At this time, the client device may encapsulate the virtual IP address in the first data packet, and then send the first data packet to the edge device. For example, the edge device can determine the destination IP address according to the correspondence between the virtual IP address set manually and the IP address of the source station.
  • the edge device parses the first data packet and obtains the virtual IP address and destination port corresponding to the first data packet, the edge device can send the first data according to the virtual IP address and destination port corresponding to the first data packet package.
  • Example 3 The edge device is used to parse the first data packet to obtain the virtual IP address and the destination port.
  • the destination port obtained by parsing the first data packet is the destination port of the source station. Compared with the prior art, the destination port is specified statically.
  • the destination IP address can be obtained by querying the IP address mapping table In this way, the edge device does not need to synchronize the source station information with the client device, which makes the process of determining the destination IP address more flexible.
  • Example 3 takes Example 3 as an example to describe the implementation process of the data processing method in the embodiment of this application.
  • the process of determining the destination IP address in Example 1 and the process of determining the destination port in Example 2 can be implemented with reference to the method in Example 3, and will not be repeated. .
  • Fig. 2 is a schematic flow diagram corresponding to a data processing method provided by an embodiment of the application. As shown in Fig. 2, the method includes:
  • Step 201 After determining that the edge device receives the first data packet sent by the client device, it parses the first data packet to obtain a virtual IP address and a destination port corresponding to the first data packet.
  • the first data packet sent by the client device may include a virtual IP address and a destination port, where the virtual IP address may be a virtual IP address corresponding to the target source station.
  • the virtual IP address may be a virtual IP address corresponding to the target source station.
  • multiple virtual IP addresses can be set on the edge device, and the multiple virtual IP addresses correspond to the IP addresses of multiple source stations.
  • the virtual IP address (such as virtual IP address a) corresponding to the target source station can be determined in advance, so that the first data packet can be sent to the virtual IP address a of the edge device.
  • the virtual IP address may be manually determined by the client device, or The client device is determined according to the correspondence between the source station synchronized by the edge device and the virtual IP address. Specifically, after obtaining the identification information of multiple source sites (ie, the domain name information of the target source site), the user can set multiple virtual IP addresses in the edge device, and construct multiple virtual IP addresses and multiple source sites The corresponding relationship table of the domain name information, in the correspondence table, each virtual IP address can correspond to the domain name information of a source station.
  • the edge device can synchronize the correspondence table of multiple virtual IP addresses and the domain name information of multiple source stations to the client device. After the client device determines the target source station, it can manually or automatically from the correspondence table Determine the virtual IP address corresponding to the domain name information of the target source station.
  • the virtual IP address may be determined by the client device according to the virtual IP address sent by the edge device. Specifically, before sending the first data packet to the edge device, the client device may send a request message to the edge device in advance, and the request message may include the domain name information of the target source station; accordingly, the edge device receives the client device After sending the request message, the request message can be parsed to obtain the domain name information of the target source station, and the IP address mapping table can be queried according to the domain name information of the target source station to obtain the virtual IP address corresponding to the domain name information of the target source station.
  • the edge device can send a response message to the client device, and the response message can include the virtual IP address corresponding to the domain name information of the target source station; after receiving the response message sent by the edge device, the client device can parse the response message to obtain the virtual IP address. IP address, and send the first data packet containing the virtual IP address to the edge device.
  • the first data packet sent by the client device may include the virtual IP address corresponding to the IP address of the target source station, and the virtual IP address corresponding to the IP address of the target source station may be the client device from the edge device That is, in the embodiment of the application, the client device and the edge device are used to obtain the virtual IP address corresponding to the IP address of the target source station.
  • the target source station is manually determined
  • the edge device does not need to synchronize the corresponding relationship between the IP addresses of multiple source sites and multiple virtual IP addresses to the client device, and can determine the target source site’s identity without human interaction.
  • the virtual IP address corresponding to the IP address can improve the flexibility of data processing and improve the user experience.
  • an IP address mapping table may be stored in the edge device, where the IP address mapping table may be automatically generated by the edge device according to information of multiple source stations. Specifically, after receiving information from multiple source stations, the edge device may generate multiple virtual IP addresses according to the number of multiple source stations, where the multiple virtual IP addresses correspond to the multiple source stations one-to-one. Among them, the information of multiple source stations may be sent by multiple source stations, or may also be sent by the return-to-source device. The information of each source station may include the IP address of the source station, or may also include the domain name of the source station The information and/or the IP address of the return-to-source device is not specifically limited. For example, the edge device can generate an IP address mapping table based on the information of multiple source stations and multiple virtual IP addresses.
  • the IP address mapping table can be automatically generated by the edge device according to the information sent by multiple source stations, and the information sent by each source station may include the domain name information of each source station And the IP address of each source station. Specifically, after receiving the domain name information of multiple source stations and the IP addresses of multiple source stations from multiple source stations, the edge device can generate IP addresses with multiple source stations based on the IP addresses of multiple source stations. One-to-one corresponding multiple virtual IP addresses, and then generate an IP address mapping table based on the domain name information of multiple source sites, the IP addresses of multiple source sites, and multiple virtual IP addresses.
  • the source station 301 to the source station 303 can respectively send the information of the source station 301 to the source station 303 to the edge device 200.
  • the source station 301 can follow the preset period or Real-time detection of the source station 301 information (the domain name information of the source station 301 and the IP address of the source station 301), if a change in the information of the source station 301 is detected, the information of the source station 301 after the change can be sent to the edge device 200 .
  • a first preset table may be set in the edge device 200, and the first preset table stores information of multiple source stations.
  • the first preset table is updated, for example, the information of the source station 301 stored in the first preset table is replaced with the information of the source station 301 after the change.
  • Table 1 is a schematic diagram of the content of the first preset table in an edge device.
  • Table 1 The content of the first preset table in an edge device
  • Source station 301 fileserver1.com 192.168.10.100 Origin Station 302 fileserver2.com 192.168.20.100 Origin Station 303 fileserver3.com 192.168.30.100
  • the edge device 200 can determine that the number of the multiple source stations is 3 according to the information of the multiple source stations obtained by parsing the first preset table. Therefore, the edge device 200 can be configured with 3 source stations in the edge device 200.
  • the edge device 200 may generate an IP address mapping table based on the domain name information of the 3 source stations, the IP addresses of the 3 source stations, and the 3 virtual IP addresses. Based on the information of multiple source stations shown in Table 1, the IP address mapping table generated by the edge device 200 may be as shown in Table 2.
  • the IP address mapping table can be automatically generated by the edge device based on the information sent by multiple back-to-source devices, and the information sent by each back-to-source device can include each back-to-source The IP address of the device, the domain name information of the source station corresponding to each back-to-source device, and the IP address of the source station corresponding to each back-to-source device.
  • the edge device can generate a one-to-one correspondence with the IP addresses of the source stations corresponding to the multiple back-to-source devices based on the IP addresses of the source stations corresponding to the multiple back-to-source devices Based on the multiple virtual IP addresses of multiple back-to-source devices, the domain name information of the source station corresponding to the multiple back-to-source devices, the IP address of the source station corresponding to the multiple back-to-source devices, and multiple virtual IP addresses, Generate an IP address mapping table.
  • the back-to-source device 401 to the back-to-source device 403 can monitor the status of the source station 301 to the source station 303 according to a preset period or in real time, and can send the source station 301 to the source station to the edge device 200 For the information of 303, take the back-to-source device 401 as an example. If the back-to-source device 401 detects that the information of the source station 301 has changed, it can send the changed information of the source station 301 to the edge device 200. What is described here is the case where the IP address of the back-to-source device 401 does not change.
  • the back-to-source device 401 can change the IP address of the back-to-source device 401 and the changed IP address.
  • the information of the source station 301 is sent to the edge device 200 together.
  • a second preset table may be set in the edge device 200, and the second preset table stores the information of multiple source stations and the IP addresses of multiple back-to-source devices.
  • the edge device 200 can update the second preset table, for example, replace the information of the source station 301 stored in the second preset table with the change
  • the information of the subsequent source station 301, and/or the information of the returning device 401 stored in the second preset table is replaced with the information of the changed returning device 401.
  • Table 3 is a schematic diagram of the content of the second preset table in an edge device.
  • Table 3 Contents of the second preset table in an edge device
  • the IP address of the returning source device 401 is 192.168.10.10, the source station corresponding to the returning source device 401 is the source station 301, the domain name information of the source station 301 is fileserver1.com, and the IP address is 192.168.10.100;
  • the IP address of the source device 402 is 192.168.20.10, the source station corresponding to the return-source device 402 is the source station 302, the domain name information of the source station 302 is fileserver2.com, and the IP address is 192.168.20.100;
  • the IP address of the return-source device 403 is 192.168.30.10, the source station corresponding to the return-to-source device 403 is source station 303, the domain name information of source station 303 is fileserver3.com, and the IP address is 192.168.30.100.
  • the edge device 200 can determine that the number of the multiple source stations is 3 according to the information of the multiple source stations obtained by parsing the preset table. Therefore, the edge device 200 can set the IP addresses of the three source stations in the edge device 200. Three virtual IP addresses corresponding to the addresses one by one.
  • the edge device 200 may generate an IP address mapping table based on the IP addresses of the 3 return-to-source devices, the domain name information of the 3 source stations, the IP addresses of the 3 source stations, and the 3 virtual IP addresses. Based on the information of the multiple source stations shown in Table 3 and the IP addresses of multiple return-to-source devices, the IP address mapping table generated by the edge device 200 may be as shown in Table 4.
  • the edge device can receive information from multiple source stations in real time, so that multiple virtual IP addresses and IP address mapping tables can be automatically set, compared to the prior art method of manually setting virtual IP addresses , Better real-time, and save manpower and material resources.
  • the edge device After the edge device receives the request message sent by the client device, if the domain name information of the source station obtained by parsing the request message is fileserver2.com, the edge device can follow the table 2 The corresponding relationship between the domain name information of the source station and the virtual IP address, and the virtual IP address corresponding to fileserver2.com is determined to be 192.168.20.1. At this time, the edge device can send a response message to the client device, and the response message includes the virtual IP address (that is, 192.168.20.1). Correspondingly, after receiving the response message, the client device can send the first data packet to the edge device. The first data packet includes data information, the virtual IP address 192.168.20.1, and the destination port. Among them, the data information may be specific business information, such as data flow, information flow, and so on.
  • the edge device may parse the first data packet after determining that the first data packet arrives at the edge device to obtain the data information, virtual IP address, and destination port included in the first data packet.
  • the edge device may parse the first data packet after determining that the first data packet arrives at the edge device to obtain the data information, virtual IP address, and destination port included in the first data packet.
  • a memory program can be written in the edge device, and the memory program can drive the edge device to store the first data packet, the destination port corresponding to the first data packet, and the first data. Correspondence of the virtual IP address corresponding to the packet.
  • the edge device can use the virtual IP address and destination port corresponding to the first data packet as a piece of history
  • the message is recorded in the preset storage space of the edge device. For example, if there is a historical message "first data packet-192.168.20.1-port 5" stored in the preset storage space of the edge device, it can be determined that the edge device parses the first data packet, and the obtained first data packet corresponds to The virtual IP address is 192.168.20.1, and the destination port is port 5.
  • port 5 is the destination port.
  • the edge device may divert data information in the first data packet to a first port, where the first port is a port that is determined in advance from one or more ports and used to receive data information diverted by the edge device.
  • the first port can be a fixed port, such as fixed port 12 corresponding to the FTP protocol, or other ports, such as any one of the original ports of the edge device, which is not specifically limited; that is, the edge device can connect the first port
  • the data information in a data packet flows to any port (destination port or other port) on the edge device.
  • the edge device is provided with ports 1 to 10, and port 5 is determined to be the destination port. If the solution in the prior art is adopted, the edge device needs to divert data information to port 5.
  • the edge device can divert data information to any port from port 1 to port 10.
  • the client device and the edge device determine the destination port through real-time negotiation; if the solution in the prior art is adopted, the edge device should be The multiple ports set may not include the destination port. Therefore, the edge device cannot divert data information to the destination port, which makes the data information scheduling process error.
  • the client device and the edge device negotiate in real time to determine the destination port, the port obtained by the edge device after parsing the first data packet is the destination port. At this time, the edge device can divert the data to On any port, the data information can be scheduled normally.
  • the edge device can divert data information to the first port of the original one or more ports of the edge device, without setting the same port in the edge device as the ports of multiple source stations, so that Avoid manual acquisition of server information, save labor costs, and improve the flexibility of data scheduling. That is to say, compared with the prior art in which the destination port is statically designated, the solution in the embodiment of the present application does not need to set the destination port on the edge device, so that it can support the protocol that the port needs to negotiate dynamically and improve the data information. Flexibility of scheduling.
  • Step 202 The edge device queries the IP address mapping table according to the virtual IP address to obtain the destination IP address corresponding to the virtual IP address.
  • the edge device may query the historical information stored in the preset storage space of the edge device to obtain the virtual IP address corresponding to the first data packet. For example, the edge device can query the IP address mapping table according to the virtual IP address to obtain the destination IP address corresponding to the virtual IP address. If it is the system architecture shown in Figure 1a, the destination IP address can be the IP address of the destination source station; If it is the system architecture shown in FIG. 1b, the destination IP address may be the IP address of the return source device corresponding to the destination source station.
  • At least one proxy module may be provided in the edge device, and each proxy module in the at least one proxy module can monitor the status of a port. If the proxy module that monitors a certain port detects the port When data information arrives, the proxy module monitoring the port can execute the content shown in step 202.
  • port 1 to port 10 can be set on the edge device. If the first port is port 1, then the edge device can only be provided with a first proxy module that monitors port 1, or can also be provided with a port 1 monitor.
  • the first agent module and the second agent module to the tenth agent module monitoring ports 2 to 10 are not specifically limited.
  • the first proxy module Take the first proxy module that monitors the first port as an example. If the first proxy module detects that the data information corresponding to the first data packet arrives at the first port, it can obtain the first data packet corresponding to the preset storage space of the edge device. History. If the acquired history record is “first data packet-192.168.20.1-port 5”, the first proxy module can determine that the virtual IP address corresponding to the first data packet is 192.168.20.1 and the destination port is port 5. For example, after determining the virtual IP address 192.168.20.1 corresponding to the first data packet, the first proxy module can query the IP address mapping table to obtain the destination IP address corresponding to the virtual IP address 192.168.20.1.
  • the first proxy module can query the IP address mapping table shown in Table 2. At this time, the first proxy module can determine that the destination IP address corresponding to the virtual IP address 192.168.20.1 is the source station The IP address 192.168.20.100. If it is the system architecture shown in Figure 1b, the first proxy module can query the IP address mapping table shown in Table 4. At this time, the first proxy module can determine that the destination IP address corresponding to the virtual IP address 192.168.20.1 is back to the source The IP address of the device is 192.168.20.10.
  • Step 203 The edge device sends the first data packet according to the destination IP address and the destination port.
  • the edge device can parse the first data packet to obtain data information corresponding to the first data packet. Accordingly, the edge device can obtain data information corresponding to the first data packet, the destination IP address, and the destination port. , Get the second data packet, and send the second data packet. Specifically, the edge device can process the data information corresponding to the first data packet before obtaining the second data packet to obtain the processed data information; for example, the edge device can process the data information according to the processed data information, the destination IP address and The destination port is encapsulated to obtain the second data packet. Among them, there may be many ways to process data information, such as compression processing, acceleration processing, encryption processing, etc., which are not specifically limited.
  • the edge device can send the second data packet to the destination source station.
  • the edge device can send the second data packet to the return-to-source device.
  • the edge device can send the second data packet to the return-to-source device; accordingly; Specifically, after receiving the second data packet, the back-to-source device may obtain the third data packet according to the second data information, the IP address and the destination port of the source station corresponding to the back-to-source device, and send the third data packet.
  • the edge device sends the second data packet to the back-to-source device 402
  • the back-to-source device 402 receives the second data packet
  • the data information in the second data packet can be processed twice.
  • the data information in the first data packet is referred to as the first data information
  • the data information in the second data packet is referred to as the second data information.
  • the back-to-source device 402 may decompress and/or decrypt the second data information to obtain the third data information.
  • the back-to-source device 402 may obtain the third data packet according to the third data information, the IP address and the destination port of the source station 302 corresponding to the back-to-source device 402, and send the third data packet to the source station.
  • the edge device after determining that the edge device receives the first data packet sent by the client device, it parses the first data packet to obtain the virtual IP address and destination port corresponding to the first data packet; the edge device can The virtual IP address queries the IP address mapping table to obtain the destination IP address corresponding to the virtual IP address. For example, the edge device sends the first data packet according to the destination IP address and the destination port. The embodiment of the application uses the edge device to parse the first data packet to obtain the virtual IP address and the destination port.
  • the destination port obtained by parsing the first data packet is the destination port of the source station, which is compared with the prior art through static
  • the destination port there is no need to set the destination port on the edge device, which can support the protocol that the port needs to negotiate dynamically, and improve the flexibility of data information scheduling;
  • the destination can be obtained by querying the IP address mapping table In the IP address mode, the edge device does not need to synchronize the source station information with the client device, which makes the process of determining the destination IP address more flexible.
  • FIG. 3 is a schematic diagram of interaction corresponding to a data processing method provided by an embodiment of the application, and the method includes the following steps.
  • Step 310 The client device sends a request message to the edge device, and the request message includes the domain name information of the target source station.
  • Step 320 The edge device queries the IP address mapping table according to the request message sent by the client device, and determines the virtual IP address corresponding to the target source station.
  • Step 330 The edge device sends the virtual IP address corresponding to the target source station to the client device.
  • Step 340 After receiving the virtual IP address corresponding to the target source station, the client device sends a first data packet to the edge device.
  • the first data packet includes the virtual IP address and the destination port corresponding to the target source station.
  • Step 350 After determining that the edge device receives the first data packet sent by the client device, it parses the first data packet to obtain data information, virtual IP address and destination port corresponding to the first data packet; and according to the virtual IP address and destination port corresponding to the first data packet; IP address, query the IP address mapping table to determine the destination IP address.
  • the destination IP address is the IP address of the destination source station.
  • Step 360 The edge device generates a second data packet according to the data information corresponding to the first data packet, the destination IP address, and the destination port, and sends the second data packet to the destination source station.
  • step 360 the process of determining the destination IP address and the target port in step 310 to step 360 can be implemented with reference to the execution process shown in FIG. 2, and details are not described in detail.
  • FIG. 4 is a schematic diagram of interaction corresponding to a data processing method provided by an embodiment of the application, and the method includes the following steps.
  • Step 410 The client device sends a request message to the edge device, and the request message includes the domain name information of the target source station.
  • Step 420 The edge device queries the IP address mapping table according to the request message sent by the client device, and determines the virtual IP address corresponding to the target source station.
  • Step 430 The edge device sends the virtual IP address corresponding to the target source station to the client device.
  • Step 440 After receiving the virtual IP address corresponding to the target source station, the client device sends a first data packet to the edge device.
  • the first data packet includes the virtual IP address and destination port corresponding to the target source station.
  • Step 450 After determining that the edge device receives the first data packet sent by the client device, it parses the first data packet to obtain the data information, virtual IP address and destination port corresponding to the first data packet; and according to the virtual IP address and destination port corresponding to the first data packet; IP address, query the IP address mapping table to determine the first destination IP address.
  • the first destination IP address may be the IP address of the return source device corresponding to the destination source station.
  • Step 460 The edge device generates a second data packet according to the data information corresponding to the first data packet, the destination IP address, and the destination port, and sends the second data packet to the back-to-source device corresponding to the destination source station.
  • Step 470 The return-to-source device corresponding to the destination source station determines the second destination IP address according to the first destination IP address corresponding to the second data packet.
  • the second destination IP address may be the IP address of the destination source station.
  • Step 480 The return-to-source device corresponding to the destination source station generates a third data packet according to the data information corresponding to the second data packet, the second destination IP address, and the destination port, and sends the third data packet to the destination source station.
  • steps 410 to 480 can be implemented with reference to the execution process shown in FIG. 2, and details are not described in detail.
  • the client device can obtain the virtual IP address fed back by the edge device.
  • the client device can obtain the virtual IP address fed back by the edge device.
  • the client device The first data packet can be sent to the target source station through the edge device.
  • the virtual IP address and the destination port are obtained by using the edge device to parse the first data packet.
  • the destination port obtained by parsing the first data packet is the destination port of the source station, which is compared with the existing Technology by statically specifying the destination port, there is no need to set the destination port on the edge device, which can support the protocol that the port needs to negotiate dynamically, and improve the flexibility of data information scheduling; on the other hand, by querying the IP address mapping The way the table obtains the destination IP address, the edge device does not need to synchronize the source station information with the client device, which makes the process of determining the destination IP address more flexible.
  • an embodiment of the present application also provides an edge device, and the specific content of the edge device can be implemented with reference to the foregoing method.
  • FIG. 5 is an edge device provided by an embodiment of the application, and the edge device includes:
  • the processing module 510 is configured to determine that after receiving the first data packet sent by the client device, analyze the first data packet to obtain the virtual IP address corresponding to the first data packet; and, according to the virtual IP Address, query the IP address mapping table to obtain the destination IP address corresponding to the virtual IP address;
  • the transceiver module 520 is configured to send the first data packet according to the destination IP address.
  • the IP address mapping table is determined in the following manner: receiving the IP addresses of the multiple source stations sent by the multiple source stations, and generating and according to the IP addresses of the multiple source stations Multiple virtual IP addresses corresponding to the IP addresses of the multiple source stations one-to-one;
  • the IP address mapping table is generated according to the IP addresses of the multiple source stations and the multiple virtual IP addresses.
  • the IP address mapping table is determined in the following manner: receiving multiple pieces of information sent by back-to-source devices, and the information sent by each back-to-source device includes the IP address of each back-to-source device The IP address of the source station corresponding to each back-to-source device;
  • an IP address mapping table is generated.
  • the processing module 510 is further configured to: receive a request message sent by the client device, where the request message includes the domain name information of the target source station;
  • the target source station According to the domain name information of the target source station, query the IP address mapping table to obtain the virtual IP address corresponding to the domain name information, and send the virtual IP address to the client device.
  • the IP address mapping table is determined in the following manner: receiving the domain name information of the multiple source stations and the IP addresses of the multiple source stations sent by multiple source stations, and according to the Multiple source stations’ IP addresses, generating multiple virtual IP addresses corresponding to the multiple source stations’ IP addresses one-to-one;
  • the IP address mapping table is generated according to the domain name information of the multiple source stations, the IP addresses of the multiple source stations, and the multiple virtual IP addresses.
  • the IP address mapping table is determined in the following manner: receiving multiple pieces of information sent by back-to-source devices, and the information sent by each back-to-source device includes the IP address of each back-to-source device , The domain name information of the source station corresponding to each back-to-source device and the IP address of the source station corresponding to each back-to-source device;
  • the IP addresses of the multiple back-to-source devices According to the IP addresses of the multiple back-to-source devices, the domain name information of the source stations corresponding to the multiple back-to-source devices, the IP addresses of the source stations corresponding to the multiple back-to-source devices, and the multiple virtual IP addresses, Generate an IP address mapping table.
  • the processing module 510 parses the first data packet, and also obtains data information corresponding to the first data packet;
  • the processing module 510 is further configured to process the data information to obtain processed data information;
  • the transceiver module 520 is further configured to obtain a second data packet according to the processed data information and the destination IP address, and send the second data packet.
  • FIG. 6 is an edge device provided by an embodiment of the application, and the edge device includes:
  • the processing module 610 is configured to determine that after receiving the first data packet sent by the client device, analyze the first data packet to obtain a destination port corresponding to the first data packet;
  • the transceiver module 620 is configured to send the first data packet according to the destination port.
  • the processing module 610 parses the first data packet, and also obtains data information corresponding to the first data packet;
  • the processing module 610 is further configured to divert the data information to a first port, where the first port is from the A port determined from one or more ports for receiving data information; and, after determining that the data information arrives at the first port, obtain the destination port corresponding to the first data packet;
  • the transceiver module 620 is further configured to send the first data packet according to the data information corresponding to the first data packet and the destination port.
  • the transceiver module 620 is further configured to: process the data information to obtain processed data information;
  • the edge device after determining that the edge device receives the first data packet sent by the client device, it parses the first data packet to obtain the virtual IP address and destination port corresponding to the first data packet
  • the edge device can query the IP address mapping table according to the virtual IP address to obtain the destination IP address corresponding to the virtual IP address. For example, the edge device sends the first data packet according to the destination IP address and the destination port.
  • the embodiment of the application uses the edge device to parse the first data packet to obtain the virtual IP address and the destination port.
  • the destination port obtained by parsing the first data packet is the destination port of the source station, which is compared with the prior art through static
  • the destination port there is no need to set the destination port on the edge device, which can support the protocol that the port needs to negotiate dynamically, and improve the flexibility of data information scheduling;
  • the destination can be obtained by querying the IP address mapping table In the IP address mode, the edge device does not need to synchronize the source station information with the client device, which makes the process of determining the destination IP address more flexible.
  • the embodiments of the present application may be provided as methods or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

Landscapes

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

Abstract

本申请实施例公开了一种数据处理方法及装置,其中方法包括:边缘设备确定接收到客户端设备发送的第一数据包后,解析第一数据包,得到数据包对应的虚拟IP地址和目的端口(201);边缘设备根据虚拟IP地址,查询IP地址映射表,得到虚拟IP地址对应的目的IP地址(202);边缘设备根据目的IP地址和目的端口,发送第一数据包(203)。

Description

一种数据处理方法及装置
交叉引用
本申请引用于2019年02月20日递交的名称为“一种数据处理方法及装置”的第201910126092.0号中国专利申请,其通过引用被全部并入本申请。
技术领域
本申请涉及数据处理技术领域,尤其涉及一种数据处理方法及装置。
背景技术
在数据信息的传递过程中,为了缓解源站的压力,通常可以在客户端设备和源站之间设置边缘设备,边缘设备可以接收客户端设备发送的数据信息,并对数据信息进行处理(比如,加速处理、过滤处理、压缩处理等),将处理后的数据信息发送给目标源站,该过程即为对数据信息进行调度的过程。域名调度***(Domain Name System,DNS)为对数据信息进行调度的一个常用的应用场景,具体地说,边缘设备可以在获取到目标源站的域名信息后,根据目标源站的域名信息确定目标源站的IP地址和目的端口,从而将处理后的数据信息发送给目标源站。若确定得到的目标源站的IP地址和目的端口中任一个信息有误,则客户端设备发送的数据信息即无法被成功转发至目标源站上,从而会使得用户的体验感较差。
为了确定目标源站的IP地址和目的端口,现有技术通常采用如下方式:预先通过人工获取与边缘设备连接的源站的信息,比如源站的数量、源站的IP地址、源站的端口等,进而在边缘设备上设置与源站的信息对应的虚拟IP地址和端口。如此,在实施过程中,边缘设备可以通过客户端设备发送的数据信 息到达的虚拟IP地址和端口,确定目标源站的IP地址和目的端口。然而,采用上述方式,由于虚拟IP地址和端口是根据人工获取到的源站的信息进行设置的,若源站的信息发生变化,则需要人工重新获取变化后的源站的信息,并重新设置虚拟IP地址和端口,操作较为复杂;且,客户端设备发送的数据信息中目的端口可以是通过实时协商确定的,通过预先设置好的端口对数据信息进行调度时,预先设置好的端口中可能不包括目的端口,从而使得调度出错。因此,采用现有技术的方式可能会使得对数据信息进行调度的灵活性较差。
综上,目前亟需一种数据处理方法及装置,用以提高对数据信息调度的灵活性。
发明内容
本申请实施例提供一种数据处理方法及装置,用以提高对数据信息调度的灵活性。
本申请实施例提供的一种数据处理方法,所述方法包括:边缘设备确定接收到客户端设备发送的第一数据包后,可以对所述第一数据包进行解析,得到所述第一数据包对应的虚拟IP地址;且,所述边缘设备可以根据所述虚拟IP地址,查询IP地址映射表,从而得到所述虚拟IP地址对应的目的IP地址;例如,所述边缘设备可以根据所述目的IP地址,发送所述第一数据包。
本申请实施例中,边缘设备中可以设置有IP地址映射表,通过采用查询IP地址映射表的方式获取目的IP地址,边缘设备可以无需向客户端设备同步源站的信息,从而使得确定目的IP地址的过程更加灵活,进而提高对数据信息调度的灵活性。
在一个实施例中,所述IP地址映射表可以为通过如下方式确定的:所述边缘设备在接收到多个源站发送的所述多个源站的IP地址后,可以根据所述多个源站的IP地址生成与所述多个源站的IP地址一一对应的多个虚拟IP地址;例如,所述边缘设备可以根据所述多个源站的IP地址和所述多个虚拟IP地址,生 成所述IP地址映射表。
本申请实施例中,边缘设备可以根据多个源站的IP地址自动生成多个虚拟IP地址和IP地址映射表,而无需人为设定多个虚拟IP地址和IP地址映射表,从而可以减少人力成本,且便于实现;且,通过采用源站向边缘设备发送源站的IP地址的方式,可以使得边缘设备实时对IP地址映射表进行更新,比如,若边缘设备接收到源站发送的源站的新IP地址,则可以使用源站的新IP地址对边缘设备进行更新;也就是说,相比于现有技术确定IP地址映射表的方式来说,本申请实施例中确定的IP地址映射表可以具有更好的实时性,更加满足实际要求。
在一个实施例中,所述IP地址映射表可以为通过如下方式确定的:所述边缘设备接收到多个回源设备发送的信息后,解析所述多个回源设备发送的信息,得到所述每个回源设备发送的信息中包括的所述每个回源设备的IP地址和所述每个回源设备对应的源站的IP地址;同时,所述边缘设备可以根据所述多个回源设备对应的源站的IP地址,生成与所述多个回源设备对应的源站的IP地址一一对应的多个虚拟IP地址;例如,所述边缘设备可以根据所述多个回源设备的IP地址、所述多个回源设备对应的源站的IP地址和所述多个虚拟IP地址,生成IP地址映射表。
本申请实施例中,通过设置与多个源站一一对应的多个回源设备,可以使得客户端设备通过访问与源站对应的回源设备获取到需要的资源,从而避免多个客户端设备同时访问源站所导致的源站压力较大的技术问题;且,边缘设备可以根据回源设备发送的源站的IP地址建立IP地址映射表,从而可以节省人力成本,提高数据信息调度的灵活性。
在一个实施例中,所述边缘设备接收到客户端设备发送的第一数据包之前,所述方法还可以包括:所述边缘设备接收客户端设备发送的请求消息,并解析所述请求消息,得到所述请求消息中包括的目标源站的域名信息;例如,所述边缘设备可以根据所述目标源站的域名信息,查询所述IP地址映射表,得 到所述域名信息对应的虚拟IP地址,并可以将所述虚拟IP地址发送给所述客户端设备。
此处,客户端设备发送的第一数据包中可以包括目标源站的IP地址对应的虚拟IP地址,而目标源站的IP地址对应的虚拟IP地址可以为客户端设备从边缘设备中预先获取的;也就是说,本申请实施例中采用客户端设备和边缘设备通信的方式来获取目标源站的IP地址对应的虚拟IP地址,相比于现有技术通过人为确定目标源站的IP地址对应的虚拟IP地址的方式来说,边缘设备可以无需向客户端设备同步多个源站的IP地址和多个虚拟IP地址的对应关系,且可以无需通过人为交互确定目标源站的IP地址对应的虚拟IP地址,从而可以提高数据处理的灵活性,提高用户的体验。
在一个实施例中,所述IP地址映射表可以为通过如下方式确定的:所述边缘设备接收多个源站发送的所述多个源站的域名信息和所述多个源站的IP地址,并可以根据所述多个源站的IP地址,生成与所述多个源站的IP地址一一对应的多个虚拟IP地址;例如,所述边缘设备可以根据所述多个源站的域名信息、所述多个源站的IP地址和所述多个虚拟IP地址,生成所述IP地址映射表。本申请实施例中,IP地址映射表中可以存储有多个源站的域名信息、多个源站的IP地址和多个虚拟IP地址的映射关系,从而使得边缘设备可以根据目标源站的域名信息得到目标源站的IP地址,而无需通过人为确定目标源站的域名信息与目标源站的IP地址的对应关系,操作简单、便于实现。
在一个实施例中,所述IP地址映射表可以为通过如下方式确定的:所述边缘设备接收到多个回源设备发送的信息后,对所述多个回源设备发送的信息进行解析,得到所述每个回源设备发送的信息中包括的所述每个回源设备的IP地址、所述每个回源设备对应的源站的域名信息和所述每个回源设备对应的源站的IP地址;且,所述边缘设备可以根据所述多个回源设备对应的源站的IP地址,生成与所述多个回源设备对应的源站的IP地址一一对应的多个虚拟IP地址;例如,所述边缘设备可以根据所述多个回源设备的IP地址、所述多个回源设备 对应的源站的域名信息、所述多个回源设备对应的源站的IP地址和所述多个虚拟IP地址,生成IP地址映射表。
在一个实施例中,所述边缘设备对所述第一数据包进行解析时,还可以得到所述第一数据包对应的数据信息;此时,所述边缘设备根据所述目的IP地址,发送所述第一数据包,还可以包括:所述边缘设备对所述第一数据包对应的数据信息进行处理,得到处理后的数据信息;例如,所述边缘设备可以根据所述处理后的数据信息和所述目的IP地址,得到第二数据包,并发送所述第二数据包。本申请实施例中,在对数据信息进行调度的过程中,通过对第一数据包对应的数据信息进行处理(比如压缩、加密等),并发送处理后的数据信息,可以提高数据传输的速度,提高数据信息调度的灵活性,且可以满足用户的要求,提高用户的体验感。
本申请实施例提供的一种数据处理方法,所述方法包括:边缘设备确定接收到客户端设备发送的第一数据包后,可以对所述第一数据包进行解析,得到所述第一数据包对应的目的端口;例如,所述边缘设备可以根据所述目的端口,发送所述第一数据包。
本申请实施例采用边缘设备解析第一数据包的方式获取目的端口,其中,解析第一数据包得到的目的端口即为源站的目的端口,相比于现有技术通过静态指定目的端口的方式来说,可以无需在边缘设备上设置目的端口,从而可以支持端口需要动态协商的协议,提高对数据信息调度的灵活性。
在一个实施例中,所述边缘设备对所述第一数据包进行解析时,还可以得到所述第一数据包对应的数据信息;相应地,所述边缘设备在得到所述第一数据包对应的目的端口后,根据所述目的端口,发送所述第一数据包的过程可以包括:所述边缘设备将所述数据信息引流到第一端口,其中,所述第一端口可以为预先从所述一个或多个端口中确定出的用于接收数据信息的端口;例如,所述边缘设备可以在确定所述数据信息到达所述第一端口后,获取所述第一数据包对应的目的端口,并根据所述第一数据包对应的数据信息和所述目的端口, 发送所述第一数据包。
本申请实施例采用边缘设备解析第一数据包的方式获取目的端口,其中,解析第一数据包得到的目的端口即为源站的目的端口,相比于现有技术通过静态指定目的端口的方式来说,可以无需在边缘设备上设置目的端口,从而可以支持端口需要动态协商的协议,提高对数据信息调度的灵活性。
在一个实施例中,所述边缘设备根据所述第一数据包对应的数据信息和所述目的端口,发送所述第一数据包,可以包括:所述边缘设备对所述第一数据包对应的数据信息进行处理,得到处理后的数据信息;例如,所述边缘设备可以根据所述处理后的数据信息和所述目的端口,得到第二数据包,并发送所述第二数据包。
本申请实施例提供的一种边缘设备,所述边缘设备包括:
处理模块,用于确定接收到客户端设备发送的第一数据包后,对所述第一数据包进行解析,得到所述第一数据包对应的虚拟IP地址;以及,根据所述虚拟IP地址,查询IP地址映射表,得到所述虚拟IP地址对应的目的IP地址;
收发模块,用于根据所述目的IP地址,发送所述第一数据包。
在一个实施例中,所述IP地址映射表是通过如下方式确定的:接收多个源站发送的所述多个源站的IP地址,并根据所述多个源站的IP地址,生成与所述多个源站的IP地址一一对应的多个虚拟IP地址;
根据所述多个源站的IP地址和所述多个虚拟IP地址,生成所述IP地址映射表。
在一个实施例中,所述IP地址映射表是通过如下方式确定的:接收多个回源设备发送的信息,所述每个回源设备发送的信息包括所述每个回源设备的IP地址和所述每个回源设备对应的源站的IP地址;
根据所述多个回源设备对应的源站的IP地址,生成与所述多个回源设备对应的源站的IP地址一一对应的多个虚拟IP地址;
根据所述多个回源设备的IP地址、所述多个回源设备对应的源站的IP地址 和所述多个虚拟IP地址,生成IP地址映射表。
在一个实施例中,所述处理模块还用于:接收客户端设备发送的请求消息,所述请求消息中包括目标源站的域名信息;
根据所述目标源站的域名信息,查询所述IP地址映射表,得到所述域名信息对应的虚拟IP地址,并将所述虚拟IP地址发送给所述客户端设备。
在一个实施例中,所述IP地址映射表是通过如下方式确定的:接收多个源站发送的所述多个源站的域名信息和所述多个源站的IP地址,并根据所述多个源站的IP地址,生成与所述多个源站的IP地址一一对应的多个虚拟IP地址;
根据所述多个源站的域名信息、所述多个源站的IP地址和所述多个虚拟IP地址,生成所述IP地址映射表。
在一个实施例中,所述IP地址映射表是通过如下方式确定的:接收多个回源设备发送的信息,所述每个回源设备发送的信息包括所述每个回源设备的IP地址、所述每个回源设备对应的源站的域名信息和所述每个回源设备对应的源站的IP地址;
根据所述多个回源设备对应的源站的IP地址,生成与所述多个回源设备对应的源站的IP地址一一对应的多个虚拟IP地址;
根据所述多个回源设备的IP地址、所述多个回源设备对应的源站的域名信息、所述多个回源设备对应的源站的IP地址和所述多个虚拟IP地址,生成IP地址映射表。
在一个实施例中,所述处理模块对所述第一数据包进行解析,还得到所述第一数据包对应的数据信息;
所述收发模块根据所述目的IP地址,发送所述第一数据包之前,所述处理模块还用于,对所述数据信息进行处理,得到处理后的数据信息;
所述收发模块还用于,根据所述处理后的数据信息和所述目的IP地址,得到第二数据包,并发送所述第二数据包。
本申请实施例提供的一种边缘设备,所述边缘设备包括:
处理模块,用于确定接收到客户端设备发送的第一数据包后,对所述第一数据包进行解析,得到所述第一数据包对应的目的端口;
收发模块,用于根据所述目的端口,发送所述第一数据包。
在一个实施例中,所述处理模块对所述第一数据包进行解析,还得到所述第一数据包对应的数据信息;
所述收发模块根据所述目的端口,发送所述第一数据包之前,所述处理模块还用于,将所述数据信息引流到第一端口,所述第一端口为预先从所述一个或多个端口中确定出的用于接收数据信息的端口;以及,确定所述数据信息到达所述第一端口后,获取所述第一数据包对应的目的端口;
所述收发模块还用于,根据所述第一数据包对应的数据信息和所述目的端口,发送所述第一数据包。
在一个实施例中,所述收发模块还用于:对所述数据信息进行处理,得到处理后的数据信息;
根据所述处理后的数据信息和所述目的端口,得到第二数据包,并发送所述第二数据包。
本申请实施例提供的一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如本申请实施例所述的方法。
本申请实施例提供的一种计算机程序产品,当其在计算机上运行时,使得计算机执行如本申请实施例所述的方法。
本申请的这些实施例在以下实施例的描述中会更加简明易懂。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1a为本申请实施例提供的一种适用的***架构图;
图1b为本申请实施例提供的另一种适用的***架构图;
图2为本申请实施例中提供的一种数据处理方法对应的流程示意图;
图3为本申请实施例中提供的一种数据处理方法对应的交互示意图;
图4为本申请实施例中提供的另一种数据处理方法对应的交互示意图;
图5为本申请实施例中提供的一种边缘设备的结构示意图;
图6为本申请实施例中提供的另一种边缘设备的结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作详细描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
图1a为本申请实施例适用的一种***架构示意图,使用该***架构可以实现对客户端设备发送的数据信息进行调度,图1a所示意的***架构可以有多种可能,比如可以为DNS***,或者可以为内容分发网络(Content Delivery Network,CDN)***,具体不作限定。
如图1a所示,该***架构中可以包括至少一个客户端设备(比如图1a所示意出的客户端设备101、客户端设备102、客户端设备103和客户端设备104)、边缘设备200和多个源站(比如图1a所示意出的源站301、源站302和源站303)。其中,客户端设备101~客户端设备104可以位于同一个区域,边缘设备200可以负责管理位于该区域内的客户端设备101~客户端设备104。具体地说,边缘设备200可以通过接入网络而与该区域的每一个客户端设备通信,比如,边缘设备200可以通过有线方式(网线、光纤等)与客户端设备101~客户端设备104通信,或者也可以通过无线方式(蓝牙、无线网络通信技术(Wireless Fidelity,WIFI等)与客户端设备101~客户端设备104通信。
具体实施中,客户端设备可以为终端设备,比如手机、笔记本电脑、台式机等。客户端设备可以具有多种功能,比如,路由功能、记录功能和共识功能等。具体地说,客户端设备可以向边缘设备传输数据信息或请求消息,且可以接收边缘设备反馈的信息;或者,客户端设备可以记录历史上所有的数据信息的传输过程,比如传输数据信息的时间、传输数据信息的数据量等;或者,客户端设备可以与同区域或不同区域的客户端设备通信,以共享数据信息。实际应用中,路由功能是至少一个客户端设备中的每个客户端设备必须具有的功能,而其它功能可由本领域技术人员根据实际需要进行设置。
以客户端设备101向源站301发送数据信息为例,边缘设备200接收到客户端设备101发送的数据信息后,可以对数据信息进行处理,并将处理后的数据信息发送给源站301,从而实现对数据信息的调度过程。其中,对数据信息进行处理的方式可以有多种,比如,若边缘设备200检测到数据信息的数据量较大,则可以对数据信息进行压缩,通过将压缩后的数据信息发送给源站301,可以提升数据信息发送的速度;或者,若边缘设备200检测到数据信息中包含敏感信息,则可以对数据信息进行加密,通过将加密后的数据信息发送给源站301,可以提高数据信息的安全。此处仅为示例性描述边缘设备对数据信息进行处理的方式,并非限定采用该种方式,在具体实施中,也可以根据实际需要对数据信息进行处理,具体不作限定。
需要说明的是,图1a仅为本申请实施例适用的一种***架构的示例,可以理解的,在其它可能的示例中,适用于本申请实施例中提供的数据处理方法的***均可以为本申请实施例中的方案。在一个示例中,***架构中还可以包括多个边缘设备,多个边缘设备中的任一边缘设备可以管理多个客户端设备。举例来说,***架构中可以包括第一边缘设备~第三边缘设备,第一边缘设备可以负责管理位于区域A1内的第一客户端设备~第四客户端设备,第二边缘设备可以负责管理位于区域A2内的第五客户端设备~第六客户端设备,第三边缘设备可以负责管理位于区域A3内的第七客户端设备~第十客户端设备。
图1b为本申请实施例适用的又一种***架构示意图,与图1a中的***架构相比,图1b所示意出的***架构中还可以包括至少一个回源设备,比如图1b所示意的回源设备401、回源设备402和回源设备403。其中,至少一个回源设备可以设置在边缘设备和多个源站之间,边缘设备、回源设备和源站之间可以通过有线方式或者无线方式实现通信连接。比如,边缘设备与回源设备之间通过网线(或光纤)连接,而回源设备与源站之间通过WIFI(或蓝牙)连接;或者边缘设备与回源设备之间通过WIFI(或蓝牙)连接,而回源设备与源站之间通过网线(或光纤)连接;或者边缘设备、回源设备与源站之间均通过网线(或光纤、WIFI、蓝牙)连接,具体不作限定。
具体实施中,至少一个回源设备的设置方式可以有多种可能,在一个示例中,至少一个回源设备中的每个回源设备可以与多个源站中的每个源站一一对应设置;比如图1b所示,回源设备401可以与源站301对应设置,回源设备402可以与源站302对应设置,回源设备403可以与源站303对应设置。在又一个示例中,至少一个回源设备中的每个回源设备可以管理位于同一区域的多个源站,举例来说,***架构中可以包括第一回源设备~第三回源设备,第一回源设备可以管理位于区域B1内的第一源站~第三源站,第二回源设备可以管理位于区域B2内的第四源站,第三回源设备可以管理位于区域B3内的第五源站~第七源站。
以图1b所示意的回源设备的设置方式为例,客户端设备101向源站301发送数据信息的实现过程可以为:边缘设备200在接收到客户端设备101发送的数据信息后,可以对数据信息进行处理,并将处理后的数据信息发送给与源站301对应设置的回源设备401;相应地,回源设备401在接收到处理后的数据信息后,可以对处理后的数据信息进行逆处理,进而将逆处理得到的数据信息发送给源站301。举例来说明,若边缘设备200对数据信息进行压缩,则回源设备401可以对压缩后的数据信息进行解压缩;若边缘设备200对数据信息进行加密,则回源设备401可以对加密后的数据信息进行解密。本申请实施例 中,与源站对应的回源设备可以设置在距离源站较近的位置,通过回源设备对处理后的数据信息进行逆处理,可以使得源站接收到数据信息后直接进行后续处理,而无需进行解压缩或解密等额外的工作,从而可以减轻源站的压力。
在实际业务场景中,客户端设备发送的数据信息可以包括两种类型(为了便于描述,称为第一类型和第二类型),第一类型的数据信息中可以封装有目标源站的域名信息,比如基于超文本传输协议(HyperText Transfer Protocol,HTTP)的数据信息;第二类型的数据信息中无法封装目标源站的域名信息,比如基于传输控制协议(Transmission Control Protocol,TCP)的数据信息、基于用户数据报协议(User Datagram Protocol,UDP)的数据信息等。针对于第一类型的数据信息,客户端设备可以在接收到数据信息后,解析数据信息得到源站的域名信息,从而通过源站的域名信息确定源站的IP地址和目的端口。然而,针对于第二类型的数据信息,由于其未封装源站的域名信息,在实际操作中,若客户端设备仅向边缘设备发送数据信息,则边缘设备无法根据数据信息获取目标源站的IP地址和目的端口,从而导致数据信息的调度过程出错。
为了解决上述问题,现有技术预先通过人工在边缘设备中设置多个虚拟IP地址和多个端口,其中,多个虚拟IP地址可以与多个源站一一对应,多个端口可以与多个源站的端口相同。在具体实施中,边缘设备可以向客户端设备同步多个虚拟IP地址与多个源站的对应关系,因此,客户端设备可以根据边缘设备同步的信息确定目标源站对应的虚拟IP地址,从而将数据信息发送至目标源站对应的虚拟IP地址上;例如,边缘设备在接收到客户端设备发送的数据信息后,可以确定数据信息中封装的目的端口(比如端口5),并将数据信息引流至边缘设备上设置的端口5。由此可知,现有技术中边缘设备可以根据数据信息到达的虚拟IP地址和端口确定目标源站的IP地址和目的端口,从而可以将数据信息转发至目标源站上。
采用现有技术的方式,可能会存在一些问题,比如,边缘设备上需要设置和多个源站的端口相同的端口,若源站的某一个端口与边缘设备原有的端口 相同,则将边缘设备原有的端口所执行的功能弃用,从而使得边缘设备的功能受到限制;或者,边缘设备上设置的虚拟IP地址和端口均是根据人工获取到的源站的IP地址和端口进行设置的,若某一时刻源站的IP地址或端口发生变化,则边缘设备上设置的虚拟IP地址和端口可能无法进行实时更新,从而导致数据信息的调度过程出错。由此可知,采用现有技术的方案会使得对数据信息进行调度时的灵活性较差。
综上,目前亟需一种数据处理方法及装置,用以提高对数据信息调度的灵活性。
下面具体描述本申请实施例中的数据处理方法,该数据处理方法可以实现客户端设备与目标源站之间的数据信息的调度过程。
本申请实施例中,客户端设备确定与目标源站之间进行数据调度时,客户端设备可以向边缘设备发送第一数据包,第一数据包中可以包括虚拟IP地址,或者可以包括目标端口,或者还可以包括虚拟IP地址和目的端口。相应地,边缘设备在接收到客户端设备发送的第一数据包后,若第一数据包中包括虚拟IP地址,则边缘设备可以解析第一数据包,得到第一数据包对应的虚拟IP地址,并根据虚拟IP地址进行数据处理;若第一数据包中包括目的端口,则边缘设备可以解析第一数据包,得到第一数据包对应的目的端口,并根据目的端口进行数据处理;若第一数据包中包括虚拟IP地址和目的端口,则边缘设备可以解析第一数据包,得到第一数据包对应的虚拟IP地址和目的端口,并根据虚拟IP地址和目的端口进行数据处理。
下面针对于这三种可能出现的方面分别进行描述,示例一对应第一数据包中包括虚拟IP地址的方面,示例二对应第一数据包中包括目的端口的方面,示例三对应第一数据包中包括虚拟IP地址和目的端口的方面。
在示例一中,若边缘设备解析第一数据包,得到第一数据包对应的虚拟IP地址,则边缘设备可以根据第一数据包对应的虚拟IP地址,查询IP地址映射表,得到虚拟IP地址对应的目的IP地址;例如,边缘设备可以根据目的IP 地址,发送所述第一数据包。采用示例一所述的方式,边缘设备中可以设置有IP地址映射表,通过采用查询IP地址映射表的方式获取目的IP地址,边缘设备可以无需向客户端设备同步源站的信息,从而使得确定目的IP地址的过程更加灵活,进而提高对数据信息调度的灵活性。
需要说明的是,在示例一中,边缘设备在发送第一数据包时,第一数据包对应的目的端口可以为通过现有技术确定的。举一个现有技术的例子进行说明:在边缘设备接收第一数据包之前,可以通过人为的方式在边缘设备上设置与多个端口,且多个端口分别与多个源站的端口相同;在边缘设备接收到第一数据包后,可以采用现有技术的方式将第一数据包引流到边缘设备上设置的与目的源站的端口相同的端口;此时,边缘设备通过检测第一数据包到达的端口,确定第一数据包对应的目的端口(比如,第一数据包被引流至端口5,则目的端口即为端口5)。由此可知,在示例一中,边缘设备可以在解析第一数据包得到的虚拟IP地址后,查询IP地址映射表,得到目的IP地址,并可以将第一数据包到达的端口确定为目的端口,从而边缘设备可以根据目的IP地址和目的端口发送第一数据包。
在示例二中,若边缘设备解析第一数据包,得到第一数据包对应的目的端口,则边缘设备可以根据目的端口,发送第一数据包。其中,解析第一数据包得到的目的端口即为源站的目的端口,采用示例二中的方式,相比于现有技术通过静态指定目的端口的方式来说,可以无需在边缘设备上设置目的端口,从而可以支持端口需要动态协商的协议,提高对数据信息调度的灵活性。
需要说明的是,在示例二中,边缘设备在发送第一数据包时,第一数据包对应的虚拟IP地址可以为通过现有技术确定的。举一个现有技术的例子进行说明:在边缘设备接收第一数据包之前,可以通过人为的方式获取多个源站的IP地址,并在设备边缘设备中设置多个虚拟IP地址,多个虚拟IP地址与多个源站的IP地址一一对应;且边缘设备可以将该对应关系发送给客户端设备,以使客户端设备在发送第一数据包之前,可以根据目标源站确定与目标源站的 IP地址对应的虚拟IP地址,此时,客户端设备可以将虚拟IP地址封装在第一数据包后,将第一数据包发送给边缘设备。例如,边缘设备可以根据人为设定的虚拟IP地址和源站的IP地址的对应关系,确定目的IP地址。
在示例三中,若边缘设备解析第一数据包,得到第一数据包对应的虚拟IP地址和目的端口,则边缘设备可以根据第一数据包对应的虚拟IP地址和目的端口,发送第一数据包。示例三采用边缘设备解析第一数据包的方式获取虚拟IP地址和目的端口,一方面,解析第一数据包得到的目的端口即为源站的目的端口,相比于现有技术通过静态指定目的端口的方式来说,可以无需在边缘设备上设置目的端口,从而可以支持端口需要动态协商的协议,提高对数据信息调度的灵活性;另一方面,通过采用查询IP地址映射表获取目的IP地址的方式,边缘设备无需向客户端设备同步源站的信息,从而使得确定目的IP地址的过程更加灵活。
下面以示例三为例描述本申请实施例中数据处理方法的实现过程,示例一中确定目的IP地址的过程以及示例二中确定目的端口的过程可以参照示例三中的方法进行实施,不再赘述。
图2为本申请实施例提供的一种数据处理方法对应的流程示意图,如图2所示,该方法包括:
步骤201,边缘设备确定接收到客户端设备发送的第一数据包后,解析第一数据包,得到第一数据包对应的虚拟IP地址和目的端口。
此处,客户端设备发送的第一数据包中可以包括虚拟IP地址和目的端口,其中,虚拟IP地址可以为目标源站对应的虚拟IP地址。具体地说,边缘设备上可以设置有多个虚拟IP地址,多个虚拟IP地址与多个源站的IP地址一一对应,在客户端设备向边缘设备发送第一数据包之前,客户端设备可以预先确定出目标源站对应的虚拟IP地址(比如虚拟IP地址a),从而可以将第一数据包发送至边缘设备的虚拟IP地址a上。
具体实施中,虚拟IP地址的获取方式可以有多种,在一种可能的实施例 (为便于描述,简称为实施例一)中,虚拟IP地址可以为客户端设备通过人为确定的,或者为客户端设备根据边缘设备同步的源站和虚拟IP地址的对应关系确定的。具体地说,用户可以在获取到多个源站的标识信息(即目标源站的域名信息)后,在边缘设备中设置多个虚拟IP地址,并构建多个虚拟IP地址和多个源站的域名信息的对应关系表,在该对应关系表中,每个虚拟IP地址可以对应一个源站的域名信息。同时,边缘设备可以将多个虚拟IP地址和多个源站的域名信息的对应关系表同步给客户端设备,客户端设备在确定目标源站后,可以通过人为或者自动方式,从对应关系表中确定出目标源站的域名信息对应的虚拟IP地址。
在又一种可能的实施例(为便于描述,简称为实施例二)中,虚拟IP地址可以为客户端设备根据边缘设备发送的虚拟IP地址确定的。具体地说,客户端设备在向边缘设备发送第一数据包之前,可以预先向边缘设备发送请求消息,请求消息中可以包括目标源站的域名信息;相应地,边缘设备在接收到客户端设备发送的请求消息后,可以解析该请求消息得到目标源站的域名信息,并可以根据目标源站的域名信息查询IP地址映射表,从而得到目标源站的域名信息对应的虚拟IP地址。例如,边缘设备可以向客户端设备发送响应消息,响应消息中可以包括目标源站的域名信息对应的虚拟IP地址;客户端设备在接收到边缘设备发送的响应消息后,可以解析响应消息得到虚拟IP地址,并将包含有虚拟IP地址的第一数据包发送给边缘设备。
在实施例二中,客户端设备发送的第一数据包中可以包括目标源站的IP地址对应的虚拟IP地址,而目标源站的IP地址对应的虚拟IP地址可以为客户端设备从边缘设备中预先获取的;也就是说,本申请实施例中采用客户端设备和边缘设备通信的方式来获取目标源站的IP地址对应的虚拟IP地址,相比于现有技术通过人为确定目标源站的IP地址对应的虚拟IP地址的方式来说,边缘设备可以无需向客户端设备同步多个源站的IP地址和多个虚拟IP地址的对应关系,且可以无需通过人为交互确定目标源站的IP地址对应的虚拟IP地址,从而可以 提高数据处理的灵活性,提高用户的体验。
本申请实施例中,边缘设备中可以存储有IP地址映射表,其中,IP地址映射表可以为边缘设备根据多个源站的信息自动生成的。具体地说,边缘设备在接收到多个源站的信息后,可以根据多个源站的数量,生成多个虚拟IP地址,其中,多个虚拟IP地址与多个源站一一对应。其中,多个源站的信息可以为多个源站发送的,或者也可以为回源设备发送的,每个源站的信息中可以包括源站的IP地址,或者还可以包括源站的域名信息和/或回源设备的IP地址,具体不作限定。例如,边缘设备可以根据多个源站的信息和多个虚拟IP地址,生成IP地址映射表。
基于图1a所示意的***架构,在一个示例中,IP地址映射表可以为边缘设备根据多个源站发送的信息自动生成的,每个源站发送的信息可以包括每个源站的域名信息和每个源站的IP地址。具体地说,边缘设备可以在接收到多个源站发送的多个源站的域名信息和多个源站的IP地址后,根据多个源站的IP地址生成与多个源站的IP地址一一对应的多个虚拟IP地址,进而根据多个源站的域名信息、多个源站的IP地址和多个虚拟IP地址,生成IP地址映射表。
在图1a所示意的***架构中,源站301~源站303可以分别向边缘设备200发送源站301~源站303的信息,以源站301为例,源站301可以按照预设周期或者实时检测源站301的信息(源站301的域名信息和源站301的IP地址),若检测到源站301的信息发生变化,则可以将变化后的源站301的信息发送给边缘设备200。相应地,边缘设备200中可以设置有第一预设表格,第一预设表格中存储有多个源站的信息,若接收到源站301发送的变化后的源站301的信息,则可以对第一预设表格进行更新,比如将第一预设表格中存储的源站301的信息替换为变化后的源站301的信息。表1为一种边缘设备中第一预设表格的内容示意。
表1:一种边缘设备中第一预设表格的内容示意
源站标识 源站的域名信息 源站的IP地址
源站301 fileserver1.com 192.168.10.100
源站302 fileserver2.com 192.168.20.100
源站303 fileserver3.com 192.168.30.100
如表1所示,源站301的域名信息为fileserver1.com,IP地址为192.168.10.100;源站302的域名信息为fileserver2.com,IP地址为192.168.20.100;源站303的域名信息为fileserver3.com,IP地址为192.168.30.100。此时,边缘设备200可以根据解析第一预设表格得到的多个源站的信息,确定多个源站的数量为3,因此,边缘设备200可以在边缘设备200中设置与3个源站的IP地址一一对应的3个虚拟IP地址,比如,与源站301的IP地址对应的虚拟IP地址设置为192.168.10.1,与源站302的IP地址对应的虚拟IP地址设置为192.168.20.1,与源站303的IP地址对应的虚拟IP地址设置为192.168.30.1。例如,边缘设备200可以根据3个源站的域名信息、3个源站的IP地址和3个虚拟IP地址,生成IP地址映射表。基于表1所示意的多个源站的信息,边缘设备200生成的IP地址映射表可以为表2所示。
表2:一种IP地址映射表示意
源站的域名信息 源站的IP地址 虚拟IP地址
fileserver1.com 192.168.10.100 192.168.10.1
fileserver2.com 192.168.20.100 192.168.20.1
fileserver3.com 192.168.30.100 192.168.30.1
基于图1b所示意的***架构,在另一个示例中,IP地址映射表可以为边缘设备根据多个回源设备发送的信息自动生成的,每个回源设备发送的信息可以包括每个回源设备的IP地址、每个回源设备对应的源站的域名信息和每个回源设备对应的源站的IP地址。具体地说,边缘设备可以在接收到多个回源设备发送的信息后,根据多个回源设备对应的源站的IP地址生成与多个回源设备对 应的源站的IP地址一一对应的多个虚拟IP地址,进而根据多个回源设备的IP地址、多个回源设备对应的源站的域名信息、多个回源设备对应的源站的IP地址和多个虚拟IP地址,生成IP地址映射表。
在图1b所示意的***架构中,回源设备401~回源设备403可以按照预设周期或实时监测源站301~源站303的状态,并可以向边缘设备200发送源站301~源站303的信息,以回源设备401为例,回源设备401若检测到源站301的信息发生变化,则可以将变化后的源站301的信息发送给边缘设备200。此处描述的是回源设备401的IP地址未发生变化的情况,若回源设备401的IP地址也发生变化,则回源设备401可以将变化后的回源设备401的IP地址和变化后的源站301的信息共同发送给边缘设备200。相应地,边缘设备200中可以设置有第二预设表格,第二预设表格中存储有多个源站的信息和多个回源设备的IP地址,若接收到回源设备401发送的变化后的源站301的信息和/或回源设备401的IP地址,则边缘设备200可以对第二预设表格进行更新,比如将第二预设表格中存储的源站301的信息替换为变化后的源站301的信息,和/或,将第二预设表格中存储的回源设备401的信息替换为变化后的回源设备401的信息。表3为一种边缘设备中第二预设表格的内容示意。
表3:一种边缘设备中第二预设表格的内容示意
源站标识 源站的域名信息 源站的IP地址 回源标识 回源IP地址
源站301 fileserver1.com 192.168.10.100 回源设备401 192.168.10.10
源站302 fileserver2.com 192.168.20.100 回源设备402 192.168.20.10
源站303 fileserver3.com 192.168.30.100 回源设别403 192.168.30.10
如表3所示,回源设备401的IP地址为192.168.10.10,回源设备401对应的源站为源站301,源站301的域名信息为fileserver1.com,IP地址为192.168.10.100;回源设备402的IP地址为192.168.20.10,回源设备402对应的源站为源站302,源站302的域名信息为fileserver2.com,IP地址为192.168.20.100;回源设备403的IP 地址为192.168.30.10,回源设备403对应的源站为源站303,源站303的域名信息为fileserver3.com,IP地址为192.168.30.100。此时,边缘设备200可以根据解析预设表格得到的多个源站的信息,确定多个源站的数量为3,因此,边缘设备200可以在边缘设备200中设置与3个源站的IP地址一一对应的3个虚拟IP地址。例如,边缘设备200可以根据3个回源设备的IP地址、3个源站的域名信息、3个源站的IP地址和3个虚拟IP地址,生成IP地址映射表。基于表3所示意的多个源站的信息和多个回源设备的IP地址,边缘设备200生成的IP地址映射表可以为表4所示。
表4:一种IP地址映射表示意
源站的域名信息 源站的IP地址 回源IP地址 虚拟IP地址
fileserver1.com 192.168.10.100 192.168.10.10 192.168.10.1
fileserver2.com 192.168.20.100 192.168.20.10 192.168.20.1
fileserver3.com 192.168.30.100 192.168.30.10 192.168.30.1
本申请实施例中,边缘设备可以实时接收多个源站的信息,从而可以自动设置多个虚拟IP地址和IP地址映射表,相比于现有技术通过人工方式设置虚拟IP地址的方式来说,实时性更好,且节省人力和物力。
以表2所示的IP地址映射表为例,边缘设备接收到客户端设备发送的请求消息后,若解析请求消息得到的源站的域名信息为fileserver2.com,则边缘设备可以根据表2中源站的域名信息与虚拟IP地址的对应关系,确定fileserver2.com对应的虚拟IP地址为192.168.20.1。此时,边缘设备可以向客户端设备发送响应消息,响应消息中包括虚拟IP地址(即192.168.20.1)。相应地,客户端设备在接收到响应消息后,可以将第一数据包发送给边缘设备,第一数据包中包括数据信息、虚拟IP地址192.168.20.1和目的端口。其中,数据信息可以为具体的业务信息,比如数据流、信息流等。
本申请实施例中,边缘设备可以在确定第一数据包到达边缘设备后,对 第一数据包进行解析,得到第一数据包中包括的数据信息、虚拟IP地址和目的端口。其中,解析第一数据包的方式可以有多种,例如,可以在边缘设备中编写记忆程序,该记忆程序可以驱动边缘设备存储第一数据包、第一数据包对应的目的端口和第一数据包对应的虚拟IP地址的对应关系。具体地说,边缘设备在解析第一数据包得到第一数据包中包括的数据信息、虚拟IP地址和目的端口后,边缘设备可以将第一数据包对应的虚拟IP地址和目的端口作为一条历史消息,记录在边缘设备的预设存储空间中。比如,边缘设备的预设存储空间中存储有一条历史消息“第一数据包-192.168.20.1-端口5”,则可以确定边缘设备对第一数据包进行解析,得到的第一数据包对应的虚拟IP地址为192.168.20.1,目的端口为端口5。此处,端口5即为目的端口。
例如,边缘设备可以将第一数据包中的数据信息引流到第一端口,其中,第一端口为预先从一个或多个端口中确定出的用于接收边缘设备引流的数据信息的端口。第一端口可以为固定端口,比如FTP协议对应的固定端口12,或者也可以为其它端口,比如边缘设备的原有端口中的任一个端口,具体不作限定;也就是说,边缘设备可以将第一数据包中的数据信息引流到边缘设备上的任一端口(目的端口或其它端口)。举例来说明,边缘设备中设置有端口1~端口10,已确定端口5为目的端口,若采用现有技术中的方案,则边缘设备需要将数据信息引流至端口5,而根据本申请实施例中的方案,边缘设备可以将数据信息引流至端口1~端口10中的任一端口。
以FTP协议为例,当客户端设备发送的第一数据包到达边缘设备时,客户端设备和边缘设备是通过实时协商确定目的端口的;若采用现有技术中的方案,在边缘设备上预先设置的多个端口中可能并不包括目的端口,因此,边缘设备无法将数据信息引流至目的端口上,从而使得数据信息调度的过程出错。而采用本申请实施例中的方案,在客户端设备和边缘设备实时协商确定目的端口后,边缘设备解析第一数据包得到的端口即为目的端口,此时,边缘设备可以将数据信息引流至任一端口上,即数据信息可以正常调度。
本申请实施例中,边缘设备可以将数据信息引流到边缘设备原有的一个或多个端口中的第一端口,而无需在边缘设备中设置与多个源站的端口相同的端口,从而可以避免人工获取服务器的信息,节省人力成本,提高对数据调度的灵活性。也就是说,相比于现有技术通过静态指定目的端口的方式来说,本申请实施例中的方案可以无需在边缘设备上设置目的端口,从而可以支持端口需要动态协商的协议,提高数据信息调度的灵活性。
步骤202,边缘设备根据虚拟IP地址,查询IP地址映射表,得到虚拟IP地址对应的目的IP地址。
本申请实施例中,边缘设备在确定第一数据包对应的数据信息到达第一端口后,可以查询边缘设备的预设存储空间中存储的历史消息,得到第一数据包对应的虚拟IP地址。例如,边缘设备可以根据虚拟IP地址,查询IP地址映射表,得到虚拟IP地址对应的目的IP地址,若为图1a所示意的***架构,则该目的IP地址可以为目的源站的IP地址;若为图1b所示意的***架构,则该目的IP地址可以为目的源站对应的回源设备的IP地址。
在一种可能的实施例中,边缘设备中可以设置有至少一个代理模块,至少一个代理模块中的每个代理模块均可以监控一个端口的状态,若监测某一端口的代理模块检测到该端口上有数据信息到达,则监测该端口的代理模块可以执行步骤202所示的内容。具体地说,边缘设备上可以设置有端口1~端口10,若第一端口为端口1,则边缘设备中可以仅设置有监控端口1的第一代理模块,或者也可以设置有监控端口1的第一代理模块和监控端口2~端口10的第二代理模块~第十代理模块,具体不作限定。
以监控第一端口的第一代理模块为例,若第一代理模块检测到第一数据包对应的数据信息到达第一端口,则可以从边缘设备的预设存储空间中获取第一数据包对应的历史记录。若获取到的历史记录为“第一数据包-192.168.20.1-端口5”,则第一代理模块可以确定第一数据包对应的虚拟IP地址为192.168.20.1,目的端口为端口5。例如,第一代理模块在确定第一数据包对应的虚拟IP地址 192.168.20.1后,可以查询IP地址映射表,得到虚拟IP地址192.168.20.1对应的目的IP地址。若为图1a所示意的***架构,则第一代理模块可以查询表2所示意的IP地址映射表,此时,第一代理模块可以确定虚拟IP地址192.168.20.1对应的目的IP地址为源站的IP地址192.168.20.100。若为图1b所示意的***架构,则第一代理模块可以查询表4所示意的IP地址映射表,此时,第一代理模块可以确定虚拟IP地址192.168.20.1对应的目的IP地址为回源设备的IP地址192.168.20.10。
步骤203,边缘设备根据目的IP地址和目的端口,发送第一数据包。
在一种可能的实施例中,边缘设备解析第一数据包还可以得到第一数据包对应的数据信息,相应地,边缘设备可以根据第一数据包对应的数据信息、目的IP地址和目的端口,得到第二数据包,并发送第二数据包。具体地说,边缘设备可以在得到第二数据包之前,对第一数据包对应的数据信息进行处理,得到处理后的数据信息;例如,边缘设备可以根据处理后的数据信息、目的IP地址和目的端口,封装得到第二数据包。其中,对数据信息进行处理的方式可以有多种,比如压缩处理、加速处理、加密处理等,具体不作限定。
在一个示例中,若为图1a所示意的***架构,则可以确定得到的目的IP地址为源站的IP地址,此时,边缘设备可以将第二数据包发送给目的源站。在又一个示例中,若为图1b所示意的***架构,则可以确定得到的目的IP地址为回源设备的IP地址,此时,边缘设备可以将第二数据包发送给回源设备;相应地,回源设备可以在接收到第二数据包后,根据第二数据信息、回源设备对应的源站的IP地址和目的端口,得到第三数据包,并发送第三数据包。举例来说,若边缘设备将第二数据包发送给回源设备402,则回源设备402在接收到第二数据包后,若确定第二数据包中的数据信息为边缘设备处理后的数据信息,则可以对第二数据包中的数据信息进行二次处理。为便于描述,将第一数据包中的数据信息简称为第一数据信息,将第二数据包中的数据信息简称为第二数据信息,若第二数据信息为边缘设备对第一数据信息进行压缩和/或加密得到的,则回源设备402可以对第二数据信息进行解压缩和/或解密,得到第三数据信息。 例如,回源设备402可以根据第三数据信息、回源设备402对应的源站302的IP地址和目的端口,得到第三数据包,并将第三数据包发送给源站。
本申请的上述实施例中,边缘设备确定接收到客户端设备发送的第一数据包后,对第一数据包进行解析,得到第一数据包对应的虚拟IP地址和目的端口;边缘设备可以根据虚拟IP地址,查询IP地址映射表,得到虚拟IP地址对应的目的IP地址,例如,边缘设备根据目的IP地址和目的端口,发送第一数据包。本申请实施例采用边缘设备解析第一数据包的方式获取虚拟IP地址和目的端口,一方面,解析第一数据包得到的目的端口即为源站的目的端口,相比于现有技术通过静态指定目的端口的方式来说,可以无需在边缘设备上设置目的端口,从而可以支持端口需要动态协商的协议,提高对数据信息调度的灵活性;另一方面,通过采用查询IP地址映射表获取目的IP地址的方式,边缘设备无需向客户端设备同步源站的信息,从而使得确定目的IP地址的过程更加灵活。
下面从***交互的角度描述本申请实施例中的数据处理方法,其与图2所示意的方法流程相对应。
基于图1a所示意的***架构,图3为本申请实施例提供的一种数据处理方法对应的交互示意图,该方法包括以下步骤。
步骤310,客户端设备向边缘设备发送请求消息,请求消息中包括目标源站的域名信息。
步骤320,边缘设备根据客户端设备发送的请求消息,查询IP地址映射表,确定目标源站对应的虚拟IP地址。
步骤330,边缘设备将目标源站对应的虚拟IP地址发送给客户端设备。
步骤340,客户端设备接收到目标源站对应的虚拟IP地址后,将第一数据包发送给边缘设备,第一数据包中包括目标源站对应的虚拟IP地址和目的端口。
步骤350,边缘设备确定接收到客户端设备发送的第一数据包后,解析第一数据包得到第一数据包对应的数据信息、虚拟IP地址和目的端口;并根据 第一数据包对应的虚拟IP地址,查询IP地址映射表,确定目的IP地址。
此处,目的IP地址为目的源站的IP地址。
步骤360,边缘设备根据第一数据包对应的数据信息、目的IP地址和目标端口,生成第二数据包,并将第二数据包发送给目的源站。
其中,步骤310~步骤360中确定目的IP地址和目标端口的过程可以参照图2所示的执行过程进行实现,具体不作赘述。
基于图1b所示意的***架构,图4为本申请实施例提供的一种数据处理方法对应的交互示意图,该方法包括以下步骤。
步骤410,客户端设备向边缘设备发送请求消息,请求消息中包括目标源站的域名信息。
步骤420,边缘设备根据客户端设备发送的请求消息,查询IP地址映射表,确定目标源站对应的虚拟IP地址。
步骤430,边缘设备将目标源站对应的虚拟IP地址发送给客户端设备。
步骤440,客户端设备接收到目标源站对应的虚拟IP地址后,将第一数据包发送给边缘设备,第一数据包中包括目标源站对应的虚拟IP地址和目的端口。
步骤450,边缘设备确定接收到客户端设备发送的第一数据包后,解析第一数据包得到第一数据包对应的数据信息、虚拟IP地址和目的端口;并根据第一数据包对应的虚拟IP地址,查询IP地址映射表,确定第一目的IP地址。
此处,第一目的IP地址可以为目的源站对应的回源设备的IP地址。
步骤460,边缘设备根据第一数据包对应的数据信息、目的IP地址和目标端口,生成第二数据包,并将第二数据包发送给目的源站对应的回源设备。
步骤470,目的源站对应的回源设备根据第二数据包对应的第一目的IP地址,确定第二目的IP地址。
此处,第二目的IP地址可以为目的源站的IP地址。
步骤480,目的源站对应的回源设备根据第二数据包对应的数据信息、 第二目的IP地址和目标端口,生成第三数据包,并将第三数据包发送给目的源站。
其中,步骤410~步骤480可以参照图2所示的执行过程进行实现,具体不作赘述。
本申请实施例中,客户端设备与边缘设备之间可以存在两次通信过程,第一次通信时,客户端设备可以获取到边缘设备反馈的虚拟IP地址,第二次通信时,客户端设备可以将第一数据包通过边缘设备发送给目标源站。本申请实施例中,通过采用边缘设备解析第一数据包的方式获取虚拟IP地址和目的端口,一方面,解析第一数据包得到的目的端口即为源站的目的端口,相比于现有技术通过静态指定目的端口的方式来说,可以无需在边缘设备上设置目的端口,从而可以支持端口需要动态协商的协议,提高对数据信息调度的灵活性;另一方面,通过采用查询IP地址映射表获取目的IP地址的方式,边缘设备无需向客户端设备同步源站的信息,从而使得确定目的IP地址的过程更加灵活。
针对上述方法流程,本申请实施例还提供一种边缘设备,该边缘设备的具体内容可以参照上述方法实施。
图5为本申请实施例提供的一种边缘设备,所述边缘设备包括:
处理模块510,用于确定接收到客户端设备发送的第一数据包后,对所述第一数据包进行解析,得到所述第一数据包对应的虚拟IP地址;以及,根据所述虚拟IP地址,查询IP地址映射表,得到所述虚拟IP地址对应的目的IP地址;
收发模块520,用于根据所述目的IP地址,发送所述第一数据包。
在一个实施例中,所述IP地址映射表是通过如下方式确定的:接收多个源站发送的所述多个源站的IP地址,并根据所述多个源站的IP地址,生成与所述多个源站的IP地址一一对应的多个虚拟IP地址;
根据所述多个源站的IP地址和所述多个虚拟IP地址,生成所述IP地址映射表。
在一个实施例中,所述IP地址映射表是通过如下方式确定的:接收多个 回源设备发送的信息,所述每个回源设备发送的信息包括所述每个回源设备的IP地址和所述每个回源设备对应的源站的IP地址;
根据所述多个回源设备对应的源站的IP地址,生成与所述多个回源设备对应的源站的IP地址一一对应的多个虚拟IP地址;
根据所述多个回源设备的IP地址、所述多个回源设备对应的源站的IP地址和所述多个虚拟IP地址,生成IP地址映射表。
在一个实施例中,所述处理模块510还用于:接收客户端设备发送的请求消息,所述请求消息中包括目标源站的域名信息;
根据所述目标源站的域名信息,查询所述IP地址映射表,得到所述域名信息对应的虚拟IP地址,并将所述虚拟IP地址发送给所述客户端设备。
在一个实施例中,所述IP地址映射表是通过如下方式确定的:接收多个源站发送的所述多个源站的域名信息和所述多个源站的IP地址,并根据所述多个源站的IP地址,生成与所述多个源站的IP地址一一对应的多个虚拟IP地址;
根据所述多个源站的域名信息、所述多个源站的IP地址和所述多个虚拟IP地址,生成所述IP地址映射表。
在一个实施例中,所述IP地址映射表是通过如下方式确定的:接收多个回源设备发送的信息,所述每个回源设备发送的信息包括所述每个回源设备的IP地址、所述每个回源设备对应的源站的域名信息和所述每个回源设备对应的源站的IP地址;
根据所述多个回源设备对应的源站的IP地址,生成与所述多个回源设备对应的源站的IP地址一一对应的多个虚拟IP地址;
根据所述多个回源设备的IP地址、所述多个回源设备对应的源站的域名信息、所述多个回源设备对应的源站的IP地址和所述多个虚拟IP地址,生成IP地址映射表。
在一个实施例中,所述处理模块510对所述第一数据包进行解析,还得到所述第一数据包对应的数据信息;
所述收发模块520根据所述目的IP地址,发送所述第一数据包之前,所述处理模块510还用于,对所述数据信息进行处理,得到处理后的数据信息;
所述收发模块520还用于,根据所述处理后的数据信息和所述目的IP地址,得到第二数据包,并发送所述第二数据包。
图6为本申请实施例提供的一种边缘设备,所述边缘设备包括:
处理模块610,用于确定接收到客户端设备发送的第一数据包后,对所述第一数据包进行解析,得到所述第一数据包对应的目的端口;
收发模块620,用于根据所述目的端口,发送所述第一数据包。
在一个实施例中,所述处理模块610对所述第一数据包进行解析,还得到所述第一数据包对应的数据信息;
所述收发模块620根据所述目的端口,发送所述第一数据包之前,所述处理模块610还用于,将所述数据信息引流到第一端口,所述第一端口为预先从所述一个或多个端口中确定出的用于接收数据信息的端口;以及,确定所述数据信息到达所述第一端口后,获取所述第一数据包对应的目的端口;
所述收发模块620还用于,根据所述第一数据包对应的数据信息和所述目的端口,发送所述第一数据包。
在一个实施例中,所述收发模块620还用于:对所述数据信息进行处理,得到处理后的数据信息;
根据所述处理后的数据信息和所述目的端口,得到第二数据包,并发送所述第二数据包。
根据上述内容可知:本申请的上述实施例中,边缘设备确定接收到客户端设备发送的第一数据包后,对第一数据包进行解析,得到第一数据包对应的虚拟IP地址和目的端口;边缘设备可以根据虚拟IP地址,查询IP地址映射表,得到虚拟IP地址对应的目的IP地址,例如,边缘设备根据目的IP地址和目的端口,发送第一数据包。本申请实施例采用边缘设备解析第一数据包的方式获取虚拟IP地址和目的端口,一方面,解析第一数据包得到的目的端口即为源站的 目的端口,相比于现有技术通过静态指定目的端口的方式来说,可以无需在边缘设备上设置目的端口,从而可以支持端口需要动态协商的协议,提高对数据信息调度的灵活性;另一方面,通过采用查询IP地址映射表获取目的IP地址的方式,边缘设备无需向客户端设备同步源站的信息,从而使得确定目的IP地址的过程更加灵活。
本领域内的技术人员应明白,本申请的实施例可提供为方法、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请的部分实施例,但本领域内的技术人员一旦得知了 基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括上述部分实施例以及落入本申请范围的所有变更和修改。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (22)

  1. 一种数据处理方法,包括:
    边缘设备确定接收到客户端设备发送的第一数据包后,对所述第一数据包进行解析,得到所述第一数据包对应的虚拟IP地址;
    所述边缘设备根据所述虚拟IP地址,查询IP地址映射表,得到所述虚拟IP地址对应的目的IP地址;
    所述边缘设备根据所述目的IP地址,发送所述第一数据包。
  2. 根据权利要求1所述的方法,其中,所述IP地址映射表是通过如下方式确定的:
    所述边缘设备接收多个源站发送的所述多个源站的IP地址,并根据所述多个源站的IP地址,生成与所述多个源站的IP地址一一对应的多个虚拟IP地址;
    所述边缘设备根据所述多个源站的IP地址和所述多个虚拟IP地址,生成所述IP地址映射表。
  3. 根据权利要求1所述的方法,其中,所述IP地址映射表是通过如下方式确定的:
    所述边缘设备接收多个回源设备发送的信息,所述每个回源设备发送的信息包括所述每个回源设备的IP地址和所述每个回源设备对应的源站的IP地址;
    所述边缘设备根据所述多个回源设备对应的源站的IP地址,生成与所述多个回源设备对应的源站的IP地址一一对应的多个虚拟IP地址;
    所述边缘设备根据所述多个回源设备的IP地址、所述多个回源设备对应的源站的IP地址和所述多个虚拟IP地址,生成IP地址映射表。
  4. 根据权利要求1所述的方法,其中,所述边缘设备接收到客户端设备发送的第一数据包之前,所述方法还包括:
    所述边缘设备接收客户端设备发送的请求消息,所述请求消息中包括目标源站的域名信息;
    所述边缘设备根据所述目标源站的域名信息,查询所述IP地址映射表,得 到所述域名信息对应的虚拟IP地址,并将所述虚拟IP地址发送给所述客户端设备。
  5. 根据权利要求4所述的方法,其中,所述IP地址映射表是通过如下方式确定的:
    所述边缘设备接收多个源站发送的所述多个源站的域名信息和所述多个源站的IP地址,并根据所述多个源站的IP地址,生成与所述多个源站的IP地址一一对应的多个虚拟IP地址;
    所述边缘设备根据所述多个源站的域名信息、所述多个源站的IP地址和所述多个虚拟IP地址,生成所述IP地址映射表。
  6. 根据权利要求4所述的方法,其中,所述IP地址映射表是通过如下方式确定的:
    所述边缘设备接收多个回源设备发送的信息,所述每个回源设备发送的信息包括所述每个回源设备的IP地址、所述每个回源设备对应的源站的域名信息和所述每个回源设备对应的源站的IP地址;
    所述边缘设备根据所述多个回源设备对应的源站的IP地址,生成与所述多个回源设备对应的源站的IP地址一一对应的多个虚拟IP地址;
    所述边缘设备根据所述多个回源设备的IP地址、所述多个回源设备对应的源站的域名信息、所述多个回源设备对应的源站的IP地址和所述多个虚拟IP地址,生成IP地址映射表。
  7. 根据权利要求1至6中任一项所述的方法,其中,所述边缘设备对所述第一数据包进行解析,还得到所述第一数据包对应的数据信息;所述边缘设备根据所述目的IP地址,发送所述第一数据包,包括:
    所述边缘设备对所述数据信息进行处理,得到处理后的数据信息;
    所述边缘设备根据所述处理后的数据信息和所述目的IP地址,得到第二数据包,并发送所述第二数据包。
  8. 一种数据处理方法,包括:
    边缘设备确定接收到客户端设备发送的第一数据包后,对所述第一数据包进行解析,得到所述第一数据包对应的目的端口;
    所述边缘设备根据所述目的端口,发送所述第一数据包。
  9. 根据权利要求8所述的方法,其中,所述边缘设备对所述第一数据包进行解析,还得到所述第一数据包对应的数据信息;
    所述边缘设备得到所述第一数据包对应的目的端口后,根据所述目的端口,发送所述第一数据包,包括:
    所述边缘设备将所述数据信息引流到第一端口;所述第一端口为预先从所述一个或多个端口中确定出的用于接收数据信息的端口;
    所述边缘设备确定所述数据信息到达所述第一端口后,获取所述第一数据包对应的目的端口,并根据所述第一数据包对应的数据信息和所述目的端口,发送所述第一数据包。
  10. 根据权利要求9所述的方法,其中,所述边缘设备根据所述第一数据包对应的数据信息和所述目的端口,发送所述第一数据包,包括:
    所述边缘设备对所述数据信息进行处理,得到处理后的数据信息;
    所述边缘设备根据所述处理后的数据信息和所述目的端口,得到第二数据包,并发送所述第二数据包。
  11. 一种边缘设备,包括:
    处理模块,用于确定接收到客户端设备发送的第一数据包后,对所述第一数据包进行解析,得到所述第一数据包对应的虚拟IP地址;以及,根据所述虚拟IP地址,查询IP地址映射表,得到所述虚拟IP地址对应的目的IP地址;
    收发模块,用于根据所述目的IP地址,发送所述第一数据包。
  12. 根据权利要求11所述的边缘设备,其中,所述IP地址映射表是通过如下方式确定的:
    接收多个源站发送的所述多个源站的IP地址,并根据所述多个源站的IP地址,生成与所述多个源站的IP地址一一对应的多个虚拟IP地址;
    根据所述多个源站的IP地址和所述多个虚拟IP地址,生成所述IP地址映射表。
  13. 根据权利要求11所述的边缘设备,其中,所述IP地址映射表是通过如下方式确定的:
    接收多个回源设备发送的信息,所述每个回源设备发送的信息包括所述每个回源设备的IP地址和所述每个回源设备对应的源站的IP地址;
    根据所述多个回源设备对应的源站的IP地址,生成与所述多个回源设备对应的源站的IP地址一一对应的多个虚拟IP地址;
    根据所述多个回源设备的IP地址、所述多个回源设备对应的源站的IP地址和所述多个虚拟IP地址,生成IP地址映射表。
  14. 根据权利要求11所述的边缘设备,其中,所述处理模块还用于:
    接收客户端设备发送的请求消息,所述请求消息中包括目标源站的域名信息;
    根据所述目标源站的域名信息,查询所述IP地址映射表,得到所述域名信息对应的虚拟IP地址,并将所述虚拟IP地址发送给所述客户端设备。
  15. 根据权利要求14所述的边缘设备,其中,所述IP地址映射表是通过如下方式确定的:
    接收多个源站发送的所述多个源站的域名信息和所述多个源站的IP地址,并根据所述多个源站的IP地址,生成与所述多个源站的IP地址一一对应的多个虚拟IP地址;
    根据所述多个源站的域名信息、所述多个源站的IP地址和所述多个虚拟IP地址,生成所述IP地址映射表。
  16. 根据权利要求14所述的边缘设备,其中,所述IP地址映射表是通过如下方式确定的:
    接收多个回源设备发送的信息,所述每个回源设备发送的信息包括所述每个回源设备的IP地址、所述每个回源设备对应的源站的域名信息和所述每个回 源设备对应的源站的IP地址;
    根据所述多个回源设备对应的源站的IP地址,生成与所述多个回源设备对应的源站的IP地址一一对应的多个虚拟IP地址;
    根据所述多个回源设备的IP地址、所述多个回源设备对应的源站的域名信息、所述多个回源设备对应的源站的IP地址和所述多个虚拟IP地址,生成IP地址映射表。
  17. 根据权利要求11至16中任一项所述的边缘设备,其中,所述处理模块对所述第一数据包进行解析,还得到所述第一数据包对应的数据信息;
    所述收发模块根据所述目的IP地址,发送所述第一数据包之前,所述处理模块还用于,对所述数据信息进行处理,得到处理后的数据信息;
    所述收发模块还用于,根据所述处理后的数据信息和所述目的IP地址,得到第二数据包,并发送所述第二数据包。
  18. 一种边缘设备,包括:
    处理模块,用于确定接收到客户端设备发送的第一数据包后,对所述第一数据包进行解析,得到所述第一数据包对应的目的端口;
    收发模块,用于根据所述目的端口,发送所述第一数据包。
  19. 根据权利要求18所述的边缘设备,其中,所述处理模块对所述第一数据包进行解析,还得到所述第一数据包对应的数据信息;
    所述收发模块根据所述目的端口发送所述第一数据包之前,所述处理模块还用于,将所述数据信息引流到第一端口,所述第一端口为预先从所述一个或多个端口中确定出的用于接收数据信息的端口;以及,确定所述数据信息到达所述第一端口后,获取所述第一数据包对应的目的端口;
    所述收发模块还用于,根据所述第一数据包对应的数据信息和所述目的端口,发送所述第一数据包。
  20. 根据权利要求18所述的边缘设备,其中,所述收发模块还用于:
    对所述数据信息进行处理,得到处理后的数据信息;
    根据所述处理后的数据信息和所述目的端口,得到第二数据包,并发送所述第二数据包。
  21. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1至10任一项所述的方法。
  22. 一种计算机程序产品,当其在计算机上运行时,使得计算机执行如权利要求1至10任一项所述的方法。
PCT/CN2020/074961 2019-02-20 2020-02-12 一种数据处理方法及装置 WO2020168961A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20728378.9A EP3720089A4 (en) 2019-02-20 2020-02-12 METHOD AND DEVICE FOR PROCESSING IMAGE DATA
US16/898,210 US11206240B2 (en) 2019-02-20 2020-06-10 Method and apparatus for processing data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910126092.0 2019-02-20
CN201910126092.0A CN109905387A (zh) 2019-02-20 2019-02-20 一种数据处理方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/898,210 Continuation US11206240B2 (en) 2019-02-20 2020-06-10 Method and apparatus for processing data

Publications (1)

Publication Number Publication Date
WO2020168961A1 true WO2020168961A1 (zh) 2020-08-27

Family

ID=66945122

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/074961 WO2020168961A1 (zh) 2019-02-20 2020-02-12 一种数据处理方法及装置

Country Status (4)

Country Link
US (1) US11206240B2 (zh)
EP (1) EP3720089A4 (zh)
CN (1) CN109905387A (zh)
WO (1) WO2020168961A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905387A (zh) * 2019-02-20 2019-06-18 网宿科技股份有限公司 一种数据处理方法及装置
CN113810464B (zh) * 2021-08-12 2024-05-14 网宿科技股份有限公司 访问方法、web缓存代理***及电子设备
CN114867077B (zh) * 2022-04-12 2023-11-07 中国电信股份有限公司 多跳路由实现方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110252469A1 (en) * 2010-04-12 2011-10-13 Wins Technet Co., Ltd. System for preventing normal user being blocked in network address translation (nat) based web service and method for controlling the same
CN104301445A (zh) * 2013-07-15 2015-01-21 北京邮电大学 一种移动互联网数据传输方法和***
CN106411742A (zh) * 2016-10-26 2017-02-15 杭州数梦工场科技有限公司 一种报文传输的方法和装置
CN106470191A (zh) * 2015-08-19 2017-03-01 国基电子(上海)有限公司 过滤https传输内容的***、方法及装置
CN109905387A (zh) * 2019-02-20 2019-06-18 网宿科技股份有限公司 一种数据处理方法及装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7660296B2 (en) * 2005-12-30 2010-02-09 Akamai Technologies, Inc. Reliable, high-throughput, high-performance transport and routing mechanism for arbitrary data flows
CN101079799A (zh) * 2006-05-25 2007-11-28 李�浩 一种基于硬件加速的动态端口控制装置
US8959611B1 (en) * 2009-09-09 2015-02-17 Amazon Technologies, Inc. Secure packet management for bare metal access
CN102045260B (zh) * 2010-12-31 2012-09-19 成都市华为赛门铁克科技有限公司 移动IPv6中报文传输方法及UTM设备
US9699034B2 (en) * 2013-02-26 2017-07-04 Zentera Systems, Inc. Secure cloud fabric to connect subnets in different network domains
CN105337808B (zh) * 2015-11-30 2019-01-04 网宿科技股份有限公司 数据传输的方法、装置及***
CN105791173B (zh) * 2015-12-30 2019-03-08 北京锐安科技有限公司 一种转发报文的方法及装置
JP6855751B2 (ja) * 2016-10-28 2021-04-07 コニカミノルタ株式会社 中継装置、中継装置用プログラム、および、情報処理システム
EP3379807A1 (en) * 2017-03-21 2018-09-26 Thomson Licensing Device and method for forwarding connections

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110252469A1 (en) * 2010-04-12 2011-10-13 Wins Technet Co., Ltd. System for preventing normal user being blocked in network address translation (nat) based web service and method for controlling the same
CN104301445A (zh) * 2013-07-15 2015-01-21 北京邮电大学 一种移动互联网数据传输方法和***
CN106470191A (zh) * 2015-08-19 2017-03-01 国基电子(上海)有限公司 过滤https传输内容的***、方法及装置
CN106411742A (zh) * 2016-10-26 2017-02-15 杭州数梦工场科技有限公司 一种报文传输的方法和装置
CN109905387A (zh) * 2019-02-20 2019-06-18 网宿科技股份有限公司 一种数据处理方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3720089A4 *

Also Published As

Publication number Publication date
CN109905387A (zh) 2019-06-18
US20200304457A1 (en) 2020-09-24
EP3720089A1 (en) 2020-10-07
EP3720089A4 (en) 2021-07-28
US11206240B2 (en) 2021-12-21

Similar Documents

Publication Publication Date Title
WO2020168961A1 (zh) 一种数据处理方法及装置
US11683160B2 (en) Encrypted group communications
CN106790420B (zh) 一种多会话通道建立方法和***
EP3211852A1 (en) Ssh protocol-based session parsing method and system
CN109379380A (zh) 数据传输方法、数据接收方法及远程打印***、移动终端
WO2021022794A1 (zh) 基于rdma的数据传输方法、网卡、服务器及介质
CN106797335B (zh) 数据传输方法、数据传输装置、电子设备和计算机程序产品
TW201330577A (zh) 基於雲儲存的資料安全保護系統及方法
US10560433B2 (en) Vertical cloud service
WO2017215565A1 (zh) Dpi规则的下发方法及装置
EP3293933A1 (en) Communication content protection
CN106464596A (zh) 开放流通信方法、***、控制器和业务网关
EP2919498A1 (en) Method, device and system for message processing
WO2023185804A1 (zh) 用于vpn的多流负载均衡方法、装置、***及存储介质
WO2023184262A1 (zh) 一种数据帧安全传输方法、装置、电子设备及存储介质
CN105991755A (zh) 业务报文分发方法及装置
TW201818699A (zh) 資料傳輸的方法、設備、裝置及系統
CN110719309B (zh) 虚拟桌面连接方法、代理装置、***、设备及存储介质
WO2023061158A1 (zh) 加解密方法、装置及计算机可读存储介质
WO2014205703A1 (zh) 一种共享接入的检测方法、设备和终端设备
CN103888939B (zh) 北斗rdss***用户机的出入站消息管理方法及用户机
CN105471831A (zh) 一种对实时传输协议数据包进行加密的方法和装置
CN107547478B (zh) 报文传输方法、装置及***
US10681755B2 (en) Routing method and network entity performing same
WO2019010793A1 (zh) 物联网接入点接收数据的分时段加密方法及装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2020728378

Country of ref document: EP

Effective date: 20200604

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20728378

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE