CN111107046B - Data stream transmission method and device - Google Patents

Data stream transmission method and device Download PDF

Info

Publication number
CN111107046B
CN111107046B CN201811267672.3A CN201811267672A CN111107046B CN 111107046 B CN111107046 B CN 111107046B CN 201811267672 A CN201811267672 A CN 201811267672A CN 111107046 B CN111107046 B CN 111107046B
Authority
CN
China
Prior art keywords
message
address
processing unit
network equipment
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811267672.3A
Other languages
Chinese (zh)
Other versions
CN111107046A (en
Inventor
韩森
林坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201811267672.3A priority Critical patent/CN111107046B/en
Publication of CN111107046A publication Critical patent/CN111107046A/en
Application granted granted Critical
Publication of CN111107046B publication Critical patent/CN111107046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • 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/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

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

The present invention relates to wireless communication systems, and in particular, to a method and an apparatus for transmitting data streams. The method comprises the following steps: the method comprises the steps that network equipment obtains a first message of a first protocol type sent by a terminal; the source port and/or the destination port of the first message are/is determined by the terminal according to the process of the processing unit and/or the processing unit of the selected network equipment; the source IP address of the first message is the IP address of the terminal; the destination IP address of the first message is an external IP address of the network equipment; the network equipment converts the first message into a second message of a second protocol type; the source IP address of the second message is the internal IP address of the network equipment; the destination IP address of the second message is the internal IP address of the processing unit; the internal IP address of the processing unit is determined according to the source port of the first packet and the destination port of the first packet.

Description

Data stream transmission method and device
Technical Field
The present invention relates to wireless communication systems, and in particular, to a method and an apparatus for transmitting data streams.
Background
The NR system implements next generation Internet Protocol (Internet Protocol Version 6, IPv6) support at the IP layer, which is a necessary trend.
The existing commercial communication network is basically based on an IPv4 protocol, remote maintenance of a base station is developed on the basis of IPv4, and in the stage that a 5G communication technology enters large-scale networking, operators can gradually advance planning configuration of an IPv6 transmission network due to increasingly prominent bottlenecks of IPv4 address quantity, so that the existing remote login technology cannot meet the future networking development requirement on the basis.
Therefore, a telnet method based on IPv6 protocol is needed to assist operation and maintenance of the new generation communication base station equipment.
Disclosure of Invention
The embodiment of the invention provides a data stream transmission method and a data stream transmission device, which are used for improving the compatibility and the adaptability of a terminal when logging in a network device remotely and realizing the forwarding of different message types.
In a first aspect, an embodiment of the present invention provides a data stream transmission method, including:
the method comprises the steps that network equipment obtains a first message of a first protocol type sent by a terminal; the source port and/or the destination port of the first message are/is determined by the terminal according to the process of the processing unit and/or the processing unit of the selected network equipment; the source IP address of the first message is the IP address of the terminal; the destination IP address of the first message is an external IP address of the network equipment;
the network equipment converts the first message into a second message of a second protocol type; the source IP address of the second message is the internal IP address of the network equipment; the destination IP address of the second message is the internal IP address of the processing unit;
the internal IP address of the processing unit is determined according to the source port of the first message and the destination port of the first message; the source port of the second message is the same as the source port of the first message, and the destination port of the second message is the same as the destination port of the first message.
In a possible implementation manner, the first message is a link establishment request; the network device converts the first packet into a second packet, including:
the network equipment determines the process number of a processing unit corresponding to the destination port according to the destination port of the first message;
the network equipment determines the position information of a processing unit corresponding to the destination port according to the source port of the first message;
the network equipment determines the internal IP address of the processing unit according to the process number of the processing unit and the position information of the processing unit; and the network equipment takes the internal IP address of the processing unit as the destination IP address of the second message.
In one possible implementation, the method further includes:
the network equipment records the external endpoint information of the terminal and the internal endpoint information of the processing unit as an endpoint corresponding relation; the external endpoint information includes a source port of the first message, a destination port of the first message, a source IP address of the first message, and a destination IP address of the first message; the internal endpoint information includes a source port of the second packet, a destination port of the second packet, a source IP address of the second packet, and a destination IP address of the second packet.
A possible implementation manner that the network device converts the first packet into a second packet includes:
the network equipment searches for the internal IP address of the processing unit corresponding to the source port of the first message and the destination port of the first message through the endpoint corresponding relation; the endpoint corresponding relation is determined according to the link establishment request;
and the network equipment takes the internal IP address of the processing unit as the destination IP address of the second message.
In one possible implementation, the method further includes:
and the network equipment establishes a flow channel between the terminal and the network equipment according to the endpoint corresponding relation.
In one possible implementation, the method further includes:
and the network equipment determines that the protocol type corresponding to the current data flow path in the network equipment is different from the protocol type of the first message, deletes the current data flow path and establishes a new data flow path according to the first message.
In one possible implementation, the method further includes:
the network equipment receives a third message of the second protocol type sent to the terminal by the processing unit; the destination port of the third message is determined according to the processing unit of the network equipment and/or the process of the processing unit determined by the terminal; the third message source port is determined by the terminal according to the process of the processing unit of the appointed network equipment; the destination IP address of the third message is the internal IP address of the network equipment; the source IP address of the third message is the internal IP address of the processing unit;
the network equipment converts the third message into a fourth message of the first protocol type according to the endpoint corresponding relation; the IP address of the terminal is determined according to the external endpoint information in the endpoint corresponding relation; the destination IP address of the fourth message is the IP address of the terminal; the source IP address of the fourth message is the external IP address of the network equipment; the source port and the destination port of the fourth packet are the same as the source port and the destination port of the third packet.
In a second aspect, an embodiment of the present invention provides a data stream transmission method, including:
the terminal selects the position information and the process number of a processing unit of the remote login network equipment;
the terminal determines the port number of the terminal and/or the port number of the processing unit according to the processing unit and/or the process number of the selected network equipment; the port number of the terminal is used as a source port when the terminal sends a first message to the network equipment; the port number of the processing unit is used as a destination port when the terminal sends the first message to the network equipment;
the terminal sends a first message to the network equipment; the header of the first message comprises the IP address of the terminal, the external IP address of the network equipment, a source port and a destination port; the source port number is a port number of the terminal; the destination port number is a port number of the processing unit; the source port number and the destination port number are used for the network device to generate an internal IP address of the processing unit, and forward the first packet to the processing unit according to the internal IP address of the processing unit.
In a third aspect, an embodiment of the present invention provides a data stream transmission apparatus, including:
the receiving and sending unit is used for acquiring a first message of a first protocol type sent by a terminal; the source port and/or the destination port of the first message are/is determined by the terminal according to the process of the processing unit and/or the processing unit of the selected network equipment; the source IP address of the first message is the IP address of the terminal; the destination IP address of the first message is an external IP address of the network equipment;
the processing unit is used for converting the first message into a second message of a second protocol type; the source IP address of the second message is the internal IP address of the network equipment; the destination IP address of the second message is the internal IP address of the processing unit; the internal IP address of the processing unit is determined according to the source port of the first message and the destination port of the first message; the source port of the second message is the same as the source port of the first message, and the destination port of the second message is the same as the destination port of the first message.
In a possible implementation manner, the first message is a link establishment request; the processing unit is specifically configured to: determining a process number of a processing unit corresponding to the destination port according to the destination port of the first message; determining the position information of a processing unit corresponding to the destination port according to the source port of the first message; determining an internal IP address of the processing unit according to the process number of the processing unit and the position information of the processing unit; and taking the internal IP address of the processing unit as the destination IP address of the second message.
In one possible implementation, the processing unit is further configured to: recording external endpoint information of the terminal and internal endpoint information of the processing unit as an endpoint corresponding relation; the external endpoint information includes a source port of the first message, a destination port of the first message, a source IP address of the first message, and a destination IP address of the first message; the internal endpoint information includes a source port of the second packet, a destination port of the second packet, a source IP address of the second packet, and a destination IP address of the second packet.
In a possible implementation manner, the processing unit is specifically configured to:
searching the source port of the first message and the internal IP address of the processing unit corresponding to the destination port of the first message through the endpoint corresponding relation; the endpoint corresponding relation is determined according to the link establishment request; and taking the internal IP address of the processing unit as the destination IP address of the second message.
In one possible implementation, the processing unit is further configured to:
and establishing a flow channel between the terminal and the network equipment according to the endpoint corresponding relation.
In one possible implementation, the processing unit is further configured to:
and if the protocol type corresponding to the current data flow path in the network equipment is determined to be different from the protocol type of the first message, deleting the current data flow path, and establishing a new data flow path according to the first message.
In one possible implementation manner, the transceiver unit is further configured to: receiving a third message of the second protocol type sent to the terminal by the processing unit; the destination port of the third message is determined according to the processing unit of the network equipment and/or the process of the processing unit determined by the terminal; the third message source port is determined by the terminal according to the process of the processing unit of the appointed network equipment; the destination IP address of the third message is the internal IP address of the network equipment; the source IP address of the third message is the internal IP address of the processing unit;
the processing unit is further configured to: converting the third message into a fourth message of the first protocol type according to the endpoint corresponding relation; the IP address of the terminal is determined according to the external endpoint information in the endpoint corresponding relation; the destination IP address of the fourth message is the IP address of the terminal; the source IP address of the fourth message is the external IP address of the network equipment; the source port and the destination port of the fourth packet are the same as the source port and the destination port of the third packet.
In a fourth aspect, an embodiment of the present invention provides a data stream transmission apparatus, including:
the system comprises a receiving and sending unit, a processing unit and a processing unit, wherein the receiving and sending unit is used for acquiring the position information and the process number of the processing unit of the selected remote login network equipment; sending a first message to the network equipment; the header of the first message comprises the IP address of the terminal, the external IP address of the network equipment, a source port and a destination port; the source port number is a port number of the terminal; the destination port number is a port number of the processing unit; the source port number and the destination port number are used for the network device to generate an internal IP address of the processing unit, and forward the first packet to the processing unit according to the internal IP address of the processing unit;
the processing unit is used for determining the port number of the terminal and/or the port number of the processing unit according to the processing unit and/or the process number of the selected network equipment; the port number of the terminal is used as a source port when the terminal sends a first message to the network equipment; and the port number of the processing unit is used as a destination port when the terminal sends the first message to the network equipment.
In a fifth aspect, an embodiment of the present invention provides a network device, including: the system comprises a processor, a memory, a transceiver and a bus interface, wherein the processor, the memory and the transceiver are connected through the bus interface;
the transceiver is used for acquiring a first message of a first protocol type sent by a terminal; the source port and/or the destination port of the first message are/is determined by the terminal according to the processor of the selected network equipment and/or the process of the processor; the source IP address of the first message is the IP address of the terminal; the destination IP address of the first message is an external IP address of the network equipment;
the processor is used for converting the first message into a second message of a second protocol type; the source IP address of the second message is the internal IP address of the network equipment; the destination IP address of the second message is the internal IP address of the processor; the internal IP address of the processor is determined according to the source port of the first message and the destination port of the first message; the source port of the second message is the same as the source port of the first message, and the destination port of the second message is the same as the destination port of the first message;
the memory is used for storing one or more executable programs and storing data used by the processor when executing operations;
and the bus interface is used for providing an interface.
In a possible implementation manner, the first message is a link establishment request; the processor is specifically configured to: determining a process number of a processor corresponding to a destination port according to the destination port of the first message; determining the position information of a processor corresponding to the destination port according to the source port of the first message; determining an internal IP address of the processor according to the process number of the processor and the position information of the processor; and taking the internal IP address of the processor as the destination IP address of the second message.
In one possible implementation, the processor is further configured to: recording external endpoint information of the terminal and internal endpoint information of the processor as an endpoint corresponding relation; the external endpoint information includes a source port of the first message, a destination port of the first message, a source IP address of the first message, and a destination IP address of the first message; the internal endpoint information includes a source port of the second packet, a destination port of the second packet, a source IP address of the second packet, and a destination IP address of the second packet.
In one possible implementation, the processor is specifically configured to:
searching the source port of the first message and the internal IP address of the processor corresponding to the destination port of the first message through the endpoint corresponding relation; the endpoint corresponding relation is determined according to the link establishment request; and taking the internal IP address of the processor as the destination IP address of the second message.
In one possible implementation, the processor is further configured to:
and establishing a flow channel between the terminal and the network equipment according to the endpoint corresponding relation.
In one possible implementation, the processor is further configured to:
and if the protocol type corresponding to the current data flow path in the network equipment is determined to be different from the protocol type of the first message, deleting the current data flow path, and establishing a new data flow path according to the first message.
In one possible implementation, the transceiver is further configured to: receiving a third message of the second protocol type sent to the terminal by the processor; the destination port of the third message is determined according to the processor of the network equipment and/or the process of the processor determined by the terminal; the third message source port is determined by the terminal according to the process of the processor of the appointed network equipment; the destination IP address of the third message is the internal IP address of the network equipment; the source IP address of the third message is the internal IP address of the processor;
the processor is further configured to: converting the third message into a fourth message of the first protocol type according to the endpoint corresponding relation; the IP address of the terminal is determined according to the external endpoint information in the endpoint corresponding relation; the destination IP address of the fourth message is the IP address of the terminal; the source IP address of the fourth message is the external IP address of the network equipment; the source port and the destination port of the fourth packet are the same as the source port and the destination port of the third packet.
In a sixth aspect, an embodiment of the present invention provides a terminal, including: the system comprises a processor, a memory, a transceiver and a bus interface, wherein the processor, the memory and the transceiver are connected through the bus interface;
the transceiver is used for acquiring the position information and the process number of the processor of the selected remote login network equipment; sending a first message to the network equipment; the header of the first message comprises the IP address of the terminal, the external IP address of the network equipment, a source port and a destination port; the source port number is a port number of the terminal; the destination port number is a port number of the processor; the source port number and the destination port number are used for the network device to generate an internal IP address of the processor, and forwarding the first packet to the processor according to the internal IP address of the processor;
the processor is used for determining the port number of the terminal and/or the port number of the processor according to the processor and/or the process number of the selected network equipment; the port number of the terminal is used as a source port when the terminal sends a first message to the network equipment; the port number of the processor is used as a destination port when the terminal sends the first message to the network equipment;
the memory is used for storing one or more executable programs and storing data used by the processor when executing operations;
and the bus interface is used for providing an interface.
In the data stream transmission method in the embodiment of the invention, different transmission protocols are transmitted between the terminal and the network equipment, so that the IP address space is sufficient, the expandability is strong, and the compatibility is good. The first message is converted into the second message of the second protocol type in the network equipment, so that different transmission protocols are compatible when the network equipment processes the uplink message and the downlink message, a processing unit in the network equipment does not need to modify a processing mode of the corresponding transmission protocol, the original processing flow is not influenced, and the adaptability of the developed flow is ensured. The source port and/or the destination port of the first message are/is determined by the terminal according to the processing unit and/or the process of the processing unit of the selected network equipment; the source IP address of the first message is the IP address of the terminal; the destination IP address of the first message is an external IP address of the network equipment; the source IP address of the second message is the internal IP address of the network equipment; the destination IP address of the second message is the internal IP address of the processing unit; the terminal and the network equipment adopt the same algorithm to determine the number of the link port, plan the ports of remote login in a unified way, and can determine the internal IP address of the processing unit of the second message according to the port number; the IP address of the terminal of the first message can also be determined according to the port number; the method and the device have the advantages that the determination of the IP address is more flexible, the allocation efficiency of the IP address is improved, furthermore, when the terminal is remotely logged in, the port number of the processing unit can be determined according to the process number of each processor, and the connection between the master process and the slave process of all soft cores on each processing unit in the network equipment and the terminal is further realized.
Drawings
FIG. 1 provides a system architecture diagram for an embodiment of the present application;
fig. 2 is a schematic flow chart of a data stream transmission method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a data stream transmission method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a data stream transmission method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a data stream transmission method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a data stream transmission method according to an embodiment of the present application;
fig. 7 is a schematic flowchart of a data stream transmission method according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an apparatus according to an embodiment of the present disclosure;
FIG. 9 is a schematic structural diagram of another apparatus provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of a circuit system according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of another circuit system according to an embodiment of the present disclosure.
Detailed Description
The embodiment of the application provides a data processing method, a control method and a device, so as to solve the technical problem that a data processing mode in the prior art cannot meet the requirement of a new processing flow.
The technical solutions of the present invention are described in detail below with reference to the drawings and the specific embodiments, and it should be understood that the specific features in the embodiments and the embodiments of the present invention are not intended to limit the technical solutions of the present invention, but may be combined with each other without conflict.
Some terms in the embodiments of the present application will be explained below to facilitate understanding by those skilled in the art.
1. A communication system is a system capable of realizing communication between a terminal device and a data network. In the embodiment of the present application, the communication system not only supports the basic mobile communication technology, but also is compatible with multiple communication technologies, that is, the communication function can be realized by using multiple communication technologies.
Optionally, The communication system may be a communication system of various systems at present, such as a fourth Generation (4G) communication system, a fifth Generation (5G) communication system, and other communication systems evolved based on The above communication system, which is not limited in The embodiment of The present application.
2. Communication technology, technology for implementing communication functions of a communication system. For example, the communication technology includes a mobile communication technology, an MTC technology, and the like. The communication technologies supported by the communication systems are different according to the different standards of the communication systems. For example, when the communication system is a 4G communication system, the mobile communication technology may be an LTE technology, and the MTC technology may be an eMTC technology. For another example, when the communication system is a 5G communication system, the mobile communication technology may be a New Radio (NR) technology.
3. The network device is a device for accessing the terminal device to a wireless network in a communication system. The network device is a node in the radio access network, which may also be referred to as a base station, and may also be referred to as a network node. Currently, some examples of network devices are: a gbb, a Transmission Reception Point (TRP), a Node B (Node B, NB), an evolved Node B (eNB), a general Node B (gbb), a Radio Network Controller (RNC), a Base Station Controller (BSC), a Base Transceiver Station (BTS), a home base station (e.g., a home evolved Node B or home Node B, HNB), a Base Band Unit (BBU), and the like.
It should be noted that, according to the above description, the communication system can support multiple communication technologies, and accordingly, in the embodiment of the present application, the network device also supports multiple communication technologies, and can access the terminal device supporting the communication technology to the wireless network through each communication technology.
4. The terminal device is a terminal device for remotely maintaining a network device, and may be a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), and the like, which is a device used for voice and/or data communication with the network device. Such as handheld devices, in-vehicle devices, etc., having wired or wireless connection capabilities. Specifically, the following may be mentioned: a mobile phone (mobile phone), a tablet computer, a notebook computer, a palm top computer, a Mobile Internet Device (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a terminal in industrial control (industrial control), a terminal in unmanned driving (self driving), a terminal in remote surgery (remote medical supply), a terminal in smart grid (smart grid), a terminal in transportation safety, a terminal in smart city (smart city), a terminal in smart home (smart home), and the like.
A client system for accessing a network, such as a browser and an Application (APP) of a HyperText Transfer Protocol (HTTP) or a network Protocol (HTTPs), may be installed on the terminal to initiate a request for accessing the network.
The methods for connecting base stations are divided into two types: the near-end debugging network port is connected with the remote port through an S1 port. In the commercial network deployment process, an operator plans the site according to the coverage requirement, the distance and the distance of the geographic position are different, if a near-end connection mode is adopted in the maintenance process, the operation and maintenance efficiency is greatly reduced, the operation and maintenance cost is increased, and even some equipment does not have the near-end operation and maintenance condition due to the fact that the site is selected, the remote maintenance of the equipment in a core machine room becomes the preferred choice of the operator.
The existing commercial communication network is basically based on an IPv4 protocol, remote maintenance of a base station is developed on the basis of IPv4, and in the stage that a 5G communication technology enters large-scale networking, operators can gradually advance planning configuration of an IPv6 transmission network due to increasingly prominent bottlenecks of IPv4 address quantity, so that the existing remote login technology cannot meet the future networking development requirement on the basis.
The existing base station remote login implementation method is developed based on an IPv4 protocol, the available address space is limited, and the base station can be exhausted within a foreseeable time, the base station is a multi-board-card multi-processor product, the IPv6 remote login is realized, the inside of the base station is required to be completely supported by the IPv6 protocol, and the product expandability is not facilitated; with the increase of supportable service processing units of the base station in the development of the 5G technology, the 5G commercial network has more limitations in networking by using IPv4, and the IPv 4-based telnet method limits the flexibility of commercial cloud deployment of the 5G base station, which is not favorable for the development of various derivative services using 5G as a platform.
Based on the above problem, as shown in fig. 2, an embodiment of the present invention provides a data stream transmission method, including:
step 201: the terminal selects the position information and/or the process number of a processing unit of the remote login network equipment;
step 202: the terminal determines the port number of the terminal and/or the port number of the processing unit according to the processing unit and/or the process number of the selected network equipment;
the port number of the terminal is used as a source port when the terminal sends a first message to the network equipment; the port number of the processing unit is used as a destination port when the terminal sends the first message to the network equipment;
step 203: the terminal sends a first message to the network equipment;
wherein, the header in the first message may include: mac address, IP address, UDP header, source IP address, destination IP address, source port, destination port.
Wherein, the header of the first message includes the IP address of the terminal, the external IP address of the network device, a source port and a destination port; the source port number is a port number of the terminal; the destination port number is a port number of the processing unit; the source port number and the destination port number are used for the network device to generate an internal IP address of the processing unit, and forward the first packet to the processing unit according to the internal IP address of the processing unit.
Step 204: the method comprises the steps that network equipment obtains a first message of a first protocol type sent by a terminal; the source port and/or the destination port of the first message are/is determined by the terminal according to the process of the processing unit and/or the processing unit of the selected network equipment; the source IP address of the first message is the IP address of the terminal; the destination IP address of the first message is an external IP address of the network equipment;
step 205: the network equipment converts the first message into a second message of a second protocol type; the source IP address of the second message is the internal IP address of the network equipment; the destination IP address of the second message is the internal IP address of the processing unit;
wherein the internal IP address of the processing unit is determined according to the source port of the first packet and the destination port of the first packet; the source port of the second message is the same as the source port of the first message, and the destination port of the second message is the same as the destination port of the first message.
It should be noted that, in the embodiment of the present invention, the first packet sent by the terminal may be implemented based on an IPv6 protocol or an IPv4 protocol, and the second packet converted inside the base station is a packet of a second protocol type, and the second protocol type may be an IPv4 protocol, so that the first protocol type and the second protocol type are compatible when the base station processes the uplink and downlink telnet packet inside, and on the premise of adding a new flow, the original processing flow is not affected, the adaptability of the developed flow is ensured, and the existing function is not affected.
In the data stream transmission method in the embodiment of the invention, different transmission protocols are transmitted between the terminal and the network equipment, so that the IP address space is sufficient, the expandability is strong, and the compatibility is good. The first message is converted into the second message of the second protocol type in the network equipment, so that different transmission protocols are compatible when the network equipment processes the uplink message and the downlink message, a processing unit in the network equipment does not need to modify a processing mode of the corresponding transmission protocol, the original processing flow is not influenced, and the adaptability of the developed flow is ensured. The source port and/or the destination port of the first message are/is determined by the terminal according to the processing unit and/or the process of the processing unit of the selected network equipment; the source IP address of the first message is the IP address of the terminal; the destination IP address of the first message is an external IP address of the network equipment; the source IP address of the second message is the internal IP address of the network equipment; the destination IP address of the second message is the internal IP address of the processing unit; the terminal and the network equipment adopt the same algorithm to determine the number of the link port, plan the ports of remote login in a unified way, and can determine the internal IP address of the processing unit of the second message according to the port number; the IP address of the terminal of the first message can also be determined according to the port number; the method and the device have the advantages that the determination of the IP address is more flexible, the allocation efficiency of the IP address is improved, furthermore, when the terminal is remotely logged in, the port number of the processing unit can be determined according to the process number of each processor, and the connection between the master process and the slave process of all soft cores on each processing unit in the network equipment and the terminal is further realized.
In step 201, after the base station is started, the terminal may select the location information and the process number of the processing unit of the network device through the location information and the process number of the processing unit of the selected network device, specifically, the terminal may select the location information and the process number of the processing unit of the network device through terminal software (OSP _ STUDIO).
Before step 202, the network device may determine, for the terminal, an IP address of the remote maintenance channel OMCH established between the terminal and the network device, and may set the link to be in immediate effect, where the establishment of the downlink OM access between the network device and the terminal is successful. The communication protocol of its OM path may be determined according to the protocol supported by the terminal.
In step 202, the terminal may determine, according to the processing unit and/or the process number of the selected network device, a port number of the terminal and/or a port number of the processing unit according to a preset rule.
In the specific implementation process, the port number of the terminal, that is, the source port number sport of the first packet, may be determined according to the slot number of the processing unit and/or the process number of the processing unit; the port number of the processing unit, i.e. the destination port number of the first packet, may be determined from the soft core ID of the processing unit.
For example, the source port may be determined according to the following equation: 30000/40000+ slotNum (1-52) × 64+ procid (0-63); the terminals can be divided into 2 priorities, and the port baselines of the priorities are respectively increased from 30000/40000 according to the slot number (slotNum) × 64. Wherein slotNum is a slot number of the processing unit, and procid is a soft core number of the pre-planned processing unit, and has a mapping relation with a process number pid of the processing unit. A plurality of processes may be included in one processing unit.
Furthermore, in a multi-process base station architecture, the existing remote login implementation scheme can only log in to a master process and cannot log in to a slave process, so that the flexibility of remote maintenance is limited.
Therefore, in order to enable the terminal to flexibly log in the master process and the slave process, a certain process of the processing unit can be selected by adding the process number when the port number is set. For example, the port number of the source port may be 20000+ slotNum (1 to 52) × 64+ recipe (0 to 63) + pid (0 to 11) × 10.
In one possible implementation, the destination port may be determined according to the following formula: dport 10000/11111/22222/33333+ pid 10.
10000/11111/22222 represents the port base line of the processing unit corresponding to the terminal with different priority, and the port number is increased by the process number (pid) × 10. The terminal remotely connected with the base station can be divided into three priorities according to needs, which are respectively: normal, medium and high priority.
The port number of the processing unit in the network device for invoking the interface may be set to increment by soft core identification 10 starting from 6001. The destination port number dport of the network device is 6001+ pid 10.
In addition, the ranges of the proximity and the pid can be set according to the network device. For example, if the network device is X86 or PPC, the precision may be set to 0, pid < 7; when the network device is an ARM, the procid can be selected according to actual needs, and it is only required to ensure that the procid (0-63) + pid (0-11) × 10 is smaller than the maximum slot position. When pid exceeds the limit, the issue of port collision needs to be considered.
In order to solve the conflict problem, when a Transmission Processing Layer (TPL) in the base station processes a downlink packet, the admission threshold of the corresponding port number is expanded, and 156 slot positions are supported at maximum specifically as follows:
Figure BDA0001845073350000151
wherein, TPL _ REMOTE _ ACCESS _ CONSOLE _ SUGNAL _ MIN is the minimum value of the source port number of the TCP connection of the REMOTE control CONSOLE; TPL _ REMOTE _ ACCESS _ CONSOLE _ SUGNAL _ MAX is the maximum value of the source port number of the TCP connection of the REMOTE CONSOLE;
TPL _ REMOTE _ ACCESS _ CONSOLE _ TERM _ MIN is the minimum value of source port numbers connected with the REMOTE control CONSOLE UDP, and TPL _ REMOTE _ ACCESS _ CONSOLE _ TERM _ MAX is the maximum value of the source port numbers connected with the REMOTE control CONSOLE UDP;
TPL _ REMOTE _ ACCESS _ VIEW _ MIN is the minimum value of the source port number of the REMOTE debugging interface; TPL _ REMOTE _ ACCESS _ VIEW _ MIN is the maximum value of the source port number of the REMOTE commissioning interface.
In order to solve the problem of login of the AAU and the master process and the slave process of each processing unit, the preset rules of the port numbers can be uniformly set.
Specifically, for the division of slot numbers, the BBU side slot number ranges from 0 to 31, the AAU side slot number ranges from 32 to 128, and the AAU side device number ranges from 0 to 95, which totally supports 96 remote radio units. A network device may include a plurality of slots; a board card can be inserted into each slot position; one board card can be a processing unit; the network processor is arranged on the main control board; typically one BBU is provided with one network processor.
Specifically, in a possible implementation manner, the terminals remotely connected to the base station may be divided into three priorities, which are: normal, medium and high priority. The three priority port baselines start at 10000/11111/22222 and are incremented by 10 soft core id.
The location information of the processing unit determined by the port number may be determined according to the following manner:
Figure BDA0001845073350000161
the port number of the commissioning interface of the network device may be set to increment by soft core identification 10 starting from 6001.
Because the physical position information of each processing unit in the network equipment is fixed, a process to be accessed can be accurately defined through the machine frame number of the network equipment, the slot number of the processing unit of the network equipment, the processor soft core identification and the process number, and flexible login of the AAU and the master-slave process of each processing unit is further realized.
In step 204, the network device converts the first packet into a second packet, which includes:
the network equipment determines the process number of a processing unit corresponding to the destination port according to the destination port of the first message;
the network equipment determines the position information of a processing unit corresponding to the destination port according to the source port of the first message;
the network equipment determines the internal IP address of the processing unit according to the process number of the processing unit and the position information of the processing unit; and the network equipment takes the internal IP address of the processing unit as the destination IP address of the second message.
Because the source port number and the destination port number established by each processing unit and the terminal are different, namely the mapping of the port numbers has uniqueness, the process of each processing unit corresponds to different source and destination port numbers, and the corresponding IP address can be determined according to the different source and destination port numbers. Therefore, the source IP address and the destination IP address of the first packet sent by the terminal, and the source IP address and the destination IP address of the second packet after internal conversion in the base station can be analyzed forward and backward according to the preset rule, or the source port number and the destination port number can be flexibly calculated through the position information of the processing unit. The method and the device have the advantages that the IP address of the first protocol type in the first message sent to the network equipment by the external terminal can be directly converted into the second message of the second protocol type through the preset rule in the network equipment, the uplink sending rule is established according to the endpoint information, a data stream transmission channel is established between the terminal and a processing unit in the network equipment, the protocol stack does not need to convert messages of different protocol types for the received messages every time, and the network equipment is compatible with message processing of different protocol types.
Before the terminal remotely connects to the network device, the data flow that needs to establish a remote connection may include the following procedures: the first is that the terminal sends a link establishment request message to trigger the remote access process of the base station; the second is the capture of the response message of the link establishment request message sent by the internal response terminal of the base station, and the flow path of the control flow is established through the captured response message; the third is the establishment flow of the bidirectional FTP path.
In the specific implementation process, when the terminal is remotely connected with the network equipment, a TCP/FTP connection can be established.
When a TCP connection is established, the first message is a link establishment request; the terminal can trigger a link establishment request of the TCP connection by triggering the STUDIO software, takes the port number of the terminal as a source port number of the first message, takes the port number of the processing unit as a destination port number of the first message, and sends the link establishment request to the base station.
It should be noted that the TCP flow may determine, through the server on the terminal and the processing unit of the network device, whether the TCP connection needs to be deleted after the file transmission is finished. When the same terminal is connected to the same processing unit, the corresponding relation of the end points is consistent, and the established FTP flow channel control flow can be repeatedly used, so that the expenditure is saved, and the forwarding efficiency is improved. When the terminal initiates the remote connection, the protocol type of the first message sent determines the protocol type of the flow channel established by the base station for the remote connection. Only one protocol type of message exists in the network processor, and the corresponding port number and the corresponding IP address are the same, so that flow channels of different protocol types cannot exist at the same time. Therefore, in the embodiment of the present invention, the method may further include:
and if the network equipment determines that the protocol type corresponding to the current data flow path in the network equipment is different from the protocol type of the first message, deleting the current data flow path and establishing a new data flow path according to the first message.
For example, when switching to a connection with ipv6 address, the previous ipv4 stream needs to be dropped; when the same ipv6 is replaced by ipv4 for access, the ipv6 stream built on the network processor needs to be deleted.
In a specific embodiment, as shown in fig. 3, the following steps may be included:
step 301, receiving a first message;
step 302, judging whether the destination IP address in the first message is an external IP address of the network device; if yes, go to step 302; if not, go to step 314;
step 303, determining an internal IP address of a processing unit corresponding to the first packet according to the first packet;
step 304, judging whether a stream index of a stream channel corresponding to the first message exists; if yes, go to step 305; if not, go to step 309;
step 305, judging whether the stream identification ID corresponding to the current stream index exists, if so, executing step 306; otherwise, go to step 308;
step 306, judging whether the source IP address and the destination IP address in the first message are consistent with the source IP address and the destination IP address in the external endpoint information in the endpoint corresponding relation corresponding to the flow identifier; if not, go to step 307; if yes, go to step 308;
step 307, clearing a flow table;
step 308, determining whether the source port and the destination port in the first message are consistent with the source port and the destination port in the endpoint correspondence corresponding to the flow identifier; if yes, go to step 314; if not, go to step 309;
309, distributing a stream index to the first message;
step 310, obtaining the stream identifier of the stream index, and storing the endpoint corresponding relationship in the first message, and the mapping relationship between the endpoint corresponding relationship and the stream information.
Specifically, the storage manner may be to store the endpoint correspondence to a global variable, so that the uplink message may be called when being converted.
Step 311, judging whether the control flows conflict; if yes, go to step 312; if not, go to step 313;
specifically, the conflict means that the protocol type of the current control flow is not consistent with the protocol type of the first packet, and the control flow is considered to be in conflict, and the control flow consistent with the first packet needs to be reestablished.
Step 313, deleting the control flow index;
313, establishing a control flow index according to the first message;
step 314, obtaining the stream identifier of the control flow index, and establishing a mapping relationship between the endpoint corresponding relationship in the first message and the control flow;
and step 315, ending the flow establishing process and returning a flow establishing result.
In a specific implementation process, after receiving a link establishment request message, a base station may forward the link establishment request message to an HOST protocol stack of the base station, where the HOST protocol stack identifies that the link establishment request message is a remote connection message, starts a remote access procedure, configures endpoint information, establishes a bidirectional remote login flow channel, and enables a terminal (e.g., a STUDIO console) to be remotely connected to the base station.
Wherein configuring the endpoint information comprises:
and the network equipment records the external endpoint information of the terminal and the internal endpoint information of the processing unit as an endpoint corresponding relation.
The external endpoint information includes a source port of the first message, a destination port of the first message, a source IP address of the first message, and a destination IP address of the first message; the internal endpoint information includes a source port of the second packet, a destination port of the second packet, a source IP address of the second packet, and a destination IP address of the second packet.
Wherein, the ip address planned for the network processor can be 10.0.slotid.192+ procid; wherein, the slot position of the network processor is 0 or 1; procid is fixed as 1; that is, the network processor ip is either 10.0.1.193 or 10.0.0.193; depending on whether the board card corresponding to the network processor is located in slot 0 or slot 1.
After the endpoint information is configured, the network device may further establish a flow channel between the terminal and the network device according to the endpoint correspondence.
The flow channel of the network device may be a TCP flow channel for telnet, an FTP control flow channel, or an FTP data flow channel.
When the downlink data flow channel is established, a corresponding flow channel can be established through the HOST protocol stack in the forwarding process of the downlink message.
When the uplink data flow channel is established, the uplink message can be dynamically captured in the process of forwarding the uplink message corresponding to the downlink message, and the uplink data flow channel is established according to the uplink message.
In this embodiment of the present invention, a specific process of sending the uplink packet may include:
step one, network equipment receives a third message of the second protocol type sent to the terminal by the processing unit;
the destination port of the third message is determined according to the processing unit of the network equipment and/or the process of the processing unit determined by the terminal; the third message source port is determined by the terminal according to the process of the processing unit of the appointed network equipment; the destination IP address of the third message is the internal IP address of the network equipment; the source IP address of the third message is the internal IP address of the processing unit;
step two, the network equipment converts the third message into a fourth message of the first protocol type according to the endpoint corresponding relation;
the IP address of the terminal is determined according to external endpoint information in the endpoint corresponding relation; the destination IP address of the fourth message is the IP address of the terminal; the source IP address of the fourth message is the external IP address of the network equipment; the source port and the destination port of the fourth packet are the same as the source port and the destination port of the third packet.
Because the type of the message generated by the processing unit can only be the second protocol type when the uplink message is sent, at this time, the message cannot be forwarded only according to the message generated by the processing unit, and the message is forwarded according to the endpoint corresponding relationship acquired in the downlink message.
For example, the third message is a response message replied by the processing unit for the link establishment request sent by the terminal, where the response message is generated after the TCP path for communication between the terminal and the network device is successfully established and the link establishment request message reaches the processing unit in the second flow.
In the specific implementation process, in order to establish the uplink FTP path, the response message is captured by the base station and then forwarded to the HOST protocol stack, and the HOST protocol stack forwards the third message to the third message, and establishes the uplink FTP path according to the endpoint information.
In a specific embodiment, as shown in fig. 4, the method comprises the following steps:
step 401, receiving a third message; the third message is a response message of the processing unit replying the terminal link establishment request;
step 402, judging whether a stream index of a stream channel corresponding to the third message exists; if yes, go to step 403; if not, go to step 408;
whether the TCP stream channel with the same protocol type exists or not is judged, the protocol type of the current stream is ensured to be consistent with the protocol type of the fourth message to be forwarded to the terminal, if so, a control stream can be established on the current stream channel, and if not, the TCP stream needs to be reestablished.
Step 403, judging whether the control flow identifier ID corresponding to the current flow index conflicts, if yes, executing step 404; otherwise, go to step 405;
specifically, the valid means that the source IP address and the destination IP address in the internal endpoint information in the endpoint correspondence relationship corresponding to the source IP address and the destination IP address in the third packet are identical to each other, and the source port and the destination port in the endpoint correspondence relationship corresponding to the source port and the destination port are identical to each other.
Step 404; deleting the control flow;
step 405, allocating a control flow index to the third packet;
step 406, obtaining a flow identifier of the control flow index, obtaining an endpoint corresponding relationship of the first message corresponding to the third message, and establishing a mapping relationship between the endpoint corresponding relationship and the control flow;
specifically, the established control flow identification and control flow port may be stored as global variables.
Step 407, converting the third message into a fourth message, and sending the fourth message to a terminal;
and step 408, ending the flow establishing process and returning a flow establishing result.
Based on the same inventive concept, in the third process, after the establishment of the FTP control message path between the terminal and the network device is completed, the terminal may start to trigger file or DATA transmission, send a DATA message, after the FTP DATA link establishment request message reaches the base station, and after the HOST protocol stack identifies the message, establish a bidirectional FTP-DATA path, at which time the establishment of the remote connection path between the terminal and the network device is completed.
In one particular embodiment, as shown in fig. 5, includes:
step 501, receiving a fifth message; the fifth message is a data message sent by the terminal, or the fifth message is a data response message returned to the terminal by a processing unit in the network device;
step 502, judging whether the ftp of the fifth message is legal; if yes, judging a TCP source port of the fifth message; if the source port is determined to be a network processor, go to step 504; if the source port is determined to be a processing unit, go to step 505;
step 504, determining the fifth message as a message to be sent to the processing unit;
step 505, determining the fifth message as a message sent to the terminal;
step 506, judging whether the stream index exists, if so, executing step 507; if not, go to step 514;
step 507, judging whether the ftp data length of the fifth message is larger than 0; if yes, go to step 508; if not, go to step 514;
step 508, judge whether the server port of the fifth message can be analyzed; if yes, go to step 508; if not, go to step 514;
step 509, judging whether the protocol type corresponding to the data stream identifier ID conflicts with the protocol type of the message to be sent by the terminal corresponding to the fifth message, if so, executing step 511; if not, go to step 510;
step 510, deleting the data stream;
step 511, establishing a data stream ID;
and step 512, establishing a mapping relation between the endpoint corresponding relation corresponding to the fifth message and the data stream ID in the data stream ID, and storing the data stream ID.
Step 513, the fifth message is converted into a sixth message and sent to the corresponding destination port.
And step 514, finishing establishing the data stream.
The port number in the data packet is determined according to an application layer protocol (e.g., FTP protocol), and is not described herein again.
By the embodiment, when the terminal logs in remotely, the downlink message and the internal uplink message are captured and processed, a flow channel needing message conversion is established, and message conversion is carried out, wherein the message conversion is independent from a message processing mode without the message conversion; so that telnet can be compatible with different protocol types.
After the flow channel is established, when the same flow channel needs to be used again, the network device may not need to calculate the IP address in the corresponding second message according to the preset rule of the port number and the IP address, and may quickly find the corresponding IP address according to the pre-stored endpoint correspondence, so as to improve the message forwarding efficiency. Specifically, the converting, by the network device, the first packet into a second packet includes:
the network equipment searches the source port of the first message and the internal IP address of the processing unit corresponding to the destination port of the first message through the endpoint corresponding relation; the endpoint corresponding relation is determined according to the link establishment request;
and the network equipment takes the internal IP address of the processing unit as the destination IP address of the second message.
An embodiment of the present invention provides a data stream transmission method, as shown in fig. 6, including the following steps:
601, acquiring a first message; the source IP address in the first message is generated according to the processing unit and the process number;
step 602, judging the message type of the first message; if the IPv4 is determined, go to step 603; if not, go to step 604;
step 603, acquiring a destination IP address of the second message from the global variable of the endpoint corresponding relation of the IPv 4; the second message is the message converted from the first message; the protocol type of the second message is the same as that of the first message;
step 604, acquiring IP and TCP message headers in the first message, and emptying a checksum field;
step 605, obtaining a destination IP address of the second message from the global variable of the endpoint correspondence of the IPv 6; here, the second packet is of a different protocol type than the first packet.
Step 606, acquiring a TCP message header in the first message, and constructing a message header of IPv4 according to the TCP message header in the first message;
step 607, filling the destination IP address and the source IP address of the second message; determining a filling checksum, an MAC message header and an IP message, and determining the transmission length of a second message to be transmitted;
step 608, sending the second message.
An embodiment of the present invention further provides a data stream transmission method, as shown in fig. 7, including:
step 701, receiving a third message;
step 702, judging whether the external endpoint type of the first message corresponding to the third message is IPv 4; if yes, go to step 703; if not, go to step 707;
the corresponding relation between the third message and the first message can be determined according to the relation between the downlink message and the uplink message, and after the protocol type of the downlink message is determined, the external endpoint type of the downlink message can be stored through a global variable;
step 703, acquiring a terminal IP address from a global variable of the endpoint correspondence of IPv 4;
step 704, judging whether the MAC address of the terminal can be obtained; if yes, go to step 705, otherwise go to step 715;
step 705, judging whether a VLAN identification exists; if yes, determining the length of the ETH head to be 18 bytes; otherwise, determining the length of the ETH header to be 14 bytes;
step 706, acquiring a TCP message header of the third message and IP message content; according to the endpoint corresponding relation of the IPv4, filling the IP address and the checksum of the fourth message;
step 707, acquiring a terminal IP address from a global variable of the endpoint correspondence of the IPv 6;
step 708, judging whether the MAC address of the terminal can be obtained; if yes, go to step 709, otherwise go to step 715;
step 709, judging whether a VLAN identification exists; if yes, determining the length of the ETH head to be 18 bytes; otherwise, determining the length of the ETH header to be 14 bytes;
step 710, acquiring a TCP message header of the third message and TCP message content; constructing an IPv6 message header of the fourth message according to the endpoint corresponding relation of the IPv 6;
step 711, filling the MAC header of the fourth packet according to the MAC address of the terminal;
step 712, determining whether the third packet carries a VLAN, if yes, executing step 713; if not, go to step 714;
step 713, filling the MAC header of the VLAN according to the VLAN information;
step 714, determining the sending length of the fourth message, and sending the fourth message;
and step 715, ending the sending process.
In the data stream transmission method in the embodiment of the invention, different transmission protocols are transmitted between the terminal and the network equipment, so that the IP address space is sufficient, the expandability is strong, and the compatibility is good. The method can be based on an IPv6 protocol, ensures sufficient IP address space, has strong expandability and good compatibility, realizes compatibility of IPv6 and IPv4 when the base station internally processes uplink and downlink remote login messages, realizes compatibility of IPv6 and IPv4 when the network equipment internally processes messages, can be flexibly matched, and has small limitation. Newly adding IPv6 branch, and independent with IPv4 without affecting the existing processing mode; the original processing flow is not influenced on the premise of adding a new flow, the adaptability of the developed flow is ensured, and the existing function is not influenced. The first message is converted into the second message of the second protocol type in the network equipment, so that different transmission protocols are compatible when the network equipment processes the uplink message and the downlink message, a processing unit in the network equipment does not need to modify a processing mode of the corresponding transmission protocol, the original processing flow is not influenced, and the adaptability of the developed flow is ensured. The method has the advantages that the ipv4 and ipv6 are compatible through modifying the sending processing flow for capturing and processing the interactive messages between each processor and the terminal in the base station during remote login, and the ipv6 flow is more flexibly established. The source port and/or the destination port of the first message are/is determined by the terminal according to the processing unit and/or the process of the processing unit of the selected network equipment; the source IP address of the first message is the IP address of the terminal; the destination IP address of the first message is an external IP address of the network equipment; the source IP address of the second message is the internal IP address of the network equipment; the destination IP address of the second message is the internal IP address of the processing unit; the terminal and the network equipment adopt the same algorithm to determine the number of the link port, plan the ports of remote login in a unified way, and can determine the internal IP address of the processing unit of the second message according to the port number; the IP address of the terminal of the first message can also be determined according to the port number; the determination of the IP address is more flexible, the allocation efficiency of the IP address is improved, furthermore, when the terminal logs in remotely, the port number of the processing unit can be determined according to the process number of each processor, and the connection between the master process and the slave process of all soft cores on each processing unit in the AAU equipment and the BBU equipment in the network equipment and the terminal is further realized.
Based on the same application concept, as shown in fig. 8, an apparatus 20 provided in the embodiment of the present application includes at least one processor 21, a communication bus 22, a memory 23, and at least one communication interface 24.
Illustratively, the terminal 200 in fig. 1 may also be the apparatus 20 shown in fig. 8. The apparatus 20 may implement the steps related to the terminal in the communication method in the embodiment of the present application through the processor 21.
For example, the network device 100 in fig. 1 may also be the apparatus 20 shown in fig. 8, and the apparatus 20 may implement, by using the processor 21, the steps related to the base station in the communication method in the embodiment of the present application.
The processor 21 may be a general purpose Central Processing Unit (CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more ics for controlling the execution of programs in accordance with the teachings of the present application.
Communication bus 22 may include a path that transfers information between the aforementioned components. The communication interface 24 may be any device, such as a transceiver, for communicating with other devices or communication networks, such as an ethernet network, a Radio Access Network (RAN), a wlan, etc.
The memory 23 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disc storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by the apparatus. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 23 is used for storing application program codes for executing the scheme of the application, and is controlled by the processor 21 to execute. The processor 21 is configured to execute application program code stored in the memory 23.
In particular implementations, processor 21 may include one or more CPUs such as CPU0 and CPU1 in fig. 8 as an example.
In particular implementations, the apparatus 20 may include a plurality of processors, such as the processor 21 and the processor 28 in fig. 8, as an example. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In the embodiment of the present application, the functional modules of the apparatus shown in fig. 8 may be divided according to the above method example, for example, each functional module may be divided according to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the present embodiment, the apparatus shown in fig. 8 is presented in a form of dividing each functional module corresponding to each function, or the apparatus is presented in a form of dividing each functional module in an integrated manner. A "module" as used herein may refer to an application-specific integrated circuit (ASIC), an electronic circuit, a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that provide the described functionality.
For example, in the case of dividing each functional module by corresponding functions, fig. 9 shows a possible structural schematic diagram of the apparatus in the foregoing embodiment, and the apparatus 900 may be a terminal or a base station in the foregoing embodiment. The apparatus 900 comprises a processing unit 901 and a transceiving unit 902. The transceiver unit 902 is used for the processing unit 901 to transmit and receive signals. The method executed by the processing unit 901 in fig. 8 may be implemented by the processor 21 (and/or the processor 28) and the memory 23 in fig. 8, and specifically, the method executed by the processing unit 901 may be executed by the processor 21 (and/or the processor 28) in fig. 3 to call the application program code stored in the memory 23, which is not limited in this embodiment.
In a specific implementation, when the apparatus 900 may be a terminal in the foregoing embodiment, and when the apparatus 900 may be a network device in the foregoing embodiment, the method includes:
the receiving and sending unit is used for acquiring a first message of a first protocol type sent by a terminal; the source port and/or the destination port of the first message are/is determined by the terminal according to the process of the processing unit and/or the processing unit of the selected network equipment; the source IP address of the first message is the IP address of the terminal; the destination IP address of the first message is an external IP address of the network equipment;
the processing unit is used for converting the first message into a second message of a second protocol type; the source IP address of the second message is the internal IP address of the network equipment; the destination IP address of the second message is the internal IP address of the processing unit; the internal IP address of the processing unit is determined according to the source port of the first message and the destination port of the first message; the source port of the second message is the same as the source port of the first message, and the destination port of the second message is the same as the destination port of the first message.
In a possible implementation manner, the first message is a link establishment request; the processing unit is specifically configured to: determining a process number of a processing unit corresponding to the destination port according to the destination port of the first message; determining the position information of a processing unit corresponding to the destination port according to the source port of the first message; determining an internal IP address of the processing unit according to the process number of the processing unit and the position information of the processing unit; and taking the internal IP address of the processing unit as the destination IP address of the second message.
In one possible implementation, the processing unit is further configured to: recording external endpoint information of the terminal and internal endpoint information of the processing unit as an endpoint corresponding relation; the external endpoint information includes a source port of the first message, a destination port of the first message, a source IP address of the first message, and a destination IP address of the first message; the internal endpoint information includes a source port of the second packet, a destination port of the second packet, a source IP address of the second packet, and a destination IP address of the second packet.
In a possible implementation manner, the processing unit is specifically configured to:
searching the source port of the first message and the internal IP address of the processing unit corresponding to the destination port of the first message through the endpoint corresponding relation; the endpoint corresponding relation is determined according to the link establishment request; and taking the internal IP address of the processing unit as the destination IP address of the second message.
In one possible implementation, the processing unit is further configured to:
and establishing a flow channel between the terminal and the network equipment according to the endpoint corresponding relation.
In one possible implementation, the processing unit is further configured to:
and if the protocol type corresponding to the current data flow path in the network equipment is determined to be different from the protocol type of the first message, deleting the current data flow path, and establishing a new data flow path according to the first message.
In one possible implementation manner, the transceiver unit is further configured to: receiving a third message of the second protocol type sent to the terminal by the processing unit; the destination port of the third message is determined according to the processing unit of the network equipment and/or the process of the processing unit determined by the terminal; the third message source port is determined by the terminal according to the process of the processing unit of the appointed network equipment; the destination IP address of the third message is the internal IP address of the network equipment; the source IP address of the third message is the internal IP address of the processing unit;
the processing unit is further configured to: converting the third message into a fourth message of the first protocol type according to the endpoint corresponding relation; the IP address of the terminal is determined according to the external endpoint information in the endpoint corresponding relation; the destination IP address of the fourth message is the IP address of the terminal; the source IP address of the fourth message is the external IP address of the network equipment; the source port and the destination port of the fourth packet are the same as the source port and the destination port of the third packet.
An embodiment of the present invention further provides a data stream transmission apparatus, which is applied to a terminal, and includes:
the system comprises a receiving and sending unit, a processing unit and a processing unit, wherein the receiving and sending unit is used for acquiring the position information and the process number of the processing unit of the selected remote login network equipment; sending a first message to the network equipment; the header of the first message comprises the IP address of the terminal, the external IP address of the network equipment, a source port and a destination port; the source port number is a port number of the terminal; the destination port number is a port number of the processing unit; the source port number and the destination port number are used for the network device to generate an internal IP address of the processing unit, and forward the first packet to the processing unit according to the internal IP address of the processing unit;
the processing unit is used for determining the port number of the terminal and/or the port number of the processing unit according to the processing unit and/or the process number of the selected network equipment; the port number of the terminal is used as a source port when the terminal sends a first message to the network equipment; and the port number of the processing unit is used as a destination port when the terminal sends the first message to the network equipment.
Based on the same application concept, an embodiment of the present application further provides a circuit system, and fig. 10 is a schematic structural diagram of the circuit system provided in the embodiment of the present application (for example, a communication device such as an access point or a base station, a station, or a terminal).
As shown in fig. 10, circuitry 1200 may be implemented by a bus 1201 as a general bus architecture. The bus 1201 may include any number of interconnecting buses and bridges depending on the specific application of the circuit system 1200 and the overall design constraints. The bus 1201 couples various circuits together including the processor 1202, the storage medium 1203, and the bus interface 1204. Optionally, circuitry 1200 connects a network adapter 1205 or the like via bus 1201 using bus interface 1204. The network adapter 1205 may be used to implement signal processing functions at the physical layer of the wireless communication network and to transmit and receive radio frequency signals through the antenna 1207. The user interface 1206 may connect user terminals, such as: a keyboard, a display, a mouse or a joystick, etc. The bus 1201 may also connect various other circuits such as timing sources, peripherals, voltage regulators, or power management circuits, which are well known in the art, and therefore, will not be described in detail.
Alternatively, circuitry 1200 may be configured as a chip or system on a chip that includes one or more microprocessors that provide processor functions; and an external memory providing at least a portion of the storage medium 1203, all connected together with other support circuitry through an external bus architecture.
Alternatively, the circuitry 1200 may be implemented using an ASIC (application specific integrated circuit) having a processor 1202, a bus interface 1204, and a user interface 1206; and at least a portion of storage medium 1203 integrated within a single chip, or circuitry 1200 may be implemented using one or more FPGAs (field programmable gate arrays), PLDs (programmable logic devices), controllers, state machines, gated logic, discrete hardware components, any other suitable circuitry, or any combination of circuitry capable of performing the various functions described throughout this application.
Among other things, the processor 1202 is responsible for managing the bus and general processing (including executing software stored on the storage medium 1203). The processor 1202 may be implemented using one or more general-purpose processors and/or special-purpose processors. Examples of processors include microprocessors, microcontrollers, DSP processors, and other circuits capable of executing software. Software should be construed broadly to mean instructions, data, or any combination thereof, whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise.
In the following figures the storage medium 1203 is shown separate from the processor 1202, however, it will be readily apparent to those skilled in the art that the storage medium 1203, or any portion thereof, may be located outside of the circuitry 1200. The storage medium 1203 may include, for example, a transmission line, a carrier wave modulated with data, and/or a computer product separate from the wireless node, all of which may be accessed by the processor 1202 through the bus interface 1204. Alternatively, the storage medium 1203, or any portion thereof, may be integrated into the processor 1202, e.g., may be a cache and/or general purpose registers.
The processor 1202 may execute the signal status information feedback method in any of the embodiments described above in the present application, and details are not described herein again.
Fig. 11 is another structural diagram of a circuit system according to an embodiment of the present application. The circuitry may be a processor. The processor may be embodied as a chip or a System On Chip (SOC) and is disposed in a base station or a terminal of the wireless communication system of the embodiment, so that the base station or the terminal implements the communication method of the embodiment. As shown in fig. 11, the circuit system 60 includes: an interface unit 601, a control and arithmetic unit 602, and a storage unit 603. Wherein the interface unit is adapted to communicate with other components of the base station or the terminal, the storage unit 603 is adapted to store computer programs or instructions, and the control and arithmetic unit 602 is adapted to decode and execute these computer programs or instructions. It will be appreciated that these computer programs or instructions may include the terminal functionality described above, as well as the base station functionality described above. When the terminal function program is decoded and executed by the control and operation unit 602, the terminal can implement the indication method of the uplink sub-band precoding matrix and the function of the terminal in the embodiment of the present application. When the base station function program is decoded and executed by the control and operation unit 602, the base station can implement the function of the base station in the signal status information feedback method according to the embodiment of the present application.
In one possible design, these terminal or base station functions are stored in memory external to circuitry 60. When the terminal function program or the base station function program is decoded and executed by the control and arithmetic unit 602, the storage unit 603 temporarily stores part or all of the contents of the terminal function program or part or all of the contents of the base station function program.
In an alternative implementation, these terminal or base station functions are provided in a memory unit 603 stored within the circuitry 60. When the terminal function program is stored in the storage unit 603 inside the circuit system 60, the circuit system 60 may be provided in the terminal 200 of the wireless communication system of the embodiment of the present application. When the base station function program is stored in the storage unit 603 inside the circuit system 60, the circuit system 60 may be provided in the base station 100 of the wireless communication system of the embodiment of the present application.
In yet another alternative implementation, the contents of some of these terminal or base station functions are stored in memory external to circuitry 60, and the contents of other parts of these terminal or base station functions are stored in memory unit 603 internal to circuitry 60.
Based on the same idea, the present application provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the method steps related to the terminal in the various embodiments to which the present application relates.
Based on the same concept, the present application provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the method steps related to the base station in the various embodiments to which the present application relates.
Based on the same idea, the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method steps related to the terminal in the various embodiments to which the present application relates.
Based on the same idea, the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method steps related to the base station in the various embodiments to which the present application relates.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It can be clearly understood by those skilled in the art that the descriptions of the embodiments provided in the present application may refer to each other, and for convenience and brevity of the description, the functions and the executed steps of the devices and the apparatuses provided in the embodiments of the present application may refer to the relevant descriptions of the method embodiments of the present application, which are not repeated herein.
While the present application has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus (device), or computer program product. Accordingly, this application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects that may all generally be referred to herein as a "module" or "system. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. A computer program stored/distributed on a suitable medium supplied together with or as part of other hardware, may also take other distributed forms, such as via the Internet or other wired or wireless telecommunication systems.
Those skilled in the art will also appreciate that the various illustrative logical blocks and steps (step) set forth in the embodiments of the present application may be implemented in electronic hardware, computer software, or combinations of both. To clearly illustrate the interchangeability of hardware and software, various illustrative components and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design requirements of the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
The various illustrative logical blocks, modules, and circuits described in connection with the embodiments disclosed herein may be implemented or operated as a general purpose processing unit, a digital signal processing unit, an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processing unit may be a micro processing unit, which may alternatively be any conventional processing unit, controller, microcontroller, or state machine. A processing unit may also be implemented as a combination of computing devices, e.g., a digital signal processing unit and a micro-processing unit, a plurality of micro-processing units, one or more micro-processing units in conjunction with a digital signal processing unit core, or any other similar configuration.
In one or more exemplary designs, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media that facilitate transfer of a computer program from one place to another. Storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, such computer-readable media can include, but is not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store program code in the form of instructions or data structures and which can be read by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processing unit. Additionally, any connection is properly termed a computer-readable medium, and, thus, is included if the software is transmitted from a website, server, or other remote source over a coaxial cable, fiber optic computer, twisted pair, Digital Subscriber Line (DSL), or wirelessly, e.g., infrared, radio, and microwave. Such discs (disk) and disks (disc) include compact disks, laser disks, optical disks, DVDs, floppy disks and blu-ray disks where disks usually reproduce data magnetically, while disks usually reproduce data optically with lasers. Combinations of the above may also be included in the computer-readable medium.
The foregoing description of the specification may enable any person skilled in the art to make or use the teachings of the present application, and any modifications based on the disclosed teachings should be considered as obvious in the art, and the general principles described herein may be applied to other variations without departing from the spirit or scope of the present application. Thus, the disclosure is not intended to be limited to the embodiments and designs described, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1. A method for data stream transmission, comprising:
the method comprises the steps that network equipment obtains a first message of a first protocol type sent by a terminal; the source port and/or the destination port of the first message are/is determined by the terminal according to the process of the processing unit and/or the processing unit of the selected network equipment; the source IP address of the first message is the IP address of the terminal; the destination IP address of the first message is an external IP address of the network equipment; the first message is an IPv6 message or an IPv4 message;
the network equipment converts the first message into a second message of a second protocol type; the source IP address of the second message is the internal IP address of the network equipment; the destination IP address of the second message is the internal IP address of the processing unit; the second message is an IPv4 message;
the internal IP address of the processing unit is determined according to the source port of the first message and the destination port of the first message; the source port of the second message is the same as the source port of the first message, and the destination port of the second message is the same as the destination port of the first message.
2. The method of claim 1, wherein the first message is a link establishment request; the network device converts the first packet into a second packet, including:
the network equipment determines the process number of a processing unit corresponding to the destination port according to the destination port of the first message;
the network equipment determines the position information of a processing unit corresponding to the destination port according to the source port of the first message;
the network equipment determines the internal IP address of the processing unit according to the process number of the processing unit and the position information of the processing unit; and the network equipment takes the internal IP address of the processing unit as the destination IP address of the second message.
3. The method of claim 2, wherein the method further comprises:
the network equipment records the external endpoint information of the terminal and the internal endpoint information of the processing unit as an endpoint corresponding relation; the external endpoint information includes a source port of the first message, a destination port of the first message, a source IP address of the first message, and a destination IP address of the first message; the internal endpoint information includes a source port of the second packet, a destination port of the second packet, a source IP address of the second packet, and a destination IP address of the second packet.
4. The method of claim 1, wherein the network device converting the first packet to a second packet comprises:
the network equipment searches for the internal IP address of the processing unit corresponding to the source port of the first message and the destination port of the first message through the endpoint corresponding relation; the endpoint corresponding relation is determined according to the link establishment request;
and the network equipment takes the internal IP address of the processing unit as the destination IP address of the second message.
5. The method of claim 3, further comprising:
and the network equipment establishes a flow channel between the terminal and the network equipment according to the endpoint corresponding relation.
6. The method of claim 1, wherein the method further comprises:
and the network equipment determines that the protocol type corresponding to the current data flow path in the network equipment is different from the protocol type of the first message, deletes the current data flow path and establishes a new data flow path according to the first message.
7. The method of claim 4, wherein the method further comprises:
the network equipment receives a third message of the second protocol type sent to the terminal by the processing unit; the destination port of the third message is determined according to the processing unit of the network equipment and/or the process of the processing unit determined by the terminal; the third message source port is determined by the terminal according to the process of the processing unit of the appointed network equipment; the destination IP address of the third message is the internal IP address of the network equipment; the source IP address of the third message is the internal IP address of the processing unit;
the network equipment converts the third message into a fourth message of the first protocol type according to the endpoint corresponding relation; the IP address of the terminal is determined according to the external endpoint information in the endpoint corresponding relation; the destination IP address of the fourth message is the IP address of the terminal; the source IP address of the fourth message is the external IP address of the network equipment; the source port and the destination port of the fourth packet are the same as the source port and the destination port of the third packet.
8. A method for data stream transmission, comprising:
the terminal selects the position information and the process number of a processing unit of the remote login network equipment;
the terminal determines the port number of the terminal and/or the port number of the processing unit according to the processing unit and/or the process number of the selected network equipment; the port number of the terminal is used as a source port when the terminal sends a first message to the network equipment; the port number of the processing unit is used as a destination port when the terminal sends the first message to the network equipment; the first message is an IPv6 message or an IPv4 message;
the terminal sends a first message to the network equipment; the header of the first message comprises the IP address of the terminal, the external IP address of the network equipment, a source port and a destination port; the source port number is a port number of the terminal; the destination port number is a port number of the processing unit; the source port number and the destination port number are used for the network device to generate an internal IP address of the processing unit, and forward the first packet to the processing unit according to the internal IP address of the processing unit; the internal IP address of the processing element is an IPv4 address.
9. A data stream transmission apparatus, comprising:
the receiving and sending unit is used for acquiring a first message of a first protocol type sent by a terminal; the source port and/or the destination port of the first message are/is determined by the terminal according to the process of the processing unit and/or the processing unit of the selected network equipment; the source IP address of the first message is the IP address of the terminal; the destination IP address of the first message is an external IP address of the network equipment; the first message is an IPv6 message or an IPv4 message;
the processing unit is used for converting the first message into a second message of a second protocol type; the source IP address of the second message is the internal IP address of the network equipment; the destination IP address of the second message is the internal IP address of the processing unit; the internal IP address of the processing unit is determined according to the source port of the first message and the destination port of the first message; the source port of the second message is the same as the source port of the first message, and the destination port of the second message is the same as the destination port of the first message; the internal IP addresses of the second packet and the processing unit are both IPv4 addresses.
10. A data stream transmission apparatus, comprising:
the system comprises a receiving and sending unit, a processing unit and a processing unit, wherein the receiving and sending unit is used for acquiring the position information and the process number of the processing unit of the selected remote login network equipment; sending a first message to the network equipment; the header of the first message comprises the IP address of the terminal, the external IP address of the network equipment, a source port and a destination port; the source port number is a port number of the terminal; the destination port number is a port number of the processing unit; the source port number and the destination port number are used for the network device to generate an internal IP address of the processing unit, and forward the first packet to the processing unit according to the internal IP address of the processing unit; the first message is an IPv6 message or an IPv4 message; the internal IP address of the processing unit is an IPv4 address;
the processing unit is used for determining the port number of the terminal and/or the port number of the processing unit according to the processing unit and/or the process number of the selected network equipment; the port number of the terminal is used as a source port when the terminal sends a first message to the network equipment; and the port number of the processing unit is used as a destination port when the terminal sends the first message to the network equipment.
11. A network device, comprising: the system comprises a processor, a memory, a transceiver and a bus interface, wherein the processor, the memory and the transceiver are connected through the bus interface;
the transceiver is used for acquiring a first message of a first protocol type sent by a terminal; the source port and/or the destination port of the first message are/is determined by the terminal according to the processor of the selected network equipment and/or the process of the processor; the source IP address of the first message is the IP address of the terminal; the destination IP address of the first message is an external IP address of the network equipment; the first message is an IPv6 message or an IPv4 message;
the processor is used for converting the first message into a second message of a second protocol type; the source IP address of the second message is the internal IP address of the network equipment; the destination IP address of the second message is the internal IP address of the processor; the internal IP address of the processor is determined according to the source port of the first message and the destination port of the first message; the source port of the second message is the same as the source port of the first message, and the destination port of the second message is the same as the destination port of the first message; the internal IP addresses of the second message and the processing unit are both IPv4 addresses;
the memory is used for storing one or more executable programs and storing data used by the processor when executing operations;
and the bus interface is used for providing an interface.
12. A terminal, comprising: the system comprises a processor, a memory, a transceiver and a bus interface, wherein the processor, the memory and the transceiver are connected through the bus interface;
the transceiver is used for acquiring the position information and the process number of the processor of the selected remote login network equipment; sending a first message to the network equipment; the header of the first message comprises the IP address of the terminal, the external IP address of the network equipment, a source port and a destination port; the source port number is a port number of the terminal; the destination port number is a port number of the processor; the source port number and the destination port number are used for the network device to generate an internal IP address of the processor, and forwarding the first packet to the processor according to the internal IP address of the processor; the first message is an IPv6 message or an IPv4 message; the internal IP address of the processing unit is an IPv4 address;
the processor is used for determining the port number of the terminal and/or the port number of the processor according to the processor and/or the process number of the selected network equipment; the port number of the terminal is used as a source port when the terminal sends a first message to the network equipment; the port number of the processor is used as a destination port when the terminal sends the first message to the network equipment;
the memory is used for storing one or more executable programs and storing data used by the processor when executing operations;
and the bus interface is used for providing an interface.
CN201811267672.3A 2018-10-29 2018-10-29 Data stream transmission method and device Active CN111107046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811267672.3A CN111107046B (en) 2018-10-29 2018-10-29 Data stream transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811267672.3A CN111107046B (en) 2018-10-29 2018-10-29 Data stream transmission method and device

Publications (2)

Publication Number Publication Date
CN111107046A CN111107046A (en) 2020-05-05
CN111107046B true CN111107046B (en) 2021-03-12

Family

ID=70419758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811267672.3A Active CN111107046B (en) 2018-10-29 2018-10-29 Data stream transmission method and device

Country Status (1)

Country Link
CN (1) CN111107046B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873582A (en) * 2009-04-23 2010-10-27 大唐移动通信设备有限公司 IP (Internet Protocol) address allocation method and system
CN104040987A (en) * 2012-12-27 2014-09-10 华为技术有限公司 User plane data transmission method, mobility management network element, evolved node b and system
CN105262648A (en) * 2014-07-14 2016-01-20 中兴通讯股份有限公司 Implementation method, system and equipment for hybrid networking

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9716653B2 (en) * 2014-11-18 2017-07-25 Hauwei Technologies Co., Ltd. System and method for flow-based addressing in a mobile environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873582A (en) * 2009-04-23 2010-10-27 大唐移动通信设备有限公司 IP (Internet Protocol) address allocation method and system
CN104040987A (en) * 2012-12-27 2014-09-10 华为技术有限公司 User plane data transmission method, mobility management network element, evolved node b and system
CN105262648A (en) * 2014-07-14 2016-01-20 中兴通讯股份有限公司 Implementation method, system and equipment for hybrid networking

Also Published As

Publication number Publication date
CN111107046A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
EP3585095B1 (en) Method and device for controlling qos, smf, upf, ue, pcf and an
JP7012836B2 (en) Network slice management method and equipment
JP7183416B2 (en) Time-dependent networking communication method and apparatus
TWI785185B (en) Transmission configuration method and related products
CN110417840B (en) Information processing method and device
EP3836577B1 (en) Session management method and device for user groups
CN112291079B (en) Network service configuration method and network management equipment
CN110166414B (en) Communication method, device and system
US20170085392A1 (en) System, method and apparatus for data communication
WO2021243837A1 (en) Application data routing method based on ursp rule, and user equipment
JP7369214B2 (en) Methods, apparatus, and systems for session establishment in wireless communication networks
US10764411B2 (en) Stream control transmission protocol SCTP-based communications method and system, and apparatus
WO2023025180A1 (en) Node management method, node and system
US10212021B2 (en) Network protocol configuration method and apparatus
EP4145729A1 (en) Port state configuration method, apparatus, system, and storage medium
CN109714376B (en) Method, device and system for sending fixed network message
EP4037368A1 (en) Communication method and communication device
CN111107046B (en) Data stream transmission method and device
US11233540B2 (en) Apparatus and methods for G3-PLC bootstrap in a hybrid network
CN114697269A (en) Data communication method, apparatus, device and medium
WO2022087795A1 (en) Resource mapping method and apparatus, device, and storage medium
EP3952462A1 (en) Communication method, communication apparatus, and terminal device
CN105519184A (en) Capability negotiation method, radio equipment controller and radio equipment
WO2022087796A1 (en) Zigbee device attribute subscription method and apparatus, and device
EP4304288A1 (en) Communication method, communication apparatus, and base station

Legal Events

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